LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-03-2004, 06:25 AM   #1
geomatt
Member
 
Registered: Mar 2004
Location: PA
Distribution: Slackware 12.0
Posts: 315

Rep: Reputation: 30
Unhappy USB key problem


Hi everyone!

I'm running Slackware 9.1 on a new IBM thinkpad R40 and having trouble getting it to find a usb key. I've been following instructions I've found here and elsewhere -

Editing the fstab and trying to manually mount it (I get the "too many file systems, bad block, or etc... " error I've seen posted here.) didn't work.

So I checked out the usb-mountv0.9 package at http://users.actrix.co.nz/michael/usbmount.html and followed the installation instructions. This package is supposed to detect hot-plugged usb devices and then change desktop icons accordingly mounting and unmounting smoothly.

Anyone have any success with this approach?
Any ideas, suggestions?

later,
geomatt (brand newbie)

Here is /user/etc/usb-mount.conf (the /var/log/messages section that appeared on plugging in follows)

# Config file for usb-mount
# These settings correspond to those in force for version v0.7
# except for the new MOUNT_OPTIONS setting of -o sync.
# Please inspect each setting an customise for your system.
# If unsure - then these settings are reasonable defaults.
#
MOUNT_PATH=/mnt/usbstick

# Location of disktype (utility from http://disktype.sourceforge.net/)
DISKTYPE=/usr/local/bin/disktype

# Location of sg_map (utility from sg3_utils)
SGMAP=/usr/local/bin/sg_map

# Location of fdisk
FDISK=/sbin/fdisk

# Comment out the next line to disable the $HOME/Desktop actions.
DO_DESKTOP=1

# The name of an icon that can be used for desktop icons
# for mounted devices.
MOUNT_ICON_NAME=/opt/kde/share/icons/kdeclassic/32x32/devices/3floppy_mount.png

# The name of an icon than can be used for destop icons for
# unmounted or detached devices.
UMOUNT_ICON_NAME=/opt/kde/share/icons/kdeclassic/32x32/devices/3floppy_unmount.png

# Uncomment the next line to enable deleting usb device icon
# from desktop after unmounting the device.
# DELETE_ICON=1

# Comment/uncomment the next lines to enable writing a .directory file
# to the root of each partition mounted - this provides a
# custom icon for the mounted folder as well as a folder unmount
# action.
DO_DIRECTORY_ICON=1
#unset DO_DIRECTORY_ICON

# Comment/uncomment the next line to disable mount uid option where
# the uid is set to the owner of the console.
DO_CONSOLE_USER=1
#unset DO_CONSOLE_USER

# Who to use if DO_CONSOLE_USER isn't set.
USB_USER=root

# Set this to a group appropriate for sharing
#USB_GROUP=root
# Uncomment to allow group rxw for the group called users
USB_GROUP=users

# Umask to set for the mount - default is rwxrwxr-x
USB_UMASK=0002
# Uncomment if you want rwxrwx---
#USB_UMASK=0007

# Uncomment to force module loading/unloading - can
# be usefull on Linux 2.4 to stop /dev/sd[abc] creeping up.
# Not recommended - playing with modules probably isn't nice.
# DO_MODULES=1

# Generic extra mount options.
#MOUNT_OPTIONS=""
# Make the file system updates synchonous - safer in the
# event someone yanks out a device without unmounting it
# because it is more likely to have all its data on board.
# But probably much slower.
MOUNT_OPTIONS="-o sync"

# Set any umount options. Some people prefer -lf, some
# with older distros do not. (Read the umount man page for
# details - if unsure, leave on)
UMOUNT_OPTIONS="-lf"
# Uncomment this line to disable -lf.
#UMOUNT_OPTIONS=""


# Syslog log priority where a GUI might pop up a window - for
# KDE on Redhat 7.2 this is emerg level. If you don't want
# to see any popups - change it to something lower - eg alert.
LOG_POPUP_LEVEL=emerg

# Syslog facility to use. Error messages in the syslog
# will have this facility so they can be easily identified.
FACILITY=local5

# Comment/uncomment for more debugging info.
#DEBUG=1
unset DEBUG

### End of usb-mount.conf






/var/log/messages




Apr 3 07:03:44 slack kernel: hub.c: new USB device 00:1d.7-3, assigned address 2
Apr 3 07:03:48 slack kernel: Initializing USB Mass Storage driver...
Apr 3 07:03:48 slack kernel: usb.c: registered new driver usb-storage
Apr 3 07:03:48 slack kernel: scsi1 : SCSI emulation for USB Mass Storage devices
Apr 3 07:03:48 slack kernel: sda: sda1 sda2 sda3 sda4
Apr 3 07:03:48 slack kernel: USB Mass Storage support registered.
Apr 3 07:03:48 slack usb-mount: +++ Starting usb (u)mounter DEVPATH= SCSI=
Apr 3 07:03:48 slack usb-mount: Cleaning up mounts for detached devices.
Apr 3 07:03:48 slack usb-mount: Called to mount device /proc/bus/usb/001/002
Apr 3 07:03:48 slack usb-mount: Find and mount all attached usb storage devices.
Apr 3 07:03:48 slack usb-mount: mount /proc/scsi/usb-storage-0/1
Apr 3 07:03:48 slack usb-mount: USB proc-fs yields SCSI host number=1
Apr 3 07:03:48 slack usb-mount: SCSI disk device for 1 is /dev/sda
Apr 3 07:03:48 slack usb-mount: Mounting partitions for /dev/sda (/proc/scsi/usb-storage-0/1)
Apr 3 07:03:48 slack usb-mount: Partition lookup for disk device=/dev/sda
Apr 3 07:03:48 slack usb-mount: Partition list for /dev/sda is /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4
Apr 3 07:03:48 slack usb-mount: Doing /dev/sda1
Apr 3 07:03:48 slack usb-mount: Checking /mnt/usbstick/device-0
Apr 3 07:03:48 slack usb-mount: Mountpoint /mnt/usbstick/device-0 is free
Apr 3 07:03:48 slack usb-mount: Console usb user is root
Apr 3 07:03:48 slack usb-mount: Owner is root - mounting for root
Apr 3 07:03:48 slack usb-mount: Mounting /dev/sda1 on /mnt/usbstick/device-0
Apr 3 07:03:49 slack usb-mount: Filesystem is 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:49 slack usb-mount: UUID 'disktype: Data read failed at position 0: Input/output error', label 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:49 slack kernel: UMSDOS: msdos_read_super failed, mount aborted.
Apr 3 07:03:49 slack usb-mount: Mount error for mountpoint /mnt/usbstick/device-0, device /dev/sda1!
Apr 3 07:03:49 slack usb-mount: Doing /dev/sda2
Apr 3 07:03:49 slack usb-mount: Checking /mnt/usbstick/device-0
Apr 3 07:03:49 slack usb-mount: Mountpoint /mnt/usbstick/device-0 is free
Apr 3 07:03:49 slack usb-mount: Console usb user is root
Apr 3 07:03:49 slack usb-mount: Owner is root - mounting for root
Apr 3 07:03:49 slack usb-mount: Mounting /dev/sda2 on /mnt/usbstick/device-0
Apr 3 07:03:50 slack usb-mount: Filesystem is 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:50 slack usb-mount: UUID 'disktype: Data read failed at position 0: Input/output error', label 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:50 slack kernel: UMSDOS: msdos_read_super failed, mount aborted.
Apr 3 07:03:50 slack usb-mount: Mount error for mountpoint /mnt/usbstick/device-0, device /dev/sda2!
Apr 3 07:03:50 slack usb-mount: Doing /dev/sda3
Apr 3 07:03:50 slack usb-mount: Checking /mnt/usbstick/device-0
Apr 3 07:03:50 slack usb-mount: Mountpoint /mnt/usbstick/device-0 is free
Apr 3 07:03:50 slack usb-mount: Console usb user is root
Apr 3 07:03:50 slack usb-mount: Owner is root - mounting for root
Apr 3 07:03:50 slack usb-mount: Mounting /dev/sda3 on /mnt/usbstick/device-0
Apr 3 07:03:50 slack usb-mount: Filesystem is 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:50 slack usb-mount: UUID 'disktype: Data read failed at position 0: Input/output error', label 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:51 slack kernel: UMSDOS: msdos_read_super failed, mount aborted.
Apr 3 07:03:51 slack usb-mount: Mount error for mountpoint /mnt/usbstick/device-0, device /dev/sda3!
Apr 3 07:03:51 slack usb-mount: Doing /dev/sda4
Apr 3 07:03:51 slack usb-mount: Checking /mnt/usbstick/device-0
Apr 3 07:03:51 slack usb-mount: Mountpoint /mnt/usbstick/device-0 is free
Apr 3 07:03:51 slack usb-mount: Console usb user is root
Apr 3 07:03:51 slack usb-mount: Owner is root - mounting for root
Apr 3 07:03:51 slack usb-mount: Mounting /dev/sda4 on /mnt/usbstick/device-0
Apr 3 07:03:51 slack usb-mount: Filesystem is 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:51 slack usb-mount: UUID 'disktype: Data read failed at position 0: Input/output error', label 'disktype: Data read failed at position 0: Input/output error'
Apr 3 07:03:51 slack kernel: UMSDOS: msdos_read_super failed, mount aborted.
Apr 3 07:03:51 slack usb-mount: Mount error for mountpoint /mnt/usbstick/device-0, device /dev/sda4!
Apr 3 07:03:51 slack usb-mount: Checking for unused mountpoints
Apr 3 07:03:51 slack usb-mount: Removing /mnt/usbstick/device-0
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Usb memory key problem mtb Linux - Software 6 09-02-2005 12:00 PM
USB key /dev/sdb1 permissions problem... zparihar Linux - Hardware 6 02-03-2005 05:22 PM
Problem with USB Key and creating the /dev/sda1 block device Ben2210 Slackware 5 08-04-2004 02:42 AM
Suse 9.1 - usb memory key problem enryfox Linux - Distributions 9 07-27-2004 08:43 PM
Yet another USB Key Drive Problem :( averen Linux - Hardware 2 04-02-2004 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration