public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Miles Lane <miles@megapathdsl.net>,
	Linus Torvalds <torvalds@transmeta.com>,
	Andrew Morton <andrewm@uow.edu.au>,
	linux-kernel@vger.kernel.org
Subject: Re: Prerelease kernel will not hotplug a USB host-controller when it isinserted into a Cardbus slot.
Date: Wed, 03 Jan 2001 06:57:23 -0800	[thread overview]
Message-ID: <032e01c07595$7be8b8c0$6600000a@brownell.org> (raw)
In-Reply-To: <3A53187B.9030601@megapathdsl.net>

> I am writing to let you know that in all test12-pre6+ kernels,
> I get a "Bad PCI invocation" error when hotplug attempts to
> handle the insertion of a USB host-controller into a Cardbus
> slot.

That's new info ... you'd previously thought that it wasn't even
invoking /sbin/hotplug!

The scripts I know about will produce that message when they're
invoked without PCI_CLASS set.  That's a sanity check which was
needed for the intial PCI hotplug support, which wouldn't pass
that info -- needed to hotplug devices using class drivers, such
as USB host controllers.

But they'll also dump all the arguments and environment of
hotplug before they get that far, if you set DEBUG=yes; please
enable that and let us know the whole environment that's getting
passed !

- Dave

p.s. Re that patch Andrew mentioned, it shouldn't have made
    a difference unless "PCI_CLASS=%04X" truncated the top
    eight bits of the class (it's 24 bits, not 16:  8 bits
    each of class, subclass, prog-if.)  That would have had a
    different failure mode:  only class 0 devices (pci.ids
    says is "unclassified" devices) would PCI hotplug.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-03 15:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-03 12:18 Prerelease kernel will not hotplug a USB host-controller when it is inserted into a Cardbus slot Miles Lane
2001-01-03 12:40 ` Andrew Morton
2001-01-03 14:57 ` David Brownell [this message]
2001-01-04  0:49   ` Prerelease kernel will not hotplug a USB host-controller when it isinserted " Miles Lane
2001-01-04  1:43     ` Miles Lane
2001-01-04  1:48       ` Miles Lane
2001-01-04  2:25     ` Prerelease kernel will not hotplug a USB host-controller when itisinserted " David Brownell
2001-01-04  5:49       ` Prerelease kernel will not hotplug a USB host-controller when it is inserted " Miles Lane

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='032e01c07595$7be8b8c0$6600000a@brownell.org' \
    --to=david-b@pacbell.net \
    --cc=andrewm@uow.edu.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=miles@megapathdsl.net \
    --cc=torvalds@transmeta.com \
    /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