Hi,
I am trying to install Fedora 17 on my Dreamplug, but partway through boot, I get a "BUG: soft lockup - CPU#0 stuck for 22s! [udevd:242]" and I'm at a loss for the next step to take to determine the cause and fix for this problem.
First, I downloaded the kirkwood image at http://archive.kernel.org/fedora-sec...17/Images/arm/, and verified the checksum.
Then, on an unmounted 16GB SD card, I "xzcat /misc/efloehr/dreamplug/Fedora-17-arm-kirkwood-mmcblk0.img.xz > /dev/sde", mounted and verified the two partitions.
Then, I booted the Dreamplug, loaded the uImage and uInitrd, set the bootargs and booted, like so:
Code:
Marvell>> fatload usb 1 0x6400000 uImage-kirkwood
reading uImage-kirkwood
3291896 bytes read
Marvell>> fatload usb 1 0x7400000 uInitrd-kirkwood
reading uInitrd-kirkwood
10112646 bytes read
Marvell>> set bootargs 'console=ttyS0,115200 root=/dev/sdb2 rootdelay=20'
Marvell>> bootm 0x6400000 0x7400000
This resulted in a successful load:
Code:
## Booting kernel from Legacy Image at 06400000 ...
Image Name: 3.4.2-3.fc17.armv5tel.kirkwood
Created: 2012-06-18 4:58:01 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3291832 Bytes = 3.1 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 07400000 ...
Image Name: initramfs
Created: 2012-06-18 4:58:08 UTC
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 10112582 Bytes = 9.6 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
And a successful kernel boot:
Code:
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.4.2-3.fc17.armv5tel.kirkwood (mockbuild@hsv-trimslice-8-v5tel.farm.hsv.redhat.com) (gcc version 4.7.0 20120507 (Red Hat 4.7.0-5) (GCC) ) #1 Tue Jun 12 11:34: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 GuruPlug Reference Board
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb2 rootdelay=20
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] allocated 1048576 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 512MB = 512MB total
[ 0.000000] Memory: 501352k/501352k available, 22936k 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 : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc05db798 (5966 kB)
[ 0.000000] .init : 0xc05dc000 - 0xc0622000 ( 280 kB)
[ 0.000000] .data : 0xc0622000 - 0xc06778e0 ( 343 kB)
[ 0.000000] .bss : 0xc0677904 - 0xc0751e2c ( 874 kB)
[ 0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
... lines removed due to 10K message size limit ...
[ 13.184305] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 13.332729] dracut: Checking ext4: /dev/sdb2
[ 13.338615] dracut: issuing e2fsck -a /dev/sdb2
[ 13.449216] dracut: rootfs: clean, 19221/82720 files, 143206/330527 blocks
[ 13.460087] dracut: Remounting /dev/sdb2 with -o ro
[ 13.511348] EXT4-fs (sdb2): mounted filesystem with ordered data mode. Opts: (null)
[ 13.546457] dracut: Mounted root filesystem /dev/sdb2
[ 13.725030] dracut: Switching root
[ 14.050959] type=1404 audit(1348631309.810:2): enforcing=1 old_enforcing=0 auid=4294967295 ses=4294967295
[ 16.473557] SELinux: Permission ptrace_child in class process not defined in policy.
[ 16.481943] SELinux: the above unknown classes and permissions will be allowed
[ 16.503930] type=1403 audit(1348631312.260:3): policy loaded auid=4294967295 ses=4294967295
Welcome to Fedora 17 (Beefy Miracle)!
But only partway through the OS load before I received the "soft lockup" which just keeps repeating itself:
Code:
Started Replay Read-Ahead Data [ OK ]
Starting Collect Read-Ahead Data...
[ 17.598986] systemd-readahead-collect[202]: Failed to mark /: Invalid argument
Starting Media Directory...
Started Lock Directory [ OK ]
Starting Runtime Directory...
Starting udev Coldplug all Devices...
Starting udev Kernel Device Manager...
... lines removed due to 10K message size limit ...
Started Configure read-only root support [ OK ]
[ 19.717715] mv643xx_eth smi: probed
[ 19.864633] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address f0:ad:4e:01:45:b2
[ 19.913984] cfg80211: Calling CRDA to update world regulatory domain
[ 19.980206] Bluetooth: Core ver 2.16
[ 19.983868] NET: Registered protocol family 31
[ 19.988366] Bluetooth: HCI device and connection manager initialized
[ 47.746996] BUG: soft lockup - CPU#0 stuck for 22s! [udevd:242]
[ 47.752942] Modules linked in: bluetooth(+) cfg80211 orion_nand(+) marvell rfkill nand nand_ecc nand_ids mtd mv_cesa mv643xx_eth(+) usb_storage mmc_block mvsdio sata_mv mmc_core
[ 47.768967]
[ 47.770460] Pid: 242, comm: udevd
[ 47.775093] CPU: 0 Not tainted (3.4.2-3.fc17.armv5tel.kirkwood #1)
[ 47.781673] PC is at nand_read_byte+0x14/0x18 [nand]
[ 47.786675] LR is at nand_command+0x194/0x1d4 [nand]
[ 47.791663] pc : [<bf0c3014>] lr : [<bf0c72e0>] psr: 60000013
[ 47.791669] sp : ddc0dd98 ip : bf0c714c fp : c7967a20
[ 47.803205] r10: bf0ef190 r9 : 00000000 r8 : ffffffff
[ 47.808456] r7 : 000000ff r6 : ffffffff r5 : c7967a20 r4 : c7967800
[ 47.815013] r3 : e0e32000 r2 : 00000081 r1 : ffffffff r0 : 00000000
[ 47.821570] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 47.828738] Control: 0005397f Table: 0796c000 DAC: 00000015
[ 47.834539] [<c000f1e4>] (unwind_backtrace+0x0/0x124) from [<c0077a18>] (watchdog_timer_fn+0xf0/0x144)
[ 47.843894] [<c0077a18>] (watchdog_timer_fn+0xf0/0x144) from [<c00388fc>] (__run_hrtimer+0xb0/0x1d0)
[ 47.853074] [<c00388fc>] (__run_hrtimer+0xb0/0x1d0) from [<c0039138>] (hrtimer_interrupt+0x104/0x248)
[ 47.862348] [<c0039138>] (hrtimer_interrupt+0x104/0x248) from [<c001602c>] (orion_timer_interrupt+0x24/0x34)
[ 47.872225] [<c001602c>] (orion_timer_interrupt+0x24/0x34) from [<c00781a4>] (handle_irq_event_percpu+0x38/0x240)
[ 47.882539] [<c00781a4>] (handle_irq_event_percpu+0x38/0x240) from [<c00783dc>] (handle_irq_event+0x30/0x40)
[ 47.892420] [<c00783dc>] (handle_irq_event+0x30/0x40) from [<c007aa1c>] (handle_level_irq+0xbc/0xd0)
[ 47.901600] [<c007aa1c>] (handle_level_irq+0xbc/0xd0) from [<c0077bd0>] (generic_handle_irq+0x28/0x38)
[ 47.910957] [<c0077bd0>] (generic_handle_irq+0x28/0x38) from [<c0009b84>] (handle_IRQ+0x68/0x8c)
[ 47.919790] [<c0009b84>] (handle_IRQ+0x68/0x8c) from [<c042bcf4>] (__irq_svc+0x34/0x80)
[ 47.927849] [<c042bcf4>] (__irq_svc+0x34/0x80) from [<bf0c3014>] (nand_read_byte+0x14/0x18 [nand])
[ 47.936878] [<bf0c3014>] (nand_read_byte+0x14/0x18 [nand]) from [<bf0c72e0>] (nand_command+0x194/0x1d4 [nand])
[ 47.946954] [<bf0c72e0>] (nand_command+0x194/0x1d4 [nand]) from [<bf0c5e60>] (nand_scan_ident+0x184/0xb14 [nand])
[ 47.957288] [<bf0c5e60>] (nand_scan_ident+0x184/0xb14 [nand]) from [<bf0c6824>] (nand_scan+0x34/0x54 [nand])
[ 47.967182] [<bf0c6824>] (nand_scan+0x34/0x54 [nand]) from [<bf0ef104>] (orion_nand_probe+0x104/0x190 [orion_nand])
[ 47.977686] [<bf0ef104>] (orion_nand_probe+0x104/0x190 [orion_nand]) from [<c025eaf0>] (platform_drv_probe+0x1c/0x20)
[ 47.988350] [<c025eaf0>] (platform_drv_probe+0x1c/0x20) from [<c025d8fc>] (driver_probe_device+0x148/0x354)
[ 47.998141] [<c025d8fc>] (driver_probe_device+0x148/0x354) from [<c025db78>] (__driver_attach+0x70/0x94)
[ 48.007671] [<c025db78>] (__driver_attach+0x70/0x94) from [<c025bdb8>] (bus_for_each_dev+0x50/0x88)
[ 48.016766] [<c025bdb8>] (bus_for_each_dev+0x50/0x88) from [<c025ce48>] (bus_add_driver+0x108/0x278)
[ 48.025949] [<c025ce48>] (bus_add_driver+0x108/0x278) from [<c025de40>] (driver_register+0xa4/0x128)
[ 48.035132] [<c025de40>] (driver_register+0xa4/0x128) from [<c025ed18>] (platform_driver_probe+0x20/0x74)
[ 48.044749] [<c025ed18>] (platform_driver_probe+0x20/0x74) from [<c0008574>] (do_one_initcall+0x98/0x170)
[ 48.054368] [<c0008574>] (do_one_initcall+0x98/0x170) from [<c005972c>] (sys_init_module+0x17d4/0x1978)
[ 48.063810] [<c005972c>] (sys_init_module+0x17d4/0x1978) from [<c0008c40>] (ret_fast_syscall+0x0/0x2c)
Thanks much for any next steps you can help with!
Eric