Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jan 1996 17:04:36 -0800 (PST)
From:      "Steven G. Kargl" <sgk@troutmask.apl.washington.edu>
To:        freebsd-stable@freebsd.org
Cc:        gibbs@freebsd.org
Subject:   aha1742 and kernel builds are broken
Message-ID:  <199601100104.RAA00239@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
cc'd to gibbs@freebsd.org

Supped -stable Friday (05 Jan 96) at 0600 pst.

I noted that src/sys had some changes/updates including
aha1742.c, so I decided to build a new kernel.

My new config file (NEWKERNEL) contains

controller   isa0
controller   eisa0
controller   ahb0

My old config file (OLDKERNEL) contained 

controller   isa0
controller   ahb0    at isa? bio irq ? vector ahbintr


dmesg for NEWKERNEL shows

eisa0: <OPT200 (System Board)>
Probing for devices on the EISA bus
ahb0: <Adaptec 174x SCSI host adapter> at 0x1c00-0x1cff irq 11 on eisa0 slot 1
ahb0 waiting for scsi devices to settle
(ahb0:0:0): "MAXTOR MXT-540SL J1.5" type 0 fixed SCSI 2
sd0(ahb0:0:0): Direct-Access 521MB (1067740 512 byte sectors)
(ahb0:1:0): "QUANTUM LIGHTNING 730S 241E" type 0 fixed SCSI 2
sd1(ahb0:1:0): Direct-Access 699MB (1431760 512 byte sectors)
(ahb0:2:0): "HP HP35480A 1109" type 1 removable SCSI 2
st0(ahb0:2:0): Sequential-Access density code 0x13,  drive empty



dmesg for OLDKERNEL showed

Probing for devices on the ISA bus:
ahb0: reading board settings, int=11
ahb0 at 0x1000-0x10ff irq 11 on eisa slot 1
ahb0 waiting for scsi devices to settle
(ahb0:0:0): "MAXTOR MXT-540SL J1.5" type 0 fixed SCSI 2
sd0(ahb0:0:0): Direct-Access 521MB (1067740 512 byte sectors)
(ahb0:1:0): "QUANTUM LIGHTNING 730S 241E" type 0 fixed SCSI 2
sd1(ahb0:1:0): Direct-Access 699MB (1431760 512 byte sectors)
(ahb0:2:0): "HP HP35480A 1109" type 1 removable SCSI 2
st0(ahb0:2:0): Sequential-Access density code 0x13,  drive empty


Clearly, the new sys/i386/eisa/aha1742.c is getting the probe wrong.
That is, OLDKERNEL is finding ahb0 at 0x1000-0x10ff and NEWKERNEL
is find ahb0 at 0x1c00-0x1cff.  


NEWKERNEL will hang the system without a panic or a message in
/var/log/message.  The system will not respond to the keyboard at the
console nor will it respond to telneting into the system from a
remote site.  If you want to hang the system, it is quite repeatable
with `iozone 32' in /usr/tmp.

%df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a       49231    17934    27358    40%    /
/dev/sd0s2e    343551   259272    56794    82%    /usr

%swapinfo
Device      1K-blocks     Used    Avail Capacity  Type
/dev/sd0s2b     30720        0    30656     0%    Interleaved
/dev/sd1s1b     30720        0    30656     0%    Interleaved
Total           61312        0    61312     0%



One other point, to get NEWKERNEL to config and compile, I had to 
edit sys/i386/conf/files.i386 and comment out the i386/isa/aha1742.c 
line.  Otherwise, you do not pickup the file aha1742.c.


-- 
Steven G. Kargl     | Phone: 206-685-4677 |
Applied Physics Lab | Fax:   206-543-6785 |
Univ. of Washington |---------------------|
1013 NE 40th St     | FreeBSD 2.x-stable  |
Seattle, WA 98105   |---------------------|



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