panic: bad pte at line 2539 in file /usr/src/sys/amd64/amd64/pmap.c

Till Plewe till at score.is.tsukuba.ac.jp
Mon Apr 19 18:24:00 PDT 2004


Has anybody else encountered this panic? It occurs only when I have 2 or
more processes of >=1GB running. I will build a debug kernel now and
wait for the next panic. 

- Till

###########################
last messages before reboot
###########################

pid 867 (python2.4), uid 0: exited on signal 11
pid 874 (python2.4), uid 0: exited on signal 11
pid 876 (python2.4), uid 0: exited on signal 11
pid 877 (python2.4), uid 0: exited on signal 11
pid 891 (python2.4), uid 0: exited on signal 11
pid 892 (python2.4), uid 0: exited on signal 11
pid 893 (python2.4), uid 0: exited on signal 11
pid 900 (python2.4), uid 0: exited on signal 11
pid 1041 (python2.3), uid 0: exited on signal 11
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=157835242
pid 1258 (python2.3), uid 0: exited on signal 11
pid 1259 (python2.3), uid 0: exited on signal 11
pid 1274 (python2.3), uid 0: exited on signal 11
pid 1415 (python2.4), uid 0: exited on signal 10
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=157823458
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=157823458
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=80228994
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=80228834
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=80240642
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=157836086
pid 10957 (python2.4), uid 0: exited on signal 11
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=80240642
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=157836086
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=157835286
ad0: TIMEOUT - READ_DMA retrying (2 retries left) LBA=157836086
pid 14903 (python2.4), uid 0: exited on signal 6
ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=157823458
pid 15489 (python2.4), uid 0: exited on signal 11
pid 15872 (python2.4), uid 0: exited on signal 11
pid 15865 (python2.4), uid 0: exited on signal 6
TPTE at 0xffff800000a0ce60  IS ZERO @ VA 1419cc000
panic: bad pte
at line 2539 in file /usr/src/sys/amd64/amd64/pmap.c
cpuid = 0;
boot() called on cpu#0

########
uname -a
########

FreeBSD plewe3.is.tsukuba.ac.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #3:
Thu Apr 15 16:32:25 JST 2004
root at plewe3.is.tsukuba.ac.jp:/usr/obj/usr/src/sys/MYKERNEL_4BSD amd64

########
dmesg
########
FreeBSD 5.2-CURRENT #3: Thu Apr 15 16:32:25 JST 2004
    root at plewe3.is.tsukuba.ac.jp:/usr/obj/usr/src/sys/MYKERNEL_4BSD
Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff80755000.
ACPI APIC Table: <PTLTD          APIC  >
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 248 (2205.01-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0xf58  Stepping = 8
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  AMD Features=0xe0500800<SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!>
real memory  = 6442450944 (6144 MB)
avail memory = 6164512768 (5878 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 1.1> irqs 0-23 on motherboard
ioapic1 <Version 1.1> irqs 24-27 on motherboard
ioapic2 <Version 1.1> irqs 28-31 on motherboard
random: <entropy source, Software, Yarrow>
cpu0 on motherboard
cpu1 on motherboard
acpi0: <PTLTD    XSDT> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
unknown: I/O range not supported
unknown: I/O range not supported
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pcib0: could not get PCI interrupt routing table for \\_SB_.PCI0 - AE_NOT_FOUND
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <serial bus, USB> at device 0.0 (no driver attached)
pci1:0:0: Transition from D0 to D3
pci1: <serial bus, USB> at device 0.1 (no driver attached)
pci1:0:1: Transition from D0 to D3
ahc0: <Adaptec 2940 Ultra SCSI adapter> port 0x2000-0x20ff mem 0xfc102000-0xfc102fff irq 16 at device 4.0 on pci1
ahc0: Reserved 0x100 bytes for rid 0x10 type 4 at 0x2000
ahc0: [GIANT-LOCKED]
aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
pci1: <display, VGA> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 8111 UDMA133 controller> port 0x1020-0x102f at device 7.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1020
atapci0: BAD BAR: skipping checks
atapci0: Lazy allocation of 0x8 bytes rid 0x10 type 4 at 0x1f0
atapci0: BAD BAR: skipping checks
atapci0: Lazy allocation of 0x4 bytes rid 0x14 type 4 at 0x3f4
ata0: at 0x1f0 irq 14 on atapci0
atapci0: BAD BAR: skipping checks
atapci0: Lazy allocation of 0x8 bytes rid 0x18 type 4 at 0x170
atapci0: BAD BAR: skipping checks
atapci0: Lazy allocation of 0x4 bytes rid 0x1c type 4 at 0x374
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, SMBus> at device 7.2 (no driver attached)
pci0:7:2: Transition from D0 to D3
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pci0:7:3: Transition from D0 to D3
pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
pci2: <ACPI PCI bus> on pcib2
bge0: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfe000000-0xfe00ffff irq 27 at device 3.0 on pci2
bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfe000000
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge0: Ethernet address: 00:50:45:00:aa:7f
bge0: [GIANT-LOCKED]
bge1: <Broadcom BCM5702 Gigabit Ethernet, ASIC rev. 0x1002> mem 0xfe010000-0xfe01ffff irq 27 at device 4.0 on pci2
bge1: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xfe010000
miibus1: <MII bus> on bge1
brgphy1: <BCM5703 10/100/1000baseTX PHY> on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto
bge1: Ethernet address: 00:50:45:00:aa:80
bge1: [GIANT-LOCKED]
atapci1: <Promise PDC20319 SATA150 controller> port 0x3000-0x307f,0x30c0-0x30cf,0x3080-0x30bf mem 0xfe020000-0xfe03ffff,0xfe040000-0xfe040fff irq 25 at device 5.0 on pci2
atapci1: failed: rid 0x20 is memory, requested 4
atapci1: Reserved 0x20000 bytes for rid 0x20 type 3 at 0xfe020000
atapci1: Reserved 0x1000 bytes for rid 0x1c type 3 at 0xfe040000
ata2: at 0xfe040000 on atapci1
ata3: at 0xfe040000 on atapci1
ata4: at 0xfe040000 on atapci1
ata5: at 0xfe040000 on atapci1
pci0: <base peripheral, interrupt controller> at device 10.1 (no driver attached)
pci0:10:1: Transition from D0 to D3
pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pci0: <base peripheral, interrupt controller> at device 11.1 (no driver attached)
pci0:11:1: Transition from D0 to D3
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: cannot reserve I/O port range (1 ports)
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77f,0x378-0x37f irq 7 drq 4 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
isa_dmainit(4, 1024) failed
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
fdc0: cannot reserve I/O port range (1 ports)
orm0: <Option ROMs> at iomem 0xcb000-0xcf7ff,0xc9800-0xcafff,0xc8000-0xc97ff,0xc0000-0xc7fff on isa0
fdc0: cannot reserve I/O port range (6 ports)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 0.976 msec
ad0: 114473MB <ST3120026A> [232581/16/63] at ata0-master UDMA100
acd0: CDROM <CRD-8480C> at ata1-master PIO4
Waiting 5 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
da0 at ahc0 bus 0 target 0 lun 0
da0: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device
da0: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
da1 at ahc0 bus 0 target 1 lun 0
da1: <IBM DNES-318350W SA30> Fixed Direct Access SCSI-3 device
da1: 40.000MB/s transfers (20.000MHz, offset 8, 16bit), Tagged Queueing Enabled
da1: 17501MB (35843670 512 byte sectors: 255H 63S/T 2231C)
Mounting root from ufs:/dev/da0s1a

##########################################
diff MYKERNEL_4BSD /sys/amd64/conf/GENERIC
##########################################

23c23
< ident         MYKERNEL_4BSD
---
> ident         GENERIC
28c28
< #makeoptions  DEBUG=-g                # Build kernel with gdb(1) debug symbols
---
> makeoptions   DEBUG=-g                # Build kernel with gdb(1) debug symbols
31c31
< options       SCHED_4BSD              # ULE scheduler
---
> options       SCHED_ULE               # ULE scheduler
33c33
< #options      INET6                   # IPv6 communications protocols
---
> options       INET6                   # IPv6 communications protocols
38,41c38,41
< #options      MD_ROOT                 # MD is a potential root device
< #options      NFSCLIENT               # Network Filesystem Client
< #options      NFSSERVER               # Network Filesystem Server
< #options      NFS_ROOT                # NFS usable as /, requires NFSCLIENT
---
> options       MD_ROOT                 # MD is a potential root device
> options       NFSCLIENT               # Network Filesystem Client
> options       NFSSERVER               # Network Filesystem Server
> options       NFS_ROOT                # NFS usable as /, requires NFSCLIENT
49,50c49,50
< options       SCSI_DELAY=5000         # Delay (in ms) before probing SCSI
< #options      KTRACE                  # ktrace(1) support
---
> options       SCSI_DELAY=15000        # Delay (in ms) before probing SCSI
> options       KTRACE                  # ktrace(1) support
63,67c63,67
< #options      DDB                     # Enable the kernel debugger
< #options      INVARIANTS              # Enable calls of extra sanity checking
< #options      INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
< #options      WITNESS                 # Enable checks to detect deadlocks and cycles
< #options      WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
---
> options       DDB                     # Enable the kernel debugger
> options       INVARIANTS              # Enable calls of extra sanity checking
> options       INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
> options       WITNESS                 # Enable checks to detect deadlocks and cycles
> options       WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
72c72
< #device               atpic           # 8259A compatability
---
> device                atpic           # 8259A compatability
78a79
>
80c81
< #device               pcm
---
> device                pcm
242,244c243,245
< #device               uhci            # UHCI PCI->USB interface
< #device               ohci            # OHCI PCI->USB interface
< #device               usb             # USB Bus (required)
---
> device                uhci            # UHCI PCI->USB interface
> device                ohci            # OHCI PCI->USB interface
> device                usb             # USB Bus (required)
246,253c247,254
< #device               ugen            # Generic
< #device               uhid            # "Human Interface Devices"
< #device               ukbd            # Keyboard
< #device               ulpt            # Printer
< #device               umass           # Disks/Mass storage - Requires scbus and da
< #device               ums             # Mouse
< #device               urio            # Diamond Rio 500 MP3 player
< #device               uscanner        # Scanners
---
> device                ugen            # Generic
> device                uhid            # "Human Interface Devices"
> device                ukbd            # Keyboard
> device                ulpt            # Printer
> device                umass           # Disks/Mass storage - Requires scbus and da
> device                ums             # Mouse
> device                urio            # Diamond Rio 500 MP3 player
> device                uscanner        # Scanners
255,258c256,259
< #device               aue             # ADMtek USB ethernet
< #device               axe             # ASIX Electronics USB ethernet
< #device               cue             # CATC USB ethernet
< #device               kue             # Kawasaki LSI USB ethernet
---
> device                aue             # ADMtek USB ethernet
> device                axe             # ASIX Electronics USB ethernet
> device                cue             # CATC USB ethernet
> device                kue             # Kawasaki LSI USB ethernet
261,268c262,264
< #device               firewire        # FireWire bus code
< #device               sbp             # SCSI over FireWire (Requires scbus and da)
< #device               fwe             # Ethernet over FireWire (non-standard!)
<
< options               MAXDSIZ="(5UL*1024*1024*1024)"
< options               MAXSSIZ="(5UL*1024*1024*1024)"
< options               DFLDSIZ="(5UL*1024*1024*1024)"
<
---
> device                firewire        # FireWire bus code
> device                sbp             # SCSI over FireWire (Requires scbus and da)
> device                fwe             # Ethernet over FireWire (non-standard!)


More information about the freebsd-amd64 mailing list