From: raz ben yehuda <razb@bitband.com>
To: Tony Battersby <tonyb@cybernetics.com>
Cc: Tejun Heo <tj@kernel.org>, Jeff Garzik <jgarzik@pobox.com>,
linux-ide@vger.kernel.org
Subject: Re: AHCI problem with hotplug
Date: Tue, 30 Dec 2008 15:41:19 +0200 [thread overview]
Message-ID: <200812301541.19939.razb@bitband.com> (raw)
In-Reply-To: <4958E3DC.7080009@cybernetics.com>
i have many other problems with SuperMicro. I believe it has to do with the
backpanel. I occasions when disks simply vanish.
I suggest you try the same thing on other machines.
On Monday 29 December 2008 16:51, Tony Battersby wrote:
> Tejun Heo wrote:
> > Tony Battersby wrote:
> >> I am having a problem getting Linux to detect hot-plugged SATA disks on
> >> my ICH7 AHCI controller (SuperMicro PDSME motherboard). On any SATA
> >> port that already had a disk plugged in during BIOS POST, Linux will see
> >> the disk and detect hot-plug and hot-unplug events just fine. On any
> >> SATA port that did not have a disk plugged in during BIOS POST, Linux
> >> will not see a disk no matter what. Here are the different sequences of
> >> events that I have tried:
> >>
> >> 1) boot with SATA disk plugged in
> >> modprobe ahci: disk detected
> >> unplug disk: disk deleted
> >> plug in disk: disk detected
> >>
> >> 2) boot with SATA disk plugged in
> >> unplug disk
> >> modprobe ahci
> >> plug in disk: disk detected
> >> unplug disk: disk deleted
> >> plug in disk: disk detected
> >> unplug disk: disk deleted
> >> plug in disk to any other SATA port -> not detected
> >> plug in disk to the original SATA port -> disk detected
> >>
> >> 3) boot with SATA disk unplugged
> >> plug in disk to any SATA port
> >> modprobe ahci: not detected
> >> grep ahci /proc/interrupts: 0 interrupts
> >>
> >> 4) boot with SATA disk unplugged
> >> modprobe ahci
> >> plug in disk to any SATA port: not detected
> >> grep ahci /proc/interrupts: 0 interrupts
> >>
> >> 5) keep SATA disk plugged in during BIOS POST but unplug it before the
> >> kernel boots
> >> kernel hangs at "BIOS data check"
> >>
> >> I have tried both 2.6.24.7 and 2.6.27.8 with the same result.
> >>
> >> The BIOS is configured as follows:
> >> Parallel ATA: [Enabled]
> >> Serial ATA: [Enabled]
> >> SATA Controller Mode: [Enhanced]
> >> SATA RAID: [Disabled]
> >> SATA AHCI: [Enabled]
> >>
> >> The root filesystem is on a parallel IDE disk using the legacy
> >> (non-libata) piix driver.
> >
> > The BIOS could be tristating the ports. Does it work if you issue
> > manual rescan (echo - - - > /sys/class/scsi_host/hostN/scan)?
>
> No luck. I get:
>
> ata1: hard resetting link
> ata1: SATA link down (SStatus 0 SControl 0)
> ata1: EH complete
>
> And the drive isn't seen.
>
> Tony
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-ide" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-12-30 11:41 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-11 20:32 AHCI problem with hotplug Tony Battersby
2008-12-12 16:03 ` Alan Cox
2008-12-29 8:17 ` Tejun Heo
2008-12-29 14:51 ` Tony Battersby
2008-12-29 18:29 ` Robert Hancock
2008-12-30 0:38 ` Tejun Heo
2009-01-02 3:12 ` Tejun Heo
2009-01-07 15:39 ` Tony Battersby
2009-01-08 2:06 ` Tejun Heo
2009-01-08 14:20 ` Tony Battersby
2009-01-09 0:13 ` Robert Hancock
2009-01-09 16:30 ` Tony Battersby
2009-01-14 6:33 ` Tejun Heo
2009-01-14 21:38 ` Tony Battersby
2009-01-15 1:31 ` Tejun Heo
2009-01-15 4:42 ` Robert Hancock
2009-01-20 22:56 ` Tony Battersby
2008-12-30 13:41 ` raz ben yehuda [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=200812301541.19939.razb@bitband.com \
--to=razb@bitband.com \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=tj@kernel.org \
--cc=tonyb@cybernetics.com \
/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).