Buffalo NAS-Central Forums

Welcome to the Linkstation Wiki community
It is currently Mon Jul 14, 2014 1:23 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Fri Feb 05, 2010 12:07 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
Hey guys,


here is a new topic on my progress to get a kernel working on the 2.6.32 vanilla.


So far, I have a kernel that boot up (just a few minutes ago !) and here is what I have :
Code:
Uncompressing Linux................................................................................................................................. done.
Linux version 2.6.32 (root@debian) (gcc version 4.2.0 20070413 (prerelease) (CodeSourcery Sourcery G++ Lite 2007q1-21)) #6 PREEMPT Thu Feb 4 12:02:43 EST0
CPU: Feroceon [41159260] revision 0 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Buffalo Nas WXL
Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rw initrd=0x00900040,15M panic=5 BOOTVER=2.06
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)






I have a mpp.c and mpp.h that match the MPP of the MV78100 of the BUffalo WXL (Terastation Duo).


Any help is much appreciated if you are a kernel guru :-)


Top
 Profile  
 
PostPosted: Fri Feb 05, 2010 7:13 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
End of the day,


I have so far the following :

Booting Kernel : OK
New Device ID (devio > foo ...) : OK
RamDisk Support : OK
Ethernet Support Limited (10Mbit only while the device should be 1Gbit) : NOT OK
Raid Support : OK
MTD : Not OK
PCI : OK
USB : OK
Fan Control : NOT OK (but I have made the MPP lines for it)
LED : NOT OK (same as above)
Micon Hardware Watchdog : Unknown (under tests)




it gets pretty exciting !


Top
 Profile  
 
PostPosted: Mon Feb 08, 2010 8:42 am 
Offline
Total Newbie
User avatar

Joined: Sun Feb 07, 2010 3:31 am
Posts: 4
Hi kiddouk,

Great wok. I hava a TS-XL (TS3) and I'm interested in getting the latest kernel for my box. Could you show us how to compile a vanilla kernel for MV78XX00 boxes ?


Top
 Profile  
 
PostPosted: Sat Feb 20, 2010 7:33 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
I finally took some time to create a http://www.kolios.dk/patch/linux-buffalo-wxl-2.6.32.patch.

This patch currently works only for WXL.
You should have a 2.6.32 vanilla kernel.

apply the patch with
Code:
$> cd linux-2.6.32
$> patch -p1 < ../linux-buffalo-wxl-2.6.32.patch
patching file arch/arm/mach-mv78xx0/Kconfig
patching file arch/arm/mach-mv78xx0/Makefile
patching file arch/arm/mach-mv78xx0/buffalo-wxl-setup.c
patching file arch/arm/mach-mv78xx0/mpp.c
patching file arch/arm/mach-mv78xx0/mpp.h
patching file arch/arm/tools/mach-types


Select MV78XX0 as a system type and enable the new Buffalo WXL support.

then compile with

Code:
$> make ARCH=ARM CROSS_COMPILE=... zImage

then patch with the good devio
Code:
$> devio  'wl 0xe3a0c10c,4' 'wl 0xe381108a,4' > foo
$> cat foo zImage > zImage.buffalo




Note : the kernel is Highly experimental and the network seems
to be very instable. This is for TESTING only.

Once the patch gets better, I'll produce a TS3 patch too as theses
two NAS are pretty much the same !


enjoy


Top
 Profile  
 
PostPosted: Mon Feb 22, 2010 12:06 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
I took some times to modify the patch this week end.


Network now Works correctly (10/100/1000).


The ttyS1 seems to be reluctant though ... so no watchdog (The box, dies after 5minutes).


@riohey: you can now try on your TS3 .. it should boot and have network enabled.
but you should use a serial port to monitor what's happening. (Asyou may have a stock initrd,
be prepared to a LOT of output ^^ )




Patch url: at the same place.


Top
 Profile  
 
PostPosted: Mon Feb 22, 2010 5:10 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
Good News fellows,


The kernel now supports the watchdog.
I update the patch immediately.


Things that works :

* SATA (2hosts)
* Ethernet (10/100/1000)
* Watchdog (with micro-evtd installed)
* Serial ports
* USB
* Fan control

and for now :
* no LCD
* No keys


Enjoy !


Top
 Profile  
 
PostPosted: Wed Feb 24, 2010 4:21 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
Ok, the patch has just been accepted by the ARM team and pushed into the repository. :-)


Top
 Profile  
 
PostPosted: Sat Feb 27, 2010 11:32 am 
Offline
Total Newbie
User avatar

Joined: Sun Feb 07, 2010 3:31 am
Posts: 4
Hi kiddouk,

Applied your patch to vanilla kernel 2.6.32 and build an uImage for my TS3. Then I tried tftpboot with this newer kernel, because I like to keep HDDs untouched. Loading kernel and initrd worked fine, but after uncompressing the kernel, TS3 stopped.

Code:
Marvell>> setenv bootargs_root 'root=/dev/ram0 rw initrd=0x00900040,15M panic=5'
Marvell>> tftp 0x02000000 $(kernel)
Using egiga0 device
TFTP from server 192.168.aa.bb; our IP address is 192.168.aa.cc
Filename 'uImage.buffalo'.
Load address: 0x2000000
Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #########################
done
Bytes transferred = 2453472 (256fe0 hex)
Marvell>> tftp 0x00900000 $(initrd)
Using egiga0 device
TFTP from server 192.168.aa.bb; our IP address is 192.168.aa.cc
Filename 'initrd.buffalo'.
Load address: 0x900000
Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    #################################################################
    ##################################
done
Bytes transferred = 2503355 (2632bb hex)
Marvell>> setenv bootargs $(bootargs_base) $(bootargs_root)
Marvell>> bootm 0x02000000 0x00900000
<<stop_sound>>
## Booting image at 02000000 ...
   Image Name:   linux-2.6.32
   Created:      2010-02-27   9:40:05 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2453408 Bytes =  2.3 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
call do_bootm_linux
## Loading Ramdisk Image at 00900000 ...
   Image Name:   initrd
   Created:      2010-02-27   7:11:53 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2503291 Bytes =  2.4 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux..................... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x0000029a).

Available machine support:

ID (hex)   NAME
00000693   Marvell DB-78x00-BP Development Board
00000857   Marvell RD-78x00-MASA Development Board
00000c8a   Buffalo Nas WXL

Please check your kernel config and/or bootloader.


How should I modify the kernel source code ?


Top
 Profile  
 
PostPosted: Sat Feb 27, 2010 7:05 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
you don't need to change the source.


just issue the following: (after you make zImage)


Code:
$> 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' -d zImage.new uImage



This is due to the fact that buffalo use the WRONG machine type and do not match any of
the linux kernel machine type. So we force the machine type in the header of the uImage.


enjoy,


Top
 Profile  
 
PostPosted: Mon Mar 01, 2010 3:20 am 
Offline
Total Newbie
User avatar

Joined: Sun Feb 07, 2010 3:31 am
Posts: 4
Hi kiddouk,

Your advice solved the machine type issue. But my TS reboots after showing the following message;

Code:
Starting kernel ...

Uncompressing Linux................................................................................................................................................................. done, booting the kernel.
<5>Linux version 2.6.32 (itou-r@debian) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #3 PREEMPT Mon Mar 1 09:02:32 JST 2010
CPU: Feroceon [41159260] revision 0 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Buffalo Nas WXL
<4>Ignoring unrecognised tag 0x41000403
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 131072
<7>free_area_init_node: node 0, pgdat c04f310c, node_mem_map c1801000
<7>  Normal zone: 1024 pages used for memmap
<7>  Normal zone: 0 pages reserved
<7>  Normal zone: 130048 pages, LIFO batch:31
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
<5>Kernel command line: console=ttyS0,115200 root=/dev/ram0 rw initrd=0x00900040,15M panic=5

[snip]

<6>RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>Trying to unpack rootfs image as initramfs...
<1>Unable to handle kernel paging request at virtual address e00bb4f6
<1>pgd = c0004000
<1>[e00bb4f6] *pgd=00000000
<0>Internal error: Oops: 5 [#1] PREEMPT
<0>last sysfs file:
<d>Modules linked in:
CPU: 0    Not tainted  (2.6.32 #3)
PC is at unpack_to_rootfs+0x250/0x46c
LR is at unpack_to_rootfs+0x2dc/0x46c
pc : [<c000ada0>]    lr : [<c000ae2c>]    psr: 20000013
sp : df82bf20  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000000  r8 : 1f7bb4b6
r7 : df934000  r6 : c0023c80  r5 : e1744b4a  r4 : e00bb4f6
r3 : c0023c80  r2 : 00000000  r1 : 00000001  r0 : 00000000
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005397f  Table: 00004000  DAC: 00000017
<0>Process swapper (pid: 1, stack limit = 0xdf82a270)
<0>Stack: (0xdf82bf20 to 0xdf82c000)
<0>bf20: 00000000 c04f6764 c000a690 00000000 00000000 00000000 00000000 00000000
<0>bf40: c04f675c 00000001 00000200 00000000 00000000 00000000 00000000 c000b73c
<0>bf60: df8189b8 00000000 00000000 00000000 00000001 c023f06c 00000000 c0243464
<0>bf80: ffffffff ffffffff ffffffff 00000000 00000000 00000001 00000000 00000000
<0>bfa0: 00000000 00000000 c000b6e4 00000000 00000001 00000000 00000000 00000000
<0>bfc0: 00000000 c00293a8 c000b6e4 00000000 c04f6500 c00218f4 c002169c 00000000
<0>bfe0: 00000000 00000000 00000000 c0008574 00000000 c002aa0c feedfeed feedfeed
[<c000ada0>] (unpack_to_rootfs+0x250/0x46c) from [<c000b73c>] (populate_rootfs+0x58/0x2a8)
[<c000b73c>] (populate_rootfs+0x58/0x2a8) from [<c00293a8>] (do_one_initcall+0x58/0x1b0)
[<c00293a8>] (do_one_initcall+0x58/0x1b0) from [<c0008574>] (kernel_init+0x94/0x110)
[<c0008574>] (kernel_init+0x94/0x110) from [<c002aa0c>] (kernel_thread_exit+0x0/0x8)
<0>Code: e5832000 e1c301f0 e5832018 ea00004a (e5d42000)
<4>---[ end trace da227214a82491b7 ]---
<0>Kernel panic - not syncing: Attempted to kill init!
<0>Rebooting in 5 seconds..


Maybe my kernel configuration be wrong. I'll check it.


Top
 Profile  
 
PostPosted: Mon Mar 01, 2010 1:09 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
I posted a .config file that you can try. As I have no TS3, I can't test anything myself.

http://www.kolios.dk/patch/config-wxl



If you can test it and report back ... thanks !


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 12:05 pm 
Offline
Total Newbie
User avatar

Joined: Sun Feb 07, 2010 3:31 am
Posts: 4
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 ?


Top
 Profile  
 
PostPosted: Thu Mar 04, 2010 1:09 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
It boots on TS3 ... yeah !

The error you are having is due to the fact that you are not using any initrd.

The KERNEL is GOOD ! :up:


You should have an initrd that assemble your raid and do some job for you.

I uploaded my initrd for test purposes.

I have constructed from my own blog article :

http://www.kolios.dk/2009/09/07/howto-install-a-debian-from-scratch-on-a-buffalo-terastation-duo-2/


The initrd is here :
http://www.kolios.dk/patch/initrd.buffalo


This should help reconstructing you RAID Arrays. More over, don't forget to activate in your kernel config all the support for RAID arrays and multiple Partition Schemes. The one I use when installing a debian on my server ar PC-DOS style.


regards,


Top
 Profile  
 
PostPosted: Thu Mar 18, 2010 3:36 pm 
Offline
Newbie

Joined: Thu Aug 20, 2009 9:39 pm
Posts: 25
any news ?


My patch is waiting for your answer so we have TS3 - TS Duo support + CLOCK support too in a 2.6.34.

please, tell me how it goes as I don't have any TS3 here.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 14 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:

Protected by Anti-Spam ACP
Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group