kern/122045: [ata][panic] reiniting detached ata channel kills
the kernel
soralx at cydem.org
soralx at cydem.org
Thu Apr 3 06:00:16 UTC 2008
> > Synopsis: [ata][panic] reiniting detached ata channel kills the kernel
> > State-Changed-From-To: feedback->open
> > State-Changed-By: vwe
> > State-Changed-When: Sat Mar 29 15:48:13 UTC 2008
> > State-Changed-Why:
> > feedback received by private mail, not a problem with mounted filesystem
> > system panics without active mounts on the detached drive
> > (clean umount before detach done).
>
> ata(4) freed resources and mutexes when you are detaching it. So, you
> should attach it first before reinit, because it is trying to get access
> to freed resources. Try this patch.
> error = ata_reinit(device);
> - ata_start(device);
> break;
this works nicely, thanks!
[root at soralx ~]# atacontrol reinit ata8
atacontrol: ioctl(IOCATAREINIT): Device not configured
Master: no device present
Slave: no device present
so it leaves just one question: how to send a STOP command to an ATA device?
(akin to `camcontrol stop`)
> WBR, Andrey V. Elsukov
[SorAlx] ridin' VS1400
More information about the freebsd-bugs
mailing list