kernel fglrx slackware troubleshooting [SOLVED] 21.10.2010

pupit: hi to all
pupit: adamk: have you stumbled upon a good 13.1-fglrx10.5 install?
adamk: pupit: I'm not sure stumbled upon is the right phrase.
I downloaded the installer from AMD, ran it with
--buildpkg Slackware/All and installed the packages.
adamk: And voila.
pupit: adamk: 32bit?
adamk: pupit: Both 64bit and 32bit.
adamk: (Separate installations).
adamk: pupit: The only issue I had is that the packages created
on slackware64 don't include the 32bit drivers for multilib.
pupit: adamk: well you are the 1st one who confirmed it on 32bit with no hassle
adamk: Heh.
adamk: One thing to bear in mind is that the kernel headers installed
in 13.1 are configured against the huge-smp kernel.
adamk: So if you use one of the others, it will compile a module that
won't load against your currently running kernel.
pupit: adamk: what kernel is good then?
pupit: generic, generic-smp
Zordrak: pupit: custom-smp :)
pupit: Zordrak: i didnt tried that :)
adamk: pupit: huge-smp
pupit: Zordrak: so where can i download that "custom-smp"
i searched on google and i cant found it
Zordrak: >.<
pupit: hahahhaaha
pupit: got ya
pupit: :P
dive: good one
pupit: adamk: so, just to recreate kernel with huge-smp config?
adamk: No, just use the huge-smp kernel and the packages generated by the ATI installer with '--buildpkg Slackware/All' will work fine.
pupit: ill paste the error right away
pupit: http://pastebin.com/FWUQQdGG
adamk: pupit: Odd.
pupit: do tell me :)
dive: you do have headers installed I take it?
pupit: any hint to fix the 31. line? :S
pupit: dive: of course
adrien: pupit: I doubt 10.5 has anything ready for slackware 13.1
dive: pupit, check versions of kernel headers and the running kernel
adamk: It really does work here.
adamk: Honestly :-)
adamk: I'm not in front of the 32bit installation at the moment.
pupit: adamk: i believe you :)
adamk: But let me see if I can compile the module on a 32bit vbox install.
pupit: dive, how can i check it?
adrien: hmmm, it's a bit surprising, the patch name looks good but I'm surprised it got included that quickly
dive: pupit, ls /var/log/packages/kernel-*
adrien: pupit: bah
pupit: adrien: dont know until i install it
adrien: pupit: run 'make prepare' in /usr/src/linux
pupit: dive: /var/log/packages/kernel-headers-2.6.33.4_smp-x86-1
pupit: adrien: ok
adamk: pupit: /lib/modules/2.6.33.4-smp/build is a symlink to /usr/src/linux-2.6.33.4 ?
pupit: adamk: it is
adamk: Hmmm...
dive: pupit, uname -r
adamk: pupit: What's the md5sum of /usr/src/linux-2.6.33.4/.config ?
pupit: dive: 2.6.33.4-smp
pupit: adamk: c93ee5ae0094a8b803d6278fcab3101b
adamk: pupit: OK... Maybe I was wrong here.
adamk: pupit: That's the md5 for the config file for huge-smp, but I have a different md5 sum.
adamk: pupit: My md5sum matches /boot/config-generic-smp-2.6.33.4-smp
pupit: ah..
dive: I doubt whether .config would make any difference - it's complaining about header/kernel versions
adamk: pupit: So maybe you need to copy that config file to the source directory and do a "make prepare"
pupit: adamk: ok right away
adamk: I'm just looking for differences at the moment.
dive: but I've never built is so... dunno
adamk: What's odd is that I don't remember doing anything special other than installing 13.1, scp'ing the installer over, and creating packages.
adamk: pupit: Also is /boot/vmlinuz a symlink to /boot/vmlinuz-huge-smp-2.6.33.4-smp?
pupit: adamk: yes it is
pupit: nope, same: kernel includes at /lib/modules/2.6.33.4-smp/build/include do not match current kernel. they are versioned as "" instead of "2.6.33.4-smp".
pupit: is thera a way to manually change that include...
dive: pupit, ls -l /lib/modules/2.6.33.4-smp/build pupit: 5 22:56 /lib/modules/2.6.33.4-smp/build -> /usr/src/linux-2.6.33.4
dive: hmm
dive: pupit, ls -l /usr/src
adamk: Well I'm out of ideas, I think. This is what happened for me on a fresh install of slackware 13.1:
http://pastebin.com/LKahti6b
pupit: dive: lrwxrwxrwx 1 root root 14 May 15 22:59 linux -> linux-2.6.33.4
dive: pupit, tried building any other out-tree kernel modules? Worked or no?
pupit: dive: sure, it worked
pupit: have wine, vbox..
adamk: pupit: What's the output of /lib/modules/2.6.33.4-smp/build/include/config/kernel.release ?
adamk: Errr.. cat that file, rather :-)
pupit: 2.6.33.4-pupit
pupit: lol
adamk: So WTF is going on? :-)
pupit: hahaha
pupit: i have built that "custom-smp" and went back to huge-smp
pupit, right so do a 'make mrproper' in there
pupit: dive: right away
dive: pupit, when you build a custom kernel copy the src and rename it linux-x.x.x.x-pupit or whatever
dive: pupit, or you could just do slackpkg reinstall kernel-source
pupit: dive: will do
Zordrak: i never bother copying the source
dive: but mrproper is probably faster
pupit: dive: i usualy do mrproper
Zordrak: make mrproper; copy config to .config; make
dive: Zordrak, it can save headaches
Zordrak: dive: i dont swap around kernels.. i make one and then boot to it
Zordrak: so its always the active config
dive: Zordrak, yeah me too
pupit: me too
dive: except I build my laptop kernel on my desktop box which is faster
and doesn't overheat, so for that I do need keep sources separate
Zordrak: id do that.. except for the amount of time
it always takes to copy it across and back
Zordrak: might as well just set it going and go get food
dive: this lappy goes 90+° when I build a kernel
Zordrak: put it outside :)
dive: should take it for a drive in the car with the A/C on
pupit: ok. we have some progress down here
pupit: i have some new cool errors :)
pupit: http://pastebin.com/0vAbhU9q
adamk: Does /usr/src/linux-2.6.33.4/scripts/mod/modpost exist?
pupit: checkin'
dive: sounds not
pupit: modpost.h exists
adamk: So modpost doesn't :-)
pupit: no
adamk: Wow.. What did you do to your system?
dive: and did make mrproper, copied the config, make?
pupit: dive: all above
pupit: wait, just to run make ?
dive: I'm going to suggest reinstalling the kernel source package
dive: but try doing a make first
pupit: dive: i thought so too..
pupit: dive: what does make does? just compiles the stuff?
dive: pupit, yes make will compile
pupit: dive, adamk thanks for help, i've learned something today :)

##slackware
freenode.net

Нема коментара:

Постави коментар