Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kernel panic



Hi,

I have had a couple of kernel panics since switching to 2.0.

Here is what I copied down after it:

UVM_FAULT (0,2258f0, 0x0, 0, 0x1) > 0xe
type 8 code [mmu,,ssw]: 1050200
trap type 8, code = C050200, v=24
pid = 7671, lid = 1, pc = 000E3482, ps = 2700, sfc = 1, dfc = 1



panic: MMU fault
Stopped in pid 7691.1 ctcsh at 0x19a538: unlk a6


What is happening is the computer is running out of memory. The last time
I tried to shut it down, it had a kernel panic. Top only showed about
2000k active, 256k inact, and 400k free. What is happening to all of its
memory?

I have built a new kernel with the latest source, and right now it shows
about 41M active, 25M inactive, and 23M free. Also, it is using about
4000k swap. There must be some way to see where all the memory is going,
and a way to correct it. Please let me know if anyone has some ideas on
this?

I have attached my kernel config file to see if that gives a clue as to
what is going on:

# $NetBSD: AGNUS,v 1.9.9.9 2004/11/29 16:04:09 jklos Exp $

include "arch/amiga/conf/std.amiga"
#options        INCLUDE_CONFIG_FILE     # embed config file in kernel
binary
ident           "AGNUS-$Revision: 2.0.0.0 $"

maxusers        64
options         RTC_OFFSET=0

#Added to fix the thttpd problem
options         MAXFILES=5120
options         NMBCLUSTERS=10240
options         DFLDSIZ="(64*1024*1024)"

options         BB060STUPIDROM  # You need this, if you have a non-DraCo
                                # MC68060 with an OS ROM up to (at least)
                                # V40 (OS3.1) and want to boot with the
                                # bootblock.

options         M68060          # support for 060
options         M060SP          # MC68060 software support (Required for
060)

#
# Networking options
#
options         INET            # IP networking support (Required)
options         INET6           # IPV6
#options        IPSEC           # IP security
#options        IPSEC_ESP       # IP security (encryption part; define
w/IPSEC)
#options        IPSEC_DEBUG     # debug for IP security
#options        GATEWAY         # Packet forwarding
#options        DIRECTED_BROADCAST      # Broadcast across subnets

#options        MROUTING        # Multicast routing
#options        NS              # XNS
#options        NSIP            # XNS tunneling over IP
#options        ISO,TPIP        # OSI
#options        EON             # OSI tunneling over IP
#options        CCITT,LLC,HDLC  # X.25
#options        NETATALK        # AppleTalk networking protocols
#options        TCP_DEBUG       # Record last TCP_NDEBUG packets with
SO_DEBUG

#options        PPP_BSDCOMP     # BSD-Compress compression support for PPP
#options        PPP_DEFLATE     # Deflate compression support for PPP
#options        PPP_FILTER      # Active filter support for PPP (requires
bpf)
options         PFIL_HOOKS      # pfil(9) packet filter hooks
options         IPFILTER_LOG    # ipmon(8) log support
#options        IPFILTER_DEFAULT_BLOCK  # block all packets by default

#options        ALTQ            # Manipulate network interfaces' output
queues
#options        ALTQ_BLUE       # Stochastic Fair Blue
#options        ALTQ_CBQ        # Class-Based Queueing
#options        ALTQ_CDNR       # Diffserv Traffic Conditioner
#options        ALTQ_FIFOQ      # First-In First-Out Queue
#options        ALTQ_FLOWVALVE  # RED/flow-valve (red-penalty-box)
#options        ALTQ_HFSC       # Hierarchical Fair Service Curve
#options        ALTQ_LOCALQ     # Local queueing discipline
#options        ALTQ_PRIQ       # Priority Queueing
#options        ALTQ_RED        # Random Early Detection
#options        ALTQ_RIO        # RED with IN/OUT
#options        ALTQ_WFQ        # Weighted Fair Queueing

# Filesystems
file-system     FFS             # Berkeley fast file system
#file-system    EXT2FS          # second extended file system (linux)
#file-system    LFS             # log-structured filesystem (experimental)

file-system     MFS             # Memory based filesystem

#file-system    NFS             # Network File System client side code
file-system     ADOSFS          # AmigaDOS file system
#file-system    CD9660          # ISO 9660 + Rock Ridge filesystem
file-system     MSDOSFS         # MS-DOS filesystem

file-system     KERNFS          # kernel data-structure filesystem

file-system     FDESC           # user file descriptor filesystem
file-system     NULLFS          # loopback filesystem
file-system     OVERLAY         # overlay filesystem
#file-system    PORTAL          # Portal filesystem
file-system     PROCFS          # /proc filesystem
file-system     UMAPFS          # NULLFS + uid and gid remapping
#file-system    UNION           # union filesystem

# Filesystem options

#options        FFS_EI          # FFS Endian Independant support

#options        QUOTA           # User and group quotas in FFS
options         SOFTDEP         # FFS soft updates support.
#options        NFSSERVER       # Network File System server side code

#options        EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
                                # immutable) behave as system flags.

#
# Compatibility options for various existing systems
#

#options        TCP_COMPAT_42   # 4.2BSD TCP/IP bug compat. Not
recommended.
options         COMPAT_43       # compatibility with 4.3BSD interfaces
#options        COMPAT_09       # compatibility with NetBSD 0.9
#options        COMPAT_10       # compatibility with NetBSD 1.0
#options        COMPAT_12       # compatibility with NetBSD 1.2
#options        COMPAT_13       # compatibility with NetBSD 1.3
#options        COMPAT_14       # compatibility with NetBSD 1.4
options         COMPAT_15       # compatibility with NetBSD 1.5
options         COMPAT_16       # compatibility with NetBSD 1.6
#options        COMPAT_SUNOS    # Support to run Sun (m68k) executables
#options        COMPAT_SVR4     # Support to run SVR4 (m68k) executables
options         COMPAT_NOMID    # allow nonvalid machine id executables
#options        COMPAT_LINUX    # Support to run Linux/m68k executables

options         EXEC_AOUT       # 32-bit aout executables (NetBSD-1.5.x)
options         COMPAT_AOUT_M68K # actually make some system calls work.

#
# Support for System V IPC facilities.
#
options         SYSVSHM         # System V-like shared memory
options         SYSVMSG         # System V-like messages
options         SYSVSEM         # System V-like semaphores
#options        SEMMNI=10       # number of semaphore identifiers
#options        SEMMNS=60       # number of semaphores in system
#options        SEMUME=10       # max number of undo entries per process
#options        SEMMNU=30       # number of undo structures in system
options         P1003_1B_SEMAPHORE # p1003.1b semaphore support

#
# Support for various kernel options
#

options         KTRACE          # system call tracing support
options         SYSTRACE        # system call vetting via systrace(1)
#options        LKM             # Loadable kernel modules
#options        INSECURE        # disable kernel security levels
options         SCSIVERBOSE     # human readable SCSI error messages
#options        USERCONF        # userconf(4) support
options         NTP             # NTP phase/frequency locked loop
#options        PIPE_SOCKETPAIR # smaller, but slower pipe(2)

# Enable experimental buffer queue strategy for better responsiveness
under
# high disk I/O load. Use it with caution - it's not proven to be stable
yet.
#options        NEW_BUFQ_STRATEGY

#
# Misc. debugging options
#
options         DDB             # Kernel debugger
#options        DDB_HISTORY_SIZE=100    # Enable history editing in DDB
#options        DIAGNOSTIC      # Extra kernel sanity checks
#options        DEBUG           # Enable misc. kernel debugging code
#options        SYSCALL_DEBUG   # debug all syscalls.
#options        SCSIDEBUG       # Add SCSI debugging statements
#options        PANICBUTTON     # Forced crash via keypress (?)

#
# Amiga specific options
#
#options        LIMITMEM=24     # Do not use more than LIMITMEM MB of the
                                # first bank of RAM. (default: unlimited)
#options        NKPTADD=4       # set this for 4 additional KPT pages
#options        NKPTADDSHIFT=24 # set this for 1 additional KPT page
                                # per 16 MB (1<<24 bytes) of RAM
                                # uncomment and decrease this, or
uncomment and
                                # increase NKPTADD if you get "out of PT
pages"
                                # panics.

# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete
# before the 10 secondinterval ends, or that KBDRESET does work at all.
#options        KBDRESET        # sync on Ctrl-Amiga-Amiga

# These options improve performance with the built-in serial port
# on slower Amigas.  Try the larger buffers first then lev6_defer.
#options        SERIBUF_SIZE=4096
#options        SEROBUF_SIZE=32
#options        LEV6_DEFER      # defers l6 to l4 (below serial l5)

