Re: Bizzare crashes on IBM Thinkpad A22e.. yenta_socket related

Tester (tester@videotron.ca)
Tue, 4 Sep 2001 18:17:51 -0400 (EDT)


Hi,

On Sat, 1 Sep 2001, Linus Torvalds wrote:

> 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.

Seems like you may have lost five bucks... When ACPI is enabled the sci is
on IRQ 9, while the CardBus controller is on a IRQ 11 along with
the Sound card, the ethernet card, the modem and the usb controller. The
SCI seems to go to irq 9... and be alone there... The bug does not happen
when acpi is enabled tho... So I can't confirm...

> 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.

Where would that loop occur?

-- 
Tester
tester@videotron.ca

Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/