Subject: Xorg crash with signal 10 problems in amd64 -current
To: None <current-users@netbsd.org>
From: Eye of the Beholder <eye.of.the.8eholder@gmail.com>
List: current-users
Date: 07/19/2006 01:42:42
--MP_FHKxdF3wP+UZlsmWrH1c87M
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Hello.
I have an Intel P4 processor and used to have i386 -current which
worked perfectly. I thought i should try amd64 to see if 64bit had
performance gain.
Now, i can't get the X server work.
My xorg.conf is the same as the one i used when i had the i386 version
so it is not the conf's prob (although i checked it for mistakes)
The Xorg.0.log mentions no error.
If i run Xorg the X server works fine (i can't do anything of course).
If i run anything else it crashes with signal 10.
I have tried
a) running startx with windowmaker xinitrc -> leads to wmaker.core
b) running startx with default xinitrc -> leads to
{twm,xclock,xterm}.core
c) running xinit -> leads to xterm.core
I have tried the following command "gdb command -c command.core" for
the above scenarios (e.g gdb wmaker -c wmaker.core)
The output of the gdb is the following:
This GDB was configured as "x86_64--netbsd"...(no debugging symbols
found)... Core was generated by `xclock'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/pkg/lib/libfontconfig.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/pkg/lib/libfontconfig.so.1
........
more libraries loading
........
Loaded symbols for /usr/libexec/ld.elf_so
#0 0x00007f7ffc028e98 in XFindOnExtensionList ()
from /usr/pkg/xorg/lib/libX11.so.6
(gdb) quit
I ran Xorg only after i had compiled many stuff from pkgsrc,
so i thought that i may messed something up, so i installed
NetBSD amd64 to a second disk and tried to compile only
the necessary packages for X.
Again the same thing.
My uname output is the following:
NetBSD hostname 3.99.22 NetBSD 3.99.22 (mykern) #0: Sun Jul 16 19:56:46 EEST 2006
root@hostname:/usr/obj/usr/src/sys/arch/amd64/compile/mykern amd64
I use the latest pkgsrc cvs as of now (time of writing this).
I also attach the dmesg output for anyone who may make something out of it.
I would be grateful if you could tell me what is the problem.
If it is something concerning 64bit or is it my mistake.
P.S the compile of all the necessary packages went fine.
I am sorry for the long post and thank you for your time.
--MP_FHKxdF3wP+UZlsmWrH1c87M
Content-Type: text/plain; name=dmesg.txt
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=dmesg.txt
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
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 3.99.22 (mykern) #0: Sun Jul 16 19:56:46 EEST 2006
root@hostname:/usr/obj/usr/src/sys/arch/amd64/compile/mykern
total memory = 3071 MB
avail memory = 2952 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
timecounter: selected timecounter "i8254" frequency 1193182 Hz quality 100
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Pentium(R) 4 CPU 3.20GHz, 3236.09 MHz
cpu0: features: bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: bfebfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,B21,MMXX,MMX>
cpu0: features: bfebfbff<FXSR,SSE,SSE2,B27,HTT,LONG,3DNOW>
cpu0: L2 cache 2 MB 64B/line 8-way
cpu0: calibrating local timer
cpu0: apic clock running at 202 MHz
cpu0: 64 page colors
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20060217
acpi0: X/RSDT: OemId <A M I ,OEMXSDT ,02000606>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
timecounter: selected timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
PNP0A08 [PCI Express/PCI-X Mode-2 Host Bridge] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
attimer0 at acpi0 (PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pcppi0 at acpi0 (PNP0800)
pcppi0: io 0x61
sysbeep0 at pcppi0
PNP0C04 [Math Coprocessor] at acpi0 not configured
fdc0 at acpi0 (PNP0700)
fdc0: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
fdc0: expected BUFFER, got 4
lpt0 at acpi0 (PNP0401)
lpt0: io 0x378-0x37f,0x778-0x77f irq 7 drq 3
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C-170): ACPI Power Button
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
pcppi0: attached to attimer0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
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: Intel 82925X Host (rev. 0x04)
ppb0 at pci0 dev 1 function 0: Intel 82925X PCI Express Bridge (rev. 0x04)
pci1 at ppb0 bus 5
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: NVIDIA product 0x01d1 (rev. 0xa1)
vga0: WARNING: ignoring 64-bit BAR @ 0x14
vga0: WARNING: ignoring 64-bit BAR @ 0x1c
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16 (irq 5)
azalia0: host: Intel 82801FB/FR High Definition Audio Controller (rev. 3)
azalia0: host: High Definition Audio rev. 1.0
ppb1 at pci0 dev 28 function 0: Intel 82801FB/FR PCI Express Port #0 (rev. 0x03)
pci2 at ppb1 bus 4
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: Intel 82801FB/FR PCI Express Port #1 (rev. 0x03)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
Galileo (Marvell) Technology product 0x4362 (ethernet network, revision 0x15) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 2: Intel 82801FB/FR PCI Express Port #2 (rev. 0x03)
pci4 at ppb3 bus 2
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
Galileo (Marvell) Technology product 0x4362 (ethernet network, revision 0x15) at pci4 dev 0 function 0 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci0: interrupting at ioapic0 pin 23 (irq 3)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel 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 29 function 1: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci1: interrupting at ioapic0 pin 19 (irq 5)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel 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 29 function 2: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci2: interrupting at ioapic0 pin 18 (irq 10)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3: Intel 82801FB/FR USB UHCI Controller (rev. 0x03)
uhci3: interrupting at ioapic0 pin 16 (irq 5)
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801FB/FR USB EHCI Controller (rev. 0x03)
ehci0: interrupting at ioapic0 pin 23 (irq 3)
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb4 at pci0 dev 30 function 0: Intel 82801BA Hub-PCI Bridge (rev. 0xd3)
pci5 at ppb4 bus 1
pci5: i/o space, memory space enabled
Texas Instruments product 0x8025 (Firewire serial bus, interface 0x10, revision 0x01) at pci5 dev 3 function 0 not configured
iteide0 at pci5 dev 4 function 0
iteide0: Integrated Technology Express IDE controller (rev. 0x13)
iteide0: bus-master DMA support present
iteide0: primary channel wired to native-PCI mode
iteide0: using ioapic0 pin 23 (irq 3) for native-PCI interrupt
atabus0 at iteide0 channel 0
iteide0: secondary channel wired to native-PCI mode
atabus1 at iteide0 channel 1
rtk0 at pci5 dev 9 function 0: Realtek 8139 10/100BaseTX
rtk0: interrupting at ioapic0 pin 17 (irq 11)
rtk0: Ethernet address 00:a0:d2:13:ce:46
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: Intel 82801FB LPC Interface Bridge (rev. 0x03)
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801FB IDE Controller (ICH6) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus2 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus3 at piixide0 channel 1
piixide1 at pci0 dev 31 function 2
piixide1: Intel 82801FR Serial ATA/Raid Controller (rev. 0x03)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using ioapic0 pin 19 (irq 5) for native-PCI interrupt
atabus4 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus5 at piixide1 channel 1
Intel 82801FB/FR SMBus Controller (SMBus serial bus, revision 0x03) at pci0 dev 31 function 3 not configured
isa0 at pcib0
ioapic0: enabling
timecounter: Timecounter "TSC" frequency 3236118800 Hz quality 800
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
azalia0: codec[0]: CMedia CMI9880 (rev. 0.2)
azalia0: codec[0]: High Definition Audio rev. 0.9
azalia0: playback: max channels=8, encodings=1<PCM>
azalia0: playback: PCM formats=e0540<24bit,20bit,16bit,192kHz,96kHz,48kHz>
azalia0: recording: max channels=4, encodings=1<PCM>
azalia0: recording: PCM formats=e0540<24bit,20bit,16bit,192kHz,96kHz,48kHz>
audio0 at azalia0: full duplex, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <LITE-ON DVD SOHD-167T, , 9S1B> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(iteide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
atapibus1 at atabus2: 2 targets
cd1 at atapibus1 drive 0: <_NEC DVD_RW ND-4551A, , 1-X3> cdrom removable
cd1: 32-bit data port
cd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd1(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: Logitech USB-PS/2 Optical Mouse, rev 2.00/21.00, addr 2, iclass 3/1
ums0 at uhidev0: 8 buttons and Z dir.
wsmouse0 at ums0 mux 0
wd0 at atabus5 drive 0: <WDC WD1200JD-00HBB0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 111 GB, 232581 cyl, 16 head, 63 sec, 512 bytes/sect x 234441648 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide1:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhub5 at uhub1 port 2
uhub5: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 3
uhub5: 2 ports with 2 removable, bus powered
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
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)
--MP_FHKxdF3wP+UZlsmWrH1c87M--