From owner-freebsd-bugs Fri Jul 28 3: 0:15 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 765F437BABB for ; Fri, 28 Jul 2000 03:00:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA56847; Fri, 28 Jul 2000 03:00:09 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Fri, 28 Jul 2000 03:00:09 -0700 (PDT) Message-Id: <200007281000.DAA56847@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Stas Kisel Subject: Re: kern/19726: fatal trap 12 / page fault Reply-To: Stas Kisel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/19726; it has been noted by GNATS. From: Stas Kisel To: sheldonh@uunet.co.za, stask@tiger.thukraine.com Cc: freebsd-gnats-submit@FreeBSD.org, jblaine@linus.mitre.org Subject: Re: kern/19726: fatal trap 12 / page fault Date: Fri, 28 Jul 2000 12:56:52 +0300 > From: Sheldon Hearn > On Thu, 27 Jul 2000 17:57:02 +0300, Stas Kisel wrote: > Waahoo. Your dmesg(8) output looks interesting. Check this out: > > > pci0: (vendor=0x1050, dev=0x0940) at 15.0 irq 11 > > rl0: port 0xe400-0xe4ff mem 0xfebeff00-0xfebeffff irq 9 at device 16.0 on pci0 > > rl1: port 0xe000-0xe0ff mem 0xfebefe00-0xfebefeff irq 11 at device 17.0 on pci0 > > Notice in particular the IRQ reserved for both pci0 and rl1, both with > _different_ PCI device IDs. :-) > > Jeff doesn't seem to have this problem, however. Nevertheless, > something weird is definitely going on. Somebody give me a backtrace > with debugging symbols and we'll send this to Bill. :-) Our hardware guru says that it is normal for pci2 devices to share irq. Anyways after I've assigned irq's with BIOS setup and swapped cards I've got page fault. So I have backtrace and new dmesg. \bye Stas IdlePTD 3317760 initial pcb at 2ac8e0 panicstr: page fault panic messages: --- Fatal trap 12: page fault while in kernel mode fault virtual address = 0x8 fault code = supervisor read, page not present instruction pointer = 0x8:0xc018d36c stack pointer = 0x10:0xc028e964 frame pointer = 0x10:0xc028e96c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = Idle interrupt mask = trap number = 12 panic: page fault syncing disks... 9 2 done Uptime: 13h57m22s dumping to dev #ad/0x20001, offset 380928 dump ata0: resetting devices .. done 64 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 1 1 10 9 8 7 6 5 4 3 2 1 --- #0 boot (howto=256) at ../../kern/kern_shutdown.c:304 304 dumppcb.pcb_cr3 = rcr3(); (kgdb) bt #0 boot (howto=256) at ../../kern/kern_shutdown.c:304 #1 0xc0138bac in poweroff_wait (junk=0xc0283eef, howto=0) at ../../kern/kern_shutdown.c:554 #2 0xc0251cd9 in trap_fatal (frame=0xc028e924, eva=8) at ../../i386/i386/trap.c:924 #3 0xc02519b1 in trap_pfault (frame=0xc028e924, usermode=0, eva=8) at ../../i386/i386/trap.c:817 #4 0xc02515a7 in trap (frame={tf_fs = -1071775728, tf_es = -1067712496, tf_ds = -1067778032, tf_edi = -1, tf_esi = 0, tf_ebp = -1071060628, tf_isp = -1071060656, tf_ebx = 0, tf_edx = 40, tf_ecx = 0, tf_eax = -1067746560, tf_trapno = 12, tf_err = 0, tf_eip = -1072114836, tfcs = 8, tf_eflags = 66118, tf_esp = 0, tf_ss = 0}) at ../../i386/i386/trap.c:423 #5 0xc018d36c in arpintr () at ../../netinet/if_ether.c:447 (kgdb) Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-RELEASE #4: Thu Jul 27 14:56:23 EEST 2000 root@btr.thukraine.com:/usr/src/sys/compile/btr Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (501.14-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x665 Stepping = 5 Features=0x183fbff real memory = 67108864 (65536K bytes) config> di ppc0 config> q avail memory = 61677568 (60232K bytes) Preloaded elf kernel "kernel" at 0xc0318000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc031809c. Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 7.2 irq 10 chip1: port 0x440-0x44f at device 7.3 on pci0 pci0: at 15.0 rl0: port 0xe400-0xe4ff mem 0xfebeff00-0xfebeffff irq 9 at device 16.0 on pci0 rl0: Ethernet address: 00:50:ba:83:7a:09 miibus0: on rl0 rlphy0: on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl1: port 0xe000-0xe0ff mem 0xfebefe00-0xfebefeff irq 7 at device 17.0 on pci0 rl1: Ethernet address: 00:50:ba:83:99:c7 miibus1: on rl1 rlphy1: on miibus1 rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: (vendor=0x1050, dev=0x0940) at 18.0 irq 11 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry by default DUMMYNET initialized (000106) BRIDGE 990810, have 8 interfaces -- index 1 type 6 phy 0 addrl 6 addr 00.50.ba.83.7a.09 -- index 2 type 6 phy 0 addrl 6 addr 00.50.ba.83.99.c7 IP Filter: initialized. Default = pass all, Logging = enabled IP Filter: v3.3.8 ad0: 6149MB [13328/15/63] at ata0-master using UDMA33 Mounting root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted cd9660: RockRidge Extension cd9660: RockRidge Extension cd9660: RockRidge Extension ppp0: promiscuous mode enabled ppp0: promiscuous mode disabled To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message