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

Re: Armel: Debian installer freeezes (GuruPlug Server plus)



Log:

Initializing Modem
Welcome to minicom 2.3
Port /dev/ttyUSB0 Press CTRL-A Z for help on special keys

U-Boot 2016.11+dfsg1-4 (Mar 27 2017 - 18:39:51 +0000)
Marvell-GuruPlug

SoC:   Kirkwood 88F6281_A0
DRAM:  512 MiB
WARNING: Caches not enabled
NAND:  512 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0, egiga1
88E1121 Initialized on egiga0
88E1121 Initialized on egiga1
IDE:   ide_preinit failed
Hit any key to stop autoboot:  6 5 4 3 2 1
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 4 USB Device(s) found
   scanning usb for storage devices... Device NOT ready
   Request Sense returned 02 3A 00
3 Storage Device(s) found
2055218 bytes read in 242 ms (8.1 MiB/s)
12015242 bytes read in 972 ms (11.8 MiB/s)
10522 bytes read in 76 ms (134.8 KiB/s)
chosen {
   bootargs = "console=ttyS0, 115200 root=/dev/sdb2 rootdelay=10 base-
   installer/initramfs-tools/driver-policy=most";
   stdout-path = "/ocp@f1000000/serial@12000";
}
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Debian kernel
   Created:      2017-12-04   7:25:55 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2055154 Bytes = 2 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   debian-installer ramdisk
   Created:      2017-12-04   7:25:55 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    12015178 Bytes = 11.5 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 0c000000
   Booting using the fdt blob at 0xc000000
   Loading Kernel Image ... OK
   reserving fdt memory region: addr=c000000 size=3000
   Using Device Tree in place at 0c000000, end 0c005fff

Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] random: get_random_bytes called from start_kernel+0x28/0x3ec with crng_init=0 [ 0.000000] Linux version 4.13.0-1-marvell (debian-kernel@lists.debian.org) (gcc version 6.4.0 20171112 (Debian 6.4.0-10)) #1 Debian 4.13.13-1 (2017-11-16) [ 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: Globalscale Technologies Guruplug Server Plus
[    0.000000] bootconsole [earlycon0] enabled
[    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,115200n8 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: 513692K/524288K available (3796K kernel code, 325K rwdata, 1164K rodata, 308K init, 229K bss, 10596K 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 - 0xc03bd468   (3798 kB)
[    0.000000]       .init : 0xc0503000 - 0xc0550000   ( 308 kB)
[    0.000000]       .data : 0xc0550000 - 0xc05a1490   ( 326 kB)
[    0.000000]        .bss : 0xc05a4b14 - 0xc05de214   ( 230 kB)
[    0.000000] ftrace: allocating 17887 entries in 35 pages
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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.007979] Switching to timer-based delay loop, resolution 5ns
[    0.014481] Console: colour dummy device 80x30
[17;1H[ 0.019076] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=800000)
[    0.029677] pid_max: default: 32768 minimum: 301
[    0.034594] Security Framework initialized
[ 0.038832] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.045674] AppArmor: AppArmor initialized
[ 0.050046] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.056819] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.064903] CPU: Testing write buffer coherency: ok
[    0.070812] Setting up static identity map for 0x8200 - 0x823c
[    0.077051] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.084587] devtmpfs: initialized
[    0.091148] VFP support v0.3: not present
[ 0.095487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.105405] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.112026] pinctrl core: initialized pinctrl subsystem
[    0.118318] NET: Registered protocol family 16
[ 0.123258] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.131380] cpuidle: using governor ladder
[    0.135624] cpuidle: using governor menu
[    0.140052] Feroceon L2: Enabling L2
[    0.143762] Feroceon L2: Cache support initialised.
[ 0.149021] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set [ 0.159689] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.173592] No ATAGs?
[    0.178361] clocksource: Switched to clocksource Orion_clocksource
[    0.209277] VFS: Disk quotas dquot_6.6.0
[ 0.213410] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.220878] AppArmor: AppArmor Filesystem Enabled
[    0.233204] NET: Registered protocol family 2
[ 0.238501] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.245735] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.252353] TCP: Hash tables configured (established 4096 bind 4096)
[    0.258973] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.264953] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.271512] NET: Registered protocol family 1
[    0.276732] audit: initializing netlink subsys (disabled)
[17;1H[ 0.282711] audit: type=2000 audit(0.220:1): state=initialized audit_enabled=0 res=1 [17;1H[ 0.290625] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[    0.297279] zbud: loaded
[    1.106361] random: fast init done
[    4.459654] Key type asymmetric registered
[    4.463933] Asymmetric key parser 'x509' registered
[ 4.468981] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    4.476599] io scheduler noop registered
[    4.480725] io scheduler cfq registered (default)
[ 4.486707] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    4.495938] mv_xor f1060800.xor: Marvell shared XOR driver
[ 4.531469] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.539350] mv_xor f1060900.xor: Marvell shared XOR driver
[ 4.575471] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy sg intr )
[    4.583541] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    4.590933] console [ttyS0] disabled
[ 4.594690] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 25, base_baud = 12500000) is a 16550A
[    4.603813] console [ttyS0] enabled
[    4.603813] console [ttyS0] enabled
[    4.610914] bootconsole [earlycon0] disabled
[    4.610914] bootconsole [earlycon0] disabled
[    4.620442] libphy: Fixed MDIO Bus: probed
[ 4.624899] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.631881] i2c /dev entries driver
[    4.636170] ledtrig-cpu: registered to indicate activity on CPUs
[    4.643106] registered taskstats version 1
[    4.647293] zswap: loaded using pool lzo/zbud
[    4.651787] AppArmor: AppArmor sha1 policy hashing enabled
[ 4.658158] rtc-mv f1010300.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[    4.667088] List of all partitions:
[    4.670619] No filesystem could mount root, tried:
[    4.670623]
[ 4.677034] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.685334] CPU: 0 PID: 1 Comm: swapper Not tainted 4.13.0-1-marvell #1 Debian 4.13.13-1
[    4.693456] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[ 4.699776] [<c00163a8>] (unwind_backtrace) from [<c0013214>] (show_stack+0x18/0x1c) [ 4.707563] [<c0013214>] (show_stack) from [<c0021014>] (panic+0xb8/0x254) [ 4.714478] [<c0021014>] (panic) from [<c0504320>] (mount_block_root+0x244/0x2e8) [ 4.721999] [<c0504320>] (mount_block_root) from [<c0504590>] (prepare_namespace+0x150/0x190) [ 4.730569] [<c0504590>] (prepare_namespace) from [<c0503ea8>] (kernel_init_freeable+0x160/0x1c0) [ 4.739480] [<c0503ea8>] (kernel_init_freeable) from [<c03b8e88>] (kernel_init+0x10/0xf4) [ 4.747694] [<c03b8e88>] (kernel_init) from [<c000f5f0>] (ret_from_fork+0x14/0x24) [ 4.755299] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   53.710404] random: crng init done






