[FreeBSD] Fatal trap 12: page fault while in kernel mode

Feczak Szabolcs feczo at koli.kando.hu
2001. Feb. 20., K, 23:30:39 CET


On Tue, Feb 20, 2001 at 09:19:49PM +0100, Adam Szilveszter wrote:
> On Tue, Feb 20, 2001 at 08:41:10PM +0100, Feczak Szabolcs wrote:
> > ok, megneztem/tuk az scsi beallitasokat a terminacio jo volt allitolag ..
> > probakeppen kikapcsoltuk a parity check-et, a halozati kabelek visszadugasa utan
> > ilyet sikerult produkalni:
> <...>
> > current process		= 216 (oops)
> 
> Mi van? Ilyen processz nincs is FreeBSD-n... ez nem Linux, meg nem is
> Britney Spears, csak ezen a ket helyen van oops... meg I did it again...:-)

nezz korul a /usr/ports/www/oops korul

Amugy
http://zipper.paco.net/~igor/oops.eng/download.html
de mar neki is irtam

> 1) Tudjatok meg, hogy tutira nem rossz-e a kartya vagy a rola logo hw-k.
> Nem irtad, hogy ezeket kicsereltetek volna.
szerintem nem, de meg mindig nincs kizarva ...
amugy volt kartyacsere is

> 2) Mellekelj mar egy dmesg-et, lehetoleg a 'boot -v'-bol
ime: 

Copyright (c) 1992-2000 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.2-RELEASE #2: Tue Feb 13 20:41:14 CET 2001
    root at bsdevil.koli:/usr/src/sys/compile/BSDEVIL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (233.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 268435456 (262144K bytes)
config> di pcic0
No such device: pcic0
Invalid command or syntax.  Type `?' for help.
config> di sn0
No such device: sn0
Invalid command or syntax.  Type `?' for help.
config> di lnc0
No such device: lnc0
Invalid command or syntax.  Type `?' for help.
config> di ie0
No such device: ie0
Invalid command or syntax.  Type `?' for help.
config> di fe0
No such device: fe0
Invalid command or syntax.  Type `?' for help.
config> di cs0
No such device: cs0
Invalid command or syntax.  Type `?' for help.
config> di bt0
No such device: bt0
Invalid command or syntax.  Type `?' for help.
config> di aha0
No such device: aha0
Invalid command or syntax.  Type `?' for help.
config> di adv0
No such device: adv0
Invalid command or syntax.  Type `?' for help.
config> en sc0
No such device: sc0
Invalid command or syntax.  Type `?' for help.
config> ir sc0 0
No such device: sc0
Invalid command or syntax.  Type `?' for help.
config> f sc0 0x100
No such device: sc0
Invalid command or syntax.  Type `?' for help.
config> q
avail memory = 257728512 (251688K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  0, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc039e000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc039e09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> at device 2.1 on pci0
atapci0: Busmastering DMA not supported
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 2.2 irq 19
Timecounter "PIIX"  frequency 3579545 Hz
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at device 2.3 on pci0
ahc0: <Adaptec aic7895 Ultra SCSI adapter> port 0xf800-0xf8ff mem 0xfedff000-0xfedfffff irq 17 at device 9.0 on pci0
aic7895: Wide Channel A, SCSI Id=7, 32/255 SCBs
ahc1: <Adaptec aic7895 Ultra SCSI adapter> port 0xf400-0xf4ff mem 0xfedfe000-0xfedfefff irq 17 at device 9.1 on pci0
aic7895: Wide Channel B, SCSI Id=7, 32/255 SCBs
pci0: <Cirrus Logic GD5430 SVGA controller> at 13.0
de0: <Digital 21040 Ethernet> port 0xfc00-0xfc7f mem 0xfedfdc00-0xfedfdc7f irq 18 at device 14.0 on pci0
de0: ZNYX ZX312 21040 [10Mb/s] pass 2.3
de0: address 00:c0:95:ec:26:13
tl0: <Compaq Netelligent 10/100> port 0xfcb0-0xfcbf mem 0xfedfd400-0xfedfd40f irq 19 at device 15.0 on pci0
tl0: Ethernet address: 00:08:c7:fa:cb:e1
miibus0: <MII bus> on tl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0: <ThunderLAN 10baseT media interface> on miibus0
tlphy0:  10base2/BNC, 10base5/AUI
tl1: <Compaq Netelligent 10/100> port 0xfcc0-0xfccf mem 0xfedfd800-0xfedfd80f irq 16 at device 16.0 on pci0
tl1: Ethernet address: 00:08:c7:fa:5b:cb
miibus1: <MII bus> on tl1
nsphy1: <DP83840 10/100 media interface> on miibus1
nsphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy1: <ThunderLAN 10baseT media interface> on miibus1
tlphy1:  10base2/BNC, 10base5/AUI
vt0 on isa0
vt0: generic, 80/132 col, color, 8 scr, mf2-kbd, [R3.20-b24]
vt0: driver is using old-style compatability shims
ep0: <3Com 3C509-Combo EtherLink III> at port 0x280-0x28f irq 5 on isa0
ep0: Ethernet address 00:a0:24:93:fe:df
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ep1 at port 0x280 irq 5 on isa0
ep1: No I/O space?!
ep1: ep_alloc() failed! (6)
device_probe_and_attach: ep1 attach returned 6
stray irq 7
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
DUMMYNET initialized (000608)
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default
IPsec: Initialized Security Association Processing.
IP Filter: v3.4.8 initialized.  Default = pass all, Logging = enabled
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/da0s1a
da0 at ahc1 bus 0 target 2 lun 0
da0: <QUANTUM FIREBALL ST2.1S 0F0C> Fixed Direct Access SCSI-2 device 
da0: 20.000MB/s transfers (20.000MHz, offset 15), Tagged Queueing Enabled
da0: 2068MB (4235629 512 byte sectors: 255H 63S/T 263C)
WARNING: / was not properly dismounted
tl0: tx underrun -- increasing tx threshold to 2048 bytes
tl0: tx underrun -- increasing tx threshold to 512 bytes
tl0: tx underrun -- increasing tx threshold to 768 bytes



> 3) Nezzetek mar meg, hogy esetleg egy kesobbi 4.2-vel (-STABLE) megy-e,
> mert volt ezen a teren fejlodes. (es azota mar 3 honap eltelt, hogy a 4.2
> megjelent)
Bocs de meg freebsdvel nem vagyok annyira gyakorlott,
honnan kell letolteni a forrast ? forditani ugyanugy kell mint ami benne
van gondolom ...  a tobbi komponensre nincs hatasa ?


> 4) Nezzetek meg, hogy UP kernelen is fennall-e a problema. (latom SMP-ztek)     
mi az az UP kernel ? :) 

> 5) Ha van kedvetek jatszani a gdb-vel, akkor fordits egy debug kernelt es
> aztan kerj egy crash-dumpot es ess neki a gdb-vel, aztan legalabb egy bt-t
> lehet, hogy jo lenne idekuldeni a listara...
hat momentan igy ejfel korul nincs, de ha rakenyszerulok akkor ilyet is adok


> http://www.freebsd.org/handbook/kerneldebug.html
holnap megnezem

-- 
Udv:
>-=-=-=-=-=-=-=-=-=-=
- F - 3 - C - Z - 0 - 
-=-=-=-=-=-=-=-=-=-=<



További információk a(z) BSD levelezőlistáról