Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
YaUP: Yet another USB Problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
duggum
n00b
n00b


Joined: 20 Jan 2005
Posts: 2

PostPosted: Thu Jan 20, 2005 3:43 am    Post subject: YaUP: Yet another USB Problem Reply with quote

Hiya folks! Long time reader, first time poster...

Actually, I'm quite the Linux noob and I'm having a problem with my USB drive (flash drive, pen drive, stick, etc...).

Here is my fstab entry for it:

Code:
/dev/sdb1      /mnt/usbstick   vfat      noauto,user,rw         0 0


The problem is this...

If I mount the drive manually with
Code:
mount -t vfat /dev/sdb1 /mnt/usbstick
everything works fine. The drive mounts and the file system is set as vfat. On the other hand, if I use Konqueror (devices >> right click >> mount) it mounts fine, but the file system is set as msdos. The drive works fine but I hate the mangled 8.3 file names, and more than anything I'm frustrated because I can't figure this out on my own.

Here's the pertinent part of my dmesg:

Code:
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
usbcore: registered new driver wacom
drivers/usb/input/wacom.c: v1.30:USB Wacom Graphire and Wacom Intuos tablet driver
gameport: pci0000:02:02.1 speed 1125 kHz
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 8192 buckets, 64Kbytes
TCP: Hash tables configured (established 262144 bind 65536)
ip_conntrack version 2.1 (7168 buckets, 57344 max) - 304 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/projects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI wakeup devices:
TANA P0P3 AC97 USB0 USB1 USB2 USB3 USB7 SLPB
ACPI: (supports S0 S1 S4 S5)
ReiserFS: sda6: found reiserfs format "3.6" with standard journal
  Vendor: Fujifilm  Model: USB Drive         Rev: 4.70
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sdb: 499200 512-byte hdwr sectors (256 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
SCSI device sdb: 499200 512-byte hdwr sectors (256 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
 /dev/scsi/host2/bus0/target0/lun0: p1
Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi2, channel 0, id 0, lun 0,  type 0
usb-storage: device scan complete
ReiserFS: sda6: using ordered data mode
ReiserFS: sda6: journal params: device sda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda6: checking transaction log (sda6)
ReiserFS: sda6: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 236k freed
Adding 1959888k swap on /dev/sda5.  Priority:-1 extents:1
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-6629  Wed Nov  3 13:12:51 PST 2004
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ACPI: PCI interrupt 0000:02:02.0[A] -> GSI 17 (level, low) -> IRQ 17
e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
nfs warning: mount version older than kernel
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
SCSI device sdb: 499200 512-byte hdwr sectors (256 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
 /dev/scsi/host2/bus0/target0/lun0: p1
SCSI device sdb: 499200 512-byte hdwr sectors (256 MB)
sdb: assuming Write Enabled
sdb: assuming drive cache: write through
 /dev/scsi/host2/bus0/target0/lun0: p1


Based on all the posts I have read here and elsewhere I believe I have my kernel (2.6.10-gentoo-r4) compiled with all the necessary modules and such. I just can't seem to figure out why this is happening.

Thanking you all in advance,

Duggum
Back to top
View user's profile Send private message
petlab
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 290
Location: Armpit, Oregon

PostPosted: Thu Jan 20, 2005 3:51 am    Post subject: Reply with quote

Um, I don't know the difference between vfat and msdos. Aren't they the same? Tell us whether it can be read or not. I though7 that vfat was msdos! (duhh!?) :oops:
_________________
Get Serious - Get JAWA CZ
Back to top
View user's profile Send private message
Arainach
l33t
l33t


Joined: 08 Jul 2004
Posts: 609

PostPosted: Thu Jan 20, 2005 4:10 am    Post subject: Reply with quote

Try setting the filesystem type to auto and seeing what happens.
_________________
Gentoo: Stage3 w/ NPTL & udev, gcc 3.4.4 full rebuild
Kernel: 2.6.15-gentoo-r1 w/ 1G-Lowmem Patch
System: Athlon XP 2.2Ghz/1GB Corsair Value/160GB, 250GB WD IDE/128MB GeForce 6800/Sony 17" Trinitron G200 @ 1280x1024x75Hz
Back to top
View user's profile Send private message
Atle
Apprentice
Apprentice


Joined: 16 Sep 2004
Posts: 179

PostPosted: Thu Jan 20, 2005 11:47 am    Post subject: Reply with quote

Edit: Sorry, didn't read thorougly enough
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Thu Jan 20, 2005 4:23 pm    Post subject: Reply with quote

either dont include msdos in your kernel or tell konqueror not to use the "auto" method which defaults to msdos over vfat.
_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
duggum
n00b
n00b


Joined: 20 Jan 2005
Posts: 2

PostPosted: Fri Jan 21, 2005 5:21 am    Post subject: Reply with quote

I have tried setting the filesystem to auto in fstab and it still defaults to msdos when using Konqueror.

I don't feel like recompilin gm y kernel again atm, but I can't seem to find where I can tell Konqueror to not use "auto" as dsd mentioned. Can someone help me out on that one?

Thanks again,

duggum
Back to top
View user's profile Send private message
mallchin
l33t
l33t


Joined: 21 Jan 2003
Posts: 655
Location: United Kingdom

PostPosted: Fri May 06, 2005 11:31 am    Post subject: Reply with quote

If explicitly defining as vfat doesn't solve it I'd remove msdos support altogether.
_________________
6700 @ 2.66GHz, 4Gb RAM, 2 x 500Gb, 8800 GTX, PhysX, X-Fi, 24" Widescreen, Tux mascot
Back to top
View user's profile Send private message
dsd
Developer
Developer


Joined: 30 Mar 2003
Posts: 2162
Location: nr London

PostPosted: Fri May 06, 2005 5:24 pm    Post subject: Reply with quote

/etc/filesystems

Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/filesystems,v 1.1.2.2 2005/01$
# This file defines the filesystems search order used by a
# 'mount -t auto' command.

# Uncomment the following line if your modular kernel has vfat
# support and you want mount to try vfat.
#vfat

_________________
http://dev.gentoo.org/~dsd
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum