LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-26-2004, 05:16 PM   #1
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Rep: Reputation: 16
SanDisk Cruzer Mini Thumb Drive Problem


I just recently got a SanDisk Cruzer Mini 512M USB thumb drive, and am having problems using it in linux. I just got it out of the box, and have not used it on Windows or any other machine/OS. I run Debian Testing with a customized 2.6.6 kernel from kernel.org. My MoBo is an Asus A7N8X-Deluxe.

When I plug the device in, dmesg reports:
usb 1-6: new high speed USB device using address 4
usb 1-6: device not accepting address 4, error -71
usb 1-6: new high speed USB device using address 5
usb 1-6: device not accepting address 5, error -71
(I get all four lines each time I plug it in. If I unplug it and replug it, the addresses will increment. e.g. the plug after this will be 6 and 7)

running `tail -f /var/log/messages` gives:
Dec 26 15:29:44 ernie kernel: usb 1-6: new high speed USB device using address 4
Dec 26 15:29:45 ernie kernel: usb 1-6: new high speed USB device using address 5
when I plug in the device.

if I then try: `mount /dev/sda1 /mnt/flash`
mount: /dev/sda1 is not a valid block device

I have the following comiled into the kernel, not modules:
USB:
Support for Host-side USB
USB device filesystem
EHCI HCD (USB 2.0) support
USB Mass Storage support

SCSI:
legacy /proc/scsi/ support
SCSI generic support

(Other options under USB and SCSI are compiled in as well, but these seem to me to be the relevant ones)

I have read posts from others who plugged this device in and it worked perfectly, although many of them were running RedHat or Mandrake. On advice from another post, I tried adding 'pci=noacpi' to my append line in lilo.conf, but this didn't change anything. Also, I have ACPI support compiled in my kernel with Button, Fan, Processor, and Thermal Zone options. I don't know why this is relevant, but it seems to come up a lot. For some time I have been using a sony camera (cybershot, I think), which connects via USB. It shows up on /dev/sda1, and can be mounted, read, and written (files erased) with no trouble, so I'm not sure why the thumb drive doesn't work.

Any advice would be greatly appreciated! I'd also be glad to post the output of any other files if needed. Thanks!

Here's a couple more that may help:
(both generated while thumb drive connected)

cat /proc/bus/usb/devices:
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6 ohci_hcd
S: Product=nVidia Corporation nForce2 USB Controller (#2)
S: SerialNumber=0000:00:02.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 3
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6 ohci_hcd
S: Product=nVidia Corporation nForce2 USB Controller
S: SerialNumber=0000:00:02.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.6 ehci_hcd
S: Product=nVidia Corporation nForce2 USB Controller
S: SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms
---------------------
cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SAMSUNG Model: CD-R/RW SW-252B Rev: R701
Type: CD-ROM ANSI SCSI revision: 02
 
Old 12-26-2004, 06:09 PM   #2
kdogksu
Member
 
Registered: Dec 2004
Location: Kansas, United States
Distribution: Ubuntu
Posts: 52

Original Poster
Rep: Reputation: 16
I got this figured out. I rebuilt my kernel with both ehci and ohci as modules and loaded them seperately. I still got the error with ehci, but when I removed it and installed ohci, my thumb drive worked fine (as well as my iRiver player!) Does this mean that my devices are connecting at the USB 1.1 data rate and not the snappy USB 2.0 rate? Is there any way to use the faster rate? Thanks. I hope this helps someone else!
 
  


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
sandisk cruzer mini gallan Linux - Hardware 5 11-21-2006 09:55 AM
Trouble with SanDisk Cruzer Mini dr_zayus69 Linux - Hardware 5 12-05-2004 10:28 PM
How to mount USB FlashDisk: SanDisk Cruzer Mini? acer_peri Linux - Hardware 5 09-29-2004 04:22 AM
SanDisk Mini Cruzer (USB Pen Drive) Blaa269 Linux - Hardware 18 03-27-2004 04:03 PM
SanDisk Cruzer mini 256 mb greendusk Linux - Hardware 16 01-25-2004 02:56 PM


All times are GMT -5. The time now is 03:57 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration