LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 01-07-2008, 08:54 PM   #1
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0
Kernel panic - need help quick


[Log in to get rid of this advertisement]
I'm running Slack 10.2 kernel 2.6.22. Everything has been running smoothly until today. I went to boot up like normal and now I get a kernel panic. Below is what is on the screen when it stopped.

Unable to handle kernel NULL pointer dereference at virtual address 00000000 printing eip:
c022669d
*pde = 00000000
Oops: 0002
CPU: 0
EIP: 0010:[<c02269d>] Not tainted
EFLAGS: 00010046
eax: 00000800 ebx: c0459d30 ecx: 00000800 edx: 000001f0
esi: 000001f0 edi: 00000000 ebp: 00000000 esp: ddfe1c08
ds: 0018 es: 0018 ss: 0018
Process swapper (pid: 1, stackpage=ddfe1000)
Stack: c0459c80 c0226c04 000001f0 00000000 00000800 c0459d30 00000400 00000000
00000008 c0227e0e c0459d30 00000000 00000400 ddeb3440 00000008
c0459d30
c0235e60 c0459d30 00000000 00000400 c1539d60 c0459d30 00000002 c0459c80
Call Trace: [<c0226c04>] [<c0227e0e>] [<c0235e60>] [<c022fe62>] [<c0235da0>]
[<c0108b21>] [<c0108d0d>] [<c010b378>] [<c01182b8>] [<c013f7be>] [<c01cbc55>]
[<c01cc196>] [<c01cce31>] [<c011b829>] [<c011b8f2>] [<c01b9f91>] [<c01444fb>
[<c0157deb>] [<c0144811>] [<c0158f8c>] [<c0159243>] [<c01590bb>] [<c01596f0>]
[<c0105000>] [<c0105295>] [<c01050bb>] [<c01056e3>] [<c0105090>]

Code: f3 66 6d 5f c3 8d b4 26 00 00 00 00 8d bc 27 00 00 00 00 8b
<0>Kernel panic: Aiee, killing interrupt handler!
In interrupt handler - not syncing

The last thing that I remember doing before this is updating/upgrading some of my packages that I received notifications from slackware security. The packages that I can recall are:
samba
rsync
xpdf
mozilla-thunderbird
libpng
firefox
php
cups

These were the packages from November and December. I used the command upgradepkg *.tgz . The files were located in a directory on my desktop and I was in that directory. I'm also unable to boot from disc(cd), which is probably a mute point but just FYI.
I hope I have supplied the information you need to help me.

Thanks for any and all help!!

Last edited by Rollo69; 01-07-2008 at 08:59 PM..
Rollo69 is offline  
Tag This Post , , , ,
Reply With Quote
Old 01-08-2008, 03:15 AM   #2
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 6,721
Blog Entries: 2
Thanked: 214
If you cannot boot from the CD then it looks like it may be a problem with your RAM. Try memtest86 if possible (as you can't boot any CD, this may be a problem).
H_TeXMeX_H is offline     Reply With Quote
Old 01-08-2008, 06:01 AM   #3
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,220
Thanked: 7
Do you have floppy drive? You can boot memtest from there.
Alien_Hominid is offline     Reply With Quote
Old 01-08-2008, 07:51 AM   #4
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware 12.2
Posts: 479
Thanked: 5
Sounds like some hardware borked to me. as said above if you can't boot from the CD then it is most likely memory.
C-Sniper is offline     Reply With Quote
Old 01-08-2008, 07:09 PM   #5
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0

Original Poster
Thanks for your replies to help me. I do not have a floppy drive on that Slak box... only disc and flash/usb. I will check my ram sticks to make sure that they are secure or bad. It's only a 1.8 cpu so I should have some more ram sticks around. Be back with further update..
Rollo69 is offline     Reply With Quote
Old 01-08-2008, 08:05 PM   #6
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0

Original Poster
Ok.. I checked my RAM and it seems that one stick was a little loose so I fixed that and tried booting into the kernel 2.6.22 but kernel panicked again but I was able to boot into linux.old. I'm logged in and I'm at the command prompt. I tried memtest86 but says command not found.

Where should I go from this point? I'm also able to get into xwindows in case I need to download new kernel or fix what ever is necessary.

Thanks!!
Rollo69 is offline     Reply With Quote
Old 01-08-2008, 08:34 PM   #7
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware 12.2
Posts: 479
Thanked: 5
memtest is an external program that uses a boot CD IIRC.
http://www.memtest86.com/
C-Sniper is offline     Reply With Quote
Old 01-08-2008, 10:49 PM   #8
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0

Original Poster
Thanks C-Sniper but unfortunately my internet isn't working on the Slak box. I made txt files of lspci, lsmod, ifconfig, and route -n but I'm unable to mount my usb/flashdrive. Dmesg says that eth0: Media link off. I tried ifconfig eth0 up but didn't work.
Basicly: lspci tell you I have SiS900 for ethernet
lsmod shows that sis900 is loaded
ifconfig for eth0 inet addr 192.168.0.104 Bcast 192.168.0.255 Mask 255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:19
route -n (good) Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 1 0 0 eth0

So I'm unable to get memtest86 on Slak 10.2 box. I can't ping router which doesn't make since to me since everything looks right ( to me anyway). Also, the error that comes up with mounting flashdrive states mount: special device /dev/sda1 does not exist - but it is in my fstab and was working fine before kernel panic situation.

Any advice or help to get back to normal would be greatly appreciated.
Rollo69 is offline     Reply With Quote
Old 01-09-2008, 07:16 AM   #9
C-Sniper
Member
 
Registered: Dec 2006
Distribution: Slackware 12.2
Posts: 479
Thanked: 5
is there anyway you could get the CD and burn it using the other slack box?
C-Sniper is offline     Reply With Quote
Old 01-09-2008, 06:45 PM   #10
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0

Original Poster
I would but I don't have 2 Slak boxes anymore. I'm in the process of making a Slak 11 box so I only have the one Slak 10.2, unfortunately. I will burn the ISO to cd using M$.

I noticed that my router wasn't lighting up for the channel I was using for ethernet so I changed channels and now I can ping router but not net (neither ip or url). Unsure why channel isn't working because it was working properly before.

Also, will memtest cd automatically run or would I have to mount the cd?? Not sure if I can mount dvd/cd drive at this point (haven't tried yet). I will try and let you know.
Rollo69 is offline     Reply With Quote
Old 01-09-2008, 07:02 PM   #11
onebuck
Guru
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 5,440
Blog Entries: 1
Thanked: 202
Hi,

Quote:
Originally Posted by Rollo69 View Post
I would but I don't have 2 Slak boxes anymore. I'm in the process of making a Slak 11 box so I only have the one Slak 10.2, unfortunately. I will burn the ISO to cd using M$.

I noticed that my router wasn't lighting up for the channel I was using for ethernet so I changed channels and now I can ping router but not net (neither ip or url). Unsure why channel isn't working because it was working properly before.

Also, will memtest cd automatically run or would I have to mount the cd?? Not sure if I can mount dvd/cd drive at this point (haven't tried yet). I will try and let you know.
If you have a M$ machine then download the LiveCD Slax or Knoppix since they both have memtest86. For both you have the option of launching the memtest86 from the boot screen.

As for the router problem. You probably need to set the IP for your device and also setup the gateway & DNS. You can setup via the 'etc/rc.d/rc.inet1.conf' file or using the ifconfig command along with the route commands. You would add your nameserver to the '/etc/resolv.conf' file.

I would setup a static IP first, do as root from cli;

[code]
~#ifconfig -a #get recognized devices
~#ifconfig eth0 192.168.0.10 #set to a available IP
~#route add default gw 192.168.0.1 #set to your gateway
~#route -n #show the route table
~#ifconfig eth0 up #should be up already
~#ping 192.168.0.1 #ping your gateway
~#ping 208.69.32.130 #google.com IP
~#ping google.com #test DNS, if fail then
#check /etc/resolv.conf

The above examplle will work for static IP.

Another way for you would be to edit the '/etc/rc.d/rc.inet1.conf' or run netconfig. Then run '/etc/rc.inet1 restart' to set the parameters for the device.

edit: In the future please put any error(s), data or information in VBcode tags, the Quote or code # at the top of the reply window. It will make it easier to read your post.

Last edited by onebuck; 01-09-2008 at 07:06 PM.. Reason: suggest code tags
onebuck is offline     Reply With Quote
Old 01-09-2008, 08:01 PM   #12
Rollo69
Member
 
Registered: Sep 2005
Location: Charlotte, NC
Distribution: Slack 12.0
Posts: 189
Thanked: 0

Original Poster
Quote:
Originally Posted by onebuck View Post

As for the router problem. You probably need to set the IP for your device and also setup the gateway & DNS. You can setup via the 'etc/rc.d/rc.inet1.conf' file or using the ifconfig command along with the route commands. You would add your nameserver to the '/etc/resolv.conf' file.

Another way for you would be to edit the '/etc/rc.d/rc.inet1.conf' or run netconfig. Then run '/etc/rc.inet1 restart' to set the parameters for the device.

edit: In the future please put any error(s), data or information in VBcode tags, the Quote or code # at the top of the reply window. It will make it easier to read your post.
Thanks for your help Onebuck. As for your advice in your edit section I just realized how to use the quote option as you can see,hopefully, and not sure about code # your referring too. I don't know how to use the VBcode tags for my error(s), data or info. I would gladly use them if I were shown how to.

I have setup a static IP for my slak box. All of this was setup awhile back. It is still showing in my rc.inet1.conf.

My static ip address is 192.168.0.104
my gateway is 192.168.0.1
I couldn't get my DNS. My cable company wouldn't give it to me.
I can ping my gateway but can't ping google's IP or URL you gave.
My resolv.conf file shows: search heavnersnetwork.net

I have downloaded Slak's live cd iso and will burn it but, I don't want to reboot because I may or may not be able to boot back up into my backup kernel again. I stated in previous post that I wasn't able to boot bare.i from slak 10.2 disc. I would like to fix problem while I have it up and running.

Any further suggestions would be greatly appreciated.
Thanks again.!!

edit: I have burned the memtest.iso can I use it?? Thanks

Last edited by Rollo69; 01-09-2008 at 08:12 PM..
Rollo69 is offline     Reply With Quote
Old 01-09-2008, 11:11 PM   #13
onebuck
Guru
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 5,440
Blog Entries: 1
Thanked: 202
Hi,

Quote:
Originally Posted by Rollo69 View Post
Thanks for your help Onebuck. As for your advice in your edit section I just realized how to use the quote option as you can see,hopefully, and not sure about code # your referring too. I don't know how to use the VBcode tags for my error(s), data or info. I would gladly use them if I were shown how to.

I have setup a static IP for my slak box. All of this was setup awhile back. It is still showing in my rc.inet1.conf.

My static ip address is 192.168.0.104
my gateway is 192.168.0.1
I couldn't get my DNS. My cable company wouldn't give it to me.
I can ping my gateway but can't ping google's IP or URL you gave.
My resolv.conf file shows: search heavnersnetwork.net

I have downloaded Slak's live cd iso and will burn it but, I don't want to reboot because I may or may not be able to boot back up into my backup kernel again. I stated in previous post that I wasn't able to boot bare.i from slak 10.2 disc. I would like to fix problem while I have it up and running.

Any further suggestions would be greatly appreciated.
Thanks again.!!

edit: I have burned the memtest.iso can I use it?? Thanks
The 'heavnersnetwork.net' is not in the whois database! Where did you get the entry 'heavnersnetwork.net'? Is there a typo? What is your ISP domain name? You can do a 'whois yourISP' that will get you the DNS for their domain.

Your ISP wouldn't give you the DNS? I would be searching for a new ISP. You could use Verizon's Third Level DNS;

Code:
BTW, this is the code window! The pound (#) at the top of the window. All the code tags appear across the top of the window. Just cursor across to identify.

Place at least one of these in your '/etc/resolv.conf' file;

nameserver 4.2.2.1
nameserver 4.2.2.2
nameserver 4.2.2.3
nameserver 4.2.2.4
If you use the above as your nameserver(s) for DNS then you may have some latency. There is no reason for your ISP not to provide the DNS for their domain.

What is the output from cli;

Code:
~#ifconfig -a
~#route -n
Please post it.

You say that you can ping the gateway but not the Google IP. Is the gateway IP your router/modem?

Last edited by onebuck; 01-09-2008 at 11:20 PM..
onebuck is offline     Reply With Quote
Old 01-09-2008, 11:21 PM   #14
onebuck
Guru
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 5,440
Blog Entries: 1
Thanked: 202
Quote:
Originally Posted by Rollo69 View Post
<snip>

edit: I have burned the memtest.iso can I use it?? Thanks
You will have too reboot with the Livecd.
onebuck is offline     Reply With Quote
Old 01-10-2008, 04:09 AM   #15
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,220
Thanked: 7
His ISP might not have given him DNS address because maybe router acts as a DNS resolver.
Alien_Hominid is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Kernel 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 01:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 04:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration