Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 1997 18:57:20 -0500 (CDT)
From:      Jim Bryant <jbryant@argus>
To:        tinguely@plains.nodak.edu (Mark Tinguely)
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: optical drives
Message-ID:  <199704152357.SAA12349@argus>
In-Reply-To: <199704151722.MAA29559@plains.nodak.edu> from "Mark Tinguely" at Apr 15, 97 12:22:03 pm

next in thread | previous in thread | raw e-mail | index | archive | help
In reply:
> Is there anything special (besides adding od0 to kernel configuration) that
> needs to be done to get optical drives to work?
> 
> I place an optical drive on a Adaptec 2940, every access I can think of
> using causes a integer divide by zero panic. BTW, check_part() in 
> sys/i386/isa/diskslice_machdep.c does not check if the number of sectors
> per cylinder is 0 before doing an integer divide. I am only begon to trace
> why this number is zero when od_open() was building the label, I thought
> these numbers were okay.

never used od0 myself..
.
.
.
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 11 on pci0:11
ahc0: aic7870 Ultra Wide Channel, SCSI Id=7, aic7870, 255 SCBs
ahc0: target 0 Tagged Queuing Device
(ahc0:0:0): "SEAGATE ST32550N 0022" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 2047MB (4194058 512 byte sectors)
sd0(ahc0:0:0): with 3511 cyls, 11 heads, and an average 108 sectors/track
(ahc0:1:0): "IBM MTA-3230TC2210!B 0" type 0 removable SCSI 2
sd1(ahc0:1:0): Direct-Access 217MB (446325 512 byte sectors)
sd1(ahc0:1:0): with 17934 cyls, 1 heads, and an average 24 sectors/track
.
.
.

the key is to jumper it from a type 7 to a type 0, and don't bother
with od0...

apsi drivers don't mind it either under dog or 95...

if you use an IBM MTA-3230, i believe they did add the disktab i
submitted to the distribution...  should work with fujitsu also..

jim
-- 
All opinions expressed are mine, if you   | "I will not be pushed, stamped,
think otherwise, then go jump into turbid | briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!     | numbered!" - #1, "The Prisoner"
 jbryant@tfs.net - KC5VDJ 2M, 70cm, KPC-3+ - kc5vdj@wv0t.#neks.ks.usa.noam



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