nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   'Can't map registers' at kernel driver init (http://www.nvnews.net/vbulletin/showthread.php?t=524)

rcoscali 08-08-02 10:53 AM

'Can't map registers' at kernel driver init
 
Hello all

I just upgraded my kernel from 2.2.20 to 2.4.19 and when trying to use NVDIA_kernel-2960, at startup of nvidia driver, the kernel module fails with the message:

nvidia: couldn't map registers!
NV0: nv_map_device failed

:confused:

Please I need a clue to fix it ?
Note that with 2.2 the nvidia driver was running perfectly ...

thanks for any help !!!!

rcoscali 08-08-02 11:13 AM

Looked at the code
 
Actually the message is clear and after a look at the code I think I have a clue about what is going on.
My 2.4 kernel have been builded with the rivafb frame buffered console driver.
The register set for the video controler have already been mapped by this driver (BAR0 & 1: for control regs and FB regs).
These reg sets might also be reserved by nvidia_kernel driver.

Does this make sense ? :rolleyes:

rcoscali 08-08-02 11:30 AM

Fixed
 
It seems to be why the nvidia kernel module was not loading correctly.

Would it be possible to merge both driver ? or at least to get mapped & bus addresses from rivafb driver ? (just a silly idea)

Thunderbird 08-08-02 11:37 AM

One thing: NEVER EVER USE RIVAFB. It is very, very buggy. It causes various problems in X (drawing ones for example) and it causes VT switching problems and instability. If you want a framebuffer use vesafb.

rcoscali 08-08-02 03:15 PM

Thanks for the trick


All times are GMT -5. The time now is 04:11 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.