GoFlex Net Boot error

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

GoFlex Net Boot error

Postby widdo » Sat Jan 11, 2014 8:53 pm

I wanted to install the kirkwood 3.12 kernel on goflex net but pacman showed that I must reinstall uboot. I followed all instructions here in the forum (really everything i found, i typed in all the commands) but now hangs at boot (at netconsole kernel log).

$this->bbcode_second_pass_code('', 'U-Boot 2011.12 (Apr 18 2012 - 23:08:20)
Seagate GoFlexNet
arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2009q3-67) 4.4.1
GNU ld (Sourcery G++ Lite 2009q3-67) 2.19.51.20090709
Hit any key to stop autoboot: 0
(Re)start USB...
USB: Register 10011 NbrPorts 1
USB EHCI 1.00
scanning bus for devices... 2 USB Device(s) found
scanning bus for storage devices... 2 Storage Device(s) found
Loading file "/rescueme" from usb device 0:1 (usbda1)
** File not found /rescueme
reading /rescueme.txt

** Unable to read "/rescueme.txt" from usb 0:1 **
Creating 1 MTD partitions on "nand0":
0x000002500000-0x000010000000 : "mtd=3"
UBI: attaching mtd1 to ubi0
UBI: physical eraseblock size: 131072 bytes (128 KiB)
UBI: logical eraseblock size: 129024 bytes
UBI: smallest flash I/O unit: 2048
UBI: sub-page size: 512
UBI: VID header offset: 512 (aligned 512)
UBI: data offset: 2048
UBI: attached mtd1 to ubi0
UBI: MTD device name: "mtd=3"
UBI: MTD device size: 219 MiB
UBI: number of good PEBs: 1752
UBI: number of bad PEBs: 0
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 4096
UBI: number of internal volumes: 1
UBI: number of user volumes: 0
UBI: available PEBs: 1731
UBI: total number of reserved PEBs: 21
UBI: number of PEBs reserved for bad PEB handling: 17
UBI: max/mean erase counter: 1/1
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:rootfs", error -19
Error reading superblock on volume 'ubi:rootfs'!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
1 bytes read
Found bootable drive on usb 0:1
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
3820152 bytes read
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
2640377 bytes read
## Booting kernel from Legacy Image at 00800000 ...
Image Name: Linux-3.12.6-2-ARCH
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3820088 Bytes = 3.6 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: UBIT-2010.11-00125-ga21bcca
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 2640313 Bytes = 2.5 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...
')
$this->bbcode_second_pass_code('', '[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.12.6-2-ARCH (nobody@root-armv5-copy) (gcc version 4.7.2 (GCC) ) #1 PREEMPT Tue Dec 24 21:09:18 MST 2013
[ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
[ 0.000000] CPU: VIVT data cache, VIVT instruction cache
[ 0.000000] Machine: Seagate GoFlex Net
[ 0.000000] debug: ignoring loglevel setting.
[ 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 c07570a8, node_mem_map c082c000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32768 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) ignore_loglevel netconsole=6665@10.10.10.3/eth0,6666@10.10.10.4/
[ 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: 118956K/131072K available (5302K kernel code, 319K rwdata, 1628K rodata, 255K init, 823K bss, 12116K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc06ccb1c (6931 kB)
[ 0.000000] .init : 0xc06cd000 - 0xc070cf24 ( 256 kB)
[ 0.000000] .data : 0xc070e000 - 0xc075dedc ( 320 kB)
[ 0.000000] .bss : 0xc075dedc - 0xc082be6c ( 824 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 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.858693] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 11.948540] pid_max: default: 32768 minimum: 301
[ 11.948653] Security Framework initialized
[ 11.948680] AppArmor: AppArmor disabled by boot time parameter
[ 11.948741] Mount-cache hash table entries: 512
[ 11.949326] Initializing cgroup subsys devices
[ 11.949348] Initializing cgroup subsys freezer
[ 11.949360] Initializing cgroup subsys net_cls
[ 11.949370] Initializing cgroup subsys blkio
[ 11.949379] Initializing cgroup subsys bfqio
[ 11.949388] Initializing cgroup subsys perf_event
[ 11.949487] CPU: Testing write buffer coherency: ok
[ 11.949862] Setting up static identity map for 0xc050a3d8 - 0xc050a430
[ 11.951388] devtmpfs: initialized
[ 11.954188] pinctrl core: initialized pinctrl subsystem
[ 11.954477] NET: Registered protocol family 16
[ 11.954951] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 11.955529] cpuidle: using governor ladder
[ 11.955545] cpuidle: using governor menu
[ 11.955717] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 11.955738] Feroceon L2: Enabling L2
[ 11.955776] Feroceon L2: Cache support initialised.
[ 11.956237] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000
[ 11.956263] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000
[ 11.961862] bio: create slab <bio-0> at 0
[ 11.962318] vgaarb: loaded
[ 11.962588] SCSI subsystem initialized
[ 11.962734] libata version 3.00 loaded.
[ 11.962940] usbcore: registered new interface driver usbfs
[ 11.962994] usbcore: registered new interface driver hub
[ 11.963089] usbcore: registered new device driver usb
[ 11.963205] pps_core: LinuxPPS API ver. 1 registered
[ 11.963213] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 11.963238] PTP clock support registered
[ 11.963940] Switched to clocksource orion_clocksource
[ 11.977967] FS-Cache: Loaded
[ 11.987408] NET: Registered protocol family 2
[ 11.988009] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 11.988044] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 11.988064] TCP: Hash tables configured (established 1024 bind 1024)
[ 11.988130] TCP: reno registered
[ 11.988143] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 11.988164] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 11.988379] NET: Registered protocol family 1
[ 11.988421] PCI: CLS 0 bytes, default 32
[ 11.988614] Trying to unpack rootfs image as initramfs...
[ 12.201062] Freeing initrd memory: 2572K (c1101000 - c1384000)
[ 12.202147] audit: initializing netlink socket (disabled)
[ 12.202191] type=2000 audit(0.330:1): initialized
[ 12.301375] VFS: Disk quotas dquot_6.5.2
[ 12.301589] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 12.303344] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 12.304544] aufs 3.12-20131223
[ 12.304569] msgmni has been set to 237
[ 12.306124] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 12.306136] io scheduler noop registered
[ 12.306144] io scheduler deadline registered
[ 12.306440] io scheduler cfq registered
[ 12.306471] io scheduler bfq registered (default)
[ 12.306604] mv_xor mv_xor.0: Marvell shared XOR driver
[ 12.344077] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 12.384008] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 12.384156] mv_xor mv_xor.1: Marvell shared XOR driver
[ 12.424011] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 12.464009] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 12.468038] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 12.488817] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 13.060627] console [ttyS0] enabled
[ 13.070385] brd: module loaded
[ 13.076712] loop: module loaded
[ 13.080106] sata_mv sata_mv.0: version 1.28
[ 13.084402] sata_mv sata_mv.0: cannot get optional clkdev
[ 13.089915] sata_mv sata_mv.0: slots 32 ports 2
[ 13.096957] scsi0 : sata_mv
[ 13.100074] scsi1 : sata_mv
[ 13.103082] ata1: SATA max UDMA/133 irq 21
[ 13.107235] ata2: SATA max UDMA/133 irq 21
[ 13.112237] ONFI param page 0 valid
[ 13.115959] ONFI flash detected
[ 13.119121] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD), 256MiB, page size: 2048, OOB size: 64
[ 13.130245] Scanning device for bad blocks
[ 13.349150] 4 cmdlinepart partitions found on MTD device orion_nand
[ 13.355459] Creating 4 MTD partitions on "orion_nand":
[ 13.360629] 0x000000000000-0x000000100000 : "u-boot"
[ 13.365955] 0x000000100000-0x000000500000 : "uImage"
[ 13.371223] 0x000000500000-0x000002500000 : "rootfs"
[ 13.376546] 0x000002500000-0x000010000000 : "data"
[ 13.388368] libphy: orion_mdio_bus: probed
[ 13.392552] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 13.463968] ata1: SATA link down (SStatus 0 SControl F300)
[ 13.833961] ata2: SATA link down (SStatus 0 SControl F300)
[ 14.411546] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 02:50:43:71:f9:78
[ 14.420417] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 14.426992] ehci-pci: EHCI PCI platform driver
[ 14.431506] ehci-orion: EHCI orion driver
[ 14.435603] orion-ehci orion-ehci.0: EHCI Host Controller
[ 14.441042] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 14.448861] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 14.473970] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 14.480655] hub 1-0:1.0: USB hub found
[ 14.484481] hub 1-0:1.0: 1 port detected
[ 14.488950] usbcore: registered new interface driver usb-storage
[ 14.495359] mousedev: PS/2 mouse device common for all mice
[ 14.803987] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 14.955525] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 14.961839] scsi2 : usb-storage 1-1:1.0
[ 15.503965] rtc-mv rtc-mv: internal RTC not ticking
[ 15.509247] orion_wdt: Initial timeout 21 sec
[ 15.513881] sdhci: Secure Digital Host Controller Interface driver
[ 15.520112] sdhci: Copyright(c) Pierre Ossman
[ 15.524558] sdhci-pltfm: SDHCI platform and OF driver helper
[ 15.531270] ledtrig-cpu: registered to indicate activity on CPUs
[ 15.537427] usbcore: registered new interface driver r8712u
[ 15.543214] gre: GRE over IPv4 demultiplexor driver
[ 15.548255] TCP: cubic registered
[ 15.551585] NET: Registered protocol family 17
[ 15.556157] Key type dns_resolver registered
[ 15.561068] registered taskstats version 1
[ 15.964844] scsi 2:0:0:0: Direct-Access SanDisk U3 Cruzer Micro 8.02 PQ: 0 ANSI: 0 CCS
[ 15.974405] sd 2:0:0:0: [sda] 15695871 512-byte logical blocks: (8.03 GB/7.48 GiB)
[ 15.993969] sd 2:0:0:0: [sda] Write Protect is off
[ 15.998801] sd 2:0:0:0: [sda] Mode Sense: 45 00 00 08
[ 16.004322] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 16.010314] scsi 2:0:0:1: CD-ROM SanDisk U3 Cruzer Micro 8.02 PQ: 0 ANSI: 0
[ 16.023992] sd 2:0:0:0: [sda] No Caching mode page found
[ 16.029340] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.044425] scsi 2:0:0:1: Attached scsi generic sg1 type 5
[ 16.056274] sd 2:0:0:0: [sda] No Caching mode page found
[ 16.061622] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.088203] sda: sda1
[ 16.093028] sd 2:0:0:0: [sda] No Caching mode page found
[ 16.103975] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 16.110112] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 18.788115] UKSM: relative memcmp_cost = 2273 hash=1966126962 cmp_ret=0.
[ 18.801997] netpoll: netconsole: local port 6665
[ 18.806686] netpoll: netconsole: local IPv4 address 10.10.10.3
[ 18.812541] netpoll: netconsole: interface 'eth0'
[ 18.817283] netpoll: netconsole: remote port 6666
[ 18.822002] netpoll: netconsole: remote IPv4 address 10.10.10.4
[ 18.827963] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 18.834879] netpoll: netconsole: device eth0 not up yet, forcing it
[ 18.842911] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[ 22.546316] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[ 22.566268] console [netcon0] enabled
[ 22.569957] netconsole: network logging started
[ 22.574616] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 22.581950] Freeing unused kernel memory: 252K (c06cd000 - c070c000)
[ 39.374800] sshd (207): /proc/207/oom_adj is deprecated, please use /proc/207/oom_score_adj instead.

')
ping does not work, also ssh not.

a new usb-boot-stick doesn't work either (ext3, labeled "ROOTFS")
Also there is a Kernel Panic
$this->bbcode_second_pass_code('', '[ 40.898557] No filesystem could mount root, tried: ext2
[ 40.903984] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
[ 40.912324] [<c000d534>] (unwind_backtrace+0x0/0xf0) from [<c041f414>] (panic+0x64/0x198)
[ 40.920580] [<c041f414>] (panic+0x64/0x198) from [<c0591c48>] (mount_block_root+0x240/0x290)
[ 40.929094] [<c0591c48>] (mount_block_root+0x240/0x290) from [<c0591f60>] (prepare_namespace+0x164/0x1c4)
[ 40.938738] [<c0591f60>] (prepare_namespace+0x164/0x1c4) from [<c05918d0>] (kernel_init+0x120/0x150)
[ 40.947946] [<c05918d0>] (kernel_init+0x120/0x150) from [<c00094a4>] (kernel_thread_exit+0x0/0x8)')
is the goflex bricked now or could i have rescue it with USB-TTL-UART?
Thanks for any help!
widdo
 
Posts: 3
Joined: Sat Jan 11, 2014 8:40 pm

Re: GoFlex Net Boot error

Postby WarheadsSE » Sun Jan 12, 2014 5:43 pm

It is not "bricked", you might just need to make a clean USB rootfs, and then chroot to replace the kernel package on the original rootfs you had.

More over, why.. do you have an initrd? Arch Linux ARM does not provide that.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: GoFlex Net Boot error

Postby widdo » Sun Jan 12, 2014 10:12 pm

Thanks for the reply.
I have initrd because it is in the installation instruction: http://archlinuxarm.org/platforms/armv5 ... goflex-net
I wondered why there is "debian" in the path but I thought it must be right becaue it is on archlinuxarm.org.

Yet you're right it is obsolete because I ran "install_uboot_mtd0.sh" for the Kernel >3.1-Installation. (according to the >3.1 instructions here in the forum)

I made a new USB like I tried yesterday but today it works and I don't know why..
viewtopic.php?f=18&t=3312&p=19207#p19207

Thank you, I'll make a flattr subscription for this great distribution
widdo
 
Posts: 3
Joined: Sat Jan 11, 2014 8:40 pm

Re: GoFlex Net Boot error

Postby WarheadsSE » Mon Jan 13, 2014 2:06 am

That uInitrd should have been in tmp, not your boot partition.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 7 guests

cron