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

Re: Bug#983357: Netinst crashes xen domU when loading kernel

Hi Phillip,

And thanks for debugging this… I must confess I've never touched
anything Xen related and I'd like to keep it that way in the near
future. ;-)

Phillip Susi <phill@thesusis.net> (2021-05-19):
> The discussion upstream does not seem to be converging on a proper fix
> in the kernel, so I'm going to clone this bug and suggest that
> debian-installer patch the start-udev script to ignore the failure of
> the udevadm trigger command.
> To summarize: init ends up calling start-udev which calls udevadm
> trigger to cold plug all devices.  Both scripts are set -e.  The Xen
> Virtual Keyboard driver and at least one other driver have always failed
> to trigger due to having absurdly long modalias, but the error used to
> be ignored.  The kernel now returns the error to udevadm, so it exits
> with an error, so start-udev exits with an error, so init exits with an
> error, causing the kernel to panic.

Well, it's a little more complicated:
 - start-udev is actually a script shipped by the udev udeb, i.e. the
   responsibility of systemd maintainers;
 - based on a quick grep, the installer contains two calls to that
   start-udev script, in the rootskel source package:
    + rootskel/src/init            (shipped as /init in the udeb)
    + rootskel/src/sbin/init-linux (shipped as /sbin/init in the udeb)

I'd be happy to have a comment from systemd maintainers before thinking
about patching rootskel. :)

Cyril Brulebois (kibi@debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant

Attachment: signature.asc
Description: PGP signature

Reply to: