View previous topic :: View next topic |
Author |
Message |
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Sat Feb 07, 2004 4:52 am Post subject: CDRW not detected by cdrecord |
|
|
Ok, I have ATAPI burning setup in my kernel. It worked in the past but now my drive isnt being detected. When i do a checkdrive in cdrecord I get the following:
cdrecord dev=/dev/hdb --checkdrive
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling
scsidev: '/dev/hdb'
devname: '/dev/hdb'
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 : 'SAMSUNG '
Identifikation : 'CDRW/DVD SM-348B'
Revision : 'T504'
Device seems to be: Generic mmc2 DVD-ROM.
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
According to that it is showing the scsi address as -2, -2, -2
How do I get atapi burning working? Any ideas? |
|
Back to top |
|
|
teknomage1 Veteran
Joined: 05 Aug 2003 Posts: 1239 Location: Los Angeles, CA
|
Posted: Sat Feb 07, 2004 5:40 am Post subject: |
|
|
you need to remove scsi emulation from the kernel or at least make sure your cdrw isn't flagged to be scsi. Make sure there's no append items in your bootloader config and then if not go ahead and remove ide-scsi emulation and recomplie the kernel |
|
Back to top |
|
|
Slyde Guru
Joined: 14 Jul 2003 Posts: 314
|
Posted: Sat Feb 07, 2004 8:24 am Post subject: |
|
|
Code: | Cdrecord-Clone 2.01a25 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
scsidev: '/dev/hdd'
devname: '/dev/hdd'
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.8'.
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'ARTEC '
Identifikation : 'WRR-4848 '
Revision : '1.00'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
Driver flags : MMC-2 SWABAUDIO BURNFREE FORCESPEED
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96R |
mine says the same thing as yours and works fine. i use this to burn cd's:
Code: | alias burn="cdrecord -v dev=/dev/hdd speed=24 driveropts=burnfree" |
|
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Sat Feb 07, 2004 8:49 am Post subject: |
|
|
When I run:
cdrecord dev=/dev/hdb -checkdrive
I get:
Cdrecord 2.01a14 (i686-pc-linux-gnu) Copyright (C) 1995-2003 J�rg Schilling
scsidev: '/dev/hdb'
devname: '/dev/hdb'
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 : 'SAMSUNG '
Identifikation : 'CDRW/DVD SM-348B'
Revision : 'T504'
Device seems to be: Generic mmc2 DVD-ROM.
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
I dunno what is going on. cdrecord --scanbus used to show it, now it doesnt. |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Sat Feb 07, 2004 10:41 am Post subject: |
|
|
Check your bootloader (either lilo or grub) for hdb=ide-scsi. Is that present? It'll be appended to your 'kernel' line in grub or labeled as 'append' in lilo... |
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Sat Feb 07, 2004 2:57 pm Post subject: |
|
|
No its not present. |
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Sat Feb 07, 2004 3:45 pm Post subject: |
|
|
Ok, I seem to be able to write CD's using nautilus CD burner but it doesnt work with gcombust or gnome-toaster. Any ideas? My /dev/cdroms/cdrom0 points to /dev/ide/host0/bus0/target1/lun0/cd. The drive is /dev/hdb as far as I know. Any ideas why it would work with nautilus and nothing else? |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Sat Feb 07, 2004 6:53 pm Post subject: |
|
|
My question has always been.. "If SCSI emulation is available for burning CDs, why not use it. It should be faster".. In which case it is. Most CD burning programs require SCSI emulation in order to burn. However, this is only relevenat to kernel 2.4.x. If you are running a 2.4 variant, add 'hdX=ide-scsi' to your boot loader (where X is the drive). Most say ide-scsi is not needed under 2.6 but I still use scsi emulation so I also suggest it for 2.6.
Regardless of which kernel, you'll need to verify that scsi emulation is enabled in the kernel (or built as a mod) if you want scsi emulation. |
|
Back to top |
|
|
boudie n00b
Joined: 01 Feb 2004 Posts: 74 Location: nova scotia, canada
|
Posted: Sat Feb 07, 2004 7:11 pm Post subject: |
|
|
Did you try (as root)
cdrecord dev=ATAPI -scanbus |
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Sat Feb 07, 2004 8:51 pm Post subject: |
|
|
Quote: | Did you try (as root)
cdrecord dev=ATAPI -scanbus |
That shows it as:
scsibus0:
0,0,0 0) *
0,1,0 1) 'SAMSUNG ' 'CDRW/DVD SM-348B' 'T504' 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) *
But it still doesnt work in gcombust or gnome-toaster...
Do they need scsi emulation to work? |
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Mon Feb 09, 2004 10:39 pm Post subject: |
|
|
Do I need to do anything special with gcombust or gtoaster to make it work with atapi? I could have sworn it was fine with ATAPI before with no special considerations. All I know is I need to type in
cdrecord dev=ATAPI --scanbus before cdrecord will see it. A regular cdrecord --scanbus doesnt work. |
|
Back to top |
|
|
starnix Guru
Joined: 02 Mar 2003 Posts: 530
|
Posted: Mon Feb 09, 2004 11:06 pm Post subject: |
|
|
As I said before it DOES work with Nautilus CD burner. But not with gtoaster or gcombust. When I do a "Check drive settings" in gtoaster it just says that it isnt accessable. Any ideas how to get gtoaster to work? Or is that just a limitation of gtoaster. That it cant burn atapi. HELP!!! |
|
Back to top |
|
|
graybeard Tux's lil' helper
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Wed Feb 11, 2004 4:42 am Post subject: |
|
|
Hi, I am also new to the ATAPI burning stuff. I get a similar result with
Code: |
cdrecord dev=ATAPI -scanbus
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-ROM SC-148 ' 'FT06' Removable CD-ROM
0,1,0 1) 'ATAPI ' 'CD-R/RW 24X10 ' 'P.JJ' Removable CD-ROM
etc.
|
I don't use gcombust. But in gtoaster, I had to set the drives up manually in the Preferences ... CDROM and Recorder Setup. Choose the Edit button for each drive. It worked after I turned off the "Use SCSI interface for DAE" option and set the device name correctly. Don't know if this is normal but it worked for me.
Good luck.
-dan |
|
Back to top |
|
|
|