From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 5 18:41:30 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80BDA106564A; Thu, 5 Aug 2010 18:41:30 +0000 (UTC) (envelope-from osharoiko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 399E68FC1B; Thu, 5 Aug 2010 18:41:29 +0000 (UTC) Received: by iwn10 with SMTP id 10so462546iwn.13 for ; Thu, 05 Aug 2010 11:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=HX3gCUSEc+ro0wDdJknlh5G+gz0LPw3EuR4uGjvjMxE=; b=Qb2nAxMMpJoGbEcSPziCxX4yyQsKW//EHfYGydc33zVGUBqCmkrlE6wSpsaf0Rnmq3 W8OFLGK5gs9dmZsSiOpRe1q3NzW78odsr26i5sfJOXJ6Q9atW24gkjBXQCBcoMWOfp2R uACDCoj5tW7yYc2GQrRPsGyBmGJe8P5apbtlY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JAhDDBqQ+goLePKjwNttH3D9zVr40/AW5z91fzHcnsDKE2P1iP5tJcz1LJnXsORMDK heATDl/Rl2bOJaarX0GQDtXaEYN6bLPBWx7tqjJDuJ68iOa5flKUQ+GQ+SJmLBxl1wiZ vkwoOXO6OGfTGcl2mSVR+VmFYPicgUzHMQl4c= MIME-Version: 1.0 Received: by 10.231.34.70 with SMTP id k6mr12482427ibd.25.1281033686772; Thu, 05 Aug 2010 11:41:26 -0700 (PDT) Received: by 10.231.168.20 with HTTP; Thu, 5 Aug 2010 11:41:26 -0700 (PDT) In-Reply-To: <201008051145.53737.jhb@freebsd.org> References: <201008041112.28704.jhb@freebsd.org> <201008051145.53737.jhb@freebsd.org> Date: Thu, 5 Aug 2010 22:41:26 +0400 Message-ID: From: Oleg Sharoyko To: John Baldwin Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: PCI config space is not restored upon resume (macbook pro) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2010 18:41:30 -0000 On 5 August 2010 19:45, John Baldwin wrote: >> I'm afraid things are not that simple. I have tried without success >> acpi_video.ko, >> dmps.ko, sysctl hw.acpi.reset_video and sysutils/vbetool. And what worries me, >> X server cannon start on resumed system. From Xorg.log: >> (EE) NV(0): Failed to determine the amount of available video memory >> It looks like videcard just ignores any requests. > Are you using the nvidia-driver or the "nv" driver from X? Have tried both. Error above is from "nv", and "nvidia" told that it couldn't copy video bios and paniced. I have also tried "vesa" which gave rather strange records in Xorg.0.log (see [1] for complete log (63Mb)). Here some interesting lines: (--) PCI:*(0:1:0:0) 10de:0407:106b:00a0 nVidia Corporation G84 [GeForce 8600M GT] rev 161, Mem @ 0x92000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/65536 (==) VESA(0): Write-combining range (0xa0000,0x20000) was already clear (==) VESA(0): Write-combining range (0xc0000,0x40000) was already clear (II) VESA(0): Primary V_BIOS segment is: 0xc000 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (==) VESA(0): Write-combining range (0x0,0x1000) was already clear (II) VESA(0): VESA BIOS detected (II) VESA(0): VESA VBE Version 165.165 (II) VESA(0): VESA VBE Total Mem: 2713920 kB (II) VESA(0): VESA VBE OEM: (II) VESA(0): VESA VBE OEM Software Rev: 165.165 (II) VESA(0): VESA VBE OEM Vendor: (II) VESA(0): VESA VBE OEM Product: (II) VESA(0): VESA VBE OEM Product Rev: (EE) VESA(0): Driver can't support depth 24 (==) VESA(0): Write-combining range (0x0,0x1000) was already clear The last line repeats 983070 times. Strings with were very long, I truncated them for readability. This is odd. 1. http://www.oleg-sharoyko.net/files/freebsd/pci_config.201008/Xorg.vesa.log -- Oleg Sharoyko