public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.9-rc2-mm4 and nvidia 1.0-6111
@ 2004-09-29  8:14 Sid Boyce
  2004-09-29 14:41 ` Matt Heler
  2004-09-29 16:55 ` Norberto Bensa
  0 siblings, 2 replies; 11+ messages in thread
From: Sid Boyce @ 2004-09-29  8:14 UTC (permalink / raw)
  To: linux-kernel

The usual patches applied that made it work with -mm3.
Changed all instances of NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and 
nv_remap_page_range to nv_remap_pfn_range in nv.c, nv-linux.h,
os-agp.c and os-interface.c as redifined in 
/usr/src/linux-2.6.9-rc2-mm4/include/linux/mm.h.
The module builds and installs without problems, but on init 5, I get 
thrown back to vt1, /var/log/XFree86.0.log gives the error:-
(--) NVIDIA(0): Linear framebuffer at 0xD8000000
(--) NVIDIA(0): MMIO registers at 0xE1000000
(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5200
(--) NVIDIA(0): VideoBIOS: 04.34.20.42.01
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
(II) NVIDIA(0): Detected AGP rate: 8X
(EE) NVIDIA(0): Failed to allocate config DMA context
(II) UnloadModule: "nvidia"
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found
-------------------------------
Any help appreciated, also posted to nvidia forum.

Regards
Sid.
-- 
Sid Boyce .... Hamradio G3VBV and keen Flyer
=====LINUX ONLY USED HERE=====

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29  8:14 2.6.9-rc2-mm4 and nvidia 1.0-6111 Sid Boyce
@ 2004-09-29 14:41 ` Matt Heler
  2004-09-29 20:25   ` Sid Boyce
  2004-09-29 16:55 ` Norberto Bensa
  1 sibling, 1 reply; 11+ messages in thread
From: Matt Heler @ 2004-09-29 14:41 UTC (permalink / raw)
  To: sboyce; +Cc: linux-kernel

This is a known issue and it's releated to some changes in Andrew's tree. Not 
to sound pesimistic but in the future expect the nvidia drivers to be broken 
for the -mm tree, it is after an the expiremental kernel tree. 

matt 

On Wednesday 29 September 2004 1:14 am, Sid Boyce wrote:
> The usual patches applied that made it work with -mm3.
> Changed all instances of NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and
> nv_remap_page_range to nv_remap_pfn_range in nv.c, nv-linux.h,
> os-agp.c and os-interface.c as redifined in
> /usr/src/linux-2.6.9-rc2-mm4/include/linux/mm.h.
> The module builds and installs without problems, but on init 5, I get
> thrown back to vt1, /var/log/XFree86.0.log gives the error:-
> (--) NVIDIA(0): Linear framebuffer at 0xD8000000
> (--) NVIDIA(0): MMIO registers at 0xE1000000
> (II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5200
> (--) NVIDIA(0): VideoBIOS: 04.34.20.42.01
> (--) NVIDIA(0): Interlaced video modes are supported on this GPU
> (II) NVIDIA(0): Detected AGP rate: 8X
> (EE) NVIDIA(0): Failed to allocate config DMA context
> (II) UnloadModule: "nvidia"
> (II) UnloadModule: "vgahw"
> (II) Unloading /usr/X11R6/lib/modules/libvgahw.a
> (EE) Screen(s) found, but none have a usable configuration.
>
> Fatal server error:
> no screens found
> -------------------------------
> Any help appreciated, also posted to nvidia forum.
>
> Regards
> Sid.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29  8:14 2.6.9-rc2-mm4 and nvidia 1.0-6111 Sid Boyce
  2004-09-29 14:41 ` Matt Heler
@ 2004-09-29 16:55 ` Norberto Bensa
  2004-09-29 17:04   ` Lee Revell
  1 sibling, 1 reply; 11+ messages in thread
From: Norberto Bensa @ 2004-09-29 16:55 UTC (permalink / raw)
  To: linux-kernel, sboyce

Sid Boyce wrote:
> Any help appreciated, also posted to nvidia forum.

I did revert these patches:

convert-references-to-remap_page_range-under-arch-and-documentation-to-remap_pfn_range.patch
convert-users-of-remap_page_range-under-drivers-and-net-to-use-remap_pfn_range.patch
convert-users-of-remap_page_range-under-include-asm--to-use-remap_pfn_range.patch
convert-users-of-remap_page_range-under-sound-to-use-remap_pfn_range.patch
for-mm-only-remove-remap_page_range-completely.patch
introduce-remap_pfn_range-to-replace-remap_page_range.patch


HTH,
Norberto

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 16:55 ` Norberto Bensa
@ 2004-09-29 17:04   ` Lee Revell
  2004-09-29 17:15     ` Chris Wedgwood
  2004-09-29 17:21     ` Norberto Bensa
  0 siblings, 2 replies; 11+ messages in thread
From: Lee Revell @ 2004-09-29 17:04 UTC (permalink / raw)
  To: Norberto Bensa; +Cc: linux-kernel, sboyce

On Wed, 2004-09-29 at 12:55, Norberto Bensa wrote:
> Sid Boyce wrote:
> > Any help appreciated, also posted to nvidia forum.
> 
> I did revert these patches:
> 
> convert-references-to-remap_page_range-under-arch-and-documentation-to-remap_pfn_range.patch
> convert-users-of-remap_page_range-under-drivers-and-net-to-use-remap_pfn_range.patch
> convert-users-of-remap_page_range-under-include-asm--to-use-remap_pfn_range.patch
> convert-users-of-remap_page_range-under-sound-to-use-remap_pfn_range.patch
> for-mm-only-remove-remap_page_range-completely.patch
> introduce-remap_pfn_range-to-replace-remap_page_range.patch

Isn't there an nvidia-linux mailing list?  This is really OT for LKML.

Lee


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 17:04   ` Lee Revell
@ 2004-09-29 17:15     ` Chris Wedgwood
  2004-09-29 17:28       ` Lee Revell
  2004-09-29 17:21     ` Norberto Bensa
  1 sibling, 1 reply; 11+ messages in thread
From: Chris Wedgwood @ 2004-09-29 17:15 UTC (permalink / raw)
  To: Lee Revell; +Cc: Norberto Bensa, linux-kernel, sboyce

On Wed, Sep 29, 2004 at 01:04:58PM -0400, Lee Revell wrote:

> Isn't there an nvidia-linux mailing list?  This is really OT for
> LKML.

I had one for a while where I posted patches but it never gained much
momentum.  Unless there is a sizable group of people who want this I
don't see any need to resurrect it.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 17:04   ` Lee Revell
  2004-09-29 17:15     ` Chris Wedgwood
@ 2004-09-29 17:21     ` Norberto Bensa
  1 sibling, 0 replies; 11+ messages in thread
From: Norberto Bensa @ 2004-09-29 17:21 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel, sboyce

Lee Revell wrote:
> Isn't there an nvidia-linux mailing list?  This is really OT for LKML.

Use your filters if it annoys you :)

