Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Feb 2000 08:39:46 -0800 (PST)
From:      engarcia@fis.cinvestav.mx
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/16808: Fatal trap 12, kernel does not boot
Message-ID:  <200002181639.IAA04412@freefall.freebsd.org>

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

>Number:         16808
>Category:       kern
>Synopsis:       Fatal trap 12, kernel does not boot
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 18 08:40:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Enrique Garcia Reyes
>Release:        3.2
>Organization:
CINVESTAV
>Environment:
FreeBSD fanny.fis.cinvestav.mx 3.2-RELEASE FreeBSD
 3.2-RELEASE #0: Tue May 18 04:05:08 GMT 1999     
jkh@cathair:/usr/src/sys/compile/GENERIC  i386

>Description:
hi, i am trying to make a custom kernel, usually boot my pc with a
generic kernel and works fine, but i want to use an iomega zip, so i
compiled  a new kernel with ppbus and some other stuff (the configuration
file is below), but at boot time it starts to check the devices, then at
the moment when generic kernel display the messages adding swap device,
the new kernel stops sending the following messages.

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x58
fault code            = supervisor read page not present
instruction pointer   = 0x8:0xc0212cab
stack pointer         = 0x10:0xc0306f84
frame pointer         = 0x10:0xc0306f88
code segment          = base 0x0, limit oxfffff, type 0x16
                      = DPL0, press 1 def32 1 gran 1
processor eflags      = interrupt enabled, resume, IOPL=0
current process       = 0 ()
interrupt mask        =
trap number           = 12
panic: page fault
Automatic reboot in 15 seconds

at the begining i belived i was produced because the 3com card was not
available, but i also tried to run the new kernel in anoter pc and the 
behavior is the same.

My pc has an intel pentium III, 500Mhz processor, 64 Mb ram.
the configuration for my new kernel is the following
#############################################################
# My custom kernel config file
#

machine         "i386"
cpu             "I586_CPU"
ident           CASA
maxusers        15
## check  what the hell is maxdsiz
options         "MAXDSIZ=(256*1024*1024)"
options         "DFLDSIZ=(256*1024*1024)"
options         GPL_MATH_EMULATE                #Support for x87 emulation
options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         FFS_ROOT                #FFS usable as root device [keep this!]
options         MFS                     #Memory Filesystem
options         MFS_ROOT                #MFS usable as root device, "MFS" req'ed
options         NFS                     #Network Filesystem
options         "CD9660"                #ISO 9660 Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3 [KEEP THIS!]
options         SCSI_DELAY=15000        #Be pessimistic about Joe SCSI device
options         UCONSOLE                #Allow users to grab the console
options         FAILSAFE                #Be conservative
options         USERCONFIG              #boot -c editor
options         INTRO_USERCONFIG
options         VISUAL_USERCONFIG       #visual boot -c editor
options         PQ_LARGECACHE
options         USER_LDT
options         "VM86"
options         COMPILING_LINT
config          kernel  root on wd0

controller      isa0
controller      pnp0
controller      eisa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2
disk            fd0     at fdc0 drive 0
disk            fd1     at fdc0 drive 1

options         "CMD640"        # work around CMD640 chip deficiency
controller      wdc0    at isa? port "IO_WD1" bio irq 14
disk            wd0     at wdc0 drive 0
disk            wd1     at wdc0 drive 1

controller      wdc1    at isa? port "IO_WD2" bio irq 15
disk            wd2     at wdc1 drive 0
disk            wd3     at wdc1 drive 1

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          acd0            #IDE CD-ROM
device          wfd0            #IDE Floppy (e.g. LS-120)

# A single entry for any of these controllers (ncr, ahb, ahc) is
# sufficient for any number of installed devices.
controller      ncr0
controller      ahb0
controller      ahc0
controller      isp0

controller      dpt0
# DPT options
options DPT_RESTRICTED_FREELIST
options DPT_FREELIST_IS_STACK
options DPT_TIMEOUT_FACTOR=4
options DPT_INTR_DELAY=200      # Some motherboards need that
options DPT_LOST_IRQ
options DPT_RESET_HBA
###############
controller      adv0    at isa? port ? cam irq ?
controller      adw0
controller      bt0     at isa? port ? cam irq ?
controller      aha0    at isa? port ? cam irq ?

controller      scbus0

device          da0   

#device         sa0

device          pass0

device          cd0     #Only need one of these, the code dynamically grows

device          wt0     at isa? port 0x300 bio irq 5 drq 1
device          mcd0    at isa? port 0x300 bio irq 10 
controller      matcd0  at isa? port 0x230 bio

device          scd0    at isa? port 0x230 bio

# atkbdc0 controlls both the keyboard and the PS/2 mouse
controller      atkbdc0 at isa? port IO_KBD tty
device          atkbd0  at isa? tty irq 1
device          psm0    at isa? tty irq 12

device          vga0    at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? tty
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
device          vt0     at isa? tty
options         XSERVER                 # support for X server
#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

device          npx0    at isa? port IO_NPX irq 13

device          apm0    at isa? disable flags 0x31 # Advanced Power Management

device          sio0    at isa? port "IO_COM1" flags 0x10 tty irq 4
device          sio1    at isa? port "IO_COM2" tty irq 3
device          sio2    at isa? disable port "IO_COM3" tty irq 5
device          sio3    at isa? disable port "IO_COM4" tty irq 9

# Parallel port
device          ppc0    at isa? port? flags 0x40 net irq 7
controller      ppbus0
device          lpt0    at ppbus?
device          plip0   at ppbus?
device          ppi0    at ppbus?
controller      vpo0    at ppbus?
controller      vp0     at ppbus?
#
# revision 1.20 of this file.

device ed0 at isa? port 0x280 net irq 10 iomem 0xd8000
device ie0 at isa? port 0x300 net irq 10 iomem 0xd0000`
device ep0 at isa? port 0x300 net irq 10
device ex0 at isa? port? net irq?
device fe0 at isa? port 0x300 net irq ?
device le0 at isa? port 0x300 net irq 5 iomem 0xd0000
device lnc0 at isa? port 0x280 net irq 10 drq 0
device ze0 at isa? port 0x300 net irq 10 iomem 0xd8000
device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000
device cs0 at isa? port 0x300 net irq ?   

pseudo-device   loop
pseudo-device   ether
pseudo-device   sl      1   
pseudo-device   ppp     1
pseudo-device   tun     1
pseudo-device   pty     100
pseudo-device   gzip            # Exec gzipped a.out's
pseudo-device   snp     5
pseudo-device   log

options         MAXCONS=12

options         SYSVSHM
options         SYSVMSG
options         SYSVSEM

pseudo-device   bpfilter 4      #Berkeley packet filter
########################################################

any comment will be welcome.
Thanks in advance
>How-To-Repeat:
The problem appears every time i try to boot the new kernel


>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?200002181639.IAA04412>