Re: IDE CD-R drive via ide-scsi
Try building SCSI-generic into the kernel. I never got it to work as a module. Works fine now On 10-Sep-99 David Blackman wrote: I hate modules, I've got a 627 Kb kernel. I love it. The kernel snippet said you only had 1 scsi adapter, (the AHA) --dave On 10 Sep 1999, Morgan Fletcher wrote: David Blackman [EMAIL PROTECTED] writes: Do you have scsi cd support? Yes, as a module. I have a scsi adapter (aha2940), scsi cd, scsi hd and one ide cd-r. So the scsi cd devices were already there and scd0 has been working. Please look at the kernel config snipped I posted. Make those, keep out ide-cdrom support, keep in ide-scsi emultaion, keep in scsi cd, scsi generic. try it and LMK What I'm asking is, do you have ide-scsi compiled as a module or into the kernel? You DON'T have scsi emulation in there. But I do. Thanks for your concern. I know it works, because doing 'modprobe ide-scsi ; mount -t iso9660 /dev/scd1 /cdrom ; ls /cdrom' works. make sure you installed the kernel For sure. morgan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
IDE CD-R drive via ide-scsi
I'm trying to utilize my IDE CD-R drive (HP CD-Writer 8100) via scsi emulation to burn discs with cdrecord. I've been reading http://www.guug.de/~winni/linux/cdr/html/CD-Writing.html#toc1 for the last couple of days, and have done a few things listed there, but now I'm stuck. Here's my setup: x86 adaptec 2940 scsi cd-rom scsi hard disk ide cd-burner (HP CD-Writer 8100) debian potato linux custom 2.2.10 kernel I've built a custom kernel with this (abridged) configuration: BLOCK Enhanced IDE/MFM/RLL...M BLOCK IDE/ATAPI CDROM ide-cd M BLOCK SCSI hostadaptor emulation ide-scsi M BLOCK Loopback device loop M SCSI SCSI supportscsi_mod Y SCSI SCSI CD-ROM support sr_mod M SCSI Enable vendor-specific Y SCSI SCSI generic supportsg M SCSI (select a low-level driver) aic7xxxY FS ISO 9660 CDROM filesystem iso9660Y FS Microsoft Joliet cdrom... joliet Y I've also added 'append=hda=ide-scsi' to my /etc/lilo.conf, and also 'alias scsi_hostadapter ide-scsi' to /etc/modutils/aliases and 'options ide-cd ignore=hda' to /etc/modutils/modconf, and run update-modules of course. I've tried variations, for instance with IDE=Y, etc. What device should I use to access the device now that I'm theoretically using scsi emulation? Running 'cdrecord -scanbus' gets me: Cdrecord release 1.8a25 Copyright (C) 1995-1999 Jörg Schilling scsibus0: 0) 'SEAGATE ' 'ST34371N' '0338' Disk 1) 'MATSHITA' 'CD-ROM CR-506 ' '8S05' Removable CD-ROM 2) * 3) * 4) * 5) * 6) * 7) * I have no idea what do next! I have no /dev/sr* devices, and can't seem to make them with /dev/MAKEDEV. What device should I use to access the HP? How can I load up a module so as to make it show up in the output of 'cdrecord -scanbus'? morgan
Re: IDE CD-R drive via ide-scsi
Okay, listen here's the deal: you need to take OUT ide-cd support leave in scsi-emulation, scsi-generic, scsi-cdrom.. now ./MAKDEV sg I'm pretty sure that the /dev/scd* come pre-made the important thing is to see if you get messages like this on bootup: scsi0 : AdvanSys SCSI 3.1E: PCI 20 CDB: IO E400/F, IRQ 9 scsi1 : SCSI host adapter emulation for IDE ATAPI devices scsi : 2 hosts. Vendor: HPModel: C5110ARev: 3638 Type: Processor ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 1, lun 0 Vendor: IOMEGAModel: ZIP 100 Rev: 13.A Type: Direct-Access ANSI SCSI revision: 00 Detected scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Vendor: E-IDE Model: CD-ROM 45X/A Rev: 30 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0 Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.08 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0 scsi : detected 2 SCSI cdroms 1 SCSI disk total. sr0: scsi3-mmc drive: 0x/20x xa/form2 cdda tray Uniform CDROM driver Revision: 2.55 sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB] this means for cdrecord I do dev=1,2,0 --dave On 9 Sep 1999, Morgan Fletcher wrote: I'm trying to utilize my IDE CD-R drive (HP CD-Writer 8100) via scsi emulation to burn discs with cdrecord. I've been reading http://www.guug.de/~winni/linux/cdr/html/CD-Writing.html#toc1 for the last couple of days, and have done a few things listed there, but now I'm stuck. Here's my setup: x86 adaptec 2940 scsi cd-rom scsi hard disk ide cd-burner (HP CD-Writer 8100) debian potato linux custom 2.2.10 kernel I've built a custom kernel with this (abridged) configuration: BLOCK Enhanced IDE/MFM/RLL...M BLOCK IDE/ATAPI CDROM ide-cd M BLOCK SCSI hostadaptor emulation ide-scsi M BLOCK Loopback device loop M SCSI SCSI supportscsi_mod Y SCSI SCSI CD-ROM support sr_mod M SCSI Enable vendor-specific Y SCSI SCSI generic supportsg M SCSI (select a low-level driver) aic7xxxY FS ISO 9660 CDROM filesystem iso9660Y FS Microsoft Joliet cdrom... joliet Y I've also added 'append=hda=ide-scsi' to my /etc/lilo.conf, and also 'alias scsi_hostadapter ide-scsi' to /etc/modutils/aliases and 'options ide-cd ignore=hda' to /etc/modutils/modconf, and run update-modules of course. I've tried variations, for instance with IDE=Y, etc. What device should I use to access the device now that I'm theoretically using scsi emulation? Running 'cdrecord -scanbus' gets me: Cdrecord release 1.8a25 Copyright (C) 1995-1999 Jörg Schilling scsibus0: 0) 'SEAGATE ' 'ST34371N' '0338' Disk 1) 'MATSHITA' 'CD-ROM CR-506 ' '8S05' Removable CD-ROM 2) * 3) * 4) * 5) * 6) * 7) * I have no idea what do next! I have no /dev/sr* devices, and can't seem to make them with /dev/MAKEDEV. What device should I use to access the HP? How can I load up a module so as to make it show up in the output of 'cdrecord -scanbus'? morgan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: IDE CD-R drive via ide-scsi
David Blackman [EMAIL PROTECTED] writes: Okay, listen here's the deal: you need to take OUT ide-cd support Done. leave in scsi-emulation, scsi-generic, scsi-cdrom.. now ./MAKDEV sg Done. I now have /dev/sg[0-16]. I'm pretty sure that the /dev/scd* come pre-made the important thing is to see if you get messages like this on bootup: scsi0 : AdvanSys SCSI 3.1E: PCI 20 CDB: IO E400/F, IRQ 9 scsi1 : SCSI host adapter emulation for IDE ATAPI devices scsi : 2 hosts. Vendor: HPModel: C5110ARev: 3638 Type: Processor ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 1, lun 0 Vendor: IOMEGAModel: ZIP 100 Rev: 13.A Type: Direct-Access ANSI SCSI revision: 00 Detected scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Vendor: E-IDE Model: CD-ROM 45X/A Rev: 30 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0 Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.08 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0 scsi : detected 2 SCSI cdroms 1 SCSI disk total. sr0: scsi3-mmc drive: 0x/20x xa/form2 cdda tray Uniform CDROM driver Revision: 2.55 sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB] I don't. Rather, I see: (scsi0) Adaptec AHA-294X SCSI host adapter found at PCI 14/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) Warning - detected auto-termination (scsi0) Please verify driver detected settings are correct. (scsi0) If not, then please properly set the device termination (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted (scsi0) during machine bootup. (scsi0) Cables present (Int-50 YES, Ext-50 NO) (scsi0) Downloading sequencer code... 406 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4 Adaptec AHA-294X SCSI host adapter scsi : 1 host. (scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST34371N Rev: 0338 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: MATSHITA Model: CD-ROM CR-506 Rev: 8S05 Type: CD-ROM ANSI SCSI revision: 02 scsi : detected 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 8496960 [4148 MB] [4.1 GB] I guess I need to put something that's currently a module back in the kernel, maybe ide-scsi? Is it built into your kernel? Would you mind sending me your kernel .config? And what kernel rev are you running? Thanks for the reply. this means for cdrecord I do dev=1,2,0 morgan -- V M o r g a n F l e t c h e r http://www.hahaha.org Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED]
Re: IDE CD-R drive via ide-scsi
Do you have scsi cd support? also to make scd's do ./MAKEDEV scd## where ## is a number. Make those, keep out ide-cdrom support, keep in ide-scsi emultaion, keep in scsi cd, scsi generic. try it and LMK --dave On 10 Sep 1999, Morgan Fletcher wrote: David Blackman [EMAIL PROTECTED] writes: Okay, listen here's the deal: you need to take OUT ide-cd support Done. leave in scsi-emulation, scsi-generic, scsi-cdrom.. now ./MAKDEV sg Done. I now have /dev/sg[0-16]. I'm pretty sure that the /dev/scd* come pre-made the important thing is to see if you get messages like this on bootup: scsi0 : AdvanSys SCSI 3.1E: PCI 20 CDB: IO E400/F, IRQ 9 scsi1 : SCSI host adapter emulation for IDE ATAPI devices scsi : 2 hosts. Vendor: HPModel: C5110ARev: 3638 Type: Processor ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 1, lun 0 Vendor: IOMEGAModel: ZIP 100 Rev: 13.A Type: Direct-Access ANSI SCSI revision: 00 Detected scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Vendor: E-IDE Model: CD-ROM 45X/A Rev: 30 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0 Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.08 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0 scsi : detected 2 SCSI cdroms 1 SCSI disk total. sr0: scsi3-mmc drive: 0x/20x xa/form2 cdda tray Uniform CDROM driver Revision: 2.55 sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB] I don't. Rather, I see: (scsi0) Adaptec AHA-294X SCSI host adapter found at PCI 14/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) Warning - detected auto-termination (scsi0) Please verify driver detected settings are correct. (scsi0) If not, then please properly set the device termination (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted (scsi0) during machine bootup. (scsi0) Cables present (Int-50 YES, Ext-50 NO) (scsi0) Downloading sequencer code... 406 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4 Adaptec AHA-294X SCSI host adapter scsi : 1 host. (scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST34371N Rev: 0338 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: MATSHITA Model: CD-ROM CR-506 Rev: 8S05 Type: CD-ROM ANSI SCSI revision: 02 scsi : detected 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 8496960 [4148 MB] [4.1 GB] I guess I need to put something that's currently a module back in the kernel, maybe ide-scsi? Is it built into your kernel? Would you mind sending me your kernel .config? And what kernel rev are you running? Thanks for the reply. this means for cdrecord I do dev=1,2,0 morgan -- V M o r g a n F l e t c h e r http://www.hahaha.org Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED] -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: IDE CD-R drive via ide-scsi
You DON'T have scsi emulation in there. make sure scsi-emulation is on, scsi cdrom si on, ide cdrom is off. make sure you installed the kernel (I know taht sounds stupid, but hey, my first kernels sat there in arch/i386/boot) if you had scsi-emu workign you'd have 2 scsi hosts LMK --dave On 10 Sep 1999, Morgan Fletcher wrote: David Blackman [EMAIL PROTECTED] writes: Okay, listen here's the deal: you need to take OUT ide-cd support Done. leave in scsi-emulation, scsi-generic, scsi-cdrom.. now ./MAKDEV sg Done. I now have /dev/sg[0-16]. I'm pretty sure that the /dev/scd* come pre-made the important thing is to see if you get messages like this on bootup: scsi0 : AdvanSys SCSI 3.1E: PCI 20 CDB: IO E400/F, IRQ 9 scsi1 : SCSI host adapter emulation for IDE ATAPI devices scsi : 2 hosts. Vendor: HPModel: C5110ARev: 3638 Type: Processor ANSI SCSI revision: 02 Detected scsi generic sga at scsi0, channel 0, id 1, lun 0 Vendor: IOMEGAModel: ZIP 100 Rev: 13.A Type: Direct-Access ANSI SCSI revision: 00 Detected scsi removable disk sda at scsi1, channel 0, id 0, lun 0 Vendor: E-IDE Model: CD-ROM 45X/A Rev: 30 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr0 at scsi1, channel 0, id 1, lun 0 Vendor: PHILIPS Model: CDD3610 CD-R/RW Rev: 3.08 Type: CD-ROM ANSI SCSI revision: 02 Detected scsi CD-ROM sr1 at scsi1, channel 0, id 2, lun 0 scsi : detected 2 SCSI cdroms 1 SCSI disk total. sr0: scsi3-mmc drive: 0x/20x xa/form2 cdda tray Uniform CDROM driver Revision: 2.55 sr1: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray SCSI device sda: hdwr sector= 512 bytes. Sectors= 196608 [96 MB] [0.1 GB] I don't. Rather, I see: (scsi0) Adaptec AHA-294X SCSI host adapter found at PCI 14/0 (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs (scsi0) Warning - detected auto-termination (scsi0) Please verify driver detected settings are correct. (scsi0) If not, then please properly set the device termination (scsi0) in the Adaptec SCSI BIOS by hitting CTRL-A when prompted (scsi0) during machine bootup. (scsi0) Cables present (Int-50 YES, Ext-50 NO) (scsi0) Downloading sequencer code... 406 instructions downloaded scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.17/3.2.4 Adaptec AHA-294X SCSI host adapter scsi : 1 host. (scsi0:0:0:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: SEAGATE Model: ST34371N Rev: 0338 Type: Direct-Access ANSI SCSI revision: 02 Detected scsi disk sda at scsi0, channel 0, id 0, lun 0 (scsi0:0:1:0) Synchronous at 10.0 Mbyte/sec, offset 15. Vendor: MATSHITA Model: CD-ROM CR-506 Rev: 8S05 Type: CD-ROM ANSI SCSI revision: 02 scsi : detected 1 SCSI disk total. SCSI device sda: hdwr sector= 512 bytes. Sectors= 8496960 [4148 MB] [4.1 GB] I guess I need to put something that's currently a module back in the kernel, maybe ide-scsi? Is it built into your kernel? Would you mind sending me your kernel .config? And what kernel rev are you running? Thanks for the reply. this means for cdrecord I do dev=1,2,0 morgan -- V M o r g a n F l e t c h e r http://www.hahaha.org Tibi gratias agimus quod nihil fumas. [EMAIL PROTECTED]
Re: IDE CD-R drive via ide-scsi
David Blackman [EMAIL PROTECTED] writes: Do you have scsi cd support? Yes, as a module. I have a scsi adapter (aha2940), scsi cd, scsi hd and one ide cd-r. So the scsi cd devices were already there and scd0 has been working. Please look at the kernel config snipped I posted. Make those, keep out ide-cdrom support, keep in ide-scsi emultaion, keep in scsi cd, scsi generic. try it and LMK What I'm asking is, do you have ide-scsi compiled as a module or into the kernel? You DON'T have scsi emulation in there. But I do. Thanks for your concern. I know it works, because doing 'modprobe ide-scsi ; mount -t iso9660 /dev/scd1 /cdrom ; ls /cdrom' works. make sure you installed the kernel For sure. morgan
Re: IDE CD-R drive via ide-scsi
I hate modules, I've got a 627 Kb kernel. I love it. The kernel snippet said you only had 1 scsi adapter, (the AHA) --dave On 10 Sep 1999, Morgan Fletcher wrote: David Blackman [EMAIL PROTECTED] writes: Do you have scsi cd support? Yes, as a module. I have a scsi adapter (aha2940), scsi cd, scsi hd and one ide cd-r. So the scsi cd devices were already there and scd0 has been working. Please look at the kernel config snipped I posted. Make those, keep out ide-cdrom support, keep in ide-scsi emultaion, keep in scsi cd, scsi generic. try it and LMK What I'm asking is, do you have ide-scsi compiled as a module or into the kernel? You DON'T have scsi emulation in there. But I do. Thanks for your concern. I know it works, because doing 'modprobe ide-scsi ; mount -t iso9660 /dev/scd1 /cdrom ; ls /cdrom' works. make sure you installed the kernel For sure. morgan -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null