I'm trying to get the dvd/cdrom working under 2.6 -test10/11 using just atapi
(Ive only just noticed it's now working). I think ide-scsi emulation is only
needed for writing to CD, so I've not enabled it in the kernel.
However my /dev is probably not working well, and has symlinks to /dev/scsi.
Can I get the cdrom working without scsi emulation?
dmesg | grep hdc/CD says:
ide1: BM-DMA at 0x1848-0x184f, BIOS settings: hdc:DMA, hdd:pio
hdc: TOSHIBA DVD-ROM SD-C2502, ATAPI CD/DVD-ROM drive
hdc: ATAPI 24X DVD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
But mount /mnt/cdrom says
'Not a valid block device'
I've got /dev/ide and the new /sys filesystem to examine, but cant find any
trace of hdc or cdrom.
Where can I look, and what can I point /dev/cdrom to? Or do I need to enable
scsi emulation, or perhaps examine how kernel 2.6 works with /dev?
I'm on Gentoo...
- On Wed, 3 Dec 2003 14:18:07 +0000
Brendan Bispham <egroups@...> wrote:
> Where can I look, and what can I point /dev/cdrom to? Or do I need toWhat happens if you do
> enable scsi emulation, or perhaps examine how kernel 2.6 works with /dev?
mount -t iso9660 /dev/hdc /mnt/cdrom
if that works, you need to symling /dev/cdrom to /dev/hdc
=[ http://www.starforge.co.uk/ ]===[ Explorer2260 Lead Designer and Coder. ]
=[ Public key: ]===================[ http://www.starforge.co.uk/pubkey.txt ]
=[ Quo vadis? ]
Safety Tips for the Post-Nuclear Existence
7. Try to be neat; fall only in designated piles.
- On Wednesday 03 December 2003 2:47 pm, Chris wrote:
> What happens if you doThere isnt any hdc:
> mount -t iso9660 /dev/hdc /mnt/cdrom
/dev/hda /dev/hda2 /dev/hda4 /dev/hda6 /dev/hda8
/dev/hda1 /dev/hda3 /dev/hda5 /dev/hda7
And no ide mention:
$ ls /dev/ide/
$ ls /dev/ide/hd
c0b0t0u0 c0b0t0u0p2 c0b0t0u0p4 c0b0t0u0p6 c0b0t0u0p8
c0b0t0u0p1 c0b0t0u0p3 c0b0t0u0p5 c0b0t0u0p7
$ ls /dev/ide/host0/bus0/target0/lun0/
disc part1 part2 part3 part4 part5 part6 part7 part8
$ ls /dev/ide/host0/bus1/target0/lun0/
And no /sys mention:
$ cat /sys/bus/ide/devices/0.0/block/
dev hda1 hda3 hda5 hda7 queue size
device hda2 hda4 hda6 hda8 range stat
$ cat /sys/bus/ide/devices/1.0/block/
dev device queue range size stat
But there is a /dev/scsi:
$ ls /dev/scsi/host0/bus0/target0/lun0/