Subject: Re: panic in new ieee1394 code
To: None <mlelstv@serpens.de>
From: KIYOHARA Takashi <kiyohara@kk.iij4u.or.jp>
List: current-users
Date: 07/22/2005 01:59:00
Hi, mlelstv!


From: mlelstv@serpens.de (Michael van Elst)
Date: Thu, 21 Jul 2005 05:54:38 +0000 (UTC)

> There seems to be some confusion in the driver.
> 
> attach disk 1 -> sd0 appears
> detach disk 1 -> no reaction
> attach disk 1 -> sd0 is still there and can be used (!)
> detach disk 1 -> no reaction
> attach disk 2 -> sd1 appears and can be used
> detach disk 2 -> sd0 detaches and the kernel panics with a 0xdeadbeef dereference

How did you do 'detach disk' sd0?


From: Dave Huang <khym@azeotrope.org>
Date: Wed, 20 Jul 2005 13:55:19 -0500

> I had noticed that too, but then saw this in the sbp(4) manpage:
> 
>      Some users familiar with umass(4) might wonder why the device is
>      not detached at the scsi(4) layer when the device is unplugged.
>      It is detached only if the device has not been plugged again
>      during several bus resets. This is for preventing to detach an
>      active file system even when the device cannot be probed
>      correctly for some reason after a bus reset or when the device is
>      temporary disconnected because the user changes the bus topology.
>      If you want to force to detach the device, run fwctl -r several
>      times.


Please log.  ;-)
--
kiyohara