From: Linus Torvalds <torvalds@osdl.org>
To: linux-kernel@vger.kernel.org
Subject: Re: siimage, 2.5.74 and irq 19: nobody cared!
Date: Tue, 08 Jul 2003 12:03:48 -0700 [thread overview]
Message-ID: <1057691029.191785@palladium.transmeta.com> (raw)
In-Reply-To: bee8s6$jqf$1@news.cistron.nl
Miquel van Smoorenburg wrote:
>
> I was running 2.5.72-mm2 on our transit usenet news server
> (700 GB in/day and 1 TB out/day) which ran just fine, until I
> had some ext3 corruption on the /news partition. I remember
> having seen something about this in the -mm changelogs.
>
> So I tried 2.5.74 and 2.5.74-mm2, but with those kernels the
> siimage.c driver doesn't work. The card is detected, but a bit
> later in the boot process its IRQ is disabled and it won't work.
Ok. Can you send me the "lspci -vxx" output for your IDE chip?
The most likely reason for the breakage is that the siimage thing claims it
isn't a proper IDE storage device in legacy mode, and that means that newer
kernels won't try to probe for interrupts: they will just use the PCI
interrupt directly. That helps on machines with shared interrupts where
probing really doesn't work that well, but it can cause problems if the
PCI IDE controller is confused (and tries to implement a legacy IDE device,
but does it wrong).
If this is indeed the problem, then you could try fixing it by adding these
two lines to the top of init_chipset_siimage():
/* Mark it as a IDE device in legacy mode! */
dev->class = (PCI_CLASS_STORAGE_IDE << 8) | 0;
which just tells the IDE layer that it's not a regular PCI device and might
be using the legacy ISA interrupts - so that the code will know to probe
for them.
Linus
prev parent reply other threads:[~2003-07-08 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-08 11:11 siimage, 2.5.74 and irq 19: nobody cared! Miquel van Smoorenburg
2003-07-08 12:16 ` Bartlomiej Zolnierkiewicz
2003-07-08 12:25 ` Miquel van Smoorenburg
2003-07-08 12:40 ` Bartlomiej Zolnierkiewicz
2003-07-08 19:03 ` Linus Torvalds [this message]
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=1057691029.191785@palladium.transmeta.com \
--to=torvalds@osdl.org \
--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 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.