You are not logged in.

#1 2008-06-01 20:53:08

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

[SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

Hello all,

I am running Fluxbox and need to figure out how to get my USB (for flash drives etc..), internal media card reader (which has four slots), and Firewire (for Camcorder to be used with Kino) to mount.

I finally got it all working (except firewire, never did get that working) when I used Ubuntu, but I apparently don't remember how to do that here, it seems to be a bit different.

Here is my current /etc/fstab:

#
# /etc/fstab: static file system information
#
# <file system>  <dir>           <type>    <options>          <dump> <pass>
none             /dev/pts        devpts    defaults           0      0
none             /dev/shm        tmpfs     defaults           0      0


/dev/cdrom        /media/cdrom             auto  ro,user,noauto,unhide    0   0
/dev/cdrom1      /media/cdrom1           auto  ro,user,noauto,unhide    0   0
/dev/dvd           /media/dvd                 auto  ro,user,noauto,unhide    0   0
/dev/dvd1         /media/dvd1               auto  ro,user,noauto,unhide    0   0
/dev/fd0           /media/fd0                  auto  rw,user,noauto,exec       0   0

/dev/sda1        swap                                  swap  defaults   0   0
/dev/sda2        /                                     ext3  defaults   0   1
/dev/sda3        /home                                 ext3  defaults   0   1
/dev/sdb1        /home/theavataroftime/media-server/1  ext3  defaults   0   1
/dev/sdc1        /home/theavataroftime/media-server/2  ext3  defaults   0   1
/dev/sdd1        /home/theavataroftime/media-server/3  ext3  defaults   0   1
/dev/sde1        /home/theavataroftime/media-server/4  ext3  defaults   0   1

/dev/sdf          /media/usb               auto  user,noauto,rw           0   0
/dev/sdg         /media/card1            auto  user,noauto,rw           0   0
/dev/sdh         /media/card2            auto  user,noauto,rw           0   0
/dev/sdj          /media/card3            auto  user,noauto,rw           0   0
/dev/sdk         /media/card4            auto  user,noauto,rw           0   0

### This is here because of VirtualBox running XP
none             /proc/bus/usb          usbfs  devgid=85,devmode=664    0   0

This was more or less, from memory, how I had it set up in Ubuntu.

However, when I try to 'mount /media/usb' I get a:

mount: I could not determine the filesystem type, and none was specified

That is with a flash drive in the USB port, of course. I tried to mount card1-4 with the same errors, in case say, /dev/sdk is actually the USB and not /dev/sdf.

Like I say I don't remember the exact order in Ubuntu, but the way I have my /etc/fstab now is basically how I had it for Ubuntu. As far as sdf-sdk I could be off on which one is actually the USB here, but those are the five /devs that I used in Ubuntu.

I have the same problem with the media card reader. I put an xD card in the proper slot and try to mount any of the five listed above and I still get the cannot determine filesystem error.

When it comes to the Firewire, I simply have no idea how to do that or what /dev it is. Never could get it in Ubuntu either.

Does anyone have any ideas as to what I have done wrong or am missing? Thanks for any help.

Last edited by The Avatar of Time (2008-06-26 15:47:27)

Offline

#2 2008-06-01 22:48:50

bgc1954
Member
From: Edmonton, AB, Canada
Registered: 2006-03-14
Posts: 1,160

Re: [SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

I believe I always had to specify the filesystem type in my fstab.  For usb I think I used vfat,ext2.  Never had any success with auto in Arch.


Time is a great teacher, but unfortunately it kills all its pupils ... - Louis Hector Berlioz

Offline

#3 2008-06-03 13:31:53

fatlarry
Member
Registered: 2008-05-14
Posts: 31

Re: [SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

Dont't you love it when they screw up things that used to work ? But seriously ... this is probably due to  the new udev or whatever new crap to handle usb devices transparently, which in my opinion gives you more headaches than the "problems" it actually claims to solve.

Anyway, back to your problem:

As root:

# lsscsi

will show you where the usb stick is actually mounted, say /dev/sdf

Then you can just mount that manually as a vfat volume wherever you want (actually, you do not even  need to specify the filesystem type- if it barks back at you that it wants that, then something is wrong- try then to mount /dev/sdf1 or /dev/sdf4 instead of /dev/sdf; things are really dependent on your distribution, and sometimes on the moon phases .. ha-ha !, but hey, if it works, why would you care...)

I know this is a kludge, and not pretty, but let me know if that works for you.

PS: sorry for the flame, but I could not help myself.

"Better the scold of a friend than the smile of a stupid !"  (A. Buzura, "Vocile Noptii")

Offline

#4 2008-06-25 07:27:31

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

Thanks for the help, sorry to wait so long to respond.

I now have my flash drive and media card readers mounting just fine. I thought that I would include my /etc/fstab again now that things are working in case anyone else needs to see it:

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0


/dev/cdrom   /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/cdrom1  /media/cdrom1  auto    ro,user,noauto,unhide   0      0
/dev/dvd     /media/dvd     auto    ro,user,noauto,unhide   0      0
/dev/dvd1    /media/dvd1    auto    ro,user,noauto,unhide   0      0
/dev/fd0     /media/fd0     auto    user,noauto             0      0

/dev/sda1    swap   swap     defaults  0 0

/dev/sda2    /      reiserfs defaults  0 1
/dev/sda3    /home  reiserfs defaults  0 1

# Media-Server Drives
/dev/sdb1    /home/theavataroftime/media-server/1  ext3  defaults  0  1
/dev/sdc1    /home/theavataroftime/media-server/2  ext3  defaults  0  1
/dev/sdd1    /home/theavataroftime/media-server/3  ext3  defaults  0  1
/dev/sde1    /home/theavataroftime/media-server/4  ext3  defaults  0  1

# For Media-Card reader
/dev/sdf1    /media/card1                   auto   ro,user,noauto  0  0
/dev/sdg1    /media/xd                      auto   ro,user,noauto  0  0
/dev/sdh1    /media/card3                   auto   ro,user,noauto  0  0
/dev/sdi1    /media/sd                      auto   ro,user,noauto  0  0

# For USB - Generally for Flash Drive
/dev/sdj1    /media/usb                     vfat   ro,user,noauto  0  0

# For IEEE1394 aka Firewire - Generally for DV Camcorder
/dev/raw1394 /media/firewire                proc   ro,user,noauto  0  0

# For USB support in Vbox
none         /proc/bus/usb          usbfs   devgid=85,devmode=664  0  0

I would like to add that for the USB drives and whatever else you want to mount in /media you have to have a directory of the same name in /media. I realize the stands to reason but I had left it out. Maybe this will save someone else the trouble.

It is nice to see those things working, however, my IEEE 1394 is not working and I have tried everything that I know. I did find out that I had to have the 'raw1394' module, which I added to modules in /etc/rc.conf as well as using 'modprobe raw1394' to save a restart.

As can be seen above I added /dev/raw1394 to /etc/rc.conf as well. I then could not get my DV Camcorder to mount with filesystem set to 'auto', so I used 'proc'. Now I don't exactly know what 'proc' is or what I have done wrong here but now when I do a 'mount /media/firewire' it mounts with no trouble. However whatever mounts is most certainly NOT my camcorder (especially since it mounts whether or not the camcorder is plugged in...). Just tried changing the filesystem to vfat as well. I get a '/dev/raw1394 is not a block device' when trying to mount it now.

I am not sure what all information will be helpful but here is my 'dmesg | grep 1394' output:

bash-3.2$ dmesg | grep 1394
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[bfff7800-bfff7fff]  Max Packet=[2048]  IR/IT contexts=[4/8]
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0011d8000189558d]
ieee1394: raw1394: /dev/raw1394 device initialized
ieee1394: hpsb_update_config_rom() is deprecated
ieee1394: Failed to generate Configuration ROM image for host 0

I have been at this long enough that I am drawing a blank on other relevant info so I apologize. If anything else would help, please ask. I would certainly appreciate any further help in getting this camcorder to mount. Thanks.

Also, I could be way off track here. Maybe /dev/raw1394 has nothing to do with the camcorder that I want to mount. Perhaps there is some other path altogether?

Last edited by The Avatar of Time (2008-06-25 07:34:03)

Offline

#5 2008-06-26 04:43:22

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

Hello again,

Just thought that I would give an update on my progress here, not that there is much progress. I loaded a few more modules: video1394 and dv1394 (which from what I can tell is obsolete anyway). Also installed the 'libdc1394' package.

Also I come to find out that the IEEE 1394 cable was not connected to my motherboard. So I got it plugged in and restarted the computer (wasn't sure if that was necessary but figured it couldn't hurt). Still getting all the same problems though.

I ran 'lshwd' and the IEEE 1394 controller shows up, so it must be recognized now. Oddly though it showed up last night as well when I ran that, but then didn't today. I really don't see how it would of just fell out of the board on it's own, I find it more likely that I knocked it out when I last cleaned the computer. But I guess none of that matters.

Anyhow I know for a fact that the IEEE 1394 is now hooked up properly. And I have raw1394, ohci1394, dv1394, and video1394 modules loaded. And the 'libdc1394' package is installed.

I have tried adding this to /etc/fstab:  '/dev/video1394   /media/firewire    auto   ro,user,noauto  0  0'

I get a 'cannot determine filesystem' error when using 'mount /media/firewire. If I try vfat or isso9660 I get a 'mount: special device /dev/video1394 does not exist'.

I decided to plug a USB cable into the camcorder and try that instead and I get the same errors as I do with the IEEE 1394 cable. if the USB fs is set to 'vfat' I get a 'specail device /dev/sdj1 /media/usb does not exist' and if set to auto I get a 'cannot determine filesystem'.

I thought I would include a few things here.

This is 'ls /dev':

XOR         network_latency     sg2       tty3   ttyS1
adsp         network_throughput  sg3       tty30  ttyS2
audio         null             sg4       tty31  ttyS3
bsg         nvidia0         sg5       tty32  urandom
bus         nvidiactl         sg6       tty33  usb
cd         par0             sg7       tty34  usbdev1.1
cdrom         parport0         sg8       tty35  usbdev1.1_ep00
cdrom0         port             sg9       tty36  usbdev1.1_ep81
cdrom1         ppp             shm       tty37  usbdev1.2
cdrw         psaux             snapshot  tty38  usbdev1.2_ep00
cdrw0         ptmx             snd       tty39  usbdev1.2_ep81
cdrw1         pts             sound     tty4   usbdev1.3
console         radio             sr0       tty40  usbdev1.3_ep00
core         radio0             sr1       tty41  usbdev1.3_ep81
cpu_dma_latency  random             stderr    tty42  usbdev1.3_ep82
disk         raw1394         stdin     tty43  usbdev1.4
dsp         root             stdout    tty44  usbdev1.4_ep00
dv1394         rtc             tts       tty45  usbdev1.4_ep81
dv1394-0     rtc0             tty       tty46  usbdev1.4_ep82
dvd         scd0             tty0      tty47  usbdev2.1
dvd0         scd1             tty1      tty48  usbdev2.1_ep00
dvd1         sda             tty10     tty49  usbdev2.1_ep81
fb         sda1             tty11     tty5   usbdev2.4
fb0         sda2             tty12     tty50  usbdev2.4_ep00
fd         sda3             tty13     tty51  usbdev2.4_ep01
full         sdb             tty14     tty52  usbdev2.4_ep82
hidraw0         sdb1             tty15     tty53  v4l
hidraw1         sdc             tty16     tty54  vbi
hidraw2         sdc1             tty17     tty55  vbi0
hidraw3         sdd             tty18     tty56  vbi1
initctl         sdd1             tty19     tty57  vboxdrv
input         sde             tty2      tty58  vc
js0         sde1             tty20     tty59  vcc
js1         sdf             tty21     tty6   video
kmem         sdg             tty22     tty60  video0
kmsg         sdh             tty23     tty61  video1
log         sdi             tty24     tty62  video1394-0
lp0         sequencer         tty25     tty63  video24
mcelog         sequencer2         tty26     tty7   video25
mem         sg0             tty27     tty8   video32
misc         sg1             tty28     tty9   video33
mixer         sg10             tty29     ttyS0  zero

This is 'dmesg | grep 1394':

ieee1394: raw1394: /dev/raw1394 device initialized
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[18]  MMIO=[bfff7800-bfff7fff]  Max Packet=[2048]  IR/IT contexts=[4/8]
NOTE: The dv1394 driver is unsupported and may be removed in a future Linux release. Use raw1394 instead.
video1394: Installed video1394 module
ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0011d8000189558d]
ieee1394: Node added: ID:BUS[0-00:1023]  GUID[0080880307292529]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[0080880307292529]
ieee1394: Node resumed: ID:BUS[0-00:1023]  GUID[0080880307292529]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node suspended: ID:BUS[0-00:1023]  GUID[0080880307292529]
ieee1394: Node resumed: ID:BUS[0-00:1023]  GUID[0080880307292529]
ieee1394: Node changed: 0-00:1023 -> 0-01:1023

This is 'lshwd':

00:00.0 Class 0500: nVidia Corp.|MCP55 Memory Controller (unknown)
00:01.0 Class 0601: nVidia Corp.|MCP55 LPC Bridge (unknown)
00:01.1 Class 0c05: nVidia Corp.|MCP55 SMBus (i2c-nforce2)
00:02.0 Class 0c03: nVidia Corp.|MCP55 USB Controller (unknown)
00:02.1 Class 0c03: nVidia Corp.|MCP55 USB Controller (unknown)
00:04.0 Class 0101: nVidia Corp.|MCP55 Serial ATA Controller (amd74xx)
00:05.0 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
00:05.1 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
00:05.2 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
00:06.0 Class 0604: nVidia Corp.|MCP55 SATA Controller (unknown)
00:06.1 Class 0403: nVidia Corp.|MCP55 High Definition Audio (snd-hda-intel)
00:08.0 Class 0680: nVidia Corp.|MCP55 Ethernet (forcedeth)
00:09.0 Class 0680: nVidia Corp.|MCP55 Ethernet (forcedeth)
00:0a.0 Class 0604: nVidia Corp.|MCP55 Ethernet (unknown)
00:0d.0 Class 0604: nVidia Corp.|MCP55 Ethernet (unknown)
00:0e.0 Class 0604: nVidia Corp.|MCP55 Ethernet (unknown)
00:0f.0 Class 0604: nVidia Corp.|MCP55 Ethernet (unknown)
00:18.0 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] HyperTransport Technology Configuration (unknown)
00:18.1 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] Address Map (unknown)
00:18.2 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] DRAM Controller (unknown)
00:18.3 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] Miscellaneous Control (amd64-agp)
00:19.0 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] HyperTransport Technology Configuration (unknown)
00:19.1 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] Address Map (unknown)
00:19.2 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] DRAM Controller (unknown)
00:19.3 Class 0600: Advanced Micro Devices|K8 [Athlon64/Opteron] Miscellaneous Control (amd64-agp)
01:00.0 Class 0300: Advanced Micro Devices|K8 [Athlon64/Opteron] Miscellaneous Control (vesa)
02:00.0 Class 0180: Silicon Image Inc.|Serial ATA Controller (sata_sil24)
05:06.0 Class 0604: Silicon Image Inc.|Serial ATA Controller (unknown)
05:0b.0 Class 0c00: VIA Technologies Inc.|OHCI Compliant IEEE 1394 Host Controller (ohci1394)
06:08.0 Class 0400: Internext Compression Inc.|iTVC16 (CX23416) MPEG-2 Encoder (ivtv)
06:09.0 Class 0400: Internext Compression Inc.|iTVC16 (CX23416) MPEG-2 Encoder (ivtv)
80:00.0 Class 0500: nVidia Corp.|MCP55 Memory Controller (unknown)
80:01.0 Class 0500: nVidia Corp.|MCP55 LPC Bridge (unknown)
80:01.1 Class 0c05: nVidia Corp.|MCP55 SMBus (i2c-nforce2)
80:05.0 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
80:05.1 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
80:05.2 Class 0101: nVidia Corp.|MCP55 SATA Controller (sata_nv)
80:0a.0 Class 0604: nVidia Corp.|MCP55 SATA Controller (unknown)
80:0f.0 Class 0604: nVidia Corp.|MCP55 SATA Controller (unknown)

That is all that I can think of at the moment, if anyone needs any other information I would happy to provide it. Thanks for any help on this matter. I think I have all my dumb mistakes out of the way so that something can get accomplished smile. I will update if I make any headway. Thanks for any help.

Offline

#6 2008-06-26 05:43:13

The Avatar of Time
Member
Registered: 2008-01-11
Posts: 226

Re: [SOLVED] Need help mounting USB, Media Card Reader, and Firewire.

Well I am a moron. I was completely over complicating this. I had tried using Kino by just clicking capture before and it didn't work, because my IEEE 1394 was not connected to the board. After I fixed that I never thought to try again and continued trying to get the camcorder to mount or open something in Kino.

Once the IEEE 1394 was plugged in the camcorder just works in Kino by clicking capture and then playing the video. My apologies to everyone for wasting their time reading this thread. At least I have things working now. If anyone else needs any assistance getting their camcorder or usb to work feel free to ask me. Though it's kind of the blind leading the blind that way......... Anyhow I would be glad to help.

Thanks and sorry.

Offline

Board footer

Powered by FluxBB