Nie napisałem na wstępie, że zamin zacząłem łądować jądro przez bootloader, podmieniłem je w mtd0 bez podłączania dysku hda1. System się uruchomił ale nie ładowały się moduły prawdopodobnie dlatego że jądro ze ściągniętego systemu skompilowane było pod procesor zgodny z 486 a jądro kompilowane ze źródeł m już natywną obsługę tego procesora czyli AMRISC 20000 RDC R3210. po podmianie jądra z bootloadera i zmianie parametrów wywołania jądra, system wstaje bez błędów bo prawidłowo montuje hda1 na / (choć nie pokazuje tego po poleceniu mount) ale później montuje też między innymi /overlay
poniżej są logi systemu załadowanego z flasha
root@MGB100:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=15259648,mode=1777)
tmpfs on /dev type tmpfs (rw,relatime,size=512K)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock2 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@MGB100:/# ls
bin etc mnt proc root sys usr www
dev lib overlay rom sbin tmp var
root@MGB100:/dmesg
) ==> bootmem [0000000000 - 0002000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
0000001000]
[ 0.000000] #1 [0000100000 - 000035268c] TEXT DATA BSS ==> [0000100000 -
000035268c]
[ 0.000000] #2 [0001d60000 - 0001fe0000] RAMDISK ==> [0001d60000 -
0001fe0000]
[ 0.000000] #3 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 -
0000100000]
[ 0.000000] #4 [0000353000 - 0000355000] BRK ==> [0000353000 -
0000355000]
[ 0.000000] #5 [0000007000 - 000000d000] PGTABLE ==> [0000007000 -
000000d000]
[ 0.000000] #6 [0000001000 - 0000002000] BOOTMAP ==> [0000001000 -
0000002000]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8095
[ 0.000000] free_area_init_node: node 0, pgdat c0314740, node_mem_map c100000
0
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3967 pages, LIFO batch:0
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 4064 pages, LIFO batch:0
[ 0.000000] Allocating PCI resources starting at 10000000 (gap: 2000000:fe000
000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8031
[ 0.000000] Kernel command line: console=ttyS0,38400 rootfstype=squashfs,jffs
2 console=ttyS0,38400 root=/dev/ram0 rw
[ 0.000000] Initializing CPU#0
[ 0.000000] NR_IRQS:16
[ 0.000000] PID hash table entries: 128 (order: 7, 512 bytes)
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 27120k/32768k available (1539k kernel code, 5256k reserve
d, 615k data, 124k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffeb000 - 0xfffff000 ( 80 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xfffe9000 ( 983 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] .init : 0xc031e000 - 0xc033d000 ( 124 kB)
[ 0.000000] .data : 0xc0280f44 - 0xc031abbc ( 615 kB)
[ 0.000000] .text : 0xc0100000 - 0xc0280f44 (1539 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor
mode...Ok.
[ 0.004000] Calibrating delay loop... 50.17 BogoMIPS (lpj=100352)
[ 0.092000] Mount-cache hash table entries: 512
[ 0.100000] CPU: RDC AMITRISC20000/20010
[ 0.108000] Checking 'hlt' instruction... OK.
[ 0.132000] net_namespace: 500 bytes
[ 0.140000] NET: Registered protocol family 16
[ 0.148000] i2c-core: driver [dummy] registered
[ 0.156000] PCI: Using configuration type 1 for base access
[ 0.176000] bio: create slab <bio-0> at 0
[ 0.188000] PCI: Probing PCI hardware
[ 0.192000] PCI: Probing PCI hardware (bus 00)
[ 0.196000] pci 0000:00:01.0: reg 10 32bit mmio: [0x00e000-0x00ffff]
[ 0.196000] pci 0000:00:04.0: reg 10 io port: [0x4000-0x4007]
[ 0.196000] pci 0000:00:04.0: reg 14 io port: [0x4100-0x4103]
[ 0.196000] pci 0000:00:04.0: reg 18 io port: [0x4200-0x4207]
[ 0.196000] pci 0000:00:04.0: reg 1c io port: [0x4300-0x4303]
[ 0.196000] pci 0000:00:04.0: reg 20 io port: [0x4400-0x440f]
[ 0.196000] pci 0000:00:04.0: reg 30 32bit mmio: [0x000000-0x01ffff]
[ 0.196000] pci 0000:00:08.0: reg 10 io port: [0xe800-0xe8ff]
[ 0.196000] pci 0000:00:08.0: reg 14 32bit mmio: [0xd1900000-0xd19000ff]
[ 0.196000] pci 0000:00:09.0: reg 10 io port: [0xe900-0xe9ff]
[ 0.200000] pci 0000:00:09.0: reg 14 32bit mmio: [0xd2900000-0xd29000ff]
[ 0.200000] pci 0000:00:0a.0: reg 10 32bit mmio: [0xc1001000-0xc1001fff]
[ 0.200000] pci 0000:00:0a.1: reg 10 32bit mmio: [0xc1000000-0xc1000fff]
[ 0.212000] pci 0000:00:01.0: BAR 0: can't allocate resource
[ 0.232019] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
[ 0.232019] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[ 0.232019] NET: Registered protocol family 2
[ 0.240012] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.256016] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.262751] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.267743] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.268651] TCP reno registered
[ 0.273027] NET: Registered protocol family 1
[ 0.278021] Trying to unpack rootfs image as initramfs...
[ 0.281659] rootfs image is not initramfs (junk in compressed archive); looks
like an initrd
[ 0.364018] Freeing initrd memory: 2560k freed
[ 0.400017] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.412019] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.417363] Registering mini_fo version $Id$
[ 0.420907] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.424858] msgmni has been set to 57
[ 0.440016] alg: No test for stdrng (krng)
[ 0.445208] io scheduler noop registered
[ 0.452002] io scheduler deadline registered (default)
[ 0.457665] r6030gpio 0000:00:07.0: setting latency timer to 64
[ 0.457665] r6030gpio: gpio base 0
[ 0.468023] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.476008] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.528017] brd: module loaded
[ 0.535438] Uniform Multi-Platform E-IDE driver
[ 0.540012] it821x 0000:00:04.0: IDE controller (0x1283:0x8211 rev 0x11)
[ 0.547623] it821x 0000:00:04.0: forcing bypass mode
[ 0.549100] it821x 0000:00:04.0: controller in pass through mode
[ 0.553050] it821x 0000:00:04.0: 100% native mode on irq 9
[ 0.559596] ide0: BM-DMA at 0x4400-0x4407
[ 0.563195] Probing IDE interface ide0...
[ 0.851993] hda: SanDisk SDCFB-128, CFA DISK drive
[ 1.527993] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO1
[ 1.527993] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO1
[ 1.527993] ide0 at 0x4000-0x4007,0x4102 on irq 9
[ 1.536016] ide-gd driver 1.18
[ 1.541632] hda: max request size: 128KiB
[ 1.544794] hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
[ 1.557669] hda: hda1 hda2
[ 1.580014] ide-cd driver 5.00
[ 1.588017] physmap platform flash device: 00400000 at ffc00000
[ 1.596023] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank
[ 1.602956] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.604860] physmap-flash: Swapping erase regions for broken CFI table.
[ 1.610425] number of CFI chips: 1
[ 1.615505] cfi_cmdset_0002: Disabling erase-suspend-program due to code brok
enness.
[ 1.620065] cmdlinepart partition parsing not available
[ 1.628013] RedBoot partition parsing not available
[ 1.633196] Using physmap partition information
[ 1.637217] Creating 8 MTD partitions on "physmap-flash":
[ 1.643608] 0x000000000000-0x000000100000 : "linux"
[ 1.648019] 0x000000100000-0x0000003e0000 : "rootfs"
[ 1.656023] mtd: partition "rootfs_data" created automatically, ofs=340000, l
en=A0000
[ 1.661927] 0x000000340000-0x0000003e0000 : "rootfs_data"
[ 1.668017] 0x0000003e0000-0x0000003f8000 : "Redboot (low part)"
[ 1.676013] 0x0000003f8000-0x0000003fa000 : "MAC and device ID"
[ 1.684016] 0x0000003fa000-0x000000400000 : "Redboot (high part)"
[ 1.696019] 0x0000003e0000-0x000000400000 : "Redboot(full)"
[ 1.708027] 0x000000000000-0x0000003e0000 : "Flash without Redboot"
[ 1.716040] 0x000000000000-0x000000400000 : "MGB100-allflash"
[ 1.728017] i8042.c: Warning: Keylock active.
[ 1.734491] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.740044] gpio-keys: Unable to get irq number for GPIO 0, error -38
[ 1.747604] gpio-keys: probe of gpio-keys failed with error -38
[ 1.752020] gpio-buttons driver version 0.1.2
[ 1.756611] i2c-core: driver [rtc-pcf8563] registered
[ 1.756611] i2c /dev entries driver
[ 1.760094] i2c-core: driver [dev_driver] registered
[ 1.760094] i2c-adapter i2c-0: adapter [i2c-gpio0] registered
[ 1.764016] i2c 0-0051: uevent
[ 1.764016] rtc-pcf8563 0-0051: probe
[ 1.764016] rtc-pcf8563 0-0051: pcf8563_probe
[ 1.764016] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[ 1.769432] rtc-pcf8563: dev (254:0)
[ 1.769432] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 1.772858] i2c-adapter i2c-0: client [pcf8563] registered with bus id 0-0051
[ 1.772858] i2c-dev: adapter [i2c-gpio0] registered as minor 0
[ 1.772858] i2c-gpio i2c-gpio.0: using pins 16 (SDA) and 17 (SCL)
[ 1.780016] Registered led device: USB1
[ 1.788008] Registered led device: USB2
[ 1.796013] Registered led device: BACKUP
[ 1.804018] Registered led device: HDD_Status
[ 1.820009] TCP westwood registered
[ 1.827825] NET: Registered protocol family 17
[ 1.832008] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 1.838098] All bugs added by David S. Miller <davem@redhat.com>
[ 1.848019] i2c-adapter i2c-0: master_xfer[0] W, addr=0x51, len=1
[ 1.848019] i2c-adapter i2c-0: master_xfer[1] R, addr=0x51, len=13
[ 1.852018] rtc-pcf8563 0-0051: pcf8563_get_datetime: raw data is st1=08, st2
=00, sec=12, min=09, hr=10, mday=14, wday=16, mon=04, year=12
[ 1.852018] rtc-pcf8563 0-0051: pcf8563_get_datetime: tm is secs=12, mins=9,
hours=10, mday=14, mon=3, year=112, wday=6
[ 1.856153] rtc-pcf8563 0-0051: setting system clock to 2012-04-14 10:09:12 U
TC (1334398152)
[ 2.551993] RAMDISK: squashfs filesystem found at block 0
[ 2.558851] RAMDISK: Loading 2290KiB [1 disk] into ram disk... |/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.
[ 3.120007] VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
[ 3.128000] Freeing unused kernel memory: 124k freed
[ 3.172008] Please be patient, while OpenWrt loads ...
[ 9.908019] <6>r6040: RDC R6040 NAPI net driver,version 0.22 (25Mar2009)
[ 9.913950] r6040 0000:00:08.0: setting latency timer to 64
[ 9.913950] r6040: MAC address not initialized, generating random
[ 9.928013] <6>r6040: RDC R6040 NAPI net driver,version 0.22 (25Mar2009)
[ 9.932529] r6040 0000:00:09.0: setting latency timer to 64
[ 13.808015] mini_fo: using base directory: /
[ 13.815050] mini_fo: using storage directory: /overlay
[ 23.300023] device eth1 entered promiscuous mode
[ 23.305867] br-lan: port 1(eth1) entering forwarding state
[ 29.424024] Generic kernel compatibility enabled based on linux-next next-201
00113
[ 32.556023] cfg80211: Calling CRDA to update world regulatory domain
[ 36.024022] SCSI subsystem initialized
[ 36.048020] cfg80211: World regulatory domain updated:
[ 36.052718] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_e
irp)
[ 36.056536] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 36.063234] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 36.065935] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 36.068636] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 36.075339] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 37.092019] usbcore: registered new interface driver usbfs
[ 37.100015] usbcore: registered new interface driver hub
[ 37.128022] usbcore: registered new device driver usb
[ 39.532024] rt2500pci 0000:00:01.0: setting latency timer to 64
[ 39.576018] phy0: Selected rate control algorithm 'minstrel'
[ 39.592016] Registered led device: rt2500pci-phy0::radio
[ 39.598511] Registered led device: rt2500pci-phy0::quality
[ 39.860023] usbcore: registered new interface driver rtl8187
[ 41.244027] RPC: Registered udp transport module.
[ 41.250810] RPC: Registered tcp transport module.
[ 43.392019] NTFS driver 2.1.29 [Flags: R/O MODULE].
[ 45.656023] PPP generic driver version 2.4.2
[ 46.152023] tun: Universal TUN/TAP device driver, 1.6
[ 46.159672] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 47.628024] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 48.780023] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 50.168021] NET: Registered protocol family 24
[ 50.960023] Driver 'sd' needs updating - please use bus_type methods
[ 51.588024] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 51.592424] ehci_hcd 0000:00:0a.1: EHCI Host Controller
[ 51.598833] ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus numbe
r 1
[ 51.603236] ehci_hcd 0000:00:0a.1: irq 14, io mem 0xc1000000
[ 51.616022] ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00
[ 51.621162] usb usb1: configuration #1 chosen from 1 choice
[ 51.625909] hub 1-0:1.0: USB hub found
[ 51.628890] hub 1-0:1.0: 2 ports detected
[ 52.376024] nf_conntrack version 0.5.0 (512 buckets, 2048 max)
[ 56.308022] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 56.314324] ohci_hcd 0000:00:0a.0: OHCI Host Controller
[ 56.316800] ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus numbe
r 2
[ 56.321089] ohci_hcd 0000:00:0a.0: irq 15, io mem 0xc1001000
[ 56.384018] usb usb2: configuration #1 chosen from 1 choice
[ 56.392016] hub 2-0:1.0: USB hub found
[ 56.398179] hub 2-0:1.0: 2 ports detected
[ 57.428025] usbcore: registered new interface driver usblp
[ 58.052024] Initializing USB Mass Storage driver...
[ 58.060009] usbcore: registered new interface driver usb-storage
[ 58.064845] USB Mass Storage support registered.
[ 58.492023] usbcore: registered new interface driver asix
[ 58.600022] usbcore: registered new interface driver cdc_ether
[ 59.236021] usbcore: registered new interface driver dm9601
[ 59.676023] usbcore: registered new interface driver kaweth
[ 59.816023] usbcore: registered new interface driver MOSCHIP usb-ethernet dri
ver
[ 60.416023] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet dr
iver
[ 60.422874] usbcore: registered new interface driver pegasus
[ 60.568023] usbcore: registered new interface driver rndis_host
[ 60.660023] option: Unknown symbol usb_serial_port_softint
[ 60.688023] option: Unknown symbol usb_serial_disconnect
[ 60.700024] option: Unknown symbol usb_serial_suspend
[ 60.716023] option: Unknown symbol kmem_cache_alloc_notrace
[ 60.732023] option: Unknown symbol __tracepoint_kmalloc
[ 60.740021] option: Unknown symbol slab_buffer_size
[ 60.748019] option: Unknown symbol usb_serial_probe
[ 60.756012] option: Unknown symbol usb_serial_register
[ 60.764022] option: Unknown symbol usb_serial_deregister
[ 60.772018] option: Unknown symbol usb_serial_resume
[ 67.132023] device wlan0 entered promiscuous mode
[ 67.140018] br-lan: port 2(wlan0) entering forwarding state
[ 67.216023] phy0: failed to set TX queue parameters for queue 2
[ 67.216023] phy0: failed to set TX queue parameters for queue 3
[ 69.696022] device wlan0 left promiscuous mode
[ 69.703575] br-lan: port 2(wlan0) entering disabled state
[ 69.884022] device wlan0 entered promiscuous mode
[ 69.889683] br-lan: port 2(wlan0) entering forwarding state
root@MGB100:/#
błędy usbserial są dlatego że próbowałem zainstalować modem i ustawienia zapisało w /overlay
Tu są logi z jądra ładowanego z tftp:
root@MGB100:/# ls /
bin etc mnt rom sys var
boot lib overlay root tmp www
dev lost+found proc sbin usr
root@MGB100:/# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type ext2 (rw,relatime,errors=continue)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=15280128,mode=1777)
tmpfs on /dev type tmpfs (rw,relatime,mode=0755,size=512K)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/mtdblock2 on /overlay type jffs2 (rw,relatime)
mini_fo:/overlay on / type mini_fo (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
root@MGB100:/# dmesg
[ 0.000000] Linux version 2.6.30.10 (krzysiek@neutrino) (gcc version 4.1.2) #
3 PREEMPT Sat Apr 14 21:26:28 CEST 2012
[ 0.000000] KERNEL supported cpus:
[ 0.000000] RDC RDC
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
[ 0.000000] BIOS-e801: 0000000000100000 - 0000000002000000 (usable)
[ 0.000000] last_pfn = 0x2000 max_arch_pfn = 0x100000
[ 0.000000] init_memory_mapping: 0000000000000000-0000000002000000
[ 0.000000] 0000000000 - 0002000000 page 4k
[ 0.000000] kernel direct mapping tables up to 2000000 @ 7000-12000
[ 0.000000] RAMDISK: 01fa3000 - 01fe0000
[ 0.000000] 32MB LOWMEM available.
[ 0.000000] mapped low ram: 0 - 02000000
[ 0.000000] low ram: 0 - 02000000
[ 0.000000] node 0 low ram: 00000000 - 02000000
[ 0.000000] node 0 bootmap 00001000 - 00001400
[ 0.000000] (7 early reservations) ==> bootmem [0000000000 - 0002000000]
[ 0.000000] #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 -
0000001000]
[ 0.000000] #1 [0000100000 - 000034916c] TEXT DATA BSS ==> [0000100000 -
000034916c]
[ 0.000000] #2 [0001fa3000 - 0001fe0000] RAMDISK ==> [0001fa3000 -
0001fe0000]
[ 0.000000] #3 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 -
0000100000]
[ 0.000000] #4 [000034a000 - 000034c000] BRK ==> [000034a000 -
000034c000]
[ 0.000000] #5 [0000007000 - 000000d000] PGTABLE ==> [0000007000 -
000000d000]
[ 0.000000] #6 [0000001000 - 0000002000] BOOTMAP ==> [0000001000 -
0000002000]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000000 -> 0x00001000
[ 0.000000] Normal 0x00001000 -> 0x00002000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[2] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x0000009f
[ 0.000000] 0: 0x00000100 -> 0x00002000
[ 0.000000] On node 0 totalpages: 8095
[ 0.000000] free_area_init_node: node 0, pgdat c030a120, node_mem_map c100000
0
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 3967 pages, LIFO batch:0
[ 0.000000] Normal zone: 32 pages used for memmap
[ 0.000000] Normal zone: 4064 pages, LIFO batch:0
[ 0.000000] Allocating PCI resources starting at 10000000 (gap: 2000000:fe000
000)
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 8031
[ 0.000000] Kernel command line: rootfstype=ext2 root=/dev/hda1 console=ttyS0
,38400
[ 0.000000] Initializing CPU#0
[ 0.000000] NR_IRQS:16
[ 0.000000] PID hash table entries: 128 (order: 7, 512 bytes)
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 29472k/32768k available (1641k kernel code, 2904k reserve
d, 469k data, 128k init, 0k highmem)
[ 0.000000] virtual kernel memory layout:
[ 0.000000] fixmap : 0xfffeb000 - 0xfffff000 ( 80 kB)
[ 0.000000] vmalloc : 0xc2800000 - 0xfffe9000 ( 983 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc2000000 ( 32 MB)
[ 0.000000] .init : 0xc0312000 - 0xc0332000 ( 128 kB)
[ 0.000000] .data : 0xc029a634 - 0xc030fbdc ( 469 kB)
[ 0.000000] .text : 0xc0100000 - 0xc029a634 (1641 kB)
[ 0.000000] Checking if this processor honours the WP bit even in supervisor
mode...Ok.
[ 0.004000] Calibrating delay loop... 50.17 BogoMIPS (lpj=100352)
[ 0.092000] Mount-cache hash table entries: 512
[ 0.100000] CPU: RDC AMITRISC20000/20010
[ 0.108000] Checking 'hlt' instruction... OK.
[ 0.132000] net_namespace: 500 bytes
[ 0.140000] NET: Registered protocol family 16
[ 0.156000] PCI: Using configuration type 1 for base access
[ 0.172000] bio: create slab <bio-0> at 0
[ 0.184000] PCI: Probing PCI hardware
[ 0.188000] PCI: Probing PCI hardware (bus 00)
[ 0.192000] pci 0000:00:01.0: reg 10 32bit mmio: [0x00e000-0x00ffff]
[ 0.192000] pci 0000:00:04.0: reg 10 io port: [0x4000-0x4007]
[ 0.192000] pci 0000:00:04.0: reg 14 io port: [0x4100-0x4103]
[ 0.192000] pci 0000:00:04.0: reg 18 io port: [0x4200-0x4207]
[ 0.192000] pci 0000:00:04.0: reg 1c io port: [0x4300-0x4303]
[ 0.192000] pci 0000:00:04.0: reg 20 io port: [0x4400-0x440f]
[ 0.192000] pci 0000:00:04.0: reg 30 32bit mmio: [0x000000-0x01ffff]
[ 0.192000] pci 0000:00:08.0: reg 10 io port: [0xe800-0xe8ff]
[ 0.192000] pci 0000:00:08.0: reg 14 32bit mmio: [0xd1900000-0xd19000ff]
[ 0.192000] pci 0000:00:09.0: reg 10 io port: [0xe900-0xe9ff]
[ 0.192000] pci 0000:00:09.0: reg 14 32bit mmio: [0xd2900000-0xd29000ff]
[ 0.192000] pci 0000:00:0a.0: reg 10 32bit mmio: [0xc1001000-0xc1001fff]
[ 0.192000] pci 0000:00:0a.1: reg 10 32bit mmio: [0xc1000000-0xc1000fff]
[ 0.208000] pci 0000:00:01.0: BAR 0: can't allocate resource
[ 0.228020] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
[ 0.228020] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[ 0.232020] NET: Registered protocol family 2
[ 0.236398] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.248016] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.252247] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.257238] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.262144] TCP reno registered
[ 0.268015] NET: Registered protocol family 1
[ 0.276010] Trying to unpack rootfs image as initramfs...
[ 0.284014] rootfs image is not initramfs (junk in compressed archive); looks
like an initrd
[ 0.296021] Freeing initrd memory: 244k freed
[ 0.312019] platform rtc_cmos: registered platform RTC device (no PNP device
found)
[ 0.328016] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.333607] Registering mini_fo version $Id$
[ 0.336965] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.341385] msgmni has been set to 58
[ 0.356016] alg: No test for stdrng (krng)
[ 0.362223] io scheduler noop registered
[ 0.364913] io scheduler deadline registered (default)
[ 0.370547] r6030gpio 0000:00:07.0: setting latency timer to 64
[ 0.372029] r6030gpio: gpio base 0
[ 0.384044] gpiodev: gpio device registered with major 253
[ 0.388917] gpiodev: gpio platform device registered with access mask FFFFFFF
F
[ 0.396064] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.401914] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 0.456029] brd: module loaded
[ 0.460404] Uniform Multi-Platform E-IDE driver
[ 0.464608] it821x 0000:00:04.0: IDE controller (0x1283:0x8211 rev 0x11)
[ 0.468455] it821x 0000:00:04.0: forcing bypass mode
[ 0.473768] it821x 0000:00:04.0: controller in pass through mode
[ 0.477909] it821x 0000:00:04.0: 100% native mode on irq 9
[ 0.480454] ide0: BM-DMA at 0x4400-0x4407
[ 0.484055] Probing IDE interface ide0...
[ 0.771995] hda: SanDisk SDCFB-128, CFA DISK drive
[ 1.447994] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO1
[ 1.447994] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO1
[ 1.447994] ide0 at 0x4000-0x4007,0x4102 on irq 9
[ 1.456018] ide-gd driver 1.18
[ 1.461601] hda: max request size: 128KiB
[ 1.464788] hda: 250880 sectors (128 MB) w/1KiB Cache, CHS=980/8/32
[ 1.477664] hda: hda1 hda2
[ 1.500019] <6>r6040: RDC R6040 NAPI net driver,version 0.22 (25Mar2009)
[ 1.506647] r6040 0000:00:08.0: setting latency timer to 64
[ 1.506647] r6040: Use MAC address form MGB1OO Redboot.
[ 1.508737] r6040: MAC address not initialized, generating random
[ 1.520012] <6>r6040: RDC R6040 NAPI net driver,version 0.22 (25Mar2009)
[ 1.524092] r6040 0000:00:09.0: setting latency timer to 64
[ 1.524092] r6040: Use MAC address form MGB1OO Redboot.
[ 1.540011] physmap platform flash device: 00400000 at ffc00000
[ 1.548003] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank
[ 1.553463] CFI mfr 0x000000c2
[ 1.557853] CFI id 0x000022a7
[ 1.562227] Amd/Fujitsu Extended Query Table at 0x0040
[ 1.564075] Amd/Fujitsu Extended Query version 1.1.
[ 1.569509] physmap-flash: Swapping erase regions for broken CFI table.
[ 1.575009] number of CFI chips: 1
[ 1.576087] cfi_cmdset_0002: Disabling erase-suspend-program due to code brok
enness.
[ 1.580536] cmdlinepart partition parsing not available
[ 1.588014] RedBoot partition parsing not available
[ 1.593738] Using physmap partition information
[ 1.597757] Creating 9 MTD partitions on "physmap-flash":
[ 1.600127] 0x000000000000-0x000000100000 : "kernel"
[ 1.608016] 0x000000100000-0x0000003e0000 : "rootfs"
[ 1.616018] mtd: partition "rootfs_data" created automatically, ofs=340000, l
en=A0000
[ 1.622874] 0x000000340000-0x0000003e0000 : "rootfs_data"
[ 1.628016] 0x0000003e0000-0x0000003f8000 : "Redboot (low part)"
[ 1.636018] 0x0000003f8000-0x0000003fa000 : "MAC and device ID"
[ 1.648020] 0x0000003fa000-0x000000400000 : "Redboot (high part)"
[ 1.656017] 0x0000003e0000-0x000000400000 : "Redboot(full)"
[ 1.664018] 0x000000000000-0x0000003e0000 : "linux"
[ 1.676019] 0x000000000000-0x000000400000 : "fullflash"
[ 1.684018] 0x000000100000-0x0000003e0000 : "rootfs-full"
[ 1.696016] i2c /dev entries driver
[ 1.704014] rtc-pcf8563 0-0051: chip found, driver version 0.4.3
[ 1.712015] rtc-pcf8563 0-0051: rtc core: registered rtc-pcf8563 as rtc0
[ 1.720041] i2c-gpio i2c-gpio.0: using pins 16 (SDA) and 17 (SCL)
[ 1.724453] Registered led device: USB1
[ 1.729053] Registered led device: USB2
[ 1.732538] Registered led device: BACKUP
[ 1.736453] Registered led device: HDD_Status
[ 1.756011] TCP westwood registered
[ 1.761691] NET: Registered protocol family 17
[ 1.765488] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 1.771815] All bugs added by David S. Miller <davem@redhat.com>
[ 1.788013] rtc-pcf8563 0-0051: setting system clock to 2012-04-14 10:37:28 U
TC (1334399848)
[ 1.796042] RAMDISK: Couldn't find valid RAM disk image starting at 0.
[ 1.927996] VFS: Mounted root (ext2 filesystem) on device 3:1.
[ 1.932372] Freeing unused kernel memory: 128k freed
[ 1.983997] Please be patient, while OpenWrt loads ...
[ 9.856019] SCSI subsystem initialized
[ 10.376021] usbcore: registered new interface driver usbfs
[ 10.380609] usbcore: registered new interface driver hub
[ 10.388033] usbcore: registered new device driver usb
[ 10.652017] xfs: Unknown symbol exportfs_decode_fh
[ 10.928019] Driver 'sd' needs updating - please use bus_type methods
[ 11.040020] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 11.048008] ehci_hcd 0000:00:0a.1: EHCI Host Controller
[ 11.056018] ehci_hcd 0000:00:0a.1: new USB bus registered, assigned bus numbe
r 1
[ 11.060719] ehci_hcd 0000:00:0a.1: irq 14, io mem 0xc1000000
[ 11.075995] ehci_hcd 0000:00:0a.1: USB 2.0 started, EHCI 1.00
[ 11.088018] usb usb1: configuration #1 chosen from 1 choice
[ 11.096012] hub 1-0:1.0: USB hub found
[ 11.101687] hub 1-0:1.0: 2 ports detected
[ 11.212035] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 11.216475] ohci_hcd 0000:00:0a.0: OHCI Host Controller
[ 11.224016] ohci_hcd 0000:00:0a.0: new USB bus registered, assigned bus numbe
r 2
[ 11.229227] ohci_hcd 0000:00:0a.0: irq 15, io mem 0xc1001000
[ 11.287995] usb usb2: configuration #1 chosen from 1 choice
[ 11.294658] hub 2-0:1.0: USB hub found
[ 11.297732] hub 2-0:1.0: 2 ports detected
[ 11.548018] Initializing USB Mass Storage driver...
[ 11.556009] usbcore: registered new interface driver usb-storage
[ 11.562636] USB Mass Storage support registered.
[ 32.063994] mini_fo: using base directory: /
[ 32.068866] mini_fo: using storage directory: /overlay
[ 36.520018] device eth1 entered promiscuous mode
[ 36.536019] br-lan: port 1(eth1) entering forwarding state
[ 37.788023] Compat-wireless backport release: compat-wireless-2010-12-10-3-g8
80bb0b
[ 37.793698] Backport based on wireless-testing.git master-2010-12-16
[ 38.456023] cfg80211: Calling CRDA to update world regulatory domain
[ 40.428020] cfg80211: World regulatory domain updated:
[ 40.452018] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_g
ain, max_eirp)
[ 40.476019] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[ 40.481053] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[ 40.504020] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi,
2000 mBm)
[ 40.524021] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[ 40.529065] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi,
2000 mBm)
[ 42.112018] rt2500pci 0000:00:01.0: setting latency timer to 64
[ 42.240022] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 42.284019] Registered led device: rt2500pci-phy0::radio
[ 42.300019] Registered led device: rt2500pci-phy0::quality
[ 42.860023] SGI XFS with security attributes, large block/inode numbers, no d
ebug enabled
[ 43.160025] PPP generic driver version 2.4.2
[ 43.632025] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 44.624018] nf_conntrack version 0.5.0 (512 buckets, 2048 max)
[ 46.000014] usbcore: registered new interface driver usblp
[ 46.248016] usbcore: registered new interface driver usbserial
[ 46.256016] USB Serial support registered for generic
[ 46.264020] usbcore: registered new interface driver usbserial_generic
[ 46.268536] usbserial: USB Serial Driver core
[ 46.476023] option: version magic '2.6.30.10 mod_unload 486 ' should be '2.6.
30.10 preempt mod_unload 486 '
[ 49.984018] device wlan0 entered promiscuous mode
[ 49.992032] br-lan: port 2(wlan0) entering forwarding state
[ 50.096040] ieee80211 phy0: failed to set TX queue parameters for queue 2
[ 50.100055] ieee80211 phy0: failed to set TX queue parameters for queue 3
[ 52.628020] device wlan0 left promiscuous mode
[ 52.632938] br-lan: port 2(wlan0) entering disabled state
[ 52.876038] device wlan0 entered promiscuous mode
[ 52.881871] br-lan: port 2(wlan0) entering forwarding state
root@MGB100:/#
Jak widać pojawia się katalog /lost+found, którego nie było a który jest na partycji hda1 i w logach pojawia się błąd kompatybilności modułu, który został z podmontowania flasha a więc jest to moduł ze starego jądra niekompatybilny z nowym. pozostałe ładują się poprawnie.