Slackware :: Kernel Version Downgrade: Rebuild Any Other Packages From Sources?
Mar 23, 2011
I have installed and configured Slackware 13.1 and it works perfectly. Now I'm going (actually forced) to downgrade kernel version down to 2.6.32. Is there any caveats? Do I need rebuild any other packages from sources?
This may sound a bit of an awkward question, but I have this app, Salome-Platform, [URL], It requires Python 2.5 at most to be able to run. (Compiling it is way to complex.) Since the Python of Slackware is 2.6, can it be downgraded to 2.5...? If it can, how do I do it...?
When a real kernel version is upgraded, like say 2.6.32 to 2.6.38, the old kernel is left intact and is ready to be used in case of a problem with a new one, but when only a debian patch version is updated, like 2.6.32-30 to 2.6.32-35, the old kernel is replaced with a new one. More then this, aptitude shows that older version is not in repository either, so how do you supposed to revert back? Well, i did found -30 in apt cache when i got hit by a nasty regression in -35 yesterday, but what if i had cleaned apt cache?
New build of Slackware 13.1 x86_64 in Dell E4310 laptop. The stock install works fine barring a few bits of hardware but after recompiling the kernel X loads and immediately freezes, whence I need to soft power down (I cannot switch back to a console). On capturing stderr from the command line, when executing startx I get various warnings including:(polkit-gnome-authentication-agent-1:2368): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failedCan't really tell if the above is relevant... Sorry I can't dump the lot because the machine isn't on the net yet.
There is nothing errorwise in the Xorg log after a reboot. The very last line relates to a video mode with modeline info etc. I have compiled either into the kernel, or as modules everything I think I need though unfortunately I seem to have to load them all manually, so I hav no idea of I've missed something important. This includes all the Intel drivers i915, drm, intel_agp etc.Googling suggests bugs with polkit and I don't know why gnome has anything to do with my system in any case.Other thing that I find annoying is that xorg.conf no longer exists and I am relying on the HAL daemon, about which I know nothing. It took me ages to find how to change the X keyboard map - very frustrating. How do I confirm which video driver etc.?
I just implemented dracut on my Slack. It works well, but for this also I had to rebuild the kernel. Everything works as it should beside KDM. When KDM start mouse/keyboard don't work. I check the logs and I don't actually see any errors.Note: Im using Slack in VirtualBox with fbdev or vesa driver and it doesn't work with neither of the drivers. I suppose its something missing in the kernel, but don't know what.Before rebuilding the kernel and implementing dracut, everything work with fbdev and/or vesa
When I first did my install of Slackware 13.37, I installed the 2.6.38.4 kernel from /testing.
I did a "upgradepkg testing/kernel*.t?z"
Well just now I realized that there was a kernel-headers package in /testing, and I've heard that you should only use the kernel headers that glibc was compiled with.
So did I make a mistake installing the kernel-headers from /testing?
And if I revert back to the stock kernel-headers package, will I have to recompile all the programs I've compiled with the 2.6.38.4 headers?
I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:
ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at nvidia.com.
Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide.
This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source,
I have installed Arch Linux quite a few weeks ago; but I'm still trying my best to install the nividia display driver for my graphics card (nVidia Geforce 2 MX 400). Not only in Arch but have tried installing on other distros and still failed. I have read up all the documentations and I still find it hard to do this task. When I used the terminal and executed the NVIDIA-Linux-x86-94.43.01-pkg1.run file without any window manager running, I get this problem:
Quote: ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.35-ARCH/build'. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at [URL].
Now I'm using Arch Linux Kernel 2.6.35 and I have got the source. But where am I suppose to put it now? I do not want to change the kernel. I just want the nVidia installer to identify that there is a kernel source so that it can install. I have searched up a lot on websites and ended up with no proper guide. This is a very old driver. So since now I have the nVidia driver installation package and also the kernel source
The rest of the message is " located in /lib/modules/2.6.24-16-server/build". The version is Ubuntu server 8.04. Why can't it, and how can I help it along?
I want to compile a kernel to add a few options that are not enabled in the huge-smp-2.6.29.6 that comes with slackware. specifically, i want to add TASK_DELAY_ACCT and TASK_IO_ACCOUNTING so that I can use iotop. I just want to add those 2 options to the new kernel, everything else I'd like to keep the way it is as the system has been running just fine. Will running 'make menuconfig' in /usr/src/linux default to the options that are used in the stock kernel?
I'm using Slackware 13.0 on rather old PC with old Riva TNT2 video card. Default driver is "nv". Everything work fine, but without hardware 2D acceleration under X.
After studying various manuals I 1. downloaded Nvidia binary package suitable for my video card. 2. Recompile kernel without Riva framebuffer support. 3. Start Nvidia script.
Script said: "Error: unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured...""
Kernel sources are in /usr/src/linux-2.6.29.6 I have all kernel packages installed. I was trying various switches for script in order to show the right path - nothing! 8 Some people say that Nvidia script don't like 4th digit in a kernel's name and get it from "uname -r" output. Can I change it somehow?
1. Upgrade the kernel and kernel-modules packages normally.
That sounds simple except that day-to-day, I don't run a stock Slackware kernel. I compile and run my own and always have. As I look back on my history with Slackware, I don't think I've ever upgraded kernel packages once I got a system up and running. When there's been big changes (2.4 to 2.6, for example), I've done a full re-install.
Most recently when I made the jump to 64bit, I did a full install using the huge.s kernel and once everything worked, I downloaded the current source from kernel.org and was on my way. I haven't booted huge.s since that day.
I do, of course, know how to upgrade my own custom kernel, but I like having huge.s installed as a backup. If I upgrade gcc/glibc, compile a new custom kernel and update lilo.conf/fstab without upgrading huge.s, then I will be left with only one working kernel.
So, my question is: is it simply a matter of running upgradepkg on the 6 kernel packages (headers, modules, firmware, generic, huge and source)? or is there more to it than that..ie, what about the system maps and symlinks in /boot?
I made a script that, by using "rpmrebuild" (which is available on SourceForge and uses rpmbuild as its backend), recreates all the currently installed RPM packages and stores them in a user-defined directory.
Everything works like a charm, except for a few packages.
Those packages fail to build because some of the files they should contain are missing on the filesystem.
This is an example of the errors I get:
Code: error: File not found: /etc/identd.key File not found: /etc/identd.key /usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'pidentd-3.0.14-5' build failed error: File not found: /usr/share/ssl/certs/stunnel.pem File not found: /usr/share/ssl/certs/stunnel.pem /usr/lib/rpmrebuild/rpmrebuild.sh: ERROR: package 'stunnel-3.26-1.7.3' build failed Is there a way to ask rpmbuild (because yes, rpmrebuild allows to pass parameters to rpmbuild) to *ignore* the missing files?
Im having a battle for quite some time now with lastest intel driver now and wondering if someone has solution. Ive checked :[URL].. and i decided to have exact same version of everything listed in there installed on the system.
I have few questions since i manually builded xorg-server 1.8 im wondering what packages are dependent for x11 to be upgraded so everything run smoothly for xserver 1.8. are those xf86-input* and xf86-video* the only one or there are other packages that i have to get rebuilded? the second question: im wondering if im the only one for that having a problem of that lastest driver dosent work for me, for the purpose i rebuilded the driver and libdrm 2.4.20 with kms enabled once i installed xorg-xserver 1.8.0
heres log problem: Code: 214.704] (II) LoadModule: "intel" [ 214.704] (II) Loading /usr/lib/xorg/modules/intel_drv.so [ 214.704] dlopen: /usr/lib/xorg/modules/intel_drv.so: undefined symbol: resVgaShared [ 214.706] (EE) Failed to load /usr/lib/xorg/modules/intel_drv.so [ 214.707] (II) UnloadModule: "intel"
I have been using F12 for while now, I had applied update when it available. After the latest update, my laptop have lot of Kernel Crash error and it hang up more often. I try to upgrade to the F13 or F14 but not successful at all. My only hope now is to rebuild the Kernel to the early Kernel. How to rebuild the Kernel to 2.6.31.5. My current Kernel is 2.6.32.26-175.fc12.i686.PAE Gnome 2.28.2 1G memory Intel PIII mobile 1.13G
I have backtrack 4 on vmware player... i have intel (R) wifi 5100 agn wireless card and when i type airmon-ng there is nothing shown on interface....it's empty... i downloaded a driver from here [URL] and i have been told i need kernel rebuild... i have kernel 2.6.30.9 so how can rebuild it?
I want rebuild my 2.6.18.-128.e15 kernel in CentOS 5.3? but i have one trouble. When i type make bzImage I see
make[1]: *** No rule to make target `init/main.o', needed by `init/built-in.o'. Stop. make: *** [init] Error 2
on the screen. It is because kernel sourse codes are not full. I can not search full sourse codes of 2.6.18.-128.e15 kernel.not in src.rpm , not in tar.bz2 etc.
I'm working on the development of a custom kernel (actually just a "small" change in the networking part), from the standard 2.6.23.17 source code (downloaded from kernel.org), on CentoOS 5.3. I'm using the following procedure to build and install the kernel:
1)cd <ROOT_DIRECTORY_OF_KERNEL_SOURCE> 2)Modifiy the 4th line of the Make file as follows:EXTRAVERSION = .17CUSTOM 3)make clean && make mrproper 4)make menuconfig 5) make rpm
Experienced that building the vbox guest additions (on the binary/non-free vbox) on a slackware --current guest (with windows *and* linux as a host) fails now with the new kernel's just released in --current?
I just upgraded to 10.04, and am quite happy with it so far, but it installed Firefox 3.6, which is a problem for me because I need to be able to use the Jssh plugin, which isn't available for 3.6 yet. All I need to do is downgrade Firefox to 3.5, but I seem to be having some issues, it seems that there is only the one version available to me in Synaptic. Is there another repository that I need to add to have access to an older version?
The output from the first command was "sudo: /ect/init.d/gdm: command not found" How can I downgrade, also is it because im running lucid, not karmic koala?
my wireless doggle is not suppoerted out of box on squeeze.It's based on zd1211rw,just lack the vendor and product id.how can I hack the source and rebuild the driver module?
I rebuilt my kernel with dynamic ticks, high resolution timer support, and hugepagetlb and hugepagetlbfs support. Now X does not load. If I start it as root, xclock shows up and then the screen goes black and I can't do anything. Normally xclock and three xterms show up. If I start it under my normal account, I get a black screen with nothing but a cursor, which moves and has the "busy" pointer. It is not configuration because I booted an old kernel and am using X under that right now.I also set CONFIG_PM_RUNTIME to no. My monitor uses DPMS so maybe that may have done it.
I have debian squeeze (and a bit of sid, actually). I wanted to install the newest pidgin, so I added at sources.list the sid repository, and tried to install pidgin, but it needed the newest perl-base 5.12.3-6 (from 5.10.1-17). So I let it upgrade. after that I realized that my mysql server isn't running, and actually this is my problem. So I tried reinstalling it, home:/home/amalia# apt-get install mysql-server-5.1. Reading package lists. Done Building dependency tree Reading state information. Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies:
when I try to install anything using the Ubuntu software centre, I get the following message Requires installation of untrusted packages The action would require the installation of packages from not authenticated sources.