On Thu, Nov 15, 2012 at 07:45:40AM -0300, Marcos Ariel Laufer wrote: > Of course!! > I *always* umount the disk before unplugging it. That didn't stop the OS > from freezing. > I've been using OpenBSD since 2.6, this never happened to me with any > other USB hard disks. This one in particular i bought it a couple of > days ago.
This particular disk has ses(4). That is uncommmon for a USB disk. My guess the problem has something to do with that. Cc'ing dlg@, maybe he has a clue. -Otto > > > On 11/15/2012 6:19 AM, David Diggles wrote: > > did you unmount it first? > > > > Marcos Laufer <mar...@ipv4networks.com> 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