Hi kiddouk,
I compiled the kernel using your config, but still no luck. I used Debian Lenny on SheevaPlug to build the kernel.
Code:
$ tar jxvf linux-2.6.32.tar.bz2
$ cd linux-2.6.32
$ patch -p 1 < ../linux-buffalo-wxl-2.6.32.patch
$ cp ../config-wxl .config
$ make oldconfig
$ make zImage
$ devio > foo 'wl 0xe3a01c0c,4' 'wl 0xe381108a,4'
$ cat foo arch/arm/boot/zImage > zImage.new
$ mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 'linux-2.6.32' -d zImage.new uImage.buffalo
I installed one SATA HDD into disk #1, uploaded uImage file to the TFTP server, changed the U-Boot environment variables and tried tftpboot. But the kernel could not find a root device. Same result for disk #3.
Code:
Marvell>> setenv bootargs_root 'root=/dev/sda2 rw panic=5'
Marvell>> tftpboot 0x02000000 $(kernel)
Using egiga0 device
TFTP from server 192.168.aa.bb; our IP address is 192.168.aa.bb
Filename 'uImage.buffalo'.
Load address: 0x2000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###
done
Bytes transferred = 4340004 (423924 hex)
Marvell>> setenv bootargs $(bootargs_base) $(bootargs_root)
Marvell>> bootm 0x02000000
<<stop_sound>>
## Booting image at 02000000 ...
Image Name: linux-2.6.32
Created: 2010-03-04 9:02:58 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4339940 Bytes = 4.1 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
OK
call do_bootm_linux
Starting kernel ...
Uncompressing Linux................................................................................................................................................................................................................................................................................ done, booting the kernel.
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.32 (itou-r@sheeva02) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 Thu Mar 4 17:59:55 JST 2010
[ 0.000000] CPU: Feroceon [41159260] revision 0 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Buffalo Nas WXL
[ 0.000000] Ignoring unrecognised tag 0x41000403
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw panic=5
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 510464KB available (7928K code, 806K data, 180K init, 0K highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU-based detection of stalled CPUs is enabled.
[ 0.000000] NR_IRQS:128
[ 0.000000] Console: colour dummy device 80x30
[ 25.769970] Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
[ 25.999945] Security Framework initialized
[ 25.999963] SELinux: Disabled at boot.
[ 26.000020] Mount-cache hash table entries: 512
[ 26.000326] Initializing cgroup subsys ns
[ 26.000341] Initializing cgroup subsys cpuacct
[ 26.000352] Initializing cgroup subsys devices
[ 26.000403] CPU: Testing write buffer coherency: ok
[ 26.003060] xor: measuring software checksum speed
[ 26.049830] arm4regs : 687.600 MB/sec
[ 26.099825] 8regs : 604.400 MB/sec
[ 26.149826] 32regs : 668.400 MB/sec
[ 26.149839] xor: using function: arm4regs (687.600 MB/sec)
[ 26.150039] NET: Registered protocol family 16
[ 26.152173] MV78100-A0 core #0, PCLK = 800MHz, L2 = 267MHz, HCLK = 400MHz, TCLK = 167MHz
[ 26.152205] Feroceon L2: Enabling L2
[ 26.152260] Feroceon L2: Cache support initialised.
[ 26.152281] gpiochip_add: gpios 0..31 (orion_gpio) not registered
[ 26.169341] bio: create slab <bio-0> at 0
[ 26.169808] vgaarb: loaded
[ 26.171676] SCSI subsystem initialized
[ 26.172465] usbcore: registered new interface driver usbfs
[ 26.172724] usbcore: registered new interface driver hub
[ 26.172908] usbcore: registered new device driver usb
[ 26.340437] raid6: int32x1 90 MB/s
[ 26.510112] raid6: int32x2 102 MB/s
[ 26.680323] raid6: int32x4 107 MB/s
[ 26.850253] raid6: int32x8 78 MB/s
[ 26.850263] raid6: using algorithm int32x4 (107 MB/s)
[ 26.851232] cfg80211: Using static regulatory domain info
[ 26.851245] cfg80211: Regulatory domain: US
[ 26.851254] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 26.851271] (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
[ 26.851287] (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 26.851303] (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 26.851319] (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 26.851335] (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
[ 26.851351] (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
[ 26.851376] cfg80211: Calling CRDA for country: US
[ 26.851511] Switching to clocksource orion_clocksource
[ 26.856636] Slow work thread pool: Starting up
[ 26.856771] Slow work thread pool: Ready
[ 26.856831] FS-Cache: Loaded
[ 26.857051] CacheFiles: Loaded
[ 26.858610] NET: Registered protocol family 2
[ 26.858898] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 26.859793] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[ 26.860437] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
[ 26.860703] TCP: Hash tables configured (established 16384 bind 16384)
[ 26.860716] TCP reno registered
[ 26.860919] NET: Registered protocol family 1
[ 26.861202] RPC: Registered udp transport module.
[ 26.861214] RPC: Registered tcp transport module.
[ 26.861224] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 26.862482] audit: initializing netlink socket (disabled)
[ 26.862519] type=2000 audit(1.088:1): initialized
[ 26.863084] VFS: Disk quotas dquot_6.5.2
[ 26.863209] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 26.864232] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 26.865348] JFS: nTxBlock = 3989, nTxLock = 31915
[ 26.866952] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
[ 26.867721] SGI XFS Quota Management subsystem
[ 26.867754] msgmni has been set to 997
[ 26.870286] alg: No test for stdrng (krng)
[ 26.870317] async_tx: api initialized (async)
[ 26.870539] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 26.870556] io scheduler noop registered
[ 26.870566] io scheduler anticipatory registered
[ 26.870577] io scheduler deadline registered
[ 26.870646] io scheduler cfq registered (default)
[ 26.881260] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 26.883112] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 12) is a 16550A
[ 27.354155] console [ttyS0] enabled
[ 27.358033] serial8250.1: ttyS1 at MMIO 0xf1012100 (irq = 13) is a 16550A
[ 27.365213] serial8250.2: ttyS2 at MMIO 0xf1012200 (irq = 14) is a 16550A
[ 27.372375] serial8250.3: ttyS3 at MMIO 0xf1012300 (irq = 15) is a 16550A
[ 27.386589] brd: module loaded
[ 27.393389] loop: module loaded
[ 27.397161] sata_mv sata_mv.0: version 1.28
[ 27.401476] sata_mv sata_mv.0: slots 32 ports 2
[ 27.407014] scsi0 : sata_mv
[ 27.410154] scsi1 : sata_mv
[ 27.413242] ata1: SATA max UDMA/133 irq 26
[ 27.417325] ata2: SATA max UDMA/133 irq 26
[ 27.422786] Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
[ 27.429294] bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
[ 27.447485] MV-643xx 10/100/1000 ethernet driver version 1.4
[ 27.453384] mv643xx_eth smi: probed
[ 27.459992] net eth0: port 0 with MAC address 00:1d:73:xx:xx:xx
[ 27.468889] net eth1: port 0 with MAC address 00:1d:73:xx:xx:xx
[ 27.474970] tun: Universal TUN/TAP device driver, 1.6
[ 27.480006] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 27.486361] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[ 27.494879] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[ 27.503701] console [netcon0] enabled
[ 27.507351] netconsole: network logging started
[ 27.512302] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 27.518872] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 27.524366] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 27.561559] orion-ehci orion-ehci.0: irq 16, io mem 0xf1050000
[ 27.581544] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 27.587494] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 27.594268] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 27.601459] usb usb1: Product: Marvell Orion EHCI
[ 27.606151] usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
[ 27.611525] usb usb1: SerialNumber: orion-ehci.0
[ 27.616480] usb usb1: configuration #1 chosen from 1 choice
[ 27.622285] hub 1-0:1.0: USB hub found
[ 27.626056] hub 1-0:1.0: 1 port detected
[ 27.630328] orion-ehci orion-ehci.1: Marvell Orion EHCI
[ 27.635805] orion-ehci orion-ehci.1: new USB bus registered, assigned bus number 2
[ 27.671560] orion-ehci orion-ehci.1: irq 17, io mem 0xf1051000
[ 27.691548] orion-ehci orion-ehci.1: USB 2.0 started, EHCI 1.00
[ 27.697487] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 27.704265] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 27.711456] usb usb2: Product: Marvell Orion EHCI
[ 27.716151] usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
[ 27.721542] usb usb2: SerialNumber: orion-ehci.1
[ 27.726513] usb usb2: configuration #1 chosen from 1 choice
[ 27.732308] hub 2-0:1.0: USB hub found
[ 27.736076] hub 2-0:1.0: 1 port detected
[ 27.740353] orion-ehci orion-ehci.2: Marvell Orion EHCI
[ 27.745835] orion-ehci orion-ehci.2: new USB bus registered, assigned bus number 3
[ 27.761567] ata1: SATA link down (SStatus 0 SControl F300)
[ 27.781560] orion-ehci orion-ehci.2: irq 18, io mem 0xf1052000
[ 27.801544] orion-ehci orion-ehci.2: USB 2.0 started, EHCI 1.00
[ 27.807480] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[ 27.814256] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 27.821451] usb usb3: Product: Marvell Orion EHCI
[ 27.826144] usb usb3: Manufacturer: Linux 2.6.32 ehci_hcd
[ 27.831525] usb usb3: SerialNumber: orion-ehci.2
[ 27.836586] usb usb3: configuration #1 chosen from 1 choice
[ 27.842400] hub 3-0:1.0: USB hub found
[ 27.846167] hub 3-0:1.0: 1 port detected
[ 27.850853] usbcore: registered new interface driver usblp
[ 27.856481] usbcore: registered new interface driver cdc_wdm
[ 27.862166] Initializing USB Mass Storage driver...
[ 27.867230] usbcore: registered new interface driver usb-storage
[ 27.873241] USB Mass Storage support registered.
[ 27.877969] usbcore: registered new interface driver ums-alauda
[ 27.884030] usbcore: registered new interface driver ums-cypress
[ 27.890145] usbcore: registered new interface driver ums-datafab
[ 27.896281] usbcore: registered new interface driver ums-freecom
[ 27.902421] usbcore: registered new interface driver ums-isd200
[ 27.908443] usbcore: registered new interface driver ums-jumpshot
[ 27.914665] usbcore: registered new interface driver ums-karma
[ 27.920601] usbcore: registered new interface driver ums-onetouch
[ 27.926831] usbcore: registered new interface driver ums-sddr09
[ 27.932884] usbcore: registered new interface driver ums-sddr55
[ 27.938914] usbcore: registered new interface driver ums-usbat
[ 27.945095] mice: PS/2 mouse device common for all mice
[ 27.950556] i2c /dev entries driver
[ 27.955133] Driver for 1-wire Dallas network protocol.
[ 27.960627] md: linear personality registered for level -1
[ 27.966138] md: raid0 personality registered for level 0
[ 27.971433] md: raid1 personality registered for level 1
[ 27.976731] md: raid10 personality registered for level 10
[ 27.982206] md: raid6 personality registered for level 6
[ 27.987494] md: raid5 personality registered for level 5
[ 27.992794] md: raid4 personality registered for level 4
[ 27.998086] md: multipath personality registered for level -4
[ 28.003816] md: faulty personality registered for level -5
[ 28.009447] device-mapper: uevent: version 1.0.3
[ 28.014331] device-mapper: ioctl: 4.15.0-ioctl (2009-04-01) initialised: dm-devel@redhat.com
[ 28.023038] device-mapper: multipath: version 1.1.0 loaded
[ 28.028500] device-mapper: multipath round-robin: version 1.0.0 loaded
[ 28.035225] cpuidle: using governor ladder
[ 28.039309] cpuidle: using governor menu
[ 28.043567] Netfilter messages via NETLINK v0.30.
[ 28.048308] nf_conntrack version 0.5.0 (7978 buckets, 31912 max)
[ 28.054641] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[ 28.062020] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[ 28.069901] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[ 28.076918] ctnetlink v0.93: registering with nfnetlink.
[ 28.082327] xt_time: kernel timezone is -0000
[ 28.088099] IPv4 over IPv4 tunneling driver
[ 28.093512] GRE over IPv4 tunneling driver
[ 28.100146] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 28.105566] ClusterIP Version 0.8 loaded successfully
[ 28.110637] arp_tables: (C) 2002 David S. Miller
[ 28.115365] TCP cubic registered
[ 28.118788] NET: Registered protocol family 10
[ 28.125645] lo: Disabled Privacy Extensions
[ 28.135022] tunl0: Disabled Privacy Extensions
[ 28.143100] NET: Registered protocol family 17
[ 28.147539] NET: Registered protocol family 15
[ 28.152229] Bridge firewalling registered
[ 28.156230] Ebtables v2.0 registered
[ 28.160025] ebt_ulog: out of memory trying to call netlink_kernel_create
[ 28.166727] NET: Registered protocol family 5
[ 28.171261] NET: Registered protocol family 9
[ 28.175617] X.25 for Linux Version 0.2
[ 28.179610] lib80211: common routines for IEEE802.11 drivers
[ 28.185420] ata2: SATA link down (SStatus 0 SControl F300)
[ 28.191356] registered taskstats version 1
[ 28.195547] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 28.201855] md: Waiting for all devices to be available before autodetect
[ 28.208617] md: If you don't use raid, use raid=noautodetect
[ 28.214830] md: Autodetecting RAID arrays.
[ 28.218908] md: Scanned 0 and added 0 devices.
[ 28.223370] md: autorun ...
[ 28.226146] md: ... autorun DONE.
[ 28.229663] VFS: Cannot open root device "sda2" or unknown-block(0,0)
[ 28.236092] Please append a correct "root=" boot option; here are the available partitions:
[ 28.244434] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 28.252698] [<c003ad28>] (unwind_backtrace+0x0/0xdc) from [<c05cb5b0>] (panic+0x34/0x128)
[ 28.260851] [<c05cb5b0>] (panic+0x34/0x128) from [<c0008f1c>] (mount_block_root+0x25c/0x2b4)
[ 28.269273] [<c0008f1c>] (mount_block_root+0x25c/0x2b4) from [<c0009148>] (prepare_namespace+0x168/0x1cc)
[ 28.278819] [<c0009148>] (prepare_namespace+0x168/0x1cc) from [<c000845c>] (kernel_init+0xec/0x128)
[ 28.287853] [<c000845c>] (kernel_init+0xec/0x128) from [<c003687c>] (kernel_thread_exit+0x0/0x8)
Any suggestions ?