Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Sep 2007 01:21:41 GMT
From:      Dmitry Andrianov <666.root@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/116100: Fatal trap 12 right after reboot (da0s1error = 6)
Message-ID:  <200709050121.l851LfrY056952@www.freebsd.org>
Resent-Message-ID: <200709050130.l851U2J2025157@freefall.freebsd.org>

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

>Number:         116100
>Category:       i386
>Synopsis:       Fatal trap 12 right after reboot (da0s1error = 6)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 05 01:30:02 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Andrianov
>Release:        7.0
>Organization:
-
>Environment:
7.0-CURRENT-200704 FreeBSD 7.0-CURRENT-200704 #0: Sun Apr  1 14:46:54 UTC 2007  root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
bash-2.05b#mount -t msdosfs /dev/da0s1 /mnt
bash-2.05b#
..
bash-2.05b#reboot

<118>Sep  3 18:54:08 zingel reboot: rebooted by root
<118>Sep  3 18:54:08 zingel syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...1 0 0 0 done
All buffers synced.
g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6
(da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0
(da0:dead_sim0:0:0:0): removing device entry


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0675487
stack pointer           = 0x28:0xd86f7b98
frame pointer           = 0x28:0xd86f7bd0
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         = 94766 (reboot)


bash-2.05b# kgdb /boot/kernel/kernel /var/crash/vmcore.0

[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-marcel-freebsd".

Unread portion of the kernel message buffer:
<118>Sep  3 18:54:08 zingel syslogd: exiting on signal 15
Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...1 0 0 0 done
All buffers synced.
g_vfs_done():da0s1[READ(offset=65536, length=4096)]error = 6
(da0:dead_sim0:0:0:0): Synchronize cache failed, status == 0x8, scsi status == 0x0
(da0:dead_sim0:0:0:0): removing device entry


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x0
fault code              = supervisor read, page not present
instruction pointer     = 0x20:0xc0675487
stack pointer           = 0x28:0xd86f7b98
frame pointer           = 0x28:0xd86f7bd0
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         = 94766 (reboot)
Physical memory: 495 MB
Dumping 140 MB: 125 109 93 77 61 45 29 13
Dump complete
Physical memory: 495 MB
Dumping 140 MB: 125 109 93 77 61 45 29 13

#0  doadump () at pcpu.h:172
172     pcpu.h: No such file or directory.
        in pcpu.h

bash-2.05b# dmesg -a | grep da0

da0 at umass-sim0 bus 0 target 0 lun 0
da0: <COWON iAUDIO U2 0100> Removable Direct Access SCSI-4 device
da0: 40.000MB/s transfers
da0: 998MB (511296 2048 byte sectors: 64H 32S/T 249C)


thk.
>How-To-Repeat:
mount -t msdosfs /dev/da0s1 /mnt
..
reboot
>Fix:


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



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