From: Helge Hafting <helge.hafting@aitel.hist.no>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Dave Airlie <airlied@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Andrew Morton <akpm@osdl.org>, Greg KH <greg@kroah.com>,
Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Subject: Re: rc6 keeps hanging and blanking displays
Date: Wed, 24 Aug 2005 10:37:34 +0200 [thread overview]
Message-ID: <430C31CE.2030308@aitel.hist.no> (raw)
In-Reply-To: <Pine.LNX.4.58.0508232302370.3317@g5.osdl.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-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (4000ns min, 8000ns max), Cache Line Size: 0x08 (32
bytes)
Interrupt: pin A routed to IRQ 16
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=32M]
Region 1: Memory at f2000000 (32-bit, non-prefetchable) [size=16K]
Region 2: Memory at f3000000 (32-bit, non-prefetchable) [size=8M]
Expansion ROM at f2020000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [f0] AGP version 2.0
Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64-
HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit-
FW- Rate=x1
00: 2b 10 27 25 07 00 90 02 01 00 00 03 08 20 00 00
10: 08 00 00 f0 00 00 00 f2 00 00 00 f3 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 2b 10 84 0f
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0b 01 10 20
0000:00:08.0 VGA compatible controller: ATI Technologies Inc RV280
[Radeon 9200 SE] (rev 01) (prog-if 00 [VGA])
Subsystem: PC Partner Limited: Unknown device 7c25
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (2000ns min), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin A routed to IRQ 19
Region 0: Memory at e0000000 (32-bit, prefetchable) [size=128M]
Region 1: I/O ports at 9800 [size=256]
Region 2: Memory at f6000000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at 1ff00000 [disabled] [size=128K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 64 59 07 00 90 02 01 00 00 03 08 20 80 00
10: 08 00 00 e0 01 98 00 00 00 00 00 f6 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 25 7c
30: 00 00 00 00 50 00 00 00 00 00 00 00 05 01 08 00
0000:00:08.1 Display controller: ATI Technologies Inc RV280 [Radeon 9200
SE] (Secondary) (rev 01)
Subsystem: PC Partner Limited: Unknown device 7c24
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
<TAbort- <MAbort- >SERR- <PERR-
Region 0: Memory at e8000000 (32-bit, prefetchable) [disabled]
[size=128M]
Region 1: Memory at f6010000 (32-bit, non-prefetchable)
[disabled] [size=64K]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 02 10 44 5d 00 00 90 02 01 00 80 03 08 20 00 00
10: 08 00 00 e8 00 00 01 f6 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 4b 17 24 7c
30: 00 00 00 00 50 00 00 00 00 00 00 00 ff 00 08 00
Helge Hafting
next prev parent reply other threads:[~2005-08-24 8:29 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-02 5:07 Linux 2.6.13-rc5 Linus Torvalds
2005-08-02 6:17 ` Jan De Luyck
2005-08-02 6:43 ` Linux 2.6.13-rc5 - possible acpi regression? Jan De Luyck
2005-08-02 10:50 ` Rafael J. Wysocki
2005-08-03 10:59 ` Jan De Luyck
2005-08-02 7:56 ` Linux 2.6.13-rc5 Olaf Hering
2005-08-05 10:40 ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Helge Hafting
2005-08-05 22:05 ` Andrew Morton
2005-08-07 9:41 ` Helge Hafting
2005-08-07 17:06 ` Danny ter Haar
2005-08-08 11:27 ` Helge Hafting
2005-08-08 12:14 ` Danny ter Haar
2005-08-08 14:59 ` Danny ter Haar
[not found] ` <21d7e99705080503515e3045d5@mail.gmail.com>
2005-08-09 12:20 ` Helge Hafting
2005-08-12 10:01 ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Helge Hafting
2005-08-12 10:32 ` Alan Cox
2005-08-15 12:53 ` Bartlomiej Zolnierkiewicz
2005-08-15 13:00 ` Bartlomiej Zolnierkiewicz
2005-08-12 16:51 ` Linus Torvalds
2005-08-15 12:37 ` Helge Hafting
2005-08-15 15:50 ` Linus Torvalds
2005-08-15 17:00 ` Ryan Anderson
2005-08-15 17:45 ` Helge Hafting
2005-08-15 21:48 ` Sanjoy Mahajan
2005-08-15 22:11 ` rc6 keeps hanging and blanking displays - bisection complete Helge Hafting
2005-08-15 22:59 ` Linus Torvalds
2005-08-16 8:46 ` Helge Hafting
2005-08-16 19:29 ` Helge Hafting
2005-08-15 23:18 ` Dave Airlie
2005-08-15 23:24 ` Dave Airlie
2005-08-16 7:34 ` Helge Hafting
2005-08-16 16:52 ` rc6 keeps hanging and blanking displays Helge Hafting
2005-08-16 17:00 ` Linus Torvalds
2005-08-16 21:14 ` Helge Hafting
2005-08-16 23:50 ` Dave Airlie
2005-08-17 11:05 ` Helge Hafting
2005-08-17 11:05 ` Dave Airlie
2005-08-17 15:19 ` Linus Torvalds
2005-08-22 21:44 ` Helge Hafting
2005-08-22 23:07 ` Dave Airlie
2005-08-22 23:40 ` Linus Torvalds
2005-08-23 15:33 ` Alan Cox
2005-08-24 6:04 ` Linus Torvalds
2005-08-24 8:37 ` Helge Hafting [this message]
2005-09-08 23:47 ` rc6 keeps hanging and blanking displays where rc4-mm1 works fine Andrew Morton
2005-09-09 0:16 ` Linus Torvalds
2005-08-17 11:26 ` rc5 seemed to kill a disk that rc4-mm1 likes. Also some X trouble Rolf Eike Beer
2005-08-22 8:01 ` Rolf Eike Beer
2005-08-22 17:44 ` Linus Torvalds
2005-08-22 17:45 ` Linus Torvalds
2005-08-22 21:01 ` Benjamin Herrenschmidt
2005-08-23 6:48 ` Rolf Eike Beer
2005-08-30 8:07 ` Rolf Eike Beer
2005-09-05 7:49 ` Rolf Eike Beer
2005-09-05 8:45 ` Linus Torvalds
2005-09-05 19:58 ` Sonny Rao
2005-09-06 7:44 ` Linus Torvalds
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=430C31CE.2030308@aitel.hist.no \
--to=helge.hafting@aitel.hist.no \
--cc=airlied@gmail.com \
--cc=akpm@osdl.org \
--cc=greg@kroah.com \
--cc=ink@jurassic.park.msu.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox