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

Re: Centris 650 Debian 10 SID Installation



On Sun, 9 Jun 2019, userm57@yahoo.com wrote:

> 
> >> After one of the failures, I tried booting into the new system. 
> >> Booting using the kernel from the CD didn't work -- there was a 
> >> two-minute pause, which ended in a kernel panic after not finding a 
> >> root filesystem (or any SCSI devices).
> >
> > Can you capture this sequence using the serial console and post it 
> > here?
> 
> Please see Centris-650.txt, attached. I suspect SCSI requires an initrd 
> with this kernel.  It would probably work with a non-installation 
> initrd.
> 

Right. You'd need a post-installation initrd. The installer will install 
the kernel package into the target filesystem and this produces a suitable 
initrd in /boot. (But note that this is inaccessible from the MacOS 
bootloader unless your /boot partition is formatted with HFS).

The real mystery here is the two minute pause:

[    2.560000] random: fast init done
[  133.760000] random: crng init done
[  146.040000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)

My first thought was that there isn't enough entropy before device drivers 
load. But I no longer think that this issue is related to the RNG at all, 
because when I boot that kernel in QEMU, I get a completely different 
result. (See attached log.) Weird.

> > ... 
> > 
> >> I see a login prompt on the VGA screen and on the serial console.  The 
> >> keymap on the VGA screen is wrong,
> > 
> > On the framebuffer console, what characters do you see when you type 
> > "root"?
> 
> I see "2==3" when I type "root".
> 

It seems that the old ADB keymap got enabled ("2==3" maps to "root"). This 
page has some explanation.
https://www.debian.org/ports/powerpc/keycodes

I guess a systemd unit loaded a bogus keymap with ADB keycodes. We need to 
"get rid of the ADB keymap" like that document says. I'll have to perform 
a full installation to figure out how to do that.

> > ...
> > If the installation completed normally, the log would be found in the 
> > target filesystem... please see 
> > https://www.debian.org/releases/stable/i386/ch06s01.html.en
> 
> ok, thanks.  I don't see "/var/log/installer", so apparently it wasn't
> written.
> 
> > ...
> > Did you run "apt-get update" after editting sources.list?
> 
> No, I hadn't done that, thanks.  Unfortunately, it starts updating but
> then appears to hang while running; I'll have to try it again later.

Yes, it takes forever.

-- 
[    0.000000] Linux version 4.19.0-5-m68k (debian-kernel@lists.debian.org) (gcc version 8.3.0 (Debian 8.3.0-7)) #1 Debian 4.19.37-1 (2019-05-05)
[    0.000000] Detected Macintosh model: 35
[    0.000000] Apple Macintosh Quadra 800
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129792
[    0.000000] Kernel command line: rw fbcon=font:ProFont6x11 console=ttyS0 
[    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] Sorting __ex_table...
[    0.000000] Memory: 513692K/524288K available (2870K kernel code, 399K rwdata, 1004K rodata, 156K init, 202K bss, 10596K reserved, 0K cma-reserved)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x2c/0x498 with crng_init=0
[    0.000000] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=1, Nodes=8
[    0.000000] NR_IRQS: 200
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [ttyS0] enabled
[    0.200000] Calibrating delay loop... 692.22 BogoMIPS (lpj=3461120)
[    0.200000] pid_max: default: 32768 minimum: 301
[    0.200000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.200000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.240000] devtmpfs: initialized
[    0.250000] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.250000] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.260000] NET: Registered protocol family 16
[    0.290000] NuBus: Scanning NuBus slots.
[    0.290000] Slot 9: Board resource not found!
[    0.290000] SCSI subsystem initialized
[    0.300000] VFS: Disk quotas dquot_6.6.0
[    0.300000] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.340000] NET: Registered protocol family 2
[    0.340000] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.340000] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.350000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.350000] TCP: Hash tables configured (established 4096 bind 4096)
[    0.350000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.350000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.350000] NET: Registered protocol family 1
[    0.350000] NET: Registered protocol family 44
[    0.360000] Key type blacklist registered
[    0.360000] workingset: timestamp_bits=11 max_order=17 bucket_order=6
[    0.400000] zbud: loaded
[    2.560000] random: fast init done
[    2.620000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    2.620000] io scheduler noop registered
[    2.620000] io scheduler cfq registered (default)
[    2.620000] io scheduler mq-deadline registered
[    2.630000] atafb_init: start
[    2.630000] macfb: framebuffer at 0xf9001000, mapped to 0x(ptrval), size 234k
[    2.630000] macfb: mode is 800x600x4, linelength=400
[    2.650000] Console: switching to colour frame buffer device 133x54
[    2.670000] fb0: DAFB frame buffer device
[    2.670000] pmac_zilog: 0.6 (Benjamin Herrenschmidt <benh@kernel.crashing.org>)
[    2.680000] scc.0: ttyS0 at MMIO 0x50f0c022 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
[    2.680000] scc.1: ttyS1 at MMIO 0x50f0c020 (irq = 4, base_baud = 230400) is a Z85c30 ESCC - Serial port
[    2.680000] adb: Mac II ADB Driver v1.0 for Unified ADB
[    2.680000] mousedev: PS/2 mouse device common for all mice
[    2.680000] rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
[    2.680000] ledtrig-cpu: registered to indicate activity on CPUs
[    2.680000] NET: Registered protocol family 17
[    2.690000] mpls_gso: MPLS GSO support
[    2.690000] registered taskstats version 1
[    2.690000] zswap: loaded using pool lzo/zbud
[    2.690000] ADB keyboard at 2, handler 1
[    2.690000] Detected ADB keyboard, type <unknown>.
[    2.690000] input: ADB keyboard as /devices/virtual/input/input0
[    2.690000] ADB mouse at 3, handler 1
[    2.690000] input: ADB mouse as /devices/virtual/input/input1
[    2.690000] rtc-generic rtc-generic: setting system clock to 2019-06-10 01:49:48 UTC (1560131388)
[    2.700000] List of all partitions:
[    2.700000] No filesystem could mount root, tried: 
[    2.700000] 
[    2.700000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    2.700000] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0-5-m68k #1 Debian 4.19.37-1
[    2.700000] Stack from 1fc3def4:
[    2.700000]         1fc3def4 003a3823 0002c220 00008001 000f0ee0 002c6474 00002096 1fc3df54
[    2.700000]         000500ba 002c6474 009e9548 0043238c 00368295 1fc3df54 00000000 1fc3df54
[    2.700000]         0038e0f5 00000000 0000000c 0003ec9e 000eda64 00455b2c 0044e094 002c629e
[    2.700000]         756e6b6e 6f776e2d 626c6f63 6b28302c 3029009c 003682f9 00006180 00000000
[    2.700000]         0043241e 003682f9 00008000 00000056 00000008 00432594 000eda64 00455b2c
[    2.700000]         0044e094 00432034 00000000 fffffffc 0d1cef00 00000000 002c9dfe 00000000
[    2.700000] Call Trace: [<0002c220>] panic+0xa4/0x232
[    2.700000]  [<00008001>] pcmcia_copy_tuple+0x19/0x76
[    2.700000]  [<000f0ee0>] ksys_mount+0x0/0x82
[    2.700000]  [<002c6474>] strlen+0x0/0x14
[    2.700000]  [<00002096>] do_one_initcall+0x0/0x162
[    2.700000]  [<000500ba>] printk+0x0/0x18
[    2.700000]  [<002c6474>] strlen+0x0/0x14
[    2.700000]  [<0043238c>] mount_block_root+0x21a/0x232
[    2.700000]  [<0003ec9e>] parse_args+0x0/0x2c4
[    2.700000]  [<000eda64>] ksys_dup+0x0/0x46
[    2.700000]  [<002c629e>] strcpy+0x0/0x1c
[    2.700000]  [<00006180>] flush_icache_range+0x7c/0xd2
[    2.700000]  [<0043241e>] mount_root+0x7a/0x82
[    2.700000]  [<00008000>] pcmcia_copy_tuple+0x18/0x76
[    2.700000]  [<00432594>] prepare_namespace+0x16e/0x17c
[    2.700000]  [<000eda64>] ksys_dup+0x0/0x46
[    2.700000]  [<00432034>] kernel_init_freeable+0x172/0x192
[    2.700000]  [<002c9dfe>] kernel_init+0x0/0xd2
[    2.700000]  [<002c9e06>] kernel_init+0x8/0xd2
[    2.700000]  [<002c9dfe>] kernel_init+0x0/0xd2
[    2.700000]  [<000028a0>] ret_from_kernel_thread+0xc/0x14
[    2.700000] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---

Reply to: