Subject: problems with new kernel
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Drew Hess <dhess@CS.Stanford.EDU>
List: netbsd-bugs
Date: 11/07/1993 00:47:13
This morning I rebuilt NetBSD, including all binaries, libraries, and the
kernel.  I used the most recently sup'ed source (Nov. 6).  I rebuilt all
executables using shared libraries except those in /bin and /sbin and ld,
gcc, and gas.  Yes, I made ld, gcc, and gas before compiling any other 
source.

When booting off the new kernel, I get a panic as soon as I try to start
Xfree 2.0 (which is statically linked; basically, it's the Xfree binaries
that are available on agate.berkeley.edu for NetBSD).

Here's the relevant info from my /var/run/messages:


Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd:   dhess@tip-mp4-ncs-9.stanford.edu:/usr/src/sys/arch/i386/compile/ELSIE-WD
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: CPU: i486DX (486-class CPU)
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: real mem  = 25161728
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: avail mem = 22269952
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: using 307 buffers containing 1257472 bytes of memory
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: pc0 at 0x60-0x6f irq 1 on isa
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: pc0: color
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: com0 at 0x3f8-0x3ff irq 4 on isa
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: com1 at 0x2f8-0x2ff irq 3 on isa
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: com1: fifo
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: wdc0 at 0x1f0-0x1f7 irq 14 on isa
Nov  6 23:13:11 tip-mp4-ncs-9 /netbsd: wd0 at wdc0 targ 0: 325MB 1010 cyl, 12 head, 55 sec <WDC AC2340>
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: bt0 reading board settings, 
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd:   **bt0 at 0x330-0x337 irq 11 on isa
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: bt0 targ 0 lun 0: type 0(direct) fixed <CONNER  CP30540 545MB3.5AFBD> SCSI2
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: sd0 at bt0 targ 0 lun 0: 518MB 2242 cyl, 6 head, 79 sec, 512 byte/sec
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: fd0 at fdc0 targ 0: 1.44MB 80 cyl, 2 head, 18 sec
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: npx0 at 0xf0-0xff on isa
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: npx0: using exception 16
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: biomask 4840 ttymask 1a netmask 8000 impmask 1a
Nov  6 23:13:12 tip-mp4-ncs-9 /netbsd: wdc0: extra interrupt
Nov  6 23:13:15 tip-mp4-ncs-9 lpd[76]: bind: Can't assign requested address
Nov  6 23:13:34 tip-mp4-ncs-9 su: dhess to root on /dev/vga
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: panic: vm_fault: absent or active or inactive or not busy after main loop
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: syncing disks... 9 9 7 1 done
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: 
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: dumping to dev 401, offset 0
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: dump device bad
Nov  6 23:15:12 tip-mp4-ncs-9 /netbsd: 
Nov  6 23:15:13 tip-mp4-ncs-9 /netbsd: 




I got the same result after trying this a second time.

I then booted up using my 3 or 4-day old kernel.  Xfree 2.0 works fine now.
However, before running Xfree 2.0 I tried to "more" a file and got some
sort of ioctl device error; sorry, don't remember the exact message, and
I'm running X now so I can't reproduce it immediately.  I'll try to reproduce
it next time I'm at the console.

BTW, kernel configs are exactly the same.

If this isn't sufficient information, let me know what I need to do (build
a kernel with a debugger?) and if it doesn't take too long, I'll get
more specific info on the panic.

-dwh-
dhess@cs.stanford.edu

------------------------------------------------------------------------------