* Bug#398962: [2.6.18] Platform devices incorrectly provide $MODALIAS?
@ 2006-11-25 20:15 Frans Pop
2006-11-27 14:45 ` Bug#398962: [2.6.18] Platform devices incorrectly provide Kay Sievers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Frans Pop @ 2006-11-25 20:15 UTC (permalink / raw)
To: linux-hotplug
[-- Attachment #1.1: Type: text/plain, Size: 901 bytes --]
Hi,
In Debian we are currently seeing some problems with drivers that are
repeatedly loaded unsuccessfully:
kernel: Intel ISA PCIC probe: not found.
FATAL: Error inserting i82365: no such device
kernel: Intel ISA PCIC probe: not found.
[...]
According to Marco d'Itri this could be because "platform devices in
recent kernels provide $MODALIAS while they should not. So udev will
always try loading again the driver after it has been loaded."
He has suggested working around this by excluding loading drivers for
platform devices in udev. However, Sven Luther noted that e.g. the
Pegasos marvell gigabit ethernet port is a platform device for which the
driver should be loaded.
Can anyone shed some light on this and suggest a solution?
See http://bugs.debian.org/398962 for details.
Thanks in advance,
Frans Pop
P.S. Please keep the debian BTS CCed on replies.
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 347 bytes --]
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
[-- Attachment #3: Type: text/plain, Size: 226 bytes --]
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Bug#398962: [2.6.18] Platform devices incorrectly provide
2006-11-25 20:15 Bug#398962: [2.6.18] Platform devices incorrectly provide $MODALIAS? Frans Pop
@ 2006-11-27 14:45 ` Kay Sievers
2006-11-28 7:12 ` Bastian Blank
2006-11-28 8:48 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2006-11-27 14:45 UTC (permalink / raw)
To: linux-hotplug
On 11/25/06, Frans Pop <elendil@planet.nl> wrote:
> In Debian we are currently seeing some problems with drivers that are
> repeatedly loaded unsuccessfully:
> kernel: Intel ISA PCIC probe: not found.
> FATAL: Error inserting i82365: no such device
> kernel: Intel ISA PCIC probe: not found.
> [...]
>
> According to Marco d'Itri this could be because "platform devices in
> recent kernels provide $MODALIAS while they should not. So udev will
> always try loading again the driver after it has been loaded."
>
> He has suggested working around this by excluding loading drivers for
> platform devices in udev. However, Sven Luther noted that e.g. the
> Pegasos marvell gigabit ethernet port is a platform device for which the
> driver should be loaded.
>
> Can anyone shed some light on this and suggest a solution?
The only sane solution is to fix the kernel platform-subsystem to use
aliases instead of direct module names. In the bug you mentioned, the
platform device requests its _own_ module, the one which has just
created the device again. This misuse of modalias causes a
modprobe-loop when the init of the module fails.
The author of that code seems ignorant to the issues he creates by
doing that, but we hope to get that fixed. For now you can just
blacklist all platform events like Marco already suggested.
Kay
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#398962: [2.6.18] Platform devices incorrectly provide
2006-11-25 20:15 Bug#398962: [2.6.18] Platform devices incorrectly provide $MODALIAS? Frans Pop
2006-11-27 14:45 ` Bug#398962: [2.6.18] Platform devices incorrectly provide Kay Sievers
@ 2006-11-28 7:12 ` Bastian Blank
2006-11-28 8:48 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Bastian Blank @ 2006-11-28 7:12 UTC (permalink / raw)
To: linux-hotplug
On Mon, Nov 27, 2006 at 03:45:36PM +0100, Kay Sievers wrote:
> For now you can just
> blacklist all platform events like Marco already suggested.
Nope. modprobe don't have the knowledge that this is an alias.
Bastian
--
I have never understood the female capacity to avoid a direct answer to
any question.
-- Spock, "This Side of Paradise", stardate 3417.3
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Bug#398962: [2.6.18] Platform devices incorrectly provide
2006-11-25 20:15 Bug#398962: [2.6.18] Platform devices incorrectly provide $MODALIAS? Frans Pop
2006-11-27 14:45 ` Bug#398962: [2.6.18] Platform devices incorrectly provide Kay Sievers
2006-11-28 7:12 ` Bastian Blank
@ 2006-11-28 8:48 ` Kay Sievers
2 siblings, 0 replies; 4+ messages in thread
From: Kay Sievers @ 2006-11-28 8:48 UTC (permalink / raw)
To: linux-hotplug
On Tue, 2006-11-28 at 08:12 +0100, Bastian Blank wrote:
> On Mon, Nov 27, 2006 at 03:45:36PM +0100, Kay Sievers wrote:
> > For now you can just
> > blacklist all platform events like Marco already suggested.
>
> Nope. modprobe don't have the knowledge that this is an alias.
Exactly, that's the root of the problem. But it isn't what Marco put in
the Debian package, and I was referring to.
Kay
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-11-28 8:48 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-25 20:15 Bug#398962: [2.6.18] Platform devices incorrectly provide $MODALIAS? Frans Pop
2006-11-27 14:45 ` Bug#398962: [2.6.18] Platform devices incorrectly provide Kay Sievers
2006-11-28 7:12 ` Bastian Blank
2006-11-28 8:48 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).