From owner-freebsd-bugs@FreeBSD.ORG Thu Oct 9 15:30:05 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4272A16A4BF for ; Thu, 9 Oct 2003 15:30:05 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F9F743FD7 for ; Thu, 9 Oct 2003 15:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h99MU2FY018500 for ; Thu, 9 Oct 2003 15:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h99MU2KV018499; Thu, 9 Oct 2003 15:30:02 -0700 (PDT) (envelope-from gnats) Resent-Date: Thu, 9 Oct 2003 15:30:02 -0700 (PDT) Resent-Message-Id: <200310092230.h99MU2KV018499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joao Pedras Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 174F016A4B3 for ; Thu, 9 Oct 2003 15:22:12 -0700 (PDT) Received: from mail.portrait.com (mail.portrait.com [66.121.155.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C03343FAF for ; Thu, 9 Oct 2003 15:22:11 -0700 (PDT) (envelope-from jpedras@webvolution.net) Received: from bottle (tintin.portrait.com [66.121.155.155]) (authenticated bits=0) by mail.portrait.com (8.12.6p2/8.12.6) with ESMTP id h99MM2bl056455 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 9 Oct 2003 15:22:03 -0700 (PDT) (envelope-from jpedras@webvolution.net) Message-Id: <20031009152209.434030e9.jpedras@webvolution.net> Date: Thu, 9 Oct 2003 15:22:09 -0700 From: Joao Pedras To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/57818: 4.9-RC panics when kernel is built with apm X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 22:30:05 -0000 >Number: 57818 >Category: kern >Synopsis: 4.9-RC panics when kernel is built with apm >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Oct 09 15:30:01 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Joao Pedras >Release: FreeBSD 4.9-RC i386 >Organization: >Environment: System: FreeBSD bottle 4.9-RC FreeBSD 4.9-RC #17: Thu Oct 9 10:07:49 PDT 2003 root@bottle:/usr/obj/usr/src/sys/BOTTLE i386 IBM ThinkPad A31 (P4; latest firmware updates) >Description: After going over the usual steps to update this laptop from 4.9-PRERELEASE to 10-09-03's -stable I got a kernel panic when booting the new kernel. I didn't change anything in the kernel config or anywhere else for that matter. This laptop has been running sucessfully several versions of -stable over the last year. buildworld, buildkernel and friends were 100% sucessfull. I presented this situation in the freebsd-stable mailing list and Kevin Oberman suggested me to build and try to boot up a kernel without apm. His sugestion was a good one so now the kernel boots up successfully. I guess this could indicate a problem with apm. Here is the output: apm0: on motherboard Kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode fault virtual address = 0x36 fault code = supervisor write, page not present instruction pointer = 0x8:0xc025b240 stack pointer = 0x10:0xc0436d6e frame pointer = 0x10:0xc0436e0e code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def 32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (swapper) interrupt mask = net tty bio com trap number = 12 panic: page fault uptime : 0s Automatic reboot in 15 seconds Here is the kernel config : machine i386 #cpu I386_CPU #cpu I486_CPU #cpu I586_CPU cpu I686_CPU ident BOTTLE maxusers 0 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols #options MATH_EMULATE #Support for x87 emulation options INET #InterNETworking #options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support options UFS_DIRHASH #Improve performance on big directories #options MFS #Memory Filesystem #options MD_ROOT #MD is a potential root device options NFS #Network Filesystem #options NFS_ROOT #NFS usable as root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem #options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options ICMP_BANDLIM #Rate limit bad replies options KBD_INSTALL_CDEV # install a CDEV entry in /dev options NO_F00F_HACK options RANDOM_IP_ID options IPFILTER options IPFILTER_LOG options IPFILTER_DEFAULT_BLOCK options ICMP_BANDLIM #options DEVICE_POLLING #options HZ=1000 options SC_DISABLE_REBOOT options SC_HISTORY_SIZE=500 options SC_KERNEL_CONS_ATTR="(FG_GREEN|BG_BLACK)" options SC_KERNEL_CONS_ATTR="(FG_BLACK|BG_GREEN)" options CONSPEED=38400 options CPU_ENABLE_SSE options USER_LDT options IPSEC #IP security options IPSEC_ESP #IP security (crypto; define w/ IPSEC) device isa device eisa device pci # Floppy drives #device fdc0 at isa? port IO_FD1 irq 6 drq 2 #device fd0 at fdc0 drive 0 #device fd1 at fdc0 drive 1 # # If you have a Toshiba Libretto with its Y-E Data PCMCIA floppy, # don't use the above line for fdc0 but the following one: #device fdc0 # ATA and ATAPI devices device ata0 at isa? port IO_WD1 irq 14 device ata1 at isa? port IO_WD2 irq 15 device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapicam #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # SCSI peripherals device scbus # SCSI bus (required) device da # Direct Access (disks) #device sa # Sequential Access (tape etc) #device cd # CD device pass # Passthrough device (direct SCSI access) # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 flags 0x1 device psm0 at atkbdc? irq 12 device vga0 at isa? # splash screen/screen saver pseudo-device splash # syscons is the default console driver, resembling an SCO console device sc0 at isa? flags 0x100 # Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver #device vt0 at isa? #options XSERVER # support for X server on a vt console #options FAT_CURSOR # start with block cursor # If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines #options PCVT_SCANSET=2 # IBM keyboards are non-std # Floating point support - do not disable. device npx0 at nexus? port IO_NPX irq 13 # Power management support (see LINT for more options) #device apm0 # Advanced Power Management # PCCARD (PCMCIA) support device card device pcic0 at isa? irq 0 port 0x3e0 iomem 0xd0000 device pcic1 at isa? irq 0 port 0x3e2 iomem 0xd4000 disable # Serial (COM) ports device sio0 at isa? port IO_COM1 flags 0x10 irq 4 #device sio1 at isa? port IO_COM2 irq 3 #device sio2 at isa? disable port IO_COM3 irq 5 #device sio3 at isa? disable port IO_COM4 irq 9 # Parallel port device ppc0 at isa? irq 7 device ppbus # Parallel port bus (required) device lpt # Printer #device plip # TCP/IP over parallel #device ppi # Parallel port interface device #device vpo # Requires scbus and da # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! device miibus # MII bus support device fxp # Intel EtherExpress PRO/100B (82557, 82558) # Xircom Ethernet device xe device ed0 at isa? port 0x280 irq 5 iomem 0xd8000 # WaveLAN/IEEE 802.11 wireless NICs. Note: the WaveLAN/IEEE really # exists only as a PCMCIA device, so there is no ISA attachment needed # and resources will always be dynamically assigned by the pccard code. device wi # Pseudo devices - the number indicates how many units to allocate. pseudo-device loop # Network loopback pseudo-device ether # Ethernet support #pseudo-device sl 1 # Kernel SLIP pseudo-device ppp 1 # Kernel PPP pseudo-device tun # Packet tunnel. pseudo-device pty # Pseudo-ttys (telnet etc) #pseudo-device md # Memory "disks" pseudo-device gif # IPv6 and IPv4 tunneling #pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! pseudo-device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device uscanner # Scanners #device urio # Diamond Rio MP3 Player # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet device pcm >How-To-Repeat: Upgrade your 4-stable (specifically a 4.9-PRE-RELEASE) to 4.9-RC (Oct 8, 2003) >Fix: # >Release-Note: >Audit-Trail: >Unformatted: SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with `SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in `<' and `>'). SEND-PR: SEND-PR: Please consult the following URL if you are not sure how to SEND-PR: fill out a problem report: SEND-PR: http://www.freebsd.org/doc/en/articles/problem-reports/article.html SEND-PR: SEND-PR: Note that the Synopsis field is mandatory. SEND-PR: SEND-PR: Please note that (unless you state otherwise) if your report SEND-PR: includes a patch then it will be taken under the same license as SEND-PR: the one on the file(s) you want to change. SEND-PR: SEND-PR: BE ADVISED THAT FREEBSD PROBLEM REPORTS ARE PUBLIC INFORMATION AND SEND-PR: WILL BE PUBLISHED AS-IS ON THE PROJECT'S MAILING LISTS AND WEB SITES. SEND-PR: DO NOT SUBMIT ANY INFORMATION YOU DO NOT WANT MADE PUBLIC. SEND-PR: SEND-PR: For sensitive security issues, consider contacting the FreeBSD SEND-PR: security officer team (security-officer@freebsd.org) directly. SEND-PR: SEND-PR: Choose from the following categories: SEND-PR: SEND-PR: advocacy alpha bin conf docs gnu SEND-PR: i386 ia64 java kern misc ports SEND-PR: powerpc sparc64 standards www SEND-PR: To: FreeBSD-gnats-submit@freebsd.org From: Joao Pedras Reply-To: Joao Pedras Cc: X-send-pr-version: 3.113 X-GNATS-Notify: