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

Re: Errors and crash while (re-)installing Debian on TS-421



On Sat, 2017-07-08 at 14:49 +0100, Ian Campbell wrote:
> I'll recover that and have a play, see if I can figure this bit out
> at least.

earlyprintk + debug gives the full log below which includes:

[    0.321125] Unpacking initramfs...
[    0.324623] Initramfs unpacking failed: junk in compressed archive
...

which typically indicates that the initramfs is too big, and indeed
loading at 0xb00000 instead of the default 0xa00000 allows the system
to boot.

Compared with 4.9 (which works fine) it's not all that much bigger:

root@qnap:/boot# ls -l initrd.img-4.*
-rw-r--r-- 1 root root 5314981 Jul  8 16:51 initrd.img-4.11.0-1-marvell
-rw-r--r-- 1 root root 5301965 Jul  8 11:20 initrd.img-4.9.0-3-marvell
root@qnap:/boot# zcat initrd.img-4.9.0-3-marvell | wc -c
11848704
root@qnap:/boot# zcat initrd.img-4.11.0-1-marvell | wc -c
11869184

But apparently it is enough :-/

Ian.


Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.11.0-1-marvell (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18) ) #1 Debian 4.11.6-1 (2017-06-19)
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: QNAP TS419 family
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 131072
[    0.000000] free_area_init_node: node 0, pgdat c0856364, node_mem_map dfbf8000
[    0.000000]   Normal zone: 1024 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 131072 pages, LIFO batch:31
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/ram initrd=0xa00000,0x900000 ramdisk=32768 debug earlyprintk
[    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: 502648K/524288K available (4096K kernel code, 398K rwdata, 1132K rodata, 1024K init, 248K bss, 21640K 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 - 0xff800000   ( 496 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 - 0xc0500000   (5088 kB)
[    0.000000]       .init : 0xc0700000 - 0xc0800000   (1024 kB)
[    0.000000]       .data : 0xc0800000 - 0xc0863940   ( 399 kB)
[    0.000000]        .bss : 0xc0863940 - 0xc08a1a20   ( 249 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.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.008343] Console: colour dummy device 80x30
[    0.012903] Calibrating delay loop... 1191.93 BogoMIPS (lpj=2383872)
[    0.042341] pid_max: default: 32768 minimum: 301
[    0.047208] Security Framework initialized
[    0.051409] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.058226] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.064934] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072927] CPU: Testing write buffer coherency: ok
[    0.077979] ftrace: allocating 17111 entries in 34 pages
[    0.118333] Setting up static identity map for 0x100000 - 0x10003c
[    0.124854] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.132425] devtmpfs: initialized
[    0.138972] VFP support v0.3: not present
[    0.143243] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.153072] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.159480] pinctrl core: initialized pinctrl subsystem
[    0.165789] NET: Registered protocol family 16
[    0.170724] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.178723] cpuidle: using governor ladder
[    0.182926] cpuidle: using governor menu
[    0.187260] Feroceon L2: Enabling L2
[    0.190971] Feroceon L2: Cache support initialised.
[    0.196182] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.206752] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.221026] No ATAGs?
[    0.225408] clocksource: Switched to clocksource orion_clocksource
[    0.255930] VFS: Disk quotas dquot_6.6.0
[    0.260028] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.274507] NET: Registered protocol family 2
[    0.279716] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.286895] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.293457] TCP: Hash tables configured (established 4096 bind 4096)
[    0.300013] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.305937] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.312439] NET: Registered protocol family 1
[    0.316900] PCI: CLS 0 bytes, default 32
[    0.321125] Unpacking initramfs...
[    0.324623] Initramfs unpacking failed: junk in compressed archive
[    0.356619] Freeing initrd memory: 9216K
[    0.361211] audit: initializing netlink subsys (disabled)
[    0.367104] audit: type=2000 audit(0.292:1): state=initialized audit_enabled=0 res=1
[    0.374951] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.381556] zbud: loaded
[    0.386304] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.393911] io scheduler noop registered
[    0.397998] io scheduler cfq registered (default)
[    0.403841] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.411644] libphy: Fixed MDIO Bus: probed
[    0.416061] i2c /dev entries driver
[    0.420012] kirkwood-cpufreq kirkwood-cpufreq: Unable to get cpuclk
[    0.426382] kirkwood-cpufreq: probe of kirkwood-cpufreq failed with error -22
[    0.433811] ledtrig-cpu: registered to indicate activity on CPUs
[    0.440781] registered taskstats version 1
[    0.445021] zswap: loaded using pool lzo/zbud
[    0.450372] hctosys: unable to open rtc device (rtc0)
[    1.153429] random: fast init done
[    4.834763] Unable to handle kernel paging request at virtual address e0000004
[    4.842040] pgd = c0004000
[    4.844812] [e0000004] *pgd=00000000
[    4.848457] Internal error: Oops: 5 [#1] ARM
[    4.852787] Modules linked in:
[    4.855911] CPU: 0 PID: 1 Comm: swapper Not tainted 4.11.0-1-marvell #1 Debian 4.11.6-1
[    4.863958] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[    4.870276] task: df43f6a0 task.stack: df4a0000
[    4.874869] PC is at crc32_be+0xac/0x160
[    4.878854] LR is at 0xe0000000
[    4.882063] pc : [<c03149e0>]    lr : [<e0000000>]    psr: 80000053
[    4.882063] sp : df4a1ee0  ip : 00000007  fp : 00000000
[    4.893655] r10: c0730838  r9 : 00000000  r8 : c0863940
[    4.898935] r7 : 00000000  r6 : 13c86cfe  r5 : 91331e43  r4 : c0a5c760
[    4.905510] r3 : c052b450  r2 : b184c540  r1 : f0defde0  r0 : 98ba555a
[    4.912085] Flags: Nzcv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment none
[    4.919351] Control: 0005397f  Table: 00004000  DAC: 00000053
[    4.925148] Process swapper (pid: 1, stack limit = 0xdf4a0190)
[    4.931031] Stack: (0xdf4a1ee0 to 0xdf4a2000)
[    4.935454] 1ee0: c0a5c760 f0defde7 c089db70 c0730834 c0863940 c0729144 c0729114 c080302c
[    4.943678] 1f00: ffffe000 c0101868 c0501cf4 c080302c 00000011 c0863900 00000000 c0132ae0
[    4.951903] 1f20: dfffce70 00000000 0000003a c0132bec c088a0d0 c01424f0 c061a074 0000003a
[    4.960128] 1f40: 00000007 00000007 c061a4fc c061a4fc 00000000 6692af0e 0000003a 00000008
[    4.968354] 1f60: 0000003a c0863940 c0730834 c0863940 c0749f88 c0700e84 00000007 00000007
[    4.976578] 1f80: 00000000 c07005b8 00000000 c04bb468 00000000 00000000 00000000 00000000
[    4.984803] 1fa0: 00000000 c04bb478 00000000 c0107610 00000000 00000000 00000000 00000000
[    4.993028] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    5.001254] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 c003a750 00000000
[    5.009495] [<c03149e0>] (crc32_be) from [<c0729144>] (of_fdt_raw_init+0x30/0x78)
[    5.017037] [<c0729144>] (of_fdt_raw_init) from [<c0101868>] (do_one_initcall+0x14c/0x180)
[    5.025358] [<c0101868>] (do_one_initcall) from [<c0700e84>] (kernel_init_freeable+0x1c8/0x20c)
[    5.034107] [<c0700e84>] (kernel_init_freeable) from [<c04bb478>] (kernel_init+0x10/0x10c)
[    5.042419] [<c04bb478>] (kernel_init) from [<c0107610>] (ret_from_fork+0x14/0x24)
[    5.050036] Code: e0230420 1afffff7 ebff8806 e8bd81f0 (e59e6004) 
[    5.056187] ---[ end trace 198d33b3b2bdfe60 ]---
[    5.061010] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.061010] 
[    5.070280] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    5.070280] 
[   53.845449] random: crng init done


Reply to: