Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ide-scsi VS ide-cd
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
eunuque
n00b
n00b


Joined: 19 Aug 2003
Posts: 62

PostPosted: Mon Nov 24, 2003 5:31 pm    Post subject: ide-scsi VS ide-cd Reply with quote

Hi all,

I have an ATAPI IDE CDROM and an ATAPI IDE CDRW on my box (hdc and hdd).
As explained in many howtos, to get my CDRW work, I enabled SCSI emulation passing hdd=ide-scsi to the kernel at bootup.

Doing this enables SCSI emulation for BOTH the CDROM and the CDRW.
So my question is: is it a good thing emulating SCSI for the CDROM?

I realized that passing hdc=ide-cd as kernel boot option makes CDROM use the standard IDE driver; and made few test performances. ide-cd gave me better performances than ide-scsi.

Any thoughts?
Back to top
View user's profile Send private message
m0pr0be
Guru
Guru


Joined: 29 Aug 2002
Posts: 308

PostPosted: Mon Nov 24, 2003 6:28 pm    Post subject: Reply with quote

up till now ide scsi emulation was needed to get the cdrecord program to recognize atapi devices. otherwise cdrecord wont work. i dont know about other burning applications.

there is some pre-alpha support in the works for cdrecord. with this new interface you wont need to enable ide scsi emulation anymore.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon Nov 24, 2003 6:50 pm    Post subject: Reply with quote

atapi recording works perfectly for me, i would consider it beta :)
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
blueworm
l33t
l33t


Joined: 09 May 2003
Posts: 962

PostPosted: Mon Nov 24, 2003 7:05 pm    Post subject: Reply with quote

I am using ATAPI cdrw. I have not noticed any differrence performance wise between this and scsi emulation.
Back to top
View user's profile Send private message
eunuque
n00b
n00b


Joined: 19 Aug 2003
Posts: 62

PostPosted: Mon Nov 24, 2003 7:34 pm    Post subject: Reply with quote

I use mkisofs/cdrecord/cdrdao to burn cds (I don't care about GUIs).
cdrecord works FINE with scsi emulation.

But may be I was misunderstood.
I was just wondering if it is good to also use scsi emulation for my OTHER CDRom device (just for reading, not burning) and if someone has ever made a performance comparison between ide-cd and ide-scsi drivers?
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Tue Dec 02, 2003 1:42 pm    Post subject: Reply with quote

TheCoop wrote:
atapi recording works perfectly for me, i would consider it beta :)

sorry to sound dumb but how exacty did you enable atapi burning? ive just got my kernel compiled with the ide drivers for my mobo but whenever i use k3b or xcdroast it says it needs scsi emulation. I know you have to add the extra line in grub conf to tell the kernel to use scsi for the hdc *which ive not done yet* wondered if i could do it without having to do that ?
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed Dec 03, 2003 7:53 am    Post subject: Reply with quote

i use xcdroast, and it just comes up in the device menu as ATAPI devices...
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Beholders_Eye
Tux's lil' helper
Tux's lil' helper


Joined: 17 Nov 2003
Posts: 116
Location: Brazil

PostPosted: Sat Dec 06, 2003 3:43 pm    Post subject: K3B Reply with quote

I think only K3B 0.10.x suports ATAPI recording. But, I couldn't make it read CD's to make ISO images, through the 'reacd' utility... K3B keeps saying that there's no "reader" available... So, I was not pretending to enable ide-scsi, but, if I want to copy a CD or DVD I'll have to... :(
Back to top
View user's profile Send private message
olav
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 194
Location: Norway

PostPosted: Sun Dec 07, 2003 3:59 pm    Post subject: Reply with quote

d3c3it wrote:
sorry to sound dumb but how exacty did you enable atapi burning?


First, emerge cdrtools and identify your cd-writer

Code:
cdrecord dev=ATAPI -scanbus


My writer is found as 0,1,0. To test burning, make a directory 'test' and put some files in it. Make an iso image containing the data:

Code:
mkisofs -f -r -l -o test.iso test


Burn the iso:

Code:
cdrecord -v dev=ATAPI:0,1,0 driveropts=burnfree speed=16 -data test.iso


If your drive supports the burnproof technology, use 'driveropts=burnfree', otherwise don't.
Back to top
View user's profile Send private message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Wed Dec 10, 2003 6:37 pm    Post subject: Reply with quote

Hi!
I am tring to get a burner set. I typed in the commands that u said
Code:

mkisofs -f -r -l -o test.iso test
cdrecord -v dev=ATAPI:0,1,0 driveropts=burnfree speed=16 -data test.iso

and it burnd just butiflly. :D

but when I do
Code:
cdrecord -scanbus
I get
Code:

Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
        0,0,0     0) '' '' '' Removable not present Disk
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *

So I figure that I dont have a SCSI simulater. Or am I wrong to assume that? :?:
Now, I don't whant a SCSI imulater, I just whant a nice GUI program, (hopefully GTK/Gnome) that would be simllrer in ease of use to Nero, but can burn without a SCSI simulator.
Can any one help me out here?

P.S. If my qustion is stupid/abscre etc. please explain why, because nothing is obviose for me. :?
_________________
To err is human. To really fuck up, use a computer.
Back to top
View user's profile Send private message
olav
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 194
Location: Norway

PostPosted: Wed Dec 10, 2003 11:00 pm    Post subject: Reply with quote

What is the output of 'cdrecord dev=ATAPI -scanbus' ?
Back to top
View user's profile Send private message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Thu Dec 11, 2003 12:19 pm    Post subject: Reply with quote

The eoutput of "cdrecord dev=ATAPI -scanbus" is
Code:

Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 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) 'LG      ' 'DVD-ROM DRD8160B' '1.03' Removable CD-ROM
        0,1,0     1) 'HL-DT-ST' 'CD-RW GCE-8520B ' '1.00' 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) *

_________________
To err is human. To really fuck up, use a computer.
Back to top
View user's profile Send private message
olav
Apprentice
Apprentice


Joined: 24 Aug 2003
Posts: 194
Location: Norway

PostPosted: Mon Dec 15, 2003 5:19 pm    Post subject: Reply with quote

So, everything is allright then. As seen from the output your writer is 0,1,0. Use dev=ATAPI:0,1,0 when burning. You said the command line example I gave you above works fine, so all you have to do when using a GUI program is to tell the program to use the device ATAPI:0,1,0. (Remember that the GUI uses cdrecord to do the burning and that it works in the same way as the command line example).
Back to top
View user's profile Send private message
wolf_99
Apprentice
Apprentice


Joined: 22 Oct 2003
Posts: 213

PostPosted: Mon Dec 15, 2003 7:52 pm    Post subject: Reply with quote

Thanks!
After a bit of tinkering I amnegd to set evry thing to work.

again, thanks!
_________________
To err is human. To really fuck up, use a computer.
Back to top
View user's profile Send private message
angryelephant
n00b
n00b


Joined: 13 Oct 2003
Posts: 23
Location: san diego

PostPosted: Mon Dec 15, 2003 10:28 pm    Post subject: Reply with quote

From what I have heard, ide-scsi is just a wrapper around the ide hardware driver to make it look like a scsi device for making cdrecord work. it shouldnt effect performance.
Back to top
View user's profile Send private message
marshall_j
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 98
Location: NZ

PostPosted: Tue Dec 16, 2003 11:03 pm    Post subject: Reply with quote

The thing I have noticed is the future of ide-scsi is looking murky. This article on Linux.com has some quotes from Linus himself which basically say don't go with ide-scsi if you can help it.
If you can use 2.6 and ATAPI burning then why bother with the other setup?
Back to top
View user's profile Send private message
cult hero
Apprentice
Apprentice


Joined: 13 Oct 2002
Posts: 186
Location: Las Vegas

PostPosted: Fri Dec 19, 2003 1:34 am    Post subject: Reply with quote

When I run:

Code:
cdrecord dev=ATAPI -scanbus


I get:

Code:
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 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) '' '' '' NON CCS Disk
        0,1,0     1) '' '' '' NON CCS Disk
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *


Am I missing something in my kernel or is there some other reason it wouldn't recognize with of my DVD-ROM and CD-R drives?
_________________
Repeat after me! This world is made of love and peace!
Back to top
View user's profile Send private message
cult hero
Apprentice
Apprentice


Joined: 13 Oct 2002
Posts: 186
Location: Las Vegas

PostPosted: Fri Dec 19, 2003 4:24 am    Post subject: Reply with quote

On the exact same hardware setup when I reboot with test9 (instead of test11) everything works just fine. It recognizes both drives just fine. What could have changed in the kernel?
_________________
Repeat after me! This world is made of love and peace!
Back to top
View user's profile Send private message
cult hero
Apprentice
Apprentice


Joined: 13 Oct 2002
Posts: 186
Location: Las Vegas

PostPosted: Fri Dec 19, 2003 5:22 am    Post subject: Reply with quote

And even stranger us this:

Code:
$ cdrecord dev=/dev/hdc -checkdrive
Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '/dev/hdc'
devname: '/dev/hdc'
scsibus: -2 target: -2 lun: -2
Warning: Open by 'devname' is unintentional and not supported.
Linux sg driver version: 3.5.27
Using libscg version 'schily-0.7'
Device type    : Removable CD-ROM
Version        : 0
Response Format: 1
Vendor_info    : 'TEAC    '
Identifikation : 'CD-W552E        '
Revision       : '1.13'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc   CD-R/CD-RW driver (mmc_cdr).
Driver flags   : MMC-3 SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R


It sees my drive fine there but not on the scanbus. Any ideas... anyone?
_________________
Repeat after me! This world is made of love and peace!
Back to top
View user's profile Send private message
cult hero
Apprentice
Apprentice


Joined: 13 Oct 2002
Posts: 186
Location: Las Vegas

PostPosted: Fri Dec 19, 2003 12:28 pm    Post subject: Reply with quote

All righty, I upgraded to 2.6.0 final tonight and that solved the problem. Someone tipped me off that it was indeed a kernel bug.
_________________
Repeat after me! This world is made of love and peace!
Back to top
View user's profile Send private message
tatesworld
n00b
n00b


Joined: 25 Oct 2003
Posts: 67

PostPosted: Fri Dec 19, 2003 12:48 pm    Post subject: Reply with quote

I just use =/dev/hdx (whatever the cdwriter is connected to)

Ignore
Warning: Open by 'devname' is unintentional and not supported.

Whats wrong with doing that, It works!
does it not work for some people?
Back to top
View user's profile Send private message
tatesworld
n00b
n00b


Joined: 25 Oct 2003
Posts: 67

PostPosted: Fri Dec 19, 2003 12:50 pm    Post subject: Reply with quote

another thing, its damn fast writing with ATAPI than ide-scsi
that was really slow compared to windows, now ATAPI writing is probably even faster now than windows nero etc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum