From owner-freebsd-questions@FreeBSD.ORG Mon May 12 18:34:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCAC81065677 for ; Mon, 12 May 2008 18:34:17 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 4E0298FC18 for ; Mon, 12 May 2008 18:34:17 +0000 (UTC) (envelope-from cblasius@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2257322fkk.11 for ; Mon, 12 May 2008 11:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; bh=blaTbvCiz6LYbmE6JF7+LO3h7og1vK6ci00irauOrb8=; b=CBtdnGc5BihY0GzxuUeM48YWcjxW7hsBvNkosWbDJNw15ou2a68fqa5u9wiESjO3Wg5Pl/nObm35EqJZhtb2E/duFwLJCU3Xy690UI+rqUEL2TEmrMgwZVXs2moOFCgxyEEeupIVzr+6BXGlWioJashx55HqGnJDDbziLRh08Ng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=PUBznpScO2Fy0l4jXZrj/kDWnm++d7MxerGNwW16+XL+s2NgxxJeR9UBAQVS8qvhF0EEfeWR8RzyPbJcg4RCmR048r+QEMWxzfHICDu5rupGMw5Z5xf9ndpTYBWhfSGan2g3qBpzMrL2PiHgowCooGQmpa4A2zQu2ipgbmaJngI= Received: by 10.86.3.4 with SMTP id 4mr477064fgc.50.1210617255918; Mon, 12 May 2008 11:34:15 -0700 (PDT) Received: from komp1.skl ( [84.40.169.29]) by mx.google.com with ESMTPS id e8sm10713437muf.0.2008.05.12.11.34.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 12 May 2008 11:34:14 -0700 (PDT) From: Zbigniew Komarnicki To: Roland Smith Date: Mon, 12 May 2008 20:34:17 +0200 User-Agent: KMail/1.9.9 References: <200805121251.26443.cblasius@gmail.com> <20080512142443.GA22288@slackbox.xs4all.nl> In-Reply-To: <20080512142443.GA22288@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805122034.17925.cblasius@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: kernel panic FreeBSD 7.0 - Xorg X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2008 18:34:18 -0000 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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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@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