From owner-freebsd-current Wed Oct 31 4:18:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 08EEA37B403 for ; Wed, 31 Oct 2001 04:18:19 -0800 (PST) Received: from localhost (ilmar@localhost) by fledge.watson.org (8.11.6/8.11.5) with ESMTP id f9VCIC977767 for ; Wed, 31 Oct 2001 07:18:12 -0500 (EST) (envelope-from ilmar@watson.org) Date: Wed, 31 Oct 2001 07:18:11 -0500 (EST) From: "Ilmar S. Habibulin" To: freebsd-current@freebsd.org Subject: Fatal trap 12 with recent current (notebook with network pc-card) Message-ID: <20011031064753.B77432-100000@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I have Mitac 7020 notebook with Apollo 10/100M Fast Ethernet PC Card. Today i cvsuped recent current and now kernel panics ufter card insertion with the folowing message: pccard: card inserted, slot 0 mobile pccardd[186]: Card "Dual Speed"("10/100 PC Card") [1.0] [ ] matched "Dual Speed" ("/10/100( Port Attached)? PC Card/") [(null)] [(null)] Fatal trap 12: page fault while in kernel mode fault virtual address = 0x3c fault core = supervisor write, page not present instruction pointer = 0x8:0xc01cceb1 stack pointer = 0x10:0xc698ab00 frame pointer = 0x10:0xc698ab00 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 = 186 (pccardd) kernel: type 12 trap, code=0 Stopped at device_set_flags+0x9: movl %eax,0x3c(%edx) kernel config is: # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the NOTES configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.313 2001/07/02 21:01:48 brooks Exp $ machine i386 cpu I686_CPU ident NOTEBOOK maxusers 32 #options VISUAL_USERCONFIG #visual boot -c editor #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" #Default places to look for devices. 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 SOFTUPDATES #Enable FFS soft updates support #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 root device, NFS required options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem 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 KBD_INSTALL_CDEV # install a CDEV entry in /dev # Debugging for use in -current options DDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS # To make an SMP kernel, the next two are needed #options SMP # Symmetric MultiProcessor Kernel #options APIC_IO # Symmetric (APIC) I/O device isa #device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc 1 # At keyboard controller device atkbd # at keyboard device psm # psm mouse device vga # VGA screen # splash screen/screen saver device splash # syscons is the default console driver, resembling an SCO console device sc 1 # Enable this for the pcvt (VT220 compatible) console driver #device vt #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 npx # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer #device acpica #options ACPI_DEBUG # PCCARD (PCMCIA) support device card # pccard bus device pcic # PCMCIA bridge # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports # Parallel port device ppc 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 ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards # Pseudo devices - the number indicates how many units to allocate. device random # Entropy device device loop # Network loopback device ether # Ethernet support #device sl # Kernel SLIP #device ppp 1 # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! 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 udbp # USB Double Bulk Pipe devices 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 urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet device pcm # Sound!!! ################################# # # options ATKBD_DFLT_KEYMAP makeoptions ATKBD_DFLT_KEYMAP="ru.koi8-r" options SC_DFLT_FONT makeoptions SC_DFLT_FONT="koi8-r" dmesg output is: Copyright (c) 1992-2001 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 5.0-CURRENT #0: Tue Oct 30 15:10:38 MSK 2001 root@mobile.:/usr/src/sys/i386/compile/NOTEBOOK Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 125348371 Hz CPU: Pentium III/Pentium III Xeon/Celeron (125.35-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x686 Stepping = 6 Features=0x387f9ff real memory = 67043328 (65472K bytes) avail memory = 60870656 (59444K bytes) Preloaded elf kernel "/boot/kernel/kernel" at 0xc0449000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04490a8. Pentium Pro MTRR support enabled Using $PIR table, 5 entries at 0xc00fe840 npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard Timecounter "ACPI" frequency 3579545 Hz can't fetch resources for \\_SB_.PCI0.PX40.COPR - AE_BAD_DATA acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_cpu0: on acpi0 acpi_acad0: on acpi0 acpi_lid0: on acpi0 acpi_cmbat0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_pcib0: port 0xcf8-0xcff on acpi0 pci0: on acpi_pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x1100-0x110f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1040-0x105f irq 128 at device 7.2 on pci0 uhci0: Could not allocate irq device_probe_and_attach: uhci0 attach returned 6 pci0: at device 7.3 (no driver attached) pcic0: mem 0x44000000-0x44000fff irq 10 at device 8.0 on pci0 pcic0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pccard0: on pcic0 pcic1: mem 0x44001000-0x44001fff irq 10 at device 8.1 on pci0 pcic1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pccard1: on pcic1 csa0: mem 0xe9000000-0xe90fffff,0xe8000000-0xe8000fff irq 5 at device 9.0 on pci0 csa: card is Unknown/invalid SSID (CS4614) pcm0: on csa0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A acpi_ec0: port 0x66,0x62 on acpi0 orm0: