Hi Salvatore,

Thanks for all your help so far!

On Wed, Jun 04, 2025 at 09:32:05AM +0200, Salvatore Bonaccorso wrote:
If you updates from bookworm to trixie then start with the bookworm
based kernel and bisect there the debian image versions first until we
get a closer range where an upstream change happened.

Note I have forwarded the report to usptream but so far no reaction.
It might actually be that with the trixie system and the older kernel
you will hit now the issue as well as it is just undovered by having
iio-sensor-proxy running (you could double check in your apt/dpkg logs
if it was already installed under bookworm though).

I installed the bookworm kernel and the null pointer dereference
happened there too with iio-sensor-proxy unmasked.

After also downgrading iio-sensor-proxy to the bookworm version it did
not happen, which explains why I never saw this while on bookworm.

Older iio-s-p on kernel 6.12.29 doesn't trigger it either.

From what I can tell, iio-sensor-proxy was installed before upgrading to
trixie, it was upgraded from 3.0-2 to 3.5-2 on Feb 27 which was when I
upgraded to trixie.

Tried downgrading to linux 5.10.0-32 from oldstable, with iio-s-p from
trixie, not seeing the null pointer deref then.

iio-sensor-proxy says this:
Jun 04 12:58:44 spisula systemd[1]: Starting iio-sensor-proxy.service - IIO 
Sensor Proxy service...
Jun 04 12:58:44 spisula systemd[1]: Started iio-sensor-proxy.service - IIO 
Sensor Proxy service.
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Could not find trigger name 
associated with 
/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Could not write to 
'/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0/buffer/enable':
 Operation not permitted
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Unable to enable ring buffer for 
/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Not a switch 
[/sys/devices/pci0000:00/0000:00:16.0/i2c_designware.0/i2c-0/i2c-BOSC0200:00/iio:device0/../capabilities/sw]
Jun 04 12:58:44 spisula iio-sensor-prox[2532]: Invalid bitmask entry for 
/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input18/event9

--
Kim

Reply via email to