Welcome! Log In Create A New Profile

Advanced

GoFelx-Net without SATA device

Posted by tmm68 
GoFelx-Net without SATA device
March 07, 2013 11:45AM
Hello,

After the dead of one of my two (lenny) dockstars, i bought a new GoFlex-Net with a GoFlex HDD.
I connected to the pogoplug site, activated the ssh access and started Jeff's wheezy script with attached HDD at the SATA-Port.
After a while, i received the "Kernel to old.." message.
Then i took my lenny installation from my other dockstar (USB-Disk) and booted this install.
Now i was able to install Jeff's "rescue system".
I disconnected the USB-Disk, connected the SATA-Disk and did a reboot.
With the rescue system, the wheezy script run succsessfuly.
After a reboot, i was back in the rescue system gain. :-(

I took the disk out of the SATA-bay and connected it to the USB-port.
After the restart, i entered the wheezy system with succsess.

A dmesg did not show me the SATA device.
To cut a long story short, i am at the end of my knowledge and a search did not deliver a solution.

I welcome any hints and suggestions.

What a pity to use the single USB-port instead of the two SATA-port.

Regards
TMM68
Re: GoFelx-Net without SATA device
March 07, 2013 03:14PM
tmm68 Wrote:
-------------------------------------------------------
> I took the disk out of the SATA-bay and connected
> it to the USB-port.
> After the restart, i entered the wheezy system
> with succsess.
>
> A dmesg did not show me the SATA device.

At this point, does dmesg show the SATA ports? since you're connecting the HDD to USB adapter, it mounts the disk as USB. However, the SATA ports should show up. Please post dmesg output here if you can't find it.

After verifying that the SATA ports are alive and well, fw_printenv will show whether the uBoot envs are set with commands to boot from SATA. Please post your output of fw_printenv here. The setup for SATA booting should look like this (could be slightly different depending on your installation):

sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=run usb_set_bootargs; run sata_boot
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
usb_rootfstype=ext3
Re: GoFelx-Net without SATA device
March 08, 2013 10:25AM
Tnx bodi,

So, this is my dmesg output:

root@debian:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 Debian 3.2.35-2
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c043fa44, node_mem_map c04a6000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 118548k/118548k available, 12524k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc03e3130 (3949 kB)
[ 0.000000] .init : 0xc03e4000 - 0xc0408000 ( 144 kB)
[ 0.000000] .data : 0xc0408000 - 0xc0442520 ( 234 kB)
[ 0.000000] .bss : 0xc0442544 - 0xc04a5b84 ( 398 kB)
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 11.209615] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 11.299503] pid_max: default: 32768 minimum: 301
[ 11.299627] Security Framework initialized
[ 11.299702] Mount-cache hash table entries: 512
[ 11.300037] Initializing cgroup subsys cpuacct
[ 11.300062] Initializing cgroup subsys memory
[ 11.300087] Initializing cgroup subsys devices
[ 11.300098] Initializing cgroup subsys freezer
[ 11.300106] Initializing cgroup subsys net_cls
[ 11.300114] Initializing cgroup subsys blkio
[ 11.300134] Initializing cgroup subsys perf_event
[ 11.300228] CPU: Testing write buffer coherency: ok
[ 11.301526] devtmpfs: initialized
[ 11.303371] print_constraints: dummy:
[ 11.303624] NET: Registered protocol family 16
[ 11.304431] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 11.304445] Feroceon L2: Enabling L2
[ 11.304480] Feroceon L2: Cache support initialised.
[ 11.305076] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 11.305097] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 11.307332] bio: create slab <bio-0> at 0
[ 11.307710] vgaarb: loaded
[ 11.308246] Switching to clocksource orion_clocksource
[ 11.322346] NET: Registered protocol family 2
[ 11.322552] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.323162] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 11.323261] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 11.323314] TCP: Hash tables configured (established 4096 bind 4096)
[ 11.323323] TCP reno registered
[ 11.323333] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 11.323354] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 11.323562] NET: Registered protocol family 1
[ 11.323592] PCI: CLS 0 bytes, default 32
[ 11.323746] Unpacking initramfs...
[ 11.870837] Freeing initrd memory: 6600K
[ 11.870853] NetWinder Floating Point Emulator V0.97 (double precision)
[ 11.871396] audit: initializing netlink socket (disabled)
[ 11.871439] type=2000 audit(0.650:1): initialized
[ 11.872817] VFS: Disk quotas dquot_6.5.2
[ 11.872901] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 11.873019] JFFS2 version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 11.873352] msgmni has been set to 244
[ 11.874865] alg: No test for stdrng (krng)
[ 11.874981] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 11.874994] io scheduler noop registered
[ 11.875001] io scheduler deadline registered
[ 11.875054] io scheduler cfq registered (default)
[ 11.875131] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 11.875166] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 11.908316] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 11.948313] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 11.988312] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 12.028311] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 12.028696] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 12.049233] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 12.476205] console [ttyS0] enabled
[ 12.480683] ONFI flash detected
[ 12.483924] ONFI param page 0 valid
[ 12.487433] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[ 12.495147] Scanning device for bad blocks
[ 12.651376] 4 cmdlinepart partitions found on MTD device orion_nand
[ 12.657669] Creating 4 MTD partitions on "orion_nand":
[ 12.662848] 0x000000000000-0x000000100000 : "u-boot"
[ 12.668689] 0x000000100000-0x000000500000 : "uImage"
[ 12.674469] 0x000000500000-0x000002500000 : "rootfs"
[ 12.680304] 0x000002500000-0x000010000000 : "data"
[ 12.686742] mousedev: PS/2 mouse device common for all mice
[ 13.698301] rtc-mv rtc-mv: internal RTC not ticking
[ 13.703294] i2c /dev entries driver
[ 13.706950] cpuidle: using governor ladder
[ 13.711203] cpuidle: using governor menu
[ 13.715286] Registered led device: plug:red:misc
[ 13.715387] Registered led device: plug:green:health
[ 13.716131] TCP cubic registered
[ 13.719396] NET: Registered protocol family 17
[ 13.723868] Registering the dns_resolver key type
[ 13.728640] Gating clock of unused units
[ 13.728649] before: 0x00dfc3fd
[ 13.728656] after: 0x00c701d9
[ 13.729076] registered taskstats version 1
[ 13.733634] /build/buildd-linux_3.2.35-2-armel-th89m3/linux-3.2.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 13.744798] Initializing network drop monitor service
[ 13.750482] Freeing init memory: 144K
[ 13.808855] udevd[48]: starting version 175
[ 13.867847] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 13.959786] mv643xx_eth smi: probed
[ 14.007877] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:26:6f:13
[ 14.022421] usbcore: registered new interface driver usbfs
[ 14.028007] usbcore: registered new interface driver hub
[ 14.054604] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
[ 14.085870] usbcore: registered new device driver usb
[ 14.115664] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.147768] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 14.162621] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 14.198297] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 14.218282] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 14.225308] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 14.232144] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 14.239413] usb usb1: Product: Marvell Orion EHCI
[ 14.244134] usb usb1: Manufacturer: Linux 3.2.0-4-kirkwood ehci_hcd
[ 14.250441] usb usb1: SerialNumber: orion-ehci.0
[ 14.255984] hub 1-0:1.0: USB hub found
[ 14.259790] hub 1-0:1.0: 1 port detected
[ 14.578297] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 14.729417] usb 1-1: New USB device found, idVendor=0bc2, idProduct=5021
[ 14.736154] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 14.743333] usb 1-1: Product: FreeAgent GoFlex
[ 14.747793] usb 1-1: Manufacturer: Seagate
[ 14.751926] usb 1-1: SerialNumber: NA0FXFEF
[ 14.781365] SCSI subsystem initialized
[ 14.789941] Initializing USB Mass Storage driver...
[ 14.795127] scsi0 : usb-storage 1-1:1.0
[ 14.800504] usbcore: registered new interface driver usb-storage
[ 14.806538] USB Mass Storage support registered.
[ 15.799260] scsi 0:0:0:0: Direct-Access Seagate FreeAgent GoFlex 0148 PQ: 0 ANSI: 4
[ 15.823214] sd 0:0:0:0: [sda] 976773167 512-byte logical blocks: (500 GB/465 GiB)
[ 15.831314] sd 0:0:0:0: [sda] Write Protect is off
[ 15.836129] sd 0:0:0:0: [sda] Mode Sense: 1c 00 00 00
[ 15.836687] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 15.886076] sda: sda1 sda2 sda3
[ 15.892814] sd 0:0:0:0: [sda] Attached SCSI disk
[ 15.907008] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 26.582018] udevd[238]: starting version 175
[ 28.200723] Adding 987992k swap on /dev/sda2. Priority:-1 extents:1 across:987992k
[ 35.474135] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 40.736613] NET: Registered protocol family 10

There is no SATA device/port listed.

And this is my uboot environment:

root@debian:~# fw_printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset
ethaddr=00:10:75:26:6F:13
rescue_installed=1
arcNumber=2097

I am just reading some threads with sata problems and this arcNumber, but this can take a while.

TMM68
Re: GoFelx-Net without SATA device
March 08, 2013 01:35PM
Hello bodhi,

I have solved it! :-)

The solutions was to change the arcNumber to 2678 (sheva with sata device)
Then i have installed Jeff's uboot again with resetting the vars.
But i had still no sata_..... vars in the environment.

So i took your entries and added them to my environment.

This is how it looks like now:

root@debian:~# fw_printenv
ethact=egiga0
bootdelay=3
baudrate=115200
mainlineLinux=yes
console=ttyS0,115200
led_init=green blinking
led_exit=green off
led_error=orange blinking
mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
mtdids=nand0=orion_nand
partition=nand0,2
stdin=serial
stdout=serial
stderr=serial
rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params
rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi
pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi
force_rescue=0
force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi
ubifs_mtd=3
ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params
ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi
usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done
usb_scan_list=1 2 3 4
usb_scan_1=usb=0:1 dev=sda1
usb_scan_2=usb=1:1 dev=sdb1
usb_scan_3=usb=2:1 dev=sdc1
usb_scan_4=usb=3:1 dev=sdd1
usb_init=run usb_scan
usb_device=0:1
usb_root=/dev/sda1
usb_rootfstype=ext2
usb_rootdelay=10
usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params
usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot
usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
ethaddr=00:10:75:26:6F:13
rescue_installed=1
arcNumber=2678
sata_boot=ide reset; mw 0x800000 0 1; ext2load ide 0:1 0x800000 /boot/uImage; if ext2load ide 0:1 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_bootcmd=sata_bootcmd=run usb_set_bootargs; run sata_boot
bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run sata_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset
usb_rootfstype=ext3

And the hardware looks like this:

root@debian:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.2.0-4-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-12) ) #1 Debian 3.2.35-2
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Marvell eSATA SheevaPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat c043fa44, node_mem_map c04a6000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda1 rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 128MB = 128MB total
[ 0.000000] Memory: 118548k/118548k available, 12524k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xfe800000 ( 864 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc03e3130 (3949 kB)
[ 0.000000] .init : 0xc03e4000 - 0xc0408000 ( 144 kB)
[ 0.000000] .data : 0xc0408000 - 0xc0442520 ( 234 kB)
[ 0.000000] .bss : 0xc0442544 - 0xc04a5b84 ( 398 kB)
[ 0.000000] NR_IRQS:114
[ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms
[ 0.000000] Console: colour dummy device 80x30
[ 12.868446] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 12.958336] pid_max: default: 32768 minimum: 301
[ 12.958459] Security Framework initialized
[ 12.958533] Mount-cache hash table entries: 512
[ 12.958868] Initializing cgroup subsys cpuacct
[ 12.958892] Initializing cgroup subsys memory
[ 12.958916] Initializing cgroup subsys devices
[ 12.958926] Initializing cgroup subsys freezer
[ 12.958935] Initializing cgroup subsys net_cls
[ 12.958943] Initializing cgroup subsys blkio
[ 12.958963] Initializing cgroup subsys perf_event
[ 12.959056] CPU: Testing write buffer coherency: ok
[ 12.960349] devtmpfs: initialized
[ 12.962197] print_constraints: dummy:
[ 12.962449] NET: Registered protocol family 16
[ 12.963250] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 12.963264] Feroceon L2: Enabling L2
[ 12.963299] Feroceon L2: Cache support initialised.
[ 12.963894] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 12.963916] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 12.966216] bio: create slab <bio-0> at 0
[ 12.966589] vgaarb: loaded
[ 12.967127] Switching to clocksource orion_clocksource
[ 12.981232] NET: Registered protocol family 2
[ 12.981437] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 12.982049] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 12.982149] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 12.982202] TCP: Hash tables configured (established 4096 bind 4096)
[ 12.982211] TCP reno registered
[ 12.982221] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 12.982242] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 12.982450] NET: Registered protocol family 1
[ 12.982481] PCI: CLS 0 bytes, default 32
[ 12.982633] Unpacking initramfs...
[ 13.529817] Freeing initrd memory: 6600K
[ 13.529832] NetWinder Floating Point Emulator V0.97 (double precision)
[ 13.530373] audit: initializing netlink socket (disabled)
[ 13.530416] type=2000 audit(0.650:1): initialized
[ 13.531801] VFS: Disk quotas dquot_6.5.2
[ 13.531885] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 13.532002] JFFS2 version 2.2. (NAND) (SUMMARY) \xffffffc2\xffffffa9 2001-2006 Red Hat, Inc.
[ 13.532337] msgmni has been set to 244
[ 13.533856] alg: No test for stdrng (krng)
[ 13.533970] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 13.533984] io scheduler noop registered
[ 13.533991] io scheduler deadline registered
[ 13.534044] io scheduler cfq registered (default)
[ 13.534120] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
[ 13.534152] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
[ 13.567197] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 13.607195] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
[ 13.647193] mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
[ 13.687193] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
[ 13.687582] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 13.708110] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
[ 14.135613] console [ttyS0] enabled
[ 14.140094] ONFI flash detected
[ 14.143340] ONFI param page 0 valid
[ 14.146848] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD)
[ 14.154562] Scanning device for bad blocks
[ 14.310794] 4 cmdlinepart partitions found on MTD device orion_nand
[ 14.317093] Creating 4 MTD partitions on "orion_nand":
[ 14.322272] 0x000000000000-0x000000100000 : "u-boot"
[ 14.328110] 0x000000100000-0x000000500000 : "uImage"
[ 14.333878] 0x000000500000-0x000002500000 : "rootfs"
[ 14.339730] 0x000002500000-0x000010000000 : "data"
[ 14.346162] mousedev: PS/2 mouse device common for all mice
[ 15.357180] rtc-mv rtc-mv: internal RTC not ticking
[ 15.362178] i2c /dev entries driver
[ 15.365817] cpuidle: using governor ladder
[ 15.370068] cpuidle: using governor menu
[ 15.374047] leds-gpio: probe of leds-gpio failed with error -22
[ 15.380734] TCP cubic registered
[ 15.383977] NET: Registered protocol family 17
[ 15.388471] Registering the dns_resolver key type
[ 15.393258] Gating clock of unused units
[ 15.393266] before: 0x00dfc3fd
[ 15.393273] after: 0x00c7c1d9
[ 15.393703] registered taskstats version 1
[ 15.398275] /build/buildd-linux_3.2.35-2-armel-th89m3/linux-3.2.35/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 15.409433] Initializing network drop monitor service
[ 15.415097] Freeing init memory: 144K
[ 15.467662] udevd[48]: starting version 175
[ 15.535860] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 15.637550] mv643xx_eth smi: probed
[ 15.688387] usbcore: registered new interface driver usbfs
[ 15.693983] usbcore: registered new interface driver hub
[ 15.714096] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:26:6f:13
[ 15.728138] SCSI subsystem initialized
[ 15.766866] mmc0: mvsdio driver initialized, using GPIO 47 for card detection
[ 15.783063] usbcore: registered new device driver usb
[ 15.812306] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 15.840952] libata version 3.00 loaded.
[ 15.842837] sata_mv sata_mv.0: version 1.28
[ 15.842972] sata_mv sata_mv.0: slots 32 ports 2
[ 15.878089] scsi0 : sata_mv
[ 15.887529] scsi1 : sata_mv
[ 15.890604] ata1: SATA max UDMA/133 irq 21
[ 15.894717] ata2: SATA max UDMA/133 irq 21
[ 15.899424] orion-ehci orion-ehci.0: Marvell Orion EHCI
[ 15.904730] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 15.937187] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 15.957175] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 15.963210] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 15.970056] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 15.977324] usb usb1: Product: Marvell Orion EHCI
[ 15.982047] usb usb1: Manufacturer: Linux 3.2.0-4-kirkwood ehci_hcd
[ 15.988352] usb usb1: SerialNumber: orion-ehci.0
[ 15.994937] hub 1-0:1.0: USB hub found
[ 15.998743] hub 1-0:1.0: 1 port detected
[ 16.407182] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[ 16.427382] ata1.00: ATA-8: ST500LM012 HN-M500MBB, 2AR10001, max UDMA/133
[ 16.434198] ata1.00: 976773168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 16.457362] ata1.00: configured for UDMA/133
[ 16.461984] scsi 0:0:0:0: Direct-Access ATA ST500LM012 HN-M5 2AR1 PQ: 0 ANSI: 5
[ 16.817180] ata2: SATA link down (SStatus 0 SControl F300)
[ 16.853073] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/465 GiB)
[ 16.860632] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 16.866977] sd 0:0:0:0: [sda] Write Protect is off
[ 16.871819] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 16.871915] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 16.932373] sda: sda1 sda2 sda3
[ 16.937557] sd 0:0:0:0: [sda] Attached SCSI disk
[ 16.951782] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 29.442959] udevd[245]: starting version 175
[ 30.944283] Adding 987992k swap on /dev/sda2. Priority:-1 extents:1 across:987992k
[ 37.992924] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 43.342584] NET: Registered protocol family 10

With this i am satisfied.

Regard
TMM68



Edited 1 time(s). Last edit at 03/08/2013 01:35PM by tmm68.
Re: GoFelx-Net without SATA device
March 08, 2013 05:07PM
Cool!

See if you can use the 2nd SATA port by plugging in another SATA disk. I think the sheevaplug patch has 2 SATA ports already, but it's good to confirm it. If you can access it, then perhaps there is no need to update kernel (you will only gain the LEDs control).

You can make it a bit better by using an updated kernel with the GoFlex Net archNumber 3089. I've posted one here: http://forum.doozan.com/read.php?2,11601. However, if running the GoFlex Net as the eSheevaplug work well enough for you, then it's all that's matter!
Re: GoFelx-Net without SATA device
March 10, 2013 06:22AM
Hi guys,

to have support for both SATA disks, all you have to do is more or less replicate the "env code" for USB for the situation of the two disks, where you have to keep in mind that the disks are called "ide". You can find the relevant part in this post of mine, but I will repeat it here for convenience (however, beware that this is for using a separate boot partition both with a USB drive as well as with a HDD):

ide_scan=ide_scan_done=0;for scan in $ide_scan_list; do run ide_scan_$scan; if test $ide_scan_done -eq 0 && ext2load ide $ide 0x800000 /boot/uImage 1; then ide_scan_done=1; echo "Found bootable drive on ide $ide"; setenv ide_device $ide; setenv ide_root /dev/$dev; fi; done
ide_init=ide reset; run ide_scan
ide_scan_list=1 2
ide_scan_1=ide=0:1 dev=sda2
ide_scan_2=ide=1:1 dev=sdb2
ide_rootfstype=ext4
ide_rootdelay=10
ide_set_bootargs=setenv bootargs console=$console root=LABEL=$ide_root_label rootdelay=$ide_rootdelay rootfstype=$ide_rootfstype $mtdparts $ide_custom_params
ide_boot=ext2load ide $ide_device 0x800000 /boot/uImage; ext2load ide $ide_device 0x1100000 /boot/uInitrd; run ide_set_bootargs; bootm 0x800000 0x1100000
ide_bootcmd=run ide_init; run ide_boot
bootcmd=usb start; usb_stop; usb_start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run ide_bootcmd; run rescue_bootcmd; run pogo_bootcmd; reset

Hope this helps.

chessplayer

---
Standart ist der Standardfehler
shv
Re: GoFelx-Net without SATA device
September 01, 2013 09:08AM
Isn't definition of ide_root_label is missing?
ide_root_label=rootfs
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: