From owner-FreeBSD-users-jp@jp.freebsd.org  Mon Sep  6 17:50:43 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id RAA47044;
	Mon, 6 Sep 1999 17:50:43 +0900 (JST)
	(envelope-from owner-FreeBSD-users-jp@jp.FreeBSD.org)
Received: from oinet-ns.ooi.co.jp (oinet-ns.ooi.co.jp [210.145.198.194])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id RAA47030
	for <FreeBSD-users-jp@jp.freebsd.org>; Mon, 6 Sep 1999 17:50:37 +0900 (JST)
	(envelope-from manyabu.nabe@ooi.co.jp)
Message-Id: <199909060849.RAA17124@yokohama.ooi.co.jp>
X-Mailer: 'akira32Gold' v4.45i
Date: Mon, 06 Sep 1999 17:49:34 +0900
MIME-Version: 1.0
To: FreeBSD-users-jp@jp.freebsd.org
From: Manabu Watanabe <manyabu.nabe@ooi.co.jp>
In-Reply-To: <199909021149.UAA00984@yokohama.ooi.co.jp>
References: <199909021149.UAA00984@yokohama.ooi.co.jp>
Content-Type: text/plain; charset=ISO-2022-JP
Content-Transfer-Encoding: 7bit
Reply-To: FreeBSD-users-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: FreeBSD-users-jp 45406
Subject: [FreeBSD-users-jp 45406] Re: Compaq Smart Array
Errors-To: owner-FreeBSD-users-jp@jp.freebsd.org
Sender: owner-FreeBSD-users-jp@jp.freebsd.org
X-Originator: manyabu.nabe@ooi.co.jp

$B!!$3$s$K$A$O!"EOJU(B $B3X$H$$$$$^$9!#(B

$B!!$$$m$$$m;n$7$?7k2L!"(B Compaq SMART ARRAY $B%3%s%H%m!<%i!<$+$i%V!<%H(B
$B$9$k!"(B 3.2-RELEASE $B$r9=C[$9$k;v$,$G$-$^$7$?$N$GJs9p$7$^$9!#(B

$B!!$^$:A02s(B[FreeBSD-users-jp 45331]$B$NIT6q9g$G$9$,!";d$,;n$7$?%+!<%I(B
$B$,(B eisa $B$N%+!<%I$@$C$?$N$,860x$G$9!#%=!<%9$K$b(B eisa $B$O$&$^$/9T$+$J(B
$B$$$+$b$H=q$$$F$"$j$^$7$?!#;d$N=j$G$O(B ida.c $B$K0J2<$N=$@5$r2C$($k;v(B
$B$G!"LdBj$J$/F0:n$7$F$$$^$9!#(B pci $B$N%+!<%I$J$i$P!"=$@5$7$J$/$F$b9T(B
$B$1$=$&$G$9!#(B

> *** ida.c.orig    Mon Sep  6 14:35:32 1999
> --- ida.c   Mon Sep  6 17:10:35 1999
> ***************
> *** 882,887 ****
> --- 882,888 ----
>     if (ida_attach_drives(cntlr)) {
>       IDA_ENABLE_INTERRUPT(ctlp);
>       IDA_SET_READY(ctlp);
> +     dev->id_intr = idaintr;
>       ida_cuckoo_wdc();
>       return 1;
>     } else {


$B!!0J2<:n6H%m%0$G$9!#(B


1. $BE,Ev$J%^%7%s$K(B 3.2-RELEASE $B$r%$%s%9%H!<%k(B
 $BLLE]$J$N$G%=!<%9$OA4It%$%s%9%H!<%k$7$^$7$?(B

2. http://www.doc.ic.ac.uk/~md/ida/ $B$+$i(B ida.c $B$rF~<j(B
 ida.c $B$r(B /sys/i386/isa/ $B$KCV$/(B
 $B>e5-(B URL $B$K=>$C$F(B /sys/i386/conf/files.i386 $B$r=$@5(B
 $B>e5-(B URL $B$K=>$C$F(B /sys/i386/conf/GENERIC $B$K(B ida $B%I%i%$%P$rDI2C(B
   (wdc $B%3%s%H%m!<%i!<$N8e$K$/$k$h$&$K$7$F$/$@$5$$(B)

3. GENERIC $B$G%+!<%M%k$r:n@.(B
 $ cd /sys/i386/conf
 $ config GENERIC
 $ cd ../../compile/GENERIC
 $ make depend && make

4. $B%V!<%HMQ%U%m%C%T!<$N:n@.(B
 UNIX MAGAZINE 1999$BG/(B8$B7n9f$r;29M$K(B /usr/src/release/Makefile $B$r=$@5(B
 $ cd /usr/src/release
 $ make boot.flp
 1$B2s<:GT$9$k$1$I$b$&(B1$B2s(B
 $ make boot.flp
 /var/R/stage/floppies $B$K(B kern.flp $B$H(B mfsroot.flp $B$,=PMh>e$,$j$^$9!#(B

5. Compaq $B%^%7%s$K(B 3.2-RELEASE $B$r%$%s%9%H!<%k$7$^$9!#(B
 4. $B$G:n@.$7$?(B kern.flp $B$H(B mfsroot.flp $B$r;H$C$F%V!<%H$7$^$9!#(B
 IDE $B$,L5$/$F$b(B wdc $B%3%s%H%m!<%i!<$OI,?\$G$9!#(B
 $B%V!<%H%^%M!<%8%c!<$NA*Br$G$O(B "none" $B$rA*Br$7$F$/$@$5$$!#(B
 CD-ROM $BEy$+$i!"IaDL$K(B 3.2-RELEASE $B$r%$%s%9%H!<%k$7$^$9!#(B
 SMART Array $B$O(B wd0, wd1, ... $B$K8+$($^$9!#(B
 $B%$%s%9%H!<%k$,=*N;$7$^$7$?$i(B ALT+F4 $B$G%3%s%=!<%k2hLL$K0\F0$7!"(B
   3. $B$G:n@.$7$?%+!<%M%k(B(/sys/compile/GENERIC/kernel)$B$r(B / $B$K>e=q$-%3%T!<$7$^$9!#(B


$B!!$3$l$G(B OK $B$G$9!#%+!<%M%k$r:F9=C[$7$?$$>l9g$O!"(B 1. $B$N<j=g$K=>$C$F(B
ida.c $B$rAH$_9~$s$G9T$J$C$F$/$@$5$$!#(B ida $B%I%i%$%P$O(B IDE $B%G%P%$%9$N(B
$B?6$j$r$7$^$9$N$G!"(B wdc $B%3%s%H%m!<%i!<$r30$5$J$$$h$&$KCm0U$7$F$/$@$5$$!#(B

> host$ cat /var/run/dmesg.boot
> Copyright (c) 1992-1999 FreeBSD Inc.
> Copyright (c) 1982, 1986, 1989, 1991, 1993
>         The Regents of the University of California. All rights reserved.
> FreeBSD 3.2-RELEASE #0: Mon Sep  6 16:00:00 JST 1999
>     hoge@source.ooi.co.jp:/usr/src/sys/compile/GENERIC
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 100224271 Hz
> CPU: Pentium/P54C (100.22-MHz 586-class CPU)
>   Origin = "GenuineIntel"  Id = 0x525  Stepping=5
>   Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
> real memory  = 16777216 (16384K bytes)
> avail memory = 14168064 (13836K bytes)
> Preloaded elf kernel "kernel" at 0xc026b000.
> Preloaded userconfig_script "/boot/kernel.conf" at 0xc026b09c.
> config> q
> eisa0: <CPQ811 (System Board)>
> Probing for devices on the EISA bus
> eisa0:1 <CPQ4020=0xe114020> unknown device
> Probing for devices on PCI bus 0:
> ncr0: <ncr 53c825 fast10 wide scsi> rev 0x02 int a irq 11 on pci0.10.0
> tl0: <Compaq NetFlex-3/P> rev 0x10 int a irq 9 on pci0.13.0
> tl0: Ethernet address: 00:80:5f:d4:b3:60
> tl0: autoneg not complete, no carrier
> chip0: <Intel 82375EB PCI-EISA bridge> rev 0x15 on pci0.15.0
> Probing for PnP devices:
> Probing for devices on the ISA bus:
> sc0 on isa
> sc0: VGA color <16 virtual consoles, flags=0x0>
> atkbdc0 at 0x60-0x6f on motherboard
> atkbd0 irq 1 on isa
> psm0 irq 12 on isa
> psm0: model Generic PS/2 mouse, device ID 0
> sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
> sio0: type 16550A
> sio1 at 0x2f8-0x2ff irq 3 on isa
> sio1: type 16550A
> fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: 1.44MB 3.5in
> wdc0 not found at 0x1f0
> wdc1 not found at 0x170
> ida0: drvs=1 firm_rev=2.26
> ida0 at 0x1000-0x1fff irq 10 on eisa slot 1
> ida0: unit 0 (id0): <Compaq Logical Drive>
> id0: 6018MB (12326634 total sec), 954 cyl, 219 head, 59 sec, bytes/sec 512
> ida: wdc vector stealing on (mode = always, boot major = 0)
> ppc0 at 0x3bc irq 7 flags 0x40 on isa
> ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
> lpt0: <generic printer> on ppbus 0
> lpt0: Interrupt-driven port
> ppi0: <generic parallel i/o> on ppbus 0
> plip0: <PLIP network interface> on ppbus 0
> lpt0: <generic printer> on ppbus 0
> lpt0: Interrupt-driven port
> vga0 at 0x3b0-0x3df maddr 0xa0000 msize 131072 on isa
> npx0 on motherboard
> npx0: INT 16 interface
> Intel Pentium detected, installing workaround for F00F bug
> Waiting 15 seconds for SCSI devices to settle
> sa0 at ncr0 bus 0 target 6 lun 0
> sa0: <ARCHIVE 4326XX 03813-XXX 645a> Removable Sequential Access SCSI-2 device
> sa0: 7.812MB/s transfers (7.812MHz, offset 8)
> changing root device to wd0s1a
> cd0 at ncr0 bus 0 target 5 lun 0
> cd0: <COMPAQ CD-ROM CR-503BCQ 1.1i> Removable CD-ROM SCSI-2 device
> cd0: 3.300MB/s transfers
> cd0: Attempt to query device size failed: NOT READY, Medium not present


-- 

+* $B%*%*%$%F%/%N3t<02q<R(B $B%S%8%M%9%7%9%F%`;v6HIt(B
+* $BEOJU(B $B3X(B < manyabu.nabe@ooi.co.jp >
