Skip to contentSkip to conversation

Ticket #1352

DISCUSSION Philippe Wautelet 3 participants 7 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

For the BIOS, I have is the latest version. Therefore, this is not the solution.

I also tried the new 2.6.0-test2 kernel and I got some improvements :
now it detects the SMBus but it says it is disabled.

Here is the output of lspci -vv:

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 1000 [disabled] [size2]

The IRQ is 10 which is the same as the Firewire and the CardBus controllers. However, I didn't compile Firewire and CardBus in the kernel. Therefore, I don't think it is an IRQ conflict.

Signature · 4 lines
Philippe Wautelet
Research assistant,
Aerodynamics Group, University of Liege, Belgium, http://www.ulg.ac.be/aerodyn
Private website: http://www.fractalzone.be
#1 lore raw
Quoted 3 lines

For the BIOS, I have is the latest version. Therefore, this is not the solution.

Wrong. You can have the latest BIOS and this BIOS can be dead broken. Wouldn't be the first time, nor the last. It's especially possible on recent hardware.

BTW, is there any monitoring information shown in the BIOS screens (boot time and setup)?

Quoted 14 lines

I also tried the new 2.6.0-test2 kernel and I got some improvements :
now it detects the SMBus but it says it is disabled.

Here is the output of lspci -vv:

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 1000 [disabled] [size2]

Quoted 3 lines

The IRQ is 10 which is the same as the Firewire and the CardBus controllers. However, I didn't compile Firewire and CardBus in the kernel. Therefore, I don't think it is an IRQ conflict.

It could be linked to ACPI. Linux ACPI support includes an alternative IRQ routing system, which sometimes solves this kind of problems. If you don't use ACPI yet, I think it could be a good time to give it a try.
http://sourceforge.net/project/showfiles.php?group_id6832
Make sure you use the latest version. Note that real ACPI support doesn't exist in Linux 2.4 before 2.4.22-pre4 or so.

Likewise, if you *do* use ACPI on your laptop, you could try disabling it for a short time and test if lm_sensors then works, or pass some parameter to your kernel that change how ACPI works:
http://sdb.suse.de/en/sdb/html/81_acpi.html

I'm only guessing, maybe it won't help at all.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Philippe Wautelet
Quoted 4 lines · Jean Delvare
Quoted 3 lines

For the BIOS, I have is the latest version. Therefore, this is not the solution.

Quoted 9 lines

Wrong. You can have the latest BIOS and this BIOS can be dead broken. Wouldn't be the first time, nor the last. It's especially possible on recent hardware.

BTW, is there any monitoring information shown in the BIOS screens (boot time and setup)?

Quoted 2 lines

I also tried the new 2.6.0-test2 kernel and I got some improvements :
now it detects the SMBus but it says it is disabled.

Ugh. That's too bad...

Quoted 11 lines
Quoted 11 lines

Here is the output of lspci -vv:

00:02.1 SMBus: Silicon Integrated Systems [SiS]: Unknown device 0016
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin B routed to IRQ 10
Region 4: I/O ports at 1000 [disabled] [size2]

Quoted 3 lines
Quoted 3 lines

The IRQ is 10 which is the same as the Firewire and the CardBus controllers. However, I didn't compile Firewire and CardBus in the kernel. Therefore, I don't think it is an IRQ conflict.

