On Sat, Jan 05, 2002 at 12:35:59PM -0600, Brian wrote:
> I just compiled up my chiny new copy of 2.2.20.  On bootup everything
> looks good, all my devices get loaded.  From dmesg:
> 
> (scsi0) <Adaptec AHA-294X SCSI host adapter> found at PCI 0/11/0
> (scsi0) Narrow Channel, SCSI ID=7, 16/255 SCBs
> (scsi0) Downloading sequencer code... 415 instructions downloaded
> scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.33/3.2.4
>        <Adaptec AHA-294X SCSI host adapter>
> scsi : 1 host.
>   Vendor: YAMAHA    Model: CRW4416S          Rev: 1.0f
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
> (scsi0:0:3:1) Synchronous at 8.0 Mbyte/sec, offset 15.
> scsi : detected 1 SCSI cdrom total.
> sr0: scsi3-mmc drive: 16x/16x writer cd/rw xa/form2 cdda tray
> 
> however, when I login and do a 'cdrecord -scanbus' I get:
> 
> cdrecord: No such file or directory. Cannot open SCSI driver.
> 
> Any ideas?  I loaded in the module aic7xxx into my kernel config, I'm
> going to try making it a loadable module and see if that changes
> things.  Any idea what's going on?  Things work fine under 2.2.14.

Does it work in any other kernel, or is it new hardware?

Can you mount any cd with:
   mount /dev/scd0 /mnt/<whatever ?

cdrecord -scanbus might fail if you don't have scsi generic compiled
(in-kernel or modules) or do not have /dev/sg[0-9].

1. Check in your .config for

   CONFIG_CHR_DEV_SG=y

in the "SCSI support" section. If it's not there, add it and rebuild
the kernel.

2. A ls -l /dev/sg* should look like this:

   florin at bear:~$ ls -l /dev/sg*
   crw-------    1 root     root      21,   0 Oct 15 01:01 /dev/sg0
   crw-------    1 root     root      21,   1 Oct 15 01:01 /dev/sg1
   crw-------    1 root     root      21,   2 Oct 15 01:01 /dev/sg2
   crw-------    1 root     root      21,   3 Oct 15 01:01 /dev/sg3
   crw-------    1 root     root      21,   4 Oct 15 01:01 /dev/sg4
   crw-------    1 root     root      21,   5 Oct 15 01:01 /dev/sg5
   crw-------    1 root     root      21,   6 Oct 15 01:01 /dev/sg6
   crw-------    1 root     root      21,   7 Oct 15 01:01 /dev/sg7
   crw-------    1 root     root      21,   8 Oct 15 01:01 /dev/sg8
   crw-------    1 root     root      21,   9 Oct 15 01:01 /dev/sg9

Cheers,
florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 230 bytes
Desc: not available
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20020105/8d19f8a5/attachment.pgp