lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 15 Sep 2014 17:50:04 +0200
From:	Christian Gmeiner <>
Cc:	LKML <>
Subject: requesting modules in the i2c-core in case of OF

Hi all.

I spend some time to debug an issue that our touch driver does not get
loaded even
if defined in devicetree. I enabled core debug and added a printk to

[    0.223468] usbcore: registered new interface driver usbfs
[    0.223558] usbcore: registered new interface driver hub
[    0.223698] usbcore: registered new device driver usb
[    0.224557] i2c i2c-1: adapter [21a4000.i2c] registered
[    0.224583] i2c i2c-1: of_i2c: walking child nodes
[    0.224596] i2c i2c-1: of_i2c: register
[    0.224628] __request_module: i2c:ar1021_i2c
[    0.225144] i2c 1-004d: uevent
[    0.225183] i2c i2c-1: client [ar1021_i2c] registered with bus id 1-004d
[    0.225198] i2c i2c-1: of_i2c: register
[    0.225213] __request_module: i2c:pca9555
[    0.225519] i2c 1-0010: uevent
[    0.225577] pca953x 1-0010: probe
[    0.225602] i2c i2c-1: master_xfer[0] W, addr=0x10, len=1

Now it gets interesting :)

root@OT:/# modinfo ar1021_i2c
license:        GPL
description:    Microchip AR1021 I2C Driver
author:         Christian Gmeiner <>
alias:          of:N*T*Cmicrochip,ar1021_i2c*
alias:          i2c:MICROCHIP_AR1021_I2C
intree:         Y
vermagic:       3.14.18 SMP preempt mod_unload ARMv7 p2v8

So the ar1021_i2c driver is build as kernel module and at this point
it is not possible to modprobe/request that module
as the RFS is not yet mounted and the initramfs does not contain this driver.

Should the i2c-core not load the requested driver in an deferred way?
Any opinions?

By the way the ar1021_i2c driver can be found here:

Christian Gmeiner, MSc
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists