Quantcast
Channel: Linux Device Hacking - uBoot
Viewing all articles
Browse latest Browse all 902

Goflex net bad blocks and no boot. (6 replies)

$
0
0
Hi,

Please help.
After install new uboot (2014.07) and rootfs my Goflex net "bricked".

With Serial Jtag I see I have bad blocks on flash.
I realized it during uboot install, but because my nandwrite not reported errors, I disregard it.

Serial consol shows this:
[ 21.935908] Scanning device for bad blocks
[ 22.103884] Bad eraseblock 1534 at 0x00000bfc0000

My problem is not able to boot Goflex net from USB or SATA.

I attached serial console log.
And copy here too:

Thanks for any help.
Robert


U-Boot 2014.07-tld-1 (Jul 18 2014 - 00:35:50)
Seagate GoFlex Net

SoC:   Kirkwood 88F6281_A1
DRAM:  128 MiB
WARNING: Caches not enabled
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
88E1116 Initialized on egiga0
No link on egiga0
ping failed; host 192.168.178.26 is not alive
Hit any key to stop autoboot:  0 
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
2756040 bytes read in 477 ms (5.5 MiB/s)
6032465 bytes read in 592 ms (9.7 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-3.16.0-kirkwood-tld-2
   Created:      2014-09-01  23:18:31 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2755976 Bytes = 2.6 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-3.16.0-kirkwood-tld-2
   Created:      2014-09-01  23:18:48 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6032401 Bytes = 5.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    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.16.0-kirkwood-tld-2 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #2 PREEMPT Sun Aug 31 18:56:01 PDT 2014
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Seagate GoFlex Net
[    0.000000] Memory policy: Data cache writeback
[    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=ext3 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: 115744K/131072K available (5441K kernel code, 397K rwdata, 1840K rodata, 257K init, 299K bss, 15328K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 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 - 0xc07248b0   (7283 kB)
[    0.000000]       .init : 0xc0725000 - 0xc0765444   ( 258 kB)
[    0.000000]       .data : 0xc0766000 - 0xc07c975c   ( 398 kB)
[    0.000000]        .bss : 0xc07c975c - 0xc08144dc   ( 300 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:114
[    0.000011] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[   20.493464] Console: colour dummy device 80x30
[   20.493492] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[   20.583246] pid_max: default: 32768 minimum: 301
[   20.583363] Security Framework initialized
[   20.583430] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   20.583449] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   20.584320] Initializing cgroup subsys devices
[   20.584383] Initializing cgroup subsys freezer
[   20.584412] Initializing cgroup subsys net_cls
[   20.584459] Initializing cgroup subsys blkio
[   20.584557] CPU: Testing write buffer coherency: ok
[   20.585027] Setting up static identity map for 0x5273f0 - 0x527448
[   20.587399] devtmpfs: initialized
[   20.591378] prandom: seed boundary self test passed
[   20.595443] prandom: 100 self tests passed
[   20.595474] pinctrl core: initialized pinctrl subsystem
[   20.595987] regulator-dummy: no parameters
[   20.596461] NET: Registered protocol family 16
[   20.596916] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   20.598166] cpuidle: using governor ladder
[   20.598194] cpuidle: using governor menu
[   20.598334] Kirkwood: MV88F6281-A1, TCLK=200000000.
[   20.598358] Feroceon L2: Enabling L2
[   20.598397] Feroceon L2: Cache support initialised.
[   20.634770] vgaarb: loaded
[   20.635126] usbcore: registered new interface driver usbfs
[   20.635203] usbcore: registered new interface driver hub
[   20.635328] usbcore: registered new device driver usb
[   20.636324] Switched to clocksource orion_clocksource
[   20.675100] NET: Registered protocol family 2
[   20.676090] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[   20.676115] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[   20.676135] TCP: Hash tables configured (established 1024 bind 1024)
[   20.676206] TCP: reno registered
[   20.676219] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   20.676241] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   20.676505] NET: Registered protocol family 1
[   20.676843] RPC: Registered named UNIX socket transport module.
[   20.676855] RPC: Registered udp transport module.
[   20.676862] RPC: Registered tcp transport module.
[   20.676870] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   20.677181] Unpacking initramfs...
[   21.179454] Freeing initrd memory: 5884K (c1101000 - c16c0000)
[   21.179593] NetWinder Floating Point Emulator V0.97 (double precision)
[   21.180756] futex hash table entries: 256 (order: -1, 3072 bytes)
[   21.180825] audit: initializing netlink subsys (disabled)
[   21.180880] audit: type=2000 audit(0.680:1): initialized
[   21.181700] zbud: loaded
[   21.181972] VFS: Disk quotas dquot_6.5.2
[   21.182023] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   21.182586] NFS: Registering the id_resolver key type
[   21.182645] Key type id_resolver registered
[   21.182655] Key type id_legacy registered
[   21.182681] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[   21.182696] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   21.182867] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   21.183178] msgmni has been set to 237
[   21.183331] Key type big_key registered
[   21.185686] alg: No test for stdrng (krng)
[   21.185805] bounce: pool size: 64 pages
[   21.185872] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   21.185891] io scheduler noop registered
[   21.185906] io scheduler deadline registered
[   21.186076] io scheduler cfq registered (default)
[   21.186592] mv_xor mv_xor.0: Marvell shared XOR driver
[   21.226404] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   21.266391] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[   21.266567] mv_xor mv_xor.1: Marvell shared XOR driver
[   21.306390] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   21.346388] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[   21.346820] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   21.347824] console [ttyS0] disabled
[   21.367924] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[   21.915194] console [ttyS0] enabled
[   21.920126] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda
[   21.926537] nand: Micron MT29F2G08AAD
[   21.930215] nand: 256MiB, SLC, page size: 2048, OOB size: 64
[   21.935908] Scanning device for bad blocks
[   22.103884] Bad eraseblock 1534 at 0x00000bfc0000
[   22.163412] 4 cmdlinepart partitions found on MTD device orion_nand
[   22.169726] Creating 4 MTD partitions on "orion_nand":
[   22.174894] 0x000000000000-0x000000100000 : "u-boot"
[   22.180291] 0x000000100000-0x000000500000 : "uImage"
[   22.185644] 0x000000500000-0x000002500000 : "rootfs"
[   22.191025] 0x000002500000-0x000010000000 : "data"
[   22.197176] libphy: Fixed MDIO Bus: probed
[   22.213951] libphy: orion_mdio_bus: probed
[   22.218240] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   23.297450] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:10:75:26:65:ae
[   23.306443] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   23.313001] ehci-pci: EHCI PCI platform driver
[   23.317547] ehci-orion: EHCI orion driver
[   23.321653] orion-ehci orion-ehci.0: EHCI Host Controller
[   23.327127] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   23.334852] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   23.356362] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   23.362498] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   23.369344] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   23.376619] usb usb1: Product: EHCI Host Controller
[   23.381520] usb usb1: Manufacturer: Linux 3.16.0-kirkwood-tld-2 ehci_hcd
[   23.388267] usb usb1: SerialNumber: orion-ehci.0
[   23.393650] hub 1-0:1.0: USB hub found
[   23.397499] hub 1-0:1.0: 1 port detected
[   23.402311] mousedev: PS/2 mouse device common for all mice
[   23.716383] usb 1-1: new high-speed USB device number 2 using orion-ehci
[   23.944114] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
[   23.950874] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   23.958070] usb 1-1: Product: Mass Storage
[   23.962184] usb 1-1: Manufacturer: Generic
[   23.966299] usb 1-1: SerialNumber: 065414A6
[   24.416355] rtc-mv rtc-mv: internal RTC not ticking
[   24.421447] i2c /dev entries driver
[   24.426765] hidraw: raw HID events driver (C) Jiri Kosina
[   24.432547] drop_monitor: Initializing network drop monitor service
[   24.439106] TCP: cubic registered
[   24.442447] NET: Registered protocol family 17
[   24.447080] Key type dns_resolver registered
[   24.452105] registered taskstats version 1
[   24.457253] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[   24.465431] Freeing unused kernel memory: 256K (c0725000 - c0765000)
Loading, please wait...
[   24.547301] udevd[55]: starting version 175
[   24.722850] SCSI subsystem initialized
[   24.768293] usb-storage 1-1:1.0: USB Mass Storage device detected
[   24.784262] sata_mv sata_mv.0: cannot get optional clkdev
[   24.816169] scsi0 : usb-storage 1-1:1.0
[   24.820268] sata_mv sata_mv.0: slots 32 ports 2
[   24.836109] usbcore: registered new interface driver usb-storage
[   24.860866] scsi1 : sata_mv
[   24.867852] usbcore: registered new interface driver uas
[   24.882622] scsi2 : sata_mv
[   24.885778] ata1: SATA max UDMA/133 irq 21
[   24.911416] ata2: SATA max UDMA/133 irq 21
[   25.256374] ata1: SATA link down (SStatus 0 SControl F300)
[   25.626888] ata2: SATA link down (SStatus 0 SControl F300)
[   25.828598] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2
[   25.868684] sd 0:0:0:0: [sda] 7989248 512-byte logical blocks: (4.09 GB/3.80 GiB)
[   25.876773] sd 0:0:0:0: [sda] Write Protect is off
[   25.882017] sd 0:0:0:0: [sda] No Caching mode page found
[   25.887407] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   25.937149]  sda: sda1
[   25.942398] sd 0:0:0:0: [sda] Attached SCSI removable disk
[   25.959586] sd 0:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
mount: mounting /dev/sda1 on /root failed: Invalid argument
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory
done.
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.
modprobe: module i8042 not found in modules.dep
[   35.845694] uhci_hcd: USB Universal Host Controller Interface driver
[   35.860027] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   35.874891] usbcore: registered new interface driver usbhid
[   35.880626] usbhid: USB HID core driver


Viewing all articles
Browse latest Browse all 902

Trending Articles