LinuxQuestions.org
Review your favorite Linux distribution.
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 03-16-2007, 05:06 PM   #16
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15

I could also try the simple workaround mentioned in that link, just adding this line to lilo.conf:
Code:
append = "parport=0x378,7"
But I'm using grub, so I'd have to figure out how to addapt it. Moreover, I'm concerned I need to replace "Ox378,7" with something more specific to my system.
 
Old 03-16-2007, 05:20 PM   #17
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Hmm, yes I tendf to agree that the GRUB/LILO solution, if this is indeed the solution, is a bandaid type of fix. If it were me, I would want it eliminated for real, if that can be done with the kernel.
And yes, you would liekly need to make it specific to your system, as the '7' is probably the only consistent piece of the equation from pc to pc.
As for compiling the kernel, the first key thing is to know all that you can about the stuff inside your computer. The default kernels include a whole lot of extra stuff, to make them usable over a wide variety of different systems.
To make a more streamlined kernel, tailored for your computer, it is good to know what chipset you have, what CPU, what IDE/SATA chipset, what onboard video device (you may have an intel, guessing from the i915 thing earlier), ummmm basically know as much as you can before starting.
It doesn't hurt to have EXTRA stuff in the kernel, but it can really be a bummer if you are missing something.
And yes, you would type 'make xconfig' in a console from the source directory for the kernel you want to build, and the menu would come up with everything based on the default config file for the kernel.
It is a good place to start, by browsing thru and looking at all the options and possibilitiesd for the hardware you have and devices you want support for.
If you want to start totally fresh, with no config, type 'make clean' and then, type 'make mrproper' before starting. This will clean out any and all files generated by previous builds of the kernel, including any '.config' file.

Last edited by GrapefruiTgirl; 03-16-2007 at 05:22 PM.
 
Old 03-16-2007, 05:24 PM   #18
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Another idea *may* be to check in your BIOS and see what settings there are to be made regarding the IO-APIC system, and the parallel printer port.
I don't have a printer or any serial items on my puter, so I have disabled all the extra ports in the BIOS.. This makes for a few less things the kernel has to deal with during boot / operations.
But, the ultimate satisfaction will present itself when you have a new custom made kernel---made by you!
 
Old 03-16-2007, 05:45 PM   #19
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
Looks like your last idea was just what I needed! I disabled the parallel port in the BIOS, and my kernelstuff log of the boot was exactly the same as before, only it was missing the spurious interrupt line. Brilliantly simple.

Also, thanks for the encouragement to go after the kernel. I suppose I'm still stuck in windows mindset if I forever avoid learning that aspect of Linux. More importantly, it sounds like I can free up quite a bit of memory and have a more precisely tuned system if I take that upon myself. So yeah, I will definitely do it.

I've learned a lot today. Thanks so much.
 
Old 03-16-2007, 06:05 PM   #20
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Now that's progress great news!! Lets not jump thru hoops yet, give it a day or 3 and see how the lockups are; hopefully eradicated!
And yes, the kernel creativity brings not only satisfaction, but efficiency to the system, as well as knowing you are getting as much of the full potential of your machine as can be gotten, AND knowing how it's done. Windows keeps the internal workings hidden--- and that's no fun
Take care, will see ya around
 
Old 03-16-2007, 10:04 PM   #21
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Keeping fingers crossed that your problem is solved.

I highly recommend diving in and learning to compile your own kernel (I just finished compiling a new 2.6.20.3 for my laptop). It can really save on resources and make everything run much more smoothly. You also know exactly what is set up in your kernel that way.

It really isn't as hard as it may seem at first. One suggestion though. Always, always make sure to edit your lilo.conf file so that it can still boot your currently working kernel just in case you made a mistake. That way you can still boot the system. I usually rename /boot/vmlinuz something like vmlinuz.old and edit lilo.conf accordingly. Then compile the new kernel and let that be vmlinuz.

A plan b is always a good thing LOL
 
Old 03-16-2007, 10:27 PM   #22
combatbob
LQ Newbie
 
Registered: Aug 2005
Location: Killeen, Texas
Distribution: Ubuntu as of late
Posts: 25

Rep: Reputation: 15
I was curious, when you turn on the computer, does it do any beeping?
 
Old 03-20-2007, 02:47 PM   #23
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
combatbob,

It does beep once, a couple seconds after I turn it on. But that is all.
 
Old 03-20-2007, 02:50 PM   #24
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If it beeps once, I think it's normal ... mine does that too (it has always done that). Multiple beeps, tho, may indicate some problem.
 
Old 03-20-2007, 02:51 PM   #25
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
masonm,

Thank you for that great piece of advice. That is a very good tip to know. In fact, I had been planning on putting a separate installation of Slackware on one of my spare partitions, and using that to play around with compiling a kernel. But now I see this is unnecessary.
 
Old 03-20-2007, 03:11 PM   #26
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
Well, it wise to guard your optimism. It froze on me again.

After I tried GrapefruiTgirl's suggestion of disabling parallel support in the BIOS, my system ran smooth for the rest of the night. This was a good four hours, which excited me as I hadn't previously been able to keep it up this long without a crash. I wasn't able to use my computer over the weekend, so it didn't get tested any further until today. This afternoon when I ran it for about 40 minutes it did the exact same freeze. So I restarted and checked my logs. But the spurious interrupt line is still nowhere to be seen. Hmmm.

So I guess this likely means it's a great time to compile my own 2.6 kernel. GrapefruiTgirl and masonm, you two have given me the confidence and desire to do it. Thanks for your help. I'll go try that now...
 
Old 03-20-2007, 03:52 PM   #27
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Are you sure the computer is properly ventilated ? You know, it isn't overheating ?
 
Old 03-20-2007, 04:16 PM   #28
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
As GrapefruiTgirl advised before take a look into IO-APIC (not to be confused with ACPI!) settings. Try disabling it in your BIOS (it has no use on a normal single-CPU system) and passig noapic to lilo on boot.

Edit: BTW I also have the same error you get for over months now, but it doesn't do anything harmful for me. I've APIC completely disabled (both BIOS and kernel).
Also a kernel panic would have a "kernel panic" line in the logs, or displayed on screen.

Last edited by pdw_hu; 03-20-2007 at 04:23 PM.
 
Old 03-20-2007, 04:16 PM   #29
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
TeXMeX,

Earlier masonm wondered if I had "improperly configured acpi options." I've never heard of this, but after I answered that my cpu fan and box fan are both running, this idea never came up again. To answer your question, I am definitely not at all sure that this is not a heat issue. Nor do I know how to confirm or deny that my problem is caused by too much heat.

Last edited by sythe; 03-20-2007 at 04:18 PM.
 
Old 03-20-2007, 06:46 PM   #30
sythe
Member
 
Registered: Mar 2007
Location: Pacific Northwest
Distribution: Slackware 11.0
Posts: 41

Original Poster
Rep: Reputation: 15
Ok, so I've compiled 2.6.20.3, and have set it up so I can choose either 2.6 or 2.4 at boot. It wasn't bad at all. As I learn more of the config options, I'm sure I'll be able to slim it down quite a bit. But anyway, it seems to have gone smoothly, and hopefully it takes care of the problem.
 
  


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
Intermittent kernel panic - steps 2 diagnose? jago25_98 Linux - Software 2 01-05-2005 01:52 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

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

All times are GMT -5. The time now is 01:56 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