Kari Tanninen kirjoitti 1.3.2018 11:26:
HW: Guruplug Server plus with JTAG-box (ARMv5-family)
Debian U-boot version: Armel stretch (buster u-boot version freezes
when setting ethact IP-addresses), original U-boot pre-2014
Debain Installer version: stretch&buster


Problem: When trying to launch d-i (stretch&buster, with instructions
from Martin Michlmayr webpages) from USB-stick or memory (tftp-load),
installer freezes with text "Uncompressing Linux". Original U-boot
version pre-2014 has a documented bug with old u-boot versions
variables (bootm_size value). Setting initrd_high/fdt_high 0xffffffff
to fix doesn't help.

When FDT-blob loaded to fix problem(addres 0x0c000000)kernel founds
fdt and uInird and starts obviously normally but won't read command
line parametres from fdt-memory area as should (using original default
fdt instead), and cannot find root file system (on default fdt-file
root filesystem is not defined).

Seems that U-boot sets and finds command line parametres to/from fdt
normally, but kernel doesn't use it. (maybe d-i kernel configured for
statical fdt?)

Reference: Globalscale Fedora 11 (+ OpenDC) development package works
and installs (unfortunatelly very old) system without major problems
(minor changes with MAC-address space defaults to perl script needed)
-> HW probably OK

Is there any fix-up/work-aroud trick available or is new kernel
compiling only option?

Kari Tanninen


Reply to: