On Mon, Nov 19, 2012 at 06:14:49PM -0300, Marcos Ariel Laufer wrote: | >However, I've verified that unplugging works fine with the latest | >snapshot. So no regressions from my POV. | | Damn, why mine isn't working fine then? Do you have i386 or AMD? | I'll try latest 5.1 and 5.2 tomorrow and see what happens.
I've tested all currently connected disks on my machine: sd0 at scsibus1 targ 1 lun 0: <WD, My Passport 0740, 1003> SCSI4 0/direct fixed sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd2 at scsibus3 targ 1 lun 0: <WD, My Passport 0730, 1015> SCSI4 0/direct fixed sd3 at scsibus4 targ 1 lun 0: <WD, My Passport 070A, 1032> SCSI2 0/direct fixed sd4 at scsibus5 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd5 at scsibus6 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed which is running: kern.version=OpenBSD 5.2-current (GENERIC.MP) #112: Tue Nov 13 12:57:16 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP and I've not been able to reproduce the issue (dmesg with detach and re-attach cycle for all disks included below). In the past, I ran i386 on another machine which also used a My Password disk (1008) and did not have this issue there either, so I don't think it's an i386-only problem... Cheers, Paul 'WEiRD' de Weerd OpenBSD 5.2-current (GENERIC.MP) #112: Tue Nov 13 12:57:16 MST 2012 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 2144333824 (2044MB) avail mem = 2064830464 (1969MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (76 entries) bios0: vendor Dell Inc. version "2.1.0" date 12/04/2006 bios0: Dell Inc. OptiPlex 745 acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET SLIC SSDT SSDT SSDT acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) PCI5(S5) PCI6(S5) MOU_(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) USB4(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2658.43 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu0: 4MB 64b/line 16-way L2 cache cpu0: apic clock running at 265MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz, 2658.07 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,NXE,LONG,LAHF,PERF cpu1: 4MB 64b/line 16-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 4 (PCI4) acpiprt1 at acpi0: bus 2 (PCI2) acpiprt2 at acpi0: bus -1 (PCI3) acpiprt3 at acpi0: bus 1 (PCI1) acpiprt4 at acpi0: bus 3 (PCI5) acpiprt5 at acpi0: bus -1 (PCI6) acpiprt6 at acpi0: bus 0 (PCI0) acpicpu0 at acpi0: PSS acpicpu1 at acpi0: PSS acpibtn0 at acpi0: VBTN cpu0: Enhanced SpeedStep 2658 MHz: speeds: 2667, 2400, 2133, 1867, 1600 MHz memory map conflict 0x7fe03c00/0x1fc400 pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel 82Q965 Host" rev 0x02 ppb0 at pci0 dev 1 function 0 "Intel 82Q965 PCIE" rev 0x02: msi pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon X1300 Pro" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 8 int 16 drm0 at radeondrm0 "ATI Radeon X1300 Pro Sec" rev 0x00 at pci1 dev 0 function 1 not configured uhci0 at pci0 dev 26 function 0 "Intel 82801H USB" rev 0x02: apic 8 int 16 uhci1 at pci0 dev 26 function 1 "Intel 82801H USB" rev 0x02: apic 8 int 17 ehci0 at pci0 dev 26 function 7 "Intel 82801H USB" rev 0x02: apic 8 int 22 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia0 at pci0 dev 27 function 0 "Intel 82801H HD Audio" rev 0x02: msi azalia0: codecs: Analog Devices AD1983 audio0 at azalia0 ppb1 at pci0 dev 28 function 0 "Intel 82801H PCIE" rev 0x02: msi pci2 at ppb1 bus 2 ppb2 at pci0 dev 28 function 4 "Intel 82801H PCIE" rev 0x02: msi pci3 at ppb2 bus 3 bge0 at pci3 dev 0 function 0 "Broadcom BCM5754" rev 0x02, BCM5754/5787 A2 (0xb002): apic 8 int 16, address 00:18:8b:6a:6d:87 brgphy0 at bge0 phy 1: BCM5787 10/100/1000baseT PHY, rev. 0 uhci2 at pci0 dev 29 function 0 "Intel 82801H USB" rev 0x02: apic 8 int 23 uhci3 at pci0 dev 29 function 1 "Intel 82801H USB" rev 0x02: apic 8 int 17 uhci4 at pci0 dev 29 function 2 "Intel 82801H USB" rev 0x02: apic 8 int 18 ehci1 at pci0 dev 29 function 7 "Intel 82801H USB" rev 0x02: apic 8 int 23 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xf2 pci4 at ppb3 bus 4 pcib0 at pci0 dev 31 function 0 "Intel 82801H LPC" rev 0x02 pciide0 at pci0 dev 31 function 2 "Intel 82801H SATA" rev 0x02: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI pciide0: using apic 8 int 20 for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <WDC WD5003ABYX-18WERA0> wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD+-RW GSA-T11N, A103> ATAPI 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 ichiic0 at pci0 dev 31 function 3 "Intel 82801H SMBus" rev 0x02: apic 8 int 20 iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem1 at iic0 addr 0x51: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem2 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 spdmem3 at iic0 addr 0x53: 512MB DDR2 SDRAM non-parity PC2-5300CL5 pciide1 at pci0 dev 31 function 5 "Intel 82801H SATA" rev 0x02: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 8 int 20 for native-PCI interrupt usb2 at uhci0: USB revision 1.0 uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb3 at uhci1: USB revision 1.0 uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb4 at uhci2: USB revision 1.0 uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb5 at uhci3: USB revision 1.0 uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1 usb6 at uhci4: USB revision 1.0 uhub6 at usb6 "Intel UHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 mtrr: Pentium Pro MTRR support umass0 at uhub0 port 3 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd0: 1907697MB, 512 bytes/sector, 3906963456 sectors ses0 at scsibus1 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub0 port 4 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 3 configuration 1 interface 0 "Western Digital My Passport 0740" rev 2.10/10.03 addr 2 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: <WD, My Passport 0740, 1003> SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: <WD, SES Device, 1003> SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 4 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 3 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd3: 1907697MB, 512 bytes/sector, 3906963456 sectors ses3 at scsibus4 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub1 port 5 configuration 1 interface 0 "Western Digital My Passport 0730" rev 2.10/10.15 addr 4 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: <WD, My Passport 0730, 1015> SCSI4 0/direct fixed sd4: 953837MB, 512 bytes/sector, 1953458176 sectors ses4 at scsibus5 targ 1 lun 1: <WD, SES Device, 1015> SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub1 port 6 configuration 1 interface 0 "Western Digital My Passport 070A" rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: <WD, My Passport 070A, 1032> SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: <WD, Virtual CD 070A, 1032> SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: <WD, SES Device, 1032> SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech USB Gaming Mouse" rev 2.00/46.00 addr 2 uhidev0: iclass 3/1 ums0 at uhidev0: 16 buttons, Z dir wsmouse0 at ums0 mux 0 uhidev1 at uhub2 port 1 configuration 1 interface 1 "Logitech USB Gaming Mouse" rev 2.00/46.00 addr 2 uhidev1: iclass 3/0, 17 report ids uhid0 at uhidev1 reportid 16: input=6, output=6, feature=0 uhid1 at uhidev1 reportid 17: input=19, output=19, feature=0 uhidev2 at uhub2 port 2 configuration 1 interface 0 "Logitech Logitech Illuminated Keyboard" rev 2.00/55.01 addr 3 uhidev2: iclass 3/1 ukbd0 at uhidev2: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev3 at uhub2 port 2 configuration 1 interface 1 "Logitech Logitech Illuminated Keyboard" rev 2.00/55.01 addr 3 uhidev3: iclass 3/0, 16 report ids uhid2 at uhidev3 reportid 3: input=7, output=0, feature=0 uhid3 at uhidev3 reportid 16: input=6, output=6, feature=0 vscsi0 at root scsibus7 at vscsi0: 256 targets softraid0 at root scsibus8 at softraid0: 256 targets root on wd0a (378ed33208867d8a.a) swap on wd0b dump on wd0b sd5 detached cd1 detached ses5 detached scsibus6 detached umass5 detached umass5 at uhub1 port 6 configuration 1 interface 0 "Western Digital My Passport 070A" rev 2.00/10.32 addr 5 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: <WD, My Passport 070A, 1032> SCSI2 0/direct fixed sd5: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus6 targ 1 lun 1: <WD, Virtual CD 070A, 1032> SCSI2 5/cdrom removable ses5 at scsibus6 targ 1 lun 2: <WD, SES Device, 1032> SCSI2 13/enclosure services fixed ses5: unable to read enclosure configuration sd0 detached ses0 detached scsibus1 detached umass0 detached sd1 detached ses1 detached scsibus2 detached umass1 detached sd5 detached cd1 detached ses5 detached scsibus6 detached umass5 detached sd4 detached ses4 detached scsibus5 detached umass4 detached sd2 detached ses2 detached scsibus3 detached umass2 detached sd3 detached ses3 detached scsibus4 detached umass3 detached umass0 at uhub1 port 3 configuration 1 interface 0 "Western Digital My Passport 0740" rev 2.10/10.03 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd0 at scsibus1 targ 1 lun 0: <WD, My Passport 0740, 1003> SCSI4 0/direct fixed sd0: 953837MB, 512 bytes/sector, 1953458176 sectors ses0 at scsibus1 targ 1 lun 1: <WD, SES Device, 1003> SCSI4 13/enclosure services fixed ses0: unable to read enclosure configuration umass1 at uhub1 port 4 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 3 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd1: 1907697MB, 512 bytes/sector, 3906963456 sectors ses1 at scsibus2 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses1: unable to read enclosure configuration umass2 at uhub1 port 5 configuration 1 interface 0 "Western Digital My Passport 0730" rev 2.10/10.15 addr 4 umass2: using SCSI over Bulk-Only scsibus3 at umass2: 2 targets, initiator 0 sd2 at scsibus3 targ 1 lun 0: <WD, My Passport 0730, 1015> SCSI4 0/direct fixed sd2: 953837MB, 512 bytes/sector, 1953458176 sectors ses2 at scsibus3 targ 1 lun 1: <WD, SES Device, 1015> SCSI4 13/enclosure services fixed ses2: unable to read enclosure configuration umass3 at uhub1 port 6 configuration 1 interface 0 "Western Digital My Passport 070A" rev 2.00/10.32 addr 5 umass3: using SCSI over Bulk-Only scsibus4 at umass3: 2 targets, initiator 0 sd3 at scsibus4 targ 1 lun 0: <WD, My Passport 070A, 1032> SCSI2 0/direct fixed sd3: 953199MB, 512 bytes/sector, 1952151552 sectors cd1 at scsibus4 targ 1 lun 1: <WD, Virtual CD 070A, 1032> SCSI2 5/cdrom removable ses3 at scsibus4 targ 1 lun 2: <WD, SES Device, 1032> SCSI2 13/enclosure services fixed ses3: unable to read enclosure configuration umass4 at uhub0 port 3 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 2 umass4: using SCSI over Bulk-Only scsibus5 at umass4: 2 targets, initiator 0 sd4 at scsibus5 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd4: 1907697MB, 512 bytes/sector, 3906963456 sectors ses4 at scsibus5 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses4: unable to read enclosure configuration umass5 at uhub0 port 4 configuration 1 interface 0 "Western Digital My Passport 0748" rev 2.10/10.10 addr 3 umass5: using SCSI over Bulk-Only scsibus6 at umass5: 2 targets, initiator 0 sd5 at scsibus6 targ 1 lun 0: <WD, My Passport 0748, 1010> SCSI4 0/direct fixed sd5: 1907697MB, 512 bytes/sector, 3906963456 sectors ses5 at scsibus6 targ 1 lun 1: <WD, SES Device, 1010> SCSI4 13/enclosure services fixed ses5: unable to read enclosure configuration -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/