From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 19:00:13 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 82E8116A4CE for ; Thu, 11 Dec 2003 19:00:13 -0800 (PST) Received: from smtp.mho.com (smtp.mho.net [64.58.4.6]) by mx1.FreeBSD.org (Postfix) with SMTP id E4A2C43D1D for ; Thu, 11 Dec 2003 19:00:10 -0800 (PST) (envelope-from scottl@freebsd.org) Received: (qmail 5329 invoked by uid 1002); 12 Dec 2003 03:00:07 -0000 Received: from unknown (HELO freebsd.org) (64.58.1.252) by smtp.mho.net with SMTP; 12 Dec 2003 03:00:07 -0000 Message-ID: <3FD92EEC.6020201@freebsd.org> Date: Thu, 11 Dec 2003 19:58:52 -0700 From: Scott Long User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031103 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zoran Kikic References: <19B481CA418DC04CA76EEF2B90B905F11DF1D5@srv-mail.magic-garden.local> In-Reply-To: <19B481CA418DC04CA76EEF2B90B905F11DF1D5@srv-mail.magic-garden.local> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: AW: just a hint: kmem_map too small - 5.2-CURRENT-20031209 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2003 03:00:13 -0000 Did the panic occur with 64MB or 128MB of RAM? Under the lower RAM configuration, can you see what the kern.maxvnodes sysctl says? Also, can you provide a full backtrace and console log of the panic? This is essential in order to know what needs to be tuned. Thanks, Scott Zoran Kikic wrote: > 1. installed the 5.2-CURRENT-20031209 iso (cd-rom) > - / 248MB > - swap 102MB > - /tmp 248MB > - /usr 8.4G > - /var 248MB > > 2. downloaded sources (cvsup) from cvsup2.de.freebsd.org > > 3. dropped some kernel options (modifiedKernel.txt) > > 4. cd /usr/src && make depend && make buildkernel KERNCONF=WORKING && > make installkernel KERNCONF=NEW && reboot > > after reboot: > > > ------------------------------------------------------------------------ > -- > panic: kmem_malloc(3203072): kmem_map too small: 25944064 total > allocated > cpuid = 0; > boot() called on cpu#0 > > syncing disks.... > > ------------------------------------------------------------------------ > -- > > with additional 64mb everything is fine. > > > I hope it helps somehow. > > Zoran > > > ------------------------------------------------------------------------ > > machine i386 > cpu I686_CPU > ident NEW > > #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols > options SC_HISTORY_SIZE = 20000 > options CONSPEED=115200 > options SCHED_4BSD #4BSD scheduler > options INET #InterNETworking > options FFS #Berkeley Fast Filesystem > options SOFTUPDATES #Enable FFS soft updates support > options UFS_ACL #Support for access control lists > options UFS_DIRHASH #Improve performance on big directories > options MD_ROOT #MD is a potential root device > options CD9660 #ISO 9660 Filesystem > options PROCFS #Process filesystem (requires PSEUDOFS) > options PSEUDOFS #Pseudo-filesystem framework > options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] > options SCSI_DELAY=15000 #Delay (in ms) before probing SCSI > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options AHC_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~128k to driver. > options AHD_REG_PRETTY_PRINT # Print register bitfields in debug > # output. Adds ~215k to driver. > > # To make an SMP kernel, the next two are needed > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > > device isa > device eisa > device pci > > # Floppy drives > device fdc > > # ATA and ATAPI devices > device ata > device atadisk # ATA disk drives > device ataraid # ATA RAID drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID #Static device numbering > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc # AT keyboard controller > device atkbd # AT keyboard > device psm # PS/2 mouse > > device vga # VGA video card driver > > # syscons is the default console driver, resembling an SCO console > device sc > > device agp # support several AGP chipsets > > # Floating point support - do not disable. > device npx > > # Add suspend/resume support for the i8254. > device pmtimer > > # Serial (COM) ports > device sio # 8250, 16[45]50 based serial ports > > # PCI Ethernet NICs that use the common MII bus controller code. > # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! > device miibus # MII bus support > device rl # RealTek 8129/8139 > > # Pseudo devices - the number indicates how many units to allocate. > device random # Entropy device > device loop # Network loopback > device ether # Ethernet support > device sl # Kernel SLIP > device ppp # Kernel PPP > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif # IPv6 and IPv4 tunneling > device faith # IPv6-to-IPv4 relaying (translation) > > > ------------------------------------------------------------------------ > > Copyright (c) 1992-2003 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.2-CURRENT #0: Tue Dec 9 23:00:02 CET 2003 > root@test1.magic-garden.local:/usr/obj/usr/src/sys/OPTIMAL > Preloaded elf kernel "/boot/kernel/kernel" at 0xc0716000. > Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0716244. > acpi_alloc_wakeup_handler: can't alloc wake memory > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Pentium III/Pentium III Xeon/Celeron (498.67-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x673 Stepping = 3 > Features=0x387fbff > real memory = 134152192 (127 MB) > avail memory = 121786368 (116 MB) > MPTable: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Assuming intbase of 0 > ioapic0 irqs 0-23 on motherboard > Pentium Pro MTRR support enabled > npx0: [FAST] > npx0: on motherboard > npx0: INT 16 interface > acpi0: on motherboard > ACPI-0265: *** Error: Hardware never changed modes > ACPI-0168: *** Error: Could not transition to ACPI mode. > acpi0: Could not enable ACPI: AE_NO_HARDWARE_RESPONSE > device_probe_and_attach: acpi0 attach returned 6 > pcibios: BIOS version 2.10 > Using $PIR table, 7 entries at 0xc00fdd90 > pcib0: at pcibus 0 on motherboard > pci0: on pcib0 > pcib0: slot 8 INTA routed to irq 16 > agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pcib1: slot 0 INTA routed to irq 16 > pci1: at device 0.0 (no driver attached) > isab0: at device 7.0 on pci0 > isa0: on isab0 > atapci0: port 0xf000-0xf00f at device 7.1 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata0: [MPSAFE] > ata1: at 0x170 irq 15 on atapci0 > ata1: [MPSAFE] > pci0: at device 7.2 (no driver attached) > pci0: at device 7.3 (no driver attached) > rl0: port 0xe400-0xe4ff mem 0xea000000-0xea0000ff irq 16 at device 8.0 on pci0 > rl0: Ethernet address: 00:50:fc:20:c4:48 > miibus0: on rl0 > rlphy0: on miibus0 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > pmtimer0 on isa0 > orm0: