Subject: Re: Using an Adaptec 2842 Controller w/ NetBSD 1.1 and 2940 support
To: Gerald C. Simmons <simmons@darykon.wa.com>
From: Erik M. Theisen <etheisen@teclink.net>
List: port-i386
Date: 01/14/1996 22:39:13
I have applied the 1594 patch to support an Adaptec 2842 VL-Bus SCSI2
controller. It seems to operate okay until I reboot. The NetBSD loader doesn't
get past the first spinning '/' and then a hard reset is done. I have fsck'd
my root partion '/dev/sd0a' and it reports 'CPG OUT OF RANGE' followed by a
invalid block count. I can then boot off of the drive in question, but upon a
reboot, 'KA-BOOM'. It seems to do this every time I reboot.
The machine is a Micronics JX30Gc with an 83 Mhz Pentium OverDrive chip 2 VL
and 5 ISA slots. It has 32MB RAM, Adaptec 2842 Bus-Mastering SCSI controller,
and a Diamond Stealth 24 VL-Bus graphics card with 1MB.
My fstab looks like the following:
/dev/sd0a / ffs rw 1 1
/dev/sd0b none swap sw 0 0
/dev/sd1b none swap sw 0 0
/dev/sd0b /tmp mfs rw,-s=14000,-b=8192,-f=1024,-T=cfp1080s 0 0
fdesc /dev fdesc rw,union 0 0
/proc /proc procfs rw 0 0
/kern /kern kernfs rw 0 0
/etc/portal.conf /p portal rw 0 0
/dev/sd1e /usr ffs rw 1 2
/dev/sd0f /usr/src ffs rw 1 2
/dev/sd1f /var ffs rw 1 2
/dev/sd0e /var/users ffs rw 1 2
/dev/cd0a /cdrom cd9660 ro,noauto 0 0
My boot mesg for the 2842 looks like:
: 284x Single Channel, SCSI Id=7, aic7770 >= Rev E, 4 SCBs
ahc0: Using Edge Triggered Interrupts
ahc0: Downloading Sequencer Program...Done
ahc0 at isa0 port 0x1c00-0x1cff irq 11ahc0: Probing channel A
scsibus0 at ahc0
ahc0: SDTR, target 0 period 100 offset 25
ahc0: target 0 synchronous at 10.0MB/s, offset = 25
ahc0 targ 0 lun 0: <CONNER, CFP1080S, 4649> SCSI2 0/direct fixed
sd0 at scsibus0: 1030MB, 3658 cyl, 6 head, 96 sec, 512 bytes/sec
ahc0: SDTR, target 1 period 100 offset 25
ahc0: target 1 synchronous at 10.0MB/s, offset = 25
ahc0 targ 1 lun 0: <CONNER, CFP1060S 1.05GB, 2135> SCSI2 0/direct fixed
sd1 at scsibus0: 1013MB, 2756 cyl, 8 head, 94 sec, 512 bytes/sec
ahc0: SDTR, target 2 period 100 offset 25
ahc0: target 2 synchronous at 10.0MB/s, offset = 25
ahc0 targ 2 lun 0: <DEC, RZ26L (C) DEC, 440C> SCSI2 0/direct fixed
sd2 at scsibus0: 1001MB, 3117 cyl, 8 head, 82 sec, 512 bytes/sec
ahc0: SDTR, target 5 period 200 offset 50
ahc0: target 5 synchronous at 5.0MB/s, offset = 50
ahc0 targ 5 lun 0: <NEC, CD-ROM DRIVE:500, 2.5> SCSI2 5/cdrom removable
cd0 at scsibus0: cd present, 294902 x 2048 byte records
My partions are:
******* Working on device /dev/rsd0d *******
parameters extracted from in-core disklabel are:
cylinders=3658 heads=6 sectors/track=96 (576 sectors/cylinder)
Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=3658 heads=6 sectors/track=96 (576 sectors/cylinder)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165 (NetBSD or 386BSD)
start 1, size 2107007 (1028 MB), flag 80
beg: cylinder 0, head 0, sector 2
end: cylinder 585, head 5, sector 32
******* Working on device /dev/rsd1d *******
parameters extracted from in-core disklabel are:
cylinders=2756 heads=8 sectors/track=94 (752 sectors/cylinder)
Figures below won't work with BIOS for partitions not in cylinder 1
parameters to be used for BIOS calculations are:
cylinders=2756 heads=8 sectors/track=94 (752 sectors/cylinder)
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 0 is:
<UNUSED>
The data for partition 1 is:
<UNUSED>
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
sysid 165 (NetBSD or 386BSD)
start 1, size 2072511 (1011 MB), flag 0
beg: cylinder 0, head 0, sector 2
end: cylinder 707, head 7, sector 30
My disklabels are:
# /dev/rsd0d:
type: SCSI
disk: cfp1080s
label:
flags:
bytes/sector: 512
sectors/track: 96
tracks/cylinder: 6
sectors/cylinder: 576
cylinders: 3658
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 35135 1 4.2BSD 1024 8192 16 # (Cyl. 0*- 60*)
b: 131328 35136 swap # (Cyl. 61 - 288)
c: 2107007 1 unused 1024 8192 # (Cyl. 0*- 3657*)
d: 2107008 0 unused 0 0 # (Cyl. 0 - 3657)
e: 717120 166464 4.2BSD 512 4096 16 # (Cyl. 289 - 1533)
f: 1223424 883584 4.2BSD 1024 8192 16 # (Cyl. 1534 - 3657)
g: 1940544 166464 unused 1024 8192 # (Cyl. 289 - 3657)
h: 717120 166464 unused 1024 8192 # (Cyl. 289 - 1533)
# /dev/rsd1d:
type: SCSI
disk: cfp1060s
label:
flags:
bytes/sector: 512
sectors/track: 94
tracks/cylinder: 8
sectors/cylinder: 752
cylinders: 2756
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 33087 1 4.2BSD 1024 8192 16 # (Cyl. 0*- 43*)
b: 131600 33088 swap # (Cyl. 44 - 218)
c: 2072511 1 unused 1024 8192 # (Cyl. 0*- 2755*)
d: 2072512 0 unused 0 0 # (Cyl. 0 - 2755)
e: 1331040 164688 4.2BSD 1024 8192 16 # (Cyl. 219 - 1988)
f: 576784 1495728 4.2BSD 1024 8192 16 # (Cyl. 1989 - 2755)
g: 1907824 164688 unused 1024 8192 # (Cyl. 219 - 2755)
h: 1331040 164688 unused 1024 8192 # (Cyl. 219 - 1988)
Any help/suggestions would be appreciated.
thanks,
erik