Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65023 - hotplug-20040920 broke all my USB
Summary: hotplug-20040920 broke all my USB
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 15:08 UTC by Mark Knecht
Modified: 2004-09-23 14:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Knecht 2004-09-22 15:08:51 UTC
No USB fucnctionality after emerging hotplug-20040920. /proc/bus/usb was empty. My mouse didn't work

Went back the the earlier April hotplug and everything is fine again.

Reproducible: Always
Steps to Reproduce:
ACCEPT_KEYWORDS="~x86" emerge hotplug

Actual Results:  
USB dead

Expected Results:  
USB shoudl work ;-)

root@flash /usr/src/linux # emerge info
Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r2)
=================================================================
System uname: 2.6.8-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config
/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp
http://www.zentek-international.com/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm audiofile avi berkdb bitmap-fonts cdr crypt cups dvd dvdr
encode esd fluidsynth foomaticdb gdbm gif gimp gimpprint gphoto2 gpm gtk gtk2
guile imlib jack jack-tmpfs java jpeg ladcca libg++ libwww mad mikmod mmx motif
mozcalendar mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png
ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex
truetype usb video_cards_radeon x86 xml2 xmms xprint xv zlib"
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-09-22 15:18:36 UTC
perhaps you need coldplug?
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-22 17:32:57 UTC
Yes, please emerge coldplug if you really don't want to add your usb host controller drivers to the modules.autoload file.
Comment 3 Mark Knecht 2004-09-23 07:05:24 UTC
What's coldplug????????

Guys - hotplug was updated as one of maybe 20 items. If there were messages (I saw none) they were long gone before the emerge was complete. You need to fix this before it goes stable. Not acceptable to jsut break people's machines and then tell them after the fact they should have done something new.
Comment 4 Pat Suwalski 2004-09-23 08:33:16 UTC
I'm forced to agree. What was the rationale of separating module preloading from hotplug? Without it I don't get network. With it, the network comes up very strangely, as I don't see the net.* scripts actually being executed. Do the hotplug *.rc scripts now magically handle that?
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-23 11:36:03 UTC
coldplug is what you want to have happen (load modules for devices already
found by your kernel.)

It was renamed, as "hotplug" is just the wrong term for it, and it has caused
numerous support issues, and confusion among users.  There's a reason that 
all the other distros do it this way, and I've learned my lesson :)

So, please emerge the coldplug package.  If this doesn't work for you for whatever
reason, please create a new bug stating what is broken now.
Comment 6 Mark Knecht 2004-09-23 13:56:12 UTC
OK - I'll give it a try, but I had hotplug and my machine worked. Now there's a new hotplug and a new coldplug. Do I need both? If both are required to get the same functionality of the older April version of hotplug, then please consider changing something (ebuild, virtuals, ???) to ensure that when hotplug-20040920 goes stable you don't end up with 1000 people having the same problem. why not just emerge both hotplug and coldplug if people had the old hotplug?

OK - back from trying it. I emerged hotplug-20040920 and coldplug-20040920 over the top of my older hotplug. USB is still broken. Granted, I've not read any documentation, but now I can't since my mouse is broken! 

Back to older hotplug. Shall I file a different bug?
Comment 7 Mark Knecht 2004-09-23 14:01:20 UTC
OK - Sorry. I missed that coldplug is a rc-update application and needs to be started. Once started I got USB back again. So, this is better and I apologize for not seeing that earlier.

Still, and I freely admit I'm a dummy, I think this will cause problems for other dummies like me. Give some thought to how this change can be made more transparent - like if people have the older hotplug and are starting it at a certain runlevel, then when coldplug is installed go ahead and set it up to get started at the same time. Just an idea.

Again, sorry. It is working.