From: torvalds@transmeta.com (Linus Torvalds)
To: linux-kernel@vger.kernel.org
Subject: Re: Bizzare crashes on IBM Thinkpad A22e.. yenta_socket related
Date: Sat, 1 Sep 2001 14:56:55 +0000 (UTC) [thread overview]
Message-ID: <9mqsvn$fql$1@penguin.transmeta.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0108311244070.2899-100000@TesterTop.PolyDom> <Pine.LNX.4.33.0109010022440.1295-100000@TesterTop.PolyDom>
In article <Pine.LNX.4.33.0109010022440.1295-100000@TesterTop.PolyDom>,
Olivier Crete <Tester@videotron.ca> wrote:
>
>Ok, I've tried removing different parts of the kernel and I have been able
>to find that the instability (repetable freezes) start to appear when the
>yenta_socket.o module is loaded. I dont see the link between this module
>and the events that trigger the freezes... It crashes when I do the
>following things: use any of the non-keyboard buttons (thinkpad buttons
>and volume control), brightness control, etc.. These buttons fn-X
>combination have in common that they do not generate a scancode as shown
>by showkey.
What they are doing, however, is to generate a SCI, ie "System Control
Interrupt". Which, I bet you five bucks, is routed to the same interrupt
that your CardBus controller is on.
So the fact that the system hangs only with the CardBus module loaded
really has nothing to do with the yenta code itself - it's just that
before the yenta module is loaded, the SCI will be entirely ignored.
Once yenta _is_ loaded, however, we have a interrupt handler for the
interrupt and will start accepting it.
However, the interrupt handler we have is _not_ aware of system
control interrupts. So it won't be able to handle them, and the
interrupts will go on forever - locking up the machine.
The problem here is that the SCI really _should_not_ generate a regular
interrupt unless the system is ready to accept it. The SCI can be routed
to a SMI (system management interrupt, which puts the CPU in SMM mode,
at which point the BIOS SMM routines can handle it), _or_ if you have
ACPI enabled, ACPI should be (a) enabling the SCI->regular irq routine
_and_ (b) actually handling the irq.
Do you have ACPI enabled in your kernel?
What are the bootup messages?
Linus
next prev parent reply other threads:[~2001-09-01 15:00 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20010831081028.A12005@dev.sportingbet.com>
2001-08-31 16:46 ` Bizzare crashes on IBM Thinkpad A22e Tester
2001-09-01 4:50 ` Bizzare crashes on IBM Thinkpad A22e.. yenta_socket related Olivier Crete
2001-09-01 6:17 ` Gerd Knorr
2001-09-01 10:08 ` Erik Mouw
2001-09-01 14:56 ` Linus Torvalds [this message]
[not found] <200109011456.f81EutI16218@penguin.transmeta.com>
2001-09-01 19:21 ` Tester
2001-09-02 1:25 ` Linus Torvalds
2001-09-02 6:29 ` Tester
2001-09-02 18:22 ` Gunther Mayer
2001-09-02 21:51 ` Tester
2001-09-02 22:38 ` Alan Garrison
2001-09-04 22:17 ` Tester
2001-09-07 15:52 ` Linus Torvalds
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='9mqsvn$fql$1@penguin.transmeta.com' \
--to=torvalds@transmeta.com \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox