Thursday, 27 January 2005

USB cd writer in debian

Using kernel 2.6.8-2; trying to record a CD via USB. It had all previously worked fine: mkisofs... followed by cdrecord...

Now suddenly cdrecord stops working. Starts complaining about being unable to open /dev/sg* or /dev/hd* or whatever.

The solution (after an hour of wasted time, reading bug reports, discovering fascinating bits of Linux vs Joerg Schilling politics, etc. etc.):

modprobe sg

Then cdrecord -scanbus finds my cd writer just as before, and off I go.

Why can't things just work?