Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2003 19:58:52 -0700
From:      Scott Long <scottl@freebsd.org>
To:        Zoran Kikic <kikic@magic-garden.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: AW: just a hint: kmem_map too small - 5.2-CURRENT-20031209
Message-ID:  <3FD92EEC.6020201@freebsd.org>
In-Reply-To: <19B481CA418DC04CA76EEF2B90B905F11DF1D5@srv-mail.magic-garden.local>
References:  <19B481CA418DC04CA76EEF2B90B905F11DF1D5@srv-mail.magic-garden.local>

next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
> real memory  = 134152192 (127 MB)
> avail memory = 121786368 (116 MB)
> MPTable: <OEM00000 PROD00000000>
> FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
>  cpu0 (BSP): APIC ID:  0
>  cpu1 (AP): APIC ID:  1
> ioapic0: Assuming intbase of 0
> ioapic0 <Version 1.1> irqs 0-23 on motherboard
> Pentium Pro MTRR support enabled
> npx0: [FAST]
> npx0: <math processor> on motherboard
> npx0: INT 16 interface
> acpi0: <GBT    AWRDACPI> 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: <MPTable Host-PCI bridge> at pcibus 0 on motherboard
> pci0: <PCI bus> on pcib0
> pcib0: slot 8 INTA routed to irq 16
> agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
> pcib1: <MPTable PCI-PCI bridge> at device 1.0 on pci0
> pci1: <PCI bus> on pcib1
> pcib1: slot 0 INTA routed to irq 16
> pci1: <display, VGA> at device 0.0 (no driver attached)
> isab0: <PCI-ISA bridge> at device 7.0 on pci0
> isa0: <ISA bus> on isab0
> atapci0: <Intel PIIX4 UDMA33 controller> 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: <serial bus, USB> at device 7.2 (no driver attached)
> pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
> rl0: <RealTek 8139 10/100BaseTX> port 0xe400-0xe4ff mem 0xea000000-0xea0000ff irq 16 at device 8.0 on pci0
> rl0: Ethernet address: 00:50:fc:20:c4:48
> miibus0: <MII bus> on rl0
> rlphy0: <RealTek internal media interface> on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> pmtimer0 on isa0
> orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
> atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
> atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> kbd0 at atkbd0
> fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
> fdc0: FIFO enabled, 8 bytes threshold
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> sc0: <System console> at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
> sio0: type 16550A
> sio1: configured irq 3 not in bitmap of probed irqs 0
> sio1: port may not be enabled
> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
> unknown: <PNP0303> can't assign resources (port)
> unknown: <PNP0a03> can't assign resources (port)
> unknown: <PNP0700> can't assign resources (port)
> unknown: <PNP0501> can't assign resources (port)
> Timecounters tick every 10.000 msec
> GEOM: create disk ad0 dp=0xc1f66560
> ad0: 9729MB <ST310210A> [19767/16/63] at ata0-master UDMA33
> acd0: CDROM <ATAPI CDROM> at ata1-master PIO4
> SMP: AP CPU #1 Launched!
> Mounting root from ufs:/dev/ad0s1a
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"




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