2Big Drive Image help

Post Reply
first
Posts: 17
Joined: Sun Mar 28, 2010 4:17 am

Re: 2Big Drive Image help

Post by first » Sat Jan 22, 2011 11:33 am

Here the boot log with the sda6 from edmini and the rest from 2big network:

Code: Select all


         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F5182-LaCie LE

U-Boot 1.1.4 (Mar 27 2009 - 14:58:15) Marvell version: 2.4.9  LaCie: 1.00.0004

U-Boot code: 00200000 -> 0026FFF0  BSS: -> 00283280

Soc: 88F5182 A2 (DDR2)
CPU running @ 400Mhz
SysClock = 200Mhz , TClock = 166Mhz

DRAM CS[0] base 0x00000000   size 128MB
DRAM Total size 128MB  32bit width
mvFlash_init
Flash: 512 kB
Addresses 4M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (4M - 3M): Done
*** Warning - bad CRC, using default environment


CPU : ARM926 (Rev 0)
88F5182 A2 streaming disabled

USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
POWER Manager
disk Power OFF
<SW ON>
disk Power ON
Hit any key to stop autoboot:  0
mvEgigaInit: egiga0 mvEthPortEnable failed (error)
mvEgigaInit: egiga0 failed
Waiting for LUMP (2)
no lump receive; continuing

Reset IDE:
Marvell Serial ATA Adapter
Integrated Sata device found
ATAstatus =80
  Device 0: OK
Model: ST31000528AS                             Firm: CC44     Ser#:
 5VP1QZ4D
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953868.6 MB = 931.5 GB (1953523055 x 512)


Loading from IDE device 0, partition 10: Name: hda10
  Type: U-Boot

** Bad Magic Number **

** Device 1 not available

Loading from IDE device 0, partition 6: Name: hda6
  Type: U-Boot
   Image Name:   Linux-2.6.12.6-arm1-lacie5a
   Created:      2006-10-31  10:26:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1523420 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00400000 ...
   Image Name:   Linux-2.6.12.6-arm1-lacie5a
   Created:      2006-10-31  10:26:32 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1523420 Bytes =  1.5 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
............................................ done, booting the kernel.
Linux version 2.6.12.6-arm1-lacie5a (root@lacie) (gcc version 3.4.4 (release) (C
odeSourcery ARM 2005q3-2)) #1 Tue Oct 31 11:26:21 CET 2006
CPU: ARM926EJ-Sid(wb) [41069260] revision 0 (ARMv5TEJ)
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Machine: MV-88fxx81
Using UBoot passing parameters structure
Sys Clk = 200000000, Tclk = 166666667
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro boardType=mv88F5182
productType=2Big reset=0
PID hash table entries: 1024 (order: 10, 16384 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 126336KB available (2817K code, 416K data, 96K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB
PEX0_IO ....base f2000000, size   1MB
PCI0_MEM ....base e8000000, size 128MB
PCI0_IO ....base f2100000, size   1MB
INTER_REGS ....base f1000000, size   1MB
DEVICE_CS0 ....no such
DEVICE_CS1 ....base f4000000, size  16MB
DEVICE_CS2 ....no such
DEV_BOOCS ....base ff800000, size   8MB
CRYPTO ENG ....base f0000000, size  64KB

  LaCie EDmini V2 (MV LSP Version 1.10.3.patch2_DB_NAS)-- RD-88F5182-EDMV2  Soc:
 88F5182 A2

 Detected Tclk 166666667 and SysClk 200000000
Marvell USB EHCI Host controller #0: c04a9b00
Marvell USB EHCI Host controller #1: c04a9a40
pexBarOverlapDetect: winNum 2 overlap current 0
mvPexInit:Warning :Bar 2 size is illigal
it will be disabled
please check Pex and CPU windows configuration
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
Use the XOR engines (offloading) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
Fast Floating Point Emulator V0.9 (c) Peter Teichmann.
inotify device minor=63
Registering unionfs 1.1.5
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
loop: loaded (max 8 devices)
Marvell Gigabit Ethernet Driver 'egiga':
  o Ethernet descriptors in DRAM
  o DRAM SW cache-coherency
  o Checksum offload enabled
  o Loading network interface 'egiga0'
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
  Vendor: Seagate   Model: ST31000528AS      Rev: CC44
  Type:   Direct-Access                      ANSI SCSI revision: 03
SCSI device sda: 1953523055 512-byte hdwr sectors (1000204 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 1953523055 512-byte hdwr sectors (1000204 MB)
SCSI device sda: drive cache: write back
 sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0,  type 0
physmap flash device: 80000 at ff800000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
cmdlinepart partition parsing not available
RedBoot partition parsing not available
ehci_platform ehci_platform.4523: EHCI Host Controller
ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1
ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000
ehci_platform ehci_platform.4523: park 0
ehci_platform ehci_platform.4523: USB 0.0 initialized, EHCI 1.00, driver 10 Dec
2004
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_platform ehci_platform.16781: EHCI Host Controller
ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2

ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000
ehci_platform ehci_platform.16781: park 0
ehci_platform ehci_platform.16781: USB 0.0 initialized, EHCI 1.00, driver 10 Dec
 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
mice: PS/2 mouse device common for all mice
edmini_power 1.0 initialised
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid10 personality registered as nr 9
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
device-mapper: 4.4.0-ioctl (2005-01-12) initialised: dm-devel@redhat.com
NET: Registered protocol family 2
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 5
Loading I2C based RTC driver device interface.
Found TWSI adapter with id: 0
Found I2C RTC rs5c372 @ 0x32
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing init memory: 96K
kjournald starting.  Commit interval 5 seconds
Verifying MAC address
Preparing swap partition /dev/sda5
Setting up swapspace version 1, size = 131534848 bytes
Preparing snapshot partition /dev/sda9
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda9, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Preparing userdata partition /dev/sda2
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
/sbin/init: /sbin/init: 26: fail_msg: not found
FAILED prepareUserDataPartition
/sbin/init: First Boot Failed


BusyBox v1.1.0 (2006.04.12-06:36+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
/ #

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Sat Jan 22, 2011 11:55 am

Looks good. Only there is some problem with the dataparatition:

Code: Select all

Preparing userdata partition /dev/sda2
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
/sbin/init: /sbin/init: 26: fail_msg: not found
FAILED prepareUserDataPartition
/sbin/init: First Boot Failed
I see nothing about generating an unionfs, so I suppose this message comes from sda7/sbin/init, which is a script. Maybe reading the function prepareUserDataPartition will tell what the actual problem is. (Maybe it's no raidarray?)
the problema with edmini image is that you cant use the power switch
Yeah, as I expected. Different switch/led logics.
i will try to install the scratchbox and build the kernel from the GPL sources.
That's the spirit!

froggzy
Posts: 10
Joined: Sat Nov 13, 2010 10:07 am

Re: 2Big Drive Image help

Post by froggzy » Sat Jan 22, 2011 1:59 pm

waowa.. you guys are good.. i'am lost in translation here...
i will try to get that sda6 partition from edmini see if that change something.

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Sat Jan 22, 2011 3:18 pm

Mijzelf wrote:Looks good. Only there is some problem with the dataparatition:

Code: Select all

Preparing userdata partition /dev/sda2
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
/sbin/init: /sbin/init: 26: fail_msg: not found
FAILED prepareUserDataPartition
/sbin/init: First Boot Failed
I see nothing about generating an unionfs, so I suppose this message comes from sda7/sbin/init, which is a script. Maybe reading the function prepareUserDataPartition will tell what the actual problem is.
You didn't copy the EdminiV2 kernel modules to the 2Big sda8, did you? This is prepareUserDataPartition:

Code: Select all

prepareUserDataPartition()
{
        if [ x"`isRaidRequired`" == x"yes" ]; then
                root_partition=/dev/md${MD_ROOT}
                snap_partition=/dev/md${MD_SNAP}
                user_partition=/dev/md${MD_USER}
        fi
        echo "Preparing userdata partition $user_partition"
        mount -n -r $root_partition $root_mountpoint  || { echo "prepareUserDataPartition: Failed to mount $root_partition on $root_mountpoint."; return 1; }
        MODULE=${root_mountpoint}/lib/modules/`uname -r`/kernel/fs/${user_fs}/${user_fs}.ko
        if [ ! -f $MODULE ]; then
                fail_msg "Module $MODULE not found"
                return 1
        fi
        insmod $MODULE
        if [ $? -ne 0 ]; then
                fail_msg "Could not load $user_fs module"
                return 1
        fi
        if [ x"$user_fs" == x"xfs" ]; then
                /sbin/mkfs.xfs -f $user_partition > /dev/null
                if [ $? -ne 0 ]; then
                        fail_msg "Could not create $user_fs filesystem on $user_partition"
                        return 1
                fi
        fi
        # Create share directory in the home parition.
        mount -n $user_partition $user_tmp_mountpoint || { fail_msg "prepareUserDataPartition: mount $user_array on $USERDATA_TEMP_MOUNTPT failed"; return 1; }
        mkdir -p $user_tmp_mountpoint/$user_sharename
        /bin/chmod 755 $user_tmp_mountpoint/$user_sharename
        chown 0:100 $user_tmp_mountpoint/$user_sharename
        umount $user_tmp_mountpoint || { fail_msg "prepareUserDataPartition: failed to umount $USERDATA_TEMP_MOUNTPT"; return 1; }
        rmmod $user_fs || { fail_msg "prepareUserDataPartition: failed to remove $user_fs module"; return 1; }
        umount $root_mountpoint || { fail_msg "prepareUserDataPartition: failed to umount $root_mountpoint"; return 1; }
}
With the serial log alongside this function, I think it fails here
MODULE=${root_mountpoint}/lib/modules/`uname -r`/kernel/fs/${user_fs}/${user_fs}.ko
if [ ! -f $MODULE ]; then
fail_msg "Module $MODULE not found"
return 1
fi
because I see the sda8 being mounted, but I don't see xfs.ko loaded. This is the only failpoint in between.

first
Posts: 17
Joined: Sun Mar 28, 2010 4:17 am

Re: 2Big Drive Image help

Post by first » Sun Jan 23, 2011 2:57 pm

Installed ubuntu 9.04 (couldn't found the ubuntu 8.10 disk :P).
Then installed scratchbox, some toolchains and tried to compile the kernel. The kernel builds ok but need some kind of initramfs. And the Image was in some raw format "Image", couldn't build an "uImage". After some readings it seems that uImage its some kind of kernel image but with the U-Boot bootloader.
So I tried to build first the bootloader with the gpl sources, all builds ok for my board some source files were missing.

The source files mising are:

Code: Select all

board/mv_feroceon/mv_hal/mflash/mvMFlash.c
board/mv_feroceon/mv_hal/mflash/mvSMFlash.c
board/mv_feroceon/mv_hal/mflash/mvPMFlash.c
board/mv_feroceon/mv_hal/idma/mvIdma.c
And there i am stuck.

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Sun Jan 23, 2011 3:08 pm

Didn't it build a zImage as well?

Fortunately you don't need to build the bootloader to create a uImage. Just do a

Code: Select all

apt-get install uboot-mkimage
, and run

Code: Select all

make uImage
from your Linux directory.

first
Posts: 17
Joined: Sun Mar 28, 2010 4:17 am

Re: 2Big Drive Image help

Post by first » Sun Jan 23, 2011 4:17 pm

Tried installing uboot-mkimage but that only installs it to the host OS.

But then searched in my "lacie U-Boot" build if tools were made during the last build and I was lucky. In the tools directory I had the mkimage executable and some others. Just copied them to /usr/bin (in the scratchbox chroot), and I could create the uImage without problems. Then erased the sda6 partition and restored the uImage and the NAS booted, uncompressed the linux kernel and did some things but latter hanged (I need to copy the modules and fix some array issues first).

Here the current log:

Code: Select all

DDD:~ iooo$ kermit -c
Connecting to /dev/tty.usbserial, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_ 
| | | |___|  _ \ / _ \ / _ \| __| 
| |_| |___| |_) | (_) | (_) | |_ 
 \___/    |____/ \___/ \___/ \__|  ** LOADER **
 ** MARVELL BOARD: DB-88F5182-LaCie LE 

U-Boot 1.1.4 (Mar 27 2009 - 14:58:15) Marvell version: 2.4.9  LaCie: 1.00.0004

U-Boot code: 00200000 -> 0026FFF0  BSS: -> 00283280

Soc: 88F5182 A2 (DDR2)
CPU running @ 400Mhz 
SysClock = 200Mhz , TClock = 166Mhz 

DRAM CS[0] base 0x00000000   size 128MB 
DRAM Total size 128MB  32bit width
mvFlash_init
Flash: 512 kB
Addresses 4M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (4M - 3M): Done
*** Warning - bad CRC, using default environment


CPU : ARM926 (Rev 0)
88F5182 A2 streaming disabled 

USB 0: host mode
USB 1: host mode
PCI 0: PCI Express Root Complex Interface
PCI 1: Conventional PCI, speed = 33000000
Net:   egiga0 [PRIME]
POWER Manager
<SW ON>
disk Power ON
Hit any key to stop autoboot:  0 
mvEgigaInit: egiga0 mvEthPortEnable failed (error)
mvEgigaInit: egiga0 failed
Waiting for LUMP (2)
no lump receive; continuing

Reset IDE: 
Marvell Serial ATA Adapter
Integrated Sata device found
ATAstatus =80
  Device 0: OK
Model: ST31000528AS                             Firm: CC44     Ser#:             5VP1QZ4D
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 953868.6 MB = 931.5 GB (1953523055 x 512)


Loading from IDE device 0, partition 10: Name: hda10
  Type: U-Boot

** Bad Magic Number **

** Device 1 not available

Loading from IDE device 0, partition 6: Name: hda6
  Type: U-Boot
   Image Name:   Linux-2.6.22.7
   Created:      2011-01-23  15:55:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1658624 Bytes =  1.6 MB
   Load Address: 00008000
   Entry Point:  00008000
## Booting image at 00400000 ...
   Image Name:   Linux-2.6.22.7
   Created:      2011-01-23  15:55:49 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1658624 Bytes =  1.6 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux..................................................................................................... done, booting the kernel.
Linux version 2.6.22.7 (iooo@ubuntu) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #2 Sun Jan 23 12:54:32 CET 2011
CPU: ARM926EJ-S [41069260] revision 0 (ARMv5TEJ), cr=a0053177
Machine: Feroceon
Using UBoot passing parameters structure
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
CPU0: D cache: 32768 bytes, associativity 1, 32 byte lines, 1024 sets
Built 1 zonelists.  Total pages: 32512
Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro boardType=mv88F5182 productType=2Big reset=0
PID hash table entries: 512 (order: 9, 2048 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 128MB 0MB 0MB 0MB = 128MB total
Memory: 126592KB available (2792K code, 185K data, 228K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Sys Clk = 200000000, Tclk = 166666667

CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 128MB 
SDRAM_CS1 ....disable
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
PEX0_MEM ....base e0000000, size 128MB 
PEX0_IO ....base f2000000, size   1MB 
PCI0_MEM ....base e8000000, size 128MB 
PCI0_IO ....base f2100000, size   1MB 
INTER_REGS ....base f1000000, size   1MB 
DEVICE_CS0 ....no such
DEVICE_CS1 ....no such
DEVICE_CS2 ....no such
DEV_BOOCS ....base fff80000, size 512KB 
CRYPT_ENG ....base f0000000, size  64KB 

  Marvell Development Board (LSP Version 3.0.5_NAS_GDP_p8)-- DB-88F5182-LaCie  Soc: 88F5182 A2

 Detected Tclk 166666667 and SysClk 200000000 
Init Marvell USB port 0 => HOST
Marvell USB EHCI Host controller #0: c0473600
Init Marvell USB port 1 => HOST
Marvell USB EHCI Host controller #1: c0473400
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers enabled
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
Time: orion_clocksource clocksource has been installed.
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
cesadev_init(c000e728)
mvCesaInit: sessions=640, queue=64, pSram=f0000000
Use the XOR engines (acceleration) for enhancing the following functions:
  o RAID 5 Xor calculation
  o kernel memcpy
  o kenrel memzero
  o copy user to/from kernel buffers
Number of XOR engines to use: 2
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Registering unionfs 2.4 (for 2.6.22.19)
io scheduler noop registered
io scheduler anticipatory registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 3) is a 16550A
serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 4) is a 16550A
Marvell Ethernet Driver 'mv_ethernet':
  o Uncached descriptors in DRAM
  o DRAM SW cache-coherency
  o TCP segmentation offload enabled
  o Checksum offload enabled
  o Marvell ethtool proc enabled
  o Rx desc: 128
  o Tx desc: 256
  o Loading network interface 'egiga0' 
Intergrated Sata device found
scsi0 : Marvell SCSI to SATA adapter
scsi1 : Marvell SCSI to SATA adapter
scsi 0:0:0:0: Direct-Access     Seagate  ST31000528AS     CC44 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 1953523055 512-byte hardware sectors (1000204 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
sd 0:0:0:0: [sda] 1953523055 512-byte hardware sectors (1000204 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, supports DPO and FUA
 sda: sda1 < sda5 sda6 sda7 sda8 sda9 sda10 > sda2
sd 0:0:0:0: [sda] Attached SCSI disk
sd 0:0:0:0: Attached scsi generic sg0 type 0
cfi_flash_0: Found 1 x16 devices at 0x0 in 8-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
cfi_flash_0: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
ehci_marvell ehci_marvell.4523: Marvell Orion EHCI
ehci_marvell ehci_marvell.4523: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.4523: irq 17, io base 0xf1050100
ehci_marvell ehci_marvell.4523: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_marvell ehci_marvell.167817: Marvell Orion EHCI
ehci_marvell ehci_marvell.167817: new USB bus registered, assigned bus number 2
ehci_marvell ehci_marvell.167817: irq 12, io base 0xf10a0100
ehci_marvell ehci_marvell.167817: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
USB Universal Host Controller Interface driver v3.0
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Loading I2C based RTC driver device interface.
Found TWSI-I2C with id: 0
Found I2C RTC rs5c372 @ 0x32
Freeing init memory: 228K


first
Posts: 17
Joined: Sun Mar 28, 2010 4:17 am

Re: 2Big Drive Image help

Post by first » Sun Jan 23, 2011 4:49 pm

I think maybe it hangs because I used a bad initramfs (I just faked it in build script to get it to compile).
Just need to read about that :P.

Mijzelf
Posts: 6207
Joined: Mon Jun 16, 2008 10:45 am

Re: 2Big Drive Image help

Post by Mijzelf » Sun Jan 23, 2011 6:56 pm

Which .config did you use? As usual in Lacie GPL sources, they didn't supply a .config.

BTW, I don't think a initramfs is needed/used.

first
Posts: 17
Joined: Sun Mar 28, 2010 4:17 am

Re: 2Big Drive Image help

Post by first » Sun Jan 23, 2011 7:20 pm

Mijzelf wrote:Which .config did you use? As usual in Lacie GPL sources, they didn't supply a .config.

BTW, I don't think a initramfs is needed/used.
The kernel source has a build script they use to configure and build the kernel.

Code: Select all

./build.sh 2big INITRAMFS_PATH
There are some scripts to build initramfs, but the test one dont work and the other one is just to pass a directory and build from there a initramfs file.

piggz
Posts: 3
Joined: Fri Dec 03, 2010 8:10 pm

Re: 2Big Drive Image help

Post by piggz » Sun Feb 20, 2011 7:14 pm

I pretty much gave up getting any disk images working on my nas, then i came across lacie-nas.org. Nothing there about the 2big Network, but i got talking to a guy on IRC, who built a kernel (2.6.38!!) that boots my drive over tftp. You can easily get a uboot prompt over the network without touching a serial line, and there is now a wiki page http://lacie-nas.org/doku.php?id=installdebian2big with downloads for the kernel, and hopefully, soon, i will get a full debian installation running, with whatever services i want. Open source is fantastic!

ZZRX
Posts: 25
Joined: Thu Jan 27, 2011 8:30 am

Re: 2Big Drive Image help

Post by ZZRX » Tue Feb 22, 2011 7:23 pm

I have 2Big Network2. System Debian Lenny kernel 2.6.37 that i compiled. I can assist if u need help.

piggz
Posts: 3
Joined: Fri Dec 03, 2010 8:10 pm

Re: 2Big Drive Image help

Post by piggz » Tue Feb 22, 2011 9:51 pm

Thanks

It seems to be mostly working. Have a look at the wiki and see if there is anything you can add. Atm im running debian sid with a 2.6.38 kernel. Samba, proftpd and mediatomb.

piggz
Posts: 3
Joined: Fri Dec 03, 2010 8:10 pm

Re: 2Big Drive Image help

Post by piggz » Wed Feb 23, 2011 2:45 pm

The wiki page http://lacie-nas.org/doku.php?id=installdebian2big now contains a full set of instructions to get a working debian sid with proftpd, samba and mediatomb upnp server. The 2bignetwork is now much more useful than it ever was for me!

mgalins
Posts: 1
Joined: Tue Mar 01, 2011 1:49 pm

Re: 2Big Drive Image help

Post by mgalins » Tue Mar 01, 2011 1:52 pm

Hi guys.
Could anybody please post here original images for hard drives to process this procedure? viewtopic.php?p=4895#p4895
Or maybe there is better method?
I have 500 GB HDD

Post Reply