Re: USB 3 not working with SL 6 rolling kernel but with Fedora 15 kernel

2011-07-08 Thread Connie Sieh

On Thu, 7 Jul 2011, Yasha Karant wrote:


I have done several tests with various kernels in an attempt to get full
USB 3 external hard drives to work.

Here are the results.

Using sl6rolling, 2.6.32-131.0.15.el6.x86_64 , USB 3 is not working.
Although this kernel is that of RHEL 6.1 in which there is supposed to
be full USB 3 support, no go.

Following a suggestion from Connie Sieh, I installed the Fedora 15 kernel,
 2.6.38.6-26.rc1.fc15.x86_64

This has fully working USB 3, same as I observed in OpenSUSE , evidence
below.

To get the Fedora 15 kernel to work, I needed to install the Fedora 15
linux firmware RPM.  Before doing so, as root, I did mv /lib/firmware
/lib/firmware-SL6 .  For a reason to be explained below, I have now
rebooted the system into the latest production SL 6 kernel but still
using the Fedora 15 firmware, and this does seem to work -- kernel
2.6.32-131.2.1.el6.x86_64 .

The reason I switched back to no USB 3 support is that I could not build
the Nvidia drivers, needed for full CUDA support, because the Fedora 15
kernel demanded a later gcc than SL 6 uses.  I am loathe to change gcc
because of the large number of dependencies upon the specific gcc used.

Hence, has anyone built the Nvidia packages
(NVIDIA-Linux-x86_64-270.41.19.run or later) for Fedora 15 kernel
2.6.38.6-26.rc1.fc15.x86_64 so that I could get the appropriate modules,
etc., and thus have full CUDA support?

Evidence that the Fedora 15 2.6.38.6-26.rc1.fc15.x86_64 kernel supports
USB 3:

Bus 008 Device 002: ID 152d:0551 JMicron Technology Corp. / JMicron USA
Technology Corp.
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 03f0:0317 Hewlett-Packard LaserJet 1200
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Script started on Thu 07 Jul 2011 12:40:22 PM PDT
[root@jb344 ykarant]# fdisk /dev/sde

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
 switch off the mode (command 'c') and change display units to
 sectors (command 'u').

Command (m for help): p

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x706a2c16

   Device Boot  Start End  Blocks   Id  System
/dev/sde1   *   1  32  257008+  83  Linux
/dev/sde2  33   12780   102398310   83  Linux
/dev/sde3   12781   25528   102398310   83  Linux
/dev/sde4   25529   77825   420075652+   5  Extended
/dev/sde5   25529   38276   102398278+  83  Linux
/dev/sde6   38277   4337540957686   83  Linux
/dev/sde7   43376   4847440957686   83  Linux
/dev/sde8   48475   5357340957686   83  Linux
/dev/sde9   53574   5867240957686   83  Linux
/dev/sde10  58673   58927 2048256   82  Linux swap / Solaris
/dev/sde11  58928   6080115052873+  83  Linux
/dev/sde12  60802   77825   136745248+  83  Linux

Command (m for help): q

[root@jb344 ykarant]# exit
exit

Script done on Thu 07 Jul 2011 12:40:43 PM PDT

Yasha Karant



On a MSI P67A-C43 motherboard  I see the following after upgrading to the 
latest SL 6 kernel 2.6.32-131.2.1.el6.x86_64 .


 Bus 003 Device 005: ID 174c:55aa ASMedia Technology Inc.
 Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

 cat /proc/partitions

  major minor  #blocks  name

80 1953514584 sda
81   1536 sda1
828192000 sda2
83 1929959008 sda3
8   16  976762584 sdb
8   17  976761560 sdb1

I did nothing to get the above work other than plugging the usb chasis 
into the usb 3 port on the motherboard.


I was able to mount /dev/sdb1 .

So I guess this means that some USB 3 devices work on the latest kernel.

-Connie Sieh


Re: USB 3 not working with SL 6 rolling kernel but with Fedora 15 kernel

2011-07-07 Thread Phil Perry

On 07/07/11 21:09, Yasha Karant wrote:

I have done several tests with various kernels in an attempt to get full
USB 3 external hard drives to work.



Hello Yasha,

Firstly, apologies as I've not been following your thread closely and 
I've not read back through it in completion.


However, Alan at elrepo.org is currently working on a mainline kernel 
(kernel-ml) for el6 that will be fully compatible with SL6. There is a 
thread here where he calls for expressions of interest:


http://lists.elrepo.org/pipermail/elrepo/2011-July/000759.html
http://elrepo.org/bugs/view.php?id=153

In all likelihood, elrepo would be looking to release kernel-3.0 (when 
released) packaged for el6 and this might provide a suitable option for you?


Regards,

Phil


Re: USB 3 not working with SL 6 rolling kernel but with Fedora 15 kernel

2011-07-07 Thread Steven Haigh
Hmmm - Not 100% sure if this will solve it, however try installing 
kernel-xen from http://www.crc.id.au/repo


Its kernel version 2.6.32.41 - and although it has the extensions to run 
as a Xen Dom0, most of the config should be the same as a stock EL6 
kernel...


--
Steven Haigh

Email: net...@crc.id.au
Web: http://www.crc.id.au
Phone: (03) 9001 6090 - 0412 935 897
Fax: (03) 8338 0299

On 8/07/2011 6:09 AM, Yasha Karant wrote:

I have done several tests with various kernels in an attempt to get full
USB 3 external hard drives to work.

Here are the results.

Using sl6rolling, 2.6.32-131.0.15.el6.x86_64 , USB 3 is not working.
Although this kernel is that of RHEL 6.1 in which there is supposed to
be full USB 3 support, no go.

Following a suggestion from Connie Sieh, I installed the Fedora 15 kernel,
2.6.38.6-26.rc1.fc15.x86_64

This has fully working USB 3, same as I observed in OpenSUSE , evidence
below.

To get the Fedora 15 kernel to work, I needed to install the Fedora 15
linux firmware RPM. Before doing so, as root, I did mv /lib/firmware
/lib/firmware-SL6 . For a reason to be explained below, I have now
rebooted the system into the latest production SL 6 kernel but still
using the Fedora 15 firmware, and this does seem to work -- kernel
2.6.32-131.2.1.el6.x86_64 .

The reason I switched back to no USB 3 support is that I could not build
the Nvidia drivers, needed for full CUDA support, because the Fedora 15
kernel demanded a later gcc than SL 6 uses. I am loathe to change gcc
because of the large number of dependencies upon the specific gcc used.

Hence, has anyone built the Nvidia packages
(NVIDIA-Linux-x86_64-270.41.19.run or later) for Fedora 15 kernel
2.6.38.6-26.rc1.fc15.x86_64 so that I could get the appropriate modules,
etc., and thus have full CUDA support?

Evidence that the Fedora 15 2.6.38.6-26.rc1.fc15.x86_64 kernel supports
USB 3:

Bus 008 Device 002: ID 152d:0551 JMicron Technology Corp. / JMicron USA
Technology Corp.
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 03f0:0317 Hewlett-Packard LaserJet 1200
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 0424:2504 Standard Microsystems Corp. USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


Script started on Thu 07 Jul 2011 12:40:22 PM PDT
[root@jb344 ykarant]# fdisk /dev/sde

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): p

Disk /dev/sde: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x706a2c16

Device Boot Start End Blocks Id System
/dev/sde1 * 1 32 257008+ 83 Linux
/dev/sde2 33 12780 102398310 83 Linux
/dev/sde3 12781 25528 102398310 83 Linux
/dev/sde4 25529 77825 420075652+ 5 Extended
/dev/sde5 25529 38276 102398278+ 83 Linux
/dev/sde6 38277 43375 40957686 83 Linux
/dev/sde7 43376 48474 40957686 83 Linux
/dev/sde8 48475 53573 40957686 83 Linux
/dev/sde9 53574 58672 40957686 83 Linux
/dev/sde10 58673 58927 2048256 82 Linux swap / Solaris
/dev/sde11 58928 60801 15052873+ 83 Linux
/dev/sde12 60802 77825 136745248+ 83 Linux

Command (m for help): q

[root@jb344 ykarant]# exit
exit

Script done on Thu 07 Jul 2011 12:40:43 PM PDT

Yasha Karant