LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-08-2008, 04:29 AM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Hard Drive disaster, Starting Over with Slack


Hello Everyone,

Well, the title tells you the situation. I was working with my partitions last week, stupid mistake. Anyway lost the entire contents of my hard drive on my laptop so I am starting all over. Almost a year's worth of work configuring.....gone. Fortunately, I had complete backups of all my important work, so no loss there. What I didn't have was backups on configs I had done: wireless, sound, etc. I do, however, have notes on all the help I got here setting up before, so I feel good about getting it all going again.

I have re-installed, but this time I decided to go with Slackware current. No problem installing. But, in this kernel, my wireless is not natively supported, so I use a USB stick that uses the zd1211rw driver and it modprobed just fine. Just need it to get online to get the 2.6.27 kernel that DOES support my wireless.

But, I have an odd problem that I have not encountered before. Of course I have read the Slackbook wireless HOWTO HOWTO.

The problem is this: I can get the wireless set up no problem, I even get a DHCP IP address with dhclient, I can ping the router, but it will not connect to the net or other machine on my home network.

Please don't yell at me if I am missing that is obvious. I am just not familiar with DNS, which may be my problem. This is a completely fresh install with kernel 2.6.24.7-huge-smp, no other configuration at this point.

Any advice would be appreciated.

Bob
 
Old 10-08-2008, 05:01 AM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
I am not familiar with dhclient, as I have always used dhcpcd. One thing that I found when dealing with static IP's is that you need to have your gateway (IP address of your router) setup through route, as well as having a nameserver listed in your /etc/resolv.conf.

First I would try using dhcpcd wlan0 (or whatever device yours uses) and see if it sets up all that info for you (which it does for me), otherwise you can setup a static address. Although I don't remember the commands right off as I have a wireless script that does it for me (you can access the script at http://bpws.sf.net )
 
Old 10-08-2008, 05:29 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you, /etc/resolv.conf is indeed empty. To use dhcpd, I am being prompted set up the dhcpd.conf file, which is very confusing. I am using a simple home router with three machines connected and never had this issue before. I am thinking that something I entered during my Slack install has created this issue, though I use the same entries I have always used. Perhaps someone will post a sample file for both of these to get me started.

Bob
 
Old 10-08-2008, 05:47 AM   #4
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thank you. Got it resolved by adding nameserver in /etc/resolv.conf. Online now, so now to a good month of configuring things all over again.

Many thanks,

Bob
 
Old 10-08-2008, 06:17 AM   #5
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by BobNutfield View Post
Thank you, /etc/resolv.conf is indeed empty. To use dhcpd, I am being prompted set up the dhcpd.conf file, which is very confusing. I am using a simple home router with three machines connected and never had this issue before. I am thinking that something I entered during my Slack install has created this issue, though I use the same entries I have always used. Perhaps someone will post a sample file for both of these to get me started.

Bob
Once I get home, I will post my conf file. But I am glad to see you got it working.
 
Old 10-08-2008, 09:44 AM   #6
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
NEW ROADBLOCK: FREQUENCY SCALING

Well, the Slack Book details setting up frequency scaling very well, but doesn't say what to do with this. I have compiled my 2.6.27 kernel, running well, but cannot get cpufreq scaling to work. I have uncommented /sbin/powernow-k8 and APCI Processor in /etc/rc.d/rc.modules, but still no go.

Quote:
root@bob-laptop:/home/bob# dmesg | grep powernow
powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57 processors (2 cpu cores) (version 2.20.00)
powernow-k8: ACPI Processor support is required for SMP systems but is absent. Please load the ACPI Processor module before starting this driver.
powernow-k8: ACPI Processor support is required for SMP systems but is absent. Please load the ACPI Processor module before starting this driver.
I shouldn't be getting this message I don't think. Anyone have any ideas?

Thanks in advance

Bob
 
Old 10-08-2008, 09:55 AM   #7
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by bassmadrigal View Post
Once I get home, I will post my conf file. But I am glad to see you got it working.
Well, my dhcpd.conf file has no configuration options, so I don't know why you are getting that error.

As for your new one, some googling turned up this post.

Basically it says you need to enable "AM2 Boost Enable" in the bios, or something similar to that. But if you built your own kernel, it could be a module you accidentally didn't build.

If you own a laptop, I can highly suggest building the cpu frequency daemon. It gives you a ton of options on the scaling limits for various power settings (ie, on AC, battery at specific levels, etc).
 
Old 10-08-2008, 10:05 AM   #8
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by bassmadrigal View Post
Well, my dhcpd.conf file has no configuration options, so I don't know why you are getting that error.

As for your new one, some googling turned up this post.

Basically it says you need to enable "AM2 Boost Enable" in the bios, or something similar to that. But if you built your own kernel, it could be a module you accidentally didn't build.

If you own a laptop, I can highly suggest building the cpu frequency daemon. It gives you a ton of options on the scaling limits for various power settings (ie, on AC, battery at specific levels, etc).
Hello again,

Yes it is a laptop and I did compile this kernel myself. I am sure I included the ACPI processor and powernow_k8 (which is what I need to get this to work, but as shown it is complaining that it can't even find the module ppowernow_k8 or acpi_processor.

I had this working just fine prior to wiping the drive in 12.1. Need to get it sorted soon, though, because this laptop runs really hot without it.

Thanks again

Bob
 
Old 10-08-2008, 10:18 AM   #9
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Edit: Sorry, just didn't notice that you already marked the ACPI processor support.

New idea: powernow_k8 selection has an "ACPI support" suboption, which it says is required for SMP. Did you mark that one?

Last edited by Ilgar; 10-08-2008 at 10:22 AM.
 
Old 10-08-2008, 10:52 AM   #10
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Hi llgar,

Yes, I am looking at the config now, I do have processor checked in the ACPI support section. In frequency scaling, I have CPU frequency scaling checked, frequency translation statistics, and userspace governor "ondemand".

I have recompiled twice now and still get the error that the powernow-k8 module is not found.

Just stumped on this one.

Bob
 
Old 10-08-2008, 12:01 PM   #11
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Still getting a couple of error messages in dmesg, but the fourth recompile got freq scaling to work. I guess I have been at this too long....eyes getting weary and missing things.

But got Slack up now and this is the first time I have used current. The adventure begins again.

Thanks everyone.

Bob

Last edited by BobNutfield; 10-08-2008 at 12:07 PM.
 
Old 10-08-2008, 12:11 PM   #12
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Well... assuming you are not located in that directory (and that it doesn't change if you cd to a new directory), this will change it back.

Code:
PS1=\u@\h:\w\$
And if the problem persists after a reboot, you may have to change it in your /etc/profile
 
Old 10-08-2008, 12:13 PM   #13
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by bassmadrigal View Post
Well... assuming you are not located in that directory (and that it doesn't change if you cd to a new directory), this will change it back.

Code:
PS1=\u@\h:\w\$
And if the problem persists after a reboot, you may have to change it in your /etc/profile
Thanks again, that took care of it. Now back to sound and fglrx.


Bob
 
Old 10-08-2008, 12:56 PM   #14
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Quote:
Originally Posted by BobNutfield View Post
Yes, I am looking at the config now, I do have processor checked in the ACPI support section. In frequency scaling, I have CPU frequency scaling checked, frequency translation statistics, and userspace governor "ondemand".
Hi Bob, I'm glad you sorted it out. In case you need to do this again: What I was referring to is not

Code:
--- ACPI (Advanced Configuration and Power Interface) Support
   <*>   Processor
but instead the last line in

Code:
CPU Frequency scaling  ---> 
  <*>   AMD Opteron/Athlon64 PowerNow! 
  [*]     ACPI Support
The latter won't be visible unless the first is enabled (so you may have skipped it if you did the cpufreq selections first).

Last edited by Ilgar; 10-08-2008 at 12:58 PM.
 
Old 10-08-2008, 04:51 PM   #15
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Thanks again llgar.

Got it all up and working now...sound, ATI driver cpu scaling, wireless, the works. Now I am going to restore my files from backup and leave it alone!!



Thanks again,

Bob
 
  


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 not recognize hard drive tramni1980 Slackware 18 10-10-2006 08:42 AM
New slack install... want to do it on my second hard drive... how? silverbullet Slackware 11 01-24-2005 05:47 PM
Porting Slack installation to a new hard-drive dizzi Slackware 4 08-26-2004 01:05 PM
Major disaster partitioning my hard drive pechaman Linux - Software 5 07-11-2004 04:56 AM
Slack 9.1 can not find hard drive but 9.0 did neurotic Slackware 3 11-18-2003 12:55 PM

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

All times are GMT -5. The time now is 02:28 AM.

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