LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-03-2004, 08:38 AM   #1
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Rep: Reputation: 15
USB pendrive not working on kernel 2.6.8.1 (Slack 10.0)


HI,
I have Slack 10.0. On 2.6.8.1 kernel usb pendrive doesn't work !
Kernel was compiled with
Code:
# USB support
#
CONFIG_USB=m
CONFIG_USB_DEBUG=y
                                                                                
#
# Miscellaneous USB options
#

CONFIG_USB_DEVICEFS=y
                                                                                
#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_OHCI_HCD=m
CONFIG_USB_UHCI_HCD=m
#
Of course modules support is enabled. When I type "lsmod" I get :
Code:
root@spaceship:~# lsmod
Module                  Size  Used by
...
uhci_hcd               25740  0
usb_storage            54224  0
...
ohci_hcd               24068  0
ehci_hcd               32516  0
usbcore                96996  6 uhci_hcd,usb_storage,ohci_hcd,ehci_hcd
ide_scsi               12164  0
scsi_mod               57020  2 usb_storage,ide_scsi
root@spaceship:~#
All looks good ! But in dmesg is :
Code:
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ehci_hcd: block sizes: qh 128 qtd 96 itd 192 sitd 96
PCI: Found IRQ 11 for device 0000:00:03.3
ehci_hcd 0000:00:03.3: Silicon Integrated Systems [SiS] USB 2.0 Controller
...
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: Silicon Integrated Systems [SiS] USB 2.0 Controller
usb usb1: Manufacturer: Linux 2.6.8.1 ehci_hcd
usb usb1: SerialNumber: 0000:00:03.3
usb usb1: hotplug
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: hotplug
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
...
hub 1-0:1.0: enabling power on all ports
ehci_hcd 0000:00:03.3: GetStatus port 5 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
PCI: Found IRQ 10 for device 0000:00:03.0
ohci_hcd 0000:00:03.0: Silicon Integrated Systems [SiS] USB 1.0 Controller
...
hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
ohci_hcd 0000:00:03.0: irq 10, pci mem cc891000
ohci_hcd 0000:00:03.0: new USB bus registered, assigned bus number 2
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
...
hub 2-0:1.0: local power source is good
ehci_hcd 0000:00:03.3: port 5 full speed --> companion
ehci_hcd 0000:00:03.3: GetStatus port 5 status 003801 POWER OWNER sig=j  CONNECTohci_hcd 0000:00:03.0: created debug files
ohci_hcd 0000:00:03.0: OHCI controller state
...
PCI: Found IRQ 7 for device 0000:00:03.1
ohci_hcd 0000:00:03.1: Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
ohci_hcd 0000:00:03.1: USB HC TakeOver from BIOS/SMM
ehci_hcd 0000:00:03.3: GetStatus port 5 status 001803 POWER sig=j  CSC CONNECT
hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
ohci_hcd 0000:00:03.1: reset, control = 0x0
ohci_hcd 0000:00:03.1: irq 7, pci mem cc893000
ohci_hcd 0000:00:03.1: new USB bus registered, assigned bus number 3
usb usb3: new device strings: Mfr=3, Product=2, SerialNumber=1
...
hub 3-0:1.0: local power source is good
ohci_hcd 0000:00:03.1: created debug files
...
usb 3-2: new full speed USB device using address 2
PCI: Found IRQ 10 for device 0000:00:02.7
usb 3-2: new device strings: Mfr=0, Product=1, SerialNumber=0
usb 3-2: default language 0x0409
usb 3-2: Product: USB Mass Storage Device
usb 3-2: hotplug
usb 3-2: adding 3-2:1.0 (config #1, interface 0)
usb 3-2:1.0: hotplug
intel8x0_measure_ac97_clock: measured 49323 usecs
intel8x0: clocking to 48000
Initializing USB Mass Storage driver...
usb-storage 3-2:1.0: usb_probe_interface
usb-storage 3-2:1.0: usb_probe_interface - got id
usb-storage: USB Mass Storage device detected
usb-storage: altsetting is 0, id_index is 103
usb-storage: -- associate_dev
usb-storage: Transport: Bulk
usb-storage: Protocol: Transparent SCSI
usb-storage: Endpoints: In: 0xc7fe9d80 Out: 0xc7fe9d94 Int: 0x00000000 (Period 0)
usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
usb-storage: GetMaxLUN command result is 1, data is 0
usb-storage: *** thread sleeping.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Command INQUIRY (6 bytes)
usb-storage:  12 00 00 00 24 00
usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 6
usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
usb-storage: Status code 0; transferred 31/31
usb-storage: -- transfer complete
usb-storage: Bulk command transfer result=0
usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
usb-storage: Status code 0; transferred 36/36
usb-storage: -- transfer complete
usb-storage: Bulk data transfer result 0x0
usb-storage: Attempting to get CSW...
usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
usb-storage: Status code 0; transferred 13/13
usb-storage: -- transfer complete
usb-storage: Bulk status result = 0
usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
usb-storage: scsi cmd done, result=0x0
usb-storage: *** thread sleeping.
  Vendor: USB NAND  Model: FLASH DISK        Rev: 0.20
  Type:   Direct-Access                      ANSI SCSI revision: 02
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000
...
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (7:0)
usb-storage: scsi cmd done, result=0x40000
usb-storage: *** thread sleeping.
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
USB Universal Host Controller Interface driver v2.2
It should be /dev/sd** but it is null !
How to use it ?
 
Old 10-03-2004, 04:16 PM   #2
salicornia
LQ Newbie
 
Registered: Oct 2004
Location: Manchester UK
Distribution: Debian
Posts: 1

Rep: Reputation: 0
I had similar problems having updated my kernel image to 2.6.8 on Debian.

I just found a possible solution to your question (it solved my problem) on another thread

Here:-

http://www.linuxquestions.org/questions/history/224849

The scripts I previously used successfully included reference to /dev/sda4 (ie the scsi emulation mapped different usb ports to virtual "partitions" - no longer it seems)

The command which now works for me is:-

mount -t vfat /dev/sda /mnt/usbpen

HTH
 
Old 10-04-2004, 12:36 AM   #3
coffeedrinker
Member
 
Registered: Sep 2003
Posts: 173

Rep: Reputation: 30
I have the same problem on 2.6.8.1 so I stayed with 2.6.7.

By the way, in my case I couldn't mount the USB flash as vfat but I could mount it leaving the type empty and it defaults to msdos or something.

You can read and write to the disk but only with 8.3 naming (no long file names).
 
Old 10-04-2004, 08:51 AM   #4
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Original Poster
Rep: Reputation: 15
Not working

So: I tried to mount /dev/sd* but there is no devices sd*
when I type "ls -la /dev/sd*" I get "No such file or directory". Also "fdisk -l sd[a-z]" doesn't print anything.
On 2.4 kernel it was working. On 2.6.7 and 2.6.8.1 not. And one more: the light on pendrive doesn't shine.
What to do with it ?

------------------------------------------
I think something in dmesg is bad here :
Code:
usb-storage: queuecommand called
usb-storage: *** thread awakened.
usb-storage: Bad target number (1:0)
usb-storage: scsi cmd done, result=0x40000

Last edited by mmmm; 10-04-2004 at 08:53 AM.
 
Old 12-05-2004, 10:54 AM   #5
mmmm
Member
 
Registered: Oct 2004
Location: Poland
Distribution: Slack 10.1, Mandrake 10.1
Posts: 118

Original Poster
Rep: Reputation: 15
I 've updated kernel to 2.6.9. Pendrive doesn't work too.
 
Old 02-09-2005, 12:11 PM   #6
HalfDiminished
Member
 
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66

Rep: Reputation: 15
I have a fresh debian sarge install and compiled kernel-source-2.6.10 and now I have the same problem. Truncated names on my usb drive that will only mount as msdos. vfat mount attempts fail - bad fs, superblock, blah blah blah. I'm researching this issue and will let you know what I come up with.
 
Old 02-16-2005, 02:04 PM   #7
HalfDiminished
Member
 
Registered: Jan 2005
Location: Santa Barbara, CA
Distribution: Ubuntu Hoary/Debian 3.1/RHEL-WS3/DSL 1.1
Posts: 66

Rep: Reputation: 15
Well, I'm in deep with this one. I forgot that I replied to this thread and have started a new one called "usb drive on Deb Sarge/2.6.10 mounting as msdos not vfat". Still no solution, just more questions. I'll reference this thread on mine. Sorry, I should have just continued this one. It has been said that strange things happen to one's mind after staring at a computer for 10 or 12 hours.
 
Old 02-16-2005, 02:23 PM   #8
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
first off, I've never seen a computer that uses both ohci and uhci, that's just weird.

Did u enable the low performance usb driver under block devices?? Try that and see if it helps. If it works your pendrive will be mounted at /dev/uba1.

K
 
  


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 PENDRIVE Problem with kernel 2.6.10 tandre Linux - Hardware 11 04-20-2005 10:18 PM
USB Pendrive DarkAsHell Linux - Hardware 3 04-07-2005 03:26 PM
USB pendrive help jojotx0 Fedora 12 09-14-2004 02:49 AM
USB PenDrive and 2.6.3 kernel vfat mount problem jarro Linux - Hardware 0 06-12-2004 05:23 PM
USB Pendrive d4d4n9 Mandriva 7 02-03-2004 08:44 PM

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

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration