From: r.marek@sh.cvut.cz (Rudolf Marek)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Kernel hangs with i2c-i801 driver?
Date: Fri, 16 Dec 2005 19:59:47 +0000 [thread overview]
Message-ID: <43A31CB3.6030204@sh.cvut.cz> (raw)
In-Reply-To: <20051123100021.GA29473@oden.homeip.net>
> I've got another answer fro GBT Support:
>
> "We are sorry for the late response. Here is an answer from our R&D team:
> The GPI7 is the interrupt pin of 83792. Please disable the SMI bus of
> GPI7 from South bridge.
>
> Hope this helps.
>
> Best regards,
>
> GBT Tech Support"
>
> I actually didn't expect to get this questin answered from GBT, not
> that the answers are that exhaustive but at least we are getting bits
> and pieces here and there...
>
> So I assume we are talking about GPI7 on my ICH7R bridge. In the
> datasheet,
>
> http://download.intel.com/design/chipsets/datashts/30701301.pdf
>
> of the ICH7R I understand that this pins can be set to cause either
> SCI and/or SMI#. This should be programmed by the BIOS though, right?
> Linux should be messing around with these chipset registers?
Linux should not unless there is something wrong like this...
The real question is WHAT is failing. What exactly in the SMM mode handler will fail...
This is very hard to debug, perhaps with the need of real hardware debugger.
So we have two ways how to handle this:
Method 1) to disable the SMI via GPI7
we need to know:
1) how to identify this motherboard, (DMI, PCI subsystem ID (subsystem ID is needed to ask them))
2) will the disabled SMI affect the emergency shutdown of CPU?
(we can answer this by ourselfs, I think the W83792D has OVT pin for this)
Better to have it confirmed.
3) then we will develop a patch to quirks.c
Method 2) try to uncover why the SMI failes
This is very difficult. Maybe we can ask them for some special bios version
with modified SMM handler to see if it fails too.
We can ask them to provide the SMM BIOS handler code and try to look around...
Are you using USB keyboard or mouse?
(SMM is used for emulation this devices as legacy PS/2)
So question is what to try....
Maybe we can disable the GPI7 and see if there are no hangs. If so then we can try to find real reason. If it fails
we can implement method1.
> Regardless, the register of interrest I think is the one in chapter
> 10.8.1.5. Now how would I read the value in that register from user
> space in Linux? It says that the registers that this specific register
> is part of is distributed within PCI Device 31:Function 0 space as
> well as a separate I/O range but this still doesn't tell me much on
> how to read it...
PCI space => lspci -x -x -x
IO space => isadump -f
So for our case
lspci -x -x -x
Is enough. (enough is even the listing from PCI Device 31:Function 0)
Regards
Rudolf
BTW: Intel left little secret in that datasheet look to page 54 (printed) to the picture...
There is free space in righ bottom corner. Now use mouse to copy that area and you will be surprised ;)
Well not so much but it is funny way to hide information rather then delete.
next prev parent reply other threads:[~2005-12-16 19:59 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-23 11:01 [lm-sensors] Kernel hangs with i2c-i801 driver? Daniel Nilsson
2005-11-23 13:18 ` Jean Delvare
2005-11-23 14:12 ` Daniel Nilsson
2005-11-23 14:17 ` Keith
2005-11-23 15:24 ` Henrique de Moraes Holschuh
2005-11-23 15:52 ` Jean Delvare
2005-11-23 15:53 ` Keith
2005-11-23 16:06 ` Keith
2005-11-23 16:22 ` Jean Delvare
2005-11-23 18:53 ` Henrique de Moraes Holschuh
2005-11-23 20:02 ` Henrique de Moraes Holschuh
2005-11-23 22:36 ` Jean Delvare
2005-11-24 2:58 ` Henrique de Moraes Holschuh
2005-11-25 17:51 ` Mark M. Hoffman
2005-11-25 17:54 ` Mark M. Hoffman
2005-11-25 20:52 ` Rudolf Marek
2005-11-26 8:54 ` Daniel Nilsson
2005-11-26 10:36 ` Jean Delvare
2005-11-28 13:32 ` Jean Delvare
2005-11-28 18:50 ` Daniel Nilsson
2005-11-28 20:07 ` Daniel Nilsson
2005-11-29 16:26 ` Jean Delvare
2005-11-30 23:11 ` Rudolf Marek
2005-12-01 22:29 ` Daniel Nilsson
2005-12-02 9:58 ` Rudolf Marek
2005-12-03 20:57 ` Daniel Nilsson
2005-12-05 8:19 ` Rudolf Marek
2005-12-05 11:16 ` Ymu
2005-12-05 18:41 ` Daniel Nilsson
2005-12-06 2:10 ` Ymu
2005-12-07 8:20 ` Daniel Nilsson
2005-12-07 9:59 ` Ymu
2005-12-07 11:08 ` Henrique de Moraes Holschuh
2005-12-07 20:06 ` Daniel Nilsson
2005-12-08 7:46 ` Ymu
2005-12-08 21:22 ` Jean Delvare
2005-12-09 2:10 ` Henrique de Moraes Holschuh
2005-12-09 2:47 ` Ymu
2005-12-09 6:06 ` Daniel Nilsson
2005-12-09 12:26 ` Henrique de Moraes Holschuh
2005-12-10 9:14 ` Rudolf Marek
2005-12-13 22:06 ` Daniel Nilsson
2005-12-15 19:15 ` Daniel Nilsson
2005-12-16 11:59 ` Henrique de Moraes Holschuh
2005-12-16 19:59 ` Rudolf Marek [this message]
2005-12-29 17:04 ` Daniel Nilsson
2005-12-29 17:49 ` Rudolf Marek
2006-01-07 12:54 ` Daniel Nilsson
2006-01-07 20:42 ` Rudolf Marek
2006-01-08 14:31 ` Daniel Nilsson
2006-01-11 20:31 ` Daniel Nilsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43A31CB3.6030204@sh.cvut.cz \
--to=r.marek@sh.cvut.cz \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.