eeprom:uevent在linux内核4.4.0中生成无限次

时间:2016-07-28 22:10:54

标签: linux linux-kernel linux-device-driver udev

我正在使用运行Linux内核4.4.0的Ubuntu 16.0.4。我的主板上连接了i2c适配器上的几个EEPROMS。 当我插入eeprom模块时,我会在uevent中看到无限期/var/log/syslog条消息:

Jul 28 15:07:16 manik kernel: [15801.153601] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.153664] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153725] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153787] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.153852] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.153914] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.153976] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154041] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154103] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154166] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154227] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154292] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.154357] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154419] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154482] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154547] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154609] eeprom 23-0056: uevent
Jul 28 15:07:16 manik kernel: [15801.154671] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154732] eeprom 19-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154806] eeprom 23-0054: uevent
Jul 28 15:07:16 manik kernel: [15801.154871] eeprom 12-0050: uevent
Jul 28 15:07:16 manik kernel: [15801.154934] eeprom 23-0056: uevent

我检查了sysfs设备树和设备节点,以便所有eeproms芯片都可以正常创建。

我不明白为什么仍然会生成EEPROM芯片的uevents。

任何人都知道为什么?

1 个答案:

答案 0 :(得分:0)

在内核配置中禁用了i2c-core调试(CONFIG_I2C_DEBUG_CORE未设置)。