Re: [USB/MSDOSFS] Possible File System Corrupted

From: Ricardo A. Reis <ricardo.areis_at_gmail.com>
Date: Mon, 12 Nov 2007 19:50:28 -0200
>
>
> "Me too" - I see this with USB2.0 support/controller enabled, tested on
> two nforce5 and amd690 boards. Random (but pretty heavy) corruptions
> with data transferred to and from digital camera and mp3 player (both
> acting as common "usb flash disks"). Disabling USB2.0 seems to fix it
> AND also no board without USB2.0 controller exhibits this here (I just
> did a few quick tests, and nothing so far). Possibly some EHCI-specific
> bug?
>

 Tranquilo Rainer, uffa meu microdrive esta funfado kkk

 Michal, my mobo non-support switch to USB 1.1...  HP (ECS w/ ATI chipset)
 but i think if that problem is not caused by SQUED_ULE with stress, because
yesterday i syncd mp3 with ( portupgrade -a )
a firefox build and in same time i had more files corrupted..


---------------------------dmesg----------------------------------
Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.0-BETA2 #0: Sat Nov 10 11:23:31 BRST 2007
root_at_cabelo.virtua.com.br:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) D CPU 3.00GHz (2992.52-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf65 Stepping = 5
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0xe49d<SSE3,RSVD2,MON,DS_CPL,EST,CNXT-ID,CX16,xTPR,PDCM>
AMD Features=0x20000000<LM>
AMD Features2=0x1<LAHF>
Cores per package: 2
real memory = 1073414144 (1023 MB)
avail memory = 1028050944 (980 MB)
ACPI APIC Table: <HPQOEM SLIC-CPC>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID: 0
cpu1 (AP): APIC ID: 1
ioapic0 <Version 2.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <HPQOEM SLIC-CPC> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 0, a0000 (3) failed
acpi0: reservation of 100000, 3ff00000 (3) failed
ACPI HPET table warning: Sequence is non-zero (2)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
acpi_hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on
acpi0
Timecounter "HPET" frequency 14318180 Hz quality 900
cpu0: <ACPI CPU> on acpi0
est0: <Enhanced SpeedStep Frequency Control> on cpu0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
est1: <Enhanced SpeedStep Frequency Control> on cpu1
p4tcc1: <CPU Frequency Thermal Control> on cpu1
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
nvidia0: <GeForce 7100 GS> mem
0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xfc000000-0xfcffffff irq 18 at
device 0.0 on pci1
nvidia0: [GIANT-LOCKED]
nvidia0: [ITHREAD]
atapci0: <GENERIC ATA controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f mem 0xfec01000-0xfec013ff
at device 18.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 16 at
device 19.0 on pci0
ohci0: [GIANT-LOCKED]
ohci0: [ITHREAD]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <OHCI (generic) USB controller> mem 0xfebfd000-0xfebfdfff irq 17 at
device 19.1 on pci0
ohci1: [GIANT-LOCKED]
ohci1: [ITHREAD]
usb1: OHCI version 1.0, legacy support
usb1: <OHCI (generic) USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ohci2: <OHCI (generic) USB controller> mem 0xfebfc000-0xfebfcfff irq 18 at
device 19.2 on pci0
ohci2: [GIANT-LOCKED]
ohci2: [ITHREAD]
usb2: OHCI version 1.0, legacy support
usb2: <OHCI (generic) USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ohci3: <OHCI (generic) USB controller> mem 0xfebfb000-0xfebfbfff irq 17 at
device 19.3 on pci0
ohci3: [GIANT-LOCKED]
ohci3: [ITHREAD]
usb3: OHCI version 1.0, legacy support
usb3: <OHCI (generic) USB controller> on ohci3
usb3: USB revision 1.0
uhub3: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb3
uhub3: 2 ports with 2 removable, self powered
ohci4: <OHCI (generic) USB controller> mem 0xfebfa000-0xfebfafff irq 18 at
device 19.4 on pci0
ohci4: [GIANT-LOCKED]
ohci4: [ITHREAD]
usb4: OHCI version 1.0, legacy support
usb4: <OHCI (generic) USB controller> on ohci4
usb4: USB revision 1.0
uhub4: <ATI OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb4
uhub4: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfebff800-0xfebff8ff irq 19
at device 19.5 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb5: EHCI version 1.0
usb5: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4
usb5: <EHCI (generic) USB 2.0 controller> on ehci0
usb5: USB revision 2.0
uhub5: <ATI EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb5
uhub5: 10 ports with 10 removable, self powered
umass0: <Generic USB2.0-CRW, class 0/0, rev 2.00/11.22, addr 2> on uhub5
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
atapci1: <GENERIC ATA controller> port
0xe800-0xe807,0xe400-0xe403,0xe000-0xe007,0xdc00-0xdc03,0xd800-0xd80f irq 16
at device 20.1 on pci0
atapci1: [ITHREAD]
ata2: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
pcm0: <ATI SB600 High Definition Audio Controller> mem 0xfebf4000-0xfebf7fff
irq 16 at device 20.2 on pci0
pcm0: [ITHREAD]
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib2: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci2: <ACPI PCI bus> on pcib2
vr0: <VIA VT6105 Rhine III 10/100BaseTX> port 0xb800-0xb8ff mem
0xfeaffc00-0xfeaffcff irq 21 at device 1.0 on pci2
vr0: Quirks: 0x0
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
vr0: using obsoleted if_watchdog interface
vr0: Ethernet address: 00:40:f4:5f:1c:1b
vr0: [ITHREAD]
rl0: <RealTek 8139 10/100BaseTX> port 0xb400-0xb4ff mem
0xfeaff800-0xfeaff8ff irq 20 at device 5.0 on pci2
miibus1: <MII bus> on rl0
rlphy0: <RealTek internal media interface> PHY 0 on miibus1
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:19:21:89:39:2c
rl0: [ITHREAD]
acpi_button0: <Power Button> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model MouseMan+, device ID 0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio0: [FILTER]
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 1.000 msec
ad0: 238475MB <Seagate ST3250820AS 3.AHG> at ata0-master UDMA33
acd0: DVDR <TSSTcorpCD/DVDW TS-H652M/0414> at ata2-master UDMA33
pcm0: <HDA Codec: Realtek ALC888>
pcm0: <HDA Driver Revision: 20071020_0048>
GEOM_LABEL: Label for provider ad0s1 is msdosfs/MP3.
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic- Compact Flash 1.00> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
cd0 at ata2 bus 0 target 0 lun 0
cd0: <TSSTcorp CD/DVDW TS-H652M 0414> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present -
tray closed
da1 at umass-sim0 bus 0 target 0 lun 1
da1: <Generic- SM/xD-Picture 1.00> Removable Direct Access SCSI-0 device
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present
da2 at umass-sim0 bus 0 target 0 lun 2
da2: <Generic- SD/MMC 1.00> Removable Direct Access SCSI-0 device
da2: 40.000MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
da3 at umass-sim0 bus 0 target 0 lun 3
da3: <Generic- MS/MS-Pro 1.00> Removable Direct Access SCSI-0 device
da3: 40.000MB/s transfers
da3: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad0s2a
---------------------------------------------------------------------

stress test

umass1: <Nokia Nokia N91, class 0/0, rev 2.00/1.00, addr 2> on uhub2
da4 at umass-sim1 bus 1 target 0 lun 0
da4: < > Removable Direct Access SCSI-0 device
da4: 1.000MB/s transfers
da4: 3839MB (7862399 512 byte sectors: 255H 63S/T 489C)
GEOM_LABEL: Label for provider da4 is msdosfs/N91.
g_vfs_done():msdosfs/N91[WRITE(offset=512, length=512)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=200704, length=4096)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=204800, length=4096)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=692224, length=4096)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=696320, length=4096)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1365327872, length=32768)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1543192576, length=32768)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551548416, length=32768)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551712256, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551777792, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551843328, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551908864, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1551974400, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552039936, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552105472, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552171008, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552236544, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552302080, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552367616, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552433152, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552498688, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552564224, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552629760, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552695296, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1552760832, length=65536)]error = 5
g_vfs_done():msdosfs/N91[READ(offset=1556480, length=32768)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553022976, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553088512, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553154048, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553219584, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553285120, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553350656, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553416192, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553481728, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553547264, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553612800, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553678336, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553743872, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553809408, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553874944, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1553940480, length=65536)]error = 5
g_vfs_done():msdosfs/N91[WRITE(offset=1554006016, length=65536)]error = 5
g_vfs_done():msdosfs/N91[READ(offset=436551680, length=32768)]error = 5
g_vfs_done():msdosfs/N91[READ(offset=1850130432, length=32768)]error = 5
umass1: at uhub2 port 2 (addr 2) disconnected
(da4:umass-sim1:1:0:0): lost device
(da4:umass-sim1:1:0:0): removing device entry
GEOM_LABEL: Label msdosfs/N91 removed.
umass1: detached

more

umass1: <Nokia Nokia N91, class 0/0, rev 2.00/1.00, addr 2> on uhub2
da4 at umass-sim1 bus 1 target 0 lun 0
da4: < > Removable Direct Access SCSI-0 device
da4: 1.000MB/s transfers
da4: 3839MB (7862399 512 byte sectors: 255H 63S/T 489C)
GEOM_LABEL: Label for provider da4 is msdosfs/N91.
umass1: at uhub2 port 2 (addr 2) disconnected
(da4:umass-sim1:1:0:G0)E:O Ml_oLsAtB EdLevi:c eL
abe(ld a4:musmdaosssf-ss/iNm911: 1r:e0m:o0v)e:d .re
moving device entry
umass1: detached


-- 
Ricardo A. Reis
HSP/SPDM - UNIFESP
Analita de Segurança
Received on Mon Nov 12 2007 - 20:50:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:22 UTC