Messages in this thread | | | Date | Mon, 14 Jun 2010 17:49:09 -0600 | From | Robert Hancock <> | Subject | Re: e-SATA ExpressCard - OOPS plus incrementing "ataX" on Linux-2.6.xx |
| |
On 06/14/2010 12:44 PM, Jeff Chua wrote: > On Tue, Jun 15, 2010 at 12:20 AM, Greg KH<greg@kroah.com> wrote: >> On Mon, Jun 14, 2010 at 11:16:29PM +0800, Jeff Chua wrote: > > >> This is a warning that you can ignore, it's been fixed in the latest >> tree (2.6.35-rc3). >> >> try that and see. > > Greg, > > Ok, just tried rc3 and it's fixed the 1st OOPS. > > But I'm still seeing the "ataX" incrementing from ata7 to ata8, ata9 > ... after taking out and putting back the card. It seems the interface > is still not shutting down properly. ... Any command to shutdown it > down gracefully?
The ataX number incrementing is normal (it always increments when an ATA host is initialized, it doesn't appear the numbers get reused). The other messages are the expected result when you surprise-remove the card. I think there should be a way to trigger the hotplug code to disable the device before you eject it, but I'm not sure what that is supposed to be - maybe echo 1 to /sys/device/pci_somethingorother/remove ?
> > ata9.00: disabled > 2010-06-15T02:32:04.531177+08:00 boston kernel: ata9.00: disabled > sd 8:0:0:0: [sdb] Synchronizing SCSI cache > sd 8:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00 > sd 8:0:0:0: [sdb] Stopping disk > sd 8:0:0:0: [sdb] START_STOP FAILED > sd 8:0:0:0: [sdb] Result: hostbyte=0x04 driverbyte=0x00 > 2010-06-15T02:32:04.568687+08:00 boston kernel: sd 8:0:0:0: [sdb] > Synchronizing SCSI cache > 2010-06-15T02:32:04.568715+08:00 boston kernel: sd 8:0:0:0: [sdb] > Result: hostbyte=0x04 driverbyte=0x00 > 2010-06-15T02:32:04.568719+08:00 boston kernel: sd 8:0:0:0: [sdb] Stopping disk > 2010-06-15T02:32:04.568731+08:00 boston kernel: sd 8:0:0:0: [sdb] > START_STOP FAILED > 2010-06-15T02:32:04.568735+08:00 boston kernel: sd 8:0:0:0: [sdb] > Result: hostbyte=0x04 driverbyte=0x00 > ata9: failed to stop engine (-5) > ahci 0000:05:00.0: PCI INT A disabled > 2010-06-15T02:32:05.068765+08:00 boston kernel: ata9: failed to stop engine (-5) > 2010-06-15T02:32:05.068797+08:00 boston kernel: ahci 0000:05:00.0: PCI > INT A disabled > > > > Thanks, > Jeff
| |