Re: ide-scsi works now "used to be On ide-scsi recorder failure
I think my confusion came from the fact that i didn't need to reference a specific device before the kernel upgrade. As for telling it to use /dev/sg1 or sg0 ... I cant really tell anymore, i'm no longer using that kernel. It probably was an incorrect usage of cdrecord, so i'm sorry for the posts here, or it could have been something stupid like not compiling in scsi generic support (which i'd like to doubt but can't tell now), oh well, everything works now ...i'm going to test out this atapi-direct write support if i figure out how to convince cdrecord to use it. On Sun, 15 Oct 2000 04:51:30 Dax Kelson wrote: > > The error you were getting is the error I get on my system when I > incorrectly try to access the SCSI cdrom device instead of of the SCSI > generic. > > See: > > [root@thud linux]# cdrecord dev=/dev/sr1 -inq > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling > scsidev: '/dev/sr1' > devname: '/dev/sr1' > scsibus: -2 target: -2 lun: -2 > cdrecord: No such file or directory. Cannot open SCSI driver. > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are > root. > [root@thud linux]# > > However, when I correctly reference the SCSI generic device, it works: > > [root@thud linux]# cdrecord dev=/dev/sg1 -inq > Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling > scsidev: '/dev/sg1' > devname: '/dev/sg1' > scsibus: -2 target: -2 lun: -2 > Linux sg driver version: 3.1.17 > Using libscg version 'schily-0.1' > Device type: Removable CD-ROM > Version: 2 > Response Format: 2 > Capabilities : SYNC > Vendor_info: 'YAMAHA ' > Identifikation : 'CRW4416S' > Revision : '1.0j' > Device seems to be: Generic mmc CD-RW. > [root@thud linux]# > > In short, I don't think there was a problem, simply incorrect usage of > cdrecord. > > Dax > > > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: ide-scsi works now "used to be On ide-scsi recorder failure
safemode said once upon a time (Sun, 15 Oct 2000): > Everything seems to be working great now... i'm using a patch Andre > Hedrick gave me and everything works like normal again. Thanks again for > everyone's help. Back to burning cds. The error you were getting is the error I get on my system when I incorrectly try to access the SCSI cdrom device instead of of the SCSI generic. See: [root@thud linux]# cdrecord dev=/dev/sr1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sr1' devname: '/dev/sr1' scsibus: -2 target: -2 lun: -2 cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. [root@thud linux]# However, when I correctly reference the SCSI generic device, it works: [root@thud linux]# cdrecord dev=/dev/sg1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sg1' devname: '/dev/sg1' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' Device type: Removable CD-ROM Version: 2 Response Format: 2 Capabilities : SYNC Vendor_info: 'YAMAHA ' Identifikation : 'CRW4416S' Revision : '1.0j' Device seems to be: Generic mmc CD-RW. [root@thud linux]# In short, I don't think there was a problem, simply incorrect usage of cdrecord. Dax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
On Sun, 15 Oct 2000, safemode wrote: > > Unfortunally i compile in all the scsi stuff and make ide-cd modular, so i > dont know what was compiled in anymore since that kernel tree is gone. I > did however recieve a patch to test10-pre3 which seems to be working, will > test the actual record part in a bit (and this kernel i know for a fact has > scsi generic compiled in)... thanks for the help guys Please let everyone know if it works, the additions you got from me are the atapi-direct-write. This works for the other media, but unknown for cd-rw yet. Cheers, Andre Hedrick The Linux ATA/IDE guy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
ide-scsi works now "used to be On ide-scsi recorder failure
Everything seems to be working great now... i'm using a patch Andre Hedrick gave me and everything works like normal again. Thanks again for everyone's help. Back to burning cds. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Unfortunally i compile in all the scsi stuff and make ide-cd modular, so i dont know what was compiled in anymore since that kernel tree is gone. I did however recieve a patch to test10-pre3 which seems to be working, will test the actual record part in a bit (and this kernel i know for a fact has scsi generic compiled in)... thanks for the help guys On Sun, 15 Oct 2000 03:46:52 Matthew Dharm wrote: > Hrm.. last time I checked, cdrecord wanted to use the scsi generic (sg) > interface. Is that loaded (or available as a module)? > > Matt > > -- > Matthew Dharm Home: > [EMAIL PROTECTED] > Maintainer, Linux USB Mass Storage Driver > > Da. Am thinkink of carbonated borscht for lonk nights of coding. > -- Pitr > User Friendly, 7/24/1998 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
safemode said once upon a time (Sun, 15 Oct 2000): > Alright, first off let me say that this cdrecord was working fine with > 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe > this has something to do with it? i'm not sure, but cdrecord keeps saying Make sure you have SCSI generic support compiled into your kernel, or as a module (sg). You don't burn through the /dev/(sr0|scd0) devices. You burn through the scsi generic device /dev/sg0. After you verify this, run cdrecord -scanbus. Dax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Hrm.. last time I checked, cdrecord wanted to use the scsi generic (sg) interface. Is that loaded (or available as a module)? Matt On Sun, Oct 15, 2000 at 02:24:40AM -0400, safemode wrote: > this is cdrecord -v -debug -scanbus > note that i symlinked pg0 to scd0 since the device didn't exist anyway and > cdrecord insists that is the /dev equivilant to 0,0,0. well > > dev: (NULL POINTER) speed: -1 fs: -1 > Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling > TOC Type: 1 = CD-ROM > scg__open() -1,-1,-1 > PP Bus: -2 > Bus: 0 cookie: > Bus: 1 cookie: > Bus: 2 cookie: > Bus: 3 cookie: > Bus: 4 cookie: > Bus: 5 cookie: > Bus: 6 cookie: > Bus: 7 cookie: > Bus: 8 cookie: > Bus: 9 cookie: > Bus: 10 cookie: > Bus: 11 cookie: > Bus: 12 cookie: > Bus: 13 cookie: > Bus: 14 cookie: > Bus: 15 cookie: > cdrecord: No such file or directory. Cannot open SCSI driver. > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are > root. > > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Da. Am thinkink of carbonated borscht for lonk nights of coding. -- Pitr User Friendly, 7/24/1998 PGP signature
Re: On ide-scsi recorder failure
this is cdrecord -v -debug -scanbus note that i symlinked pg0 to scd0 since the device didn't exist anyway and cdrecord insists that is the /dev equivilant to 0,0,0. well dev: (NULL POINTER) speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scg__open() -1,-1,-1 PP Bus: -2 Bus: 0 cookie: Bus: 1 cookie: Bus: 2 cookie: Bus: 3 cookie: Bus: 4 cookie: Bus: 5 cookie: Bus: 6 cookie: Bus: 7 cookie: Bus: 8 cookie: Bus: 9 cookie: Bus: 10 cookie: Bus: 11 cookie: Bus: 12 cookie: Bus: 13 cookie: Bus: 14 cookie: Bus: 15 cookie: cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
I just did and it told me it wanted /dev/pg0 which did not exist. The problem is /dev/scd0 is the device and cdrecord refuses to believe it's a CDR, it continues to say that it's read-only On Sun, 15 Oct 2000 02:09:39 Matthew Dharm wrote: > Have you tried using the dev=0,0,0 instead of the dev=/dev/ form? > I'm > told by the cdrecord maintainer that it's more reliable that way, and > that > the /dev/ format should not be used. > > What does cdrecord -scanbus show? > > Matt > > On Sun, Oct 15, 2000 at 01:57:24AM -0400, safemode wrote: > > Alright, first off let me say that this cdrecord was working fine with > > 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. > maybe > > this has something to do with it? i'm not sure, but cdrecord keeps > saying > > the stats for it are -2,-2,-2when it should be 0,0,0. Does anyone > > know what the hell is going on here? i'm totally lost. I've tried > different > > versions of cdrecord and all the stable versions i had did the same > thing, > > i thought an experimental one would have a better shot at an > experimental > > kernel. > > > > dmesg | grep scsi > > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > > Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 > > sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray > > > > cat /proc/scsi/scsi > > Attached devices: > > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > > Vendor: IDE-CD Model: R/RW 4x4x24 Rev: C12a > > Type: CD-ROM ANSI SCSI revision: 02 > > > > cdrecord -v -debug -inq dev=/dev/sr0 > > dev: /dev/sr0 speed: -1 fs: -1 > > Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg > Schilling > > TOC Type: 1 = CD-ROM > > scsidev: '/dev/sr0' > > devname: '/dev/sr0' > > scsibus: -2 target: -2 lun: -2 > > scg__open(/dev/sr0) -2,-2,-2 > > cdrecord: Read-only file system. Cannot open '/dev/sr0'. Cannot open > SCSI > > driver. > > > > cdrecord -v -debug -inq dev=/dev/scd0 > > dev: /dev/scd0 speed: -1 fs: -1 > > Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg > Schilling > > TOC Type: 1 = CD-ROM > > scsidev: '/dev/scd0' > > devname: '/dev/scd0' > > scsibus: -2 target: -2 lun: -2 > > scg__open(/dev/scd0) -2,-2,-2 > > cdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open > SCSI > > driver. > > > > > > > > The fact that it says it's a cd-rom and not a CDR bothers me. Well, > i'm up > > for suggestions. > > > > > -- > Matthew Dharm Home: > [EMAIL PROTECTED] > Maintainer, Linux USB Mass Storage Driver > > Why am I talking to a toilet brush? > -- CEO > User Friendly, 4/30/1998 > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Have you tried using the dev=0,0,0 instead of the dev=/dev/ form? I'm told by the cdrecord maintainer that it's more reliable that way, and that the /dev/ format should not be used. What does cdrecord -scanbus show? Matt On Sun, Oct 15, 2000 at 01:57:24AM -0400, safemode wrote: > Alright, first off let me say that this cdrecord was working fine with > 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe > this has something to do with it? i'm not sure, but cdrecord keeps saying > the stats for it are -2,-2,-2when it should be 0,0,0. Does anyone > know what the hell is going on here? i'm totally lost. I've tried different > versions of cdrecord and all the stable versions i had did the same thing, > i thought an experimental one would have a better shot at an experimental > kernel. > > dmesg | grep scsi > scsi0 : SCSI host adapter emulation for IDE ATAPI devices > Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 > sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray > > cat /proc/scsi/scsi > Attached devices: > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > Vendor: IDE-CD Model: R/RW 4x4x24 Rev: C12a > Type: CD-ROM ANSI SCSI revision: 02 > > cdrecord -v -debug -inq dev=/dev/sr0 > dev: /dev/sr0 speed: -1 fs: -1 > Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling > TOC Type: 1 = CD-ROM > scsidev: '/dev/sr0' > devname: '/dev/sr0' > scsibus: -2 target: -2 lun: -2 > scg__open(/dev/sr0) -2,-2,-2 > cdrecord: Read-only file system. Cannot open '/dev/sr0'. Cannot open SCSI > driver. > > cdrecord -v -debug -inq dev=/dev/scd0 > dev: /dev/scd0 speed: -1 fs: -1 > Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling > TOC Type: 1 = CD-ROM > scsidev: '/dev/scd0' > devname: '/dev/scd0' > scsibus: -2 target: -2 lun: -2 > scg__open(/dev/scd0) -2,-2,-2 > cdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open SCSI > driver. > > > > The fact that it says it's a cd-rom and not a CDR bothers me. Well, i'm up > for suggestions. > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to [EMAIL PROTECTED] > Please read the FAQ at http://www.tux.org/lkml/ -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Why am I talking to a toilet brush? -- CEO User Friendly, 4/30/1998 PGP signature
Re. On ide-scsi recorder failure
Oops on one thing, /dev/sr0 is merely a symlink to /dev/scd0, sorry it's pretty late. these are the attributes of /dev/scd0 brw-rw1 root cdrom 11, 0 Sep 10 01:02 /dev/scd0 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re. On ide-scsi recorder failure
Oops on one thing, /dev/sr0 is merely a symlink to /dev/scd0, sorry it's pretty late. these are the attributes of /dev/scd0 brw-rw1 root cdrom 11, 0 Sep 10 01:02 /dev/scd0 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Have you tried using the dev=0,0,0 instead of the dev=/dev/ form? I'm told by the cdrecord maintainer that it's more reliable that way, and that the /dev/ format should not be used. What does cdrecord -scanbus show? Matt On Sun, Oct 15, 2000 at 01:57:24AM -0400, safemode wrote: Alright, first off let me say that this cdrecord was working fine with 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe this has something to do with it? i'm not sure, but cdrecord keeps saying the stats for it are -2,-2,-2when it should be 0,0,0. Does anyone know what the hell is going on here? i'm totally lost. I've tried different versions of cdrecord and all the stable versions i had did the same thing, i thought an experimental one would have a better shot at an experimental kernel. dmesg | grep scsi scsi0 : SCSI host adapter emulation for IDE ATAPI devices Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IDE-CD Model: R/RW 4x4x24 Rev: C12a Type: CD-ROM ANSI SCSI revision: 02 cdrecord -v -debug -inq dev=/dev/sr0 dev: /dev/sr0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/sr0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/sr0'. Cannot open SCSI driver. cdrecord -v -debug -inq dev=/dev/scd0 dev: /dev/scd0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/scd0' devname: '/dev/scd0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/scd0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open SCSI driver. The fact that it says it's a cd-rom and not a CDR bothers me. Well, i'm up for suggestions. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Why am I talking to a toilet brush? -- CEO User Friendly, 4/30/1998 PGP signature
Re: On ide-scsi recorder failure
I just did and it told me it wanted /dev/pg0 which did not exist. The problem is /dev/scd0 is the device and cdrecord refuses to believe it's a CDR, it continues to say that it's read-only On Sun, 15 Oct 2000 02:09:39 Matthew Dharm wrote: Have you tried using the dev=0,0,0 instead of the dev=/dev/ form? I'm told by the cdrecord maintainer that it's more reliable that way, and that the /dev/ format should not be used. What does cdrecord -scanbus show? Matt On Sun, Oct 15, 2000 at 01:57:24AM -0400, safemode wrote: Alright, first off let me say that this cdrecord was working fine with 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe this has something to do with it? i'm not sure, but cdrecord keeps saying the stats for it are -2,-2,-2when it should be 0,0,0. Does anyone know what the hell is going on here? i'm totally lost. I've tried different versions of cdrecord and all the stable versions i had did the same thing, i thought an experimental one would have a better shot at an experimental kernel. dmesg | grep scsi scsi0 : SCSI host adapter emulation for IDE ATAPI devices Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IDE-CD Model: R/RW 4x4x24 Rev: C12a Type: CD-ROM ANSI SCSI revision: 02 cdrecord -v -debug -inq dev=/dev/sr0 dev: /dev/sr0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/sr0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/sr0'. Cannot open SCSI driver. cdrecord -v -debug -inq dev=/dev/scd0 dev: /dev/scd0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/scd0' devname: '/dev/scd0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/scd0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open SCSI driver. The fact that it says it's a cd-rom and not a CDR bothers me. Well, i'm up for suggestions. -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Why am I talking to a toilet brush? -- CEO User Friendly, 4/30/1998 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Hrm.. last time I checked, cdrecord wanted to use the scsi generic (sg) interface. Is that loaded (or available as a module)? Matt On Sun, Oct 15, 2000 at 02:24:40AM -0400, safemode wrote: this is cdrecord -v -debug -scanbus note that i symlinked pg0 to scd0 since the device didn't exist anyway and cdrecord insists that is the /dev equivilant to 0,0,0. well dev: (NULL POINTER) speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scg__open() -1,-1,-1 PP Bus: -2 Bus: 0 cookie: Bus: 1 cookie: Bus: 2 cookie: Bus: 3 cookie: Bus: 4 cookie: Bus: 5 cookie: Bus: 6 cookie: Bus: 7 cookie: Bus: 8 cookie: Bus: 9 cookie: Bus: 10 cookie: Bus: 11 cookie: Bus: 12 cookie: Bus: 13 cookie: Bus: 14 cookie: Bus: 15 cookie: cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/ -- Matthew Dharm Home: [EMAIL PROTECTED] Maintainer, Linux USB Mass Storage Driver Da. Am thinkink of carbonated borscht for lonk nights of coding. -- Pitr User Friendly, 7/24/1998 PGP signature
Re: On ide-scsi recorder failure
safemode said once upon a time (Sun, 15 Oct 2000): Alright, first off let me say that this cdrecord was working fine with 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe this has something to do with it? i'm not sure, but cdrecord keeps saying Make sure you have SCSI generic support compiled into your kernel, or as a module (sg). You don't burn through the /dev/(sr0|scd0) devices. You burn through the scsi generic device /dev/sg0. After you verify this, run cdrecord -scanbus. Dax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: ide-scsi works now used to be On ide-scsi recorder failure
safemode said once upon a time (Sun, 15 Oct 2000): Everything seems to be working great now... i'm using a patch Andre Hedrick gave me and everything works like normal again. Thanks again for everyone's help. Back to burning cds. The error you were getting is the error I get on my system when I incorrectly try to access the SCSI cdrom device instead of of the SCSI generic. See: [root@thud linux]# cdrecord dev=/dev/sr1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sr1' devname: '/dev/sr1' scsibus: -2 target: -2 lun: -2 cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. [root@thud linux]# However, when I correctly reference the SCSI generic device, it works: [root@thud linux]# cdrecord dev=/dev/sg1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sg1' devname: '/dev/sg1' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' Device type: Removable CD-ROM Version: 2 Response Format: 2 Capabilities : SYNC Vendor_info: 'YAMAHA ' Identifikation : 'CRW4416S' Revision : '1.0j' Device seems to be: Generic mmc CD-RW. [root@thud linux]# In short, I don't think there was a problem, simply incorrect usage of cdrecord. Dax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: ide-scsi works now used to be On ide-scsi recorder failure
I think my confusion came from the fact that i didn't need to reference a specific device before the kernel upgrade. As for telling it to use /dev/sg1 or sg0 ... I cant really tell anymore, i'm no longer using that kernel. It probably was an incorrect usage of cdrecord, so i'm sorry for the posts here, or it could have been something stupid like not compiling in scsi generic support (which i'd like to doubt but can't tell now), oh well, everything works now ...i'm going to test out this atapi-direct write support if i figure out how to convince cdrecord to use it. On Sun, 15 Oct 2000 04:51:30 Dax Kelson wrote: The error you were getting is the error I get on my system when I incorrectly try to access the SCSI cdrom device instead of of the SCSI generic. See: [root@thud linux]# cdrecord dev=/dev/sr1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sr1' devname: '/dev/sr1' scsibus: -2 target: -2 lun: -2 cdrecord: No such file or directory. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. [root@thud linux]# However, when I correctly reference the SCSI generic device, it works: [root@thud linux]# cdrecord dev=/dev/sg1 -inq Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jrg Schilling scsidev: '/dev/sg1' devname: '/dev/sg1' scsibus: -2 target: -2 lun: -2 Linux sg driver version: 3.1.17 Using libscg version 'schily-0.1' Device type: Removable CD-ROM Version: 2 Response Format: 2 Capabilities : SYNC Vendor_info: 'YAMAHA ' Identifikation : 'CRW4416S' Revision : '1.0j' Device seems to be: Generic mmc CD-RW. [root@thud linux]# In short, I don't think there was a problem, simply incorrect usage of cdrecord. Dax - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
Re: On ide-scsi recorder failure
Alright, first off let me say that this cdrecord was working fine with 2.4.0-test8. The recorder is on /dev/scd0 and also on /dev/sr0. maybe this has something to do with it? i'm not sure, but cdrecord keeps saying the stats for it are -2,-2,-2when it should be 0,0,0. Does anyone know what the hell is going on here? i'm totally lost. I've tried different versions of cdrecord and all the stable versions i had did the same thing, i thought an experimental one would have a better shot at an experimental kernel. dmesg | grep scsi scsi0 : SCSI host adapter emulation for IDE ATAPI devices Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray cat /proc/scsi/scsi Attached devices: Host: scsi0 Channel: 00 Id: 00 Lun: 00 Vendor: IDE-CD Model: R/RW 4x4x24 Rev: C12a Type: CD-ROM ANSI SCSI revision: 02 cdrecord -v -debug -inq dev=/dev/sr0 dev: /dev/sr0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/sr0' devname: '/dev/sr0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/sr0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/sr0'. Cannot open SCSI driver. cdrecord -v -debug -inq dev=/dev/scd0 dev: /dev/scd0 speed: -1 fs: -1 Cdrecord 1.10a04 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling TOC Type: 1 = CD-ROM scsidev: '/dev/scd0' devname: '/dev/scd0' scsibus: -2 target: -2 lun: -2 scg__open(/dev/scd0) -2,-2,-2 cdrecord: Read-only file system. Cannot open '/dev/scd0'. Cannot open SCSI driver. The fact that it says it's a cd-rom and not a CDR bothers me. Well, i'm up for suggestions. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/