Bug#928340: Linux 4.9.0-9-686: Boot hangs on Geode LX.

2019-05-02 Thread Ben Hutchings
On Thu, 2019-05-02 at 14:44 +0200, Björn Persson wrote:
> Package: src:linux
> Version: 4.9.168-1
> Severity: critical
> File: /boot/vmlinuz-4.9.0-9-686
> Justification: breaks the whole system
> 
> Dear Maintainer,
> 
> Debian 9 fails to boot on a Soekris net5501 with a Geode LX processor.
> Debian 8 worked fine. Running Debian 9 on Linux 3.16.0-8-586 from Debian
> 8 works. (That's what I'm running Reportbug on.) Linux 4.9.0-7-686,
> 4.9.0-8-686 and 4.9.0-9-686 appear to hang early in the boot process.
> The disk activity light remains lit when the system hangs. I'm attaching
> a boot log acquired over a serial console.
> 
> I'm reporting this against the kernel because replacing only the kernel
> works around the problem, but it looks like SystemD has been started
> when the hang occurs, so I suppose a userspace issue can't be completely
> ruled out.
> 
> Given that a kernel compiled for i586 works and one compiled for i686
> does not, one might suspect that the processor isn't i686-compatible.
> This seems to be rather unclear. According to the release notes this
> processor should still be supported. It has all of the flags that this
> script tests for:
> https://www.debian.org/releases/stretch/i386/release-notes/ch-information#i386-is-now-almost-i686
[...]

The Geode LX's CPUID has family=5 (586), but I agree with your
understanding that it has all the important features of a 686 and
should still be supported.  In fact, I've specifically enabled
continued support for it in the current (buster/sid) 686 kernel
configuration.

I'm afraid I don't have any immediate ideas for how to fix or debug
this.

Ben.

-- 
Ben Hutchings
It is easier to write an incorrect program
than to understand a correct one.




signature.asc
Description: This is a digitally signed message part


Bug#928340: Linux 4.9.0-9-686: Boot hangs on Geode LX.

2019-05-02 Thread Björn Persson
Package: src:linux
Version: 4.9.168-1
Severity: critical
File: /boot/vmlinuz-4.9.0-9-686
Justification: breaks the whole system

Dear Maintainer,

Debian 9 fails to boot on a Soekris net5501 with a Geode LX processor.
Debian 8 worked fine. Running Debian 9 on Linux 3.16.0-8-586 from Debian
8 works. (That's what I'm running Reportbug on.) Linux 4.9.0-7-686,
4.9.0-8-686 and 4.9.0-9-686 appear to hang early in the boot process.
The disk activity light remains lit when the system hangs. I'm attaching
a boot log acquired over a serial console.

I'm reporting this against the kernel because replacing only the kernel
works around the problem, but it looks like SystemD has been started
when the hang occurs, so I suppose a userspace issue can't be completely
ruled out.

Given that a kernel compiled for i586 works and one compiled for i686
does not, one might suspect that the processor isn't i686-compatible.
This seems to be rather unclear. According to the release notes this
processor should still be supported. It has all of the flags that this
script tests for:
https://www.debian.org/releases/stretch/i386/release-notes/ch-information#i386-is-now-almost-i686

On the debian-user mailing list, some people say that support for Geode
LX has been dropped. Others say it should work. If it is actually no
longer supported, then please reassign this bug report to the release
notes. In that case the release notes should be updated to document
this, and provide an accurate test.

As near as I can tell this processor is a Geode LX 800. The bios boot
screen calls it "Geode LX 500 MHz". It looks very much like this:
https://commons.wikimedia.org/wiki/File:AMD_Geode_LX_800_CPU.jpg

The text on the processor is:

AMD
Geode
ALXC800EETJCVC
0703CQA
2003-05 C1
TAIWAN

$ cat /proc/cpuinfo 
processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 5
model   : 10
model name  : Geode(TM) Integrated Processor by AMD PCS
stepping: 2
microcode   : 0x8b
cpu MHz : 499.900
cache size  : 128 KB
fdiv_bug: no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu de pse tsc msr cx8 sep pge cmov clflush mmx mmxext 
3dnowext 3dnow vmmcall
bogomips: 999.80
clflush size: 32
cache_alignment : 32
address sizes   : 32 bits physical, 32 bits virtual
power management:


-- Package-specific info:
** Kernel log: boot messages should be attached

** Model information

** PCI devices:
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode 
companion] Host Bridge [1022:2080] (rev 31)
Subsystem: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] 
Host Bridge [1022:2080]
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
Kernel driver in use: via-rhine
Kernel modules: via_rhine

00:07.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] 
[1106:3053] (rev 96)
Subsystem: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:0106]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: via-rhine
Kernel modules: via_rhine

00:08.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] 
[1106:3053] (rev 96)
Subsystem: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:0106]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: via-rhine
Kernel modules: via_rhine

00:09.0 Ethernet controller [0200]: VIA Technologies, Inc. VT6105M [Rhine-III] 
[1106:3053] (rev 96)
Subsystem: VIA Technologies, Inc. VT6105M [Rhine-III] [1106:0106]
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- 
SERR- 
Kernel driver in use: via-rhine
Kernel modules: via_rhine

00:14.0 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode 
companion] ISA [1022:2090] (rev 03)
Subsystem: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode companion] 
ISA [1022:2090]
Control: I/O+ Mem- BusMaster- SpecCycle+ MemWINV- VGASnoop- ParErr- 
Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- TAbort- 
SERR- 
ii  grub-pc 2.02~beta3-5+deb9u1
pn  linux-doc-4.9   

Versions of packages linux-image-4.9.0-9-686 is related to:
pn  firmware-amd-graphics