Woops, new laptop. Should I have installed bareacpi?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Woops, new laptop. Should I have installed bareacpi?
Just got my new IBM T42 and put slack on it. But I was in such a hurry that I just installed the default bare.i to install. Everything seems to be running fine, but like in kde there is no battery display, etc. Should I reinstall slack with the bareacpi.i kernel or will it really matter? Just installed it so it wont hurt to reinstall.
No, you should configure your kernel with laptop configs.
go to kernel.org and download latest kernel 2.6.10
save it to your home dir, go to console and su to root
then cp linux-2.6.10.tar.gz /usr/src/
then go to /usr/src tar zxvf linux-2.6.10 and type rm linux
ln -s linux-2.6.10 linux (this makes a symbolic link from linux-2.6.10 to linux, which is the default kernel dir)
inside /usr/src/linux/
you should be root for all of this:
type
pico Makefile <- uncomment #export INSTALL_PATH=/boot
make menuconfig
go trough all the options carefully, select most of it to compile in kernel,
and plugable devices as modules.
remember to save configuration, this file will be called .config
then
make clean
make bzImage
make
make install
make modules
make modules_install
Your new kernel should be ready
Reboot
always go trough the /var/log/dmesg after a new kernel install-reboot
Look for kernel errors, write them down and correct them doing another make menuconfig (doing this will help you build a stable system)
If you encounter any errors, just boot with the slack cd and type
bare.i root=/dev/hdx noinitrd ro
(hd(x) being your root linux partition drive, primary master is hda1)
Originally posted by dslboy No, you should configure your kernel with laptop configs.
At what point of installing the new kernel will I run into configs for laptops? I've installed slack a 4-5 times before but im not sure what I would need to config for a laptop. Would I not gain anything from using the acpi kernel?
Ok, I now am running kernel 2.4.26acpi and everything seems to be runing fine. While I'm at it I guess I should go ahead and update to the newest kernel. By following dslboy's advice, where would I choose for it to run with acpi? When installing slack, it just ask which kernel I would like to install.
Just curious, IBM has software under windows that allows for extended battery life(LCD sharpness, refresh rate, processor speed, etc.). Under kde fully charged it says my battery time is around 2 hours, where in windows it will be 3+ hours. Are there any projects or such that could help me out in this position?
so how do you fix the ssh issue, i remeber compiling a new kernel (2.6.9) for a server at home, and couldn't use ssh after the whole kernel compile, big nightmare.... had to redo the whole server back on 2.4.26....
To find the ACPI portion of the kernel configuration. Look under the heading of power management. You want this enabled. Under power management you will find two sections. ACPI and APM. I'd recommend you should go with ACPI and leave APM out unless you want it for some reason. (ie: an older laptop with a unsupporting BIOS).
One thing i felt that was left out in all these posts is that once you wander into
/usr/src/linux
Dont forget to go into ./Documentation
I know its a bore but we all end up there sooner or later. I would recommend you read the relevant documentation in /power and /cpu-freq. These two dirs hold information i used to get acpi working on my laptop.
One last thing. Make sure you know a lot about your hardware before configuring your kernel and keep a backup of your old kernel.
I think i have rambled on way to long for a newbie like me but I only just got my new kernel working and TBH, the only words of wisdom i found to help me do it were, 'dont give up yet'
recursv made a couple really good points. If you're not sure about your hardware, read up on it. And most importantly, keep your old kernel. If it means installing the new kernel in a different directory and symlinking to it, do it. Just make sure to edit your /etc/lilo.conf and run /sbin/lilo before you reboot. I don't know how many times I've compiled a new kernel and then wanted to boot into the old kernel... either cause it didn't boot right or because I wanted to do some more tweaking. Either way, it's good to have a working kernel so you can play with the new one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.