Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 1998 17:45:58 -0700
From:      Ulf Zimmermann <ulf@Alameda.net>
To:        scsi@FreeBSD.ORG
Subject:   CAM problems.
Message-ID:  <19980828174558.A6421@Alameda.net>

next in thread | raw e-mail | index | archive | help
Hello.

I have an Intel DK440LX motherboard with an Adaptec AIC-7895 onboard.
After going to 980716 CAM I had some problems, but they were solved.
Now I am trying to add a new disk to the system and and it gives me
trouble about it.

Old config was: 

Channel A = empty
Channel B = ID 0 9GB narrow drive, ID 4 CD-Rom, ID 6 CD-W

I now added a disk on channel A and the dmesg output is:

ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 17 on pci0.9.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 17 on pci0.9.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 32/255 SCBs
ahc1:A:6: refuses synchronous negotiation. Using asynchronous transfers
changing root device to wd1s1a
cd0 at ahc1 bus 0 target 4 lun 0
cd0: <TEAC CD-ROM CD-516S 1.0D> Removable CD-ROM SCSI2 device 
cd0: 10.0MB/s transfers (10.0MHz, offset 8)
cd0: cd present [328472 x 2048 byte records]
da1 at ahc1 bus 0 target 0 lun 0
da1: <SEAGATE ST19171N 0017> Fixed Direct Access SCSI2 device 
da1: 20.0MB/s transfers (20.0MHz, offset 15), Tagged Queueing Enabled
da1: 8683MB (17783112 512 byte sectors: 255H 63S/T 1106C)
cd1: fatal error, failed to attach to device
(cd1:ahc1:0:6:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd1:ahc1:0:6:0): error code 83
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DCAS-34330W S65A> Fixed Direct Access SCSI2 device 
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 4134MB (8467200 512 byte sectors: 255H 63S/T 527C)

I got the disk somehow fdisk, but now fdisk reports this:

Playtoy root /root # fdisk da0
fdisk: can't get disk parameters on /dev/rda0; supplying dummy ones
******* Working on device /dev/rda0 *******
parameters extracted from in-core disklabel are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=1 heads=1 sectors/track=1 (1 blks/cyl)

And it never returns. I have to press CTRL-C

Disklabel does return the correct values:

Playtoy root /root # disklabel da0
# /dev/rda0c:
type: SCSI
disk: sd0s1
label: 
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 526
sectors/unit: 8466192
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 bps/cpg]
  a:  7417616  1048576    4.2BSD        0     0     0   # (Cyl.   65*- 526*)
  b:  1048576        0      swap                        # (Cyl.    0 - 65*)
  c:  8466192        0    unused        0     0         # (Cyl.    0 - 526*)

I just made a newfs and it seems to work. fsck /dev/da0s1a seems to
work too. But a mount:

Playtoy root /root # mount /dev/da0s1a /disk2
mount: /dev/da0s1a on /disk2: incorrect super block

And here I am now clueless. Any ideas ?

-- 
Regards, Ulf.

---------------------------------------------------------------------
Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936
Alameda Networks, Inc. | http://www.Alameda.net  | Fax#: 510-521-5073

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980828174558.A6421>