Re: Could you please help me out?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Tom,

I'm sorry, I thought that since I had helped you with an issue in the
past that you would know how to install a custom kernel.  My bad!

What I need you to do is test with the latest kernel from Linus.  I had
directions on how to do this on my blog, but apparently my blog is down
right now.  So here's what I need you to do:

First, I need you to install a couple of packages:  git and
libncurses5-dev.

Then, open a terminal, and run the following command:

$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

That will download the latest kernel from Linus into a directory called
"linux".  Now change into that directory:

$ cd linux

Next we need to compile the kernel.  We need to copy the configuration
from your distribution kernel.  That configuration is found in the /boot
directory.  You need to look for the latest file that starts with
"config" and copy that into the "linux" directory.

For example, if I run this command, I'll see several config files:

sarah@xanatos:/tmp$ ls /boot/config*
/boot/config-3.0.0-12-generic  /boot/config-3.0.0-17-generic
/boot/config-3.1.0   /boot/config-3.2.0-27-generic
/boot/config-3.2.0-rc2+      /boot/config-3.4.0
/boot/config-3.0.0-16-generic  /boot/config-3.0.0-20-generic
/boot/config-3.1.0+  /boot/config-3.2.0-29-generic
/boot/config-3.2.0-rc2+.old  /boot/config-3.5.0

I want the config file with the biggest kernel number (in this case
/boot/config-3.5.0).  So I would copy it into the "linux" directory into
a new file called .config:

$ cp /boot/config-3.5.0 ~/linux/.config

Now I need you to modify the kernel configuration a bit.  We need to
turn on debugging in order to see where the kernel problem is.  You can
change the kernel configuration by running this command:

$ make menuconfig

That will open a graphical configuration manager.  You can use arrow
keys and enter to navigate into Device Drivers -> USB support.  Then you
need to turn on three options.  Turn on "USB verbose debug messages" by
moving to that option and hitting 'y'.  You'll need to turn
on "xHCI HCD (USB 3.0) support" by hitting 'm', and then hitting 'y' on
"Debugging for the xHCI host controller".  Then hit the right arrow key
to move the bottom cursor from "Select" to "Exit" and say 'y' to save
the configuration.

Now we need to build the kernel.  This may take a while, so you probably
want to leave it for an hour or so.  Run these commands:

$ make -j4
$ sudo make modules_install install

You'll need to be set up as a superuser to use "sudo".  If it gives you
some sort of error when you try to use sudo, run these commands instead:

$ su -i

It will prompt for your root/superuser/admin password and the cursor
will change to a # to indicate you are logged in as root.  Next I need
you to change into the linux directory in your homedir.  I don't know
what your username is, but the command will look something like:

# cd /home/user/linux

Then run the second make command, without the sudo prefix:

# make modules_install install

Ok, so now you should have the latest kernel version compiled and
installed!  Next, reboot, and see if the xHCI driver loads for your host
controller.  If not, we can discuss further debugging steps from there.

Sarah Sharp

