Welcome! Log In Create A New Profile

Advanced

Boot hangs at "booting the kernel."

Posted by freebird 
Boot hangs at "booting the kernel."
February 04, 2014 05:53PM
I have a GoFlex Home that I have been trying to get working with Debian. I have the "kirkwood-debian_rootfs.img" (from davygravy: http://dl.dropbox.com/u/1015928/Kirkwood/rootfs_images/NSA320quickstart.tar.gz) on a USB flash drive. It Loads /boot/uImage and /boot/uInitrd the says its booting kernel and loading init Ramdisk but then hangs after that. Here is the bootlog:
U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6 by Jeff Doozan and Peter Carmichael

SoC: Kirkwood 88F6281_A0
DRAM: 128 MiB
NAND: 256 MiB
In: serial
Out: serial
Err: serial
Net: egiga0
88E1116 Initialized on egiga0
Creating 1 MTD partitions on "nand0":
0x000000700000-0x000010000000 : "mtd=2"
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 error: validate_ec_hdr: bad VID header offset 2048, expected 512
UBI error: validate_ec_hdr: bad EC header
UBI error: ubi_io_read_ec_hdr: validation failed for PEB 0
UBI error: ubi_init: cannot attach mtd1
UBI error: ubi_init: UBI error: cannot initialize UBI, error -22
UBI init error -22
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:silent", error -19
Error reading superblock on volume 'ubi:silent'!
UBIFS not mounted, use ubifs mount to mount volume first!
Using egiga0 device
ping failed; host 10.10.10.5 is not alive
(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... 1 Storage Device(s) found
Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2279256 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
7004538 bytes read
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.3.2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2279192 Bytes = 2.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.3.2-kirkwood-dg
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 7004474 Bytes = 6.7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.


And this is my printenv:
bootcmd=run fast_boot; run usb_boot; run hd_boot; run ubi_boot
bootdelay=3
baudrate=115200
ide_start=ide reset
ubi_start=ubi part root
usb_start=usb start
nc_test=ping $ncip
nc_start=setenv stdin nc; setenv stdout nc; setenv stderr nc; version
silent_boot=run silent_rd ubi_args ubi_fallback
fast_boot=run fast_rd ubi_args ubi_fallback
usb_boot=for scan in 0 1 2 3; do run usb_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback;done
usb_args_0=boot_dev='usb 0:1'; dev_args='root=/dev/sda1 rootdelay=10'
usb_args_1=boot_dev='usb 1:1'; dev_args='root=/dev/sdb1 rootdelay=10'
usb_args_2=boot_dev='usb 2:1'; dev_args='root=/dev/sdc1 rootdelay=10'
usb_args_3=boot_dev='usb 3:1'; dev_args='root=/dev/sdd1 rootdelay=10'
hd_boot=run ide_start; for scan in 0 1; do run hd_args_$scan ext2_kern ext2_boot; run ext2_rd ubi_fallback; run fat_kern fat_boot; run fat_rd ubi_fallback; done
hd_args_0=boot_dev='ide 0:1'; dev_args='root=/dev/sda1'
hd_args_1=boot_dev='ide 1:1'; dev_args='root=/dev/sdb1'
ubi_boot=run ubi_rd ubi_args ubi_fallback
ubi_args=dev_args='ubi.mtd=root'
rescue=dev_args='ubi.mtd=root rootfstype=preboot'; boot_dev='usb 0:1'; run ext2_kern ext2_auto boot_rd; boot_dev='ide 0:1'; run ide_start ext2_kern ext2_auto boot_rd; run silent_rd ubi_fallback; run fast_rd ubi_fallback; run ubi_rd ubi_fallback
chain=nand read.e 0x800000 0x480000 0x80000; go 0x800200
ethact=egiga0
console=ttyS0,115200
mtdids=nand0=orion_nand
set_bootargs=setenv bootargs console=$console $mtdparts $dev_args $rd_args netconsole=@$ipaddr/eth0,@$ncipk/
ext2_kern=ext2load $boot_dev $addr_kern /boot/uImage
ext2_auto=ext2load $boot_dev $addr_rd /boot/uInitrd
ext2_rd=ext2load $boot_dev $addr_rd /uInitrd
ext2_boot=run ext2_rd boot_rd; run ext2_auto boot_auto; run boot_kern
fat_kern=fatload $boot_dev $addr_kern /boot/uImage
fat_rd=fatload $boot_dev $addr_rd /uInitrd
fat_boot=run fat_rd boot_rd
ubi_kern=ubifsmount boot; ubifsload $addr_kern /boot/uImage
ubi_rd=ubifsmount ramdisk; ubifsload $addr_rd /uInitrd
ubi_fallback=run ubi_kern boot_rd
silent_rd=ubifsmount silent; ubifsload $addr_rd /uInitrd
fast_rd=ubifsmount fast; ubifsload $addr_rd /uInitrd
boot_kern=run set_bootargs; bootm $addr_kern
boot_rd=run set_bootargs; bootm $addr_kern $addr_rd
boot_auto=rd_args='rootfstype=auto'; run boot_rd
addr_kern=0x680000
addr_rd=0x1100000
ncip=10.10.10.5
ncipk=10.10.10.4
led_init=green blinking
led_exit=green off
led_error=orange blinking
ethaddr=xx:xx:xx:xx:xx:xx
preboot=run ubi_start silent_boot; run nc_test nc_start; run usb_start
mtdparts=mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root)
gatewayip=192.168.1.1
ipaddr=192.168.1.254
arch_number=0x00000831
usb_rootfstype=ext2
serverip=192.168.1.150
stdin=serial
stdout=serial
stderr=serial
partition=nand0,0
mtddevnum=0
mtddevname=u-boot

Environment size: 2825/131068 bytes

Any thoughts on what needs to be done to complete the boot?

Thanks in advance for any help!
Re: Boot hangs at "booting the kernel."
February 04, 2014 07:39PM
Freebird,

Your uBoot is too old. It won't work with that rootfs. You can either:
- update uBoot
Or
- use a different rootfs

You can find both in the links in my signature. But I would try the rootfs first.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Boot hangs at "booting the kernel."
February 04, 2014 08:35PM
Bodhi - Thank you for the quick reply. I've taken a look at both the links in your signature and, unless I am missing something, the installation instructions for both look to be run from within a Linux system on the ARM device. All I have access to on the device is the Marvell>> prompt and the uBoot installed does not have the "fw_" commands - just the generic setenv/printenv varieties.

Is there a way to get the rootfs to a USB stick directly (rather than via deb files) or flash the updated uBoot from within the current uBoot environment?

-freebird
Re: Boot hangs at "booting the kernel."
February 04, 2014 10:09PM
freebird,

> Is there a way to get the rootfs to a USB stick
> directly (rather than via deb files) or flash the
> updated uBoot from within the current uBoot
> environment?

Yes for both.

The installation for the rootfs can be done using any Linux box. If the only one available is this GoFlex Home, then you can use a Linux Live CD on a PC or Mac. The latest rootfs and instruction how to create a USB stick is in section "Updated 14 Dec 2013: Debian-3.12.0-kirkwood-tld-3".

Installation of new uBoot can be flashed at uBoot prompt using tftp. But first, please try UART booting to make sure you can have a recovery plan in case something goes wrong. See the UART instruction from davygravy.

Here is an example of flashing uBoot with tftp. This also requires another Linux box running tftp server.

There is also a method to load uBoot image directly from a USB stick.

All that said, I'd recommend you try the rootfs first because it is the safest approach (no need to mess with uBoot). After you can boot into Debian, flashing new uBoot is much easier.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Boot hangs at "booting the kernel."
February 05, 2014 08:15AM
I tried the rootfs on a USB stick and it got further this time but choked on what appears to be the mounting of /root. I end up in a BusyBox environment, so this is progress - hope i can get past this last hurdle. I'll post the bootlog details later today when I have access to the GFH machine.
Re: Boot hangs at "booting the kernel."
February 05, 2014 06:39PM
Here is the bootlog showing the failed boot into debian and resulting in BusyBox environment. I followed the directions in the 14 Dec 2013 post. I am using ext2 for rootfs_type in uBoot, on the USB stick and edited /media/sdb1/etc/fstab /dev/rootto ext2 if that helps at all. Thanks again for any help!

Hit any key to stop autoboot: 0
UBIFS error (pid 0): ubifs_get_sb: cannot open "ubi:fast", error -19
Error reading superblock on volume 'ubi:fast'!
UBIFS not mounted, use ubifs mount to mount volume first!
Loading file "/boot/uImage" from usb device 0:1 (usbda1)
2319128 bytes read
Loading file "/uInitrd" from usb device 0:1 (usbda1)
** File not found /uInitrd
Loading file "/boot/uInitrd" from usb device 0:1 (usbda1)
6544748 bytes read
## Booting kernel from Legacy Image at 00680000 ...
Image Name: Linux-3.12.0-kirkwood-tld-3
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2319064 Bytes = 2.2 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
Image Name: initramfs-3.12.0-kirkwood-tld-3
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 6544684 Bytes = 6.2 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
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.12.0-kirkwood-tld-3 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #3 PREEMPT Wed Nov 27 16:10:53 PST 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 Home
[ 0.000000] Memory policy: ECC disabled, 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 mtdparts=orion_nand:1M(u-boot),6M(uImage),-(root) root=/dev/sda1 rootdelay=10 rootfstype=auto netconsole=@192.168.1.254/eth0,@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: 116572K/131072K available (4398K kernel code, 333K rwdata, 1540K rodata, 206K init, 420K bss, 14500K 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 - 0xc05d4ce0 (5940 kB)
[ 0.000000] .init : 0xc05d5000 - 0xc0608ac4 ( 207 kB)
[ 0.000000] .data : 0xc060a000 - 0xc065d574 ( 334 kB)
[ 0.000000] .bss : 0xc065d574 - 0xc06c680c ( 421 kB)
[ 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
[ 20.929799] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[ 21.019601] pid_max: default: 32768 minimum: 301
[ 21.019680] Security Framework initialized
[ 21.019731] Mount-cache hash table entries: 512
[ 21.020253] Initializing cgroup subsys devices
[ 21.020270] Initializing cgroup subsys freezer
[ 21.020279] Initializing cgroup subsys net_cls
[ 21.020288] Initializing cgroup subsys blkio
[ 21.020335] CPU: Testing write buffer coherency: ok
[ 21.020626] Setting up static identity map for 0xc0428fd0 - 0xc042900c
[ 21.021772] devtmpfs: initialized
[ 21.023749] pinctrl core: initialized pinctrl subsystem
[ 21.023983] regulator-dummy: no parameters
[ 21.024204] NET: Registered protocol family 16
[ 21.024612] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 21.025035] cpuidle: using governor ladder
[ 21.025046] cpuidle: using governor menu
[ 21.025147] Kirkwood: MV88F6281-A1, TCLK=200000000.
[ 21.025166] Feroceon L2: Cache support initialised.
[ 21.029055] bio: create slab <bio-0> at 0
[ 21.029507] vgaarb: loaded
[ 21.029754] usbcore: registered new interface driver usbfs
[ 21.029806] usbcore: registered new interface driver hub
[ 21.029921] usbcore: registered new device driver usb
[ 21.030565] Switched to clocksource orion_clocksource
[ 21.049259] NET: Registered protocol family 2
[ 21.049925] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 21.049961] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 21.049981] TCP: Hash tables configured (established 1024 bind 1024)
[ 21.050048] TCP: reno registered
[ 21.050063] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 21.050086] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 21.050285] NET: Registered protocol family 1
[ 21.050644] RPC: Registered named UNIX socket transport module.
[ 21.050655] RPC: Registered udp transport module.
[ 21.050663] RPC: Registered tcp transport module.
[ 21.050669] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 21.050882] Unpacking initramfs...
[ 21.593885] Freeing initrd memory: 6384K (c1101000 - c173d000)
[ 21.594008] NetWinder Floating Point Emulator V0.97 (double precision)
[ 21.594608] audit: initializing netlink socket (disabled)
[ 21.594657] type=2000 audit(0.660:1): initialized
[ 21.595401] zbud: loaded
[ 21.595539] VFS: Disk quotas dquot_6.5.2
[ 21.595588] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 21.595942] NFS: Registering the id_resolver key type
[ 21.596034] Key type id_resolver registered
[ 21.596043] Key type id_legacy registered
[ 21.596060] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[ 21.596224] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 21.596499] msgmni has been set to 240
[ 21.598408] alg: No test for stdrng (krng)
[ 21.598498] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 21.598510] io scheduler noop registered
[ 21.598517] io scheduler deadline registered
[ 21.598541] io scheduler cfq registered (default)
[ 21.598748] mv_xor mv_xor.0: Marvell shared XOR driver
[ 21.630624] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 21.670618] mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
[ 21.670717] mv_xor mv_xor.1: Marvell shared XOR driver
[ 21.710624] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 21.750622] mv_xor mv_xor.1: Marvell XOR: ( xor cpy )
[ 21.750873] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 21.771445] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 12500000) is a 16550A
[ 22.279902] console [ttyS0] enabled
[ 22.284299] NAND device: Manufacturer ID: 0x98, Chip ID: 0xda (Toshiba NAND 256MiB 3,3V 8-bit), 256MiB, page size: 2048, OOB size: 64
[ 22.296386] Scanning device for bad blocks
[ 22.515914] 3 cmdlinepart partitions found on MTD device orion_nand
[ 22.522225] Creating 3 MTD partitions on "orion_nand":
[ 22.527386] 0x000000000000-0x000000100000 : "u-boot"
[ 22.532624] 0x000000100000-0x000000700000 : "uImage"
[ 22.537823] 0x000000700000-0x000010000000 : "root"
[ 22.543610] libphy: Fixed MDIO Bus: probed
[ 22.547725] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 22.554303] ehci-pci: EHCI PCI platform driver
[ 22.558809] ehci-orion: EHCI orion driver
[ 22.562906] orion-ehci orion-ehci.0: EHCI Host Controller
[ 22.568349] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[ 22.576079] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[ 22.600597] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[ 22.606713] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 22.613559] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 22.620833] usb usb1: Product: EHCI Host Controller
[ 22.625736] usb usb1: Manufacturer: Linux 3.12.0-kirkwood-tld-3 ehci_hcd
[ 22.632483] usb usb1: SerialNumber: orion-ehci.0
[ 22.637554] hub 1-0:1.0: USB hub found
[ 22.641375] hub 1-0:1.0: 1 port detected
[ 22.645772] mousedev: PS/2 mouse device common for all mice
[ 22.651718] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[ 22.657650] i2c /dev entries driver
[ 22.661734] drop_monitor: Initializing network drop monitor service
[ 22.668317] TCP: cubic registered
[ 22.671677] NET: Registered protocol family 17
[ 22.676231] Key type dns_resolver registered
[ 22.681020] registered taskstats version 1
[ 22.685938] rtc-mv rtc-mv: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 22.694814] Freeing unused kernel memory: 204K (c05d5000 - c0608000)
Loading, please wait...
[ 22.771303] udevd[52]: starting version 175
[ 22.879680] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[ 22.937257] libphy: PHY orion-mdio-mii:00 not found
[ 22.949913] SCSI subsystem initialized
[ 22.960694] usb 1-1: new high-speed USB device number 2 using orion-ehci
[ 22.973654] platform mv643xx_eth_port.0: Driver mv643xx_eth_port requests probe deferral
[ 23.036015] libphy: orion_mdio_bus: probed
[ 23.104419] sata_mv sata_mv.0: cannot get optional clkdev
[ 23.109900] sata_mv sata_mv.0: slots 32 ports 1
[ 23.190639] scsi0 : sata_mv
[ 23.193676] ata1: SATA max UDMA/133 irq 21
[ 23.219614] usb 1-1: New USB device found, idVendor=058f, idProduct=6387
[ 23.234637] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 23.257443] usb 1-1: Product: Mass Storage
[ 23.272856] usb 1-1: Manufacturer: Generic
[ 23.276972] usb 1-1: SerialNumber: 743E407B
[ 23.321872] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 23.340727] scsi1 : usb-storage 1-1:1.0
[ 23.346042] usbcore: registered new interface driver usb-storage
[ 23.550601] ata1: SATA link down (SStatus 0 SControl F300)
[ 24.245817] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address xx:xx:xx:xx:xx:xx
[ 24.342944] scsi 1:0:0:0: Direct-Access Generic Flash Disk 8.00 PQ: 0 ANSI: 2
[ 24.379900] sd 1:0:0:0: [sda] 1980416 512-byte logical blocks: (1.01 GB/967 MiB)
[ 24.387868] sd 1:0:0:0: [sda] Write Protect is off
[ 24.393244] sd 1:0:0:0: [sda] No Caching mode page found
[ 24.398593] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 24.408369] sd 1:0:0:0: [sda] No Caching mode page found
[ 24.413773] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 24.458995] sda: sda1
[ 24.463993] sd 1:0:0:0: [sda] No Caching mode page found
[ 24.469350] sd 1:0:0:0: [sda] Assuming drive cache: write through
[ 24.475515] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 24.491518] sd 1:0:0:0: Attached scsi generic sg0 type 0
Begin: Loading essential drivers ... done.
[ 33.656082] netpoll: netconsole: local port 6665
[ 33.660807] netpoll: netconsole: local IPv4 address 192.168.1.254
[ 33.666927] netpoll: netconsole: interface 'eth0'
[ 33.671682] netpoll: netconsole: remote port 6666
[ 33.676407] netpoll: netconsole: remote IPv4 address 10.10.10.4
[ 33.682418] netpoll: netconsole: remote ethernet address ff:ff:ff:ff:ff:ff
[ 33.689324] netpoll: netconsole: device eth0 not up yet, forcing it
[ 37.710588] netpoll: netconsole: timeout waiting for carrier
[ 37.717785] console [netcon0] enabled
[ 37.721502] netconsole: network logging started
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: module auto not found in modules.dep
[ 37.771665] F2FS-fs (sda1): Magic Mismatch, valid(0xf2f52010) - read(0xf180)
[ 37.778784] F2FS-fs (sda1): Can't find a valid F2FS filesystem in first superblock
[ 37.787646] F2FS-fs (sda1): Magic Mismatch, valid(0xf2f52010) - read(0x0)
[ 37.794527] F2FS-fs (sda1): Can't find a valid F2FS filesystem in second superblock
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
[ 37.889662] uhci_hcd: USB Universal Host Controller Interface driver
[ 37.902910] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 37.918704] hidraw: raw HID events driver (C) Jiri Kosina
[ 37.926356] usbcore: registered new interface driver usbhid
[ 37.932062] usbhid: USB HID core driver


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs)
Re: Boot hangs at "booting the kernel."
February 06, 2014 01:14AM
Freebird,

Your uBoot installation was

Quote

U-Boot 2010.09 (Feb 16 2011 - 18:44:23)
UBIT v0.6

uBoot envs were setup quite differently from the standard uBoot installaton running Jeff's script. Basically the problem is in the bootargs.

Stop serial console at the count down. At the prompt, you can set this uBoot env temporarily

setenv boot_auto 'setenv rd_args rootfstype=ext2; run boot_rd'

and then
boot
see if it can boot in to Debian.

As long as you don't do saveenv at uBoot prompt, current uBoot envs are not written to NAND. All modification are gone upon shut down or restart.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Boot hangs at "booting the kernel."
February 06, 2014 09:19PM
Thanks - this worked great! I did a reboot and savenv and now it boots into Debian each reboot.

I can't seem to get a network connection, however. I know this is no longer a uBoot issue, but I searched the Debian section with no luck - so hoping it is still appropriate to ask for help here. Also tried editing various files based on information found in other Debian forums and only was able to get the error to change from:
No DHCPOFFERS received.
Trying recorded lease 192.168.0.15
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.

--- 192.168.0.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms

to:
subnet_number():inet.c:53: Addr/mask length mismatch

I know I will need to change some settings - my router is at 192.168.1.1 with a subnet mask of 255.255.255.0. Just unsure which files to edit in order to get the DHCP client to see the router. Hoping that with your familiarity with this particular rootfs you'll be able to point me in the right direction.

Thanks again for all your help - this forum is a great resource!
Re: Boot hangs at "booting the kernel."
February 07, 2014 02:51AM
You should create new thread in Debian section for this. It is very strange that the ping is 192.168.0.1 and your router is 192.168.1.1.

In the new thread post the output of

fw_printenv
cat /etc/network/interfaces
dmesg

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Boot hangs at "booting the kernel."
February 07, 2014 06:39AM
Will do - thanks again for the help!
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: