From: Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Dmitri Sosnik <dimavs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Subject: Re: [drm] failed to open device
Date: Mon, 27 Sep 2010 16:22:34 +1000 [thread overview]
Message-ID: <1285568554.2360.3.camel@nisroch> (raw)
In-Reply-To: <AANLkTinqXrW0zeBX-nu_W7O5ic6mY4EHi=mLRvdDqd_v-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Mon, 2010-09-27 at 16:11 +1000, Dmitri Sosnik wrote:
> Thanks! Yeah, something strange here, lsmod shows nouveau module as
> loaded, but there is nothing from nouveau in dmesg, just one line that
> drm is initialized.
That's the problem. Nouveau requires KMS enabled.
>
>
> I am booting kernel with nomodeset parameter, so efifb driver is used.
> When I am trying to boot with nouveau I am just getting black screen
> (system is available via ssh though) and dmesg says:
> [drm] Initialized drm 1.1.0 20060810
> nouveau 0000:01:00.0: enabling device (0002 -> 0003)
> nouveau 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> nouveau 0000:01:00.0: setting latency timer to 64
> [drm] nouveau 0000:01:00.0: Detected an NV50 generation card (0x084700a2)
> checking generic (c0030000 708000) vs hw (c0000000 10000000)
> fb: conflicting fb hw usage nouveaufb vs EFI VGA - removing generic driver
> Console: switching to colour dummy device 80x25
> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PRAMIN
> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PROM
> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from PCIROM
> nouveau 0000:01:00.0: Invalid ROM contents
> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
> [drm] nouveau 0000:01:00.0: Attempting to load BIOS image from ACPI
> [drm] nouveau 0000:01:00.0: ... BIOS signature not found
> [drm] nouveau 0000:01:00.0: No valid BIOS image found
> nouveau 0000:01:00.0: PCI INT A disabled
That's somewhat more worrying. As it says, nouveau can't find any form
of VBIOS image to use. I'm not sure if there's some magic EFI method to
fetch it either.
Does the NVIDIA binary driver work? If so, if you could trace it
(http://nouveau.freedesktop.org/wiki/MmioTrace) that'd be very helpful
to figure out what to do.
Ben.
>
>
> Thanks,
> D
>
>
>
> On Mon, Sep 27, 2010 at 3:44 PM, Ben Skeggs <skeggsb-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > On Mon, 2010-09-27 at 15:35 +1000, Dmitri Sosnik wrote:
> >> Hi All,
> >>
> >> I am trying to get nouveau working on MacBookPro 4,1. I am using
> >> kernel from nouveau/linux-2.6 repository, XOrg 1.9, libdrm and
> >> xf86-video-nouveau from git repositories.
> >> When drm module is loaded with debug=1 it gives a number of "[drm:
> >> drm_stub_open]," lines in logs. It looks like idr_find(...) function
> >> returns 0. /dev/dri/card0 doesn't exist.
> >>
> >> What I am doing wrong?
> > It's hard to say. My initial assumption would be you don't have the
> > kernel module loaded. Failing that, your dmesg output should give more
> > clues.
> >
> > Ben.
> >>
> >> Cheers,
> >> D
> >> _______________________________________________
> >> Nouveau mailing list
> >> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
> >> http://lists.freedesktop.org/mailman/listinfo/nouveau
> >
> >
> >
next prev parent reply other threads:[~2010-09-27 6:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-27 5:35 [drm] failed to open device Dmitri Sosnik
[not found] ` <AANLkTim1Qp9Wd_P=rQEKh3Mp8zukPLwqkrg-nY7u3SU2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-27 5:44 ` Ben Skeggs
2010-09-27 6:11 ` Dmitri Sosnik
[not found] ` <AANLkTinqXrW0zeBX-nu_W7O5ic6mY4EHi=mLRvdDqd_v-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-27 6:22 ` Ben Skeggs [this message]
2010-09-27 6:43 ` Dmitri Sosnik
[not found] ` <AANLkTimvaY9VHm6Ov=q8T+DtDJghSMWoCycAMXC5C8hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-09-27 8:42 ` Ben Skeggs
2010-09-27 10:02 ` Dmitri Sosnik
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=1285568554.2360.3.camel@nisroch \
--to=skeggsb-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=dimavs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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.