Bug#915862: linux-image-4.18.0-3-686-pae: Doesn't boot/printk on Geode LX

2018-12-07 Thread Gert

After testing several other kernels, I think I have found the root cause:
Geode LX does not support PAE.
How could I have missed that, sorry for the noise.
I don't know how to close this bug properly myself.



Bug#915862: linux-image-4.18.0-3-686-pae: Doesn't boot/printk on Geode LX

2018-12-07 Thread Gert

This kernel, from the installer, does boot:
http://ftp.de.debian.org/debian/dists/testing/main/installer-i386/20181206/images/hd-media/
It has the same version numbers as the "normal" deb that doesn't boot 
(on which I reported).

See attachment for dmesg.
[0.00] Linux version 4.18.0-3-686 (debian-ker...@lists.debian.org) (gcc 
version 7.3.0 (Debian 7.3.0-30)) #1 SMP Debian 4.18.20-2 (2018-11-23)
[0.00] x86/fpu: x87 FPU will use FSAVE
[0.00] BIOS-provided physical RAM map:
[0.00] BIOS-e820: [mem 0x-0x0009] usable
[0.00] BIOS-e820: [mem 0x000f-0x000f] reserved
[0.00] BIOS-e820: [mem 0x0010-0x0fff] usable
[0.00] BIOS-e820: [mem 0xfff0-0x] reserved
[0.00] bootconsole [earlyser0] enabled
[0.00] Notice: NX (Execute Disable) protection missing in CPU!
[0.00] DMI not present or invalid.
[0.00] e820: update [mem 0x-0x0fff] usable ==> reserved
[0.00] e820: remove [mem 0x000a-0x000f] usable
[0.00] last_pfn = 0x1 max_arch_pfn = 0x10
[0.00] Disabled
[0.00] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[0.00] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[0.00] initial memory mapped: [mem 0x-0x0cff]
[0.00] Base memory trampoline at [(ptrval)] 9b000 size 16384
[0.00] RAMDISK: [mem 0x0e901000-0x0f9eafff]
[0.00] ACPI: Early table checksum verification disabled
[0.00] ACPI BIOS Error (bug): A valid RSDP was not found 
(20180531/tbxfroot-210)
[0.00] 0MB HIGHMEM available.
[0.00] 256MB LOWMEM available.
[0.00]   mapped low ram: 0 - 1000
[0.00]   low ram: 0 - 1000
[0.00] tsc: Fast TSC calibration using PIT
[0.00] BRK [0x0ca69000, 0x0ca69fff] PGTABLE
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x1000-0x00ff]
[0.00]   Normal   [mem 0x0100-0x0fff]
[0.00]   HighMem  empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x1000-0x0009]
[0.00]   node   0: [mem 0x0010-0x0fff]
[0.00] Initmem setup node 0 [mem 0x1000-0x0fff]
[0.00] On node 0 totalpages: 65439
[0.00]   DMA zone: 40 pages used for memmap
[0.00]   DMA zone: 0 pages reserved
[0.00]   DMA zone: 3999 pages, LIFO batch:0
[0.00]   Normal zone: 600 pages used for memmap
[0.00]   Normal zone: 61440 pages, LIFO batch:15
[0.00] Using APIC driver default
[0.00] SFI: Simple Firmware Interface v0.81 http://simplefirmware.org
[0.00] No local APIC present or hardware disabled
[0.00] APIC: disable apic facility
[0.00] APIC: switched to apic NOOP
[0.00] smpboot: Allowing 1 CPUs, 0 hotplug CPUs
[0.00] PM: Registered nosave memory: [mem 0x-0x0fff]
[0.00] PM: Registered nosave memory: [mem 0x000a-0x000e]
[0.00] PM: Registered nosave memory: [mem 0x000f-0x000f]
[0.00] [mem 0x1000-0xffef] available for PCI devices
[0.00] Booting paravirtualized kernel on bare hardware
[0.00] clocksource: refined-jiffies: mask: 0x max_cycles: 
0x, max_idle_ns: 7645519600211568 ns
[0.00] random: get_random_bytes called from start_kernel+0x81/0x46f 
with crng_init=0
[0.00] setup_percpu: NR_CPUS:32 nr_cpumask_bits:32 nr_cpu_ids:1 
nr_node_ids:1
[0.00] percpu: Embedded 29 pages/cpu @(ptrval) s86924 r0 d31860 u118784
[0.00] pcpu-alloc: s86924 r0 d31860 u118784 alloc=29*4096
[0.00] pcpu-alloc: [0] 0 
[0.00] Built 1 zonelists, mobility grouping on.  Total pages: 64799
[0.00] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-installer 
root=UUIge_poison=1 slab_nomerge pti=on nomfgptr ipv6.disable=1 noisapnp 
slub_debug=P pag
[0.00] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[0.00] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[0.00] BRK [0x0ca6a000, 0x0ca6afff] PGTABLE
[0.00] Initializing CPU#0
[0.00] Initializing HighMem for node 0 (:)
[0.00] Memory: 230796K/261756K available (6442K kernel code, 634K 
rwdatem)2036K rodata, 828K init, 424K bss, 30960K reserved, 0K cma-reserved, 0K 
highme
[0.00] virtual kernel memory layout:
[0.00] fixmap  : 0xffd35000 - 0xf000   (2856 kB)
[0.00]   cpu_entry : 0xff40 - 0xff8e1000   (4996 kB)
[0.00] pkmap   : 0xff00 - 0xff40   (4096 kB)
[0.00] vmalloc : 0xd080 - 0xfeffe000   ( 743 MB)
[0.00] lowmem  : 0xc000 - 0xd000   ( 256 

Bug#915862: linux-image-4.18.0-3-686-pae: Doesn't boot/printk on Geode LX

2018-12-07 Thread Gert
Package: src:linux
Version: 4.18.20-2
Severity: normal

Dear Maintainer,

I tried Buster with 4.18.20-2 kernel on an Alix 2C2, with Geode LX800, BIOS 
0.99m.
After grub unpacking initramfs, the (serial) console outputs nothing (despite 
earlyprintk/boot_delay), then it reboots by itself.
(Same with 4.18.10-1)

Then I tried linux-image-4.18.0-0.bpo.1-686_4.18.6-1~bpo9+1_i386.deb, and that 
works mostly fine.
With this kernel, printk starts at about the same time, as with the other 
kernel I would see the POST.
(Stretch 4.9 kernel also works FWIW).

For reference, I saw a Geode LX issue mentioned in this thread too:
https://lists.debian.org/debian-kernel/2018/09/msg00295.html
My issue is maybe different than that, because I get no output at all (no "not 
compatible with i586" message).
And as the stretch-backports kernel does work, I thought it isn't due to (the 
mentioned in thread) upstream, but due to Debian's config.
(Or was perhaps meant, upstream gcc?)

>From the Debian kernel changelog I concluded, the problem from that thread 
>might have been fixed in 4.18.10-1. At least in there is a Geode fix.
So, as mentioned, I also tried that kernel, but same problem.

Note that the info below is while booted with the backports kernel (same 
commandline options etc).
The info above (Subject/Version) I edited to match the nonbooting kernel.

Thank you,
Gert


-- Package-specific info:
** Version:
Linux version 4.18.0-0.bpo.1-686

** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.18.0-0.bpo.1-686 
root=UUID=423c6d29-ad6f-4de5-8612-b7dfcf8c9efd ro console=ttyS0,115200n8 
earlyprintk=ttyS0,115200n8 apparmor=1 security=apparmor ipv6.disable=1 noisapnp 
slub_debug=P page_poison=1 slab_nomerge pti=on nomfgpt

** Not tainted

** Kernel log:
Unable to read kernel log; any relevant messages should be attached

** Model information
Alix 2C2
Geode LX800
BIOS 0.99m

** Loaded modules:
evdev
gpio_cs5535
scx200_acb
cs5535_mfgpt
ohci_pci
ohci_hcd
ehci_pci
cbc
ehci_hcd
pcspkr
sg
geode_aes
usbcore
gpio_keys_polled
via_rhine
mii
leds_gpio
input_polldev
cs5535_mfd
usb_common
geode_rng
rng_core
ip_tables
x_tables
autofs4
ext4
crc16
mbcache
jbd2
crc32c_generic
fscrypto
ecb
crypto_simd
cryptd
aes_i586
sd_mod
ata_generic
pata_cs5536
pata_amd
libata
scsi_mod

** Network interface configuration:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug enp0s9
iface enp0s9 inet dhcp

** Network status:
*** IP interfaces and addresses:
1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group 
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
   valid_lft forever preferred_lft forever
2: enp0s9:  mtu 1500 qdisc pfifo_fast state UP 
group default qlen 1000
link/ether 00:0d:b9:12:d0:f4 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.226/24 brd 192.168.1.255 scope global enp0s9
   valid_lft forever preferred_lft forever
3: enp0s11:  mtu 1500 qdisc noop state DOWN group default 
qlen 1000
link/ether 00:0d:b9:12:d0:f5 brd ff:ff:ff:ff:ff:ff

*** Device statistics:
Inter-|   Receive|  Transmit
 face |bytespackets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
enp0s11:   0   0000 0  0 00 
  0000 0   0  0
enp0s9:   59613 392000 0  0 059482 
343000 0   0  0
lo:   0   0000 0  0 00  
 0000 0   0  0


** 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:0b.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:0f.0 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] CS5536 [Geode 
companion] ISA [1022:2090] (rev 03)
Subsystem: Advanced Micro Devices, Inc. [AMD] CS5536