[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#805851: linux: 4.2.6 panics on dreamplug (kirkwood)



Source: linux
Version: 4.2.6-1
Severity: normal

Hello,

To be fair, this is probably the tip of the iceberg since my unbootable
dreamplug went through an upgrade from wheezy to stretch and an u-boot
upgrade too. In any case, u-boot seems functional at the moment and I
will only be able to check the OS upgrade once I boot into it.

So, here's the boot and panic message:

Marvell>> run bootcmd
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... ERROR: Invalid USB EP length (9)
ERROR: Invalid USB EP length (9)
4 USB Device(s) found
       scanning usb for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
2 Storage Device(s) found
1980148 bytes read in 253 ms (7.5 MiB/s)
10485091 bytes read in 750 ms (13.3 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   kernel 4.2.0-1-kirkwood
   Created:      2015-11-23   5:24:29 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    1980084 Bytes = 1.9 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   ramdisk 4.2.0-1-kirkwood
   Created:      2015-11-23   5:24:31 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    10485027 Bytes = 10 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 4.2.0-1-kirkwood (debian-kernel@lists.debian.org) (gcc version 4.9.3 (Debian 4.9.3-5) ) #1 Debian 4.2.6-1 (2015-11-10)
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Globalscale Technologies Guruplug Server Plus
[    0.000000] Memory policy: 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/sda2 rootdelay=10
[    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] Memory: 503532K/524288K available (3654K kernel code, 325K rwdata, 1368K rodata, 248K init, 292K bss, 20756K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 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 - 0xc04efda8   (5024 kB)
[    0.000000]       .init : 0xc04f0000 - 0xc052e000   ( 248 kB)
[    0.000000]       .data : 0xc052e000 - 0xc057f690   ( 326 kB)
[    0.000000]        .bss : 0xc057f690 - 0xc05c8734   ( 293 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000010] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000390] Console: colour dummy device 80x30
[    0.000419] Calibrating delay loop... 1185.79 BogoMIPS (lpj=2371584)
[    0.024030] pid_max: default: 32768 minimum: 301
[    0.024175] Security Framework initialized
[    0.024194] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.024300] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.024320] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.025056] Initializing cgroup subsys blkio
[    0.025086] Initializing cgroup subsys devices
[    0.025121] Initializing cgroup subsys freezer
[    0.025144] Initializing cgroup subsys net_cls
[    0.025171] Initializing cgroup subsys perf_event
[    0.025196] Initializing cgroup subsys net_prio
[    0.025275] CPU: Testing write buffer coherency: ok
[    0.025370] ftrace: allocating 15758 entries in 31 pages
[    0.048749] Setting up static identity map for 0x8200 - 0x823c
[    0.049029] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.051633] devtmpfs: initialized
[    0.055724] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.056194] pinctrl core: initialized pinctrl subsystem
[    0.057469] NET: Registered protocol family 16
[    0.057858] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.058827] cpuidle: using governor ladder
[    0.058852] cpuidle: using governor menu
[    0.059184] Feroceon L2: Enabling L2
[    0.059227] Feroceon L2: Cache support initialised.
[    0.059507] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.059605] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.062951] No ATAGs?
[    0.067769] clocksource: Switched to clocksource orion_clocksource
[    0.087847] NET: Registered protocol family 2
[    0.088501] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.088560] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.088611] TCP: Hash tables configured (established 4096 bind 4096)
[    0.088680] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.088703] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.088907] NET: Registered protocol family 1
[    0.089181] Unpacking initramfs...
[    1.018875] Freeing initrd memory: 10240K (c1100000 - c1b00000)
[    1.019661] futex hash table entries: 256 (order: -1, 3072 bytes)
[    1.019750] audit: initializing netlink subsys (disabled)
[    1.019848] audit: type=2000 audit(1.012:1): initialized
[    1.020407] zpool: loaded
[    1.020423] zbud: loaded
[    1.020657] VFS: Disk quotas dquot_6.6.0
[    1.020715] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.020835] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.022333] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    1.022495] io scheduler noop registered
[    1.022550] io scheduler cfq registered (default)
[    1.023699] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    1.024324] irq: Cannot allocate irq_descs @ IRQ34, assuming pre-allocated
[    1.024659] irq: Cannot allocate irq_descs @ IRQ66, assuming pre-allocated
[    1.025174] mv_xor f1060800.xor: Marvell shared XOR driver
[    1.044957] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.064936] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.065098] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.084936] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.104937] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy )
[    1.105310] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.106329] console [ttyS0] disabled
[    1.106382] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.642770] console [ttyS0] enabled
[    1.895883] nand: No NAND device found
[    1.899663] Unable to handle kernel paging request at virtual address 00200200
[    1.906936] pgd = c0004000
[    1.909670] [00200200] *pgd=00000000
[    1.913280] Internal error: Oops: 805 [#1] ARM
[    1.917739] Modules linked in:
[    1.920814] CPU: 0 PID: 1 Comm: swapper Not tainted 4.2.0-1-kirkwood #1 Debian 4.2.6-1
[    1.928761] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    1.935050] task: df4abb20 ti: df4ac000 task.ti: df4ac000
[    1.940483] PC is at __clk_put+0x58/0xf8
[    1.944425] LR is at clk_prepare_lock+0x14/0xdc
[    1.948978] pc : [<c02b420c>]    lr : [<c02b0f2c>]    psr: 20000013
[    1.948978] sp : df4ade18  ip : 60000013  fp : 00000000
[    1.960503] r10: 00000000  r9 : dd451358  r8 : df432700
[    1.965745] r7 : ffffffed  r6 : dd5bf320  r5 : dd451010  r4 : dd5bf320
[    1.972300] r3 : 00100100  r2 : 00200200  r1 : 00000001  r0 : 00000001
[    1.978850] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[    1.986192] Control: 0005397f  Table: 00004000  DAC: 00000017
[    1.991965] Process swapper (pid: 1, stack limit = 0xdf4ac190)
[    1.997824] Stack: (0xdf4ade18 to 0xdf4ae000)
[    2.002194] de00:                                                       00000003 fffffffa
[    2.010413] de20: dd451010 c050fe74 c048cc75 df4df858 dd4b24e8 00000019 00000000 00000000
[    2.018628] de40: df432710 c056b270 00000000 c057ce68 c05c3d18 00000000 c057f6a0 c0258fbc
[    2.026842] de60: c0258f88 df432710 c056b270 c025774c c056b270 df432710 00000000 df432710
[    2.035056] de80: df432744 c056b270 c05662d0 c057cd90 c05333c0 c0257a0c 00000000 c056b270
[    2.043270] dea0: c025799c c0255b40 df42996c df4ddc70 c056b270 00000000 dd453400 c0256d48
[    2.051484] dec0: c048b224 c048b226 c056b270 c050fbf4 c053002c 00000000 c05333c0 c025801c
[    2.059699] dee0: 00000000 c056b25c c050fbf4 c02592a8 00000000 dd5bf5c0 c050fbf4 c00097c0
[    2.067913] df00: df404b80 df424680 df424680 c0378fc8 c053002c 00000000 00000000 c0031544
[    2.076127] df20: 00000000 dfffce84 dfffce8e c0031660 c05a4a24 c003e9e0 c04cbe48 00000006
[    2.084341] df40: 00000006 c04cc384 00000042 c04cc384 00000000 c0d9453b c051960c 00000006
[    2.092555] df60: c0519610 00000043 c052dc64 c057f6a0 c0519618 c04f0e18 00000006 00000006
[    2.100769] df80: 00000000 c04f05a0 00000000 c03704ec 00000000 00000000 00000000 00000000
[    2.108983] dfa0: 00000000 c03704fc 00000000 c000a380 00000000 00000000 00000000 00000000
[    2.117197] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    2.125411] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 c8180000 00000414
[    2.133638] [<c02b420c>] (__clk_put) from [<c050fe74>] (orion_nand_probe+0x268/0x2a0)
[    2.141518] [<c050fe74>] (orion_nand_probe) from [<c0258fbc>] (platform_drv_probe+0x34/0x68)
[    2.149998] [<c0258fbc>] (platform_drv_probe) from [<c025774c>] (driver_probe_device+0x174/0x3c4)
[    2.158916] [<c025774c>] (driver_probe_device) from [<c0257a0c>] (__driver_attach+0x70/0x94)
[    2.167392] [<c0257a0c>] (__driver_attach) from [<c0255b40>] (bus_for_each_dev+0x74/0x98)
[    2.175605] [<c0255b40>] (bus_for_each_dev) from [<c0256d48>] (bus_add_driver+0x11c/0x248)
[    2.183908] [<c0256d48>] (bus_add_driver) from [<c025801c>] (driver_register+0xa4/0xe8)
[    2.191949] [<c025801c>] (driver_register) from [<c02592a8>] (__platform_driver_probe+0x54/0xac)
[    2.200783] [<c02592a8>] (__platform_driver_probe) from [<c00097c0>] (do_one_initcall+0x1bc/0x200)
[    2.209789] [<c00097c0>] (do_one_initcall) from [<c04f0e18>] (kernel_init_freeable+0x14c/0x218)
[    2.218534] [<c04f0e18>] (kernel_init_freeable) from [<c03704fc>] (kernel_init+0x10/0xec)
[    2.226750] [<c03704fc>] (kernel_init) from [<c000a380>] (ret_from_fork+0x14/0x34)
[    2.234360] Code: ebfff345 e5943014 e5942018 e3530000 (e5823000)
[    2.240528] ---[ end trace a789e5ef41c6f755 ]---
[    2.245260] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.245260]
[    2.254438] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.254438]


U-Boot is:
Marvell>> version

U-Boot 2014.10+dfsg1-5 (Apr 07 2015 - 21:53:14)
Marvell-DreamPlug
gcc (Debian 4.9.2-10) 4.9.2
GNU ld (GNU Binutils for Debian) 2.25

And these are the boot variables:

Marvell>> printenv
baudrate=115200
bootargs_console=console=ttyS0,115200
bootargs_root=root=/dev/sda2 rootdelay=10
bootcmd=setenv bootargs ${bootargs_console} ${bootargs_root}; run bootcmd_usb; bootm 0x00800000 0x01100000
bootcmd_usb=usb start; ext2load usb 0:2 0x00800000 /boot/uImage; ext2load usb 0:2 0x01100000 /boot/uInitrd
...


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.1.0+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)


Reply to: