Re: ide-scsi question - Sorry

2001-12-13 Thread Bill Davidsen

Mike R. Cannon [EMAIL PROTECTED] wrote:

 Sorry about the last mail.  I have more information on my problem.  On
 the machine where I have ide cdrom writers working, a cdrecord -scanbus
 provides:
 
 scsibus0:
 0,0,0 0) 'MATSHITA' 'UJDA330 ' '1.04' Removable
 CD-ROM
 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) *
 
 On the machine where it is NOT working, a cdrecord -scanbus provides:
 scsibus0:
 0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,1,0 1) *
 0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *

Sorry I'm a few days late on this, but where is scsibus1? This looks
like a real CSI system with disk drives, and I don't see the bus or
anything on it. You did have hdd=ide-scsi (or hd?) and load the module
for ide-scsi, right?

-- 
   -bill davidsen ([EMAIL PROTECTED])
The secret to procrastination is to put things off until the
 last possible moment - but no longer  -me


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ide-scsi question - Sorry

2001-12-11 Thread Len Sorensen

On Tue, Dec 11, 2001 at 12:20:54AM -0500, Mike R. Cannon wrote:
 Sorry about the last mail.  I have more information on my problem.  On
 the machine where I have ide cdrom writers working, a cdrecord -scanbus
 provides:
 
 scsibus0:
 0,0,0 0) 'MATSHITA' 'UJDA330 ' '1.04' Removable
 CD-ROM
 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) *
 
 On the machine where it is NOT working, a cdrecord -scanbus provides:
 scsibus0:
 0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,1,0 1) *
 0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 On the machine where it does not work I have a couple of scsi hard
 drives.  I think by default the ide-scsi part is pointing to /dev/scd0
 which could conflict with where the scsi disk is?  Do I need to point
 the ide-scsi driver to a location and if so, how do I do that?

Well I would assume it is getting confused since it already has a
scsi adapter loaded.  Is sr_mod and sg even modules in the kernel?
Perhaps if you just FORCED ide-scsi to load on boot, instead of trying
the messy modprobe mess you have, it might work better.  And there is
nothing wrong with using ide-scsi for all your ide cdrom drives, even
the non cd-rw ones.  So if you simply use rc.modules or /etc/modules or
whatever your distribution has, to force load ide-scsi on boot, then sg
and sr_mod should auto detect the drives when needed.

Len Sorensen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: ide-scsi question - Sorry

2001-12-10 Thread Mike R. Cannon

Sorry about the last mail.  I have more information on my problem.  On
the machine where I have ide cdrom writers working, a cdrecord -scanbus
provides:

scsibus0:
0,0,0 0) 'MATSHITA' 'UJDA330 ' '1.04' Removable
CD-ROM
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) *

On the machine where it is NOT working, a cdrecord -scanbus provides:
scsibus0:
0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,1,0 1) *
0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

On the machine where it does not work I have a couple of scsi hard
drives.  I think by default the ide-scsi part is pointing to /dev/scd0
which could conflict with where the scsi disk is?  Do I need to point
the ide-scsi driver to a location and if so, how do I do that?

Mike R. Cannon wrote:
 
 I am trying to write cdroms with my IDE drive.   At this point I can't
 even mount a cdrom in it.  Below is my configuration:
 
 more /boot/grub/grub.conf | grep ide
 kernel /vmlinuz-2.4.7-10 ro root=/dev/sda3 hdc=ide-scsi
 kernel /vmlinuz ro root=/dev/sda3 hdc=ide-scsi
 
 /sbin/lsmod
 Module  Size  Used by
 vmnet  16864   6
 vmmon  17856   0 (unused)
 eepro100   16032   1
 af_packet  11872   0 (autoclean)
 ide-scsi7648   0
 ide-cd 26544   0
 cdrom  27552   0 [ide-cd]
 ide-mod65008   0 [ide-scsi ide-cd]
 rtc 5536   0 (autoclean)
 
 more /etc/fstab | grep cdrom1
 /dev/cdrom1 /mnt/cdrom1 iso9660
 noauto,owner,kudzu,ro 0 0
 
 ls -al /dev/cdrom1
 lrwxrwxrwx1 root root9 Dec  3 22:31 /dev/cdrom1 -
 /dev/scd0
 
 more /etc/modules.conf
 options ide-cd ignore=hdc
 alias scd0 sr_mod
 pre-install sg  modprobe ide-scsi
 pre-install sr_mod modprobe ide-scsi
 pre-install ide-scsi modprobe ide-cd
 
 cdrecord -scanbus
 Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg
 Schilling
 Linux sg driver version: 3.1.20
 Using libscg version 'schily-0.5'
 scsibus0:
 0,0,0 0) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,1,0 1) *
 0,2,0 2) 'COMPAQPC' 'DDYS-T18350N' 'B93E' Disk
 0,3,0 3) *
 0,4,0 4) *
 0,5,0 5) *
 0,6,0 6) *
 0,7,0 7) *
 
 --
 Mike Cannon
 Infrastructure Systems Administrator
 Vice President for Information Technology
 Purdue University
 1061 Freehafer Hall (FREH)
 West Lafayette, IN  47907-1061
 
 office phone: 765.494.6357
 office fax: 765.496.1380
 email: [EMAIL PROTECTED]
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

-- 
Mike Cannon
Infrastructure Systems Administrator
Management Information
Purdue University
1061 Freehafer Hall (FREH)
West Lafayette, IN  47907-1061

office phone: 765.494.6357
office fax: 765.496.1380
email: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]