On Sat, Sep 01, 2012 at 09:55:27PM +0000, Thomas Post wrote:
> Hi Sarah,
> 
> Thank you so much for the speed reply.  I wish I was as smart as you.  I
> don't know what you mean by this:
> 
> Also, please retry with the latest -rc kernel from linus. We extended the
> reset command timeout, which helped another chipset that had problems
> during init. That was commit 22ceac1. From your logs, it looks like you
> might be running into a similar issue.
> 
> Does this mean I should boot up in Ubuntu 12.04 and edit the boot up line
> with a -rc parameter?  What is commit 22ceac1?  Is that another command
> line modifier?
> 
> Tom
> 
> PS:  Thanks again for all your help.
> 
> -- 
> Dr. Thomas A. Post
> Post Mixing Optimization and Solutions
> (Bus.) +1-585-507-4318 (Fax) +1-585-383-8788
> tom@xxxxxxxxxxxxxx - www.postmixing.com
> 
> On Sat, Sep 1, 2012 at 9:24 PM, Sarah A Sharp <sarah@xxxxxxxxxxxx> wrote:
> 
> > Hi Tom,
> >
> > Can you resend this to my work address <sarah.a.sharp@xxxxxxxxxxxxxxx>
> > and cc the <linux-usb@xxxxxxxxxxxxxxx> mailing list?
> >
> > Also, please retry with the latest -rc kernel from linus. We extended the
> > reset command timeout, which helped another chipset that had problems
> > during init. That was commit 22ceac1. From your logs, it looks like you
> > might be running into a similar issue.
> >
> > Sarah Sharp
> > On Sep 1, 2012 1:43 PM, "Thomas Post" <tpost001@xxxxxxxxx> wrote:
> >
> >> Hi Sarah,
> >>
> >> I found reference to you on the internet and you helped me last year with
> >> a USB 3.0 problem.  Thanks again for that.
> >>
> >> I just put together another PC.  I used the Intel Motherboard DH77EB.  I
> >> have an i7 3770 3.4 gHz chip and 16 MB.  I cannot get the onboard USB 3.0
> >> ports to work.
> >>
> >> I googled everything before I had this computer put together (Microworx,
> >> Pittsford) and saw no one have a Linux problem with it.  Everything appears
> >> to work great with this computer for me except USB 3.0 support, which is
> >> native on the Motherboard.  When I try to stick anything in a USB 3.0 port
> >> it won't work, but the same device will work in a USB 2.0 port.
> >>
> >> I have tried Linux Mint 13 (Maya) and Ubuntu 12.04 LTS.  Both give me the
> >> same outputs below.
> >>
> >> dmesg gives me this problem:
> >>
> >> [    2.095928] xhci_hcd 0000:00:14.0: can't setup
> >> [    2.095930] xhci_hcd 0000:00:14.0: USB bus 3 deregistered
> >> [    2.096000] xhci_hcd 0000:00:14.0: PCI INT A disabled
> >> [    2.096001] xhci_hcd 0000:00:14.0: init 0000:00:14.0 fail, -110
> >> [    2.096004] xhci_hcd: probe of 0000:00:14.0 failed with error -110
> >> [    2.096026] usbcore: registered new interface driver libusual
> >>
> >> xhxi is the driver for USB 3.0 support that I believe you wrote.  ehci is
> >> usb 2.0 support.
> >>
> >> [    1.443365] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> >> [    1.443379] ehci_hcd 0000:00:1a.0: PCI INT A -> GSI 16 (level, low) ->
> >> IRQ 16
> >> [    1.443390] ehci_hcd 0000:00:1a.0: setting latency timer to 64
> >> [    1.443393] ehci_hcd 0000:00:1a.0: EHCI Host Controller
> >> [    1.443422] ehci_hcd 0000:00:1a.0: new USB bus registered, assigned
> >> bus number 1
> >> [    1.443448] ehci_hcd 0000:00:1a.0: debug port 2
> >> [    1.447341] ehci_hcd 0000:00:1a.0: cache line size of 64 is not
> >> supported
> >> [    1.447351] ehci_hcd 0000:00:1a.0: irq 16, io mem 0xf7138000
> >> [    1.462446] ehci_hcd 0000:00:1a.0: USB 2.0 started, EHCI 1.00
> >> [    1.462530] hub 1-0:1.0: USB hub found
> >> [    1.462532] hub 1-0:1.0: 2 ports detected
> >> [    1.462573] ehci_hcd 0000:00:1d.0: PCI INT A -> GSI 23 (level, low) ->
> >> IRQ 23
> >> [    1.462586] ehci_hcd 0000:00:1d.0: setting latency timer to 64
> >> [    1.462589] ehci_hcd 0000:00:1d.0: EHCI Host Controller
> >> [    1.462619] ehci_hcd 0000:00:1d.0: new USB bus registered, assigned
> >> bus number 2
> >> [    1.462638] ehci_hcd 0000:00:1d.0: debug port 2
> >> [    1.466525] ehci_hcd 0000:00:1d.0: cache line size of 64 is not
> >> supported
> >> [    1.466533] ehci_hcd 0000:00:1d.0: irq 23, io mem 0xf7137000
> >> [    1.482434] ehci_hcd 0000:00:1d.0: USB 2.0 started, EHCI 1.00
> >> [    1.482511] hub 2-0:1.0: USB hub found
> >> [    1.482513] hub 2-0:1.0: 2 ports detected
> >> [    1.482545] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
> >> [    1.482551] uhci_hcd: USB Universal Host Controller Interface driver
> >>
> >> lsusb gives me this:
> >>
> >> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >> Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> >> Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> >> Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
> >> Bus 001 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop
> >> Laser
> >> Bus 001 Device 004: ID 18e3:9102 Fitipower Integrated Technology Inc
> >> Multi Card Reader
> >>
> >>
> >> lspci gives me this:
> >>
> >> 00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
> >> 00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port
> >> (rev 09)
> >> 00:14.0 USB controller: Intel Corporation Panther Point USB xHCI Host
> >> Controller (rev 04)
> >> 00:16.0 Communication controller: Intel Corporation Panther Point MEI
> >> Controller #1 (rev 04)
> >> 00:19.0 Ethernet controller: Intel Corporation 82579V Gigabit Network
> >> Connection (rev 04)
> >> 00:1a.0 USB controller: Intel Corporation Panther Point USB Enhanced Host
> >> Controller #2 (rev 04)
> >> 00:1b.0 Audio device: Intel Corporation Panther Point High Definition
> >> Audio Controller (rev 04)
> >> 00:1d.0 USB controller: Intel Corporation Panther Point USB Enhanced Host
> >> Controller #1 (rev 04)
> >> 00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev
> >> 04)
> >> 00:1f.2 SATA controller: Intel Corporation Panther Point 6 port SATA
> >> Controller [AHCI mode] (rev 04)
> >> 00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
> >> 01:00.0 VGA compatible controller: NVIDIA Corporation GF110 [GeForce GTX
> >> 570 HD] (rev a1)
> >> 01:00.1 Audio device: NVIDIA Corporation GF110 High Definition Audio
> >> Controller (rev a1)
> >>
> >> Any ideas what I can do to get usb 3.0 working?  I did check the BIOS and
> >> all USB functions are enabled.
> >>
> >> If you have any ideas what I can try, I would be greatly appreciative.  I
> >> could bring the PC over if that would make things easier.
> >>
> >> Tom
> >>
> >> --
> >> Dr. Thomas A. Post
> >> Post Mixing Optimization and Solutions
> >> (Bus.) +1-585-507-4318 (Fax) +1-585-383-8788
> >> tom@xxxxxxxxxxxxxx - www.postmixing.com
> >>
> >
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux