Slackware Linux kernel upgrade difficulties.
Hi, this is my first time upgrading the kernel on my computer (currently running under slackware) and when I try to load with the new kernel, after a line reading
"input: Alps PS/2 ALPS Glidpoint as /class/input/input5" it hangs up reading alx_get_response timeout. Which repeats indefinitely. My best guess at this point is to load up my previous kernel and attempt to fix the new kernel config file, but honestly I have no clue where to start. Any recommendations? Thanks in advance. |
You've left out all the important information so that someone can help you. Rather than asking you a lot of questions to find out what you've done, I'm going to refer you to How To Ask Questions The Smart Way.
If you get offended, you won't read that article and you won't learn anything. But if you decide to read it, you'll learn a lot about how to post a good question, which will in turn get some good answers. Also, you will learn how to search for answers yourself. Kwan Lowe has written an excellent Kernel Rebuild Guide which should answer any questions you have about rebuilding your kernel. As for specific options, it is necessary to read the Help for each item when you issue "make xconfig" during the rebuild process. This will take a lot of time, but you'll learn about your hardware, and the options available in the Linux kernel. It's a good idea to keep your original kernel, so that if anything goes wrong building a new one, you can boot back into the old one. If after reading that article and the kernel rebuild guide, you still have questions, please post them back. With a little bit of background information about your system, and what you've done to get to where you are. This simple kernel rebuild guide is the way I do it in Slackware. As a matter of fact, because of changes made in the 2.6.16.17 stable kernel, I am upgrading the kernel on 4 Slackware boxen right now. You might not see this as such, but it's meant to help you. If you can't boot back into your default, original kernel, just say so... |
Thank you for the reply. First let me apologize for my other post, I didn't forget what I had said on my earlier post, which is why I made a point not to post again asking a moderator to move my thread to the proper forum, and rather opted to post the thread in the proper forum, taking into consideration that bothering a mod is more trouble for the moderator than it would be worth. I didn't mean to make this seem like a bratty poster's impatient attempt to get an answer, which is why im issuing an apology in the first place. Take it as you will, though if you still see me as a 'liar' then you probably won't belive the credibility of this response.
As for the current question, I'll try to be a bit more specific. I'm using a VGN-S580 vaio laptop, attempting to upgrade the default Slackware 10.2 kernel (2.4 something) to the newest (2.5.16.17). I am following this guide almost to the letter, and the only viable solution must be that I messed up the kernel config file. The system hangs up after the lines input: PS/2 Mouse as /class/input/input4 input: Alps PS/2 ALPS Glidpoint as /class/input/input5 are displayed. This leads me to believe that I configured the peripheral device section incorrectly at one point or another, but I cannot figure out which one. I will read through the guides you suggested however, thank you. When I find the answer I'll post it. edit:: I am also using this as a resource, posting it as it may/may not help. Thanks. |
Quote:
|
After digging around a bit, I figured out that ALPS is my touchpad, (after checking back, it was right on that gentoo page I linked to) and came across this page which says
Quote:
|
Issue and read "man gpm" -- copy and paste with mouse -- Windoze can't do this.
Whilst you're reading I was already posting a long one to you. ;) |
Quote:
First inconsistency in that guide: Quote:
Code:
INSTALLING the kernel: NB: With Slackware, as opposed to some other distros, you can build kernels in /usr/src/ but there is absolutely no reason to break the original linux -> linux-2.4.32/ symlink if you do so. There are other good reasons to build under /home, but quite frankly, I'm not interested in but a little bit of rebuttle today. Evidence: Code:
mingdao@silas:~$ ls -lh /usr/src/ Code:
mingdao@silas:~/kernel$ ls -lh Second inconsistency in that guide: Quote:
Third inconsistency in that guide: Quote:
So, according to Linus, the proper steps are: Code:
make config (there are 5 types -- this makes your .config file -- select options and save) I have simple guides for Slackware that you can follow posted in LQ. To build under /home To build under /usr/src/ without breaking the orginal linux symlink Quote:
Linux on Laptops (which had no entry for yours) TuxMobil (which has a great entry for yours) Sony_VGN_S580 (don't be intimidated because it's Gentoo and not Slackware) That guy posted a lot of stuff, be he also seems to have used Gentoo packages rather than doing anything by hand. This might be good, but you can't extrapolate and learn anything from it -- you could just install Gentoo like he did. Maybe you could get the packages and extract and read them, I don't know. From looking at his "lspci" output, and the fact that he has no information in his "ALPS Touchpad /cat /proc/bus/input/devices" section; I would assume that he has it turned off in the BIOS and is using perhaps a USB mouse instead. But I can't be sure. The other link you provided as Slackware information for the ALPS touchpad is by cwwilson721 here in LQ, and if you have problems, he would be glad to help you. I believe following his steps will get the touchpad working. Okay, that's all my posting time for this day. Need more help? There's a Slacker ready to give it. ;) |
SCORE!
Kernel 2.6.16.17 is WORKING! It takes quite a long time to load, and my computer is going extremely slow, but it works regardless. Time to get to login: 5:02. It hangs up at a few select points, at Quote:
Quote:
|
My only experience with a ALPS device goes back to 2003 before my Sony laptop's southbridge chip burned out, so I can't help you. But you could try to disable the GPM server, if what cwwilson721 said applies to your computer. Just issue as root "chmod -x /etc/rc.d/rc.gpm" which will disable the GPM server. If this helps your boot times, leave it like that. If not, then change it back by issuing as root "chmod +x /etc/rc.d/rc.gpm" and it will start again.
As for the MAC address issue, can you post some files and information about what you're using for internet? Wired, wireless? If wireless, there are some Slackware instructions in Alien_Bob's wiki. And your computer might be slower because DMA is not turned on. Just a shot in the dark there. You can check by issuing as root "hdparm /dev/hda" or whatever your hard drive happens to be. You want to see something similar to this: Code:
root@silas:~# hdparm /dev/hda |
Alright. When issuing "hdparm /dev/sda" what returned was
Code:
/dev/sda: Anyway back to DMA, I don't know how to turn it on yet but i'll figure it out, and will probably be able to do so by tomorrow :P Thanks for pointing me in the right direction. edit:: Alright, after wandering a bit I came across this site which sported tempting solutions (which didnt work). Oh well data corruption doesnt sound that great to begin with. When I ran "hdparm -tT /dev/sda" I got: Quote:
|
You can install the Nvidia driver -- no problem. Just change you "/etc/X11/xorg.conf" file according to the Nvidia README instructions. The driver and REAME are here -> http://www.nvidia.com/object/linux_d..._1.0-8762.html
As for hdparm on SATA drives, you probably don't have the proper support in your kernel. I'm ssh'ing into my server, then to my PC, from the road -- but I think this is what I have for DMA in a kernel with SATA drives: Code:
mingdao@silas:~/kernel/linux-2.6.16.18$ cat .config | grep -i dma |
Yeah, I went to the site you linked (for the graphics card) and used the .run file, but it still refuses because the 'module license taints the kernel'
Quote:
Also, for my DMA, they match your .config file, except for 1- my .config file is named 'defconfig' under /home/soul/linux-2.6.16.17/arch/i386/defconfig and two, the file doesnt contain the line Quote:
|
This was the key error message:
Code:
NVRM: Try unloading the rivafb, nvidiafb, or rivatv kernel module Code:
# Code:
$ make Then in "/etc/X11/xorg.conf" you should have: Code:
# ********************************************************************** And yes, if you get the proper chipset for your IDE bus, SATA or RAID controller; and get DMA set properly, you should at least get in the 60's from "hdparm /dev/sda". I have SATA drives in 3 of our 6 comps and they all get that, with different motherboards -- one older Intel chipset and two VIAs. About your kernel's .config file. That "/home/soul/linux-2.6.16.17/arch/i386/defconfig" is where "make" puts your configuration during kernel building -- it is your default (def) configuration (config) file. But you NEVER touch that -- you use "/home/soul/linux-2.6.16.17/.config" when rebuilding kernels. |
All times are GMT -5. The time now is 10:04 PM. |