From: "Petr Vandrovec" <VANDROVE@vc.cvut.cz>
To: Chad Miller <cmiller@surfsouth.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: matroxfb on 2.4.0 / PCI: Failed to allocate...
Date: Tue, 16 Jan 2001 17:56:34 MET-1 [thread overview]
Message-ID: <12C0E7CE41C0@vcnet.vc.cvut.cz> (raw)
On 15 Jan 01 at 19:22, Chad Miller wrote:
> I worry about some PCI initialization output (from dmesg):
>
> # PCI: Probing PCI hardware
> # Unknown bridge resource 0: assuming transparent
> # PCI: Using IRQ router VIA [1106/0686] at 00:07.0
> # PCI: Cannot allocate resource region 0 of device 01:00.0
> # PCI: Failed to allocate resource 0 for Matrox Graphics, Inc. MGA G400 AGP
> [...]
>
> That `device 01:00.0' is obviously the AGP MGA. 'dmesg' continues later
> with...
>
> # matroxfb: Matrox Millennium G400 MAX (AGP) detected
> # i2c-core.o: i2c core module
> # i2c-algo-bit.o: i2c bit algorithm module
> # i2c-core.o: driver maven registered. [...]
What does 'lspci -v' say?
Are you sure that you do not have 'matroxfb: control registers are not
available, matroxfb disabled', or 'matroxfb: video RAM is not available
in PCI address space, matroxfb disabled' messages?
Also, when request_mem_region(ctrl, 16K, "matroxfb MMIO") or
request_mem_region(videoram, 32M, "matroxfb FB") fails (f.e. when
both regions are uninitialized they overlaps, so second request_mem_region
fails), there is a bug that no error message is printed
in such case, as matroxfb assumes that if request_mem_region failed,
it was because of some other driver already controls this hardware.
You should make sure that (1) you have only one VGA in machine and
(2) your BIOS is not buggy. Changing any of these two conditions should
enable matroxfb to run (G400 is not very well supported as second head;
you can experiment with 'memtype' matroxfb option, but...)
Petr Vandrovec
vandrove@vc.cvut.cz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next reply other threads:[~2001-01-16 16:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-16 17:56 Petr Vandrovec [this message]
2001-01-16 18:22 ` matroxfb on 2.4.0 / PCI: Failed to allocate Chad Miller
-- strict thread matches above, loose matches on Subject: below --
2001-01-16 19:31 Petr Vandrovec
2001-01-16 0:22 Chad Miller
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=12C0E7CE41C0@vcnet.vc.cvut.cz \
--to=vandrove@vc.cvut.cz \
--cc=cmiller@surfsouth.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.