ed48 [Solved] Why does FreeBSD not know my USB disk? - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

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

Reply
 
Thread Tools Display Modes
  #1  
Old August 17th, 2011, 02:10
sw2wolf sw2wolf is offline
Member
 
Join Date: Feb 2010
Location: China
Posts: 201
Thanks: 1
Thanked 1 Time in 1 Post
Default Why does FreeBSD not know my USB disk?

After plugged, the USB disk cannot be recognized by FreeBSD as there is no "/dev/da*".
Code:
>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

Last edited by DutchDaemon; August 17th, 2011 at 13:45.
Reply With Quote
  #2  
Old August 17th, 2011, 03:59
jb_fvwm2 jb_fvwm2 is offline
Senior Member
 
Join Date: Nov 2008
Posts: 1,386
Thanks: 60
Thanked 145 Times in 130 Posts
Default

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?
Reply With Quote
  #3  
Old August 17th, 2011, 07:43
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,702
Thanks: 47
Thanked 2,022 Times in 1,861 Posts
Default

Make sure umass(4) is loaded before plugging the stick in.

Do a $ tail -f /var/log/messages 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.
Reply With Quote
  #4  
Old August 17th, 2011, 12:33
jem jem is offline
Member
 
Join Date: Oct 2009
Location: United Kingdom
Posts: 324
Thanks: 17
Thanked 51 Times in 41 Posts
Default

Try this:
# usbconfig list

That might give you a clue what's going on.
__________________
http://www.b0rken.org/
Reply With Quote
  #5  
Old August 18th, 2011, 01:18
sw2wolf sw2wolf is offline
Member
 
Join Date: Feb 2010
Location: China
Posts: 201
Thanks: 1
Thanked 1 Time in 1 Post
Default

Code:
>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
Reply With Quote
  #6  
Old August 18th, 2011, 02:00
Magneto Magneto is offline
Junior Member
 
Join Date: Sep 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

# usbconfig

Last edited by DutchDaemon; August 18th, 2011 at 14:46.
Reply With Quote
  #7  
Old August 20th, 2011, 07:10
sw2wolf sw2wolf is offline
Member
 
Join Date: Feb 2010
Location: China
Posts: 201
Thanks: 1
Thanked 1 Time in 1 Post
Default

Today i tried the same USB disk on linux.

Code:
%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/sdf /media/usbdisk                     
%mount
...
/dev/sdf on /media/usbdisk type vfat (rw)
...
Then i can use it normally !
__________________
e^(π.i) + 1 = 0

Last edited by DutchDaemon; August 20th, 2011 at 19:51. Reason: re-read: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preparing 7.2 USB boot disk with Mac OS X Disk Utility DirtyGerman Installing & Upgrading 8 November 7th, 2011 12:00
POST hangs with USB disk arkive Peripheral Hardware 6 March 1st, 2010 20:12
Generic usb disk. ludochicca Peripheral Hardware 3 June 22nd, 2009 12:54
FreeBSD 7.1 USB Drive installation failure:"cannot write to disk" klemes Installing & Upgrading 0 March 30th, 2009 14:03
Getting a Bootable FreeBSD 7.1 USB Flash Disk .IMG file vask Installing & Upgrading 8 February 18th, 2009 05:31


All times are GMT +1. The time now is 09:19.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0