On Wed, Dec 19, 2012 at 05:23:55PM -0300, Marcos Laufer wrote: > This is a DL360G3 running OpenBSD 5.2 . I can't use a "WD My Passport" > USB disk, i get input/output error, here is what i got: > > # dmesg > OpenBSD 5.2 (GENERIC) #0: Fri Dec 14 23:58:18 ART 2012 > root@<private>:/u/system/src/sys/arch/i386/compile/GENERIC > cpu0: Intel(R) Xeon(TM) CPU 3.06GHz ("GenuineIntel" 686-class) 3.07 GHz > cpu0: > FPU,V86,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,SBF,CNXT-ID,xTPR > real mem = 3220738048 (3071MB) > avail mem = 3157274624 (3011MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, > SMBIOS rev. 2.3 @ 0xec000 (42 entries) > bios0: vendor HP version "P31" date 01/28/2004 > bios0: HP ProLiant DL360 G3 > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S4 S5 > acpi0: tables DSDT FACP APIC SPCR > acpi0: wakeup devices > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 133MHz > cpu at mainbus0: not configured > cpu at mainbus0: not configured > cpu at mainbus0: not configured > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 16 pins > ioapic1 at mainbus0: apid 3 pa 0xfec01000, version 11, 16 pins > ioapic2 at mainbus0: apid 4 pa 0xfec02000, version 11, 16 pins > ioapic3 at mainbus0: apid 5 pa 0xfec03000, version 11, 16 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (PCI1) > acpiprt2 at acpi0: bus 4 (PCI2) > acpicpu0 at acpi0 > acpitz0 at acpi0: critical temperature is 31 degC > bios0: ROM list: 0xc0000/0x8000 0xc8000/0x4000 0xee000/0x2000! > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x33 > pchb1 at pci0 dev 0 function 1 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x00 > pchb2 at pci0 dev 0 function 2 "ServerWorks CNB20-HE Host (GC-LE)" rev 0x00 > pci1 at pchb2 bus 1 > bge0 at pci1 dev 2 function 0 "Broadcom BCM5703X" rev 0x02, BCM5702/5703 A2 > (0x1002): apic 3 int 14, address 00:0f:20:96:8c:de > brgphy0 at bge0 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 > vga1 at pci0 dev 3 function 0 "ATI Rage XL" rev 0x27 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > ciss0 at pci0 dev 4 function 0 "Compaq Smart Array 5i/532 rev.2" rev 0x01: > apic 3 int 15 > ciss0: 1 LD, HW rev 1, FW 2.36/2.36 > scsibus0 at ciss0: 1 targets > sd0 at scsibus0 targ 0 lun 0: <COMPAQ, LOGICAL VOLUME, 2.36> SCSI0 0/direct > fixed > sd0: 17359MB, 512 bytes/sector, 35553120 sectors > "Compaq iLO" rev 0x01 at pci0 dev 5 function 0 not configured > "Compaq iLO" rev 0x01 at pci0 dev 5 function 2 not configured > piixpm0 at pci0 dev 15 function 0 "ServerWorks CSB5" rev 0x93: polling > iic0 at piixpm0 > spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM registered ECC PC2100CL2.5 > spdmem1 at iic0 addr 0x52: 512MB DDR SDRAM registered ECC PC2100CL2.5 > spdmem2 at iic0 addr 0x54: 1GB DDR SDRAM registered ECC PC2100CL2.5 > spdmem3 at iic0 addr 0x56: 1GB DDR SDRAM registered ECC PC2100CL2.5 > pciide0 at pci0 dev 15 function 1 "ServerWorks CSB5 IDE" rev 0x93: DMA > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <TEQC0 0, TV=28E=C0 0 0 0, R.4F> ATAPI 5/cdrom > removable > cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 1 > ohci0 at pci0 dev 15 function 2 "ServerWorks OSB4/CSB5 USB" rev 0x05: apic 2 > int 10, version 1.0, legacy support > pchb3 at pci0 dev 15 function 3 "ServerWorks CSB5 LPC" rev 0x00 > pchb4 at pci0 dev 17 function 0 "ServerWorks CIOB-X2 PCIX" rev 0x05 > pchb5 at pci0 dev 17 function 2 "ServerWorks CIOB-X2 PCIX" rev 0x05 > pci2 at pchb5 bus 4 > bge1 at pci2 dev 2 function 0 "Broadcom BCM5703X" rev 0x02, BCM5702/5703 A2 > (0x1002): apic 3 int 13, address 00:0f:20:96:8c:e1 > brgphy1 at bge1 phy 1: BCM5703 10/100/1000baseT PHY, rev. 2 > usb0 at ohci0: USB revision 1.0 > uhub0 at usb0 "ServerWorks OHCI root hub" rev 1.00/1.00 addr 1 > isa0 at mainbus0 > 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 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > mtrr: Pentium Pro MTRR support > umass0 at uhub0 port 4 configuration 1 interface 0 "Western Digital My > Passport 0748" rev 2.10/10.15 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <WD, My Passport 0748, 1015> SCSI4 0/direct > fixed > sd1: 953837MB, 512 bytes/sector, 1953458176 sectors > ses0 at scsibus2 targ 1 lun 1: <WD, SES Device, 1015> SCSI4 13/enclosure > services fixed > ses0: unable to read enclosure configuration > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on sd0a (dbca6b23415fa5d6.a) swap on sd0b dump on sd0b > > > # > # disklabel sd1 > # /dev/rsd1c: > type: SCSI > disk: SCSI disk > label: My Passport 0748 > duid: 227a89b830241469 > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 255 > sectors/cylinder: 16065 > cylinders: 121597 > total sectors: 1953458176 > boundstart: 64 > boundend: 1953455805 > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 1953455680 64 4.2BSD 8192 65536 1 > c: 1953458176 0 unused > un8:~{3}# fdisk sd1 > Disk: sd1 geometry: 121597/255/63 [1953458176 Sectors] > Offset: 0 Signature: 0xAA55 > Starting Ending LBA Info: > #: id C H S - C H S [ start: size ] > ------------------------------------------------------------------------------- > 0: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused > > *3: A6 0 1 2 - 121596 254 63 [ 64: 1953455741 ] OpenBSD > > > # > # mount /dev/sd1a /mnt/ > # df -h|grep mnt > /dev/sd1a 928G 8.0K 881G 0% /mnt > > # ls /mnt > ls: /mnt: Input/output error > # > # umount /mnt > umount: /mnt: Input/output error > # >
1) fsck it. 2) Try mounting it read-only. '-o ro'. .... Ken