On 21 July 2014 04:17, Peter Kane <pwk...@gmail.com> wrote: > Hello > > I have run into another strange problem on the Optiplex 745 in the > dmesg below. It usually boots with a usb crypto key disk, but if I try > to boot with a particular usb hard disk attached it will fail to find > the key disk and will instead erase the disklabel on the usb hdd. The > data is all OK if the disklabel is restored from file. >
> sd2 at scsibus5 targ 1 lun 0: <Seagate, Expansion Desk, 070B> SCSI4 > 0/direct fixed > sd2: 2861588MB, 4096 bytes/sector, 732566645 sectors softraid only works on devices with 512 bytes/sector. .... Ken > The external disk in question is a 3 terabyte Seagate Expansion Desk > unit (see end of dmesg). I tried another external hdd but it didn't > suffer the same problem, and the Seagate wasn't wiped on other crypto > machines that I tried it with. > > Perhaps this is of interest to someone. I'm not sure if it is usb > problem or what. Anyhow, I think it might about time this particular > machine was "decommissioned". > > Thanks, > Peter > > OpenBSD 5.6-beta (GENERIC.MP) #290: Sat Jul 19 11:29:25 MDT 2014 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 3193958400 (3045MB) > avail mem = 3100217344 (2956MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (77 entries) > bios0: vendor Dell Inc. version "2.6.4" date 03/01/2010 > bios0: Dell Inc. OptiPlex 745 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S1 S3 S4 S5 > acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET 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) Pentium(R) D CPU 3.40GHz, 3389.45 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,EST,CNXT-ID,CX16,xTPR,PDCM,NXE,LONG,LAHF > cpu0: 2MB 64b/line 8-way L2 cache > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 199MHz > cpu0: mwait min=64, max=64 > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Pentium(R) D CPU 3.40GHz, 3389.04 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,EST,CNXT-ID,CX16,xTPR,PDCM,NXE,LONG,LAHF > cpu1: 2MB 64b/line 8-way L2 cache > cpu1: smt 0, core 1, package 0 > 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 3389 MHz: speeds: 3400, 2400 MHz > memory map conflict 0xbf603c00/0x9fc400 > 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 pci0 dev 2 function 0 "Intel 82Q965 Video" rev 0x02 > intagp0 at vga1 > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000 > inteldrm0 at vga1 > drm0 at inteldrm0 > inteldrm0: 1024x768 > wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) > wsdisplay0: screen 1-5 added (std, vt100 emulation) > "Intel 82Q965 Video" rev 0x02 at pci0 dev 2 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): msi, address 00:18:8b:66:ff:e6 > 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: <ADATA SP800> > wd0: 16-sector PIO, LBA48, 30533MB, 62533296 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 6 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <SONY, DVD-ROM DDU810A, KD38> 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: 1GB DDR2 SDRAM non-parity PC2-5300CL5 > spdmem2 at iic0 addr 0x52: 512MB DDR2 SDRAM non-parity PC2-5300CL5 > spdmem3 at iic0 addr 0x53: 1GB 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 > lpt0 at isa0 port 0x378/4 irq 7 > umass0 at uhub0 port 3 configuration 1 interface 0 " USB DISK 2.0" rev > 2.00/1.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd0 at scsibus2 targ 1 lun 0: <, USB DISK 2.0, PMAP> SCSI2 0/direct > removable serial.13fe410029C1ABCDC706 > sd0: 7640MB, 512 bytes/sector, 15646720 sectors > uhidev0 at uhub5 port 1 configuration 1 interface 0 "Logitech USB > Receiver" rev 2.00/23.01 addr 2 > uhidev0: iclass 3/1 > ukbd0 at uhidev0: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev1 at uhub5 port 1 configuration 1 interface 1 "Logitech USB > Receiver" rev 2.00/23.01 addr 2 > uhidev1: iclass 3/1, 17 report ids > ums0 at uhidev1 reportid 2: 16 buttons, Z dir > wsmouse0 at ums0 mux 0 > uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 > uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 > uhid2 at uhidev1 reportid 16: input=6, output=6, feature=0 > uhid3 at uhidev1 reportid 17: input=19, output=19, feature=0 > uhidev2 at uhub6 port 2 configuration 1 interface 0 "Yubico Yubico > Yubikey II" rev 2.00/2.42 addr 2 > uhidev2: iclass 3/1 > ukbd1 at uhidev2: 8 variable keys, 6 key codes > wskbd2 at ukbd1 mux 1 > wskbd2: connecting to wsdisplay0 > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > sd1 at scsibus4 targ 1 lun 0: <OPENBSD, SR CRYPTO, 005> SCSI2 0/direct fixed > sd1: 27454MB, 512 bytes/sector, 56226972 sectors > root on sd1a (72082edb903076f1.a) swap on sd1b dump on sd1b > umass1 at uhub0 port 2 configuration 1 interface 0 "Seagate Expansion > Desk" rev 2.10/1.00 addr 3 > umass1: using SCSI over Bulk-Only > scsibus5 at umass1: 2 targets, initiator 0 > sd2 at scsibus5 targ 1 lun 0: <Seagate, Expansion Desk, 070B> SCSI4 > 0/direct fixed > sd2: 2861588MB, 4096 bytes/sector, 732566645 sectors