LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   SCSI emulation (https://www.linuxquestions.org/questions/slackware-14/scsi-emulation-292350/)

brokenflea 02-19-2005 02:09 PM

SCSI emulation
 
i had compiled my kernel to 2.6.10 last week, everything went fine, except this week when i try to burn CD's it tells me no IDE or ATAPI device detected, enable SCSI emulation in kernel. i can play regular audio cd's on the box itself, i don't know if that matters or not.
so i recompile the kernel again with scsi emulation enabled when i reboot, my DMA doesn't wanna work its disabled and i can't turn it on with hdparm, it doesn't let me, says opertion not permitted and plus i still can't burn CD's. wondering if there's anything else i could do. the hard drive is a 13.6 gig quantum fireball and the CD-RW's a SONY.

Thanks for any replies.

btmiller 02-19-2005 02:29 PM

ATAPI CD burning ought to work straight away unless you disabled it in the kernel config (I think that's possible, been awhile when I looked at the options). Does "cdrecord -dev=ATAPI -help" work?

brokenflea 02-19-2005 02:47 PM

i'm gonna try running that right now, see what happens, sorry not in front of the box, it'll take me like 10 minutes. another thing, i was using xcdroast when it brought up that message on the screen. haven't used the CLI yet.

btmiller 02-19-2005 04:10 PM

Actually, you should probably run "cdrecord -dev=ATAPI -scanbus" to see if cdrecord sees any drives.

brokenflea 02-19-2005 04:30 PM

ok will do,i'll let you know what it does. thanks again for your help!

brokenflea 02-19-2005 07:48 PM

this is what comes up when i run the command : cdrecord -dev=ATAPI -scanbus

bash-3.00$ cdrecord -dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

and this is what happens when i su to run the command:

bash-3.00# cdrecord -dev=ATAPI -scanbus
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
cdrecord: No such file or directory. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

btmiller 02-20-2005 03:15 PM

Not sure what to tell you at this point ... this "just works" for me. It's possible you didn't configure the kernel correctly to get IDE CD burning, in which case you should probably just use the ide-scsi module. You should set /dev/hdXX=ide-scsi on your kernel command line in LILO or GRUB (where /dev/hdXX is your CD burner). This will do the SCSI emulation and hopefully that should get you going.

brokenflea 02-20-2005 03:57 PM

will try that! thanks for all your help :)

usedtire 02-20-2005 07:11 PM

When I type what you had said to do
Quote:

cdrecord -dev=ATAPI -scanbus
I get

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: Using ATA Packet interface.
Warning: The related libscg interface code is in pre alpha.
Warning: There may be fatal problems.
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) *
0,1,0 1) 'HL-DT-ST' 'RW/DVD GCC-4480B' 'GW02' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
scsibus1:
1,0,0 100) 'ASUS ' 'CRW-5224A ' '1.20' Removable CD-ROM
1,1,0 101) *
1,2,0 102) *
1,3,0 103) *
1,4,0 104) *
1,5,0 105) *
1,6,0 106) *
1,7,0 107) *


When I type in
Quote:

cdrecord -scanbus
I get

Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.

Does this mean I need to recompile my kernel?


All times are GMT -5. The time now is 12:41 PM.