Xine causes kernel panic

From: Brendon and Wendy <wendy.humphrey_at_comcast.net>
Date: Sun, 18 Jan 2004 11:08:55 -0800
All,

With some help from Kris Kennaway, I've now done some more poking
around. The reason that Xine "locks the machine hard" is that it is
causing a 100% repeatable, panic that I can trigger with a UP or MP
kernel with or without the NVIDIA GLX drivers in kernel.

The backtrace looks like:

dsp_clone(0, e072095f, 4, e07208d0, c197af0c) dsp_clone + 0x136
devfs_lookup(e07209c8, 1, 0, c46be930, c4) devfs_lookup + 0x302
lookup + 0x24e
namei + 0x24e
vn_open_cred + 0x251
vn_open + 0x33
kern_open + 0xce
open + 0x30
syscall(2813002f, 2813002f, bfbf002f,0, 5) syscall + 0x2co
Xint0x80_syscall() Xint0x80_syscall + 0x1d

Registers:

Fatal Trap 12: page fault while in kernel mode
Fault virtual address = 0x0
Fault code = supervisor read, page not present
Instruction Ptr = 0x8:0xc05dca86
Stack Ptr = 0x10:0xe0720854
Frame Ptr = 0x10:0xe0720898
Code Segment = base 0x0, limit 0xfffff, type 0x1b
             = DPL 0, pres 1, def32 1, gran 1
Processor Eflags =  interrupt enabled, resume IOPL=0
current process = 771 (xine)
kernel: type 12 trap code = 0
Stopped at dsp_clone + 0x136: testb $0x04, 0(%eax)

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

Hardware is a SB Live, Intel i860, dual Xeon. This fault has been
introduced since Christmas I think.

Copyright (c) 1992-2004 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.2-CURRENT #0: Sat Jan 17 10:27:14 PST 2004
    brendy_at_bigboot.humphrey.world:/usr/obj/usr/src/sys/BRENDY
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0ca8000.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc0ca81f4.
Preloaded elf module "/boot/kernel/nvidia.ko" at 0xc0ca82a0.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0ca834c.
ACPI APIC Table: <IntelR AWRDACPI>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) XEON(TM) CPU 2.00GHz (1982.53-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
 
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM>
  Hyperthreading: 2 logical CPUs
real memory  = 536805376 (511 MB)
avail memory = 511381504 (487 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0 <Version 2.0> irqs 0-23 on motherboard
Pentium Pro MTRR support enabled
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fded0
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> port 0x530-0x537 on acpi0
acpi_cpu1: <CPU> port 0x530-0x537 on acpi0
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_tz0: <Thermal Zone> port 0x530-0x537 on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82860 host to AGP bridge> mem 0xe0000000-0xe7ffffff at
device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pcib1: slot 0 INTA is routed to irq 22
nvidia0: <GeForce4 Ti 4200> mem
0xf0000000-0xf007ffff,0xe8000000-0xefffffff,0xf8000000-0xf8ffffff irq 22
at device 0.0 on pci1
pcib2: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pcib2: could not get PCI interrupt routing table for \\_SB_.PCI0.HUBA -
AE_NOT_FOUND
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 31.0 on pci2
pci3: <ACPI PCI bus> on pcib3
pci3: <base peripheral, interrupt controller> at device 0.0 (no driver
attached)pcib4: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcm0: <Creative EMU10K1> port 0xc000-0xc01f irq 17 at device 1.0 on pci4
pcm0: <TriTech TR28602 AC97 Codec>
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xc800-0xc83f mem
0xfb000000-0xfb0fffff,0xfb105000-0xfb105fff irq 16 at device 4.0 on pci4
fxp0: Ethernet address 00:30:48:23:23:ca
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fwohci0: <Texas Instruments TSB12LV26> mem
0xfb100000-0xfb103fff,0xfb104000-0xfb1047ff irq 16 at device 7.0 on pci4
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: EUI64 00:30:95:26:b0:03:35:68
fwohci0: Phy 1394a available S400, 3 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:30:95:03:35:68
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 UDMA100 controller> port 0xf000-0xf00f at device
31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata0: [MPSAFE]
ata1: at 0x170 irq 15 on atapci0
ata1: [MPSAFE]
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port
0xd000-0xd01f irq 19 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2
uhub1: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00,
addr 3
uhub1: 4 ports with 4 removable, self powered
umass0: SCM Microsystems Inc. eUSB SmartMedia Reader, rev 1.10/5.04,
addr 4
uaudio0: audio rev 1.00
pcm1: <USB Audio> on uaudio0
play channel supported format list invalid
pcm1: chn_init(pcm1:play:0) failed: err = 19
pcm1: pcm_chn_create(ua_chan, 1, 0xc4913980) failed
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port
0xd800-0xd81f irq 23 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
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
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
acpi_cpu2: <CPU> port 0x530-0x537 on acpi0
device_probe_and_attach: acpi_cpu2 attach returned 6
orm0: <Option ROMs> at iomem 0xd0000-0xd0fff,0xc0000-0xcefff on isa0
pmtimer0 on isa0
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 10.000 msec
GEOM: create disk ad0 dp=0xc495fa60
ad0: 114440MB <WDC WD1200BB-00DAA1> [232514/16/63] at ata0-master
UDMA100
GEOM: create disk ad1 dp=0xc4a57760
ad1: 58644MB <IC35L060AVV207-0> [119150/16/63] at ata0-slave UDMA100
acd0: CDRW <RICOH CD-R/RW MP7063A> at ata1-master WDMA2
GEOM: create disk cd0 dp=0xc4a46600
GEOM: create disk da0 dp=0xc4a6bc50
SMP: AP CPU #1 Launched!
cd0 at ata1 bus 0 target 0 lun 0
cd0: <RICOH CD-R/RW MP7063A 1.50> Removable CD-ROM SCSI-0 device
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <eUSB SmartMedia 5.04> Removable Direct Access SCSI-2 device
da0: 1.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error
Opened disk da0 -> 6
(da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0
(da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(da0:umass-sim0:0:0:0): SCSI Status: Check Condition
(da0:umass-sim0:0:0:0): NOT READY asc:3a,0
(da0:umass-sim0:0:0:0): Medium not present
(da0:umass-sim0:0:0:0): Unretryable error

Hope this helps.

As usual I'm happy to perform tests, poke and prod etc etc.

Brendon
Received on Sun Jan 18 2004 - 10:09:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:38 UTC