LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 02-19-2013, 05:04 PM   #1
gablek
LQ Newbie
 
Registered: Jan 2013
Distribution: Slackware
Posts: 4

Rep: Reputation: Disabled
USB 3.0 on kernel >3.4


I am having difficulty with a USB 3.0 drive not being recognized when using any kernel newer than the 3.4 series (stock slackware-current 3.7.1 in particular, but I see the same thing with 3.5.5, 3.6.1, and 3.8.0). With kernel 3.4.24, the drive is recognized and I can mount:

Code:
dmesg:
[   96.720739] usb 4-2: new SuperSpeed USB device number 2 using  xhci_hcd
[   96.733321] usb 4-2: New USB device found, idVendor=152d, idProduct=2509
[   96.733331] usb 4-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3
[   96.733337] usb 4-2: Product: Usb production
[   96.733341] usb 4-2: Manufacturer: Jmicron Corp.
[   96.733345] usb 4-2: SerialNumber: 00A123456AA5
[   96.734009] scsi8 : usb-storage 4-2:1.0
[   97.736612] scsi 8:0:0:0: Direct-Access     WDC WD16 00BEVS-08RST2         PQ: 0 ANSI: 2 CCS
[   97.737233] sd 8:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
[   97.737564] sd 8:0:0:0: [sdb] Write Protect is off
[   97.737575] sd 8:0:0:0: [sdb] Mode Sense: 28 00 00 00
[   97.737962] sd 8:0:0:0: [sdb] No Caching mode page present
[   97.737970] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[   97.739531] sd 8:0:0:0: [sdb] No Caching mode page present
[   97.739539] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[   97.807695]  sdb: sdb1 sdb2 sdb3
[   97.809279] sd 8:0:0:0: [sdb] No Caching mode page present
[   97.809288] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[   97.809294] sd 8:0:0:0: [sdb] Attached SCSI disk

/var/log/messages:
Jan  9 08:20:34 kpgx1c kernel: [   96.720739] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
Jan  9 08:20:34 kpgx1c kernel: [   96.733321] usb 4-2: New USB device found, idVendor=152d, idProduct=2509
Jan  9 08:20:34 kpgx1c kernel: [   96.733331] usb 4-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3
Jan  9 08:20:34 kpgx1c kernel: [   96.733337] usb 4-2: Product: Usb production
Jan  9 08:20:34 kpgx1c kernel: [   96.733341] usb 4-2: Manufacturer: Jmicron Corp.
Jan  9 08:20:34 kpgx1c kernel: [   96.733345] usb 4-2: SerialNumber: 00A123456AA5
Jan  9 08:20:34 kpgx1c kernel: [   96.734009] scsi8 : usb-storage 4-2:1.0
Jan  9 08:20:34 kpgx1c mtp-probe: checking bus 4, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-2"
Jan  9 08:20:34 kpgx1c mtp-probe: bus: 4, device: 2 was not an MTP device
Jan  9 08:20:35 kpgx1c kernel: [   97.736612] scsi 8:0:0:0: Direct-Access     WDC WD16 00BEVS-08RST2         PQ: 0 ANSI: 2 CCS
Jan  9 08:20:35 kpgx1c kernel: [   97.737233] sd 8:0:0:0: [sdb] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Jan  9 08:20:35 kpgx1c kernel: [   97.737564] sd 8:0:0:0: [sdb] Write Protect is off
Jan  9 08:20:35 kpgx1c kernel: [   97.807695]  sdb: sdb1 sdb2 sdb3
Jan  9 08:20:35 kpgx1c kernel: [   97.809294] sd 8:0:0:0: [sdb] Attached SCSI disk
With 3.7.1, I get:
Code:
dmesg:
[   52.039733] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
[   52.052343] usb 2-2: New USB device found, idVendor=152d, idProduct=2509
[   52.052353] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3
[   52.052358] usb 2-2: Product: Usb production
[   52.052362] usb 2-2: Manufacturer: Jmicron Corp.
[   52.052366] usb 2-2: SerialNumber: 00A123456AA5
[   52.053089] usb 2-2: Set SEL for device-initiated U1 failed.
[   57.050162] usb 2-2: Set SEL for device-initiated U2 failed.
[   57.050548] scsi8 : usb-storage 2-2:1.0
[   62.047597] usb 2-2: Set SEL for device-initiated U1 failed.
[   67.045040] usb 2-2: Set SEL for device-initiated U2 failed.

/var/log/messages:
Jan  9 08:24:33 kpgx1c kernel: [   52.039733] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd
Jan  9 08:24:33 kpgx1c kernel: [   52.052343] usb 2-2: New USB device found, idVendor=152d, idProduct=2509
Jan  9 08:24:33 kpgx1c kernel: [   52.052353] usb 2-2: New USB device strings: Mfr=10, Product=11, SerialNumber=3
Jan  9 08:24:33 kpgx1c kernel: [   52.052358] usb 2-2: Product: Usb production
Jan  9 08:24:33 kpgx1c kernel: [   52.052362] usb 2-2: Manufacturer: Jmicron Corp.
Jan  9 08:24:33 kpgx1c kernel: [   52.052366] usb 2-2: SerialNumber: 00A123456AA5
Jan  9 08:24:38 kpgx1c kernel: [   57.050548] scsi8 : usb-storage 2-2:1.0
Jan  9 08:24:48 kpgx1c mtp-probe: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2"
Jan  9 08:24:48 kpgx1c mtp-probe: bus: 2, device: 2 was not an MTP device
Jan  9 08:25:09 kpgx1c kernel: [   88.859921] usb 2-2: USB disconnect, device number 2
Jan  9 08:25:09 kpgx1c kernel: [   88.859930] scsi 8:0:0:0: Device offlined - not ready after error recovery
Googling has not led me to anything helpful. Any ideas how to fix this?
 
Old 02-19-2013, 05:27 PM   #2
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,106

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
You may have to compile in kernel
http://hvera.wordpress.com/2009/06/1...-linux-kernel/
 
Old 02-19-2013, 06:32 PM   #3
gablek
LQ Newbie
 
Registered: Jan 2013
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: Disabled
I've got the same XHCI kernel configuration options in both:

3.4.24:

CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_HCD_DEBUGGING is not set

3.7.1:
CONFIG_USB_ARCH_HAS_XHCI=y
CONFIG_USB_XHCI_HCD=y
# CONFIG_USB_XHCI_HCD_DEBUGGING is not set

Thus my confusion.
 
Old 02-19-2013, 07:48 PM   #4
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,106

Rep: Reputation: 451Reputation: 451Reputation: 451Reputation: 451Reputation: 451
Have you checked that driver is loaded
lsmod

Also read this post which is solved also there are several options which seem to work
https://bbs.archlinux.org/viewtopic.php?id=119676
 
Old 02-19-2013, 08:10 PM   #5
gablek
LQ Newbie
 
Registered: Jan 2013
Distribution: Slackware
Posts: 4

Original Poster
Rep: Reputation: Disabled
Um, the driver is compiled into the kernel and there is no module to load.

I did try changing that and manually loading xhci (even blacklisting the USB 2.0 modules)--no difference.

I had found the ArchLinux thread and tried removing mtp-probe (actually, just chmod'd it to make it nonexecutable)--the MTP message disappeared, but nothing else changed. 3.4.24 worked, 3.7.1 didn't. Concluded the MTP message is a red herring.
 
  


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
USB peripheral device not found on USB OTG port with Linux 3.0.0 kernel lmorda Linux - Embedded & Single-board computer 1 04-28-2012 11:56 AM
Why Linux kernel has restrictions on USB port and USB cameras? Dstruct0 Linux - Hardware 5 09-19-2011 04:14 PM
Difference in Kernel output between USB key vs USB HDD...using udevadm samaresh4 Linux - Kernel 0 05-19-2010 07:43 PM
xbox 360 USB kernel driver/USB redirect merlinn31 Linux - General 1 11-11-2008 10:04 PM


All times are GMT -5. The time now is 09:39 AM.

Main Menu
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