Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Apr 2006 18:46:38 +0200
From:      "Dominique Goncalves" <dominique.goncalves@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Unable to mount a USB Key
Message-ID:  <7daacbbe0604040946m34826010k2a5ac967fa4bd9e0@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm trying to mount a USB Key on FreeBSD 7.0-CURRENT (also on
RELENG_6) formatted with msdosfs, but FreeBSD could not mount it. I
remember that it was working well on 6.0-RELEASE.

umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/1.25, addr 2> on uh=
ub3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic STORAGE DEVICE 1.25> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)

Sometimes I don't have /dev/da0s1(?) but when there is /dev/da0s1:

# ls -l /dev/da0s1
crw-r-----  1 root  operator    0, 142 Apr  4 18:17 /dev/da0s1
# mount_msdosfs /dev/da0s1 /mnt/CF
Mount point /mnt/CF had 1 dangling refs
mount_msdosfs: /dev/da0s1: Device not configured

This usb key works on others operating system and the same box.

Thanks for your help.

Regards.


# usbdevs -vv
Controller /dev/usb0:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
SiS(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb1:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
SiS(0x0000), rev 1.00
 port 1 powered
 port 2 powered
Controller /dev/usb2:
addr 1: full speed, self powered, config 1, OHCI root hub(0x0000),
SiS(0x0000), rev 1.00
 port 1 addr 2: low speed, power 100 mA, config 1, USB Mouse(0xc00c),
Logitech(0x046d), rev 6.10
 port 2 powered
Controller /dev/usb3:
addr 1: high speed, self powered, config 1, EHCI root hub(0x0000),
SiS(0x0000), rev 1.00
 port 1 powered
 port 2 powered
 port 3 powered
 port 4 powered
 port 5 powered
 port 6 addr 2: high speed, power 120 mA, config 1, USB
Storage(0x07a0), vendor 0x05e3(0x05e3), rev 1.25


Copyright (c) 1992-2006 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 7.0-CURRENT #0: Tue Apr  4 00:50:30 CEST 2006
    root@djdomics.sceen.net:/usr/obj/usr/src/sys/GENERIC
WARNING: WITNESS option enabled, expect reduced performance.
ACPI APIC Table: <AMIINT SiS645XX>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (2000.15-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0xf24  Stepping =3D 4
  Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
real memory  =3D 268369920 (255 MB)
avail memory =3D 252882944 (241 MB)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
wlan: mac acl policy registered
kbd1 at kbdmux0
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <AMIINT SiS645XX> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 645DX host to AGP bridge> on hostb0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xa800-0xa8ff mem
0xd0000000-0xd7ffffff,0xdfef0000-0xdfefffff irq 16 at device 0.0 on
pci1
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962/963 UDMA133 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 2.5 on
pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pcm0: <SiS 7012> port 0xdc00-0xdcff,0xd800-0xd87f irq 18 at device 2.7 on p=
ci0
pcm0: <Avance Logic ALC650 AC97 Codec>
ohci0: <SiS 5571 USB controller> mem 0xdfffc000-0xdfffcfff irq 20 at
device 3.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
uhub0: 2 ports with 2 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xdfffe000-0xdfffefff irq 21 at
device 3.1 on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1
uhub1: 2 ports with 2 removable, self powered
ohci2: <SiS 5571 USB controller> mem 0xdffff000-0xdfffffff irq 22 at
device 3.2 on pci0
ohci2: [GIANT-LOCKED]
usb2: OHCI version 1.0, legacy support
usb2: <SiS 5571 USB controller> on ohci2
usb2: USB revision 1.0
uhub2: <SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xdfffd000-0xdfffdfff
irq 23 at device 3.3 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: <SiS EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb3
uhub3: 6 ports with 6 removable, self powered
rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem
0xdfffbf00-0xdfffbfff irq 17 at device 6.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:50:ba:b8:90:da
pci0: <multimedia, audio> at device 7.0 (no driver attached)
ral0: <Ralink Technology RT2560> mem 0xdfff8000-0xdfff9fff irq 19 at
device 8.0 on pci0
ral0: MAC/BBP RT2560 (rev 0x04), RF RT2525
ral0: Ethernet address: 00:11:09:29:e4:68
pci0: <multimedia, video> at device 9.0 (no driver attached)
pci0: <multimedia> at device 9.1 (no driver attached)
rl1: <RealTek 8139 10/100BaseTX> port 0xcc00-0xccff mem
0xdfffbe00-0xdfffbeff irq 18 at device 11.0 on pci0
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:10:dc:82:9b:d2
fdc0: <floppy drive controller> port 0x3f2-0x3f3,0x3f4-0x3f5,0x3f7 irq
6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acp=
i0
sio0: type 16550A
sio0: [FAST]
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
sio1: [FAST]
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppc0: [GIANT-LOCKED]
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xcd000-0xcf7ff pnpid
ORM0000 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ums0: <Logitech USB Mouse, class 0/0, rev 1.10/6.10, addr 2> on uhub2
ums0: 3 buttons and Z dir.
Timecounter "TSC" frequency 2000149480 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 57241MB <Seagate ST360012A 3.30> at ata0-master UDMA100
ad1: 57241MB <Seagate ST360015A 3.33> at ata0-slave UDMA100
acd0: DVDROM <HL-DT-STDVD-ROM GDR8161B/0100> at ata1-master UDMA33
acd1: CDRW <HL-DT-ST GCE-8481B/1.00> at ata1-slave UDMA33
Trying to mount root from ufs:/dev/ad1s2a
WARNING: /var was not properly dismounted
ral0: device timeout
umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/1.25, addr 2> on uh=
ub3
umass0: at uhub3 port 6 (addr 2) disconnected
(da0:dead_sim0:0:0:0): lost device
(da0:dead_sim0:0:0:0): got CAM status 0x8
(da0:dead_sim0:0:0:0): fatal error, failed to attach to device
(da0:dead_sim0:0:0:0): removing device entry
umass0: detached
umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/1.25, addr 2> on uh=
ub3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic STORAGE DEVICE 1.25> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)
umass0: at uhub3 port 6 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:dead_sim0:0:0:0): removing device entry
umass0: detached
umass0: <vendor 0x05e3 USB Storage, class 0/0, rev 2.00/1.25, addr 2> on uh=
ub3
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic STORAGE DEVICE 1.25> Removable Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 125MB (256000 512 byte sectors: 64H 32S/T 125C)
Mount point /mnt had 1 dangling refs
Mount point /mnt/CF had 1 dangling refs


--
There's this old saying: "Give a man a fish, feed him for a day. Teach
a man to fish, feed him for life."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7daacbbe0604040946m34826010k2a5ac967fa4bd9e0>