Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 01:36:31 -0500
From:      "Cagle, John (ISS-Houston)" <john.cagle@hp.com>
To:        "Terry Lambert" <tlambert2@mindspring.com>, "Jake Burkholder" <jake@locore.ca>
Cc:        current@freebsd.org
Subject:   RE: 5.1 PAE testing results: 2 panics
Message-ID:  <C50AB9511EE59B49B2A503CB7AE1ABD10440E52F@cceexc19.americas.cpqcorp.net>

next in thread | raw e-mail | index | archive | help
As requested, here is the dmesg from this system with the PAE kernel.  I
tried maxvnodes set to 100000, but had the same "kmem_map too small"
panic.  I will try "clamping" the memory in machdep.c next...

Thanks,
John

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.1-BETA #0: Thu May 22 19:23:06 CDT 2003
    root@bigdaddy.americas.cpqcorp.net:/usr/obj/usr/src/sys/PAE-SMP
Preloaded elf kernel "/boot/kernel/kernel" at 0xc05b0000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 1888623028 Hz
CPU: Intel(R) XEON(TM) MP CPU 1.90GHz (1888.62-MHz 686-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0xf22  Stepping =3D 2
=20
Features=3D0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG=
E
,MCA,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
  Hyperthreading: 2 logical CPUs
real memory  =3D 9126805504 (8704 MB)
avail memory =3D 8613085184 (8214 MB)
Changing APIC ID for IO APIC #0 from 2 to 8 in MP table
Changing APIC ID for IO APIC #1 from 3 to 9 in MP table
Changing APIC ID for IO APIC #2 from 4 to 10 in MP table
Changing APIC ID for IO APIC #3 from 5 to 11 in MP table
Changing APIC ID for IO APIC #0 from 2 to 8 on chip
Changing APIC ID for IO APIC #1 from 3 to 9 on chip
Changing APIC ID for IO APIC #2 from 4 to 10 on chip
Changing APIC ID for IO APIC #3 from 5 to 11 on chip
Programming 16 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 16 pins in IOAPIC #1
Programming 16 pins in IOAPIC #2
Programming 16 pins in IOAPIC #3
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 cpu2 (AP):  apic id:  2, version: 0x00050014, at 0xfee00000
 cpu3 (AP):  apic id:  3, version: 0x00050014, at 0xfee00000
 cpu4 (AP):  apic id:  4, version: 0x00050014, at 0xfee00000
 cpu5 (AP):  apic id:  5, version: 0x00050014, at 0xfee00000
 cpu6 (AP):  apic id:  6, version: 0x00050014, at 0xfee00000
 cpu7 (AP):  apic id:  7, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  8, version: 0x000f0011, at 0xfec00000
 io1 (APIC): apic id:  9, version: 0x000f0011, at 0xfec01000
 io2 (APIC): apic id: 10, version: 0x000f0011, at 0xfec02000
 io3 (APIC): apic id: 11, version: 0x000f0011, at 0xfec03000
Pentium Pro MTRR support enabled
acpi0: <COMPAQ P30     > on motherboard
    ACPI-0629: *** Info: There are no GPE blocks defined in the FADT
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
pcibios: BIOS version 2.10
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_cpu2: <CPU> on acpi0
acpi_cpu3: <CPU> on acpi0
acpi_cpu4: <CPU> on acpi0
acpi_cpu5: <CPU> on acpi0
acpi_cpu6: <CPU> on acpi0
acpi_cpu7: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #1 intpin 0 -> irq 2
IOAPIC #1 intpin 1 -> irq 3
IOAPIC #0 intpin 7 -> irq 5
pci0: <display, VGA> at device 3.0 (no driver attached)
pci0: <base peripheral> at device 4.0 (no driver attached)
pci0: <base peripheral> at device 4.2 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks CSB5 UDMA100 controller> port
0x2000-0x200f,0x374-0x377,0x
170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 at device 15.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: simplex device, DMA on primary only
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 15.2 (no driver attached)
pcib1: <ACPI Host-PCI bridge> on acpi0
pci1: <ACPI PCI bus> on pcib1
IOAPIC #1 intpin 14 -> irq 7
ciss0: <Compaq Smart Array 5i> port 0x3000-0x30ff mem
0xf78f0000-0xf78f3fff,0xf7
9c0000-0xf79fffff irq 7 at device 3.0 on pci1
ciss0: using 256 of 1024 available commands
ciss0:   1 logical drive configured
ciss0:   firmware 1.92
ciss0:   2 SCSI channels
ciss0:   signature 'CISS'
ciss0:   valence 1
ciss0:   supported I/O methods 0xe<simple,performant,MEMQ>
ciss0:   active I/O method 0x3<simple>
ciss0:   4G page base 0x00000000
ciss0:   interrupt coalesce delay 1000us
ciss0:   interrupt coalesce count 16
ciss0:   max outstanding commands 1024
ciss0:   bus types 0x2<ultra3>
ciss0:   server name ''
ciss0:   heartbeat 0x10000049
ciss0: 1 logical drive
ciss0: logical drive 1: RAID 1, 16896MB online
pcib2: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib2
IOAPIC #1 intpin 15 -> irq 10
IOAPIC #1 intpin 7 -> irq 11
bge0: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem
0xf7af0000-0xf7
afffff irq 10 at device 1.0 on pci2
bge0: Ethernet address: 00:0b:cd:29:69:35
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX
-FDX, auto
bge1: <Broadcom BCM5703X Gigabit Ethernet, ASIC rev. 0x1002> mem
0xf7ae0000-0xf7
aeffff irq 11 at device 2.0 on pci2
bge1: Ethernet address: 00:0b:cd:29:69:36
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX
-FDX, auto
pcib3: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci6: <ACPI PCI bus> on pcib4
IOAPIC #1 intpin 10 -> irq 15
pcib5: <PCI-PCI bridge> at device 1.0 on pci6
pci7: <PCI bus> on pcib5
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port
0x4000-0x403f mem
0xf7e00000-0xf7efffff,0xf7ff0000-0xf7ff0fff irq 11 at device 4.0 on pci7
fxp0: Ethernet address 00:50:8b:6f:a1:4a
miibus2: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus2
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port
0x4040-0x407f mem
0xf7c00000-0xf7cfffff,0xf7df0000-0xf7df0fff irq 7 at device 5.0 on pci7
fxp1: Ethernet address 00:50:8b:6f:a1:4b
miibus3: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus3
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bge2: <Broadcom BCM5701 Gigabit Ethernet, ASIC rev. 0x105> mem
0xf7bf0000-0xf7bf
ffff irq 15 at device 2.0 on pci6
bge2: Ethernet address: 00:02:a5:e7:03:61
miibus4: <MII bus> on bge2
brgphy2: <BCM5701 10/100/1000baseTX PHY> on miibus4
brgphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX,
1000baseTX
-FDX, auto
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f2-0
x3f5 irq 6 drq 2 on acpi0
isa_dmainit(2, 1024) failed
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
npx0: <math processor> on motherboard
npx0: INT 16 interface
orm0: <Option ROMs> at iomem
0xee000-0xeffff,0xcd800-0xcefff,0xcc000-0xcd7ff,0xc
8000-0xcbfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
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
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
ata0-slave: timeout waiting for interrupt
ata0-slave: ATA identify failed
acd0: CDROM <COMPAQ CD-ROM SN-124> at ata0-master PIO4
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 1  VOLUME OK> Fixed Direct Access SCSI-0 device
da0: 135.168MB/s transfers
da0: 17359MB (35553120 512 byte sectors: 255H 32S/T 4357C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #6 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #5 Launched!
SMP: AP CPU #7 Launched!
SMP: AP CPU #3 Launched!
SMP: AP CPU #4 Launched!
Mounting root from ufs:/dev/da0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted


> -----Original Message-----
> From: Terry Lambert [mailto:tlambert2@mindspring.com]=20
> Sent: Friday, May 23, 2003 12:39 AM
> To: Jake Burkholder
> Cc: Cagle, John (ISS-Houston); current@freebsd.org
> Subject: Re: 5.1 PAE testing results: 2 panics
>=20
>=20
> Jake Burkholder wrote:
> > Apparently, On Thu, May 22, 2003 at 08:11:33PM -0500,
> >         Cagle, John (ISS-Houston) said words to the effect of;
> > >  panic: kmem_malloc(4096): kmem_map too small: 96624640 total=20
> > > allocated
> > >
> > > I tried lowering kern.maxvnodes from 536130 (default) to=20
> 200000, but=20
> > > that did not alleviate the panic.
> >=20
> > Can you try reducing this by half again to 100,000 and see if that=20
> > helps things?  Increasing the amount of available kva with options=20
> > KVA_PAGES may also work, but finding the right limits for=20
> vnodes is a=20
> > better solution.  Note that the values for KVA_PAGES are=20
> doubled with=20
> > PAE, eg 512 gives you the standard 3G user/1G kernel split.
>=20
> FWIW...
>=20
> If the auto-sizing code is taking the actual amount of RAM=20
> into account to make its decisions, this could easily be the=20
> problem. You may want to modify machdep.c to "clamp" the=20
> amount of memory used in auto-sizing at 4G or even 3G, to=20
> account for the window's impact on available wired pages.
>=20
> Without the original dmesg (specifically, the part where it=20
> spits out the memory size information), it's hard to tell if=20
> this is likely the problem or not.
>=20
> -- Terry
>=20



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