All, Afer a emerge world, the hotplug package in my system was updated since then my net.eth0 doesn't come up. At times i get problems with my sound card. I got the following errors when i run /etc/init.d/hotplug restart (same as in boot time). * Starting input hotplugging... [ ok ] * Starting pci hotplugging... /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory /etc/hotplug/pci.rc: line 56: /sbin/hotplug: No such file or directory [ ok ] * Starting usb hotplugging... [ ok ] When i looked at the /etc/hotplug/pci.rc: line 56 it refers to /sbin/hotplug pci where the /sbin/hotplug doesn't exisist. I looked around /etc/hotplug/input.rc & /etc/hotplug/usb.rc & noticed there that instead of calling /sbin/hotplug these scripts call /etc/hotplug/usb.agent < /dev/null. As a wild guess i tried the same pci.agent in the pci.rc & bingo it works. My uname -a gives 2.4.20-gentoo-r6 #1 SMP Sat Jan 31 10:12:04 EST 2004 i686 Intel(R) Pentium(R) 4 CPU 1.50GHz GenuineIntel GNU/Linux i would have done emerge world a couple of weeks ago. ls -l /usr/portage/sys-apps/hot* -rw-r--r-- 1 root root 1513 Apr 15 2004 hotplug-20040401.ebuild emerge -s hotplug output * sys-apps/hotplug Latest version available: 20040401 Latest version installed: 20040401 Size of downloaded files: 40 kB Homepage: http://linux-hotplug.sourceforge.net Description: USB and PCI hotplug scripts License: GPL-2 * sys-apps/hotplug-base Latest version available: 20040401 Latest version installed: 20040401 Size of downloaded files: 40 kB Homepage: http://linux-hotplug.sourceforge.net Description: Base Hotplug framework License: GPL-2 Please let me know if this is already noticed & fixed (i am guessing mostlikely). if any additional info is need, please contact me & note that this is my first problem solving with gentoo & my first bug report too. i am sorry if i missed something. Thanks for a great distro. Pavan
hotplug-base provide /sbin/hotplug, maybe try to re-emerge hotplug-base.
Responding to the comment below from Lang Thang I cannot re-emerge anything simply because my net access is gone & usually when i emerge <package> i get it from the mirrors. Another thing i looked up help on emerge --help but didn't see how to re-emerge an exisiting package. Please keep in mind i am still new to gentoo & learning & the fix that helped me is in my bug post. i hope that is the fix else i have no clue as how else to fix this issue. thanks
when I say re-emerge hotplug-base, I mean `emerge --oneshot hotplug-base`
Do you think it would be wise for me to do emerge --oneshot hotplug-base now when i fixed my system with at file change. reason i ask is that i don't know much about these scripts i just happend to stumble upon that script file change. if re-emerge cause problems i won't be able to fix it without considerable amount time. please advice.
instead of emerge --oneshot hotplug-base, is there any way i can view the files in the ebuild & then compare with the file change i made this way i won't have take a chance on the system & it would make my life easier.
sys-app/hotplug-base only install one file /sbin/hotplug all the rc-scripts is installed by sys-app/hotplug. If you want to compare, you can try: # ebuild /usr/portage/sys-apps/hotplug/hotplug-20040401.ebuild setup # ebuild /usr/portage/sys-apps/hotplug/hotplug-20040401.ebuild unpack # cd /var/tmp/portage/hotplug-20040401/work/hotplug-2004_04_01/etc/hotplug/ and look in there.
Please install the hotplug-base package. It provides the program you need.