From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750759AbVHXI3g (ORCPT ); Wed, 24 Aug 2005 04:29:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750761AbVHXI3g (ORCPT ); Wed, 24 Aug 2005 04:29:36 -0400 Received: from embla.aitel.hist.no ([158.38.50.22]:17122 "HELO embla.aitel.hist.no") by vger.kernel.org with SMTP id S1750759AbVHXI3f (ORCPT ); Wed, 24 Aug 2005 04:29:35 -0400 Message-ID: <430C31CE.2030308@aitel.hist.no> Date: Wed, 24 Aug 2005 10:37:34 +0200 From: Helge Hafting User-Agent: Debian Thunderbird 1.0.2 (X11/20050602) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linus Torvalds CC: Dave Airlie , Linux Kernel Mailing List , Andrew Morton , Greg KH , Ivan Kokshaysky Subject: Re: rc6 keeps hanging and blanking displays References: <20050815221109.GA21279@aitel.hist.no> <21d7e99705081516241197164a@mail.gmail.com> <20050816165242.GA10024@aitel.hist.no> <20050816211424.GA14367@aitel.hist.no> <21d7e99705081616504d28cca5@mail.gmail.com> <43031A12.8020301@aitel.hist.no> <21d7e997050817040523a1bf46@mail.gmail.com> <20050822214453.GA31266@aitel.hist.no> <21d7e9970508221607bb74cc7@mail.gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: >On Mon, 22 Aug 2005, Linus Torvalds wrote: > > >>But disabling the ROM assignment might be a good idea. Almost nobody ever >>really wants to assign the ROM anyway, and there are cards where there are >>some strange rules about ROM alignment (read: doesn't follow spec). >> >> > >Here's an even better idea. > >Let's do the assignment internally in the kernel, but just not write it to >the device unless it's actually enabled. IOW, we'll be doing all the >resource allocation, but devices won't be affected. Modern lspci versions >will show this as a "[virtual] Expansion ROM". > >The patch might look something like this. Helge, does this make any >difference? > > Tried it. (More risky than it sounds, I am at work, the machine is at home, and if it didn't come up again I'd get an angry phonecall . . .) But it came up fine, and the xservers came up too. :-) lspci -vvx shows the disabled ROMs too: 0000:01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G550 AGP (rev 01) (prog-if 00 [VGA]) Subsystem: Matrox Graphics, Inc. Millennium G550 Dual Head DDR 32Mb Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR-