Subject: problems with Adaptec 2940 SCSI controller
To: None <current-users@NetBSD.ORG>
From: Tim W. Janes <janes@signal.dra.hmg.gb>
List: current-users
Date: 07/23/1996 23:30:01
I am having problems seeing a DEC DSP3105 SCSI disk at connected to
Adaptec 2940 SCSI controller.

The boot messages look hopeful but any attempt to write a disklabel
disklabel -w /dev/rsd0c dsp3105 ( having defined dsp3105 in /etc/disktab)
or access the disk ie
dd if=/dev/rsd0c count=2 | od
just gives the error message /dev/rsd0c: Device not configured

I have tried various entries in the kernel config file
currently they are

ahc*    at pci? dev ? function ?        # Adaptec 2940 SCSI controllers
scsibus0 at ahc?

sd0     at scsibus0 target 0 lun 0
sd1     at scsibus0 target 1 lun 0
sd*     at scsibus? target ? lun ?      # SCSI disk drives
st*     at scsibus? target ? lun ?      # SCSI tape drives
cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
ch*     at scsibus? target ? lun ?      # SCSI autochangers

I can mount the CD-ROM OK so something is working.

The DSP3105 has a bootable linux system on it so is or was a couple of
days ago in working order.

Here are the boot up messages

Jul 23 15:23:23 netbsd /netbsd: ahc0 at pci0 dev 13 function 0
Jul 23 15:23:23 netbsd /netbsd: ahc0: interrupting at irq 11
Jul 23 15:23:23 netbsd /netbsd: ahc0: Reading SEEPROM...done.
Jul 23 15:23:23 netbsd /netbsd: ahc0: aic7880 Single Channel, SCSI Id=7, 16 SCBs
Jul 23 15:23:23 netbsd /netbsd: ahc0: Reseting Channel A
Jul 23 15:23:23 netbsd /netbsd: ahc0: Downloading Sequencer Program...Done
Jul 23 15:23:23 netbsd /netbsd: scsibus0 at ahc0
Jul 23 15:23:23 netbsd /netbsd: ahc0: target 0 synchronous at 10.0MHz, offset = 0xf
Jul 23 15:23:23 netbsd /netbsd: sd0 at scsibus0 targ 0 lun 0: <DEC, DSP3105S, 386C>
 SCSI2 0/direct fixed
Jul 23 15:23:23 netbsd /netbsd: sd0: 1001MB, 2570 cyl, 14 head, 57 sec, 512 bytes/s
ec
Jul 23 15:23:23 netbsd /netbsd: ahc0: target 2 synchronous at 5.0MHz, offset = 0xc
Jul 23 15:23:23 netbsd /netbsd: cd0 at scsibus0 targ 2 lun 0: <NEC, CD-ROM DRIVE:40
0, 1.0> SCSI2 5/cdrom removable




This is my first venture into NetBSD so please forgive me if I am
doing something obviously wrong or asking in the wrong forum.

Thanks for any help

Tim Janes

Tim Janes                   | e-mail : janes@signal.dra.hmg.gb
Defence Research Agency     |    tel : +44 1684 894100
Malvern  Worcs              |    fax : +44 1684 895103
Gt Britain                  |   #include <std/disclaim.h>


PS.
I seem to have had a long tortuous jouney to get this far

1) find 2490 stated as supported
2) download NetBSD 1.1 - find no support for 2490 on installation floppies
3) install borrowed IDE disk in PC & install 1.1 OK
4) download NetBSD-current from ftp.demon.co.uk
5) follow instruction in FAQ to build source tree
6) find the tree on ftp.demon very out of date (1.1A)
7) reinstall 1.1 from scratch
8) get current version of NetBSD-current from src.doc.ic.ac.uk
9) find instruction in FAQ no longer valid - struggle through build -
   i think all installed Ok.
10) still find I cannot see SCSI disk