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.
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.
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.
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).
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..
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 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.
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.
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 06:06 PM.
Reason: suggest code tags
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
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.