LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-19-2005, 02:09 PM   #1
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Rep: Reputation: 30
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.
 
Old 02-19-2005, 02:29 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,119

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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?
 
Old 02-19-2005, 02:47 PM   #3
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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.
 
Old 02-19-2005, 04:10 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,119

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
Actually, you should probably run "cdrecord -dev=ATAPI -scanbus" to see if cdrecord sees any drives.
 
Old 02-19-2005, 04:30 PM   #5
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
ok will do,i'll let you know what it does. thanks again for your help!
 
Old 02-19-2005, 07:48 PM   #6
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
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'.
 
Old 02-20-2005, 03:15 PM   #7
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,119

Rep: Reputation: 315Reputation: 315Reputation: 315Reputation: 315
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.
 
Old 02-20-2005, 03:57 PM   #8
brokenflea
Member
 
Registered: Nov 2003
Distribution: Slackware 11.0, FreeBSD
Posts: 284

Original Poster
Rep: Reputation: 30
will try that! thanks for all your help
 
Old 02-20-2005, 07:11 PM   #9
usedtire
LQ Newbie
 
Registered: Feb 2005
Distribution: Slackware 10, Arch
Posts: 6

Rep: Reputation: 0
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
scsi emulation tux66 Slackware 4 05-25-2005 04:26 AM
SCSI emulation bcf2 Mandriva 2 12-22-2004 03:06 PM
scsi emulation or not ? cozye Slackware 5 12-01-2003 02:23 PM
Scsi Emulation!! FearPasion710 Linux - General 3 09-20-2003 04:14 AM
scsi emulation, how? one Slackware 1 09-02-2003 01:58 PM


All times are GMT -5. The time now is 11:31 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration