linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: reuben-lkml@reub.net, linux-ide@vger.kernel.org
Subject: Re: Problems with SATA/AHCI with 'nosmp'  boot option
Date: Tue, 4 Oct 2005 19:04:01 -0700	[thread overview]
Message-ID: <20051004190401.11bc4c7e.rdunlap@xenotime.net> (raw)
In-Reply-To: <43425A0E.9050500@pobox.com>

On Tue, 04 Oct 2005 06:31:42 -0400 Jeff Garzik wrote:

> Reuben Farrelly wrote:
> > Hi,
> > 
> > While trying to gather more info about a problem with the latest sky2.c 
> > Gig ethernet driver hanging, I thought I'd boot my SMP built kernel (on 
> > an SMP/HT machine) with the 'nosmp' boot option.
> > 
> > However when I did this, I could no longer boot the machine, because the 
> > ahci
> > driver reported timeouts when probing the drives attached to the SATA 
> > ports, like this:
> > 
> > Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> > ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> > ICH6: IDE controller at PCI slot 0000:00:1f.1
> > ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 73
> > ICH6: chipset revision 3
> > ICH6: not 100% native mode: will probe irqs later
> >     ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:pio, hdb:pio
> >     ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:pio, hdd:pio
> > ACPI: PCI Interrupt 0000:00:1f.2[B] -> GSI 19 (level, low) -> IRQ 81
> > ahci(0000:00:1f.2) AHCI 0001.0000 32 slots 4 ports 1.5 Gbps 0xf impl 
> > SATA mode
> > ahci(0000:00:1f.2) flags: 64bit ncq led slum part
> > ata1: SATA max UDMA/133 cmd 0xF8806D00 ctl 0x0 bmdma 0x0 irq 81
> > ata2: SATA max UDMA/133 cmd 0xF8806D80 ctl 0x0 bmdma 0x0 irq 81
> > ata3: SATA max UDMA/133 cmd 0xF8806E00 ctl 0x0 bmdma 0x0 irq 81
> > ata4: SATA max UDMA/133 cmd 0xF8806E80 ctl 0x0 bmdma 0x0 irq 81
> > ata1 is slow to respond, please be patient
> > ata1 failed to respond (30 secs)
> > scsi0 : ahci
> > ata2 is slow to respond, please be patient
> > ata2 failed to respond (30 secs)
> 
> Sounds like AHCI or MSI is broken.

Reuben, is AHCI trying to use MSI interrupts in this case?
(reported in /proc/interrupts)

If so, I've seen problems with Linux and MSI interrupts
when "nomsp" is used too.  Can you disable CONFIG_PCI_MSI
or is this a vendor kernel with it already enabled?

I posted a patch about 1 week ago that disables MSI interrupts
if "nomsp" or some similar options are used.  It's in Andrew's
-mm patch set afaik.  or I just put it at
  http://www.xenotime.net/linux/patches/msi_disable2.patch
if you care to try it.

---
~Randy
You can't do anything without having to do something else first.
-- Belefant's Law

  reply	other threads:[~2005-10-05  2:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-21  9:10 Problems with SATA/AHCI with 'nosmp' boot option Reuben Farrelly
2005-10-04 10:31 ` Jeff Garzik
2005-10-05  2:04   ` Randy.Dunlap [this message]
2005-10-05 13:27     ` Reuben Farrelly
2005-11-18  4:53   ` Reuben Farrelly
2005-11-18  7:07     ` Randy.Dunlap
2005-11-26  9:09       ` Reuben Farrelly

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=20051004190401.11bc4c7e.rdunlap@xenotime.net \
    --to=rdunlap@xenotime.net \
    --cc=jgarzik@pobox.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=reuben-lkml@reub.net \
    /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;
as well as URLs for NNTP newsgroup(s).