Why does FreeBSD not know my USB disk?

General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Why does FreeBSD not know my USB disk?

Postby sw2wolf » 17 Aug 2011, 01:10

After plugged, the USB disk cannot be recognized by FreeBSD as there is no "/dev/da*".
Code: Select all
>ls /dev/
 acd0 ad4s5 console kbd0@ msdosfs/ stdin@ ttyv8 ugen1.1@
 acpi ad4s6 consolectl kbd1@ null stdout@ ttyv9 ugen1.2@
 ad4 ad4s7 ctty kbdmux0 nvidia0 sysmouse ttyva urandom@
 ad4s1 ad4s8 devctl klog nvidiactl ttyv0 ttyvb usb/
 ad4s2 ad4s9 devstat kmem pci ttyv1 ttyvc usbctl
 ad4s3 ata dsp0.0 log@ psm0 ttyv2 ttyvd vboxdrv0
 ad4s3a atkbd0 dsp0.1 mdctl ptmx ttyv3 ttyve xpt0
 ad4s3b audit fd/ mem pts/ ttyv4 ttyvf zero
 ad4s3d bpf fido midistat random ttyv5 ufsid/
 ad4s3e bpf0@ geom.ctl mixer0 sndstat ttyv6 ugen0.1@
 ad4s3f bpsm0 io mixer1 stderr@ ttyv7 ugen0.2@

 >uname -a
 FreeBSD mybsd.zsoft.com 8.2-RELEASE FreeBSD 8.2-RELEASE #2: Sat Feb 26 16:53:57 CST 2011
root@mybsd.zsoft.com:/media/G/usr/obj/media/G/usr/src/sys/MYKERNEL i386

>dmesg -a|grep -i usb
 ohci0: <nVidia> mem 0xfe02f000-0xfe02ffff at device 2.0 on pci0
 usbus0: <nVidia> on ohci0
 ehci0: <NVIDIA> mem 0xfe02e000-0xfe02e0ff at device 2.1 on pci0
 usbus1: EHCI version 1.0
 usbus1: <NVIDIA> on ehci0
 usbus0: 12Mbps Full Speed USB v1.0
 usbus1: 480Mbps High Speed USB v2.0
 ugen0.1: <nVidia> at usbus0
 uhub0: <nVidia> on usbus0
 ugen1.1: <nVidia> at usbus1
 uhub1: <nVidia> on usbus1
 Root mount waiting for: usbus1
 Root mount waiting for: usbus1
 Root mount waiting for: usbus1
 Root mount waiting for: usbus1
 Root mount waiting for: usbus1
 ugen0.2: <vendor> at usbus0
 ugen1.2: <vendor> at usbus1
 ugen1.2: <vendor> at usbus1 (disconnected)
 ugen1.2: <vendor> at usbus1


Sincerely!
e^(Ï€.i) + 1 = 0
sw2wolf
Member
 
Posts: 234
Joined: 08 Feb 2010, 01:25
Location: China

Postby jb_fvwm2 » 17 Aug 2011, 02:59

A recent post had the disk "solved" by having its own power supply rather than power from the usb ports. May that be the case? Otherwise, post more information?
jb_fvwm2
Senior Member
 
Posts: 1503
Joined: 16 Nov 2008, 19:19

Postby SirDice » 17 Aug 2011, 06:43

Make sure [man=4]umass[/man] is loaded before plugging the stick in.

Do a [cmd=$]tail -f /var/log/messages[/cmd] and stick it in. Watch the messages. If it's not recognized post those messages here.
Senior UNIX Engineer at Unix Support Nederland
Experience is something you don't get until just after you need it.
User avatar
SirDice
Old Fart
 
Posts: 16194
Joined: 17 Nov 2008, 16:50
Location: Rotterdam, Netherlands

Postby jem » 17 Aug 2011, 11:33

Try this:
[CMD="#"]usbconfig list[/CMD]

That might give you a clue what's going on.
jem
Member
 
Posts: 342
Joined: 23 Oct 2009, 11:24

Postby sw2wolf » 18 Aug 2011, 00:18

Code: Select all
>sudo usbconfig list
Password:
ugen0.1: <OHCI root HUB nVidia> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen1.1: <EHCI root HUB nVidia> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen0.2: <USB Reader vendor 0x058f> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.2: <USB Flash Memory vendor 0x0930> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON

>tail -f /var/log/messages
...
Aug 18 08:10:51 mybsd sudo:  sw2wolf : TTY=pts/1 ; PWD=/usr/home/sw2wolf ; USER=root ; COMMAND=/usr/sbin/usbconfig list
Aug 18 08:12:47 mybsd kernel: ugen1.2: <vendor 0x0930> at usbus1 (disconnected)
Aug 18 08:13:13 mybsd root: Unknown USB device: vendor 0x0930 product 0x6545 bus uhub1
Aug 18 08:13:13 mybsd kernel: ugen1.2: <vendor 0x0930> at usbus1



It seems my freebsd cannot know my USB device which is a 2GB disk.
e^(Ï€.i) + 1 = 0
sw2wolf
Member
 
Posts: 234
Joined: 08 Feb 2010, 01:25
Location: China

Postby Magneto » 18 Aug 2011, 01:00

[CMD=" "]# usbconfig[/CMD]
Magneto
Junior Member
 
Posts: 3
Joined: 15 Sep 2010, 19:34

Postby sw2wolf » 20 Aug 2011, 06:10

Today i tried the same USB disk on linux.

Code: Select all
%uname -a
Linux myarch 3.0-ARCH #1 SMP PREEMPT Sat Aug 6 16:49:00 CEST 2011 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ AuthenticAMD GNU/Linux

%sudo mount /dev/[color="Red"]sdf[/color] /media/usbdisk                     
%mount
...
/dev/sdf on /media/usbdisk type [color="Red"]vfat[/color] (rw)
...


Then i can use it normally !
e^(Ï€.i) + 1 = 0
sw2wolf
Member
 
Posts: 234
Joined: 08 Feb 2010, 01:25
Location: China


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest