Thats often a way to make recalcitrant hardware work. modprobe -r and modprobe works well when the ath-pci module (for wireless atheros cards) ceases to work.
interesting "feature" of the normally anal command line, modprobe treats underscore and hyphen in a module name as equivalent, so modprobe ath-pci and modprobe ath_pci work the same! On Wed, February 13, 2008 9:14 am, John Carter wrote: > What ever the merits of the grand debate about Micro vs Monolithic Kernels > are.... > > ...here is a curious data point. > > > My CD writer ceased to write. Cease to notice blank disks. > > T'was nailed to the perch. > > I was about to invoke guarantees and the like when I > thought... perhaps I should reboot (you know The Computer Industry > joke, push it back up... tell me if you haven't heard it, we computer > types really deserve that joke.) > > When I thought, I don't want to reboot, I have too much running... > > Hm, perhaps... what module controls the device... > # lsmod > . > . > . > cdrom 37536 1 sr_mod > . > . > # > > Aha! There it is! > > So let's try... > > # rmmod sr_mod > > And bang udev decides it needs sr_mod to handle this device and pulls > it in again... it sees the blank disk, I burn the disk and off we go > without a reboot. > > > > > John Carter Phone : (64)(3) 358 6639 > Tait Electronics Fax : (64)(3) 359 4632 > PO Box 1645 Christchurch Email : [EMAIL PROTECTED] > New Zealand > > -- Nick Rout
