Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Oct 1998 18:56:33 +0400
From:      "Mikhail A. Sokolov" <mishania@demos.net>
To:        current@FreeBSD.ORG
Subject:   -current panics..
Message-ID:  <19981001185633.24795@demos.su>

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

here I am, stuck to fail to define what's going on, or, in other way, 
how come 256Mb RAM'ed machine with 600Mb of swap dies when I issue something
as harmless like make in some of the ports or find . -name "*" | ls or 
something that will use at least some more mem than 1,5Mb (that's empricall
figure):

FreeBSD Z.demos.su 3.0-BETA FreeBSD 3.0-BETA #2: Wed Sep 30 19:31:37 MSD 1998     mishania@z.demos.su:/mnt/arc/src/sys/compile/Z  i386

{z}/mish# gdb -k kernel.1 vmcore.1
IdlePTD 261000
current pcb at 22cc64
panic: pipeinit: cannot allocate pipe -- out of kvm -- code = 3
#0  0xf012afa3 in boot ()
(kgdb) where
#0  0xf012afa3 in boot ()
#1  0xf012b326 in panic ()
#2  0xf0134e0b in pipespace ()
#3  0xf0135a46 in pipe_write ()
#4  0xf0133cf6 in write ()
#5  0xf01de88b in syscall ()
#6  0xf01cdd7c in Xint0x80_syscall ()
#7  0x280b5dc5 in ?? ()
#8  0x280b7c41 in ?? ()
#9  0x280b5caf in ?? ()
#10 0x280b8076 in ?? ()
#11 0x8048914 in ?? ()
#12 0x80484a5 in ?? ()
(kgdb)

And another one (same box), which is a bit older (some 1998-09-18, I recall):

{z}/mnt/pub/mish# gdb -k kernel.0 vmcore.0
IdlePTD 253000
current pcb at 21e100
panic: page fault
#0  0xf0111fef in boot ()
(kgdb) where
#0  0xf0111fef in boot ()
#1  0xf011230e in panic ()
#2  0xf01cbb8b in trap_fatal ()
#3  0xf01cb5a4 in trap_pfault ()
#4  0xf01cb23b in trap ()
#5  0xf01c794d in pmap_qenter ()
#6  0xf011c17c in pipe_build_write_buffer ()
#7  0xf011c35f in pipe_direct_write ()
#8  0xf011c7a6 in pipe_write ()
#9  0xf011a9d6 in write ()
#10 0xf01cbe6b in syscall ()
#11 0xf01bb37c in Xint0x80_syscall ()
#12 0x804e2a2 in ?? ()
#13 0x804d5a7 in ?? ()
#14 0x804decd in ?? ()
#15 0x804dfce in ?? ()
#16 0x804e034 in ?? ()
#17 0x804c7c4 in ?? ()
#18 0x8048e5f in ?? ()
#19 0x8048825 in ?? ()
#20 0x80480c9 in ?? ()
(kgdb)


That will hardly help, though here it is:

{lykke}/var/crash# more /sys/i386/conf/Z
machine         "i386"
cpu             "I686_CPU"
ident           Z
maxusers        512

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         NFS
options         MFS
options         "COMPAT_43"
options         PROCFS                  #Process filesystem
options         UCONSOLE                #Allow users to grab the console
options         USERCONFIG              #boot -c editor
options         VISUAL_USERCONFIG       #visual boot -c editor
#options         DEVFS                   #devices filesystem
#options                SLICE
options         UNION
#options                SOFTUPDATES



# Create a SMP capable kernel (mandatory options):
options         SMP                     # Symmetric MultiProcessor Kernel
options         APIC_IO                 # Symmetric (APIC) I/O

# Optional, these are the defaults:
options                NCPU=2                  # number of CPUs
options                NBUS=4                  # number of busses
options                NAPIC=1                 # number of IO APICs
options                NINTR=24                # number of INTs

#
options         DIAGNOSTIC

#
# PERFMON causes the driver for Pentium/Pentium Pro performance counters
# to be compiled.  See perfmon(4) for more information.

#options         PERFMON

config          kernel  root on wd0

controller      isa0
controller      pci0

controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
disk            fd0     at fdc0 drive 0
controller      wdc0    at isa? port "IO_WD1" bio irq 14 vector wdintr

options         ATAPI           #Enable ATAPI support for IDE bus
options         ATAPI_STATIC    #Don't do it as an LKM
device          wcd0
device          cd0     #IDE CD-ROM

controller      ahc0
controller      scbus0
device          da0
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
device          npx0    at isa? port "IO_NPX" flags 0x1 irq 13 vector npxintr
device          psm0    at isa? disable port "IO_KBD" conflicts tty irq 12 vecto
r psmintr
device fxp0
pseudo-device           loop
pseudo-device           ether
pseudo-device           pty     256
pseudo-device           ccd     4
pseudo-device           snp     3
pseudo-device           bpfilter 16

#controller      dpt0

# DPT options
# options DPT_VERIFY_HINTR
#options DPT_RESTRICTED_FREELIST
#options DPT_TRACK_CCB_STATES
#options DPT_MEASURE_PERFORMANCE
#options DPT_FREELIST_IS_STACK
#options DPT_HANDLE_TIMEOUTS
#options DPT_TIMEOUT_FACTOR=4
#options DPT_INTR_DELAY=200      # Some motherboards need that
#options DPT_LOST_IRQ
# DEBUG!

options KTRACE

options         SYSVSHM
options         SYSVSEM
options         SYSVMSG

#options         IPFIREWALL              #firewall
#options         IPFIREWALL_VERBOSE      #print information about
                                        # dropped packets
#options         "IPFIREWALL_VERBOSE_LIMIT=100"  #limit verbosity
#options         IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
#options         IPDIVERT                #divert sockets

options         INCLUDE_CONFIG_FILE
options         "NMBCLUSTERS=24576"
options         COMPAT_LINUX


Thanks in advance, 
-- 
-mishania

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



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