Re: Debian initramfs/initrd, was Re: stack smashing detected
Hi Geert,
On 2/6/23 12:52 AM, Geert Uytterhoeven wrote:
> Hi Stan,
>
> On Mon, Feb 6, 2023 at 4:42 AM Stan Johnson <userm57@yahoo.com> wrote:
>> On an SE/30 with 128 MiB memory, the latest Debian SID kernel
>> (vmlinux-6.1.0-2-m68k), using Debian SID modules, and with
>> initrd-6.1.0-2-m68k built on the SE/30, hangs after the initial
>> "ABCFGHIJK" (I tried it twice).
>
> If you get to "K", you're almost at the end of arch/m68k/kernel/head.S,
> and it is very likely the kernel C-code actually started.
> Do you get any output using "debug earlyprintk" on the kernel command
> line?
> ...
Please see the attached serial console log, which all happened within an
hour after I set the Penguin loose (I have Penguin-19 configured to use
32768 K memory). There was nothing more after two additional hours.
Creation of the initrd completed normally (and I know now that I can
just use the one that gets created in QEMU), and I confirmed the MD5
checksums of the kernel and initrd after copying them to MacOS.
-Stan
ABCFGHIJK
[ 0.000000] Linux version 6.1.0-2-m68k (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-12) 12.2.0, GNU ld (GNU Binutils for Debian) 2.39.90
.20230104) #1 Debian 6.1.7-1 (2023-01-18)
[ 0.000000] printk: debug: ignoring loglevel setting.
[ 0.000000] printk: bootconsole [debug0] enabled
[ 0.000000] Detected Macintosh model: 9
[ 0.000000] Penguin bootinfo data:
[ 0.000000] Video: addr 0xfee08040 row 0x40 depth 1 dimensions 512 x 342
[ 0.000000] Videological 0xf0208040 phys. 0xfee08040, SCC at 0x50f04000
[ 0.000000] Boottime: 0x63e0cc5b GMTBias: 0xfffffe5c
[ 0.000000] Machine ID: 9 CPUid: 0x1 memory size: 0x80
[ 0.000000] Apple Macintosh SE/30
[ 0.000000] initrd: 077d8c00 - 08000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000000000000-0x0000007fffffffff]
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32448
[ 0.000000] Kernel command line: root=/dev/sda5 console=tty0 console=ttyS0,38400n8 ignore_loglevel earlyprintk
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Sorting __ex_table...
[ 0.000000] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[ 0.000000] Memory: 115716K/131072K available (3647K kernel code, 583K rwdata, 1168K rodata, 168K init, 179K bss, 15356K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 200
[ 0.000000] clocksource: via1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 2439823894983 ns
[ 0.040000] Console: colour dummy device 80x25
[ 0.210000] printk: console [tty0] enabled
[ 0.220000] printk: console [ttyS0] enabled
[ 0.220000] printk: console [ttyS0] enabled
[ 0.260000] printk: bootconsole [debug0] disabled
[ 0.260000] printk: bootconsole [debug0] disabled
[ 0.300000] Calibrating delay loop... 3.48 BogoMIPS (lpj=17408)
[ 0.460000] pid_max: default: 32768 minimum: 301
[ 0.820000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.840000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 1.470000] cblist_init_generic: Setting adjustable number of callback queues.
[ 1.480000] cblist_init_generic: Setting shift to 0 and lim to 1.
[ 1.700000] devtmpfs: initialized
[ 2.020000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 2.050000] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 2.520000] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 2.590000] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 2.620000] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 4.410000] NuBus: Scanning NuBus slots.
[ 4.660000] SCSI subsystem initialized
[ 5.020000] clocksource: Switched to clocksource via1
[ 5.210000] VFS: Disk quotas dquot_6.6.0
[ 5.250000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 7.880000] NET: Registered PF_INET protocol family
[ 7.940000] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 8.280000] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 8.330000] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 8.350000] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 8.370000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 8.390000] TCP: Hash tables configured (established 1024 bind 1024)
[ 8.470000] MPTCP token hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 8.510000] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 8.540000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 8.650000] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 8.670000] NET: Registered PF_XDP protocol family
[ 8.810000] Initialise system trusted keyrings
[ 8.840000] Key type blacklist registered
[ 8.980000] Trying to unpack rootfs image as initramfs...
[ 15.290000] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[ 19.550000] zbud: loaded
[ 20.140000] Key type asymmetric registered
[ 20.170000] Asymmetric key parser 'x509' registered
[ 254.590000] INFO: task kworker/u2:2:24 blocked for more than 125 seconds.
[ 254.610000] Not tainted 6.1.0-2-m68k #1 Debian 6.1.7-1
[ 254.630000] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 254.650000] task:kworker/u2:2 state:D stack:0 pid:24 ppid:22 flags:0x00000000
[ 254.670000] Stack from 01293fcc:
[ 254.670000] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 254.670000] 00000000 00000000 00000000 20000000 00000000
[ 254.730000] Call Trace:
[ 255.060000] random: crng init done
Reply to: