Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING. tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky MTD driver for SPI flash. spiflash: Probing for Serial flash ... spiflash: Found SPI serial Flash. cmdlinepart partition parsing not available Searching for RedBoot partition table in spiflash at offset 0x7d0000 Searching for RedBoot partition table in spiflash at offset 0x7e0000 7 RedBoot partitions found on MTD device spiflash Creating 8 MTD partitions on "spiflash": 0x00000000-0x00030000 : "RedBoot" 0x00030000-0x003e0000 : "vmlinux.bin.l7" 0x00110000-0x003d0000 : "ddwrt" 0x003d0000-0x003e0000 : "nvr" 0x003e0000-0x007e0000 : "ddwrt" 0x007e0000-0x007ef000 : "FIS directory" mtd: partition "FIS directory" doesn't end on an erase block -- force read-only 0x007ef000-0x007f0000 : "RedBoot config" mtd: partition "RedBoot config" doesn't start on an erase block boundary -- forc e read-only 0x007f0000-0x00800000 : "board_config" u32 classifier OLD policer on Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (128 buckets, 1024 max) ctnetlink v0.93: registering with nfnetlink. IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver ip_tables: (C) 2000-2006 Netfilter Core Team IPP2P v0.8.2 loading ClusterIP Version 0.8 loaded successfully TCP bic registered TCP cubic registered TCP westwood registered TCP highspeed registered TCP hybla registered TCP htcp registered TCP vegas registered TCP scalable registered NET: Registered protocol family 1 NET: Registered protocol family 17 Welcome to PF_RING 3.2.1 (C) 2004-06 L.Deri NET: Registered protocol family 27 PF_RING: bucket length 128 bytes PF_RING: ring slots 4096 PF_RING: sample rate 1 [1=no sampling] PF_RING: capture TX No [RX only] PF_RING: transparent mode Yes PF_RING initialized correctly. PF_RING: registered /proc/net/pf_ring/ 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller Time: MIPS clocksource has been installed. VFS: Cannot open root device "mtdblock1" or unknown-block(31,1) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,1) <0>Rebooting in 1 seconds..PHY ID is 0022:5521 Ethernet eth0: MAC address 00:18:84:11:6a:d0 IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.1.10 RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version v1.3.0 - built 16:57:58, Aug 7 2006 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: ap51 RAM: 0x80000000-0x81000000, [0x80040450-0x80fe1000] available FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each. == Executing boot script in 5.000 seconds - enter ^C to abort ^C RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> fis create -b 0x80041000 -f 0xA8030000 -l 0x002C0000 -e 0x00000000 root ** Error: invalid number '' for FLASH memory base addr ess *** invalid 'fis' command: invalid arguments Usage: fis create -b -l [-s ] [-f ] [-e ] [-r ] [-n] fis delete name fis erase -f -l fis free fis init [-f] fis list [-c] [-d] fis load [-d] [-l] [-b ] [-c] name fis write -f -b -l RedBoot> fis init About to initialize [format] FLASH image system - continue (y/n)? y *** Initialize FLASH Image System ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> load -r -v -b 0x80041000 root.fs -m ymodem CCRaw file loaded 0x80041000-0x802defff, assumed entry at 0x80041000 xyzModem - CRC mode, 2(SOH)/2680(STX)/0(CAN) packets, 4 retries RedBoot> RedBoot> fis create -b 0x80041000 -f 0xA8030000 -l 0x002C0000 -e 0x00000000 root fs ... Erase from 0xa8030000-0xa82f0000: .......................................... .. ... Program from 0x80041000-0x80301000 at 0xa8030000: .......................... .................. ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> load -r -v -b 0x80041000 vmlinux.bin.l7 -m ymodem CCRaw file loaded 0x80041000-0x80100fff, assumed entry at 0x80041000 xyzModem - CRC mode, 2(SOH)/768(STX)/0(CAN) packets, 4 retries RedBoot> fis create -r 0x80041000 -e 0x80041000 -l 0x000E0000 vmlinux.bin.l7 ... Erase from 0xa82f0000-0xa83d0000: .............. ... Program from 0x80041000-0x80101000 at 0xa82f0000: ............ ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> fis create -f 0xA83D0000 -l 0x00010000 -n nvr ... Erase from 0xa87e0000-0xa87f0000: . ... Program from 0x80ff0000-0x81000000 at 0xa87e0000: . RedBoot> reset ÿPHY ID is 0022:5521 Ethernet eth0: MAC address 00:18:84:11:6a:d0 IP: 192.168.1.254/255.255.255.0, Gateway: 0.0.0.0 Default server: 192.168.1.10 RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version v1.3.0 - built 16:57:58, Aug 7 2006 Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. Board: ap51 RAM: 0x80000000-0x81000000, [0x80040450-0x80fe1000] available FLASH: 0xa8000000 - 0xa87f0000, 128 blocks of 0x00010000 bytes each. == Executing boot script in 5.000 seconds - enter ^C to abort RedBoot> fis load -l vmlinux.bin.l7 Image loaded from 0x80041000-0x802aa085 RedBoot> exec Now booting linux kernel: Base address 0x80030000 Entry 0x80041000 Cmdline : Linux version 2.6.20.11 (root@dd-wrt) (gcc version 4.1.2) #85 Fri May 4 16:56:04 CEST 2007 CPU revision is: 00019064 Determined physical RAM map: memory: 01000000 @ 00000000 (usable) Built 1 zonelists. Total pages: 4064 Kernel command line: console=ttyS0,115200 root=/dev/mtdblock1 rootfstype=squashf s,jffs2 noinitrd Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes. Primary data cache 16kB, 4-way, linesize 16 bytes. Synthesized TLB refill handler (20 instructions). Synthesized TLB load handler fastpath (32 instructions). Synthesized TLB store handler fastpath (32 instructions). Synthesized TLB modify handler fastpath (31 instructions). PID hash table entries: 64 (order: 6, 256 bytes) Using 92.000 MHz high precision timer. Dentry cache hash table entries: 2048 (order: 1, 8192 bytes) Inode-cache hash table entries: 1024 (order: 0, 4096 bytes) Memory: 13332k/16384k available (1949k kernel code, 3052k reserved, 390k data, 1 28k init, 0k highmem) Mount-cache hash table entries: 512 NET: Registered protocol family 16 Radio config found at offset 0xf8 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 512 (order: -1, 2048 bytes) TCP: Hash tables configured (established 1024 bind 512) TCP reno registered gpio_proc: module loaded and /proc/gpio/ created devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 squashfs: version 3.0 (2006/03/15) Phillip Lougher io scheduler noop registered (default) Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (now ayout= 0) Serial: 8250/16550 driver $Revision: 1.90 $ 1 ports, IRQ sharing disabled serial8250: ttyS0 at MMIO 0xb1100003 (irq = 37) is a 16550A PPP generic driver version 2.4.2 PPP Deflate Compression module registered PPP BSD Compression module registered MPPE/MPPC encryption/compression module registered NET: Registered protocol family 24 IMQ starting with 2 devices... IMQ driver loaded successfully. Hooking IMQ before NAT on PREROUTING. Hooking IMQ after NAT on POSTROUTING. tun: Universal TUN/TAP device driver, 1.6 tun: (C) 1999-2004 Max Krasnyansky MTD driver for SPI flash. spiflash: Probing for Serial flash ... spiflash: Found SPI serial Flash. cmdlinepart partition parsing not available Searching for RedBoot partition table in spiflash at offset 0x7d0000 Searching for RedBoot partition table in spiflash at offset 0x7e0000 7 RedBoot partitions found on MTD device spiflash Creating 8 MTD partitions on "spiflash": 0x00000000-0x00030000 : "RedBoot" 0x00030000-0x003d0000 : "rootfs" 0x002f0000-0x003d0000 : "vmlinux.bin.l7" 0x003d0000-0x003e0000 : "nvr" 0x003e0000-0x007e0000 : "ddwrt" 0x007e0000-0x007ef000 : "FIS directory" mtd: partition "FIS directory" doesn't end on an erase block -- force read-only 0x007ef000-0x007f0000 : "RedBoot config" mtd: partition "RedBoot config" doesn't start on an erase block boundary -- forc e read-only 0x007f0000-0x00800000 : "board_config" u32 classifier OLD policer on Netfilter messages via NETLINK v0.30. nf_conntrack version 0.5.0 (128 buckets, 1024 max) ctnetlink v0.93: registering with nfnetlink. IPv4 over IPv4 tunneling driver GRE over IPv4 tunneling driver ip_tables: (C) 2000-2006 Netfilter Core Team IPP2P v0.8.2 loading ClusterIP Version 0.8 loaded successfully TCP bic registered TCP cubic registered TCP westwood registered TCP highspeed registered TCP hybla registered TCP htcp registered TCP vegas registered TCP scalable registered NET: Registered protocol family 1 NET: Registered protocol family 17 Welcome to PF_RING 3.2.1 (C) 2004-06 L.Deri NET: Registered protocol family 27 PF_RING: bucket length 128 bytes PF_RING: ring slots 4096 PF_RING: sample rate 1 [1=no sampling] PF_RING: capture TX No [RX only] PF_RING: transparent mode Yes PF_RING initialized correctly. PF_RING: registered /proc/net/pf_ring/ 802.1Q VLAN Support v1.8 Ben Greear All bugs added by David S. Miller Time: MIPS clocksource has been installed. VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev Freeing firmware memory: 0kb freed Freeing unused kernel memory: 128k freed