Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.17-rc4-mm1 breaks nvidia-kernel installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Wed May 17, 2006 7:49 am    Post subject: 2.6.17-rc4-mm1 breaks nvidia-kernel installation Reply with quote

Ok guys... Following problem:

I currently use mm-sources and they work dandy, as far as I'm concerned. Currently running version is 2.6.17-rc3-mm1 and everything smokes. Nvidia compiles cleanly, direct rendering works. I even have a framebuffer console using fbvesa, although I have to use a different resolution from X to get around the annoying "10-pixel-shift problem".

Now yesterday night, I installed and compiled the latest greatest rc4 of mm-sources, changed the symlink, copied my config file from the current kernel, ran make oldconfig followed by make && make modules_install and copied the whole shebang to /boot.

Only now nvidia-kernel won't emerge. I'm at work using Window$ right now, so I can't provide logs (yet), but I must ask if anyone else ran into this yet? Since the kernel version is the only real variable, I guess it's more of a kernel problem than multimedia, so I posted it here

I have two hypotheses:
a) I spotted a whole lot of KBUILD stuff appearing during kernel compilation that I'm pretty sure wasn't there before. May be something there.
b) During make oldconfig, I was asked about 32bit or 64bit internal register(?) stuff with the default being 64. I didn't dare change the default, even though I'm running an AthlonXP, which is definitely 32bit, but I might be horribly off-base here.

I'll provide some logs and configuration data later when I get back to my box, but I'd be happy to receive any general thoughts on this. Latest ~x86 nvidia-kernel and glx, GCC is at 4.1.x, glibc at 2.4, Gnome (if it matters) was recently upgraded to 2.14 and works happily (as mentioned above) with the 2.6.17-rc3-mm1-kernel.
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Wed May 17, 2006 5:17 pm    Post subject: Reply with quote

same problem with gcc3 and fluxbox...
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
mastor
n00b
n00b


Joined: 10 May 2006
Posts: 7

PostPosted: Thu May 18, 2006 7:23 am    Post subject: Reply with quote

same here

Code:
In file included from /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:15:
/var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-linux.h:711: error: conflicting types for ‘pm_message_t’
include/linux/pm.h:142: error: previous declaration of ‘pm_message_t’ was here
/var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:307: warning: initialization from incompatible pointer type
make[3]: *** [/var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.o] Error 1


after that, i had a loot at Makefile...
it seems that doesn't enable following -D flags:
Code:

-DNV_PM_MESSAGE_T_PRESENT
-DNV_SIGNAL_STRUCT_RLIM
-DNV_PCI_CHOOSE_STATE_PRESENT


i've enabled these manually but ... :(
Code:
  Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.17-rc4-mm1/scripts/Makefile.modpost
  scripts/mod/modpost   -i /usr/src/linux-2.6.17-rc4-mm1/Module.symvers -I /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/Modules.symvers -o /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/Modules.symvers vmlinux /var/tmp/portage/nvidia-kernel-1.0.8756/work/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nvidia.o
FATAL: parse error in symbol dump file
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Thu May 18, 2006 11:59 am    Post subject: Reply with quote

Anyone know what changed from 2.6.17-rc3 to -rc4 that causes this? Should we file a bug report with Andrew...
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Thu May 18, 2006 2:29 pm    Post subject: Reply with quote

http://www.nvnews.net/vbulletin/showthread.php?t=70252

btw, I don't see a reason to file a bug to a kernel dev, because it's a problem to nvidia to keep their drivers in sync with kernel development.
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu May 18, 2006 3:06 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=133696

portage should be updated with the patch soon
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Thu May 18, 2006 3:45 pm    Post subject: Reply with quote

TheCoop wrote:
https://bugs.gentoo.org/show_bug.cgi?id=133696

portage should be updated with the patch soon


Which patch are you talking about ?
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Thu May 18, 2006 3:53 pm    Post subject: Reply with quote

Apparently there is one for the opensource part of nvidia-kernel.
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Thu May 18, 2006 4:03 pm    Post subject: Reply with quote

see the nvnews thread
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Thu May 18, 2006 4:41 pm    Post subject: Reply with quote

OK, then as I repported in the nv thread it don't works...
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Sat May 20, 2006 2:50 pm    Post subject: Reply with quote

Is there any improvement regarding this problem anywhere ?

And even better, for 2.6.17-rc4-mm2 ?

