NetBSD-Bugs archive

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

kern/44566: ses(4) detach panic

>Number:         44566
>Category:       kern
>Synopsis:       ses(4) detach panic
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 14 09:20:00 +0000 2011
>Originator:     Bernd Ernesti
>Release:        NetBSD 5
System: NetBSD 5.99.20 (but happens with 5.0_STABLE too)
Architecture: i386
Machine: i386
        ses(4) seems to not support detach.

        This is the kernel log for an external usb 3.0 drive:

umass0 at uhub2 port 1 configuration 1 interface 0
umass0: Western Digital My Passport 0730, rev 2.10/10.12, addr 2
scsibus0 at umass0: 2 targets, 2 luns per target
sd0 at scsibus0 target 0 lun 0: <WD, My Passport 0730, 1012> disk fixed
sd0: fabricating a geometry
sd0: 931 GB, 953837 cyl, 64 head, 32 sec, 512 bytes/sect x 1953458176 sectors
ses0 at scsibus0 target 0 lun 1: <WD, SES Device, 1012> enclosure services fixed
ses0: SCSI-3 SES Device

        Now I removed the usb cable:

sd0: detached
panic: config_detach: forced detach of ses0 failed (45)
fatal breakpoint trap in supervisor mode
trap type 1 code 0 eip c01f46e4 cs 8 eflags 246 cr2 cd57c000 ilevel 0
Stopped in pid 0.47 (system) at netbsd:breakpoint+0x4:  popl    %ebp
db{1}> bt
 at netbsd:breakpoint+0x4
panic(c094cfc0,cdd7bd20,2d,c05a492c,c0a0076e,0,2d,0,0,0) at netbsd:panic+0x1f2
config_detach_all(cdd7bd04,1,1,0,cdd7b5a0,cd51eb6c,0,2,2,0) at 
 at netbsd:scsipi_target_detach+0x8f
 at netbsd:scsibusdetach+0xa4
 at netbsd:config_detach+0xc6
at netbsd:umass_detach+0xc1
 at netbsd:config_detach+0xc6
 at netbsd:usb_disconnect_port+0xae
 at netbsd:uhub_explore+0x1c6
 at netbsd:usb_discover+0x55
usb_event_thread(cc99c954,0,c01002ca,0,c01002ca,0,0,0,0,0) at 

        Thats a backtrace from a 5.99.20 system because that is one where
        I have a serial console. A smilar panic happend with a 5.0_STABLE
        Insert a WD My Passport Essentail SE 1TB drive and remove it.

Home | Main Index | Thread Index | Old Index