Current-Users archive

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

ses0 detach missing


I've updated my current and am running GENERIC for now.

A backup disk I've been using for some time now attaches with ses0
(which I had commented out)

It has sd0, the actual disk, and:
cd1 at scsibus0 target 0 lun 1: <WD, Virtual CD 1111, 1032> cdrom removable
ses0 at scsibus0 target 0 lun 2: <WD, SES Device, 1032> enclosure services fixed
ses0: SCSI-3 SES Device

I can't detach it:
# drvctl -d ses0
drvctl: DRVDETACHDEV: Operation not supported

I found out because I had unplugged it after running my backup, as
usual, and got:

panic: config_detach: forced detach of ses0 failed (45)
cpu2: Begin traceback...
vpanic() at netbsd:vpanic+0x136
printf_nolog() at netbsd:printf_nolog
config_detach() at netbsd:config_detach+0x365
scsipi_target_detach() at netbsd:scsipi_target_detach+0x93
scsibusdetach() at netbsd:scsibusdetach+0x3c
config_detach() at netbsd:config_detach+0xda
umass_detach() at netbsd:umass_detach+0xa4
config_detach() at netbsd:config_detach+0xda
usb_disconnect_port() at netbsd:usb_disconnect_port+0xac
uhub_explore() at netbsd:uhub_explore+0x1ab
uhub_explore() at netbsd:uhub_explore+0x89
usb_discover.clone.0() at netbsd:usb_discover.clone.0+0x5d
usb_event_thread() at netbsd:usb_event_thread+0x79
cpu2: End traceback...
uvm_fault(0xfffffe87fa510460, 0x0, 2) -> e
fatal page fault in supervisor mode
trap type 6 code 2 rip ffffffff80526a40 cs 8 rflags 10286 cr2 84 ilevel 8 rsp 
curlwp 0xfffffe83d5c7c8e0 pid 10186.100 lowest kstack 0xffff800250f4c000

Can someone please add detach support to ses(4)?

Home | Main Index | Thread Index | Old Index