Thank you very much !!!
Back to top
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Mon May 22, 2006 4:10 pm    Post subject: Reply with quote

It doesnt even compile for mm3!
_________________
95% of all computer errors occur between chair and keyboard (TM)

"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler

Change the world - move a rock
Back to top
View user's profile Send private message
Gregoire
Apprentice
Apprentice


Joined: 15 Apr 2006
Posts: 292

PostPosted: Mon May 22, 2006 6:40 pm    Post subject: Reply with quote

And the just released driver isn't better in that respect...
Back to top
View user's profile Send private message
rommel
Veteran
Veteran


Joined: 19 Apr 2002
Posts: 1145
Location: Williamsburg Virginia

PostPosted: Wed May 31, 2006 2:50 am    Post subject: Reply with quote

if you apply the two patches in this thread... http://www.nvnews.net/vbulletin/showthread.php?t=70252 ... linked from bug the driver compiles fine.. working here with 2.6.17-rc5-mm1
Back to top
View user's profile Send private message
red-wolf76
l33t
l33t


Joined: 13 Apr 2005
Posts: 714
Location: Rhein-Main Area

PostPosted: Fri Jun 09, 2006 12:27 am    Post subject: Reply with quote

Just to update - newest mm-source (2.6.17-rc6-mm1) don't cut it without patching either.
_________________
0mFg, G3nt00 r0X0r$ T3h B1g!1111 ;)

Use sane CFLAGS! If for no other reason, do it for the lulz!
Back to top
View user's profile Send private message
micr0c0sm
Tux's lil' helper
Tux's lil' helper


Joined: 29 Oct 2005
Posts: 148
Location: New York

PostPosted: Fri Jun 09, 2006 4:36 pm    Post subject: Reply with quote

Those patches do not work for me :/ rc6-no1
Back to top
View user's profile Send private message
saintdev
n00b
n00b


Joined: 13 Jul 2004
Posts: 60
Location: CO, USA

PostPosted: Mon Jun 12, 2006 4:47 am    Post subject: Reply with quote

It seems that modpost is segfaulting on rc6-mm2. I get the same error as post #12 in the nvnews.net thread.
Code:
  ld -m elf_x86_64  -r -o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nvidia.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nv-kernel.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nv.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nv-vm.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/os-agp.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/os-interface.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/os-registry.o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nv-i2c.o
  Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.17-rc6-mm2/scripts/Makefile.modpost
  scripts/mod/modpost   -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers -o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers vmlinux /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nvidia.o
/bin/sh: line 1: 16930 Segmentation fault      scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers -o /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/Modules.symvers vmlinux /var/tmp/portage/nvidia-kernel-1.0.8762/work/NVIDIA-Linux-x86_64-1.0-8762-pkg2/usr/src/nv/nvidia.o
make[3]: *** [__modpost] Error 139
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] Error 1
make: *** [module] Error 2


And if I try to compile alsa-driver, I get a similar error.

Code:
  LD [M]  /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/oss/snd-seq-oss.o
  Building modules, stage 2.
  MODPOST
/bin/sh: line 1: 21983 Segmentation fault      scripts/mod/modpost -i /usr/src/linux-2.6.17-rc6-mm2/Module.symvers -I /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/Modules.symvers -o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/Modules.symvers vmlinux /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/oss/snd-mixer-oss.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/oss/snd-pcm-oss.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/oss/snd-seq-oss.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq-device.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq-midi-emul.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq-midi-event.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq-midi.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq-virmidi.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/seq/snd-seq.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-hwdep.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-page-alloc.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-pcm.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-rawmidi.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-rtctimer.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd-timer.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/acore/snd.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/pci/ac97/snd-ac97-bus.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/pci/ac97/snd-ac97-codec.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/pci/emu10k1/snd-emu10k1-synth.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/pci/emu10k1/snd-emu10k1.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/synth/emux/snd-emux-synth.o /var/tmp/portage/alsa-driver-1.0.11/work/alsa-driver-1.0.11/synth/snd-util-mem.o
make[3]: *** [__modpost] Error 139
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17-rc6-mm2'
make: *** [compile] Error 2

_________________
> SELECT `signature` FROM `members` WHERE `user_name`='saintdev';
0 rows returned.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Thu Jun 15, 2006 7:20 am    Post subject: Reply with quote

Is there any fix for modpost? It is segfaulting when building rt2500 module also.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum