You are not logged in.

#1 2013-12-01 13:40:06

Gulver
Member
Registered: 2013-05-24
Posts: 208

Modules and Drivers in use

I suspect this is an utterly stupid question but I has confused.

When I ran an hardware check, some parts' drivers are different than the modules loaded.

Some are normal as I inspect, like GPU:

00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: Hewlett-Packard Company Device [103c:183e]
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at c3000000 (64-bit, non-prefetchable) [size=4M]
	Memory at b0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at 5000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [d0] Power Management version 2
	Capabilities: [a4] PCI Advanced Features
	Kernel driver in use: i915
	Kernel modules: i915

However, these Bridge ports..:

00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port [8086:0151] (rev 09) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=01, subordinate=06, sec-latency=0
	I/O behind bridge: 00004000-00004fff
	Memory behind bridge: c2000000-c2ffffff
	Prefetchable memory behind bridge: 00000000a0000000-00000000afffffff
	Capabilities: [88] Subsystem: Hewlett-Packard Company Device [103c:183e]
	Capabilities: [80] Power Management version 3
	Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
	Capabilities: [a0] Express Root Port (Slot+), MSI 00
	Capabilities: [100] Virtual Channel
	Capabilities: [140] Root Complex Link
	Capabilities: [d94] #19
	Kernel driver in use: pcieport
	Kernel modules: shpchp
---
00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	Memory behind bridge: c3500000-c35fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:183e]
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport
	Kernel modules: shpchp
---
00:1c.1 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 [8086:1e12] (rev c4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
	I/O behind bridge: 00003000-00003fff
	Prefetchable memory behind bridge: 00000000c3400000-00000000c34fffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:183e]
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport
	Kernel modules: shpchp
---
00:1c.2 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 [8086:1e14] (rev c4) (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=09, subordinate=0e, sec-latency=0
	I/O behind bridge: 00002000-00002fff
	Memory behind bridge: c1000000-c1ffffff
	Prefetchable memory behind bridge: 00000000c0000000-00000000c0ffffff
	Capabilities: [40] Express Root Port (Slot+), MSI 00
	Capabilities: [80] MSI: Enable- Count=1/1 Maskable- 64bit-
	Capabilities: [90] Subsystem: Hewlett-Packard Company Device [103c:183e]
	Capabilities: [a0] Power Management version 2
	Kernel driver in use: pcieport
	Kernel modules: shpchp
---

Also, Is this SMBus supposed to work without a driver loaded?

00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04)
	Subsystem: Hewlett-Packard Company Device [103c:183e]
	Flags: medium devsel, IRQ 19
	Memory at c3615000 (64-bit, non-prefetchable) [size=256]
	I/O ports at 5040 [size=32]
	Kernel modules: i2c_i801

Thanks.

Offline

#2 2013-12-02 03:23:45

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Modules and Drivers in use

As I as I could lurk I learned that Bridge Ports' driver should not necessarily be a module but that still need a clarification.

And in another source I read that SMBus driver might have been disabled because BIOS, (or EUFI Firmware in this case) could have caused kernel to cease interaction after it is already being used by BIOS/UEFI Firmware. I'm also wondering if I accidentally did something while configuring lm_sensors, even though I did not choose any "could be problematic in some hardware" options.

I wonder if I can get an answer anyhow, at least can someone point me if is there anything I should do to optimize the performance, or Is it OK like this. hmm

Last edited by Gulver (2013-12-02 03:24:04)

Offline

#3 2013-12-02 12:30:36

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Modules and Drivers in use

I guess I should just get the fuck out to somewhere else where a soul likes to type a few didactic words, or at least bothers to tell me to stop using the forum.

Offline

#4 2013-12-02 12:42:19

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Modules and Drivers in use

Gulver wrote:

I guess I should just get the fuck out to somewhere else where a soul likes to type a few didactic words, or at least bothers to tell me to stop using the forum.

Hey Gulver, what's the matter with you, of course people react, but maybe no one has an answer for you right now.

Maybe you still need to provide more info, but (quickly) looking at (I guess) lspci -vv, it looks like it's all the same as over here wink

I have no time right now, but I will take a better look later today, though don't expect answers...

Offline

#5 2013-12-02 12:55:15

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Modules and Drivers in use

Gulver wrote:

I guess I should just get the fuck out to somewhere else where a soul likes to type a few didactic words, or at least bothers to tell me to stop using the forum.

Stop using the forum.

Well, you need to be more patient wink. Also, in case you have noticed, the most useless threads, such as, 'Try This' or 'Off-Topic' ones attract the most responses.

On topic:

You didn't even tell the command you used to get the output, though it looks like lspci. Anyhow, on my system the drives is loaded for SMBus, and even I have sensors running.

Have you noticed any problem with the driver "missing"? If not, you should just ignore it. But if you suspect that it was caused by you somehow, you should try with a fresh

sensors-detect

For reference, the driver loaded on my system is i801_smbus. You might want to search for it on the lm-sensors mailing list.

Edit: qinohe sneaked in before me ...

Last edited by x33a (2013-12-02 12:56:45)

Offline

#6 2013-12-02 13:21:26

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Modules and Drivers in use

Thanks for the hugs tongue

In a Gentoo forum topic, I find a relative discussion where some suggested that the SMBus module of i2c_i801 should be loaded for fan speed controls to a user with the same chipset C210. I'm not sure if it would disable UEFI/BIOS precautions for a meltdown since my core temperatures hits 105 at times when alongside with GPU load, though it never shut itself but again, it hits till 105 which is critical.

No missing drivers. I rerun sensors-detect, it gives only one output:

...
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
...

In google searches, this very topic comes up with other in which some random lspci -vnn outputs but are very unrelated. Nothing else.

For other module & drivers, I tried to compare them with modinfo command and pcieport apparently is not even a module since it didn't give any output.

Last edited by Gulver (2013-12-02 13:28:41)

Offline

#7 2013-12-02 13:55:42

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: Modules and Drivers in use

The 'Kernel modules' line is the list of kernel modules that have a modalias that matches the specific devices - that means that whenever that devices is present, the module is loaded.

The 'Kernel driver in use' line shows the driver that binds the pci device. A list of pci drivers is in /sys/bus/pci/drivers/. A kernel module can register several drivers or none at all. The driver does not need to match the module name.

In your example, the PCIe bridges are bound by the pcieport driver (which is not a kernel module, but built-in). However, the shpchp wants to be loaded too in order to support PCIe hotplugging - however, that driver does not bind the device, since only one driver can do that.

Offline

#8 2013-12-02 14:57:24

qinohe
Member
From: Netherlands
Registered: 2012-06-20
Posts: 1,494

Re: Modules and Drivers in use

Couldn't have explained it better, but that leads to a question..

brain0 wrote:

However, the shpchp wants to be loaded too in order to support PCIe hotplugging - however, that driver does not bind the device, since only one driver can do that.

Does that mean that hot plugging simply does nothing, or fulfills it a purpose?

Offline

#9 2013-12-02 16:26:08

Gulver
Member
Registered: 2013-05-24
Posts: 208

Re: Modules and Drivers in use

Thanks for clarification!

As in lspci and lm_sensors outputs, SMBus have i2c-i801 module; If that's also the driver as I suspect; How can I enable a driver and/or make it enabled at boot? hmm

Offline

Board footer

Powered by FluxBB