From owner-freebsd-questions@FreeBSD.ORG Mon May 12 20:22:15 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 29B871065675 for ; Mon, 12 May 2008 20:22:15 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id B2D698FC2B for ; Mon, 12 May 2008 20:22:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id m4CKMCNO091960; Mon, 12 May 2008 22:22:13 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 28D02B854; Mon, 12 May 2008 22:22:12 +0200 (CEST) Date: Mon, 12 May 2008 22:22:12 +0200 From: Roland Smith To: Zbigniew Komarnicki Message-ID: <20080512202212.GA31293@slackbox.xs4all.nl> Mail-Followup-To: Zbigniew Komarnicki , freebsd-questions@freebsd.org References: <200805121251.26443.cblasius@gmail.com> <20080512142443.GA22288@slackbox.xs4all.nl> <200805122034.17925.cblasius@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline In-Reply-To: <200805122034.17925.cblasius@gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner 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 20:22:15 -0000 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 12, 2008 at 08:34:17PM +0200, Zbigniew Komarnicki wrote: > 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. >=20 > I simply download the iso file for boot only:=20 > 7.0-RELEASE-i386-bootonly.iso >=20 > Then burn on CD and then install fresh 7.0-RELEASE on hard disk - minimal= =20 > system. Next I used portsnap to download ports: > portsnap fetch > [...] Did you do a 'portsnap extract' as well? Fetching alone isn't enough. > got the first kernel panic. Then I used: > Xorg -configure > X -config /root/xorg.conf.new >=20 > and again I got kernel panic, and also as mention previous, for drivers "= ati"=20 > and "radeon", too. You should definitely use the radeon driver for this hardware.=20 =20 > > > savecore: reboot after panic: vm_fault: fault on nofault entry, addr: > > > e56e8000 savecore: writing core to vmcore.2 >=20 > Now I have vmcore.8 >=20 > > 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. >=20 > I coudn't do that because I obtain the following information (I do not=20 > remember exactly) > Couldn't find file vmcore.2=20 > > I went to the "/boot/kernel/" and there really no such file. Saved cores are kept in /var/crash by default. See "dumpdir" in /etc/defaults/rc.conf. Try kgdb /boot/kernel/kernel.symbols /var/crash/vmcore.8 > > What kind of graphics card do you have? What does 'pciconf -lv' say? >=20 > I have: Radeon 9200 SE Series'. It is correctly recognized in xorg.conf.n= ew,=20 > but if I remember in 6.3 the driver was "ati" for such card not "radeon". > vgapci0@pci0:2:0:0: class=3D0x030000 card=3D0x596412ab chip=3D0x59641002 = rev=3D0x01=20 > hdr=3D0x00 > vendor =3D 'ATI Technologies Inc' > device =3D 'Radeon 9200 Radeon 9200 SE Series' > class =3D display > subclass =3D VGA >=20 >=20 > In file: "/var/log/dmesg.today" I found at the end of file the following= =20 > entries: > pid 23201 (conftest), uid 0: exited on signal 11 (core dumped) > pid 34580 (conftest), uid 0: exited on signal 12 (core dumped) Hmm. Signal 12 is "non-existant system call invoked". That's one I've never seen before. =20 > This was when I run "startx" as normal user without file "xorg.conf"=20 > in "/etc/X11/xorg.conf". So the Xorg server must such file generated on t= he=20 > fly - and the result of course was kernel panic.=20 >=20 > Why Xorg do kernel panic?=20 It has access to system internals via /dev/mem and /dev/io. So it can potentially screw things up pretty badly. It might also be a hardware problem. Testing the RAM would be a good place to start. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --+QahgC5+KEYLbs62 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgopvMACgkQEnfvsMMhpyXOdgCfQADeEwUmrtkAHNARrwfzUTIb lwEAoKsAMM7y+8BbLxLw72o16N4QQ4Gw =Te9/ -----END PGP SIGNATURE----- --+QahgC5+KEYLbs62--