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 02-16-2003, 09:49 PM   #1
ashw
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Rep: Reputation: 0
hang on first boot, hardware clock 8.1


skill level: newbie :]

running 8.1 default kernel, just installed it.

when i first boot, the pc hangs at "Setting system time from the hardware clock (localtime)", even if i leave it an hour.

tried ctrl-c putting the system into RL3 but when i shutdown a similar line appears and the system hangs completely.

what steps should i take, or what information should i attempt to glean to progress?

i've tried 2 clean reinstalls and have run the 8.1 cd a few times trying setting the time to UTC or non UTC with timezone Europe/London.

Funnily enough, slackware was working fine yesterday when i first installed it, I decided to reinstall because i'd missed a lot of libs so i unchecked anything to do with X/Gnome/KDE (apart from the libs ;] ) then did a full installation so as not to miss anything.

amd 1200 TBird
900Mb PC133
Asus A7A266
Maxtor 1.5gig / 300mb, /usr 1200mb, /swp 128mb + a Maxtor 80gig IDE /var 400mb, /swp 128mb, /archive 79gig, /home 200mb on hda and hdb
Panasonic 4x DVD on hdc
RTL8139C network
ATI Radeon VE gfx
 
Old 02-16-2003, 10:25 PM   #2
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
Well, this really doesn't solve the problem but it might provide at least a quick work around to allow the system to boot and provide info if it is the hwclock program to fault. Boot your install CD as normal. Mount your root partition under say /mnt.
Then "chmod 000 /mnt/sbin/hwclock" and unmount the partition. Then reboot, turn off or reset the PC. If the hwclock program was to be faulted then the system should boot back up.

mount /dev/hda1 /mnt
chmod 000 /mnt/sbin/hwclock
umount /mnt

Substitute hda1 for your root partition.

Personally, I have not seen a system where it causes the system to hang. However, there is a remark in the files (rc.0, rc.S, and rc.6) about SGI Visual Workstation that it could lock up. So there is some history there. Perhaps common clock chip or something.
 
Old 02-17-2003, 12:01 AM   #3
ashw
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Original Poster
Rep: Reputation: 0
i mounted /dev/hda1 to /mnt and couldn't find hwclock. odd no?

checked the /usr partition with whereis for any mention with no success.
 
Old 02-17-2003, 05:47 AM   #4
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
I think the key would be what is your root partition? I used the wrong word in my prior post. It should of been "with" instead of "for" in the substitute directions for hda1. If you used multiple partitions, then try all of them if not sure. But the hwclock program is installed the /sbin directory. That should always be on the root partition.

The next process after the hwclock are the modules. So you might want to also do

chmod 000 /mnt/etc/rc.d/rc.modules

The last thing the rc.S script does after the modules is it inits the urandom device.

When the rc.M script starts it echos the messages "Going multiuser" and that should be just after the clock message I believe.
 
Old 02-17-2003, 09:22 AM   #5
ashw
LQ Newbie
 
Registered: Jan 2003
Posts: 10

Original Poster
Rep: Reputation: 0
reinstalled with a large (1500meg) / partition and no /usr partition.

success.

thx for help.
 
Old 02-17-2003, 04:38 PM   #6
Excalibur
Senior Member
 
Registered: Jun 2002
Location: Northern VA, USA
Distribution: Ubuntu
Posts: 1,180

Rep: Reputation: 46
It sounds like it was missing libraries but I would of thought an error message would of been displayed but not lock up the system.

Glad to hear you are well on your way again.
 
  


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
System clock correct, hardware clock wrong karlovac Linux - General 5 01-16-2009 07:19 PM
system clock,hardware clock varunbihani Linux - Newbie 2 07-23-2005 09:04 AM
setting the hardware clock.. kurrupt Linux - Hardware 1 08-25-2004 11:00 PM
GeForce, Hang on boot, hang on X ctrl-alt-bspace bigearsbilly Linux - Hardware 0 03-01-2004 07:56 AM
Hardware Clock... philfighter General 0 08-18-2001 10:26 PM

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

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