Best regards,
Norberto

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 17:15     ` Chris Wedgwood
@ 2004-09-29 17:28       ` Lee Revell
  2004-09-29 18:07         ` Alistair John Strachan
  2004-09-29 18:43         ` Chris Wedgwood
  0 siblings, 2 replies; 11+ messages in thread
From: Lee Revell @ 2004-09-29 17:28 UTC (permalink / raw)
  To: Chris Wedgwood; +Cc: Norberto Bensa, linux-kernel, sboyce

On Wed, 2004-09-29 at 13:15, Chris Wedgwood wrote:
> On Wed, Sep 29, 2004 at 01:04:58PM -0400, Lee Revell wrote:
> 
> > Isn't there an nvidia-linux mailing list?  This is really OT for
> > LKML.
> 
> I had one for a while where I posted patches but it never gained much
> momentum.  Unless there is a sizable group of people who want this I
> don't see any need to resurrect it.

OK, makes sense.  With so many people using the driver I guess it's just
easiest to deal with nvidia problems on LKML.

Lee


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 17:28       ` Lee Revell
@ 2004-09-29 18:07         ` Alistair John Strachan
  2004-09-30  0:17           ` Sid Boyce
  2004-09-29 18:43         ` Chris Wedgwood
  1 sibling, 1 reply; 11+ messages in thread
From: Alistair John Strachan @ 2004-09-29 18:07 UTC (permalink / raw)
  To: Lee Revell, Sid Boyce; +Cc: linux-kernel

On Wednesday 29 September 2004 18:28, you wrote:
> On Wed, 2004-09-29 at 13:15, Chris Wedgwood wrote:
> > On Wed, Sep 29, 2004 at 01:04:58PM -0400, Lee Revell wrote:
> > > Isn't there an nvidia-linux mailing list?  This is really OT for
> > > LKML.
> >
> > I had one for a while where I posted patches but it never gained much
> > momentum.  Unless there is a sizable group of people who want this I
> > don't see any need to resurrect it.
>
> OK, makes sense.  With so many people using the driver I guess it's just
> easiest to deal with nvidia problems on LKML.
>
> Lee
>

Just about any out-of-kernel driver using Changed-API-X will be broken, free 
or non-free. Something more general like linux-drivers or 
linux-kernel-drivers would probably make more sense.

Sometimes changes in -mm even break in-kernel drivers; it's not really an 
"NVIDIA problem" as such. I agree with Lee though; it's an unwritten rule 
that you prefix a subject with [OT] when speaking about something which isn't 
directly relevant to the kernel.

(By the way, if this breaks outside of -mm patches will appear for stable 
kernels on http://minion.de/ as did with the 2.5 development tree.)

-- 
Cheers,
Alistair.

personal:   alistair()devzero!co!uk
university: s0348365()sms!ed!ac!uk
student:    CS/AI Undergraduate
contact:    1F2 55 South Clerk Street,
            Edinburgh. EH8 9PP.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 17:28       ` Lee Revell
  2004-09-29 18:07         ` Alistair John Strachan
@ 2004-09-29 18:43         ` Chris Wedgwood
  1 sibling, 0 replies; 11+ messages in thread
From: Chris Wedgwood @ 2004-09-29 18:43 UTC (permalink / raw)
  To: Lee Revell; +Cc: Norberto Bensa, linux-kernel, sboyce

On Wed, Sep 29, 2004 at 01:28:59PM -0400, Lee Revell wrote:

> OK, makes sense.  With so many people using the driver I guess it's
> just easiest to deal with nvidia problems on LKML.

If there are more than a handful of people I'll restart linux-nvidia
(it was linux-nvidia@list.f00f.org, subscription via majordomo or
similar) since the noise on LKML will just piss people off.


^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 14:41 ` Matt Heler
@ 2004-09-29 20:25   ` Sid Boyce
  0 siblings, 0 replies; 11+ messages in thread
From: Sid Boyce @ 2004-09-29 20:25 UTC (permalink / raw)
  To: lkml; +Cc: linux-kernel

Matt Heler wrote:
> This is a known issue and it's releated to some changes in Andrew's tree. Not 
> to sound pesimistic but in the future expect the nvidia drivers to be broken 
> for the -mm tree, it is after an the expiremental kernel tree. 
> 
> matt 
> 
> On Wednesday 29 September 2004 1:14 am, Sid Boyce wrote:
> 
>>The usual patches applied that made it work with -mm3.
>>Changed all instances of NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and
>>nv_remap_page_range to nv_remap_pfn_range in nv.c, nv-linux.h,
>>os-agp.c and os-interface.c as redifined in
>>/usr/src/linux-2.6.9-rc2-mm4/include/linux/mm.h.
>>The module builds and installs without problems, but on init 5, I get
>>thrown back to vt1, /var/log/XFree86.0.log gives the error:-
>>(--) NVIDIA(0): Linear framebuffer at 0xD8000000
>>(--) NVIDIA(0): MMIO registers at 0xE1000000
>>(II) NVIDIA(0): NVIDIA GPU detected as: GeForce FX 5200
>>(--) NVIDIA(0): VideoBIOS: 04.34.20.42.01
>>(--) NVIDIA(0): Interlaced video modes are supported on this GPU
>>(II) NVIDIA(0): Detected AGP rate: 8X
>>(EE) NVIDIA(0): Failed to allocate config DMA context
>>(II) UnloadModule: "nvidia"
>>(II) UnloadModule: "vgahw"
>>(II) Unloading /usr/X11R6/lib/modules/libvgahw.a
>>(EE) Screen(s) found, but none have a usable configuration.
>>
>>Fatal server error:
>>no screens found
>>-------------------------------
>>Any help appreciated, also posted to nvidia forum.
>>
>>Regards
>>Sid.
> 
> 
> 
> 
Thanks, it did seem an easy thing to fix, when it built and inmod, I had 
high hopes.
Regards
Sid.

-- 
Sid Boyce .... Hamradio G3VBV and keen Flyer
=====LINUX ONLY USED HERE=====

^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: 2.6.9-rc2-mm4 and nvidia 1.0-6111
  2004-09-29 18:07         ` Alistair John Strachan
@ 2004-09-30  0:17           ` Sid Boyce
  0 siblings, 0 replies; 11+ messages in thread
From: Sid Boyce @ 2004-09-30  0:17 UTC (permalink / raw)
  To: alistair; +Cc: Lee Revell, linux-kernel

Alistair John Strachan wrote:
> On Wednesday 29 September 2004 18:28, you wrote:
> 
>>On Wed, 2004-09-29 at 13:15, Chris Wedgwood wrote:
>>
>>>On Wed, Sep 29, 2004 at 01:04:58PM -0400, Lee Revell wrote:
>>>
>>>>Isn't there an nvidia-linux mailing list?  This is really OT for
>>>>LKML.
>>>
>>>I had one for a while where I posted patches but it never gained much
>>>momentum.  Unless there is a sizable group of people who want this I
>>>don't see any need to resurrect it.
>>
>>OK, makes sense.  With so many people using the driver I guess it's just
>>easiest to deal with nvidia problems on LKML.
>>
>>Lee
>>
> 
> 
> Just about any out-of-kernel driver using Changed-API-X will be broken, free 
> or non-free. Something more general like linux-drivers or 
> linux-kernel-drivers would probably make more sense.
> 
> Sometimes changes in -mm even break in-kernel drivers; it's not really an 
> "NVIDIA problem" as such. I agree with Lee though; it's an unwritten rule 
> that you prefix a subject with [OT] when speaking about something which isn't 
> directly relevant to the kernel.
> 
> (By the way, if this breaks outside of -mm patches will appear for stable 
> kernels on http://minion.de/ as did with the 2.5 development tree.)
> 
So, in addition to the patches from 
http://00f.net/blogs/index.php/2004/09/07/nvidia_kernel_module_and_linux_2_6_9_mm 
  I've changed NV_REMAP_PAGE_RANGE to NV_REMAP_PFN_RANGE and 
remap_page_range to remap_pfn_range in nv-linux.h, nv.c, os-agp.c, and 
os-interface.c, the missing piece -- see below. I may get around to 
posting patches to the nvidia forum later today.

I'm not sure if I can divulge the name of my helper in case he gets 
showered by unwanted email, but a suggested additional change to 
nv-linux.h has fixed it.
#define NV_REMAP_PFN_RANGE(from, offset, x...) \
      remap_pfn_range(vma, from, ((offset)) >> PAGE_SHIFT), x)

Regards
Sid.

-- 
Sid Boyce .... Hamradio G3VBV and keen Flyer
=====LINUX ONLY USED HERE=====

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-09-30  0:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-29  8:14 2.6.9-rc2-mm4 and nvidia 1.0-6111 Sid Boyce
2004-09-29 14:41 ` Matt Heler
2004-09-29 20:25   ` Sid Boyce
2004-09-29 16:55 ` Norberto Bensa
2004-09-29 17:04   ` Lee Revell
2004-09-29 17:15     ` Chris Wedgwood
2004-09-29 17:28       ` Lee Revell
2004-09-29 18:07         ` Alistair John Strachan
2004-09-30  0:17           ` Sid Boyce
2004-09-29 18:43         ` Chris Wedgwood
2004-09-29 17:21     ` Norberto Bensa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox