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

"BUG: soft lockup" on A1200; was: Re: Updated installation images for Debian Ports 2019-04-20



Hello!

First of all thank you all for your efforts to revive the Debian ports
for m68k. I myself as a Debian fan, would love to make use of my
retro-rig with my favorite linux distro beside AmigaOS and NetBSD.
Unfortunately I am facing strange problem that might be related to some
specific hardware configuration, and therefore would like to consult
with the experienced users if my problems might be caused by either
software or hardware. Relevant hardware configuration comprises of a
stock 1D4 Amiga 1200 with Apollo 040 CPU card, recent Elbox FastATA IDE
controller with 40G IDE HDD and PCMCIA network card. All components
causes no problems with other OS'es and with neither KS 3.0, 3.1 nor
3.1.4 (might be important during boot-off of partition beyond 4G boundary).

Despite my multiple attempts to boot off the installation provided in
these ISO images, I was not able to we pass the kernel initialization. I
did succeed to boot and start the installation process using the old
images with kernel 2.4.27 (Debian 3.1) but since the PCMCIA network
causes null-pointer failure 1) and renders kernel 2.4 unusable on my
setup, even tough it manages to recognize 40G HDD connected to either
motherboard IDE or FastATA (primary IDE channel). With later kernel
revisions boot attempts finishes right at the moment when the partition
tables should be enlisted, and root partition should be mounted. But
nothing as such happens, instead a cryptic message is shown, and system
seems to hang, but power LED keeps blinking (heartbeat???). Full dmesg
can be found on PPA forum 2)

-----------------------------

[   32.480000] BUG: soft lockup - CPU#0 stuck for 23s!
[systemd-udevd:49]                                                                  

[   32.480000] Modules linked in: gayle(+)
ide_core                                                                                        

[  
32.480000]                                                                                                                             

[   32.480000] Format 00  Vector: 0078  PC: 0004d01e  Status: 2200   
Not tainted                                                          
[   32.480000] ORIG_D0: ffffffff  D0: 00000100  A2: 01e3b010  A1:
002fe130                                                                 
[   32.480000] A0: 01e68000  D5: 00000002  D4:
0000001e                                                                                    

[   32.480000] D3: 0000000a  D2: 00000002  D1: 00000002

-----------------------------

Problem with accessing HDD through an unsupported add-on card was
suspicious. So I gave it a try to boot without installed FastATA, but
the only difference I noticed is the following:

-----------------------------

$ diff -Nurw dmesg.4.19.37.bare dmesg.4.19.37.fata
--- dmesg.4.19.37.gayle  2019-06-04 19:26:19.951923915 +0200
+++ dmesg.4.19.37.fata  2019-06-04 19:25:31.219660738 +0200
@@ -1,3 +1,4 @@
+
 ABCDGHIJK
 Linux version 4.19.37-amiga (root@nb) (gcc version 8.3.0 (Debian
8.3.0-7)) #1 Sun May 26 21:20:29 UTC 2019
 Saving 250 bytes of bootinfo
@@ -55,9 +56,8 @@
 loop: module loaded
 Uniform Multi-Platform E-IDE driver
 ide: Gayle IDE controller (A1200 style)
+hda: probing with STATUS(0x50) instead of ALTSTATUS(0x0a)
 hda: SAMSUNG MP0402H, ATA DISK drive
-ide0 at 0x80da0000 on irq 2 (serialized)
-ide-gd driver 1.18
-hda: max request size: 1024KiB
+hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
+hdb: probing with STATUS(0x00) instead of ALTSTATUS(0x0a)
 random: crng init done

-----------------------------

To sum up the "BUG: soft lockup" behavior is consistent throughout all
kernels ranging from 3.1 up to 4.19 which I tried, but not with 2.4.27.

Thanks in advance for any suggestions,

Simon


1) https://lists.debian.org/debian-68k/2004/04/msg00080.html

2)
https://www.ppa.pl/forum/linux/35078/debian-unstable-na-1200-z-apollo-1240-i-64mb-ram#m529071


On 4/20/19 10:09 AM, John Paul Adrian Glaubitz wrote:
> Hello!
>
> I just uploaded updated installation images 2019-04-20 for the
> following Debian Ports architectures:
>
>  * alpha
>  * hppa
>  * ia64
>  * m68k
>  * powerpc
>  * ppc64
>  * sh4
>  * sparc64
>
> I uploaded both CD images [1] as well as netboot images [2].
>
> Please test those images and report back over the mailing list for
> the corresponding architecture.
>
> Known issues:
>
>  * alpha
>    - There have been reports about missing firmware for storage devices.
>      The firmware required for these devices is located in the
>      "firmware-linux" and "firmware-linux-nonfree" packages but currently
>      don't have a floppy driver in debian-installer to load additional
>      firmware. I will figure out how to build CD images including firmware
>      similar to the images available for i386 and amd64.
>  * hppa
>    - There have been reports about missing GPG keys during installation.
>      If you are seeing this issue, please provide me with the syslog,
>      information on your hardware, information on the image used and
>      a rough recap of what was done during install (normal vs. expert
>      mode etc).
>      This issue is most likely a bug specific to hppa as the issue doesn't
>      show on other architectures despite the fact that the missing key
>      would normally affect all architectures. I suspect a hack that
>      was added for hppa when the first CD images were built for Debian
>      Ports by the PA-RISC porters. I'll look into it.
>  * ia64
>    - The kernel might be unstable during install
>      (try passing "hardened_usercopy=off" at the boot prompt,
>       e.g. "install hardened_usercopy=off").
>    - If the machine locks up during boot with a radeon GPU,
>      try passing "modprobe_blacklist=radeon nomodeset".
>  * m68k
>    - The drivers for IDE hardware may have to be loaded manually, e.g.:
>      + modprobe pata_gayle
>      + modprobe pata_falcon
>    - There is no automatic installation of the bootloader yet,
>      users have to boot the kernel and initrd manually after
>      installation.
>  * powerpc/ppc64
>    - The bootloader installation still defaults to Yaboot and
>      is being switched to GRUB for IBM POWER and PowerMacs,
>      please report any issues you find.
>    - Unfortunately, upgrading the GRUB package will currently
>      render PowerMacs unbootable. See this thread for more:
>      https://lists.debian.org/debian-powerpc/2019/04/msg00165.html
>    - On some machines, the fans might produce a lot of noise,
>      this can be addressed by manually the windfarm kernel
>      modules:
>      + modprobe windfarm_core
>  * sh4
>    - There is no CD image, installation has to be performed
>      using the debian-installer images.
>    - Currently supported targets are Renesas SH-7785LCR and
>      SH-7751R, the latter should be identical to qemu-sh4.
>    - debian-installer for sh4 is completely untested, please
>      test with QEMU and report back. 
>    - The filenames for kernel and initrd still contain an
>       old 2.6.32.5 kernel version. This can be ignored.
>  * sparc64
>    - Installation over a serial console is currently broken
>      on sparc64 due to a bug in the rootskel package
>      (can also be considered a kernel bug), see: #926539.
>      Use any image before 2019-04-06 as workaround.
>
> Important:
>
> When reporting issues or bugs, please include the syslog
> from your installation in the bug report/mail. The log
> file can be access when switching to another console using
> <Alt>+<Cursor> for normal installations or <Ctrl>+<a>+<n>
> when installing over a serial console. I also need to know
> what hardware was used, which installation steps (normal
> vs. expert) and which image was used.
>
> I am currently collecting bug reports but cannot push the fixes
> immediately as the imminent Debian Buster release means that
> debian-installer and components are effectively frozen.
>
> Thanks,
> Adrian
>
>> [1] https://cdimage.debian.org/cdimage/ports/2019-04-12/
>> [2] https://cdimage.debian.org/cdimage/ports/debian-installer/

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: