Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-12-2003, 09:54 PM
|
#1
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Rep:
|
trouble setting system time on dell laptop

I am new to Linux and need a little help. Everytime I try to boot, no matter what distro (slackware, redhat, mandrake, knoppix, college linux, yellowdog) it hangs on the command to set the system time from the hardware clock. I was given the advice to escape out of the command with "Ctrl-C", and I was able to boot Linux (I am currently running slackware 9.1, as it was the only distro to actually boot fully). When I give the command to reboot or halt the system, it also hangs on setting the hardware clock from the system time and never fully shuts down.
The box I am having troubles with is a Dell Inspiron 4000 laptop with the following:
- 256MB RAM
- Intel Pentium III 850MHz processor
- 8MB ATI 128 Mobility video card
- 10GB HD
- CD-RW drive
- ESS Maestro sound card
- some kind of network/modem card (also inoperable at this point)
- touchpad (works great!)
- 1024x768 XVGA LCD screen
When I bypass the time setting command on boot, everything else loads and seems to work fine except for when I attempt to set the time from within KDE (I'm new, so many other things could still be wrong that I just don't know about yet ).
Please help!

|
|
|
|
12-13-2003, 01:51 AM
|
#2
|
|
Member
Registered: Dec 2003
Location: Northern VA
Posts: 493
Rep:
|
You might be having problems with ntpd, don't know why, I've never liked ntpd myself, never been able to get it to work right.
You could just remove it from your /etc/init.d or move it to a new name, get rid of it however you like.
I have a script that I run once an hour to get time ... It can be found here: http://www.technoslave.net/other/setclock.txt
Basically, when I first started setting clocks via the net, I liked clock.psu.edu for some reason...so I've stuck with it. Basically, I check to see if you're root, if not, break out. If you are, use ntpdate from the server to set the regular clock, then I issue hwclock --systohc which syncs the hardware clock with the system clock...because I had a really annoying computer once that when I rebooted it, it would reset the date/time ... etc.
Anyway, hope it helps...I'm rambling now at 3 in the morning.
|
|
|
|
12-13-2003, 01:54 AM
|
#3
|
|
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
|
What you can try and do is upgrade the BIOS, and set the time in the bios. Dells have always been a little funny... and the BIOS upgrade may fix your problem, for some wierd un-explainable reason.
|
|
|
|
12-13-2003, 05:36 AM
|
#4
|
|
Member
Registered: Apr 2003
Location: Madrid
Distribution: RHAS, Kubuntu, Solaris, TRU64
Posts: 381
Rep:
|
agree with the BIOS stuff.
Also, I had a very similar problem which got solved by using new 2.6 test kernel
|
|
|
|
12-13-2003, 07:17 PM
|
#5
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
I can't find the /etc/init.d file on my system to remove ntpd from. Could it be called something different because I'm using slackware 9.1 instead of something else?
I did a little digging and found the hwclock command. When I try to run this command it hangs just it does at boot time. When I run it with the --debug option I get this output:
[COLOR=blue]
hwclock from util-linux-2.12
Using /dev/rtc interface to clock.
Assuming hardware clock is kept in local time.
Waiting for clock tick...
<blinking cursor>
[COLOR=black]
I tried updating the BIOS, but I already have the most up to date version from Dell and it still doesn't work.

|
|
|
|
12-13-2003, 07:18 PM
|
#6
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
lol my html tags didn't work 
|
|
|
|
12-13-2003, 07:22 PM
|
#7
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
i cant set the system clock from the net right now, i cant get my network card to work either...
|
|
|
|
12-13-2003, 07:56 PM
|
#8
|
|
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185
Rep:
|
i also agree with flashing your BIOS...i actually had to do this the other day on one of my machines cause of a very very similiar clock problem, and that was my solution..
|
|
|
|
12-13-2003, 08:02 PM
|
#9
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
i already flashed the BIOS to the most recent BIOS... it didn't help any...
|
|
|
|
12-14-2003, 02:52 AM
|
#10
|
|
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
|
Does setting the clock work in any other os? Is this a linux problem or a hardware problem?
|
|
|
|
12-15-2003, 06:34 PM
|
#11
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
i think its a hardware problem... every distro that i tried hung on the command to access the clock. any ideas on how i would go about troubleshooting further and fixing the problem.
|
|
|
|
12-15-2003, 11:16 PM
|
#12
|
|
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
|
How old's you Dell? Maybe you can still call tech suport? You said "every distro" does it freeze in Windows too?
|
|
|
|
12-17-2003, 07:39 AM
|
#13
|
|
LQ Newbie
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 26
Original Poster
Rep:
|
I never had a problem with Windows concerning the system time, and my dell's more than 3 years old so no calling tech support... maybe i'll just get a new laptop after Christmas. Any suggestions?
|
|
|
|
12-17-2003, 09:50 AM
|
#14
|
|
Member
Registered: Sep 2003
Location: //home/sweden
Distribution: RedHat 9, Fedora Core 1
Posts: 360
Rep:
|
In the meantime, I'm sure you can just set the system time in the BIOS, and fudge resyncing the clock on shutdown.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:24 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|