Bug#1011777: Same problem with 5.18.0-2-alpha-smp kernel

2023-04-09 Thread Alex Ernst
 Same problem with 5.18.0-2-alpha-smp kernel (5.18.0-2-alpha-generic boots
fine).
Also tested with 6.0.0 kernel - same problem.
OpenBSD 6.6 and Tru64 boot fine on this machine and both use 2 processors.

Boot logs from 5.18.0-2-alpha-smp and 5.18.0-2-alpha-generic are below for
comparison:


aboot: loading uncompressed vmlinuz...
aboot: loading compressed vmlinuz...
aboot: zero-filling 376684 bytes at 0xfc0002550e4c
aboot: loading initrd (29170220 bytes/7121 blocks) at 0xfc00fe064000
aboot: starting kernel vmlinuz with arguments ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] Linux version 5.18.0-2-alpha-generic (
debian-ker...@lists.debian.org) (gcc-11 (Debian 11.3.0-3) 11.3.0, GNU ld
(GNU Binutils for Debian) 2.38.50.20220622) #1 Debian 5.18.5-1 (2022-06-16)
[0.00] Booting GENERIC on Titan variation Granite using machine
vector PRIVATEER from SRM
[0.00] Major Options: MAGIC_SYSRQ
[0.00] Command line: ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] memcluster 0, usage 1, start0, end  395
[0.00] memcluster 1, usage 0, start  395, end   524279
[0.00] memcluster 2, usage 1, start   524279, end   524288
[0.00] Initial ramdisk at: 0x(ptrval) (29170220 bytes)
[0.00] 8192K Bcache detected; load hit latency 24 cycles, load miss
latency 137 cycles
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x-0x0fffdfff]
[0.00]   Normal   empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x-0x]
[0.00] Initmem setup node 0 [mem
0x-0x]
[0.00] Built 1 zonelists, mobility grouping on.  Total pages: 520192
[0.00] Kernel command line: ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] Dentry cache hash table entries: 524288 (order: 9, 4194304
bytes, linear)
[0.00] Inode-cache hash table entries: 262144 (order: 8, 2097152
bytes, linear)
[0.00] Sorting __ex_table...
[0.00] mem auto-init: stack:off, heap alloc:on, heap free:off
[0.00] Memory: 4097288K/4194304K available (9074K kernel code,
9491K rwdata, 2768K rodata, 424K init, 367K bss, 97016K reserved, 0K
cma-reserved)
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[0.00] NR_IRQS: 32784
[0.00] Turning on RTC interrupts.
[0.000976] Console: colour dummy device 80x25
[0.027343] printk: console [ttyS0] enabled
[0.028320] Calibrating delay loop... 1987.32 BogoMIPS (lpj=969728)
[0.036132] pid_max: default: 32768 minimum: 301
[0.037109] LSM: Security Framework initializing
[0.038085] Yama: disabled by default; enable with sysctl kernel.yama.*
[0.039062] AppArmor: AppArmor initialized
[0.040039] TOMOYO Linux initialized
[0.041992] Mount-cache hash table entries: 8192 (order: 3, 65536 bytes,
linear)
[0.042968] Mountpoint-cache hash table entries: 8192 (order: 3, 65536
bytes, linear)
[0.046874] cblist_init_generic: Setting adjustable number of callback
queues.
[0.047851] cblist_init_generic: Setting shift to 0 and lim to 1.
[0.048828] Performance events: Supported CPU type!
[0.050781] devtmpfs: initialized
[0.054687] clocksource: jiffies: mask: 0x max_cycles:
0x, max_idle_ns: 1866466235866741 ns
[0.055664] futex hash table entries: 256 (order: -1, 6144 bytes, linear)
[0.057617] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[0.058593] audit: initializing netlink subsys (disabled)
[0.060546] thermal_sys: Registered thermal governor 'fair_share'
[0.060546] thermal_sys: Registered thermal governor 'bang_bang'
[0.061523] thermal_sys: Registered thermal governor 'step_wise'
[0.062499] thermal_sys: Registered thermal governor 'user_space'
[0.063476] EISA bus registered
[0.065429] PCI host bridge to bus :00
[0.066406] pci_bus :00: root bus resource [io  0x-0x1ff]
[0.067382] pci_bus :00: root bus resource [mem
0x-0x7fff]
[0.068359] pci_bus :00: No busn resource found for root bus, will
use [bus 00-ff]
[0.069335] pci :00:07.0: [10b9:1533] type 00 class 0x060100
[0.070312] pci :00:08.0: [8086:1209] type 00 class 0x02
[0.071289] pci :00:08.0: reg 0x10: [mem 0x0102-0x01020fff]
[0.072265] pci :00:08.0: reg 0x14: [io  0x1-0x1003f]
[0.073242] pci :00:08.0: reg 0x18: [mem 0x0100-0x0101]
[0.074218] pci :00:08.0: supports D1 D2
[0.075195] pci :00:08.0: PME# supported from D0 D1 D2 D3hot
[0.076171] pci :00:0c.0: [0e11:a0f7] type 00 class 0x080400
[0.077148] pci :00:0c.0: reg 0x10: [mem 0x01021000-0x010210ff]
[0.079101] pci :00:10.0: [10b9:5229] type 00 class 0x0101fa
[0.080078] pci 

Bug#1011777: Debian 11 alpha-smp kernel refuses to boot on Alphaserver DS25 (Package: kernel-package)

2022-05-26 Thread Alex Ernst
Package: kernel-package

alpha-generic kernel boots and detects 2 CPUs (cpus detected : 2):
==

root@AlphaSMP:/mnt# uname -a
Linux AlphaSMP 5.17.0-2-alpha-generic #1 Debian 5.17.6-1 (2022-05-11) alpha
GNU/Linux

root@AlphaSMP:/mnt# cat /proc/cpuinfo
cpu : Alpha
cpu model   : EV68CB
cpu variation   : 7
cpu revision: 0
cpu serial number   : JA24700473
system type : Titan
system variation: Granite
system revision : 0
system serial number: AY24703444
cycle frequency [Hz]: 10
timer frequency [Hz]: 1024.00
page size [bytes]   : 8192
phys. address bits  : 44
max. addr. space #  : 255
BogoMIPS: 1987.32
kernel unaligned acc: 11194 (pc=fffc00391e68,va=fc0003b1c242)
user unaligned acc  : 0 (pc=0,va=0)
platform string : AlphaServer DS25
cpus detected   : 2
L1 Icache   : 64K, 2-way, 64b line
L1 Dcache   : 64K, 2-way, 64b line
L2 cache: 8192K, 1-way, 64b line
L3 cache: n/a

alpha-smp kernel refuses to boot:
=
aboot: loading uncompressed vmlinuz...
aboot: loading compressed vmlinuz...
aboot: zero-filling 475668 bytes at 0xfc00027fcbe4
aboot: loading initrd (28840064 bytes/7041 blocks) at 0xfc007e0a2000
aboot: starting kernel vmlinuz with arguments ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] Linux version 5.17.0-2-alpha-smp (
debian-ker...@lists.debian.org) (gcc-11 (Debian 11.3.0-1) 11.3.0, GNU ld
(GNU Binutils for Debian) 2.38) #1 SMP Debian 5.17.6-1 (2022-05-11)
[0.00] Booting GENERIC on Titan variation Granite using machine
vector PRIVATEER from SRM
[0.00] Major Options: SMP MAGIC_SYSRQ
[0.00] Command line: ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] memcluster 0, usage 1, start0, end  395
[0.00] memcluster 1, usage 0, start  395, end   262135
[0.00] memcluster 2, usage 1, start   262135, end   262144
[0.00] Initial ramdisk at: 0x(ptrval) (28840064 bytes)
[0.00] 8192K Bcache detected; load hit latency 24 cycles, load miss
latency 137 cycles
[0.00] SMP: 2 CPUs probed -- cpu_present_mask = 3
[0.00] Zone ranges:
[0.00]   DMA  [mem 0x-0x0fffdfff]
[0.00]   Normal   empty
[0.00] Movable zone start for each node
[0.00] Early memory node ranges
[0.00]   node   0: [mem 0x-0x7fff]
[0.00] Initmem setup node 0 [mem
0x-0x7fff]
[0.00] percpu: Embedded 8 pages/cpu s24192 r8192 d33152 u65536
[0.00] Built 1 zonelists, mobility grouping on.  Total pages: 260096
[0.00] Kernel command line: ro
 root=UUID=15b2a3ef-adbc-49a5-b99e-7d2c9cf9d073 console=ttyS0
