Bug#983357: Netinst crashes xen domU when loading kernel

Cyril Brulebois kibi at debian.org
Mon May 24 05:19:50 BST 2021


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 at 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. :)


Cheers,
-- 
Cyril Brulebois (kibi at debian.org)            <https://debamax.com/>
D-I release manager -- Release team member -- Freelance Consultant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20210524/e9f2185a/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list