Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Oct 2001 07:18:11 -0500 (EST)
From:      "Ilmar S. Habibulin" <ilmar@watson.org>
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>

next in thread | raw e-mail | index | archive | help

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
<date time> 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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
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: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <OID_00 RSDT_000> 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: <CPU> on acpi0
acpi_acad0: <AC adapter> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_cmbat0: <Control method Battery> on acpi0
acpi_button0: <Sleep Button> on acpi0
acpi_button1: <Power Button> on acpi0
acpi_pcib0: <Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <PCI bus> on acpi_pcib0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1100-0x110f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> 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: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcic0: <TI PCI-1225 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1225 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1
csa0: <CS4280/CS4614/CS4622/CS4624/CS4630> mem 0xe9000000-0xe90fffff,0xe8000000-0xe8000fff irq 5 at device 9.0 on pci0
csa: card is Unknown/invalid SSID (CS4614)
pcm0: <CS461x PCM Audio> on csa0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <NEC 72065B or clone> 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: <embedded controller> port 0x66,0x62 on acpi0
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xf1000-0xf1fff on isa0
pmtimer0 on isa0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
RTC BIOS diagnostic error 20<config_unit>
acpi_cpu0: set speed to 100.0%
acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
system power profile changed to 'economy'
acpi_cpu0: set speed to 50.0%
ata1-slave: ata_command: timeout waiting for intr
ata1-slave: ATAPI identify failed
ad0: 9590MB <FUJITSU MHM2100AT> [19485/16/63] at ata0-master UDMA33
acd0: MODE_SENSE_BIG trying to write on read buffer
acd0: MODE_SENSE_BIG - NO SENSE asc=0x00 ascq=0x00 error=0x04
acd0: CDROM <CD-224E> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s2a
WARNING: / was not properly dismounted

Any instruction or help to trace and solve the problem?
Thank you.



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011031064753.B77432-100000>