Fatal trap 19: non-maskable interrupt trap while in kernel mode

Gabor MICSKO trey at hup.hu
Fri Nov 5 12:00:42 PST 2004


Matthew Dillon írta:

>     OpenBSD has similar but slightly different initialization code, but
>     the differences shouldn't account for the failure.
> 
>     The question is... when you booted up OpenBSD did it probe the
>     firewire interface at all?

OpenBSD dmesg:

amd64mobile# uname -a
OpenBSD amd64mobile.trey.hu 3.6 GENERIC#136 amd64
amd64mobile# dmesg
OpenBSD 3.6 (GENERIC) #136: Fri Sep 17 12:28:10 MDT 2004
    deraadt at xxxxxxxxxxxxxxxxx:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 266924032 (260668K)
avail mem = 219246592 (214108K)
using 6567 buffers containing 26898432 bytes (26268K) of memory
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Mobile AMD Athlon(tm) 64 Processor 3000+, 1804.34 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,NXE,MMXX,LONG,3DNOW2,3DNOW
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 1MB 64b/line
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
pci0 at mainbus0 bus 0: configuration mode 1
pchb0 at pci0 dev 0 function 0 "VIA K8HTB Host" rev 0x01
ppb0 at pci0 dev 1 function 0 "VIA K8HTB AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Radeon Mobility M10 NP" rev 0x00
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Texas Instruments TSB43AB21 FireWire" rev 0x00 at pci0 dev 6 function 0 not
configured
re0 at pci0 dev 8 function 0 "Realtek 8169" rev 0x10: irq 5, address
00:90:f5:32:10:37
rgephy0 at re0 phy 7: RTL8169S/8110S media interface, rev. 0 PHY
"ENE CB-1410 CardBus" rev 0x01 at pci0 dev 12 function 0 not configured
vendor "Winbond", unknown product 0x8481 (class mass storage subclass
miscellaneous, rev 0x01) at pci0 dev 14 function 0 not configured
vendor "Winbond", unknown product 0x8482 (class mass storage subclass
miscellaneous, rev 0x01) at pci0 dev 14 function 1 not configured
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 9
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 10
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB 2.0" rev 0x82: irq 5
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
"VIA VT8235 ISA" rev 0x00 at pci0 dev 17 function 0 not configured
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to
compatibility
wd0 at pciide0 channel 0 drive 0: <FUJITSU MHT2040AT>
wd0: 16-sector PIO, LBA, 38154MB, 78140160 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CDRW/DVD SN-324F, U204> SCSI0
5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 10
ac97: codec id 0x414c4740 (Avance Logic <40>)
ac97: codec features headphone, 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
"VIA VT82C686 Modem" rev 0x80 at pci0 dev 17 function 6 not configured
pchb1 at pci0 dev 24 function 0 "AMD AMD64 HyperTransport" rev 0x00
pchb2 at pci0 dev 24 function 1 "AMD AMD64 Address Map" rev 0x00
pchb3 at pci0 dev 24 function 2 "AMD AMD64 DRAM Cfg" rev 0x00
pchb4 at pci0 dev 24 function 3 "AMD AMD64 Misc Cfg" rev 0x00
isa0 at mainbus0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
dkcsum: wd0 matched BIOS disk 80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
 
>     NetBSD also has similar code, but in NetBSD's case it also clears the
>     command pointers after probing the transmit bitmap.  But this occurs
>     after the crash point.
> 
>     In anycase, my guess is that if you do not use firewire you can
>     compile up a DragonFly kernel that does not probe the firewire
>     controller and
>     it will work.  It is clearly *NOT* a ram problem... it's definitely a
>     firewire initialization issue that is causing the firewire hardware to
>     blow up the system bus.

NetBSD dmesg:

> boot
booting hd0a:netbsd
5804048+631560+601496 [440784+264071]=0x8635b8
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 2.0_BETA (GENERIC) #0: Thu Apr 22 16:47:08 PDT 2004
        mthomas at xxxxxxxxxxxxxxxxxxxxxxxxxxxx:/u2/netbsd-2-0/amd64/obj/sys/arch/amd64/compile/GENERIC
total memory = 254 MB
avail memory = 237 MB
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.4) (                     )
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Mobile AMD Athlon(tm) 64 Processor 3000+, 1804.25 MHz
cpu0: features: e7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: e7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: e7dbfbff<FXSR,SSE,SSE2,LONG,3DNOW2,3DNOW>
cpu0: I-cache 64 KB 64b/line 2-way, D-cache 64 KB 64b/line 2-way
cpu0: L2 cache 1 MB 64b/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully
associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully
associative
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
mpbios: bus 0 is type PCI
mpbios: bus 1 is type PCI
mpbios: bus 2 is type ISA
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 3, 24 pins
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: VIA Technologies product 0x3188 (rev. 0x01)
ppb0 at pci0 dev 1 function 0: VIA Technologies product 0xb188 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: ATI Technologies product 0x4e50 (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1
wsmux1: connecting to wsdisplay0
Texas Instruments TSB43AA21 OHCI IEEE 1394 Host Controller (Firewire serial
bus, interface 0x10) at pci0 dev 6 function 0 not configured
Realtek Semiconductor 8169 10/100/1000 Ethernet (ethernet network, revision
0x10) at pci0 dev 8 function 0 not configured
ENE Technology, Inc. CB1410 Cardbus Controller (CardBus bridge, revision
0x01) at pci0 dev 12 function 0 not configured
Winbond Electronics product 0x8481 (miscellaneous mass storage, revision
0x01) at pci0 dev 14 function 0 not configured
Winbond Electronics product 0x8482 (miscellaneous mass storage, revision
0x01) at pci0 dev 14 function 1 not configured
uhci0 at pci0 dev 16 function 0: VIA Technologies VT83C572 USB Controller
(rev. 0x80)
uhci0: interrupting at ioapic0 pin 16 (irq 9)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1: VIA Technologies VT83C572 USB Controller
(rev. 0x80)
uhci1: interrupting at ioapic0 pin 17 (irq 11)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0x80)
uhci2: interrupting at ioapic0 pin 18 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
VIA Technologies VT8237 EHCI USB Controller (USB serial bus, interface 0x20,
revision 0x82) at pci0 dev 16 function 3 not configured
pcib0 at pci0 dev 17 function 0
pcib0: VIA Technologies VT8235 (Apollo KT400) PCI-ISA Bridge (rev. 0x00)
viaide0 at pci0 dev 17 function 1
viaide0: VIA Technologies VT8235 ATA133 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus1 at viaide0 channel 1
auvia0 at pci0 dev 17 function 5: VIA VT8235 AC'97 (rev 0x50)
auvia0: interrupting at ioapic0 pin 18 (irq 10)
auvia0: ac97: Avance Logic ALC202 codec; headphone, 20 bit DAC, 18 bit ADC,
Realtek 3D
auvia0: ac97: ext id 607<AC97_22,AMAP,SPDIF,DRA,VRA>
audio0 at auvia0: full duplex, mmap, independent
VIA Technologies VT82C686A MC-97 Modem Controller (miscellaneous
communications, revision 0x80) at pci0 dev 17 function 6 not configured
pchb1 at pci0 dev 24 function 0
pchb1: Advanced Micro Devices AMD64 HyperTransport configuration (rev. 0x00)
pchb2 at pci0 dev 24 function 1
pchb2: Advanced Micro Devices AMD64 Address Map configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 2
pchb3: Advanced Micro Devices AMD64 DRAM configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 3
pchb4: Advanced Micro Devices AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0 mux 1
wskbd0: connecting to wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
ioapic0: enabling
Kernelized RAIDframe activated
wd0 at atabus0 drive 0: <FUJITSU MHT2040AT>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA
data transfers)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <SAMSUNG CDRW/DVD SN-324F, , U204> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
data transfers)
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
Fri Nov  5 17:54:04 CET 2004
swapctl: adding /dev/wd0b as swap device at priority 0
Starting file system checks:
/dev/rwd0a: file system is clean; not checking
Setting tty flags.
Setting sysctl variables:
Starting network.
/etc/rc: WARNING: $hostname not set.
IPv6 mode: host
Configuring network interfaces:.
Building databases...
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
Starting syslogd.
Checking for core dump...
savecore: no core dump
Mounting all filesystems...
Clearing /tmp.
Checking quotas: done.
Starting virecover.
Starting local daemons:.
Updating motd.
Starting inetd.
Starting cron.
Fri Nov  5 17:54:08 CET 2004

 
>     If you have the ability to compile up DragonFly kernels with some
>     patches and want to try to get the firewire working I could put
>     together a patch for you to try.

I have no another DFly box sorry :-(










More information about the Kernel mailing list