[0.00] Dentry cache hash table entries: 262144 (order: 8, 2097152
bytes, linear)
[0.00] Inode-cache hash table entries: 131072 (order: 7, 1048576
bytes, linear)
[0.00] Sorting __ex_table...
[0.00] mem auto-init: stack:off, heap alloc:on, heap free:off
[0.00] Memory: 2016984K/2097152K available (9786K kernel code,
11330K rwdata, 2904K rodata, 472K init, 464K bss, 80168K reserved, 0K
cma-reserved)
[0.00] random: get_random_u64 called from
__kmem_cache_create+0x54/0x6b0 with crng_init=0
[0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[0.00] rcu: Hierarchical RCU implementation.
[0.00] rcu: RCU restricting CPUs from NR_CPUS=32 to
nr_cpu_ids=2.
[0.00]  Tracing variant of Tasks RCU enabled.
[0.00] rcu: RCU calculated value of scheduler-enlistment delay is
102 jiffies.
[0.00] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[0.00] NR_IRQS: 32784
[0.001953] Console: colour dummy device 80x25
[0.035156] printk: console [ttyS0] enabled
[0.036132] Calibrating delay loop... 1987.32 BogoMIPS (lpj=969728)
[0.043945] pid_max: default: 32768 minimum: 301
[0.044921] LSM: Security Framework initializing
[0.045898] Yama: disabled by default; enable with sysctl kernel.yama.*
[0.046874] AppArmor: AppArmor initialized
[0.047851] TOMOYO Linux initialized
[0.048828] Mount-cache hash table entries: 4096 (order: 2, 32768 bytes,
linear)
[0.049804] Mountpoint-cache hash table entries: 4096 (order: 2, 32768
bytes, linear)
[0.052734] SMP starting up secondaries.
[0.054687] cblist_init_generic: Setting adjustable number of callback
queues.
[0.055664] cblist_init_generic: Setting shift to 1 and lim to 1.
[0.056640] Performance events: Supported CPU type!
[0.057617] rcu: Hierarchical SRCU implementation.
[0.059570] smp: Bringing up secondary CPUs ...
[0.071289] smp: Brought up 1 

Bug#931933: Booting jessie on the same C8000 works like a charm

2019-07-13 Thread Alex Ernst
Booting jessie on the same C8000 is a beauty, works like a song:

Booting...  10f700e0    CC_BOOT_INIT_OTHR_PATH

Boot IO Dependent Code (IODC) revision 2
 100200e0    CC_BOOT_LOAD_IPL_OTHR_PATH
 160012cb00e0    CC_MPS_SLAVE_WAKEUP_ALL
 160012cd00e0  0001  CC_MPS_SLAVE_WAKEUP
 080012ce00e0  00f0f0d07888  CC_MPS_SLAVE_WAKE_FUNC
 160012d501e0  0100023a  CC_MPS_SLAVE_AWAKE
 097c00e0  91ff  CC_BOOT_MONARCH_SLAVE_CHECK
 080012d601e0  00f0f0d07888  CC_MPS_SLAVE_WAKE_ADDR
 160012cf00e0  910e  CC_MPS_CPU_WAITING
 0300096301e0  0808  CC_BOOT_MEM_CPU_RENDEZVOUS
 160012d301e0  01009000  CC_MPS_SLAVE_SLEEPING
 080012d401e0  00f0f0d07e40  CC_MPS_SLAVE_SLEEP_ADDR
 160012d000e0  9100  CC_MPS_CPU_WAIT_OVER


HARD Booted.
 109800e0    CC_BOOT_LAUNCH_IPL_OTHR
 0100142900e0  fff0f0e09d80  CC_CPU_INTRIGUE_LDB
 3400082100e0  0001  CC_BOOT_BOOT_COMPLETE
palo ipl 1.95 root@mkhppa3 Thu Apr 17 20:15:17 UTC 2014
Skipping extended partition 5 - beyond reach of IPL

Partition Start(MB) End(MB) Id Type
1   2  38   f0 Palo
2  39 276   83 ext2
3 277   47960   83 ext2

PALO(F0) partition contains:
0/vmlinux64 11930248(0) bytes @ 0x14

Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).
Command line for kernel: 'root=UUID=7389e709-a47d-4e36-b2c5-373e87dd6f89
HOME=/ console=ttyS0 TERM=vt102 palo_kernel=2/vmlinux'
Selected kernel: /vmlinux from partition 2
Selected ramdisk: /initrd.img from partition 2
ELF64 executable
Entry 0010 first 0010 n 2
Segment 0 load 0010 size 228648 mediaptr 0x1000
Segment 1 load 00138000 size 9425024 mediaptr 0x39000
Loading ramdisk 16564768 bytes @ 3f022000...
Branching to kernel entry point 0x0010.  If this is the last
message you see, you may need to switch your console.  This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org

[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Initializing cgroup subsys cpuacct
[0.00] Linux version 3.16.0-4-parisc64-smp (
debian-ker...@lists.debian.org) (gcc version 4.8.4 (GCC) ) #1 SMP Debian
3.16.7-ckt4-3 (2015-02-03)
[0.00] unwind_init: start = 0x40877d58, end = 0x408bdf28, entries =
17949
[0.00] FP[0] enabled: Rev 1 Model 20
[0.00] The 64-bit Kernel has started...
[0.00] Default page size is 4KB.
[0.00] bootconsole [ttyB0] enabled
[0.00] Initialized PDC Console for debugging.
[0.00] Determining PDC firmware type: 64 bit PAT.
[0.00] model 88b0 0491  0002 5680c2cb53677fcd
10f0 0008 00b2 00b2
[0.00] vers  0302
[0.00] CPUID vers 20 rev 5 (0x0285)
[0.00] capabilities 0x35
[0.00] model 9000/785/C8000
[0.00] parisc_cache_init: Only equivalent aliasing supported!
[0.00] Memory Ranges:
[0.00]  0) Start 0x End 0x3fff Size
1024 MB
[0.00]  1) Start 0x0001 End 0x0002ffdf Size
8190 MB
[0.00]  2) Start 0x00404000 End 0x0040 Size
3072 MB
[0.00] Total Memory: 12286 MB
[0.00] initrd: 7f022000-7ffee220
[0.00] initrd: reserving 3f022000-3ffee220 (mem_max 2ffe0)
[0.00] PERCPU: Embedded 14 pages/cpu @42fc s27072 r8192
d22080 u57344
[0.00] SMP: bootstrap CPU ID is 0
[0.00] Built 3 zonelists in Zone order, mobility grouping on.
Total pages: 3102215
[0.00] Kernel command line:
root=UUID=7389e709-a47d-4e36-b2c5-373e87dd6f89 HOME=/ console=ttyS0
TERM=vt102 palo_kernel=2/vmlinux
[0.00] PID hash table entries: 4096 (order: 3, 32768 bytes)
[0.00] Dentry cache hash table entries: 2097152 (order: 12,
16777216 bytes)
[0.00] Inode-cache hash table entries: 1048576 (order: 11, 8388608
bytes)
[0.00] Sorting __ex_table...
[0.00] Memory: 12333216K/12580864K available (5512K kernel code,
1817K rwdata, 1091K rodata, 368K init, 636K bss, 247648K reserved)
[0.00] virtual kernel memory layout:
0.00] vmalloc : 0x8000 - 0x3f00   (1007
MB)
0.00] memory  : 0x4000 - 0x00414000
(266240 MB)
0.00]   .init : 0x4010 - 0x4015c000   ( 368
kB)
0.00]   .data : 0x406be000 - 0x40995470   (2909
kB)
0.00]   .text : 0x4015c000 - 0x406be000   (5512
kB)
[0.00] Hierarchical RCU implementation.
[0.00]  CONFIG_RCU_FANOUT set to non-default value of 32
[0.00] NR_IRQS:128
[0.00] Console: colour dummy device 

Bug#931933: Debian 10.0 sid hppa refuses to boot on HP C8000:

2019-07-12 Thread Alex Ernst
Package: kernel-package


Debian 10.0 sid hppa refuses to boot on HP C8000:

palo ipl 2.00 http://www.parisc-linux.org - Mon, 01 Jan 2018 21:07:58 +0100

Boot image contains:
0/vmlinux32 3051144(0) bytes @ 0xf9c800
0/vmlinux64 4083216(0) bytes @ 0x1285800
0/ramdisk 15425064 bytes @ 0xdb800

Information: No console specified on kernel command line. This is normal.
PALO will choose the console currently used by firmware (serial).

Command line for kernel: ' console=ttyS0 TERM=vt102 palo_kernel=0/vmlinuz'
Selected kernel: /vmlinuz from partition 0
Selected ramdisk: /ramdisk from partition 0
Warning: kernel name doesn't end with 32 or 64 -- Guessing... Choosing
64-bit kernel
ELF64 executable

Entry 000e first 000e n 2
Segment 0 load 000e size 1240 mediaptr 0x1000
Segment 1 load 0140 size 4069188 mediaptr 0x2000
Loading ramdisk 15425064 bytes @ 3f139000...
Branching to kernel entry point 0x000e.  If this is the last
message you see, you may need to switch your console.  This is
a common symptom -- search the FAQ and mailing list at parisc-linux.org

