Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jul 2002 13:29:03 -0700 (PDT)
From:      Alexander Kirillov <nevis2us@infline.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/40787: page fault while in kernel mode
Message-ID:  <200207192029.g6JKT3Xj087914@www.freebsd.org>

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

>Number:         40787
>Category:       kern
>Synopsis:       page fault while in kernel mode
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 19 13:30:08 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Kirillov
>Release:        
>Organization:
Self employed
>Environment:
FreeBSD volga.philya.com 4.6-RELEASE-p2 FreeBSD 4.6-RELEASE-p2 #31: Fri Jul 19 19:31:08 MSD 2002     nevis@volga.philya.com:/ext/obj/usr/src/sys/VOLGA  i386

>Description:
Forgot to unmount PCMCIA CDRW drive before removing it.
On reboot got 'page fault while in kernel mode' message.
All other mounted file systems failed to sync which shouldn't
be the case. Attached is the relevant content of /var/log/all.log:
..
Jul 19 23:54:02 volga /kernel: acd1: removed from configuration
Jul 19 23:54:02 volga /kernel: ata4: detached
Jul 19 23:54:02 volga /kernel: pccard: card removed, slot 1
Jul 19 23:54:02 volga pccardd[54]: ata4: NinjaATA removed.
Jul 19 23:54:02 volga /kernel: Jul 19 23:54:02 volga pccardd[54]: ata4: NinjaATA removed.
Jul 19 23:54:08 volga reboot: rebooted by nevis
Jul 19 23:54:08 volga /kernel: Jul 19 23:54:08 volga reboot: rebooted by nevis
Jul 19 23:54:09 volga syslogd: exiting on signal 15
Jul 19 23:57:32 volga syslogd: restart
Jul 19 23:57:32 volga /kernel: Jul 19 23:54:09 volga syslogd: exiting on signal 15
Jul 19 23:57:32 volga /kernel: Waiting (max 60 seconds) for system process `vnlru' to stop...stopped
Jul 19 23:57:32 volga /kernel: Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped
Jul 19 23:57:32 volga /kernel: Waiting (max 60 seconds) for system process `syncer' to stop...stopped
Jul 19 23:57:32 volga /kernel: 
Jul 19 23:57:32 volga /kernel: syncing disks... 11 
Jul 19 23:57:32 volga /kernel: done
Jul 19 23:57:32 volga /kernel: 
Jul 19 23:57:32 volga /kernel: 
Jul 19 23:57:32 volga /kernel: Fatal trap 12: page fault while in kernel mode
Jul 19 23:57:32 volga /kernel: fault virtual address	= 0x32
Jul 19 23:57:32 volga /kernel: fault code		= supervisor read, page not present
Jul 19 23:57:32 volga /kernel: instruction pointer	= 0x8:0xc0219e38
Jul 19 23:57:32 volga /kernel: stack pointer	        = 0x10:0xce0d0e60
Jul 19 23:57:32 volga /kernel: frame pointer	        = 0x10:0xce0d0e6c
Jul 19 23:57:32 volga /kernel: code segment		= base 0x0, limit 0xfffff, type 0x1b
Jul 19 23:57:32 volga /kernel: = DPL 0, pres 1, def32 1, gran 1
Jul 19 23:57:32 volga /kernel: processor eflags	= interrupt enabled, resume, IOPL = 0
Jul 19 23:57:32 volga /kernel: current process		= 4624 (reboot)
Jul 19 23:57:32 volga /kernel: interrupt mask		= none
Jul 19 23:57:32 volga /kernel: trap number		= 12
Jul 19 23:57:32 volga /kernel: panic: page fault
Jul 19 23:57:32 volga /kernel: Uptime: 1h1m51s
Jul 19 23:57:32 volga /kernel: Automatic reboot in 15 seconds - press a key on the console to abort
Jul 19 23:57:32 volga /kernel: --> Press a key on the console to reboot,
Jul 19 23:57:32 volga /kernel: --> or switch off the system now.      
..
Jul 19 23:57:32 volga /kernel: Mounting root from ufs:/dev/ad0s2a
Jul 19 23:57:32 volga /kernel: WARNING: / was not properly dismounted
Jul 19 23:57:32 volga /kernel: swapon: adding /dev/ad0s2b as swap device
Jul 19 23:57:32 volga /kernel: Automatic boot in progress...
Jul 19 23:57:32 volga /kernel: /dev/ad0s2a: 
Jul 19 23:57:32 volga /kernel: 1979 files, 44614 used, 4969 free 
Jul 19 23:57:32 volga /kernel: (225 frags, 593 blocks, 0.5% fragmentation)
Jul 19 23:57:32 volga /kernel: /dev/ad0s2e: 
Jul 19 23:57:32 volga /kernel: FREE BLK COUNT(S) WRONG IN SUPERBLK
Jul 19 23:57:32 volga /kernel: (SALVAGED)
Jul 19 23:57:32 volga /kernel: /dev/ad0s2e: 
Jul 19 23:57:32 volga /kernel: SUMMARY INFORMATION BAD
Jul 19 23:57:32 volga /kernel: (SALVAGED)
Jul 19 23:57:32 volga /kernel: /dev/ad0s2e: 
Jul 19 23:57:32 volga /kernel: BLK(S) MISSING IN BIT MAPS
Jul 19 23:57:32 volga /kernel: (SALVAGED)
Jul 19 23:57:33 volga /kernel: /dev/ad0s2e: 
Jul 19 23:57:33 volga /kernel: 231 files, 2026 used, 17789 free 
Jul 19 23:57:33 volga /kernel: (381 frags, 2176 blocks, 1.9% fragmentation)
Jul 19 23:57:33 volga /kernel: /dev/ad0s2f: 
Jul 19 23:57:33 volga /kernel: FREE BLK COUNT(S) WRONG IN SUPERBLK
Jul 19 23:57:33 volga /kernel: (SALVAGED)
Jul 19 23:57:33 volga /kernel: /dev/ad0s2f: 
Jul 19 23:57:33 volga /kernel: SUMMARY INFORMATION BAD
Jul 19 23:57:33 volga /kernel: (SALVAGED)
Jul 19 23:57:33 volga /kernel: /dev/ad0s2f: 
Jul 19 23:57:33 volga /kernel: BLK(S) MISSING IN BIT MAPS
Jul 19 23:57:33 volga /kernel: (SALVAGED)
Jul 19 23:57:33 volga /kernel: /dev/ad0s2f: 
Jul 19 23:57:33 volga /kernel: 118800 files, 2039750 used, 297195 free 
Jul 19 23:57:33 volga /kernel: (35659 frags, 32692 blocks, 1.5% fragmentation)
..

>How-To-Repeat:
1. Mount a CD in PCMCIA CDRW drive.
2. Detach the drive
3. Reboot

>Fix:
      
>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?200207192029.g6JKT3Xj087914>