Back in May, I introduced you all to the travails of my recompiling the Linux kernel on my box (a pathetic Pii 450MHz, Riva TNT2, 256MB - cash donations or latest high-end AMD+SLi based system now being accepted).
I found the setting for the profile that was executing during boot and driving me bonkers by disabling the network. It was part of the Mandrake Configuration utility. Status: FIXED.
The other setting was in recompiling the kernel with having issues with mkinitrd. It complained about no loopback device. Other symptoms were that I had no USB and could not burn a CD.
I searched the mkinitrd man page. There as a short statement about adding a line to LILO regarding a loopback boot device. The line was to be a comment in the LILO config file. Huh? How could that possibly help? I decided that was not the route I needed. I rebooted to other kernels, including the pre-compiled one. While watching the boot messages scroll by, each kernel indicated a "FATAL" when trying to load the loop module. Modprobe and lsmod yielded no loop module. I grepped the .config file for the kernel and there was no "LOOP" module. Gah! No storage loopback module?!?! At all?!?!
So I used the best tool I have at my disposal: my brain. Ouch. Thinking hurts.... dur, huh huh huh. Og uses head....
CDROM burner is an ATAPI device. ATAPI uses a SCSI driver. USB is mapped as a SCSI device. SCSI... SCSI... hmmmmm... You with me?
"lsmod" shows no SCSI driver loaded. I type "modprobe ide-scsi" and all is well. mkinitrd now does what it is supposed to do and I now have my initrd file. USB is now working with the addition of "modprobe uhci-hcd".
So there is the fix. My kernel was fine all this time! All I had to do was load a few modules that were compiled as a LKM and not compiled in. I think I must have thought that the modules would be loaded as needed. Not so! If you don't have the base driver loaded, then how can the kernel determine if a hardware device is even plugged in or available?
Duh. Dur. Og brain hurt.
I have yet to try burning a CDROM, but I have confidence that I can now. I should sleep well tonight.