On Wed, May 13, 2009 at 09:04:36AM +0200, LEVAI Daniel wrote: > Hi! > > With a May 12 snapshot, I can no longer use my USB thumb-drive. OpenBSD > doesn't recognize any partitions on the drive, while on other OSes and with a > previous snapshot it works fine. > Here is dmesg.boot and the output (with a weird message) when I plug in the > drive.
Thanks for the report, but please also provide the output of fdisk. We are working on a more strict mbr validation, but this is all quite tricky and will take some iterations to get right. -Otto > > dmesg.boot: > OpenBSD 4.5-current (GENERIC.MP) #38: Tue May 12 16:15:34 MDT 2009 > dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > cpu0: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 > GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A > CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR > real mem = 1072066560 (1022MB) > avail mem = 1028272128 (980MB) > mainbus0 at root > bios0 at mainbus0: AT/286+ BIOS, date 08/02/06, BIOS32 rev. 0 @ 0xfd6b0, > SMBIOS rev. 2.4 @ 0xe0010 (68 entries) > bios0: vendor LENOVO version "79ET66WW (1.10 )" date 08/02/2006 > bios0: LENOVO 2007FRG > acpi0 at bios0: rev 2 > acpi0: tables DSDT FACP SSDT ECDT TCPA APIC MCFG HPET BOOT SSDT SSDT > acpi0: wakeup devices LID_(S3) SLPB(S3) LURT(S3) DURT(S3) EXP0(S4) EXP1(S4) > EXP2(S4) EXP3(S4) PCI1(S4) USB0(S3) USB1(S3) USB2(S3) USB7(S3) HDEF(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: apic clock running at 166MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Genuine Intel(R) CPU T2400 @ 1.83GHz ("GenuineIntel" 686-class) 1.83 > GHz > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,DS,A > CPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2,xTPR > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins > ioapic0: misconfigured as apic 2, remapped to apid 1 > acpihpet0 at acpi0: 14318179 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (AGP_) > acpiprt2 at acpi0: bus 2 (EXP0) > acpiprt3 at acpi0: bus 3 (EXP1) > acpiprt4 at acpi0: bus 4 (EXP2) > acpiprt5 at acpi0: bus 12 (EXP3) > acpiprt6 at acpi0: bus 21 (PCI1) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3, C2 > acpicpu1 at acpi0: C3, C2 > acpitz0 at acpi0: critical temperature 127 degC > acpitz1 at acpi0: critical temperature 99 degC > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: SLPB > acpibat0 at acpi0: BAT0 model "42T4511" serial 21826 type LION oem "SANYO" > acpibat1 at acpi0: BAT1 not present > acpiac0 at acpi0: AC unit offline > acpithinkpad0 at acpi0 > acpidock at acpi0 not configured > acpivideo at acpi0 not configured > acpivideo at acpi0 not configured > bios0: ROM list: 0xc0000/0xfe00 0xd0000/0x1000 0xd1000/0x1000 0xdc000/0x4000! > 0xe0000/0x10000 > cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130b2c06000613 > cpu0: using only highest and lowest power states > cpu0: Enhanced SpeedStep 1000 MHz (1004 mV): speeds: 1833, 1000 MHz > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > extent `pciio' (0x0 - 0xffffffff), flags=0 > 0x1800 - 0x188f > 0x18a8 - 0x18cf > 0x18e0 - 0x18ff > 0x2000 - 0xdfff > 0x10000 - 0xffffffff > extent `pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xfff > 0x2000 - 0x9ffff > 0xd2000 - 0xd3fff > 0xdc000 - 0x3fffffff > 0xd8000000 - 0xee1fffff > 0xee400000 - 0xee4047ff > 0xf0000000 - 0xf3ffffff > 0xfec00000 - 0xfec0ffff > 0xfed00000 - 0xfed003ff > 0xfed14000 - 0xfed19fff > 0xfed1c000 - 0xfed8ffff > 0xfee00000 - 0xfee00fff > 0xff800000 - 0xffffffff > pchb0 at pci0 dev 0 function 0 "Intel 82945GM Host" rev 0x03 > ppb0 at pci0 dev 1 function 0 "Intel 82945GM PCIE" rev 0x03: apic 1 int 16 > (irq 11) > pci1 at ppb0 bus 1 > extent `ppb0 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x20ff > 0x3000 - 0xffffffff > extent `ppb0 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xee10ffff > 0xee200000 - 0xffffffff > vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility X1400" rev 0x00 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > radeondrm0 at vga1: apic 1 int 16 (irq 11) > drm0 at radeondrm0 > azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: apic 1 > int 17 (irq 11) > azalia0: RIRB time out > azalia0: codecs: Analog Devices AD1981HD, 0x0000/0x0000, using Analog Devices > AD1981HD > azalia0: RIRB time out > audio0 at azalia0 > ppb1 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02: apic 1 int 20 > (irq 11) > pci2 at ppb1 bus 2 > extent `ppb1 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x301f > 0x4000 - 0xffffffff > extent `ppb1 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xee01ffff > 0xee100000 - 0xffffffff > em0 at pci2 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: apic 1 int > 16 (irq 11), address 00:16:41:aa:d2:70 > ppb2 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02: apic 1 int 21 > (irq 11) > pci3 at ppb2 bus 3 > extent `ppb2 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x3fff > 0x6000 - 0xffffffff > extent `ppb2 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xebffffff > 0xedf00000 - 0xedf00fff > 0xee000000 - 0xffffffff > wpi0 at pci3 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: apic 1 > int 17 (irq 11), MoW2, address 00:18:de:65:2d:37 > ppb3 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02: apic 1 int 22 > (irq 11) > pci4 at ppb3 bus 4 > extent `ppb3 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x5fff > 0x8000 - 0xffffffff > extent `ppb3 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xe7ffffff > 0xea000000 - 0xffffffff > ppb4 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02: apic 1 int 23 > (irq 11) > pci5 at ppb4 bus 12 > extent `ppb4 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x7fff > 0xa000 - 0xffffffff > extent `ppb4 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xe9ffffff > 0xec000000 - 0xffffffff > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: apic 1 int 16 > (irq 11) > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: apic 1 int 17 > (irq 11) > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: apic 1 int 18 > (irq 11) > uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: apic 1 int 19 > (irq 11) > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: apic 1 int 19 > (irq 11) > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > ppb5 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2 > pci6 at ppb5 bus 21 > extent `ppb5 pciio' (0x0 - 0xffffffff), flags=0 > 0x0 - 0x9fff > 0xe000 - 0xffffffff > extent `ppb5 pcimem' (0x0 - 0xffffffff), flags=0 > 0x0 - 0xe4300fff > 0xe8000000 - 0xffffffff > cbb0 at pci6 dev 0 function 0 "TI PCI1510 CardBus" rev 0x00: apic 1 int 16 > (irq 11) > cardslot0 at cbb0 slot 0 flags 0 > cardbus0 at cardslot0: bus 22 device 0 cacheline 0x8, lattimer 0xb0 > pcmcia0 at cardslot0 > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 > configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVDRAM GSA-4083N, 1.08> ATAPI 5/cdrom > removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > ahci0 at pci0 dev 31 function 2 "Intel 82801GBM AHCI" rev 0x02: apic 1 int 16 > (irq 11), AHCI 1.1 > scsibus1 at ahci0: 32 targets > sd0 at scsibus1 targ 0 lun 0: <ATA, FUJITSU MHV2080B, 0084> SCSI3 0/direct > fixed > sd0: 76319MB, 512 bytes/sec, 156301488 sec total > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: apic 1 int > 23 (irq 11) > iic0 at ichiic0 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > usb4 at uhci3: USB revision 1.0 > uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > com1 at isa0 port 0x2f8/8 irq 3: 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 > midi0 at pcppi0: <PC speaker> > spkr0 at pcppi0 > aps0 at isa0 port 0x1600/31 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > mtrr: Pentium Pro MTRR support > umass0 at uhub0 port 2 configuration 1 interface 0 "SMI Corporation USB DISK" > rev 2.00/11.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <, GOODDRIVEFR, 1100> SCSI0 0/direct removable > sd1: 1912MB, 512 bytes/sec, 3915776 sec total > ugen0 at uhub4 port 2 "STMicroelectronics Biometric Coprocessor" rev 1.00/0.01 > addr 2 > uhidev0 at uhub1 port 1 configuration 1 interface 0 "Logitech USB-PS/2 Optical > Mouse" rev 2.00/27.20 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 8 buttons, Z dir > wsmouse1 at ums0 mux 0 > softraid0 at root > 0 and 1 overlap > 0 and 1 overlap > root on sd0a swap on sd0b dump on sd0b > > and the messages when I plug in the drive: > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > 0 and 1 overlap > sd1 detached > scsibus2 detached > umass0 detached > umass0 at uhub0 port 2 configuration 1 interface 0 "SMI Corporation USB DISK" > rev 2.00/11.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd1 at scsibus2 targ 1 lun 0: <, GOODDRIVEFR, 1100> SCSI0 0/direct removable > sd1: 1912MB, 512 bytes/sec, 3915776 sec total > > > Those "0 and 1 overlap" messages are coming from hotplugd. I tried the drive > after stopping hotplugd but no luck. > > Any ideas? > Thanks! > > Daniel > > -- > LIVAI Daniel > PGP key ID = 0x4AC0A4B1 > Key fingerprint = D037 03B9 C12D D338 4412 2D83 1373 917A 4AC0 A4B1