[ELDK] Booting ELDK5.4 rootfs via NFS hangs

Tobias Markow tobias.markow at haw-hamburg.de
Sat Nov 16 13:32:12 CET 2013


Dear Wolfgang Denk,

on 16.11.2013 11:28 you wrote:
> The given information is way too terse to even speculate about the 
> cause of the problem. We need to see the exact boot commands, and 
> ideally the complete boot log. As a minimum, we need to see the kenrel 
> command line. Eventually the kernel has bootet perfectly fine, and 
> only the console definition in /etc/inittab is not matching the boot 
> arg settings, etc. Best regards, Wolfgang Denk 

Here the complete boot log:

## Booting kernel from Legacy Image at 42000000 ...
    Image Name:   Linux-3.9.0
    Created:      2013-11-13  13:30:58 UTC
    Image Type:   ARM Linux Kernel Image (uncompressed)
    Data Size:    2476536 Bytes = 2.4 MiB
    Load Address: 40008000
    Entry Point:  40008000
    Verifying Checksum ... OK
## Flattened Device Tree blob at 41000000
    Booting using the fdt blob at 0x41000000
    Loading Kernel Image ... OK
OK
    Loading Device Tree to 47b9f000, end 47ba6481 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.9.0 (tobi at ubuntu) (gcc version 4.7.2 
(GCC) ) #3 PREEMPT Wed Nov 13 05:29:55 PST 2013
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Freescale i.MX28 (Device Tree), model: Freescale 
i.MX28 Evaluation Kit
[    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=ttyAPP3,115200 ip=dhcp 
root=/dev/nfs rw 
nfsroot=192.168.1.111:/opt/eldk/armv5te/rootfs-minimal,v3,tcp
[    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] __ex_table already sorted, skipping sort
[    0.000000] Memory: 128MB = 128MB total
[    0.000000] Memory: 123356k/123356k available, 7716k 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 : 0x88800000 - 0xff000000   (1896 MB)
[    0.000000]     lowmem  : 0x80000000 - 0x88000000   ( 128 MB)
[    0.000000]       .text : 0x80008000 - 0x805bdfe8   (5848 kB)
[    0.000000]       .init : 0x805be000 - 0x805ea934   ( 179 kB)
[    0.000000]       .data : 0x805ec000 - 0x8061dee0   ( 200 kB)
[    0.000000]        .bss : 0x8061dee0 - 0x80654cf0   ( 220 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, 
CPUs=1, Nodes=1
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] of_irq_init: children remain, but no parents
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps 
every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.000509] Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
[    0.080263] pid_max: default: 32768 minimum: 301
[    0.080561] Mount-cache hash table entries: 512
[    0.091654] Initializing cgroup subsys cpuacct
[    0.091711] Initializing cgroup subsys devices
[    0.091739] Initializing cgroup subsys freezer
[    0.091765] Initializing cgroup subsys blkio
[    0.091893] CPU: Testing write buffer coherency: ok
[    0.092764] Setting up static identity map for 0x80496d38 - 0x80496d74
[    0.095952] devtmpfs: initialized
[    0.097158] pinctrl core: initialized pinctrl subsystem
[    0.097854] regulator-dummy: no parameters
[    0.098369] NET: Registered protocol family 16
[    0.099668] DMA: preallocated 256 KiB pool for atomic coherent 
allocations
[    0.125028] Serial: AMBA PL011 UART driver
[    0.125450] 80074000.serial: ttyAMA0 at MMIO 0x80074000 (irq = 221) 
is a PL011 rev2
[    0.138235] bio: create slab <bio-0> at 0
[    0.142098] mxs-dma 80004000.dma-apbh: initialized
[    0.145069] mxs-dma 80024000.dma-apbx: initialized
[    0.146051] 3P3V: 3300 mV
[    0.146688] vddio-sd0: 3300 mV
[    0.147274] fec-3v3: 3300 mV
[    0.147968] usb0_vbus: 5000 mV
[    0.148640] usb1_vbus: 5000 mV
[    0.150087] SCSI subsystem initialized
[    0.150911] usbcore: registered new interface driver usbfs
[    0.151095] usbcore: registered new interface driver hub
[    0.151549] usbcore: registered new device driver usb
[    0.154269] pps_core: LinuxPPS API ver. 1 registered
[    0.154311] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
Rodolfo Giometti <giometti at linux.it>
[    0.154403] PTP clock support registered
[    0.155234] Advanced Linux Sound Architecture Driver Initialized.
[    0.156358] nfc: nfc_init: NFC Core ver 0.1
[    0.156558] NET: Registered protocol family 39
[    0.156892] Switching to clocksource mxs_timer
[    0.185058] NET: Registered protocol family 2
[    0.186704] TCP established hash table entries: 1024 (order: 1, 8192 
bytes)
[    0.186799] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.186853] TCP: Hash tables configured (established 1024 bind 1024)
[    0.187137] TCP: reno registered
[    0.187203] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.187265] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.187883] NET: Registered protocol family 1
[    0.188896] RPC: Registered named UNIX socket transport module.
[    0.188944] RPC: Registered udp transport module.
[    0.188966] RPC: Registered tcp transport module.
[    0.188983] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.189846] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.219563] NFS: Registering the id_resolver key type
[    0.219732] Key type id_resolver registered
[    0.219774] Key type id_legacy registered
[    0.221040] msgmni has been set to 240
[    0.226676] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 250)
[    0.226727] io scheduler noop registered (default)
[    0.248681] Console: switching to colour frame buffer device 100x30
[    0.261634] mxsfb 80030000.lcdif: initialized
[    0.446567] uart-pl011 80074000.serial: no DMA platform data
[    0.447518] 8006a000.serial: ttyAPP0 at MMIO 0x8006a000 (irq = 215) 
is a 8006a000.serial
[    0.448155] mxs-auart 8006a000.serial: Found APPUART 3.1.0
[    0.448548] 80070000.serial: ttyAPP3 at MMIO 0x80070000 (irq = 218) 
is a 80070000.serial
[    0.936259] console [ttyAPP3] enabled
[    0.940522] mxs-auart 80070000.serial: Found APPUART 3.1.0
[    0.963497] brd: module loaded
[    0.975382] loop: module loaded
[    0.978829] at24 0-0051: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[    1.067048] No NAND device found
[    1.070264] gpmi_nand: Chip scan failed
[    1.074235] gpmi-nand 8000c000.gpmi-nand: driver registration failed: -19
[    1.098286] m25p80 spi32766.0: unrecognized JEDEC id ffffff
[    1.108848] libphy: Fixed MDIO Bus: probed
[    1.114690] CAN device driver interface
[    1.120425] flexcan 80032000.can: device registered 
(reg_base=f5032000, irq=190)
[    1.129543] flexcan 80034000.can: device registered 
(reg_base=f5034000, irq=191)
[    1.254306] libphy: fec_enet_mii_bus: probed
[    1.262181] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.268915] Initializing USB Mass Storage driver...
[    1.273926] usbcore: registered new interface driver usb-storage
[    1.279986] USB Mass Storage support registered.
[    1.285343] imx_usb 80080000.usb: pinctrl get/select failed, err=-19
[    1.292821] ci_hdrc ci_hdrc.0: doesn't support gadget
[    1.298066] ci_hdrc ci_hdrc.0: EHCI Host Controller
[    1.302989] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus 
number 1
[    1.327126] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00
[    1.332969] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.339838] usb usb1: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    1.347109] usb usb1: Product: EHCI Host Controller
[    1.351949] usb usb1: Manufacturer: Linux 3.9.0 ehci_hcd
[    1.357321] usb usb1: SerialNumber: ci_hdrc.0
[    1.363299] hub 1-0:1.0: USB hub found
[    1.367186] hub 1-0:1.0: 1 port detected
[    1.372077] imx_usb 80090000.usb: pinctrl get/select failed, err=-19
[    1.379517] ci_hdrc ci_hdrc.1: doesn't support gadget
[    1.384570] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    1.389701] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus 
number 2
[    1.417138] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    1.422931] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.429940] usb usb2: New USB device strings: Mfr=3, Product=2, 
SerialNumber=1
[    1.437238] usb usb2: Product: EHCI Host Controller
[    1.442084] usb usb2: Manufacturer: Linux 3.9.0 ehci_hcd
[    1.447457] usb usb2: SerialNumber: ci_hdrc.1
[    1.453382] hub 2-0:1.0: USB hub found
[    1.457268] hub 2-0:1.0: 1 port detected
[    1.462869] mousedev: PS/2 mouse device common for all mice
[    1.472966] stmp3xxx-rtc 80056000.rtc: rtc core: registered 
80056000.rtc as rtc0
[    1.480730] i2c /dev entries driver
[    1.517110] mxs-mmc 80010000.ssp: initialized
[    1.523316] hidraw: raw HID events driver (C) Jiri Kosina
[    1.530791] usbcore: registered new interface driver usbhid
[    1.536329] usbhid: USB HID core driver
[    1.540974] mxs-lradc 80050000.lradc: Touchscreen not enabled.
[    1.556239] sgtl5000 0-000a: Failed to get supply 'VDDD': -517
[    1.562933] 0-000a: 1200 mV normal
[    1.567093] sgtl5000 0-000a: Using internal LDO instead of VDDD
[    5.607030] sgtl5000 0-000a: Device with ID register ffff is not a 
sgtl5000
[    7.627359] sgtl5000 0-000a: ASoC: failed to probe CODEC -19
[    7.633098] mxs-sgtl5000 sound.11: ASoC: failed to instantiate card -19
[    7.639956] mxs-sgtl5000 sound.11: snd_soc_register_card failed (-19)
[    7.647517] TCP: cubic registered
[    7.650805] Initializing XFRM netlink socket
[    7.657383] NET: Registered protocol family 10
[    7.665143] sit: IPv6 over IPv4 tunneling driver
[    7.672985] ip6_gre: GRE over IPv6 tunneling driver
[    7.679721] NET: Registered protocol family 17
[    7.684234] NET: Registered protocol family 15
[    7.688754] can: controller area network core (rev 20120528 abi 9)
[    7.695132] NET: Registered protocol family 29
[    7.699746] can: raw protocol (rev 20120528)
[    7.703989] can: broadcast manager protocol (rev 20120528 t)
[    7.710015] Key type dns_resolver registered
[    7.718961] stmp3xxx-rtc 80056000.rtc: setting system clock to 
1970-01-01 00:05:51 UTC (351)
[    7.734719] eth0: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] 
(mii_bus:phy_addr=800f0000.etherne:00, irq=-1)
[    7.745244] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.751884] eth1: Freescale FEC PHY driver [SMSC LAN8710/LAN8720] 
(mii_bus:phy_addr=800f0000.etherne:01, irq=-1)
[    7.762308] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[    9.727610] libphy: 800f0000.etherne:00 - Link is Up - 100/Full
[    9.747424] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    9.767312] Sending DHCP requests ., OK
[    9.867532] IP-Config: Got DHCP answer from 192.168.1.1, my address 
is 192.168.1.103
[    9.876389] IP-Config: Complete:
[    9.879777]      device=eth0, hwaddr=02:00:01:00:00:01, 
ipaddr=192.168.1.103, mask=255.255.255.0, gw=192.168.1.1
[    9.890009]      host=192.168.1.103, domain=localdomain, 
nis-domain=(none)
[    9.896852]      bootserver=192.168.1.1, rootserver=192.168.1.111, 
rootpath=
[    9.903788]      nameserver0=192.168.1.1
[    9.907939] ALSA device list:
[    9.910852]   No soundcards found.
[   10.051594] VFS: Mounted root (nfs filesystem) on device 0:12.
[   10.058568] Freeing init memory: 176K
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd: cannot find console device 249:3 
under /dev
bootlogd.
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot exited with code 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Fri Aug  2 14:06:00 UTC 2013
hwclock: can't open '/dev/misc/rtc': No such file or directory


Now i've updated the kernel to 3.10.18 and with the same kernel 
configuration and bootargs there is no command line output after 
"Starting kernel ...".
The debug UART just prints "Uncompressing Linux... done, booting the 
kernel."


Best regards
Tobias Markow




More information about the eldk mailing list