* [drm] failed to open device
@ 2010-09-27 5:35 Dmitri Sosnik
[not found] ` <AANLkTim1Qp9Wd_P=rQEKh3Mp8zukPLwqkrg-nY7u3SU2-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Dmitri Sosnik @ 2010-09-27 5:35 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
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?
Cheers,
D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
[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
0 siblings, 1 reply; 7+ messages in thread
From: Ben Skeggs @ 2010-09-27 5:44 UTC (permalink / raw)
To: Dmitri Sosnik; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
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>
0 siblings, 1 reply; 7+ messages in thread
From: Dmitri Sosnik @ 2010-09-27 6:11 UTC (permalink / raw)
To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
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.
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
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
>
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
[not found] ` <AANLkTinqXrW0zeBX-nu_W7O5ic6mY4EHi=mLRvdDqd_v-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-09-27 6:22 ` Ben Skeggs
2010-09-27 6:43 ` Dmitri Sosnik
0 siblings, 1 reply; 7+ messages in thread
From: Ben Skeggs @ 2010-09-27 6:22 UTC (permalink / raw)
To: Dmitri Sosnik; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
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
> >
> >
> >
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
2010-09-27 6:22 ` Ben Skeggs
@ 2010-09-27 6:43 ` Dmitri Sosnik
[not found] ` <AANLkTimvaY9VHm6Ov=q8T+DtDJghSMWoCycAMXC5C8hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 7+ messages in thread
From: Dmitri Sosnik @ 2010-09-27 6:43 UTC (permalink / raw)
To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
> That's the problem. Nouveau requires KMS enabled.
Ah, ok, got it.
> 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.
>
Nope, it fails with "failed to copy vbios to system memory" message.
Cheers,
D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
[not found] ` <AANLkTimvaY9VHm6Ov=q8T+DtDJghSMWoCycAMXC5C8hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2010-09-27 8:42 ` Ben Skeggs
2010-09-27 10:02 ` Dmitri Sosnik
0 siblings, 1 reply; 7+ messages in thread
From: Ben Skeggs @ 2010-09-27 8:42 UTC (permalink / raw)
To: Dmitri Sosnik; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
On Mon, 2010-09-27 at 16:43 +1000, Dmitri Sosnik wrote:
> > That's the problem. Nouveau requires KMS enabled.
>
> Ah, ok, got it.
>
> > 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.
> >
>
> Nope, it fails with "failed to copy vbios to system memory" message.
Right. The equivilant to what you're seeing nouveau fail with!
I'm not sure what to suggest from here.
>
> Cheers,
> D
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [drm] failed to open device
2010-09-27 8:42 ` Ben Skeggs
@ 2010-09-27 10:02 ` Dmitri Sosnik
0 siblings, 0 replies; 7+ messages in thread
From: Dmitri Sosnik @ 2010-09-27 10:02 UTC (permalink / raw)
To: skeggsb-Re5JQEeQqe8AvxtiuMwx3w; +Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
>> Nope, it fails with "failed to copy vbios to system memory" message.
> Right. The equivilant to what you're seeing nouveau fail with!
>
> I'm not sure what to suggest from here.
Thanks, Ben! I thought I'll deal with bios later, but it appears to be
the main issue. I'll play with it.
Cheers,
D
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-09-27 10:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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.