Port-amiga archive

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

crashing issues



Hello,

I hope that there is someone who can help me pin this down. My Amiga 2000 (blizzard 2060 128MB ram) is crashing about every 2 to 4 days after upgrading from NetBSD 4 Beta (John Klos's binaries) to the latest NetBSD 4_stable. I downloaded the source via CVS and I was able to build the kernel and userland. I also updated all the packages via pkgsrc. Everything seemed to go fine, but now I have a crash every 2 to 4 days. The system is in a remote location so it is a problem to keep rebooting it. Also, if I restart squid and nginx every day it seems to stay up longer. The last crash I had was right after I did a dump of some rather large mysql databases (they are on another system and it takes much much longer than it did with NetBSD 4_Beta), and the one before that was when I tried to untar I think 20 files. The other thing is that both squid and nginx appear to accept the request, but then the browser continues to say it is waiting and nothing ever loads. It is as if they can not open another file descriptor, so then they can't serve the request. Also, I use NFS to look at the drive on another system that has like 5 million files on it's exported partition. Since I am at a loss to explain this, I have included my mk.conf, sysctl.conf, and my kernel build file.

cat mk.conf
LOCALBASE=/usr/local
ACCEPTABLE_LICENSES=no-commercial-use
ACCEPTABLE_LICENSES+=no-profit
ACCEPTABLE_LICENSES+=shareware
ACCEPTABLE_LICENSES+=fee-based-commercial-use
ACCEPTABLE_LICENSES+=pine-license
ACCEPTABLE_LICENSES+=vim-license
USE_RSAREF2=NO
USA_RESIDENT=YES
M68060=YES
COPTS+=-m68060
CFLAGS+=-m68060
COPTFLAGS+=-m68060
APACHE_PERF_TUNING=YES
APACHE_SUEXEC=YES
SMART_MESSAGES=YES
WGET_USE_SSL=NO
#PKG_OPTIONS.postfix=mysql
#PKG_OPTIONS.postfix+=sasl
PKG_OPTIONS.pureftpd=mysql

cat sysctl.conf
#!/sbin/sysctl -f
#
# $NetBSD: sysctl.conf,v 1.5 2003/11/03 15:12:06 briggs Exp $
#
# sysctl(8) variables to set at boot time.

# Default core name template:
#kern.defcorename=%n.core

# Number of kernel threads to use for NFS client
#vfs.nfs.iothreads=4

kern.somaxkva=50331648
kern.maxfiles=32768

cat AGNUS
# $NetBSD: AMIGA,v 1.102.2.1 2007/06/06 19:26:25 bouyer Exp $

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


maxusers        64
options         RTC_OFFSET=0

#Added to fix the thttpd problem
options         MAXFILES=8192
options         NMBCLUSTERS=12288
options         DFLDSIZ="(96*1024*1024)"

# mainboards to support (in addition to Amiga)
#options        BB060STUPIDROM  # You need this, if you have a non-DraCo
#options        P5PPC68KBOARD   # Phase5 PPC/68K board support

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_NAT_T     # IPsec NAT traversal (NAT-T)
#options        IPSEC_DEBUG     # debug for IP security
options         GATEWAY         # Packet forwarding
#options        DIRECTED_BROADCAST      # Broadcast across subnets

#options        MROUTING        # Multicast routing
#options        PIM             # Protocol Independent Multicast
#options        ISO,TPIP        # OSI
#options        EON             # OSI tunneling over IP
#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_LOOKUP # ippool(8) support
#options        IPFILTER_DEFAULT_BLOCK  # block all packets by default

# 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
#file-system SMBFS # experimental - CIFS; also needs nsmb (below)
#file-system    PTYFS           # /dev/pts/N support
#file-system    TMPFS           # Efficient memory file-system
#file-system UDF # experimental - OSTA UDF CD/DVD file-system

# Filesystem options

#options        FFS_EI          # FFS Endian Independant support

#options        QUOTA           # User and group quotas in FFS
options         SOFTDEP         # FFS soft updates support.
#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental
options         NFSSERVER       # Network File System server side code
#options        FFS_NO_SNAPSHOT # No FFS snapshot support

#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_20       # compatibility with NetBSD 2.0
options         COMPAT_30       # NetBSD 3.0 compatibility.
#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.
options         COMPAT_BSDPTY   # /dev/[pt]ty?? ptys.

#
# 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        LKM             # Loadable kernel modules
#options        SYSTRACE        # system call vetting via systrace(1)
#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        BUFQ_READPRIO
#options        BUFQ_PRIOCSCAN

# 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        DEVRELOAD       # implement /dev/reload
#                               # currently only works for a.out kernels

options         GRF_ECS         # Enhanced Chip Set
options         GRF_NTSC        # NTSC
#options        GRF_PAL         # PAL
#options        GRF_A2024       # Support for the A2024

#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

# This is how you would tell the kernel the A2410 oscillator frequencies:
# The used frequencies are the defaults, and do not need option setting
#options        ULOWELL_OSC1=36000000
#options        ULOWELL_OSC2=66667000

# This is how you specify the blitting speed, higher values may speed up blits
# a littel bit.  If you raise this value too much some trash may appear.
# the commented version is the default.
#options        RH_MEMCLK=61000000
# this option enables the 64 bit sprite which does not work
# for quite a few people.  E.g. The cursor sprite will turn to a block
# when moved to the top of the screen in X.
#options        RH_64BIT_SPRITE
# enables fast scroll code appears to now work on 040 systems.
#options        RETINA_SPEED_HACK
# enables the Hardwarecursor which does not work on some systems.
#options        RH_HARDWARECURSOR

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

#options        IOBZCLOCK=22118400      # default, uncomment the next line
#options        IOBZCLOCK=24000000      # if needed.

#iobl*          at zbus?                # zbus IOBlix
#com*           at iobl? port ?         # IOBlix serial ports
#lpt*           at iobl? port ?         # IOBlix parallel ports


# 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
a2kbbc0         at mainbus0             # A2000 battery backed clock
aucc*           at mainbus0             # Amiga CC audio
audio*          at aucc?

#wsmouse*       at ms?


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

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

# scsi stuff
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                      # SLIP network interfaces
#pseudo-device  ppp                     # PPP network interfaces
#pseudo-device  pppoe                   # PPP over Ethernet (RFC 2516)
pseudo-device   tun                     # network tunnel line discipline
#pseudo-device  tap                     # virtual Ethernet
#pseudo-device  gre                     # generic L3 over IP tunnel
pseudo-device   bpfilter                # Berkeley packet filter
#pseudo-device carp # Common Address Redundancy Protocol
pseudo-device   ipfilter                # IP Filter package
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) #pseudo-device faith # IPv[46] tcp relay translation i/f pseudo-device stf # 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   agr                     # IEEE 802.3ad link aggregation
#pseudo-device  pf                      # PF packet filter
#pseudo-device  pflog                   # PF log if
#pseudo-device  fss             4       # file system snapshot device

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  wsmux                   # mouse & keyboard multiplexor

#pseudo-device  vnd                     # vnode pseudo-disks
#options        VND_COMPRESSION         # compressed vnd(4)
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)
#pseudo-device  nsmb                    # experimental - SMB requester

# Veriexec
# a pseudo device needed for veriexec
#pseudo-device  veriexec                1

# Uncomment the fingerprint methods below that are desired. Note that
# removing fingerprint methods will have almost no impact on the kernel
# code size.
#options VERIFIED_EXEC_FP_RMD160
#options VERIFIED_EXEC_FP_SHA256
#options VERIFIED_EXEC_FP_SHA384
#options VERIFIED_EXEC_FP_SHA512
#options VERIFIED_EXEC_FP_SHA1
#options VERIFIED_EXEC_FP_MD5

config  netbsd root on sd0a type ffs

Any help would be greatly appreciated!

Thanks,
Al




Home | Main Index | Thread Index | Old Index