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

Re: New test kernel - second attempt



On 9/8/25 18:17, John Paul Adrian Glaubitz wrote:
Hi,

please test this kernel:

https://people.debian.org/~glaubitz/sparc64/

Don't mind the weird version number, it's a 6.12.3 kernel:

linux (6.12.43-1+nothp1) UNRELEASED; urgency=medium

   * Add sparc64_fix_hugetlb.patch
   * Add sparc64_fix_copyops.patch
   * Disable CONFIG_TRANSPARENT_HUGEPAGE
   * Disable CONFIG_TRANSPARENT_HUGEPAGE_ALWAYS


Looking better!  No panic but still no kernel modules for the disks :

ok boot /pci@1f,0/ide@d/disk@0,0:a
Boot device: /pci@1f,0/ide@d/disk@0,0:a  File and args:
SILO Version 1.4.14
boot:
Allocated 64 Megs of memory at 0x40000000 for kernel
Loaded kernel version 6.12.43
Loading initial ramdisk (1898413 bytes at 0x6F000000 phys, 0x40C00000 virt)...
-
[    0.000104] PROMLIB: Sun IEEE Boot Prom 'OBP 4.0.18 2002/05/23 18:22'
[    0.000166] PROMLIB: Root node compatible: sun4u
[ 0.000465] Linux version 6.12+unreleased-sparc64 (debian-kernel@lists.debian.org) (sparc64-linux-gnu-gcc-14 (Debian 14.3.0-6) 14.3.0, GNU ld (GNU Binutils for Debian) 2.45) #1 Debian 6.12.43-1+nothp1 (2025-09-08)
[    0.000746] printk: legacy bootconsole [earlyprom0] enabled
[    0.424931] ARCH: SUN4U
[    0.454106] Ethernet address: 00:03:ba:13:3c:25
[    0.508065] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[    0.587022] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[    0.661834] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[    0.739125] Kernel: Using 5 locked TLB entries for main kernel image.
[    0.815258] Remapping the kernel...
[    0.817508] done.
[    1.109347] OF stdout device is: /pci@1f,0/isa@7/serial@0,3f8
[    1.177111] PROM: Built device tree with 77887 bytes of memory.
[    1.248180] Top of RAM: 0x6fec6000, Total RAM: 0x3fe34000
[    1.312188] Memory hole size: 768MB
[    1.362928] Allocated 16384 bytes for kernel page tables.
[    1.427040] Zone ranges:
[    1.456722]   Normal   [mem 0x0000000000000000-0x000000006fec5fff]
[    1.530493] Movable zone start for each node
[    1.581407] Early memory node ranges
[    1.624008]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    1.698825]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    1.773635]   node   0: [mem 0x0000000040000000-0x000000004fffffff]
[    1.848446]   node   0: [mem 0x0000000060000000-0x000000006effdfff]
[    1.923260]   node   0: [mem 0x000000006f000000-0x000000006fdfffff]
[    1.998072]   node   0: [mem 0x000000006fe80000-0x000000006feaffff]
[    2.072885]   node   0: [mem 0x000000006fec0000-0x000000006fec5fff]
[ 2.147701] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fec5fff]
[    2.269278] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.370273] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.470514] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.547375] On node 0, zone Normal: 1 pages in unavailable ranges
[    2.619473] On node 0, zone Normal: 64 pages in unavailable ranges
[    2.693214] On node 0, zone Normal: 8 pages in unavailable ranges
[    2.778522] On node 0, zone Normal: 32925 pages in unavailable ranges
[    2.854686] Booting Linux...
[    2.888973] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[    2.965858] CPU CAPS: [vis]
[    3.022878] Kernel command line: root=/dev/sdb4 ro
[ 3.085219] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes, linear) [ 3.181230] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes, linear)
[    3.270834] Sorting __ex_table...
[    3.312180] Built 1 zonelists, mobility grouping on.  Total pages: 130842
[    3.392416] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    3.739847] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    3.821214] ftrace: allocating 32651 entries in 64 pages
[    3.957297] ftrace: allocated 64 pages with 1 groups
[ 4.020303] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 4.128579] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    4.284288] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[ 4.353351] clocksource: hbtick: mask: 0xffffffffffffffff max_cycles: 0x148020aa9, max_idle_ns: 440795202069 ns
[    4.473648] clocksource: mult[b400012e] shift[24]
[    4.529754] clockevent: mult[16c16bf] shift[32]
[    4.584753] Console: colour dummy device 80x25
[    4.636928] printk: legacy console [tty0] enabled
[    4.693000] printk: legacy bootconsole [earlyprom0] disabled
[    0.000104] PROMLIB: Sun IEEE Boot Prom 'OBP 4.0.18 2002/05/23 18:22'
[    0.000166] PROMLIB: Root node compatible: sun4u
[ 0.000465] Linux version 6.12+unreleased-sparc64 (debian-kernel@lists.debian.org) (sparc64-linux-gnu-gcc-14 (Debian 14.3.0-6) 14.3.0, GNU ld (GNU Binutils for Debian) 2.45) #1 Debian 6.12.43-1+nothp1 (2025-09-08)
[    0.000746] printk: legacy bootconsole [earlyprom0] enabled
[    0.424931] ARCH: SUN4U
[    0.454106] Ethernet address: 00:03:ba:13:3c:25
[    0.508065] MM: PAGE_OFFSET is 0xfffff80000000000 (max_phys_bits == 40)
[    0.587022] MM: VMALLOC [0x0000000100000000 --> 0x0000060000000000]
[    0.661834] MM: VMEMMAP [0x0000060000000000 --> 0x00000c0000000000]
[    0.739125] Kernel: Using 5 locked TLB entries for main kernel image.
[    0.815258] Remapping the kernel...
[    0.817508] done.
[    1.109347] OF stdout device is: /pci@1f,0/isa@7/serial@0,3f8
[    1.177111] PROM: Built device tree with 77887 bytes of memory.
[    1.248180] Top of RAM: 0x6fec6000, Total RAM: 0x3fe34000
[    1.312188] Memory hole size: 768MB
[    1.362928] Allocated 16384 bytes for kernel page tables.
[    1.427040] Zone ranges:
[    1.456722]   Normal   [mem 0x0000000000000000-0x000000006fec5fff]
[    1.530493] Movable zone start for each node
[    1.581407] Early memory node ranges
[    1.624008]   node   0: [mem 0x0000000000000000-0x000000000fffffff]
[    1.698825]   node   0: [mem 0x0000000020000000-0x000000002fffffff]
[    1.773635]   node   0: [mem 0x0000000040000000-0x000000004fffffff]
[    1.848446]   node   0: [mem 0x0000000060000000-0x000000006effdfff]
[    1.923260]   node   0: [mem 0x000000006f000000-0x000000006fdfffff]
[    1.998072]   node   0: [mem 0x000000006fe80000-0x000000006feaffff]
[    2.072885]   node   0: [mem 0x000000006fec0000-0x000000006fec5fff]
[ 2.147701] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fec5fff]
[    2.269278] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.370273] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.470514] On node 0, zone Normal: 32768 pages in unavailable ranges
[    2.547375] On node 0, zone Normal: 1 pages in unavailable ranges
[    2.619473] On node 0, zone Normal: 64 pages in unavailable ranges
[    2.693214] On node 0, zone Normal: 8 pages in unavailable ranges
[    2.778522] On node 0, zone Normal: 32925 pages in unavailable ranges
[    2.854686] Booting Linux...
[    2.888973] CPU CAPS: [flush,stbar,swap,muldiv,v9,mul32,div32,v8plus]
[    2.965858] CPU CAPS: [vis]
[    3.022878] Kernel command line: root=/dev/sdb4 ro
[ 3.085219] Dentry cache hash table entries: 131072 (order: 7, 1048576 bytes, linear) [ 3.181230] Inode-cache hash table entries: 65536 (order: 6, 524288 bytes, linear)
[    3.270834] Sorting __ex_table...
[    3.312180] Built 1 zonelists, mobility grouping on.  Total pages: 130842
[    3.392416] mem auto-init: stack:all(zero), heap alloc:on, heap free:off
[    3.739847] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    3.821214] ftrace: allocating 32651 entries in 64 pages
[    3.957297] ftrace: allocated 64 pages with 1 groups
[ 4.020303] RCU Tasks Rude: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1. [ 4.128579] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=1.
[    4.284288] NR_IRQS: 2048, nr_irqs: 2048, preallocated irqs: 1
[ 4.353351] clocksource: hbtick: mask: 0xffffffffffffffff max_cycles: 0x148020aa9, max_idle_ns: 440795202069 ns
[    4.473648] clocksource: mult[b400012e] shift[24]
[    4.529754] clockevent: mult[16c16bf] shift[32]
[    4.584753] Console: colour dummy device 80x25
[    4.636928] printk: legacy console [tty0] enabled
[    4.693000] printk: legacy bootconsole [earlyprom0] disabled
[ 4.840635] Calibrating delay using timer specific routine.. 11.13 BogoMIPS (lpj=22272)
[    4.840690] pid_max: default: 32768 minimum: 301
[ 4.855587] LSM: initializing lsm=capability,landlock,lockdown,yama,apparmor,tomoyo,bpf,ipe,ima,evm
[    4.864445] landlock: Up and running.
[    4.864489] Yama: disabled by default; enable with sysctl kernel.yama.*
[    4.865294] AppArmor: AppArmor initialized
[    4.865394] TOMOYO Linux initialized
[    4.865935] LSM support for eBPF active
[ 4.871898] Mount-cache hash table entries: 2048 (order: 1, 16384 bytes, linear) [ 4.871989] Mountpoint-cache hash table entries: 2048 (order: 1, 16384 bytes, linear) [ 4.894672] Memory: 998232K/1046736K available (10781K kernel code, 1544K rwdata, 3144K rodata, 608K init, 582K bss, 45200K reserved, 0K cma-reserved)
[    4.898370] devtmpfs: initialized
[    4.904416] Performance events: No support for PMU type 'ultra12'
[ 4.905880] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    4.905976] futex hash table entries: 256 (order: -1, 6144 bytes, linear)
[    4.927760] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    4.942473] audit: initializing netlink subsys (disabled)
[    4.944623] thermal_sys: Registered thermal governor 'fair_share'
[    4.944652] thermal_sys: Registered thermal governor 'bang_bang'
[    4.944711] thermal_sys: Registered thermal governor 'step_wise'
[    4.944748] thermal_sys: Registered thermal governor 'user_space'
[ 4.945611] audit: type=2000 audit(0.192:1): state=initialized audit_enabled=0 res=1 [ 4.950113] pci@1f,0: PCI IO [io 0x1fe02000000-0x1fe02ffffff] offset 1fe02000000 [ 4.950258] pci@1f,0: PCI MEM [mem 0x1ff00000000-0x1ffffffffff] offset 1ff00000000
[    4.950321] pci@1f,0: SABRE PCI Bus Module ver[0:0]
[    4.950358] PCI: Scanning PBM /pci@1f,0
[    4.952352] sabre f0069d48: PCI host bridge to bus 0000:00
[ 4.952449] pci_bus 0000:00: root bus resource [io 0x1fe02000000-0x1fe02ffffff] (bus address [0x0000-0xffffff]) [ 4.952513] pci_bus 0000:00: root bus resource [mem 0x1ff00000000-0x1ffffffffff] (bus address [0x00000000-0xffffffff])
[    4.952579] pci_bus 0000:00: root bus resource [bus 00]
[    4.952702] pci 0000:00:07.0: [10b9:1533] type 00 class 0x060100
[    4.953444] pci 0000:00:03.0: [10b9:7101] type 00 class 0x000000
[ 4.953542] pci 0000:00:03.0: quirk: [io 0x1fe02002000-0x1fe0200203f] claimed by ali7101 ACPI [ 4.953669] pci 0000:00:03.0: quirk: [io 0x1fe02004000-0x1fe0200401f] claimed by ali7101 SMB
[    4.954233] pci 0000:00:0c.0: [1282:9102] type 00 class 0x020000
[    4.954294] pci 0000:00:0c.0: reg 0x10: [io  0x1fe02010000-0x1fe020100ff]
[    4.954342] pci 0000:00:0c.0: reg 0x14: [mem 0x1ff00000000-0x1ff00001fff]
[    4.954391] pci 0000:00:0c.0: reg 0x30: [mem 0x1ff00040000-0x1ff0007ffff]
[    4.954481] pci 0000:00:0c.0: PME# supported from D3hot D3cold
[    4.955093] pci 0000:00:05.0: [1282:9102] type 00 class 0x020000
[    4.955157] pci 0000:00:05.0: reg 0x10: [io  0x1fe02010100-0x1fe020101ff]
[    4.955205] pci 0000:00:05.0: reg 0x14: [mem 0x1ff00002000-0x1ff00003fff]
[    4.955252] pci 0000:00:05.0: reg 0x30: [mem 0x1ff00080000-0x1ff000bffff]
[    4.955339] pci 0000:00:05.0: PME# supported from D3hot D3cold
[    4.955910] pci 0000:00:0a.0: [10b9:5237] type 00 class 0x0c0310
[    4.955970] pci 0000:00:0a.0: reg 0x10: [mem 0x1ff01000000-0x1ff01ffffff]
[    4.956544] pci 0000:00:0d.0: [10b9:5229] type 00 class 0x0101ff
[    4.956608] pci 0000:00:0d.0: reg 0x10: [io  0x1fe02010200-0x1fe02010207]
[    4.956658] pci 0000:00:0d.0: reg 0x14: [io  0x1fe02010218-0x1fe0201021f]
[    4.956705] pci 0000:00:0d.0: reg 0x18: [io  0x1fe02010210-0x1fe02010217]
[    4.956752] pci 0000:00:0d.0: reg 0x1c: [io  0x1fe02010208-0x1fe0201020f]
[    4.956799] pci 0000:00:0d.0: reg 0x20: [io  0x1fe02010220-0x1fe0201022f]
[    5.082052] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages
[    5.082136] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page
[    5.082176] HugeTLB: registered 8.00 MiB page size, pre-allocated 0 pages
[    5.082209] HugeTLB: 0 KiB vmemmap can be freed for a 8.00 MiB page
[    5.082246] HugeTLB: registered 256 MiB page size, pre-allocated 0 pages
[    5.082279] HugeTLB: 0 KiB vmemmap can be freed for a 256 MiB page
[    5.082349] HugeTLB: registered 2.00 GiB page size, pre-allocated 0 pages
[    5.082384] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 GiB page
[    5.208235] iommu: Default domain type: Translated
[    5.208316] iommu: DMA domain TLB invalidation policy: strict mode
[    5.208824] pps_core: LinuxPPS API ver. 1 registered
[ 5.208878] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    5.208976] PTP clock support registered
[    5.222197] NetLabel: Initializing
[    5.222275] NetLabel:  domain hash size = 128
[    5.222307] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    5.222525] NetLabel:  unlabeled traffic allowed by default
[    5.223213] vgaarb: loaded
[    5.223637] /pci@1f,0/isa@7/rtc@0,70: RTC regs at 0x1fe02000070
[    5.225833] clocksource: Switched to clocksource hbtick
[    5.260043] VFS: Disk quotas dquot_6.6.0
[ 5.261334] VFS: Dquot-cache hash table entries: 1024 (order 0, 8192 bytes)
[    5.268578] AppArmor: AppArmor Filesystem Enabled
[    5.332469] NET: Registered PF_INET protocol family
[ 5.333575] IP idents hash table entries: 16384 (order: 4, 131072 bytes, linear) [ 5.348263] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 8192 bytes, linear) [ 5.348850] Table-perturb hash table entries: 65536 (order: 5, 262144 bytes, linear) [ 5.351334] TCP established hash table entries: 8192 (order: 3, 65536 bytes, linear) [ 5.351884] TCP bind hash table entries: 8192 (order: 4, 131072 bytes, linear)
[    5.352656] TCP: Hash tables configured (established 8192 bind 8192)
[ 5.354556] MPTCP token hash table entries: 1024 (order: 1, 24576 bytes, linear)
[    5.355086] UDP hash table entries: 512 (order: 1, 16384 bytes, linear)
[ 5.355263] UDP-Lite hash table entries: 512 (order: 1, 16384 bytes, linear)
[    5.356954] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    5.357224] NET: Registered PF_XDP protocol family
[    5.357445] pci 0000:00:0a.0: enabling device (0000 -> 0002)
[    5.357532] PCI: CLS 0 bytes, default 64
[    5.358491] Trying to unpack rootfs image as initramfs...
[    5.362323] power: Control reg at 1fe02002000
[    5.367238] Initialise system trusted keyrings
[    5.367503] Key type blacklist registered
[    5.370222] workingset: timestamp_bits=46 max_order=17 bucket_order=0
[    5.370441] zbud: loaded
[    5.387195] fuse: init (API version 7.41)
[    5.396261] integrity: Platform Keyring initialized
[    5.942178] Freeing initrd memory: 1848K
[    5.942685] Key type asymmetric registered
[    5.942742] Asymmetric key parser 'x509' registered
[ 5.990590] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    5.991079] io scheduler mq-deadline registered
[    6.011720] ledtrig-cpu: registered to indicate activity on CPUs
[ 6.015957] f0076e0c: ttyS0 at MMIO 0x1fe020003f8 (irq = 7, base_baud = 115387) is a 16550A
[    6.016052] Console: ttyS0 (SU)
[    6.016141] printk: legacy console [ttyS0] enabled
[ 18.911715] f0078af8: ttyS1 at MMIO 0x1fe020002e8 (irq = 7, base_baud = 115387) is a 16550A
[   19.030340] mousedev: PS/2 mouse device common for all mice
[   19.104873] rtc_cmos rtc_cmos: error -ENXIO: IRQ index 0 not found
[   19.186751] rtc_cmos rtc_cmos: registered as rtc0
[ 19.248639] rtc_cmos rtc_cmos: setting system clock to 2025-09-09T13:53:44 UTC (1757426024)
[   19.358722] rtc_cmos rtc_cmos: no alarms, 114 bytes nvram
[   19.434547] NET: Registered PF_INET6 protocol family
[   19.531593] Segment Routing with IPv6
[   19.580191] In-situ OAM (IOAM) with IPv6
[   19.632004] mip6: Mobile IPv6
[   19.671063] NET: Registered PF_PACKET protocol family
[   19.737973] mpls_gso: MPLS GSO support
[   19.804653] registered taskstats version 1
[   19.859059] Loading compiled-in X.509 certificates
[ 20.632824] Loaded X.509 cert 'Build time autogenerated kernel key: f318d0973ec1b7016a066bd8e3d9cb852340dcc1'
[   20.798053] Key type .fscrypt registered
[   20.849688] Key type fscrypt-provisioning registered
[   21.038797] Key type encrypted registered
[   21.091698] AppArmor: AppArmor sha256 policy hashing enabled
[   21.166159] ima: No TPM chip found, activating TPM-bypass!
[   21.238279] ima: Allocated hash algorithm: sha256
[   21.300204] ima: No architecture policies found
[   21.360028] evm: Initialising EVM extended attributes:
[   21.427597] evm: security.selinux
[   21.471103] evm: security.SMACK64 (disabled)
[   21.527216] evm: security.SMACK64EXEC (disabled)
[   21.587903] evm: security.SMACK64TRANSMUTE (disabled)
[   21.654326] evm: security.SMACK64MMAP (disabled)
[   21.714984] evm: security.apparmor
[   21.759653] evm: security.ima
[   21.798617] evm: security.capability
[   21.845586] evm: HMAC attrs: 0x1
[   22.735708] This architecture does not have kernel memory protection.
[   23.126020] Run /init as init process
Loading, please wait...
/scripts/init-top/udev: line 14: can't create /sys/kernel/uevent_helper: Permission denied Begin: Loading essential drivers ... modprobe: module ata_generic.ko not found in modules.dep
modprobe: module pata_ali.ko not found in modules.dep
modprobe: module tulip.ko not found in modules.dep
modprobe: module auth_rpcgss.ko not found in modules.dep
modprobe: module crc16.ko not found in modules.dep
modprobe: module dmfe.ko not found in modules.dep
modprobe: module ext4.ko not found in modules.dep
modprobe: module flash.ko not found in modules.dep
modprobe: module jbd2.ko not found in modules.dep
modprobe: module libata.ko not found in modules.dep
modprobe: module lockd.ko not found in modules.dep
modprobe: module loop.ko not found in modules.dep
modpr[   25.493920] process '/bin/sleep' started with executable stack
obe: module mbcache.ko not found in modules.dep
modprobe: module nfs.ko not found in modules.dep
modprobe: module nfs_acl.ko not found in modules.dep
modprobe: module nfsd.ko not found in modules.dep
modprobe: module scsi_mod.ko not found in modules.dep
modprobe: module sd_mod.ko not found in modules.dep
modprobe: module sg.ko not found in modules.dep
modprobe: module sunrpc.ko not found in modules.dep
modprobe: module usbcore.ko not found in modules.dep
done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Waiting for root file system ... done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sdb4 does not exist.  Dropping to a shell!
modprobe: module ehci-hcd not found in modules.dep
modprobe: module uhci-hcd not found in modules.dep
modprobe: module ohci-hcd not found in modules.dep
modprobe: module usbhid not found in modules.dep


BusyBox v1.20.2 (Debian 1:1.20.0-7) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) cat /proc/partitions
(initramfs)

So this looks easy to fix.



--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken


Reply to: