Bug 26510

Summary: kernel panic while booting on Intel STL2 server board with 4GB RAM
Product: Base System Reporter: dhyoo <dhyoo>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description dhyoo 2001-04-12 09:40:00 UTC
Hanging after following messages while booting

----------------------------------------------

Copyright (c) 1992-2001 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 4.3-RC #0: Thu Apr 12 15:59:37 KST 2001
    root@localhost:/mnt/atj/bsd-tune/tmp/sys-stable-20010405/compile/GENEC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (933.08-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C>
real memory  = 4194238464 (4095936K bytes)
avail memory = 4081852416 (3986184K bytes)
Preloaded elf kernel "kernel-stable-20010405" at 0xc0458000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <ATI Mach64-GV graphics accelerator> at 2.0 irq 11
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x5400-0x543f mem 0xfb000000-0xfb00
fxp0: Ethernet address 00:d0:b7:b6:9a:e0
isab0: <ServerWorks IB6566 PCI to ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 ATA33 controller> port 0x5440-0x544f,0x374-0x377,0x0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcib1: <ServerWorks NB6635 3.0LE host to PCI bridge> on motherboard
pci1: <PCI bus> on pcib1
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 28629MB <QUANTUM FIREBALLP LM30> [58168/16/63] at ata0-master UDMA33
Mounting root from ufs:/dev/ad0s1a
panic: swap_pager_swap_init: swap_zone == NULL
Debugger("panic")
Stopped at      Debugger+0x34:  movb    $0,in_Debugger.396
db> trace
Debugger(c03553e3) at Debugger+0x34
panic(c0370c00,0,c02c7ba4,f2c5ff9c,c02c7cea) at panic+0x70
swap_pager_swap_init(0,c02c7ba4,8000,c030d51c,0) at swap_pager_swap_init+0x7f
vm_pageout(0) at vm_pageout+0x146
fork_trampoline() at fork_trampoline+0x8
db>

How-To-Repeat: If you install that version of FreeBSD on the Intel STL2 Server Board
with 4GB RAM, the kernel hangs while booting. When we reduced RAM size
to 2GB, it worked well. We tried 3 boards, but all of them showed 
the same results.

In addition, we tried some versions of FreeBSD such as 5.0-current,
4.1-stable, and 4.3-stable. FreeBSD 5.0-current and 4.3-stable always hanged while booting on the same environment. FreeBSD 4.1-stable was 
installed well. But when we increased some kernel resources like 
maxusers, we increased it upto 512, it hanged also while booting.
Comment 1 justin 2001-10-16 07:17:43 UTC
I guess that this problem can be fixed in latest 4.4 stable
by increase kernel config KVA_PAGES (eg.  512)

I don't have an Intel STL2 server board, but my 2.5 G machine
need to set this or it would has exacly the same panic.

- Justin Chuang
Comment 2 iedowse freebsd_committer freebsd_triage 2001-12-02 23:24:43 UTC
State Changed
From-To: open->feedback


Does this problem still exist with a recent -STABLE?
Comment 3 hitmaster 2002-01-21 15:38:07 UTC
This problem has been solved by Terry Lambert, and others on
the FreeBSD -hackers and -current mailing lists.  If you could
just search through the mailing archives, with the keyword
"4G" without the quotes, you will find ample information regarding
this issue.

Basically, this issue comes up, because of the Intel's 4 Gigabytes
Virtual Address (VA) space limitation.  This causes a hang in the
FreeBSD's KVA mapping system.  A patch for this was posted by Matt
Dillon on the freebsd-current mailing list, as well -hackers.

In a nutshell, your best bet would be to look at the freebsd-stable
list, or freebsd-current list, depending on which version of FreeBSD
you are running. 

regards,
Hiten Pandya
<hiten@uk.FreeBSD.org>
<hitmaster@mysun.com>

Security Fingerprint:
45 a5 9c f2 fb 07 da 70 18 02 0b f3 63 f1 7a a6 hitenp@hpdi.ath.cx
Comment 4 Sheldon Hearn 2002-01-31 12:31:20 UTC
On Mon, 21 Jan 2002 07:40:02 PST, "Hiten Pandya" wrote:

>  Basically, this issue comes up, because of the Intel's 4 Gigabytes
>  Virtual Address (VA) space limitation.  This causes a hang in the
>  FreeBSD's KVA mapping system.  A patch for this was posted by Matt
>  Dillon on the freebsd-current mailing list, as well -hackers.

Could you post message IDs?  I can't find the Patch from Matt that
you're talking about.

Also, if the patch hasn't been committed yet, surely these PRs should
remain open and be assigned to him?

Ciao,
Sheldon.
Comment 5 Hiten Pandya 2002-02-17 11:58:52 UTC
This PR can be closed.

Regards,

-- 
 - Hiten Pandya
 - <hiten@uk.FreeBSD.org>
Comment 6 iedowse freebsd_committer freebsd_triage 2002-06-02 12:17:20 UTC
State Changed
From-To: feedback->closed


Feedback timeout.