options         GRF_ECS         # Enhanced Chip Set
options         GRF_NTSC        # NTSC
#options        GRF_PAL         # PAL
#options        GRF_A2024       # Support for the A2024
#options        GRF_AGA         # AGA Chip Set
#options        GRF_AGA_VGA     # AGA VGAONLY timing
#options        GRF_SUPER72     # AGA Super-72
#options        KFONT_8X11      # 8x11 font

# select a font for the console according to the character set and keymap
# you want to use
options        KFONT_CONS_ISO8859_1
#options         KFONT_CONS_ISO8859_2

amidisplaycc0   at mainbus0             # wscons interface to custom chips
wsdisplay0      at amidisplaycc0 console ?
wsmouse*        at ms?
options         WSEMUL_VT100
options         FONT_VT220L8x10
#options        FONT_VT220ISO8x16

#grfcc0         at mainbus0             # custom chips
#grf0           at grfcc0
#ite0           at grf0                 # terminal emulators for grfs

wskbd0          at kbd0 console ?


#
# Amiga Mainboard devices (sans graphics and keyboard)
#

ser0            at mainbus0             # Amiga onboard serial
par0            at mainbus0             # Amiga onboard parallel
ms*             at mainbus0             # Amiga mice
fdc0            at mainbus0             # Amiga FDC
fd*             at fdc0 unit ?          # floppy disks on the later
#a34kbbc0       at mainbus0             # A3000/A4000 battery backed clock
a2kbbc0         at mainbus0             # A2000 battery backed clock
aucc*           at mainbus0             # Amiga CC audio
audio*          at aucc?

#
# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics)
#

# Ethernet cards:
ne*             at zbus0                # AriadneII, X-surf

bztzsc0         at zbus0                # Blizzard 2060 scsi
scsibus*        at bztzsc0

# each hard drive from low target to high
# will configure to the next available sd unit number
sd*     at scsibus? target ? lun ?      # scsi disks
#st*    at scsibus? target ? lun ?      # scsi tapes
#cd*    at scsibus? target ? lun ?      # scsi cds
#ch*    at scsibus? target ? lun ?      # scsi autochangers
#ss*    at scsibus? target ? lun ?      # scsi scanner
uk*     at scsibus? target ? lun ?      # scsi unknown

pseudo-device   loop                    # loopback network interface
#pseudo-device  sl              1       # SLIP network interfaces
#pseudo-device  ppp             1       # PPP network interfaces
#pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
pseudo-device   tun             1       # network tunnel line discipline
#pseudo-device  gre             2       # generic L3 over IP tunnel
pseudo-device   bpfilter        16      # Berkeley packet filter
pseudo-device   ipfilter                # IP Filter package
pseudo-device   gif             4       # IPv[46] over IPv[46] tunnel
(RFC1933)
#pseudo-device  faith           1       # IPv[46] tcp relay translation
i/f
#pseudo-device  stf             1       # 6to4 IPv6 over IPv4
encapsulation
pseudo-device   vlan                    # IEEE 802.1q encapsulation
pseudo-device   bridge                  # simple inter-network bridging
#options        BRIDGE_IPF              # bridge uses IP/IPv6 pfil hooks
too

pseudo-device   view            4       # views (needed for grfcc)
pseudo-device   pty                     # pseudo-terminals
pseudo-device   clockctl                # user control of clock subsystem

#pseudo-device  wsfont                  # wsfont(4) dynamic font loading
support

pseudo-device   vnd             4       # vnode pseudo-disks
pseudo-device   ccd             4       # concatenated disk devices
#pseudo-device  cgd             4       # cryptographic disk devices
#pseudo-device  raid            8       # RAIDframe disk driver
#options        RAID_AUTOCONFIG         # auto-configuration of RAID
components
# Options to enable various other RAIDframe RAID types.
# options       RF_INCLUDE_EVENODD=1
# options       RF_INCLUDE_RAID5_RS=1
# options       RF_INCLUDE_PARITYLOGGING=1
# options       RF_INCLUDE_CHAINDECLUSTER=1
# options       RF_INCLUDE_INTERDECLUSTER=1
# options       RF_INCLUDE_PARITY_DECLUSTERING=1
# options       RF_INCLUDE_PARITY_DECLUSTERING_DS=1

pseudo-device   rnd                     # /dev/random and in-kernel
generator
#options        RND_COM                 # use "com" randomness as well
(BROKEN)

pseudo-device   ksyms                   # /dev/ksyms (kernel symbols)

config  netbsd root on ? type ?



Thanks,
Al









Home | Main Index | Thread Index | Old Index