Do cat /proc/ioports to see if anything collides with 0x1000-0x101f. If it's some device you don't use, try completely disabling that device in the BIOS. Otherwise (unless Jean's hints work) I think you're out of luck, sorry.

Quoted 7 lines

It could be linked to ACPI. Linux ACPI support includes an alternative IRQ routing system, which sometimes solves this kind of problems. If you don't use ACPI yet, I think it could be a good time to give it a try.
http://sourceforge.net/project/showfiles.php?group_id6832
Make sure you use the latest version. Note that real ACPI support doesn't exist in Linux 2.4 before 2.4.22-pre4 or so.

Quoted 6 lines

Likewise, if you *do* use ACPI on your laptop, you could try disabling it for a short time and test if lm_sensors then works, or pass some parameter to your kernel that change how ACPI works:
http://sdb.suse.de/en/sdb/html/81_acpi.html

I'm only guessing, maybe it won't help at all.

Regards,

Signature · 2 lines
Mark M. Hoffman
[email protected]
#3 lore raw
In reply to Philippe Wautelet
Quoted 5 lines
Quoted 3 lines

BTW, is there any monitoring information shown in the BIOS screens (boot time and setup)?

There is nothing about that. The BIOS screen is very simple!

And, if you have another OS on the machine, do you have any hardware monitoring working there?

Quoted 4 lines

The 2.4.20 kernel I'm using is a vanilla kernel that I patched with ACPI. I have just tried various combinations of parameters (acpi=off, pci=noacpi and no parameters) but there are absolutely no differences for the 2.4.20 kernel.

Using 2.4.21 or even 2.4.22-preX with a recent ACPI patch would probably make it behave as 2.6.0-testX does.

Quoted 9 lines

However, for the 2.6.0-test2, I got some when I
use either acpi=off or pci=noacpi. dmesg gives:

PCI: IRQ 0 for device 0000:00:02.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 10 for device 0000:00:02.1
PCI: Sharing IRQ 10 with 0000:00:02.3
PCI: Sharing IRQ 10 with 0000:00:09.0

Quoted 4 lines

There is nothing new here (except the warning about PIRQ). If I also use pci=usepirqmask, the warning message disappears. But this does not give any improvement on the sensor problem, it is still "disabled".

00:02.1 being the SMBus device, I suspect all these is related. Obviously, your BIOS manufacturer did not allocate an IRQ for the device if ACPI isn't used, and did not allocate an adequate I/O space, if I followed your discussion with Mark M. Hoffman correctly. I suspect they just don't want you to use the device yet. As you say in your other mail, a newer BIOS may help someday.

Maybe you should contact Packard-Bell and ask them about it?

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#4 lore raw
In reply to Philippe Wautelet
Quoted 3 lines · Jean Delvare

BTW, is there any monitoring information shown in the BIOS screens (boot time and setup)?

There is nothing about that. The BIOS screen is very simple!

Quoted 7 lines

It could be linked to ACPI. Linux ACPI support includes an alternative IRQ routing system, which sometimes solves this kind of problems. If you don't use ACPI yet, I think it could be a good time to give it a try.
http://sourceforge.net/project/showfiles.php?group_id6832
Make sure you use the latest version. Note that real ACPI support doesn't exist in Linux 2.4 before 2.4.22-pre4 or so.

Quoted 7 lines

Likewise, if you *do* use ACPI on your laptop, you could try disabling it for a short time and test if lm_sensors then works, or pass some parameter to your kernel that change how ACPI works:
http://sdb.suse.de/en/sdb/html/81_acpi.html

I'm only guessing, maybe it won't help at all.

The 2.4.20 kernel I'm using is a vanilla kernel that I patched with ACPI. I have just tried various combinations of parameters (acpi=off, pci=noacpi and no parameters) but there are absolutely no differences for the 2.4.20 kernel. However, for the 2.6.0-test2, I got some when I use either acpi=off or pci=noacpi. dmesg gives:

PCI: IRQ 0 for device 0000:00:02.1 doesn't match PIRQ mask - try pci=usepirqmask
PCI: Found IRQ 10 for device 0000:00:02.1
PCI: Sharing IRQ 10 with 0000:00:02.3
PCI: Sharing IRQ 10 with 0000:00:09.0

There is nothing new here (except the warning about PIRQ).
If I also use pci=usepirqmask, the warning message disappears. But this does not give any improvement on the sensor problem, it is still "disabled".

Signature · 4 lines
Philippe Wautelet
Research assistant,
Aerodynamics Group, University of Liege, Belgium, http://www.ulg.ac.be/aerodyn
Private website: http://www.fractalzone.be
#5 lore raw
In reply to Philippe Wautelet
Quoted 5 lines · Mark M. Hoffman

Do cat /proc/ioports to see if anything collides with 0x1000-0x101f. If it's some device you don't use, try completely disabling that device in the BIOS. Otherwise (unless Jean's hints work) I think you're out of luck, sorry.

The only thing that appears at this address is the SMBus for the 2.6.0-test2 kernel and nothing for the 2.4.20 one.

Maybe a new version of the BIOS will solve that!

Signature · 4 lines
Philippe Wautelet
Research assistant,
Aerodynamics Group, University of Liege, Belgium, http://www.ulg.ac.be/aerodyn
Private website: http://www.fractalzone.be
#6 lore raw
In reply to Philippe Wautelet
Quoted 3 lines · Jean Delvare

And, if you have another OS on the machine, do you have any hardware monitoring working there?

No, I have only linux on this machine.

Quoted 9 lines

00:02.1 being the SMBus device, I suspect all these is related. Obviously, your BIOS manufacturer did not allocate an IRQ for the device if ACPI isn't used, and did not allocate an adequate I/O space, if I followed your discussion with Mark M. Hoffman correctly. I suspect they just don't want you to use the device yet. As you say in your other mail, a newer BIOS may help someday.

Maybe you should contact Packard-Bell and ask them about it?

Yes, I think I'll do it. Maybe that it could be interesting to also contact Mitac because apparently this is a Mitac 8640 hidden under the Packard-Bell name! If I get some feedback, I will send you the results.

Signature · 4 lines
Philippe Wautelet
Research assistant,
Aerodynamics Group, University of Liege, Belgium, http://www.ulg.ac.be/aerodyn
Private website: http://www.fractalzone.be