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

2021-09-21 Thread Chuck Zmudzinski
On 8/24/2021 7:12 PM, Ben Hutchings wrote: On Tue, Aug 24, 2021 at 03:27:19PM -0400, Phillip Susi wrote: Ben Hutchings writes: I think a proper fix would be one of: a. If the Xen virtual keyboard driver is advertising capabilities it doesn't have, stop it doing that. b. Change the implem

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

2021-08-26 Thread Chuck Zmudzinski
On 8/26/2021 8:01 AM, Chuck Zmudzinski wrote: On 8/24/2021 7:12 PM, Ben Hutchings wrote: The current limit on the environment of a uevent appears to be 2 KB (UEVENT_BUFFER_SIZE defined in ).� That seems like it *might* be easier to change, so long as user-space doesn't have a similar limit.

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

2021-08-26 Thread Chuck Zmudzinski
On 8/24/2021 7:12 PM, Ben Hutchings wrote: The current limit on the environment of a uevent appears to be 2 KB (UEVENT_BUFFER_SIZE defined in ). That seems like it *might* be easier to change, so long as user-space doesn't have a similar limit. I looked into systemd/udev, and it seems to use a

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

2021-08-25 Thread Chuck Zmudzinski
On 8/25/2021 4:16 PM, Phillip Susi wrote: Chuck Zmudzinski writes: If it doesn't work, I am also willing to try approach a by patching the Linux kernel xen-kbdfront driver by removing the for loops that advertise those 654 keys. I tend to agree with Philip that this is totally unnecessary, but

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

2021-08-25 Thread Chuck Zmudzinski
On 8/24/2021 7:12 PM, Ben Hutchings wrote: Text-based sysfs attributes are limited to a page, but udev receives uevents through netlink, not sysfs. The current limit on the environment of a uevent appears to be 2 KB (UEVENT_BUFFER_SIZE defined in ). That seems like it *might* be easier to chan

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

2021-08-25 Thread Chuck Zmudzinski
On 8/25/2021 12:45 PM, Chuck Zmudzinski wrote: On 8/24/2021 7:12 PM, Ben Hutchings wrote: On Tue, Aug 24, 2021 at 03:27:19PM -0400, Phillip Susi wrote: Ben Hutchings writes: I think a proper fix would be one of: a. If the Xen virtual keyboard driver is advertising capabilities it ���

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

2021-08-25 Thread Chuck Zmudzinski
On 8/24/2021 7:12 PM, Ben Hutchings wrote: On Tue, Aug 24, 2021 at 03:27:19PM -0400, Phillip Susi wrote: Ben Hutchings writes: I think a proper fix would be one of: a. If the Xen virtual keyboard driver is advertising capabilities it doesn't have, stop it doing that. b. Change the implem

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

2021-08-25 Thread Phillip Susi
Chuck Zmudzinski writes: > If it doesn't work, I am also willing to try approach a by patching > the Linux kernel xen-kbdfront driver by removing the for loops that > advertise those 654 keys. I tend to agree with Philip that this is > totally unnecessary, but I suppose I could be wrong about th

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

2021-08-25 Thread Chuck Zmudzinski
On 8/25/2021 10:54 AM, Ben Hutchings wrote: On Tue, 2021-08-24 at 15:19 -0400, Chuck Zmudzinski wrote: On 8/24/2021 1:12 PM, Ben Hutchings wrote: [...] I think a proper fix would be one of: a. If the Xen virtual keyboard driver is advertising capabilities it doesn't have, stop it doing

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

2021-08-25 Thread Ben Hutchings
On Wed, 2021-08-25 at 12:45 -0400, Chuck Zmudzinski wrote: [...] > > I will try it in my bullseye Xen HVM DomU. > > I am not sure how to rebuild the installation media with a patched > systemd, but I can patch my installed Xen HVM DomU system > with a patched systemd with the increased buffer siz

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

2021-08-25 Thread Ben Hutchings
On Tue, 2021-08-24 at 15:19 -0400, Chuck Zmudzinski wrote: > On 8/24/2021 1:12 PM, Ben Hutchings wrote: [...] > > I think a proper fix would be one of: > > > > a. If the Xen virtual keyboard driver is advertising capabilities it > > doesn't have, stop it doing that. > > b. Change the implemen

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

2021-08-24 Thread Chuck Zmudzinski
On 8/24/2021 1:12 PM, Ben Hutchings wrote: On Tue, 2021-08-24 at 10:56 -0400, Chuck Zmudzinski wrote: On 5/24/2021 3:30 AM, Michael Biebl wrote: Hi Phillip Am 24.05.2021 um 06:19 schrieb Cyril Brulebois: trigger to cold plug all devices.  Both scripts are set -e.  The Xen Virtual Keyboard dri

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

2021-08-24 Thread Ben Hutchings
On Tue, Aug 24, 2021 at 03:27:19PM -0400, Phillip Susi wrote: > > Ben Hutchings writes: > > > I think a proper fix would be one of: > > > > a. If the Xen virtual keyboard driver is advertising capabilities it > >doesn't have, stop it doing that. > > b. Change the implementation of modalias a

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

2021-08-24 Thread Phillip Susi
Ben Hutchings writes: > I think a proper fix would be one of: > > a. If the Xen virtual keyboard driver is advertising capabilities it >doesn't have, stop it doing that. > b. Change the implementation of modalias attributes to allow longer >values. > > It's not clear to me whether the X

Bug#983357: Netinst crashes xen domU when loading kernel

2021-08-24 Thread Chuck Zmudzinski
On 5/24/2021 3:30 AM, Michael Biebl wrote: Hi Phillip Am 24.05.2021 um 06:19 schrieb Cyril Brulebois: 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,

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

2021-08-24 Thread Ben Hutchings
On Tue, 2021-08-24 at 10:56 -0400, Chuck Zmudzinski wrote: > On 5/24/2021 3:30 AM, Michael Biebl wrote: > > Hi Phillip > > > > Am 24.05.2021 um 06:19 schrieb Cyril Brulebois: > > > > trigger to cold plug all devices.  Both scripts are set -e.  The Xen > > > > Virtual Keyboard driver and at least o

Bug#983357: Netinst crashes xen domU when loading kernel

2021-08-24 Thread Chuck Zmudzinski
On 5/25/2021 2:38 PM, Phillip Susi wrote: Michael Biebl writes: So this is a change in behaviour in the kernel? Yes, this commit fixed the kernel to report the error instead of silently failing: commit df44b479654f62b478c18ee4d8bc4e9f897a9844 Author: Peter Rajnoha Date: Wed Dec 5 12:27:44

Bug#983357: Netinst crashes xen domU when loading kernel

2021-05-25 Thread Phillip Susi
Michael Biebl writes: > So this is a change in behaviour in the kernel? Yes, this commit fixed the kernel to report the error instead of silently failing: commit df44b479654f62b478c18ee4d8bc4e9f897a9844 Author: Peter Rajnoha Date: Wed Dec 5 12:27:44 2018 +0100 kobject: return error cod

Bug#983357: Netinst crashes xen domU when loading kernel

2021-05-24 Thread Michael Biebl
Hi Phillip Am 24.05.2021 um 06:19 schrieb Cyril Brulebois: 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

Bug#983357: Netinst crashes xen domU when loading kernel

2021-05-23 Thread Cyril Brulebois
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 (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 th

Bug#983357: Netinst crashes xen domU when loading kernel

2021-05-19 Thread Phillip Susi
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

Bug#983357: Netinst crashes xen domU when loading kernel

2021-04-29 Thread Phillip Susi
I dug down to the the -ENOMEM coming from the fact that the modalias is over 2KB of crap so it won't fit in the environment block when the input core tries to add it for the uevent. I don't see how it gets this way though because the MODULE_ALIAS() statement in the code just says it should be "xen