From owner-freebsd-current@FreeBSD.ORG Sun Nov 25 11:37:09 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A0AD16A46C for ; Sun, 25 Nov 2007 11:37:09 +0000 (UTC) (envelope-from vovkasm@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.188]) by mx1.freebsd.org (Postfix) with ESMTP id DF77113C46A for ; Sun, 25 Nov 2007 11:37:08 +0000 (UTC) (envelope-from vovkasm@gmail.com) Received: by rv-out-0910.google.com with SMTP id l15so293923rvb for ; Sun, 25 Nov 2007 03:37:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=ifWiPTVn4xAdoDREh9XG2rVFCxy9EGQEzhqQxEFp440=; b=EYnz7IfGNxyuQXfidwKOt5oI531qJfwFkhvoNrEElskgq5FKnMp2Dt13ceICeU692om9WSzs9zeGSOTvUFtAwyTeZIPFihcEJ9tyJML8K3QXd1g7HVwxBsMiL2wrGHWYrlSPRNyjqpgRScn1ZTYRh9f5/JL+BtwK/Vnucw9GFsE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ZdY65WnBbLRxfsX6EBFnyZbVzrPCr5W7pW/TlxfEP4eh9OXG26j1H2SiJoVSKV/pokU4B3A3uQxYp+PhrF2n7yI+IvlLuGOhcWxN05qf6zCCRn+6/itgbjpTJLT/Wzclb+3q4QM+PeEmDMc9wPWglOlwEy0sLkxebSI2Z/7Q4gw= Received: by 10.141.175.5 with SMTP id c5mr571585rvp.1195988881089; Sun, 25 Nov 2007 03:08:01 -0800 (PST) Received: by 10.141.40.1 with HTTP; Sun, 25 Nov 2007 03:08:01 -0800 (PST) Message-ID: Date: Sun, 25 Nov 2007 14:08:01 +0300 From: "Vladimir Timofeev" To: "Lionel Flandrin" In-Reply-To: <86oddi3h0o.fsf@simias.hd.free.fr> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_21445_8806098.1195988881098" References: <86lk9fetff.fsf@simias.hd.free.fr> <20071103160137.GA1182@hurx.thc> <86oddi3h0o.fsf@simias.hd.free.fr> Cc: freebsd-current@freebsd.org Subject: Re: X crash with radeon driver - AGP broken? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Nov 2007 11:37:09 -0000 ------=_Part_21445_8806098.1195988881098 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, if u have nforce2 chipset on motheboard side, try this patch... with this I can run X, but not test more... How to patch: cd /usr/src patch < latest-agp_nvidia.c.diff my conf: Abit NF7 motheboard, Radeon 9200 video, fbsd 7.0-BETA3, X Server 1.4.0 (from /var/log/Xorg.0.log) On Nov 25, 2007 10:45 AM, Lionel Flandrin wrote: > Christian Jachmann writes: > > > Sat, Nov 03, 2007 at 07:26:12AM +0100, Simias : > >> > >> Hi > >> > >> Since I csup'd 7.0-BETA1, my computer reboots when I startx with the > >> (open source) radeon driver -- I also tried with a fresh -CURRENT with the > >> same result. > >> > >> My radeon is a 9600 Pro. > >> > >> Any clue ? > > > > Same here: > > jachmann@hurx:~>Xorg -version > > > > X.Org X Server 1.4.0 > > Release Date: 5 September 2007 > > X Protocol Version 11, Revision 0 > > Build Operating System: FreeBSD 7.0-BETA2 i386 > > Current Operating System: FreeBSD hurx.thc 7.0-BETA2 FreeBSD 7.0-BETA2 #0: Fri N > > ov 2 21:15:25 CET 2007 root@hurx.thc:/usr/obj/usr/src/sys/GENERIC i386 > > Build Date: 02 November 2007 10:02:24PM > > > > crashes. > > > > I still have the same problem after several Xorg and freeBSD update, > it's becomming really annoying. I forgot to post the kgdb trace: > > ,---- > | (kgdb) where > | #0 doadump () at pcpu.h:195 > | #1 0xc056c934 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 > | #2 0xc056cb34 in panic (fmt=Variable "fmt" is not available. > | ) at /usr/src/sys/kern/kern_shutdown.c:563 > | #3 0xc0741918 in vm_fault (map=0xc1054000, vaddr=3825565696, fault_type=1 '\001', fault_flags=0) at /usr/src/sys/vm/vm_fault.c:275 > | #4 0xc079bcfa in trap_pfault (frame=0xe6592a64, usermode=0, eva=3825565696) at /usr/src/sys/i386/i386/trap.c:774 > | #5 0xc079c6c2 in trap (frame=0xe6592a64) at /usr/src/sys/i386/i386/trap.c:463 > | #6 0xc07862db in calltrap () at /usr/src/sys/i386/i386/exception.s:139 > | #7 0xc07aee97 in agp_nvidia_flush_tlb (dev=0xc3bade00, offset=-1011656432) at /usr/src/sys/pci/agp_nvidia.c:377 > | #8 0xc06eec9f in agp_generic_bind_memory (dev=0xc3bade00, mem=0xc41287c0, offset=0) at agp_if.h:76 > | #9 0xc06ee0f1 in agp_bind_memory (dev=0xc3bade00, handle=0xc41287c0, offset=0) at agp_if.h:128 > | #10 0xc4260b7f in ?? () > | #11 0xc3bade00 in ?? () > | #12 0xc41287c0 in ?? () > | #13 0x00000000 in ?? () > | #14 0x0000014a in ?? () > | #15 0xc3c8acd8 in ?? () > | #16 0xc3c8ac00 in ?? () > | #17 0xc3c8acd8 in ?? () > | #18 0x00000000 in ?? () > | #19 0xe6592b6c in ?? () > | #20 0xc4260c61 in ?? () > | #21 0xc3c8ac00 in ?? () > | #22 0xe6592b5c in ?? () > | #23 0xc4269b5d in ?? () > | #24 0x0000015b in ?? () > | #25 0xc41287c0 in ?? () > | #26 0x00000000 in ?? () > | #27 0xc426b1b0 in ?? () > | #28 0xc4260c10 in ?? () > | #29 0xe6592bc4 in ?? () > | #30 0xc4265cd4 in ?? () > | #31 0xc4118e00 in ?? () > | #32 0x80086436 in ?? () > | #33 0xc3e2d7e0 in ?? () > | #34 0x00000043 in ?? () > | #35 0xc3f0a000 in ?? () > | #36 0x00000444 in ?? () > | #37 0xe6592bc4 in ?? () > | #38 0x00000000 in ?? () > | #39 0xc3c8acd8 in ?? () > | #40 0xc3f0a000 in ?? () > | #41 0x00000043 in ?? () > | #42 0xc3e2d7e0 in ?? () > | #43 0x80086436 in ?? () > | #44 0xc4118e00 in ?? () > | #45 0x00000444 in ?? () > | #46 0x00000036 in ?? () > | #47 0x00000000 in ?? () > | #48 0xc4118e00 in ?? () > | #49 0x80086436 in ?? () > | #50 0xc40f11b0 in ?? () > | #51 0xe6592be4 in ?? () > | #52 0xc053aeea in giant_ioctl (dev=0x0, cmd=3864603484, data=0xc4269b5d "/usr/src/sys/modules/drm/drm/../../../dev/drm/drm_agpsupport.c", > | fflag=347, td=0xc41287c0) at /usr/src/sys/kern/kern_conf.c:349 > | Previous frame inner to this frame (corrupt stack?) > `---- > > on FreeBSD simias.hd.free.fr 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Fri Nov 16 > 05:00:51 CET 2007 > root@simias.hd.free.fr:/usr/obj/usr/src/sys/HOMEBOX_ATHLON i386 > > Thanks in advance, > -- > Lionel > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > ------=_Part_21445_8806098.1195988881098 Content-Type: text/x-diff; name=latest-agp_nvidia.c.diff Content-Transfer-Encoding: base64 X-Attachment-Id: f_f9fgt9b40 Content-Disposition: attachment; filename=latest-agp_nvidia.c.diff LS0tIHN5cy9wY2kvYWdwX252aWRpYS5jCTIwMDctMTEtMDggMjM6Mjk6NTMuMDAwMDAwMDAwICsw MzAwCisrKyBzeXMvcGNpL2FncF9udmlkaWEuYwkyMDA3LTExLTI1IDEzOjI3OjAzLjAwMDAwMDAw MCArMDMwMApAQCAtMjUsN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