NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38122: no sd? detach on firewire when disconnect harddisk



>Number:         38122
>Category:       kern
>Synopsis:       no sd? detach on firewire when disconnect harddisk
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 29 08:15:00 +0000 2008
>Originator:     Matthias Kretschmer
>Release:        NetBSD 4.0
>Organization:
none
>Environment:
System: NetBSD fourier.foobar.local 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00
:20:10 PST 2007 builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005
Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386

>Description:
When detaching sd?-firewire-node physically the kernel doesn't detach the sd? 
device.  The firewire<->IDE controller is an Oxford 911 bridge.  No such things 
happen when using the USB-part of that controller.  No problems at all on Mac 
OS X with the controller & firewire (so I assume the controller is working 
fine).

After attaching the device it is working without problems and fast as one might 
expect.  When detaching it the kernel doesn't get the information that the 
device is no longer available.  Reattaching the device doesn't create another 
sd? device and no attach message is given.  Instead one is able to continue to 
use the old device.  Without reattaching the device is visible but all 
operations on it are stalled (I guess I was impatient to wait for a timeout).

The firewire controller is recognized as fwohci?.  It is the VIA 6307 IEEE 1394 
controller.
>How-To-Repeat:
Just plug harddrive in and out.  Detaching never works.
>Fix:
unknown



Home | Main Index | Thread Index | Old Index