The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Dan Aloni <da-x@monatomic.org>
To: Linux Kernel List <linux-kernel@vger.kernel.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Greg KH <gregkh@suse.de>,
	linux-usb-devel@lists.sourceforge.net
Subject: kexec + USB storage in 2.6.19
Date: Fri, 12 Jan 2007 14:24:44 +0200	[thread overview]
Message-ID: <20070112122444.GA28597@localdomain> (raw)

Hello,

After upgrading from 2.6.18.3 to 2.6.19.2 on an x86_64 machine I noticed 
that the EHCI USB host is unable to work properly after a kexec invocation. 
This makes it impossible to mount the rootfs in the configuration I'm using.

According to the prints, the irq changes from 23 to 10.

NOTE: Since the device is already connected at boot, I've added a patch 
that disables the scanning delay for the first detected device, in order 
to shorten the time it takes for the boot process. It worked on 2.6.18.3, 
so I wonder what has changed...

[   92.426719] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[   92.432008] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[   92.439422] ehci_hcd 0000:00:1d.7: debug port 1
[   92.443961] ehci_hcd 0000:00:1d.7: irq 10, io mem 0xdc001000
[   92.453472] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   92.461034] usb usb1: configuration #1 chosen from 1 choice
[   92.466625] hub 1-0:1.0: USB hub found
[   92.470373] hub 1-0:1.0: 8 ports detected
[   92.581134] Initializing USB Mass Storage driver...
[   92.828571] usb 1-1: new high speed USB device using ehci_hcd and address 2
[   93.834658] ehci_hcd 0000:00:1d.7: Unlink after no-IRQ?  Controller is probably using the wrong IRQ.
[  104.374665] usb 1-1: device not accepting address 2, error -110
[  104.494441] usb 1-1: new high speed USB device using ehci_hcd and address 3
[  116.024567] usb 1-1: device not accepting address 3, error -110
[  116.144343] usb 1-1: new high speed USB device using ehci_hcd and address 4
[  126.556589] usb 1-1: device not accepting address 4, error -110
[  126.676365] usb 1-1: new high speed USB device using ehci_hcd and address 5
[  137.088612] usb 1-1: device not accepting address 5, error -110
[  137.336145] usb 1-2: new high speed USB device using ehci_hcd and address 6
[  148.866271] usb 1-2: device not accepting address 6, error -110
[  148.982055] usb 1-2: new high speed USB device using ehci_hcd and address 7
[  160.512181] usb 1-2: device not accepting address 7, error -110
[  160.627965] usb 1-2: new high speed USB device using ehci_hcd and address 8
[  171.040211] usb 1-2: device not accepting address 8, error -110
[  171.155995] usb 1-2: new high speed USB device using ehci_hcd and address 9
[  181.568241] usb 1-2: device not accepting address 9, error -110
[  181.574184] usbcore: registered new interface driver usb-storage
[  181.580182] USB Mass Storage support registered.


A normal boot works properly:

[   78.139976] ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23
[   78.148121] ehci_hcd 0000:00:1d.7: EHCI Host Controller
[   78.153411] ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
[   78.160821] ehci_hcd 0000:00:1d.7: debug port 1
[   78.165362] ehci_hcd 0000:00:1d.7: irq 23, io mem 0xdc001000
[   78.174871] ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
[   78.182454] usb usb1: configuration #1 chosen from 1 choice
[   78.188045] hub 1-0:1.0: USB hub found
[   78.191791] hub 1-0:1.0: 8 ports detected
[   78.303392] Initializing USB Mass Storage driver...
[   78.546834] usb 1-1: new high speed USB device using ehci_hcd and address 2
[   78.692172] usb 1-1: configuration #1 chosen from 1 choice
[   78.942075] usb 1-2: new high speed USB device using ehci_hcd and address 3
[   79.083324] usb 1-2: configuration #1 chosen from 1 choice
[   79.089135] scsi0 : SCSI emulation for USB Mass Storage devices
[   79.095172] scsi1 : SCSI emulation for USB Mass Storage devices
[   79.101184] usbcore: registered new interface driver usb-storage


  - Dan 

             reply	other threads:[~2007-01-12 12:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 12:24 Dan Aloni [this message]
2007-01-12 14:05 ` kexec + USB storage in 2.6.19 Eric W. Biederman
2007-01-12 14:55   ` Dan Aloni
2007-01-12 14:57   ` Dan Aloni
2007-01-12 15:26     ` Eric W. Biederman
2007-01-12 16:02       ` kexec + ACPI in 2.6.19 (was: Re: kexec + USB storage in 2.6.19) Dan Aloni
2007-01-12 16:28         ` Dan Aloni
2007-01-12 16:43           ` Dan Aloni
2007-01-12 16:56             ` Dan Aloni
2007-01-12 17:33               ` Eric W. Biederman
2007-01-12 18:49                 ` Dan Aloni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070112122444.GA28597@localdomain \
    --to=da-x@monatomic.org \
    --cc=ebiederm@xmission.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox