[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SCSI emulated drives back to IDE



Hello

I would like to return my ide drives (dvd and dvdram drives) back to atapi.  
The first thing that I did was to remove devfs=mount hdc=ide-scsi 
hdd=ide-scsi from lilo.conf.  After booting, Mandrake 10.0 cannot assign any 
device to the drives.

Then I did:

a) I've checked Mandrake control center for dvd drivers.  What follows is what 
MCC  shows:

Model: ‎DVD-ROM ATAPIModel DVD-106S 012

Vendor: ‎Pioneer

Bus: ‎ide

Channel: ‎secondary

New devfs device: ‎/dev/ide/host0/bus1/target0/lun0/cd

Old device file: ‎/dev/hdc

Media class: ‎cdrom

us: ‎ide

Channel: ‎secondary

New devfs device: ‎/dev/ide/host0/bus1/target1/lun0/cd

Old device file: ‎/dev/hdd

Media class: ‎cdrom


Of course the drivers don´t work. So I did (I have to mkdir bus1/target  ....)

cd /dev/ide/host0/bus1/target0/lun0/
mknod -m 660 cd b 22 0

cd /dev/ide/host0/bus1/target1/lun0/
mknod -m 660 cd b 22 64


cd /dev
ln -s /dev/ide/host0/bus1/target0/lun0/cd hdc
ln -s /dev/ide/host0/bus1/target1/lun0/cd hdd
ln -s hdc cdrom
ln -s hdd cdrom1

It didn´t work either

dmesg shows me

ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Pioneer DVD-ROM ATAPIModel DVD-106S 012, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST DVDRAM GSA-4120B, ATAPI CD/DVD-ROM drive

and

ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''
ide-cd: Unknown parameter `hdd''

when I try eject any of the above devides, the system returns:

eject /dev/cdrom
eject: unable to open `/dev/ide/host0/bus1/target0/lun0/cd'


As for  /dev/sr1 and /dev/sr0, this is message

ject /dev/sr0
eject: unable to find or open device for: `/dev/sr0'






What did I do wrong?   

Many thanks

Ed



Reply to: