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

2022-11-13 Thread Håkon Alstadheim
On Tue, 24 Aug 2021 15:27:19 -0400 Phillip Susi wrote: > This seems to be the heart of the problem: libinput was designed > assuming that all keyboards can and must report what keys are actually > present, and then libinput tries to cram that information into the > modalias rather than some other

Bug#988776: 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#988776: 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#988776: 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#988776: 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#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#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#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#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

Re: 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

Re: 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#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

Re: 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#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#988776: 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,

Re: 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#988776: 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#988776: 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