Date: Wed, 29 Jun 2005 00:17:10 +0200 From: David Rotermund <davrot@neuro.uni-bremen.de> To: freebsd-stable@freebsd.org Subject: Promise PDC40518 SATA150 and atacontrol detach/attach problem Message-ID: <1119997031.5260.90.camel@Donnerschlag>
next in thread | raw e-mail | index | archive | help
Hi, I would like to hotswap hard disks (for backups) with a Promise PDC40518 SATA150 (a.k.a. S-ATA II 150 TX4). Both SATA hard disks on this controller are found while booting. I can mount and use the drives. And this works very nicely and fast. But if I detach a drive via atacontrol or via the SATA hotplug-able backplane then the drive is gone and cannot be re-attached anymore. # atacontrol list [...] ATA channel 5: Master: ad10 <WDC WD2000JD-98HBB0/08.02D08> Serial ATA v1.0 Slave: no device present # atacontrol detach 5 # atacontrol attach 5 Master: no device present Slave: no device present Then I find the following messages in the log: for detaching: kernel: ad10: WARNING - removed from configuration for attaching: kernel: ata5-master: timeout sending command=ef kernel: ata5-master: error issueing SETFEATURES SET TRANSFER MODE command kernel: ata5-master: FAILURE - ATA_IDENTIFY timed out kernel: ata5-master: timeout sending command=ec kernel: ata5-master: error issueing ATA_IDENTIFY command Interestingly, in the booting process detection works fine (FreeBSD-5.4- Release #0 with the generic kernel): kernel: atapci1: <Promise PDC40518 SATA150 controller> port 0xb000-0xb0ff,0xb400-0xb47f mem 0xec800000-0xec81ffff,0xed000000-0xed000fff irq 18 at device 10.0 on pci0 kernel: atapci1: failed: rid 0x20 is memory, requested 4 kernel: ata2: channel #0 on atapci1 kernel: ata3: channel #1 on atapci1 kernel: ata4: channel #2 on atapci1 kernel: ata5: channel #3 on atapci1 [...] kernel: ad6: 190782MB <WDC WD2000JD-98HBB0/08.02D08> [387621/16/63] at ata3-master SATA150 kernel: ad10: 190782MB <WDC WD2000JD-98HBB0/08.02D08> [387621/16/63] at ata5-master SATA150 Exists there a patch or a workaround for this problem? Thanks! Best regards, David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1119997031.5260.90.camel>