Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Debugging initramfs, server hangs during boot process

207 views
Skip to first unread message

tha...@t-online.de

unread,
Aug 25, 2023, 4:10:06 PM8/25/23
to

Hi all,

being on sid, I know that there can be problems.
However, this seems to be a bit hard for me to solve without proper help.
The machine hangs during boot.
Looking at the initramfs manpages i found that I can get into the busybox during

the boot process with break=... on the linux command line.
break=top
works, but

break=modules

is not reached. It hangs before that.

I have compared the initrd image of that broken box with the image of this box

I am writing this mail on.
There are smaller differences, but it doesn't ring a bell with me

 

I have used debian live to chroot into the system and did updates twice.
However that didn't help, boot process still hangs.

 

Any advice?

 

Tnx Thomas



Michel Verdier

unread,
Aug 26, 2023, 1:50:06 AM8/26/23
to
On 2023-08-25, tha...@t-online.de wrote:

> Looking at the initramfs manpages i found that I can get into the busybox
> during
> the boot process with break=... on the linux command line.
> break=top
> works, but
> break=modules
> is not reached. It hangs before that.

Did you try with "debug" on the linux command line to get more logs ?

to...@tuxteam.de

unread,
Aug 26, 2023, 2:00:07 AM8/26/23
to
I thought of that, too, but debug writes to a tmpfs (it has to, at this
point). If the machine locks up, the log is lost...

Does the machine lock up hard? Perhaps it's one module being loaded.
May be trying to blacklist as much as possible and going from there
is a possibility?

Cheers
--
t
signature.asc

Tixy

unread,
Aug 26, 2023, 2:50:06 AM8/26/23
to
On Sat, 2023-08-26 at 07:59 +0200, to...@tuxteam.de wrote:
> On Sat, Aug 26, 2023 at 07:40:21AM +0200, Michel Verdier wrote:
[...]
> >
> > Did you try with "debug" on the linux command line to get more logs
> > ?
>
> I thought of that, too, but debug writes to a tmpfs (it has to, at this
> point). If the machine locks up, the log is lost...

Logs will appear on the screen so long as you don't have the 'quiet'
parameter on the Linux commandline.

--
Tixy

Michel Verdier

unread,
Aug 26, 2023, 4:30:08 AM8/26/23
to
On 2023-08-26, Tixy wrote:

>> I thought of that, too, but debug writes to a tmpfs (it has to, at this
>> point). If the machine locks up, the log is lost...
>
> Logs will appear on the screen so long as you don't have the 'quiet'
> parameter on the Linux commandline.

I think it always writes to tmpfs which is moved to /run/initramfs, but
only if the boot succeded. So thahn01 should use debug=vc to get debug
logs on screen during boot.

tha...@t-online.de

unread,
Aug 26, 2023, 5:10:06 AM8/26/23
to
I had debug on the command line before, just didn't know of debug=vc
However the output on the screen is the same with either one.

Last line is clocksource: Switched to clocksource tsc

Looking at the stuff in /usr/share/initramfs-tools/scripts
I think I would need to mess the shell scripts with debug prints just to find
where it is stuck

uaaah!

-----Original-Nachricht-----
Betreff: Re: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T10:20:54+0200
Von: "Michel Verdier" <mv...@free.fr>
An: "debia...@lists.debian.org" <debia...@lists.debian.org>


Tixy

unread,
Aug 26, 2023, 6:10:06 AM8/26/23
to
On Sat, 2023-08-26 at 11:07 +0200, tha...@t-online.de wrote:
> I had debug on the command line before, just didn't know of debug=vc
> However the output on the screen is the same with either one.
>
> Last line is clocksource: Switched to clocksource tsc

I notice two 1 second delays during boot on my new PC which occurred
when TSC related stuff was the last line on the screen. I did fiddle
around with some settings (can't remember what) in order to try and
remove this delay, but decided to leave things at default in the end.

Now googling for "clocksource TSC" gets me a Redhat page about hardware
clocks. [1] Maybe you could try changing the clock with
"clocksource=hpet" or something else, in case the kernel is having
problems with TSC? It's ominous that some search results reveal the
commandline option "tsc=reliable" implying the opposite may true
sometimes.

[1] https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/7/html/reference_guide/chap-timestamping

--
Tixy

tha...@t-online.de

unread,
Aug 26, 2023, 6:40:07 AM8/26/23
to
Tried with clocksourche=hpet
Now the Switched to clocksouce tsc is missing and the last line is
clocksource: tsc: mask .....
like before the 2nd last line (as to be expected)
It still hangs.

It is not hard locked, can do CTRL-ALT-DEL to boot again, booting Windows works.



-----Original-Nachricht-----
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T12:04:46+0200
Von: "Tixy" <ti...@yxit.co.uk>
An: "debia...@lists.debian.org" <debia...@lists.debian.org>


Michel Verdier

unread,
Aug 26, 2023, 7:50:06 AM8/26/23
to
On 2023-08-26, tha...@t-online.de wrote:

> Tried with clocksourche=hpet
> Now the Switched to clocksouce tsc is missing and the last line is
> clocksource: tsc: mask .....
> like before the 2nd last line (as to be expected)

On my kernel I always have those 3 lines during boot :

clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x255cb6cc5db, max_idle_ns: 440795203504 ns
clocksource: Switched to clocksource tsc
Freeing initrd memory: 26804K

So you appears to freeze when freeing initrd memory

tha...@t-online.de

unread,
Aug 27, 2023, 6:30:06 PM8/27/23
to
It hangs in /usr/share/initramfs-tools/scripts/init-top/udev

The 2nd last udev call hangs my box
udevadm trigger --type=devices --action=add

This initramfs stuff hasn't changed since July 2022, so the real problem must be inside udev
To narrow it down I have added echo and sleep statements

If I print out the contents of the initramfs-tools-core package, than the udev script is not present

But it is just a first step, as the commented "udevadm trigger --type=devices --action=add"
does not hang the system, but without it I cannot use the keyboard to unlock the crypted root.

Sigh!


-----Original-Nachricht-----
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-26T13:45:19+0200


tha...@t-online.de

unread,
Aug 27, 2023, 6:30:06 PM8/27/23
to
The udev script is from the udev package


-----Original-Nachricht-----
Betreff: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-28T00:20:33+0200
Von: "tha...@t-online.de" <tha...@t-online.de>
An: "debian user" <debia...@lists.debian.org>


Max Nikulin

unread,
Aug 27, 2023, 9:40:06 PM8/27/23
to
On 28/08/2023 05:19, tha...@t-online.de wrote:
> It hangs in /usr/share/initramfs-tools/scripts/init-top/udev

Unsure if it is related or not (I have not tried to debug it), but I
have noticed some issues with laptop boot when a USB hub with a keyboard
and a mouse is connected. It might be an unreliable connector inside the
hub, however symptoms with another laptop are more mild.

Michel Verdier

unread,
Aug 28, 2023, 5:50:06 AM8/28/23
to
On 2023-08-28, tha...@t-online.de wrote:

> It hangs in /usr/share/initramfs-tools/scripts/init-top/udev
>
> The 2nd last udev call hangs my box
> udevadm trigger --type=devices --action=add

Perhaps add before
udevadm trigger --verbose --dry-run --type=devices --action=add

tha...@t-online.de

unread,
Aug 29, 2023, 6:40:06 PM8/29/23
to
I cannot catch the user space output on the broken machine

To get netconsole going I have edited /usr/share/initramfs-tools/scripts/init-top/udev

First to load the network module.
2nd to load the netconsole:

---snip----
echo modprobe comes next ...
sleep 9
set -x
modprobe r8169
lsmod|grep r8169

modprobe netconsole netconsole="66...@192.168.178.62/enp3s0,66...@192.168.178.54/04:92:26:d9:4e:9e"
res=$?
if [ "$res" -eq 0 ]; then
echo modprobe worked
else
echo modprobe failed eith $res
fi
---snap----

The netconsole output from the kernel:

[ 28.109866] r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8125b-2.fw
[ 28.141085] RTL8226B_RTL8221B 2.5Gbps PHY r8169-0-300:00: attached PHY driver (mii_bus:phy_addr=r8169-0-300:00, irq=MAC)
[ 28.341236] r8169 0000:03:00.0 enp3s0: Link is Down
[ 30.013941] r8169 0000:03:00.0 enp3s0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 30.014760] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[ 30.021222] printk: console [netcon0] enabled
[ 30.024682] netconsole: network logging started
[ 68.102701] input: Sleep Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0
[ 68.102771] ACPI: button: Sleep Button [SLPB]
[ 68.102874] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[ 68.102964] ACPI: button: Power Button [PWRB]
[ 68.103014] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
[ 68.103079] ACPI: button: Power Button [PWRF]
[ 68.158125] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 68.160436] i2c i2c-0: 4/4 memory slots populated (from DMI)
[ 68.160795] i2c i2c-0: Successfully instantiated SPD at 0x50
[ 68.161131] i2c i2c-0: Successfully instantiated SPD at 0x51
[ 68.161513] i2c i2c-0: Successfully instantiated SPD at 0x52
[ 68.161895] i2c i2c-0: Successfully instantiated SPD at 0x53
[ 68.166974] ACPI: bus type USB registered
[ 68.166994] usbcore: registered new interface driver usbfs
[ 68.166998] usbcore: registered new interface driver hub
[ 68.167054] usbcore: registered new device driver usb
[ 68.170281] SCSI subsystem initialized
[ 68.183217] cryptd: max_cpu_qlen set to 1000
[ 68.183493] ACPI: bus type drm_connector registered
[ 68.195886] nvme nvme0: pci function 0000:02:00.0
[ 68.196051] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 68.196193] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[ 68.196443] nvme nvme1: pci function 0000:04:00.0
[ 68.197314] libata version 3.00 loaded.
[ 68.197503] xhci_hcd 0000:00:14.0: hcc params 0x20007fc1 hci version 0x120 quirks 0x0000000200009810
[ 68.197931] xhci_hcd 0000:00:14.0: xHCI Host Controller
[ 68.198112] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[ 68.198305] xhci_hcd 0000:00:14.0: Host supports USB 3.2 Enhanced SuperSpeed
[ 68.198544] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.04
[ 68.198762] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 68.198986] usb usb1: Product: xHCI Host Controller
[ 68.199214] usb usb1: Manufacturer: Linux 6.4.0-3-amd64 xhci-hcd
[ 68.199452] usb usb1: SerialNumber: 0000:00:14.0
[ 68.199775] AVX2 version of gcm_enc/dec engaged.
[ 68.200044] AES CTR mode by8 optimization enabled
[ 68.200049] hub 1-0:1.0: USB hub found
[ 68.200580] hub 1-0:1.0: 16 ports detected
[ 68.200680] nvme nvme0: missing or invalid SUBNQN field.
[ 68.200681] nvme nvme1: missing or invalid SUBNQN field.
[ 68.200757] nvme nvme1: Shutdown timeout set to 10 seconds
[ 68.202337] nvme nvme1: 8/0/0 default/read/poll queues
[ 68.203130] nvme nvme1: Ignoring bogus Namespace Identifiers
[ 68.204269] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.04
[ 68.204570] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 68.204625] nvme1n1: p1 p2 p3 p4 p5 p6
[ 68.204875] usb usb2: Product: xHCI Host Controller
[ 68.205508] usb usb2: Manufacturer: Linux 6.4.0-3-amd64 xhci-hcd
[ 68.205837] usb usb2: SerialNumber: 0000:00:14.0
[ 68.206236] hub 2-0:1.0: USB hub found
[ 68.206585] hub 2-0:1.0: 6 ports detected
[ 68.224577] nvme nvme0: 12/0/0 default/read/poll queues
[ 68.229866] nvme0n1: p1
[ 68.235064] ahci 0000:00:17.0: version 3.0
[ 68.245738] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 6 ports 6 Gbps 0x3f impl SATA mode
[ 68.246127] ahci 0000:00:17.0: flags: 64bit ncq sntf clo only pio slum part ems deso sadm sds
[ 68.309605] scsi host0: ahci
[ 68.310264] scsi host1: ahci
[ 68.310866] scsi host2: ahci
[ 68.311437] scsi host3: ahci
[ 68.312021] scsi host4: ahci
[ 68.312594] scsi host5: ahci
[ 68.313025] ata1: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402100 irq 148
[ 68.313454] ata2: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402180 irq 148
[ 68.313869] ata3: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402200 irq 148
[ 68.314272] ata4: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402280 irq 148
[ 68.314665] ata5: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402300 irq 148
[ 68.315049] ata6: SATA max UDMA/133 abar m2048@0x81402000 port 0x81402380 irq 148
[ 68.461091] usb 1-3: new low-speed USB device number 2 using xhci_hcd
[ 68.549897] Console: switching to colour dummy device 80x25
[ 68.550154] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 68.550195] i915 0000:00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_04.bin
[ 68.550693] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 68.552138] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 68.552868] ACPI: video: Video Device [GFX0] (multi-head: yes rom: no post: no)
[ 68.553270] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[ 68.565172] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[ 68.628180] ata2: SATA link down (SStatus 4 SControl 300)
[ 68.628223] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 68.628265] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[ 68.629030] ata5.00: ATA-9: CT480BX300SSD1, M2CR010, max UDMA/133
[ 68.629074] ata6.00: ATA-9: CT480BX300SSD1, M2CR010, max UDMA/133
[ 68.629090] ata5.00: 937703088 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 68.629174] ata6.00: 937703088 sectors, multi 1: LBA48 NCQ (depth 32), AA
[ 68.629625] ata5.00: Features: Dev-Sleep
[ 68.629641] usb 1-3: New USB device found, idVendor=045e, idProduct=00db, bcdDevice= 1.73
[ 68.629657] usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 68.629664] usb 1-3: Product: Natural® Ergonomic Keyboard 4000
[ 68.629670] usb 1-3: Manufacturer: Microsoft
[ 68.629705] ata6.00: Features: Dev-Sleep
[ 68.630350] ata6.00: configured for UDMA/133
[ 68.630371] ata5.00: configured for UDMA/133
[ 68.631892] ata4: SATA link down (SStatus 4 SControl 300)
[ 68.631934] ata3: SATA link down (SStatus 4 SControl 300)
[ 68.631952] ata1: SATA link down (SStatus 4 SControl 300)
[ 68.633155] scsi 4:0:0:0: Direct-Access ATA CT480BX300SSD1 010 PQ: 0 ANSI: 5
[ 68.633604] scsi 5:0:0:0: Direct-Access ATA CT480BX300SSD1 010 PQ: 0 ANSI: 5
[ 68.635890] hid: raw HID events driver (C) Jiri Kosina
[ 68.638070] sd 5:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB)
[ 68.638076] sd 5:0:0:0: [sda] 4096-byte physical blocks
[ 68.638092] sd 5:0:0:0: [sda] Write Protect is off
[ 68.638098] sd 5:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 68.638115] sd 5:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 68.638134] sd 5:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[ 68.638161] sd 4:0:0:0: [sdb] 937703088 512-byte logical blocks: (480 GB/447 GiB)
[ 68.638190] sd 4:0:0:0: [sdb] 4096-byte physical blocks
[ 68.638252] sd 4:0:0:0: [sdb] Write Protect is off
[ 68.638258] sd 4:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[ 68.638304] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 68.638324] sd 4:0:0:0: [sdb] Preferred minimum I/O size 4096 bytes
[ 68.639878] sda: sda1
[ 68.639926] sd 5:0:0:0: [sda] Attached SCSI disk
[ 68.640097] sdb: sdb1
[ 68.640139] sd 4:0:0:0: [sdb] Attached SCSI disk
[ 68.647111] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[ 68.654680] usbcore: registered new interface driver usbhid
[ 68.654685] usbhid: USB HID core driver
[ 68.657704] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.0/0003:045E:00DB.0001/input/input4
[ 68.659288] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[ 68.717243] microsoft 0003:045E:00DB.0001: input,hidraw0: USB HID v1.11 Keyboard [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-3/input0
[ 68.717576] input: Microsoft Natural® Ergonomic Keyboard 4000 as /devices/pci0000:00/0000:00:14.0/usb1/1-3/1-3:1.1/0003:045E:00DB.0002/input/input5
[ 68.757125] usb 1-4: new full-speed USB device number 3 using xhci_hcd
[ 68.777340] microsoft 0003:045E:00DB.0002: input,hidraw1: USB HID v1.11 Device [Microsoft Natural® Ergonomic Keyboard 4000] on usb-0000:00:14.0-3/input1
[ 68.908309] usb 1-4: New USB device found, idVendor=145f, idProduct=026d, bcdDevice= 1.00
[ 68.908339] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 68.908354] usb 1-4: Product: GXT 144 Gaming Mouse
[ 68.908364] usb 1-4: Manufacturer: SINOWEALTH
[ 68.912256] input: SINOWEALTH GXT 144 Gaming Mouse as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:145F:026D.0003/input/input6
[ 68.912547] hid-generic 0003:145F:026D.0003: input,hidraw2: USB HID v1.11 Mouse [SINOWEALTH GXT 144 Gaming Mouse] on usb-0000:00:14.0-4/input0
[ 68.917393] input: SINOWEALTH GXT 144 Gaming Mouse Keyboard as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.1/0003:145F:026D.0004/input/input7
[ 68.977606] hid-generic 0003:145F:026D.0004: input,hiddev0,hidraw3: USB HID v1.11 Keyboard [SINOWEALTH GXT 144 Gaming Mouse] on usb-0000:00:14.0-4/input1
[ 69.105124] usb 1-9: new high-speed USB device number 4 using xhci_hcd
[ 69.254887] usb 1-9: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.90
[ 69.254915] usb 1-9: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 69.254929] usb 1-9: Product: USB2.0 Hub
[ 69.256630] hub 1-9:1.0: USB hub found
[ 69.256981] hub 1-9:1.0: 4 ports detected
[ 69.258124] usb: port power management may be unreliable
[ 69.389128] usb 1-11: new full-speed USB device number 5 using xhci_hcd
[ 69.538356] usb 1-11: New USB device found, idVendor=1462, idProduct=7d18, bcdDevice= 0.01
[ 69.538385] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 69.538400] usb 1-11: Product: MYSTIC LIGHT
[ 69.538410] usb 1-11: Manufacturer: MSI
[ 69.538420] usb 1-11: SerialNumber: A02021081805
[ 69.541808] input: MSI MYSTIC LIGHT as /devices/pci0000:00/0000:00:14.0/usb1/1-11/1-11:1.0/0003:1462:7D18.0005/input/input9
[ 69.542258] hid-generic 0003:1462:7D18.0005: input,hiddev1,hidraw4: USB HID v1.10 Device [MSI MYSTIC LIGHT ] on usb-0000:00:14.0-11/input0
[ 69.669124] usb 1-14: new full-speed USB device number 6 using xhci_hcd
[ 69.819394] usb 1-14: New USB device found, idVendor=8087, idProduct=0026, bcdDevice= 0.02
[ 69.819423] usb 1-14: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 182.141933] sd 5:0:0:0: [sda] Synchronizing SCSI cache
[ 182.142749] sd 4:0:0:0: [sdb] Synchronizing SCSI cache

