Skip to contentSkip to conversation

ATAPI CDRW which doesn't work -> devfs problems

DISCUSSION Douglas Gilbert 1 participant 1 message Feb 4, 2001

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Friedrich Lindenberg

I was trying to burn cds under linux-2.4.1 with devFS enabled. But x-cd-roast (and also cdrecord) do not find any scsi drives. I guess they have been renamed or something like that, I cannot find them in /dev, nor anywhere in /dev/scsi ...

xcdroast expects to find a whole swag of sg device filenames (/dev/sg[0-16], /dev/sg[a-q]) and scsi cdrom names (/dev/sr[0-15]) when it starts. The xcdroast tarball comes with a MAKEDEVICES.sh script to create them. If they are not all there it seems to get upset.

This is not very devfs friendly since its policy is only to show /dev entries for devices that you actually have connected and that a driver is controlling.

So the hack solution is to edit out of MAKEDEVICES.sh those file names that you actually have then execute it. IMO this is not a devfs problem, xcdroast needs an improved device scanning algorithm.

BTW the /dev/sga,b,c style of sg device names are deprecated in favour of the numeric style.

Doug Gilbert

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/