LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-24-2006, 06:30 AM   #16
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15

Well I did not choose the default kernel which is "bare.i" I do believe. I choose the "bareacpi.i" due to the fact I need acpi. I experimented with both of the 2.6 kernel installs off the DVD and they had all kinds of problems for me

This kernel works fine and all, and I know acpi is installed because my battery monitor dockapp won't work unless acpi is installed and active; and it works. Other than the severe lack of battery life, i'm perfectly satisfied with the current kernel (which is 2.4.33 I believe), and thus the current system. The only problems i've had thus far is getting GNUstep to compile correctly, and k3b keeps complaining about missing some "libsamplerate0", and I wanted to compile InterfaceWM and it failed some reason I can't figure out; and that's it. Simple problems that are a slight annoyance, but nothing real important to my use and love of the system. Everything else works fine. I would think a brand spanking new out of the box laptop could get something more than 45min - 1hr battery life though. If it's a power management issue of some sort (which is a subject I know nothing of linux wise), then perhaps a kernel recompile with appropiate options would help. And of course, i'm using common sense, like not keeping the brightness any higher than need be, etc.

Knowing my situation, i'm up for you fella's suggestion. I hate to take down my system and risk ruining it and having start over by trying to recompile the whole thing, because i've gotten all the softwares I want built and running and everything as I want it. Still though, after using Debian for so so long, I don't know if it's the change or what but i'm still glad I switched to Slackware. I can't help but totally love this distro, and I don't believe being a reverend in the Church of The Subgenius has anything to do with it. Oh yeah, my site is
www.revqueue.com
if you're bored or interested in my goofiness.
(which by the way, looks fine in any browser on windows or a mac, but linux browsers seem to have things a little messed up. I don't know a thing of html, so the wysiwyg creator I used is probably the cause).

But Anyway like I said, if you strongly suggest it's beneficial to recompile, i'll give it a shot, if not, i'm fine where I am. Thank you yet again.

Last edited by crasslogic; 11-24-2006 at 06:34 AM.
 
Old 11-24-2006, 08:39 AM   #17
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
If you check the config file for that kernel I would be willing to bet that not all of the acpi options you need have been compiled in. While it does have some acpi options, it obviously doesn't have all of them or you wouldn't be having this problem.

You'll especially want to look at the specific laptop options, cpu frequency scaling, etc.
 
Old 11-29-2006, 11:13 AM   #18
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Ok. I went thru and did the kernel compile. I read everything in menuconfig carefully to make sure I didn't take out anything I would need, and anything I was feeling questionable over I left alone. Anyway, the compile seemed to go fine, but the file it output is named "vmlinux". I renamed and added my old system to lilo with no probs, but lilo complains
Fatal: Kernel /boot/vmlinuz-2.6 is too big.

I wish I understood that, because as much un-needed crap as I took out, I would think it would be smaller! Anyway, suggestions?
 
Old 12-11-2006, 10:58 PM   #19
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
So what's up, solved now?
You did run /sbin/lilo before reboot right? If you didn't just fire up the install disk, mount your partition and do it.
I don't get the
Quote:
file it output is named "vmlinux"
It should be bzImage, located in /usr/src/linux/arch/i386/boot/bzImage (usually).
Care to say the steps you took to compile your kernel? Seems you're only missing some simple detail.
Nice site
 
Old 12-12-2006, 09:02 AM   #20
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Actually no, i've just stuck with plugging in when possible and haven't messed much with re-building; I got mixed up with masonm's direction a little, but got it straight and went thru it. I took out as much "what seemed" non-essential modules and such as I could. I can't believe how complex that process is, there's so, so much stuff in there I wasn't familiar with, but plenty that I was too. I got thru it, got a kernel built and was even able to boot into it, however, It displayed a few errors I had no idea what meant, and when I got logged in and started X, my mouse wasn't working .

I tried reading over the kernel output from bootup, but there was to much going on and I think I took out things in places I shouldn't have, and I know probably left in way more than was necessary.

I deleted the kernel and am back to using "bareacpi.i" for now. I'm otherwise just slacking off; I intended at some point on going thru it all again, but I took my time and carefully read most of the descriptions of various modules and options; it makes me feel a little aggrivated to want to go thru all that again. If you have any suggestions on things that 'need' to be left in; feel free to let me know. Outside of filesystems support, the obvious (my acpi needs), I didn't know what to do.
 
Old 12-12-2006, 12:50 PM   #21
BashTin
Member
 
Registered: May 2003
Location: West Midlands, United Kingdom.
Distribution: Slackware 14.1, Centos 7
Posts: 278

Rep: Reputation: 32
When you installed Slack 11 you were given a choice of kernels to use. Perhaps you should try bareacpi.i. This has acpi already built into the kernel, no need to compile your own if you dont want.

I use this kernel on my Panasonic CF T1 and it works just fine.

BashTin
 
Old 12-12-2006, 11:24 PM   #22
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
I also come from debian, if you check my 1st post it's been almost a year since i switched to Slacky.
I think you've done a great move, be patient and keep at it. If you wanna be a real Slacker keep practicing those recompiles and enjoy rolling your own packages. Here's what works for me (mostly taken from Shilo's site)
* Backup everything + patience + no fear
* Download latest kernel from http://kernel.org/ (today it's http://kernel.org/pub/linux/kernel/v...6.19.1.tar.bz2)
* su to become root and mv linux-2.6.19.1.tar.bz2 /usr/src
* cd to /usr/src and: tar -xvjf linux-2.6.19.1.tar.bz2
* remove old symlink: rm linux
* make a new symlink: ln -s linux-2.6.19.1 linux
* use a previous working kernel config: cp /boot/config-2.6.18 /usr/src/linux
* cd to /usr/src/linux and mv config-2.6.18 .config (watch "." now it's a hidden file)
* make oldconfig
* answer questions y,m(odule),n,? to read about options
* make all (wait some time)
* make modules && make modules_install (wait some time)
* cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.6.19.1 (call it anyway you want)
* cp System.map /boot/System.map-2.6.19.1
* cp .config /boot/config-2.6.19.1
* cd to /boot and remove old symlinks: rm config vmlinuz System.map
* Make new symlinks: ln -s System.map-2.6.19.1 System.map same for ln -s config-2.6.19.1 config and ln -s vmlinuz-2.6.19.1 vmlinuz
* You´re done, edit /etc/lilo.conf if needed (maybe take a look at /boot/README.initrd last section) and /sbin/lilo ...done. Reboot

Some notes: If you're using nvidia edit /etc/inittab to boot to runlevel 3 as you will need to reinstall the driver. Ati i got no clue
You can keep tweaking a little every week typing make menuconfig from /usr/src/linux till you get rid of unused things and experiment, just remember to keep old configs around and remember you can boot to your previous kernel pointing the symlinks to them and /sbin/lilo after (usually this is done booting from install cd as it says on boot screen)
You can try compiling your kernel using other configs, like http://slackware.mirrors.tds.net/pub...eacpi.i/config
Warning: not a good idea to use a 2.4 kernel config to compile a 2.6
I'm sure there are lots of typos and some mistakes since it's getting late, i'll try to fix/edit them later, Hope it helps a bit and you some have fun, hang around, Slackers on this forum are great and very knowledgeable

Last edited by MannyNix; 12-12-2006 at 11:41 PM.
 
Old 12-13-2006, 08:49 AM   #23
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Thanks for the encouragement and info manny. I intend very much to stick with it because I rather enjoy using it. It's not helpful though that I know diddly-squat about writing scripts and the such, because i'd love to make packages for "linuxpackages.net". That's a damn helpful site is it not? It's helped quite a bit in at least getting things like the Adobe Reader and Flash installed correctly.

And BashTin; that is what i'm using. I did that when I first installed. I guess this laptop just doesn't have a very long battery life. Like i'd said earlier, I would think I could get a little more than an hour or so battery life, but it's just not going to happen. ACPI inits correctly though, so I know the kernel is using that power management. Oh well.


I need to build GNUstep yet; I can't live too happily without it, but anyway,

I don't enjoy the kernel compile process at all. But i've made a cheat-sheet of your instruction set Manny and will just mess with it until everything works. (And yeah, sad to say i'm rollin' with ATI. Don't know. 3D Accel. with this blased Radeon Xpress 200M just ain't happening. I even used their prop. driver. Doesn't matter though, dosbox and zsnes run so I'm happy Lol. Anyway, thank you again. Take care.

Last edited by crasslogic; 12-13-2006 at 08:52 AM.
 
Old 12-13-2006, 03:49 PM   #24
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Yup, linuxpackages.net is nice, tho i sometimes prefer http://www.slacky.it/ (in italian, but downloads is written in english Try dvd:rip for example. (browse 11.0 packages)
linuxpackages.net has some nice tutorials btw. As for a starters tutorial about scripts i like Rute's
There's an Ati thread somewhere, just use <search>
Cya around!
 
Old 12-23-2006, 03:54 PM   #25
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Ok Manny. I followed your exact directions.
When I installed Slack initially, it asked what res I wanted my console. I chose 1024x768x256
It would appear after going thru the kernel compile process you listed for me, that the system boots, but the screen is completely blank. If I wait for a minute or two, I type like i'm at the login prompt (which I appear to be), then startx and X comes up. Somehow after the recompile i've lost my screen; my kernel is invisible lol. What do I do??
 
Old 12-23-2006, 08:27 PM   #26
MannyNix
Member
 
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 465

Rep: Reputation: 53
Hey! nice to see you compiling custom kernels!
If you need to change your console fonts just run pkgtool->setup->setconsolefont.
As for the black screen you probably left out devicedrivers->graphicssupport->support for frame buffer devices and vesa vga graphics support. (i have both).
Your kernel should be in /boot or /usr/src/linux/arch/i386/boot/bzImage.
You can always boot your previous kernel if you point the symlinks again to them from /boot: ln -s previouskernel vmlinuz, ln -s previousSystem.map System.map (don't forget to /sbin/lilo to update it).
You also need to reinstall your graphics driver again. If it's an Nvidia just ./NVIDIA-Linux-x86-1...blah again. It helps if you boot to run level 3 editing /etc/inittab and the back to 4 when done.
Hope it makes sense :P

Last edited by MannyNix; 12-23-2006 at 08:28 PM.
 
Old 12-25-2006, 04:10 AM   #27
crasslogic
Member
 
Registered: Nov 2006
Posts: 59

Original Poster
Rep: Reputation: 15
Well, I hopped in and did another compilation. I included all the stuff you said plus there was something in there about the radeon which so happens to be my card so I compiled it in too. I can now only see my console if I set my lilo conf line at "vga=normal". Any kind of higher res makes my console remain invisible. I've also noticed that when dhcpcd loads up, it says something about Sciocsifflags (something like that) missing a file?

I really and truly am more concerned now about just getting this evil bcm4318 wireless card up and working. I've ascertained that the stock bareacpi.i works fine for me. The battery life of the laptop just sucks. Period. I'm not finding any useful reason for myself to change kernels in the first place. Just can't win for losin' I suppose.

Last edited by crasslogic; 12-25-2006 at 04:22 AM.
 
Old 12-26-2006, 08:28 PM   #28
cdale77
Member
 
Registered: Oct 2006
Location: Berekeley
Distribution: Slackware 11; 2.6.21.1
Posts: 48

Rep: Reputation: 15
I've got slack 11 on my laptop (Inspiron 5150). It basically didn't work until I did the following. I would recommend you do the same:
-Build a new kernel. See the sticky at this thread. (also, if you install the test26 kernel from the slack disc, you may solve your batter problems, and your packages will be built for i486 instead of i386). During the build:
-enable ACPI. Since you're already there, pay very careful attention to the processor type options. My laptop has a very specific configuration required to get the processor to perform correctly vis-a-vis the power source.
-If you use KDE, go to the control center and configure your battery options. The very last tab gives you an easy way to make KDE your ACPI helper application, which I recommend.

Last edited by cdale77; 12-26-2006 at 08:29 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack' serial install with a broken lappy =p Sodium_Chloride Linux - Laptop and Netbook 1 01-16-2006 02:59 PM
using phlack on my lappy zexter Linux - Laptop and Netbook 1 09-08-2004 10:01 AM
n00b needs a hand; Slack 9.1 on OLD lappy anotherdike Slackware 12 02-12-2004 04:52 PM
x stup on lappy Dawa Mandriva 1 09-18-2003 04:21 AM
linux on an old lappy? zooner Linux - Newbie 4 05-05-2003 11:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration