From owner-freebsd-stable@FreeBSD.ORG Thu Apr 3 13:39:39 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B35DA37B401 for ; Thu, 3 Apr 2003 13:39:39 -0800 (PST) Received: from sunfire.lclark.edu (lewis.lclark.edu [149.175.1.5]) by mx1.FreeBSD.org (Postfix) with SMTP id DE19D43F75 for ; Thu, 3 Apr 2003 13:39:38 -0800 (PST) (envelope-from eta@lclark.edu) Received: from [149.175.30.191] ([149.175.30.191]) by sunfire.lclark.edu (SAVSMTP 3.0.1.45) with SMTP id M2003040313391827863 ; Thu, 03 Apr 2003 13:39:18 -0800 From: Eric Anholt To: David Gilbert In-Reply-To: <16012.34815.807561.89504@canoe.velocet.net> References: <16012.34815.807561.89504@canoe.velocet.net> Content-Type: text/plain Organization: Message-Id: <1049406253.609.10.camel@leguin> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 03 Apr 2003 13:44:14 -0800 Content-Transfer-Encoding: 7bit cc: freebsd-stable@freebsd.org Subject: Re: agp driver locks up on resume. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 21:39:40 -0000 On Thu, 2003-04-03 at 11:14, David Gilbert wrote: > I don't know the exact nature of the bug, but compiling in the agp > driver on my laptop locks up the unit on resume. Runing without agp > compiled in is fine. The lockup isn't every time ... and it isn't > solved by suspending and resuming with the console active. The > relavant probes are: > > apm0: on motherboard > apm0: found APM BIOS v1.2, connected at v1.2 > pcib0: on motherboard > pci0: on pcib0 > agp0: mem 0xf4000000-0xf7ffffff at device 0.0 on pci0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > pci1: at 0.0 irq 9 > > then: > > info: [drm] Checking PCI vendor=32902, device=9283 > info: [drm] Checking PCI vendor=4098, device=19782 > drm0: port 0x2000-0x20ff mem 0xf0000000-0xf0003fff,0xf8000000-0xfbffffff irq 9 at device 0.0 on pci1 > info: [drm] AGP at 0xf4000000 64MB > info: [drm] Initialized r128 2.2.0 20010405 on minor 0 > info: [drm] 8192 13 12 > > This laptop otherwise suspend/resumes fine (ie: without agp). Could you retry suspend/resume with AGP compiled in but without the DRM (uninstall drm-kmod)? If having agp in the kernel is causing suspend/resume problems, then maybe it will be fixed by re-doing the initialization of the AGP after resume like linux does. Once I played with that on my laptop, which also has suspend/resume issues. It looked like AGP was still configured right after resume but before the machine hung, so I didn't try reconfiguring. Now I think I probably should have. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org