The last USB device in this list is a bluetooth card. I have blacklisted btusb,
but this didn't help, still hangs.
At 182 seconds I pressed CRTL_ALT_DEL and the times without sleep statements
come down to like 11 seconds when it hangs.



-----Original-Nachricht-----
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-28T11:42:19+0200


Michel Verdier

unread,
Aug 30, 2023, 6:10:06 AM8/30/23
to
On 2023-08-30, tha...@t-online.de wrote:

> The last USB device in this list is a bluetooth card. I have blacklisted btusb,
> but this didn't help, still hangs.
> At 182 seconds I pressed CRTL_ALT_DEL and the times without sleep statements
> come down to like 11 seconds when it hangs.

You should blacklist usb devices not found during boot and still listed
with udevadm. You can also try to unplug all usb devices and plug them
one by one to find which hangs.
Do you try to boot on another kernel or a debian live ?

tha...@t-online.de

unread,
Sep 18, 2023, 9:40:07 AM9/18/23
to
I have booted on 6.3 and 6.4, both with the same result.
If I boot with 6.1 the prompt for entering the luks passphrase is there and
I can use the machine.
Getting 6.3 using snapshot.debian.org is possible, but also needs some changes on
the packages config. I managed, but this needs additional work to get it right.


I have filed a bug against udev and later vs. nvidia-driver.
Purging nvidia stuff and using nouveau I could also run with 6.3 o 6.4.
After 6.5 came into debian I have tried again with nvidia and it works again.
So for 6.3 and 6.4 I basically couldn't use nvidia. Not sure about 6.2 as this is
not available on debian.

To diagnose the issue I always booted into debian live.
Mounted the encrypted luks partition and modified the initramfs-tools, generated
new initrd-Images and try again and again.
Getting early netconsole to work and fiddling with the initramfs stuff was not so easy for me.
I know that there can be issues running sid, but this was a lot harder than expected.
You have a working system, do an upgrade and boom this system cannot even boot up.

Using debug=x (or whatever value, it doesn't matter) and netconsole=... helped to remedy
this problem.

Sigh, Thomas



-----Original-Nachricht-----
Betreff: Re: AW: Debugging initramfs, server hangs during boot process
Datum: 2023-08-30T12:00:56+0200

0 new messages