UPD: "do_IRQ: near stack overflow" when inserting CF disk

From: Roger Larsson
Date: Fri Dec 12 2003 - 10:59:49 EST


OK, I have done some more testing....

How to avoid getting HTML messages from Outlook?
I have specified text - but I guess it automatically selects HTML when
adding attachments...

please cc me, currently not subscribed.

/RogerL

---------- Forwarded Message ----------

Subject: "do_IRQ: near stack overflow" when inserting CF disk
Date: Friday 12 December 2003 11.17
From: Larsson Roger <roger.larsson@xxxxxxxxxxx>
To: 'Kernel Mailing List' <linux-kernel@xxxxxxxxxxxxxxx>, 'David Hinds'
<dahinds@xxxxxxxxxxxxxxxxxxxxx>
Cc: "'roger.larsson@xxxxxxxxxx'" <roger.larsson@xxxxxxxxxx>

I get these three printouts when inserting a compact flash disk
(SuSE Linux 2.4.21-144-smp) - is the stack intentionally this fit?
or is it an unexpected code path?

I have had other interrupt related problems, it usually locks up :-(
This time I run with "nosmp noapic"

The ide-cs is now forced to use irq 3 (When running noapic others
seems busy... with apic and using irq 6 or 10 computer has
locked up...)

I will try irq 3 without one of the options to see if the computer still
survives...

- new data -

Easier said than done - they require each other!
But I noticed that reducing 'stackwarn' and 'stackdefer'
to under the level warned about helps (might be luck)

Summary:
Some routines allocate to much stack: validate_cis?
several subtypes in the union cisparse_t are quite
big (>250 bytes)
This eats stack (to much?) or only close enough to
trigger 'stackdefer' which might stress the drivers SMPness?

/RogerL


--
Roger Larsson
Skellefteå
Sweden

Attachment: first.stack
Description: Binary data

Attachment: second.stack
Description: Binary data

Attachment: third.stack
Description: Binary data