From owner-freebsd-current Mon Mar 13 02:50:45 1995 Return-Path: current-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id CAA01623 for current-outgoing; Mon, 13 Mar 1995 02:50:45 -0800 Received: from uclink3.berkeley.edu (uclink3.Berkeley.EDU [128.32.136.74]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id CAA01586; Mon, 13 Mar 1995 02:50:31 -0800 Received: from uclink.berkeley.edu by uclink3.berkeley.edu (8.6.9/1.33(web)-OV2) id BAA02913; Mon, 13 Mar 1995 01:40:56 -0800 Received: by uclink.berkeley.edu (8.6.9/1.33(web)-OV4) id BAA00247; Mon, 13 Mar 1995 01:40:55 -0800 Date: Mon, 13 Mar 1995 01:40:55 -0800 From: jmacd@uclink.berkeley.edu (Joshua Peck Macdonald) Message-Id: <199503130940.BAA00247@uclink.berkeley.edu> To: freebsd-bugs@FreeBSD.org, freebsd-current@FreeBSD.org Subject: ncr0 panic in current kernel sources Sender: current-owner@FreeBSD.org Precedence: bulk Hi, having problems here with the current (supped latest at about 12:00AM Sun, Mar 12) kernel sources. This problem also goes back a week or two, because I have tried several other kernels, one built as far back as 2/25, one which should be compatible, except for several peripheral addresses. The problem comes when the kernel probes the ncr0 device at startup. As you can see, it panics: ncr0 int a irq 12 on pci0:17 reg20: virtual = 0xf2dc4000 physical = 0xffbdff00 CACHE TEST FAILED: reg dstat=sstat2 readback ffffffff. CACHE INCORRECTLY CONFIGURED vga0 on pci0:18 Fatal trap 12: page fault while in kernel mode. fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xf017097d code segment = base0x0, limit 0xfffff, type 0x16 = DPL0, pres1, def32 1, gran 1 processor eflags = interupt enabled, resume, IOPL=0 current process = 0 () interupt mask = panic: page fault hit reset please This is for a P90 running on a (its crap damnit!! I'm getting a new one soon) OPTi based VL/Super Motherboard, with the NCR card on pci int a, mapped to isa irq 12, as you can see. I notice that the addresses listed for the ncr device are different in the good boot. Oh, another note, these kernels that are failing were all built on different machines, that shouldn't matter should it? This particular one was built by swallace@freebsd.org. This is a normal boot on a kernel built from the 2/10 SNAP sources, I would be very content with this kernel except I forgot to compile in ptys so now I'm kind of stuck. Is this a hardware problem, or what? I can't really figure it out. FreeBSD 2.1.0-Development #0: Sat Mar 11 21:38:31 PST 1995 jmacd@axis.HIP.Berkeley.EDU:/usr/src/sys/compile/AXIS CPU: Pentium (Pentium-class CPU) 91 MHz Id = 0x521 Origin = "GenuineIntel" real memory = 16384000 (4000 pages) avail memory = 14934016 (3646 pages) Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> ed0 at 0x220-0x23f irq 5 maddr 0xcc000 msize 16384 on isa ed0: address 00:00:c0:db:4a:8e, type SMC8416C/SMC8416BT (16 bit) bpf: ed0 attached sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x378-0x37f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: (NEC 765) [0: fd0: 1.44MB 3.5in] wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 329MB (675450 total sec), 790 cyl, 15 head, 57 sec, bytes/sec 512 npx0 on motherboard npx0: INT 16 interface snd2 at 0x240 irq 7 drq 1 on isa snd2: snd6 at 0x0 drq 5snd6: snd7 at 0x330 on isa snd7: snd1 at 0x388 on isa snd1: pci0: scanning device 0..31, mechanism=1. pci0:16: OPTI, device=0xc822, class=bridge [not supported] ncr0 int a irq 12 on pci0:17 reg20: virtual=0xf2ddb000 physical=0xc0000000 ncr0: restart (scsi reset). ncr0 scanning for targets 0..6 (V2 pl10 95/02/06) ncr0 waiting for scsi devices to settle ncr0 targ 0 lun 0: type 0(direct) fixed SCSI2 ncr0 targ 0 lun 0: sd0(ncr0:0:0): FAST SCSI-2 100ns (10 Mb/sec) offset 8. sd0: 1029MB (2109376 total sec), 2874 cyl, 8 head, 91 sec, bytes/sec 512 ncr0 targ 1 lun 0: type 5(readonly) removable SCSI2 ncr0 targ 1 lun 0: cd0: cd present.[208702 x 2048 byte records] vga0 on pci0:18 pci uses physical addresses from 0xc0000000 to 0xc0001000 -josh