We have three Tyan GT20 (2865) NForce4 based machines with a single- core Opteron and 2 GB of RAM, running stable i386 from two days ago. (dmesg and kernconf attached.) Often, but not always, we get the following panic when logging out on the serial console, or when rebooting the system. Another machine with the same mainboard does not exhibit this behavior. Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x20:0x0 stack pointer = 0x28:0xe8146904 frame pointer = 0x28:0xe8146928 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 = 41877 (getty) trap number = 12 panic: page fault Uptime: 23h33m52s Physical memory: 1018 MB Dumping 167 MB: 152 136 120 104 88 72 56 40 24 8 Dump complete Automatic reboot in 15 seconds - press a key on the console to abort KDB: enter: Break sequence on console [thread pid 41877 tid 100339 ] Stopped at kdb_enter+0x30: leave db> trace Tracing pid 41877 tid 100339 td 0xc677b600 kdb_enter(c06e1453,c47f98f8,26d2e9e,f000,c06ff798,...) at kdb_enter+0x30 siointr1(c47f9800,c47e7e00,c46a8cc4,e8146710,c069241c,...) at siointr1 +0xe1 siointr(c47f9800,c6c5e200,e8146710,0,c677b600,...) at siointr+0x3f intr_execute_handlers(c46a8cc4,e8146728,e8146770,c068e5e3,38,...) at intr_execute_handlers+0x10c lapic_handle_intr(38) at lapic_handle_intr+0x3a Xapic_isr1() at Xapic_isr1+0x33 --- interrupt, eip = 0xc06980a7, esp = 0xe814676c, ebp = 0xe8146770 --- spinlock_exit(f0c3,b492,e81467a4,c06a57d5,c7fa80ff,...) at spinlock_exit+0x27 getit(c7fa80ff,1b,f4240,0,10,...) at getit+0x63 DELAY(186a0,f,c469f000,e81467f0,c050a834,...) at DELAY+0xc5 shutdown_panic(0,104,c06d0c9d,c052aa40,e81467dc,...) at shutdown_panic +0x32 boot(104,c0723860,c06c3ca9,e8146828,100,...) at boot+0x594 panic(c06c3ca9,c06e4bbe,c738b7d0,1,1,...) at panic+0x13d trap_fatal(e81468c4,0,1,0,c058545a,...) at trap_fatal+0x30e trap_pfault(e81468c4,0,0,c677b600,0,...) at trap_pfault+0x242 trap(8,28,28,c47f9400,c47f9800,...) at trap+0x34d calltrap() at calltrap+0x5 --- trap 0xc, eip = 0, esp = 0xe8146904, ebp = 0xe8146928 --- (null)(c47f94ac,0,0) at 0 ttwwakeup(c47f9400,c677b600,3,c47f9800,3,...) at ttwwakeup+0xe4 comstart(c47f9400,1c200,0,14698c,1,...) at comstart+0x2d7 comparam(c47f9400,c47f94c4,0,c07029c0,e81469bc,...) at comparam+0x31f ttyopen(c47f7000,3,2000,c677b600,0,...) at ttyopen+0x24f giant_open(c47f7000,3,2000,c677b600,e8146a18,...) at giant_open+0x71 devfs_open(e8146a50,e8146b0c,c058423d,c06f7580,e8146a50,...) at devfs_open+0x272 VOP_OPEN_APV(c06f7580,e8146a50,e8146a68,2274c0,0,...) at VOP_OPEN_APV +0x43 vn_open_cred(e8146bc0,e8146cc0,1,c46abe80,0,...) at vn_open_cred+0x49d vn_open(e8146bc0,e8146cc0,1,0,c4963cf8,...) at vn_open+0x33 kern_open(c677b600,804f9c0,0,3,3,...) at kern_open+0xc8 open(c677b600,e8146d04,c,c677b600,8053000,...) at open+0x36 syscall(3b,3b,3b,2,804f9c0,...) at syscall+0x362 Xint0x80_syscall() at Xint0x80_syscall+0x1f --- syscall (5, FreeBSD ELF32, open), eip = 0x28150747, esp = 0xbfbfee1c, ebp = 0xbfbfee48 --- (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc050a7b4 in boot (howto=260) at /usr/src/sys/kern/ kern_shutdown.c:409 #2 0xc050ab0d in panic (fmt=0xc06c3ca9 "%s") at /usr/src/sys/kern/kern_shutdown.c:565 #3 0xc06a250e in trap_fatal (frame=0xe81468c4, eva=0) at /usr/src/sys/i386/i386/trap.c:837 #4 0xc06a21d2 in trap_pfault (frame=0xe81468c4, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:745 #5 0xc06a1d4d in trap (frame {tf_fs = 8, tf_es = 40, tf_ds = 40, tf_edi = -998272000, tf_esi = -998270976, tf_ebp = -401315544, tf_isp = -401315600, tf_ebx = -998272000, tf_edx = -998271828, tf_ecx = -998272000, tf_eax = 0, tf_trapno = 12, tf_err = 0, tf_eip = 0, tf_cs = 32, tf_eflags = 66118, tf_esp = -1068597499, tf_ss = 0}) at /usr/src/sys/i386/i386/trap.c:435 #6 0xc068e22a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0x00000000 in ?? () Previous frame inner to this frame (corrupt stack?) (kgdb) list ttwwakeup+0xe4 Junk at end of line specification. (kgdb) print ttwwakeup $1 = {void (struct tty *)} 0xc0544f10 <ttwwakeup> (kgdb) list *0xc0544ff4 0xc0544ff4 is in ttwwakeup (/usr/src/sys/kern/tty.c:2459). 2454 tp->t_outq.c_cc <= tp->t_olowat) { 2455 CLR(tp->t_state, TS_SO_OLOWAT); 2456 wakeup(TSA_OLOWAT(tp)); 2457 } 2458 KNOTE_UNLOCKED(&tp->t_wsel.si_note, 0); 2459 } 2460 2461 /* 2462 * Look up a code for a specified speed in a conversion table; 2463 * used by drivers to map software speed values to hardware parameters. -------------- next part -------------- Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-PRERELEASE #2: Wed Oct 25 16:27:46 CEST 2006 root@endeavour.tallence.de:/usr/obj/usr/src/sys/SHUTTLE acpi_alloc_wakeup_handler: can't alloc wake memory ACPI APIC Table: <Nvidia AWRDACPI> Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 148 (2210.20-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f71 Stepping = 1 Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> Features2=0x1<SSE3> AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow> AMD Features2=0x1<LAHF> real memory = 2146304000 (2046 MB) avail memory = 2094981120 (1997 MB) ioapic0 <Version 1.1> irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: <Nvidia AWRDACPI> on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR unknown: I/O range not supported Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pci0: <ACPI PCI bus> on pcib0 pci0: <memory> at device 0.0 (no driver attached) isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> mem 0xfebff000-0xfebfffff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: <OHCI (generic) USB controller> on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 8 ports with 8 removable, self powered ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED] usb1: waiting for BIOS to give up control usb1: timed out waiting for BIOS usb1: EHCI version 1.0 usb1: companion controller, 4 ports each: usb0 usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0 usb1: USB revision 2.0 uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub1: 8 ports with 8 removable, self powered atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe000-0xe00f at device 6.0 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xcc00-0xcc0f mem 0xfebfb000-0xfebfbfff irq 23 at device 7.0 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xb800-0xb80f mem 0xfebfa000-0xfebfafff irq 21 at device 8.0 on pci0 ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 5.0 (no driver attached) nve0: <NVIDIA nForce MCP9 Networking Adapter> port 0xb400-0xb407 mem 0xfebf9000-0xfebf9fff irq 22 at device 10.0 on pci0 nve0: Ethernet address 00:e0:81:59:cd:e9 miibus0: <MII bus> on nve0 ukphy0: <Generic IEEE 802.3u media interface> on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:e0:81:59:cd:e9 pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci2: <ACPI PCI bus> on pcib2 pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0 pci4: <ACPI PCI bus> on pcib4 bge0: <Broadcom BCM5750 B1, ASIC rev. 0x4101> mem 0xfe5f0000-0xfe5fffff irq 19 at device 0.0 on pci4 miibus1: <MII bus> on bge0 brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto bge0: Ethernet address: 00:e0:81:59:cd:e8 pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0 pci5: <ACPI PCI bus> on pcib5 acpi_tz0: <Thermal Zone> on acpi0 fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A, console sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff on isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2210195980 Hz quality 800 Timecounters tick every 1.000 msec acd0: CDROM <CD-224E-N/1.AA> at ata0-slave UDMA33 ad4: 239372MB <Maxtor 7Y250M0 YAR51HW0> at ata2-master SATA150 ad6: 239372MB <Maxtor 7Y250M0 YAR51EW0> at ata3-master SATA150 Trying to mount root from ufs:/dev/ad4s1a WARNING: / was not properly dismounted bge0: link state changed to UP -------------- next part -------------- machine i386 cpu I686_CPU ident SHUTTLE makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options PSEUDOFS # Pseudo-filesystem framework options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options GEOM_MIRROR options KDB options KDB_UNATTENDED options DDB options BREAK_TO_DEBUGGER options ALT_BREAK_TO_DEBUGGER # Make map large enough for 4 GB RAM options VM_KMEM_SIZE_MAX=(768*1024*1024) device apic # I/O APIC # Bus support. device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets device pmtimer # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # PCI Ethernet NICs. device em # Intel PRO/1000 adapter Gigabit Ethernet Card device miibus # MII bus support device bge # Broadcom BCM570xx Gigabit Ethernet device fxp # Intel EtherExpress PRO/100B (82557, 82558) device nve # nVidia nForce MCP on-board Ethernet Networking device vlan #VLAN support (needs miibus) # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard -------------- next part -------------- -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140