Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 00:21:25 GMT
From:      Hubert Tournier <hubert@tournier.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/46223: PC-CARD presence makes kernel panic
Message-ID:  <200212130021.gBD0LPCH003885@iris.co.fr.clara.net>

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

>Number:         46223
>Category:       i386
>Synopsis:       PC-CARD presence makes kernel panic
>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 Dec 12 15:30:02 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Hubert Tournier <hubert@frbsd.org>
>Release:        FreeBSD 5.0-DP2 i386
>Organization:
Home
>Environment:
System: FreeBSD 5.0-DP2 FreeBSD 5.0-DP2 #1: Sat Nov 16 13:38:33 GMT 2002
root@tomcat.bmah.org:/usr/obj/usr/src/sys/GENERIC i386

Machine : Toshiba Satellite 4080XCDT laptop
PC-CARD : Xircom CreditCard Ethernet 10/100+ Modem 56 (CEM56-100)

>Description:

I saw in the release notes that 16-bit PC Card support is not yet
functional, but is it normal that presence of the previously mentioned card
panics the kernel ? :

	kernel: Fatal trap 12: page fault while in kernel mode
	kernel: fault code = supervisor read, page not present
	kernel: panic: page fault

Relevant parts of /var/log/messages follows :

System started with PCMCIA card :

--- part1 begins here ---
[...]
Nov 25 00:02:39  kernel: cbb0: <ToPIC97 PCI-CardBus Bridge> at device 2.0 on pci0
Nov 25 00:02:39  kernel: cardbus0: <CardBus bus> on cbb0
Nov 25 00:02:39  kernel: pccard0: <16-bit PCCard bus> on cbb0
Nov 25 00:02:39  kernel: pcib0: slot 2 INTA is routed to irq 11
Nov 25 00:02:39  kernel: cbb1: <ToPIC97 PCI-CardBus Bridge> at device 2.1 on pci0
Nov 25 00:02:39  kernel: cardbus1: <CardBus bus> on cbb1
Nov 25 00:02:39  kernel: pccard1: <16-bit PCCard bus> on cbb1
Nov 25 00:02:39  kernel: pcib0: slot 2 INTB is routed to irq 11
[...]
Nov 25 00:02:40  kernel: acpi_cpu: CPU throttling enabled, 8 steps from 100% to 12.5%
Nov 25 00:02:40  kernel: 
Nov 25 00:02:40  kernel: 
Nov 25 00:02:40  kernel: Fatal trap 12: page fault while in kernel mode
Nov 25 00:02:40  kernel: fault virtual address	= 0xcb360000
Nov 25 00:02:40  kernel: fault code		= supervisor read, page not present
Nov 25 00:02:40  kernel: instruction pointer	= 0x8:0xc0236af5
Nov 25 00:02:40  kernel: stack pointer	        = 0x10:0xcaacf94c
Nov 25 00:02:40  kernel: frame pointer	        = 0x10:0xcaacfb78
Nov 25 00:02:40  kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
Nov 25 00:02:40  kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 25 00:02:40  kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Nov 25 00:02:40  kernel: current process		= 8 (cbb0)
Nov 25 00:02:40  kernel: trap number		= 12
Nov 25 00:02:40  kernel: panic: page fault
Nov 25 00:02:40  kernel: 
Nov 25 00:02:40  kernel: syncing disks... 
Nov 25 00:02:40  kernel: done
Nov 25 00:02:40  kernel: Uptime: 1s
Nov 25 00:02:40  kernel: Terminate ACPI
Nov 25 00:02:40  kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Nov 25 00:02:40  kernel: --> Press a key on the console to reboot,
Nov 25 00:02:40  kernel: --> or switch off the system now.
Nov 25 00:02:40  kernel: Rebooting...
--- part1 ends here ---

System started without PCMCIA card leads to console login prompt, then upon
insertion of the PCMCIA :

--- part2 begins here ---
Nov 25 00:04:04  syslogd: kernel boot file is /boot/kernel/kernel
Nov 25 00:04:04  kernel: 
Nov 25 00:04:04  kernel: 
Nov 25 00:04:04  kernel: Fatal trap 12: page fault while in kernel mode
Nov 25 00:04:04  kernel: fault virtual address	= 0xcb9fb000
Nov 25 00:04:04  kernel: fault code		= supervisor read, page not present
Nov 25 00:04:04  kernel: instruction pointer	= 0x8:0xc0236af5
Nov 25 00:04:04  kernel: stack pointer	        = 0x10:0xcaacf94c
Nov 25 00:04:04  kernel: frame pointer	        = 0x10:0xcaacfb78
Nov 25 00:04:04  kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
Nov 25 00:04:04  kernel: = DPL 0, pres 1, def32 1, gran 1
Nov 25 00:04:04  kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Nov 25 00:04:04  kernel: current process		= 8 (cbb0)
Nov 25 00:04:04  kernel: trap number		= 12
Nov 25 00:04:04  kernel: panic: page fault
Nov 25 00:04:04  kernel: 
Nov 25 00:04:04  kernel: syncing disks... panic: bdwrite: buffer is not busy
Nov 25 00:04:04  kernel: Uptime: 36s
Nov 25 00:04:04  kernel: Terminate ACPI
Nov 25 00:04:04  kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Nov 25 00:04:04  kernel: --> Press a key on the console to reboot,
Nov 25 00:04:04  kernel: --> or switch off the system now.
Nov 25 00:04:04  kernel: Rebooting...
--- part2 ends here ---

>How-To-Repeat:

Insert the card or reboot with the card.

>Fix:

Don't leave this card inserted (or fallback to FreeBSD 4.x where it worked
fine).

>Release-Note:
>Audit-Trail:
>Unformatted:

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




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