Hi Szymon,
On 15/06/19 11:15 AM, Finn Thain wrote:
On Wed, 12 Jun 2019, Szymon Bieganski wrote:
Here is the end of dmesg (full log in attachment) when kernel stalls,
just as before:
------------------------
[ 122.430000] This architecture does not have kernel memory protection.
[ 122.440000] Run /init as init process
[ 126.690000] calling ide_init+0x0/0x7c [ide_core] @ 43
[ 126.700000] Uniform Multi-Platform E-IDE driver
[ 126.710000] initcall ide_init+0x0/0x7c [ide_core] returned 0 after
7988 usecs
[ 126.980000] calling amiga_gayle_ide_driver_init+0x0/0x1c [gayle] @ 43
[ 126.990000] ide: Gayle IDE controller (A1200 style)
[ 127.000000] Probing IDE interface ide0...
[ 127.390000] hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
[ 127.540000] hda: SAMSUNG MP0402H, ATA DISK drive
[ 127.610000] Z2RAM: using 0K Zorro II RAM and 512K Chip RAM (Total 512K)
[ 127.980000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
[ 128.200000] hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
[ 148.570000] watchdog: BUG: soft lockup - CPU#0 stuck for 22s!
[systemd-udevd:43]
Finn has raised the issue of systemd's short timeouts before. I'm
wondering whether that's part of your problem here. But the IDE driver
probe for a second disk should eventually complete, regardless of
systemd's udev module crashing?
Not sure whether the 'probing with STATUS instead of ALTSTATUS' message
is normal for the A1200. Geert might remember that sort of detail.
[ 148.570000] Modules linked in: gayle(+) ide_core
[ 148.570000] Format 00 Vector: 0078 PC: 00050b58 Status: 2200
Not tainted
[ 148.570000] ORIG_D0: ffffffff D0: 00000064 A2: 0151ef90 A1: 80bfe001
[ 148.570000] A0: 003f0c12 D5: 00000000 D4: 0000000a
[ 148.570000] D3: 00400140 D2: 00000001 D1: 8e6f286a
[ 759.250000] amikbd: Ctrl-Amiga-Amiga reset warning!!
[ 759.260000] amikbd: Ctrl-Amiga-Amiga reset warning!!
------------------------
If you see a difference in detection of IDE devices, it's due to fact
that I disconnected all but the master hard disk.
If you are willing to build your own kernel, you could try a different
driver:
CONFIG_IDE=n
CONFIG_ATA=y
CONFIG_ATA_SFF=y
CONFIG_PATA_GAYLE=y
IIRC Adrian has built the installer kernel with PATA driver support. You
might just need
modprobe.blacklist=gayle
in the boot options to switch to using PATA.
Cheers,
Michael