Subject: Re: kernel hang on boot/i386, atapi
To: None <thorpej@nas.nasa.gov>
From: Phil Nelson <phil@cs.wwu.edu>
List: current-users
Date: 09/12/1997 11:47:09
>Does the kernel find both wdc0 and wdc1?  If not, what happens when you
>disable only the one that's not found?

a) I reenabled wdc0 .... and it booted fine.

b) I reenabled wdc1 .... and I got the following compile error!

cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../..
/arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DEXEC_AOUT -D
EXEC_SCRIPT -DI386_CPU -DI486_CPU -DI586_CPU -DI686_CPU -DMATH_EMULATE -DXSERVER
 -DUCONSOLE -DINSECURE -DRTC_OFFSET="0" -DDDB -DDIAGNOSTIC -DKTRACE -DSYSVMSG -D
SYSVSEM -DSYSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12
 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPA
T_FREEBSD -DEXEC_ELF32 -DUSER_LDT -DLKM -DFFS -DEXT2FS -DLFS -DMFS -DNFS -DCD966
0 -DFDESC -DKERNFS -DNULLFS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DQUOTA -DNFSSERV
ER -DFIFO -DINET -DNS -DISO -DTPIP -DEON -DCCITT -DLLC -DHDLC -DEISAVERBOSE -DPC
IVERBOSE -DSCSIVERBOSE -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../dev/isa/w
dc.c
cc1: warnings being treated as errors
../../../../dev/isa/wdc.c: In function `wdcintr':
../../../../dev/isa/wdc.c:990: warning: control reaches end of non-void function
*** Error code 1

Stop.


Note:  I did not reenable "wd* ..." or the atapi stuff.


-- 
Phil Nelson                       NetBSD: http://www.netbsd.org
e-mail: phil@cs.wwu.edu           LPF: http://www.lpf.org
http://www.cs.wwu.edu/~phil       !gifs: http://www.lpf.org/Patents/Gif/Gif.html