Uncompressing ...
Booting kernel ...
[0.00] Linux version 4.19.0-5-parisc64-smp (
debian-ker...@lists.debian.org) (gcc version 8.3.0 (GCC)) #1 SMP Debian
4.19.37-5 (2019-06-19)
[0.00] CPU0: thread -1, cpu 0, socket 0
[0.00] FP[0] enabled: Rev 1 Model 20
[0.00] The 64-bit Kernel has started...
[0.00] Kernel default page size is 4 KB. Huge pages enabled with 1
MB physical and 2 MB virtual size.
[0.00] bootconsole [ttyB0] enabled
[0.00] Initialized PDC Console for debugging.
[0.00] Determining PDC firmware type: 64 bit PAT.
[0.00] PAT: Running on cell 0 and location 1.
[0.00] model 88b0 0491  0002 5680c2cb53677fcd
10f0 0008 00b2 00b2
[0.00] vers  0302
[0.00] CPUID vers 20 rev 5 (0x0285)
[0.00] capabilities 0x35
[0.00] model 9000/785/C8000
[0.00] parisc_cache_init: Only equivalent aliasing supported!
[0.00] Memory Ranges:
[0.00]  0) Start 0x End 0x3fff Size
1024 MB
[0.00]  1) Start 0x0001 End 0x0002ffdf Size
8190 MB
[0.00]  2) Start 0x00404000 End 0x0040 Size
3072 MB
[0.00] Total Memory: 12286 MB
[0.00] initrd: 7f139000-7ffeee28
[0.00] initrd: reserving 3f139000-3ffeee28 (mem_max 2ffe0)
[0.00] PDT: type PDT_PAT_NEW, size 3000, entries 1, status 0,
dbe_loc 0x1c8a8ad00, good_mem 0 MB
[0.00] PDT: Firmware reports 1 entries of faulty memory:
[0.00] PDT: BAD MEMORY at 0x1c8a8ad00, DIMM slot 2a, permanent
multi-bit error.
[0.00] percpu: Embedded 27 pages/cpu s72576 r8192 d29824 u110592
[0.00] SMP: bootstrap CPU ID is 0
[0.00] Built 3 zonelists, mobility grouping on.  Total pages:
3096072
[0.00] Kernel command line:  console=ttyS0 TERM=vt102
palo_kernel=0/vmlinuz
[0.00] Dentry cache hash table entries: 2097152 (order: 12,
16777216 bytes)
[0.00] Inode-cache hash table entries: 1048576 (order: 11, 8388608
bytes)
[0.00] Memory: 12299672K/12580864K available (11244K kernel code,
4460K rwdata, 1475K rodata, 1024K init, 816K bss, 281192K reserved, 0K
cma-reserved)
[0.00] random: get_random_u64 called from
__kmem_cache_create+0xd4/0xac8 with crng_init=0
[0.00] SLUB: HWalign=16, Order=0-3, MinObjects=0, CPUs=8, Nodes=8
[0.00] rcu: Hierarchical RCU implementation.
[0.00] NR_IRQS: 128
[0.10] sched_clock: 64 bits at 1000MHz, resolution 1ns, wraps every
4398046511103ns
[0.107172] Console: colour dummy device 160x64
[0.167145] Calibrating delay loop... 1988.60 BogoMIPS (lpj=3977216)
[0.283152] pid_max: default: 32768 minimum: 301
[0.347535] Security Framework initialized
[0.399167] Yama: disabled by default; enable with sysctl kernel.yama.*
[0.487328] AppArmor: AppArmor initialized
[0.543613] Mount-cache hash table entries: 32768 (order: 6, 262144
bytes)
[0.635198] Mountpoint-cache hash table entries: 32768 (order: 6, 262144
bytes)
[0.734588] rcu: Hierarchical SRCU implementation.
[0.800331] smp: Bringing up secondary CPUs ...
[0.859164] smp: Brought up 3 nodes, 1 CPU
[0.919323] devtmpfs: initialized
[0.965657] clocksource: jiffies: mask: 0x max_cycles:
0x, max_idle_ns: 764504178510 ns
[1.091214] futex hash table entries: 2048 (order: 4, 65536 bytes)
[1.187584] NET: Registered protocol family 16
[1.247402] audit: initializing netlink subsys (disabled)
[1.319316] audit: type=2000 audit(1562938915.316:1): state=initialized
audit_enabled=0 res=1
[1.431962] EISA bus registered
[1.471262] Searching for devices...
[1.627160] Found devices:
[1.659169] 1. Crestone Peak Fast? at 0xfe78 [128] { 0, 0x0,
0x88b, 0x4 }
[1.767166] 2. Crestone