From: Hugo Mills <hugo-lkml@carfax.org.uk>
To: "Karel Kulhavý" <clock@twibright.com>
Cc: Hugo Mills <hugo-lkml@carfax.org.uk>, linux-kernel@vger.kernel.org
Subject: Re: won't work: 2.6.0 && SiI 3112 SATA
Date: Tue, 6 Jan 2004 17:04:14 +0000 [thread overview]
Message-ID: <20040106170414.GF17606@carfax.org.uk> (raw)
In-Reply-To: <20040106174714.B6567@beton.cybernet.src>
[-- Attachment #1: Type: text/plain, Size: 2877 bytes --]
On Tue, Jan 06, 2004 at 05:47:14PM +0100, Karel Kulhavý wrote:
> On Tue, Jan 06, 2004 at 01:25:33PM +0000, Hugo Mills wrote:
> > The AAR-1210SA has a BIOS which turns off interrupts unexpectedly.
> > Jeff Garzik released a patch[1] earlier today that addresses this
> > problem in the libata driver.
> >
> > Hugo.
> >
> > [1] http://marc.theaimsgroup.com/?l=linux-kernel&m=107338181210727&w=2
>
> Tried that patch however no remedy. Interesting is maybe the information the
> controller reports on hde. The patch includes something with interrupts
> of IDE0 and IDE1.
>
> Tried to "extrapolate" the stuff in sata_sil.c logically (sorry for not knowing
> what's going on here) with bitmasks 1<<25, 1<<26 and adding them to the few
> lines that reenable the interrupts, but this also didn't work.
>
> In fact, it doesn't even get into the workaround code at the moment the system
> freezes temporarily.
>
> I managed (after long wait) to get the system boot up and captured the
> dmesg:
[snip]
> ### THIS IS MY COMMENT Entering __devinit siimage_init_one
> Adaptec AAR-1210SA: IDE controller at PCI slot 0000:03:02.0
> PCI: Found IRQ 7 for device 0000:03:02.0
> PCI: Sharing IRQ 7 with 0000:00:1f.3
> Adaptec AAR-1210SA: chipset revision 2
> Adaptec AAR-1210SA: 100% native mode on irq 7
> ide2: MMIO-DMA at 0xf8848c00-0xf8848c07, BIOS settings: hde:pio, hdf:pio
> ide3: MMIO-DMA at 0xf8848c08-0xf8848c0f, BIOS settings: hdg:pio, hdh:pio
> hde: Maxtor 7Y250M0, ATA DISK drive
> ide2 at 0xf8848c80-0xf8848c87,0xf8848c8a on irq 7
> hdg: Maxtor 7Y250M0, ATA DISK drive
> ide3 at 0xf8848cc0-0xf8848cc7,0xf8848cca on irq 7
> hde: max request size: 7KiB
> ### Here the first freeze occurs
> hde: lost interrupt
> ### Another freeze
> hde: lost interrupt
> ### Another freeze... etc.
> hde: lost interrupt
> hde: 490234752 sectors (251000 MB) w/7936KiB Cache, CHS=30515/255/63
> hde: lost interrupt
> hde: lost interrupt
> /dev/ide/host2/bus0/target0/lun0:<4>hde: dma_timer_expiry: dma status == 0x24
> hde: DMA interrupt recovery
> hde: lost interrupt
[snip]
It looks like you're using the wrong driver here. Jeff's patch is
for libata, which is an implementation of SATA drivers in the SCSI
layer. You'll find the libata driver options under the SCSI menu in
the kernel config. Try disabling the pure IDE layer driver (in
"ATA/ATAPI/MFM/RLL support"), and go to the "SCSI low-level drivers"
menu, and enable "Serial ATA (SATA) support".
CONFIG_SCSI_SATA=y
CONFIG_SCSI_SATA_SIL=y
Hugo.
--
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- You can get more with a kind word and a 2"x4" than you can ---
with just a kind word.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-01-06 17:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-06 12:56 won't work: 2.6.0 && SiI 3112 SATA Karel Kulhavý
2004-01-06 13:07 ` Antti Jaakkola
2004-01-06 13:23 ` J. Ryan Earl
2004-01-06 14:57 ` newbiz
2004-01-06 15:09 ` Prakash K. Cheemplavam
2004-01-07 12:16 ` Steffen Beyer
2004-01-14 15:40 ` newbiz
[not found] ` <20040106132533.GD17606@carfax.org.uk>
2004-01-06 16:47 ` Karel Kulhavý
2004-01-06 17:04 ` Hugo Mills [this message]
[not found] ` <1866.208.180.249.106.1073426691.squirrel@mail.clanhk.org>
2004-01-08 13:14 ` Karel Kulhavý
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=20040106170414.GF17606@carfax.org.uk \
--to=hugo-lkml@carfax.org.uk \
--cc=clock@twibright.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 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.