kernel panic FreeBSD 7.0 - Xorg

Zbigniew Komarnicki cblasius at gmail.com
Mon May 12 18:34:18 UTC 2008


On Monday 12 of May 2008 16:24:44 Roland Smith wrote:
> How *exactly* did you upgrade your ports? Sometimes old libraries hang
> around causing trouble.

I simply download the iso file for boot only: 
7.0-RELEASE-i386-bootonly.iso

Then burn on CD and then install fresh 7.0-RELEASE on hard disk - minimal 
system. Next I used portsnap to download ports:
portsnap fetch
[...]

Then go to /usr/ports/x11/xorg and:
make install clean

After that, when I log as normal user and typed:
startx

got the first kernel panic. Then I used:
Xorg -configure
X -config /root/xorg.conf.new

and again I got kernel panic, and also as mention previous, for drivers "ati" 
and "radeon", too.

> > Xorg -configure
> > X -config /root/xorg.conf.new

> Why would you do that? If you haven't changed the hardware, there is no
> need to change xorg.conf.

Because I hadn't the old version xorg.conf from 6.3. I simply format these 
partitions and forgotten make a backup of "/etc" especially "/etc/X11".

> > and I got black monitor and after few seconds the system reboots.
> > Then I go to single user and do
>
> Check the X logfile (/var/log/Xorg.0.log). Any clues in there?

I do obtain nothing in /var/log/Xorg.0.log. I only obtain result when I 
use "vesa" driver and it is about 10 kB text. But there no any errors form 
the "vesa" drivers. From the drivers "radon" or "ati" nothing was written, 
because was kernel panic.

> > savecore: reboot after panic: vm_fault: fault on nofault entry, addr:
> > e56e8000 savecore: writing core to vmcore.2

Now I have vmcore.8

> This can also help you debug. Load it up in the kernel debugger;
>
>   kgdb /boot/kernel/kernel.symbols vmcore.2
>
> Then inside the debugger, give the 'bt' command.

I coudn't do that because I obtain the following information (I do not 
remember exactly)
Couldn't find file vmcore.2 

I went to the "/boot/kernel/" and there really no such file.

>
> What kind of graphics card do you have? What does 'pciconf -lv' say?

I have: Radeon 9200 SE Series'. It is correctly recognized in xorg.conf.new, 
but if I remember in 6.3 the driver was "ati" for such card not "radeon".

Here is the output:

hostb0 at pci0:0:0:0:	class=0x060000 card=0x00000000 chip=0x01e010de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 AGP Controller'
    class      = bridge
    subclass   = HOST-PCI
none0 at pci0:0:0:1:	class=0x050000 card=0x0c1710de chip=0x01eb10de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 Memory Controller 1'
    class      = memory
    subclass   = RAM
none1 at pci0:0:0:2:	class=0x050000 card=0x0c1710de chip=0x01ee10de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 Memory Controller 4'
    class      = memory
    subclass   = RAM
none2 at pci0:0:0:3:	class=0x050000 card=0x0c1710de chip=0x01ed10de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 Memory Controller 3'
    class      = memory
    subclass   = RAM
none3 at pci0:0:0:4:	class=0x050000 card=0x0c1710de chip=0x01ec10de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 Memory Controller 2'
    class      = memory
    subclass   = RAM
none4 at pci0:0:0:5:	class=0x050000 card=0x0c1710de chip=0x01ef10de rev=0xc1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 Memory Controller 5'
    class      = memory
    subclass   = RAM
isab0 at pci0:0:1:0:	class=0x060100 card=0x0c111458 chip=0x008010de rev=0xa3 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2S PCI to ISA Bridge'
    class      = bridge
    subclass   = PCI-ISA
none5 at pci0:0:1:1:	class=0x0c0500 card=0x0c111458 chip=0x008410de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2S PCI System Management'
    class      = serial bus
    subclass   = SMBus
ohci0 at pci0:0:2:0:	class=0x0c0310 card=0x50041458 chip=0x008710de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2A USB Controller'
    class      = serial bus
    subclass   = USB
ohci1 at pci0:0:2:1:	class=0x0c0310 card=0x50041458 chip=0x008710de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2A USB Controller'
    class      = serial bus
    subclass   = USB
ehci0 at pci0:0:2:2:	class=0x0c0320 card=0x50041458 chip=0x008810de rev=0xa2 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2A USB Controller'
    class      = serial bus
    subclass   = USB
none6 at pci0:0:6:0:	class=0x040100 card=0xa0021458 chip=0x008a10de rev=0xa1 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce AC'97 Audio Codec Interface'
    class      = multimedia
    subclass   = audio
pcib1 at pci0:0:8:0:	class=0x060400 card=0x00000000 chip=0x008b10de rev=0xa3 
hdr=0x01
    vendor     = 'Nvidia Corp'
    device     = 'nforce MCP2A PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
atapci0 at pci0:0:9:0:	class=0x01018a card=0x50021458 chip=0x008510de rev=0xa3 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2S Parallel ATA Controller'
    class      = mass storage
    subclass   = ATA
atapci1 at pci0:0:11:0:	class=0x010185 card=0xb0021458 chip=0x008e10de rev=0xa3 
hdr=0x00
    vendor     = 'Nvidia Corp'
    device     = 'nForce MCP2S Serial ATA Compatible Controller'
    class      = mass storage
    subclass   = ATA
pcib2 at pci0:0:30:0:	class=0x060400 card=0x00000000 chip=0x01e810de rev=0xc1 
hdr=0x01
    vendor     = 'Nvidia Corp'
    device     = 'nForce2 AGP Host to PCI Bridge'
    class      = bridge
    subclass   = PCI-PCI
rl0 at pci0:1:6:0:	class=0x020000 card=0x813910ec chip=0x813910ec rev=0x10 
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet
rl1 at pci0:1:11:0:	class=0x020000 card=0xe0001458 chip=0x813910ec rev=0x10 
hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter'
    class      = network
    subclass   = ethernet
vgapci0 at pci0:2:0:0:	class=0x030000 card=0x596412ab chip=0x59641002 rev=0x01 
hdr=0x00
    vendor     = 'ATI Technologies Inc'
    device     = 'Radeon 9200 Radeon 9200 SE Series'
    class      = display
    subclass   = VGA


In file: "/var/log/dmesg.today" I found at the end  of file the following 
entries:
pid 23201 (conftest), uid 0: exited on signal 11 (core dumped)
pid 34580 (conftest), uid 0: exited on signal 12 (core dumped)

This was when I run "startx" as normal user without file "xorg.conf" 
in "/etc/X11/xorg.conf". So the Xorg server must such file generated on the 
fly - and the result of course was kernel panic. 

Why Xorg do kernel panic? 

What I doing wrong? 
Any hints will be very appreciated.
Thank you in advance.

> Roland

Best wishes,
Zbigniew




More information about the freebsd-questions mailing list