@sambul13
I've enabled debugging as you have pointed out, and here is the output:
$this->bbcode_second_pass_quote('', '*')** Version 0.1 ***
*** listening on port 6666 ***
[    0.000000] Booting Linux on physical CPU 0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.5.3-1-ARCH (nobody@platinum) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 PREEMPT Sat Sep 8 20:07:34 UTC 2012
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Marvell SheevaPlug Reference Board
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) loglevel=7 
netconsole=6666@192.168.1.4/eth0,6666@192.168.1.14/MAC
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] allocated 524288 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 256MB = 256MB total
[    0.000000] Memory: 252224k/252224k available, 9920k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc05b5c00   (5815 kB)
[    0.000000]       .init : 0xc05b6000 - 0xc05e222c   ( 177 kB)
[    0.000000]       .data : 0xc05e4000 - 0xc0626e40   ( 268 kB)
[    0.000000]        .bss : 0xc0626e64 - 0xc06f3ecc   ( 821 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:114
[    0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[    0.000000] Console: colour dummy device 80x30
[    4.307056] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    4.396988] pid_max: default: 32768 minimum: 301
[    4.397117] Security Framework initialized
[    4.397143] AppArmor: AppArmor disabled by boot time parameter
[    4.397210] Mount-cache hash table entries: 512
[    4.397800] Initializing cgroup subsys cpuacct
[    4.397820] Initializing cgroup subsys memory
[    4.397858] Initializing cgroup subsys devices
[    4.397871] Initializing cgroup subsys freezer
[    4.397880] Initializing cgroup subsys net_cls
[    4.397888] Initializing cgroup subsys blkio
[    4.397895] Initializing cgroup subsys perf_event
[    4.398006] CPU: Testing write buffer coherency: ok
[    4.398304] Setting up static identity map for 0x4390b0 - 0x4390ec
[    4.399478] devtmpfs: initialized
[    4.401341] NET: Registered protocol family 16
[    4.402275] Kirkwood: MV88F6281-A0, TCLK=200000000.
[    4.402294] Feroceon L2: Enabling L2
[    4.402330] Feroceon L2: Cache support initialised.
[    4.407985] bio: create slab <bio-0> at 0
[    4.408344] vgaarb: loaded
[    4.408596] SCSI subsystem initialized
[    4.408928] usbcore: registered new interface driver usbfs
[    4.408979] usbcore: registered new interface driver hub
[    4.409087] usbcore: registered new device driver usb
[    4.409834] Switching to clocksource orion_clocksource
[    4.421716] FS-Cache: Loaded
[    4.430742] NET: Registered protocol family 2
[    4.430946] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    4.431286] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    4.431469] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    4.431562] TCP: Hash tables configured (established 8192 bind 8192)
[    4.431569] TCP: reno registered
[    4.431578] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    4.431599] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    4.431796] NET: Registered protocol family 1
[    4.432671] audit: initializing netlink socket (disabled)
[    4.432706] type=2000 audit(0.120:1): initialized
[    4.519370] VFS: Disk quotas dquot_6.5.2
[    4.519573] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    4.521742] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    4.522767] aufs 3.5-20120730
[    4.522789] msgmni has been set to 492
[    4.524186] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    4.524198] io scheduler noop registered
[    4.524205] io scheduler deadline registered
[    4.524237] io scheduler cfq registered (default)
[    4.524312] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[    4.524357] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[    4.559918] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[    4.599921] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[    4.639918] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[    4.679918] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[    4.683929] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.704481] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[    5.179362] console [ttyS0] enabled
[    5.188783] brd: module loaded
[    5.194838] loop: module loaded
[    5.199063] NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit), page size: 2048, OOB size: 64
[    5.210289] Scanning device for bad blocks
[    5.290560] 4 cmdlinepart partitions found on MTD device orion_nand
[    5.296851] Creating 4 MTD partitions on "orion_nand":
[    5.302025] 0x000000000000-0x000000100000 : "u-boot"
[    5.307910] 0x000000100000-0x000000500000 : "uImage"
[    5.313730] 0x000000500000-0x000002500000 : "rootfs"
[    5.319485] 0x000002500000-0x000008000000 : "data"
[    5.325760] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    5.332715] mv643xx_eth smi: probed
[    5.338083] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:25:31:02:c6:f3
[    5.347048] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    5.353675] orion-ehci orion-ehci.0: Marvell Orion EHCI
[    5.358942] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[    5.389901] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[    5.409880] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[    5.416394] hub 1-0:1.0: USB hub found
[    5.420201] hub 1-0:1.0: 1 port detected
[    5.424486] Initializing USB Mass Storage driver...
[    5.429477] usbcore: registered new interface driver usb-storage
[    5.435530] USB Mass Storage support registered.
[    5.440267] usbcore: registered new interface driver libusual
[    5.446327] mousedev: PS/2 mouse device common for all mice
[    5.739889] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    5.891843] hub 1-1:1.0: USB hub found
[    5.895968] hub 1-1:1.0: 4 ports detected
[    6.180225] usb 1-1.3: new high-speed USB device number 3 using orion-ehci
[    6.459876] rtc-mv rtc-mv: internal RTC not ticking
[    6.464919] sdhci: Secure Digital Host Controller Interface driver
[    6.471139] sdhci: Copyright(c) Pierre Ossman
[    6.509896] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[    6.521114] sdhci-pltfm: SDHCI platform and OF driver helper
[    6.527507] usbcore: registered new interface driver r8712u
[    6.534401] gre: GRE over IPv4 demultiplexor driver
[    6.539421] TCP: cubic registered
[    6.542796] NET: Registered protocol family 17
[    6.547331] lib80211: common routines for IEEE802.11 drivers
[    6.553092] Key type dns_resolver registered
[    6.557970] registered taskstats version 1
[    6.562944] netpoll: netconsole: local port 6666
[    6.567584] netpoll: netconsole: local IP 192.168.1.4
[    6.572739] netpoll: netconsole: interface 'eth0'
[    6.577483] netpoll: netconsole: remote port 6666
[    6.583268] netpoll: netconsole: remote IP 192.168.1.14
[    6.590619] netpoll: netconsole: remote ethernet address MAC
[    6.597581] netpoll: netconsole: device eth0 not up yet, forcing it
[    6.623922] scsi0 : usb-storage 1-1.3:1.0
[    8.952195] netconsole: network logging started
[    8.957857] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    8.966508] Waiting 10sec before mounting root device...
[   18.983761] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended
[   18.993915] VFS: Mounted root (ext2 filesystem) on device 8:1.
[   19.001913] devtmpfs: mounted
[   19.005460] Freeing init memory: 176K
[   20.597518] systemd-udevd[85]: starting version 189
[   21.525104] EXT2-fs (sda1): warning: mounting unchecked fs, running e2fsck is recommended