LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-28-2004, 03:37 PM   #1
spells
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
USB Mass Storage Problem


Using FC2 2.6.8-1.521 and cannot get Sony USB KeyOnDisk to work.

dmesg output as follows:

usb 2-1: USB disconnect, address 4
usb 2-1: new full speed USB device using address 7
usb-storage: probe of 2-1:1.0 failed with error -1
usb 2-1: USB disconnect, address 7
usb 2-1: new full speed USB device using address 8
usb-storage: probe of 2-1:1.0 failed with error -1
usb 2-1: USB disconnect, address 8
usb 1-2: new full speed USB device using address 2
usb-storage: probe of 1-2:1.0 failed with error -1
usb 1-2: USB disconnect, address 2
usb 1-1: new full speed USB device using address 3
usb-storage: probe of 1-1:1.0 failed with error -1
usb 1-1: USB disconnect, address 3
usb 2-1: new full speed USB device using address 9
usb-storage: probe of 2-1:1.0 failed with error -1

This reflects several times of removing and reinserting the drive.

/sbin/lsusb output as follows:

Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 009: ID 08ec:0010 M-Systems Flash Disk Pioneers DiskOnKey
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000

/etc/fstab has no entry for it, and I based on what I read, I was trying to get updfstab to automatically update fstab.

/etc/updfstab.conf.default includes the following excerpt:

device diskonkey {
partition 0
match hd diskOnKey
match hd "Lexar DIGITAL FILM"
match hd "Flash Disk Pioneers DiskOnKey"
}

/etc/sysconfig/hwconf includes the following excerpt

class: HD
bus: USB
detached: 0
driver: usb-storage
desc: "M-Systems Flash Disk Pioneers DiskOnKey"
usbclass: 8
usbsubclass: 6
usbprotocol: 50
usbbus: 2
usblevel: 1
usbport: 0
usbdev: 7
vendorId: 08ec
deviceId: 0010
usbmfr: Sony
usbprod: USB Storag

Hope that's enough info to be useful. Thanks for any help


Thanks for any help.
 
Old 08-28-2004, 04:40 PM   #2
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Don't try to automount usb disk with kernel > 2.6.5

just


mkdir /mnt/usb

and

mount /dev/sda1 /mnt/usb
 
Old 08-28-2004, 05:12 PM   #3
spells
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Following these steps produces:

mount: /dev/sda1 is not a valid block device

cat /proc/scsi/scsi shows that there are no attached scsi as follows:

Attached Devices:

Also using cdrecord scanbus shows my CD-RW as the only SCSI device with the following output:

Cdrecord-Clone 2.01a27-dvd (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
Note: This version is an unofficial (modified) version with DVD support
Note: and therefore may have bugs that are not present in the original.
Note: Please send bug reports or support requests to <warly@mandrakesoft.com>.
Note: The author of cdrecord should not be bothered with problems in this version.
scsidev: 'ATA'
devname: 'ATA'
scsibus: -2 target: -2 lun: -2
Warning: Using badly designed ATAPI via /dev/hd* interface.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.8'.
cdrecord: Warning: using inofficial libscg transport code version (schily - Red Hat-scsi-linux-sg.c-1.80-RH '@(#)scsi-linux-sg.c 1.80 04/03/08 Copyright 1997 J. Schilling').
scsibus1:
1,0,0 100) 'MATSHITA' 'CD-RW CW-8122 ' 'BZ1L' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *

I don't see anything in the dmesg output to show that the USB device has been matched to sda or sda1, but I cannot figure out why. Thanks again for any help.
 
Old 08-28-2004, 05:29 PM   #4
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
I did not realize that it was a cd player
mount /dev/scd1 /mnt/namesomething

make sure that in your kernel you have activated scsi cdrom support
 
Old 08-28-2004, 05:59 PM   #5
spells
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Sorry I was not clear. The CD player is a different device. The device that is not working is a USB DiskOnKey. I just showed the SCSI output to show that there was no SCSI device other than the CD-Player. The CD-Player has nothing to do with my problem--it's just the only SCSI device attached. I thought if things were working correctly, that the USB Mass Storage Device (Sony DiskOnKey) would show us as an attached SCSI device.

The CD-Player works fine, so the SCSI support also seems to work fine.
 
Old 08-28-2004, 08:39 PM   #6
arno
Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: fedora core 8, suse 10.3, ubuntu 7.10, kamikaze 7.09
Posts: 515

Rep: Reputation: 30
Found something it has to do with hotplugging and support was improved for usb_sysfs

http://www.linuxquestions.org/questi...5&pagenumber=2
 
Old 08-29-2004, 04:07 AM   #7
spells
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for showing me that thread, but I think I'm getting a problem before that one. In that thread, the dmesg outputt, the scanbus output, and the /proc/scsi output all showed that the pendrive or diskonkey was properly setup with scsi emulation. I never get there. When I plug in the dsikonkey, the dmesg output only shows two lines:

usb 2-1: new full speed USB device using address 7
usb-storage: probe of 2-1:1.0 failed with error -1

Moreover, usbview shows it being recognized on the USB bus but none of the scsi tools show it being a recognized scsi device. I'm going to try to find another pendrive just to make sure it's not a hardware problem particular to this one.

Anyway thanks for your continuing help.
 
Old 09-01-2004, 04:33 PM   #8
spells
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Original Poster
Rep: Reputation: 0
After trying several things, I rolled back from the 2.6.8 kernel to the 2.6.6 kernel, and suddenly everything works fine. The diskonkey does not auto mount, but I am able to mount it and use it with the console just as the manual says. Looks like a problem with the kernel updates in Fedora Core 2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Madriva USB mass storage problem michelito Linux - Hardware 1 10-01-2005 02:28 PM
USB mass storage unplug problem LasloB Linux - Hardware 4 08-27-2005 03:55 AM
Problem with USB mass storage drive drewsa Linux - Newbie 1 04-18-2005 02:07 AM
USB mass storage problem Gerard_2009 Linux - Hardware 1 02-05-2005 07:38 AM
USB Mass Storage problem Cybers19 Linux - Hardware 6 11-24-2004 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:45 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration