On Wed, Nov 14, 2012 at 04:22:20PM -0300, Marcos Laufer wrote: > Hello, i'd like to inform a problem when dettaching an external 1TB > USB disk drive , the system just freezes, i can't type anything. > Also It stops responding to ping. > If i don't unplug it then i can use the disk normally, i can copy > and delete files with no problem. But as soon as i unplug the USB > cord, the machine freezes. > I've tested it on several machines, different OpenBSD versions > starting from 4.3, i'm not asking for support, i know old OpenBSD > versions are no longer supported, but this seemed pretty odd, i > suppose that plugging and unplugging a USB disk should not cause any > problems on any OS version. > > These are the lines on dmesg about this disk: > > > Nov 14 16:00:31 hq /bsd: umass0 at uhub0 > Nov 14 16:00:31 hq /bsd: port 5 configuration 1 interface 0 > "Western Digital My Passport 0748" rev 2.10/10.15 addr 2 > Nov 14 16:00:31 hq /bsd: umass0: using SCSI over Bulk-Only > Nov 14 16:00:31 hq /bsd: scsibus0 at umass0: 2 targets, initiator 0 > Nov 14 16:00:31 hq /bsd: sd0 at scsibus0 targ 1 lun 0: <WD, My > Passport 0748, 1015> SCSI4 0/direct fixed > Nov 14 16:00:38 hq /bsd: sd0: 953837MB, 512 bytes/sec, 1953458176 sec total > Nov 14 16:00:38 hq /bsd: ses0 at scsibus0 targ 1 lun 1: <WD, SES > Device, 1015> SCSI4 13/enclosure services fixed > Nov 14 16:00:38 hq /bsd: ses0: unable to read enclosure configuration > > Best regards, > Marcos >
I procured the device and tried it here. It's interesting that some laptops get the ses device and some don't. Will play with it some more on the device that can see the ses to see if we can reproduce the problem and perhaps get a solution. So far no machine has hung even when they see the ses device, although we haven't tried doing any i/o to it. .... Ken