View previous topic :: View next topic |
Author |
Message |
eunuque n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/10547371303f436cbbb5545.gif)
Joined: 19 Aug 2003 Posts: 62
|
Posted: Mon Nov 24, 2003 5:31 pm Post subject: ide-scsi VS ide-cd |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
m0pr0be Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 29 Aug 2002 Posts: 308
|
Posted: Mon Nov 24, 2003 6:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
TheCoop Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50962178541c2cd784cf26.jpg)
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Mon Nov 24, 2003 6:50 pm Post subject: |
|
|
atapi recording works perfectly for me, i would consider it beta ![Smile :)](images/smiles/icon_smile.gif) _________________ 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 |
|
![](templates/gentoo/images/spacer.gif) |
blueworm l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
Joined: 09 May 2003 Posts: 962
|
Posted: Mon Nov 24, 2003 7:05 pm Post subject: |
|
|
I am using ATAPI cdrw. I have not noticed any differrence performance wise between this and scsi emulation. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eunuque n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/10547371303f436cbbb5545.gif)
Joined: 19 Aug 2003 Posts: 62
|
Posted: Mon Nov 24, 2003 7:34 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
d3c3it l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/8046047643f6dd8da62e40.png)
Joined: 01 Mar 2003 Posts: 765 Location: Manchester, UK
|
Posted: Tue Dec 02, 2003 1:42 pm Post subject: |
|
|
TheCoop wrote: | atapi recording works perfectly for me, i would consider it beta ![Smile :)](images/smiles/icon_smile.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
TheCoop Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/50962178541c2cd784cf26.jpg)
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Wed Dec 03, 2003 7:53 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Beholders_Eye Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/135709848541f4efe5b9696.jpg)
Joined: 17 Nov 2003 Posts: 116 Location: Brazil
|
Posted: Sat Dec 06, 2003 3:43 pm Post subject: K3B |
|
|
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... ![Sad :(](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
olav Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_nibbler.gif)
Joined: 24 Aug 2003 Posts: 194 Location: Norway
|
Posted: Sun Dec 07, 2003 3:59 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wolf_99 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Oct 2003 Posts: 213
|
Posted: Wed Dec 10, 2003 6:37 pm Post subject: |
|
|
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.
but when I do 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. ![Confused :?](images/smiles/icon_confused.gif) _________________ To err is human. To really fuck up, use a computer. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
olav Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_nibbler.gif)
Joined: 24 Aug 2003 Posts: 194 Location: Norway
|
Posted: Wed Dec 10, 2003 11:00 pm Post subject: |
|
|
What is the output of 'cdrecord dev=ATAPI -scanbus' ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wolf_99 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Oct 2003 Posts: 213
|
Posted: Thu Dec 11, 2003 12:19 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
olav Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_nibbler.gif)
Joined: 24 Aug 2003 Posts: 194 Location: Norway
|
Posted: Mon Dec 15, 2003 5:19 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
wolf_99 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Oct 2003 Posts: 213
|
Posted: Mon Dec 15, 2003 7:52 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
angryelephant n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 13 Oct 2003 Posts: 23 Location: san diego
|
Posted: Mon Dec 15, 2003 10:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
marshall_j Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/15084118923f146b5b940f6.gif)
Joined: 22 Jan 2003 Posts: 98 Location: NZ
|
Posted: Tue Dec 16, 2003 11:03 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cult hero Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20461849524108e18618672.jpg)
Joined: 13 Oct 2002 Posts: 186 Location: Las Vegas
|
Posted: Fri Dec 19, 2003 1:34 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cult hero Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20461849524108e18618672.jpg)
Joined: 13 Oct 2002 Posts: 186 Location: Las Vegas
|
Posted: Fri Dec 19, 2003 4:24 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cult hero Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20461849524108e18618672.jpg)
Joined: 13 Oct 2002 Posts: 186 Location: Las Vegas
|
Posted: Fri Dec 19, 2003 5:22 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
cult hero Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/20461849524108e18618672.jpg)
Joined: 13 Oct 2002 Posts: 186 Location: Las Vegas
|
Posted: Fri Dec 19, 2003 12:28 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tatesworld n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Oct 2003 Posts: 67
|
Posted: Fri Dec 19, 2003 12:48 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
tatesworld n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 Oct 2003 Posts: 67
|
Posted: Fri Dec 19, 2003 12:50 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|