I recently compiled a 2.4.22 kernel without any dynamically loadable modules (all modules compiled into the kernel). I was previously using SCSI emulation of my ATAPI CD recorder. All three /dev/hdc, /dev/scd0, and /dev/sr0 were mountable. Now both /dev/scd0 and /dev/sr0 give the error message:
'/dev/scd0 is not a block device' or '/dev/sr0 is not a block device'
when I try to mount the device. When I try to mount /dev/hdc it
gives the error message:
wrong fs type, bad option, bad superblock on /dev/hdc, or too many mounted file systems
(could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)
well.. indeed, it is the device where i used ide-scsi. i also noticed that the help page for scsi emulation in the kernel config says to pass hdc=scsi, so i tried that. no difference.
when booting i get the messages:
ide-cd: passing drive hdc to ide-scsi emulation.
hdc: attached ide-scsi driver.
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HL-DT-ST
Type: CD-ROM
so i know it finds the drive and appears to use scsi emulation on it.
i compiled 'Include IDE/ATAPI CDROM support' into the kernel, as well as 'SCSI emulation support', 'SCSI support', and 'SCSI generic support' ...
what am I missing? help
