From: "Eugenia Loli-Queru" <eloli@eugenia.co.uk>
To: linux-hotplug@vger.kernel.org
Subject: Re: /etc/dev.d/net/hotplug.dev
Date: Tue, 02 Nov 2004 00:09:30 +0000 [thread overview]
Message-ID: <190401c4c070$3a8a0350$0a00000a@eugenia> (raw)
In-Reply-To: <048e01c4bd33$e2657c20$0a00000a@eugenia>
>What distro are you using?
I am using Arch Linux btw.
Rgds,
Eugenia
----- Original Message -----
From: "Mathieu Segaud" <>
To: "Eugenia Loli-Queru" <>
Cc: "Greg KH" < "Hotplug Devel" <linux-hotplug-devel@lists.sourceforge.net>
Sent: Monday, November 01, 2004 4:01 PM
Subject: Re: /etc/dev.d/net/hotplug.dev
"Eugenia Loli-Queru" <> disait dernièrement que :
>> Where did anyone say that hotplug renamed the devices back?
>
> I say it. Do you have another explanation? My udev.rules is correct AFAIK,
> but then I end up with the different ethernet names anyway. I have
> contacted
> my distro maker (who actually has the same problem with his Thinkpad), and
> he said that it's a hotplug problem. That's why I emailed you guys.
I am using Gentoo Linux, and initramfs to boot my dm-crypt'd /.
To prevent some bad interaction between hotplug and initramfs stuff (oopsen
when call_usermodhelper is issued), I explicitly disables hotplug during
initramfs phase with "echo > /proc/sys/kernel/hotplug"
But /sbin/rc (Gentoo main initscript) does not set it back to /sbin/hotplug
(and I forgot to do so in my initramfs_data.cpio.gz :)), and sets it to
/sbin/udev (normal behaviour). With this setup, ethernet cards are not named
as stated in udev.rules. The workaround for me is to add an
"echo /sbin/hotplug > /proc/sys/kernel/hotplug" before udev/hotplug
configuration.
So my suggestion is: verify that /proc/sys/kernel/hotplug is set to hotplug
and not udev binary, by your distro initscripts.
By the way, Greg, shouldn't /sbin/rc in Gentoo test if /sbin/hotplug exists
and set /proc/sys/kernel/hotplug to /sbin/hotplug if so, instead of
verifying
that /proc/sys/kernel/hotplug is executable and then if /sbin/hotplug exists
?
I thought about filing a bug at bugs.gentoo.org, but this looks to me asif
it
were a chicken/egg problem, and you know more about hotplug and udev
interaction than me :)
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id\x12065&op=click
_______________________________________________
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
prev parent reply other threads:[~2004-11-02 0:09 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-28 21:19 /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-10-28 21:45 ` /etc/dev.d/net/hotplug.dev Kay Sievers
2004-10-28 23:03 ` /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-10-28 23:41 ` /etc/dev.d/net/hotplug.dev Kay Sievers
2004-10-29 0:36 ` /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-10-29 10:58 ` /etc/dev.d/net/hotplug.dev Christian Zoz
2004-10-29 18:53 ` /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-10-29 21:27 ` /etc/dev.d/net/hotplug.dev Olaf Hering
2004-10-29 22:03 ` /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-10-29 22:05 ` /etc/dev.d/net/hotplug.dev Olaf Hering
2004-10-29 22:14 ` /etc/dev.d/net/hotplug.dev Marco d'Itri
2004-11-01 22:38 ` /etc/dev.d/net/hotplug.dev Greg KH
2004-11-01 22:43 ` /etc/dev.d/net/hotplug.dev Eugenia Loli-Queru
2004-11-01 22:53 ` /etc/dev.d/net/hotplug.dev Greg KH
2004-11-02 0:01 ` /etc/dev.d/net/hotplug.dev Mathieu Segaud
2004-11-02 0:09 ` Eugenia Loli-Queru [this message]
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='190401c4c070$3a8a0350$0a00000a@eugenia' \
--to=eloli@eugenia.co.uk \
--cc=linux-hotplug@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).