LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-19-2005, 09:16 AM   #1
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Rep: Reputation: 15
Question Time Moving Too Fast


weird problem...

I just ditched a laptop I was pretty unhappy with (P4HT 3.2Ghz bla bla bla) for a new AMD Turion 64 laptop (1GB RAM). I put Fedora Core 4's x86_64 distribution on it and everything is working fast and fine... except for the time.

By my count, the time on the system is moving 3 seconds for every actual second in "real" time. So for every "real" second that passes I'm getting an extra 2 seconds added on according to the system clock (looking at system-config-time).

I ran a quick test at runlevel 3 and the same thing happens.

Does anyone know of any time complications on x86_64 hardware with Fedora Core 4?
Does anyone know of a fix?

Thanks everyone...
~ Joe

Last edited by revof11; 07-19-2005 at 09:55 AM.
 
Old 07-19-2005, 01:04 PM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Don't know if this will help you any but I had exactly the same problem when I installed FC3 on my machine - i. e. many seconds (I guess also about 3) passing for each "realtime" second whent he machine was in Linux (I dual boot).

What fixed it was to upgrade the default 2.6.9.something FC3 kernel to the latest 2.6.12 AND to ensure that I had DMA support for my particular chipset compiled into the new kernel. I do not know for sure if it was having DMA that fixed the problem, or just the kernel upgrade from 2.6.9 to 2.6.12, but my system now keeps perfect time with the new kernel AND DMA enabled...
 
Old 07-19-2005, 02:44 PM   #3
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
How did you get DMA compiled in?
Is it possible to just grab via yum?
 
Old 07-20-2005, 12:57 AM   #4
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
What I did was to experiment a lot to get DMA in - I first had to identify my board's chipset (I have a GA8-TRS350MT fromg Gigabyte which has a IXP300 chipset, according to the manual). I had no idea where to start, but eventually I waded through the 2.6.12 kernel's .config file and found a line that referred to IXP300 which was set to n for no. I set this to Y and recompiled the kernel, installed it and when I booted up again I managed to set DMA for my DVD drives as well as the HDD. BUT I am supposing that also means that other stuff on the mobo was then also using DMA for the first time (like the soundcard, for example.)

I don't know yum, but I generally distrust it and any other "automagic" update thingies - heard of two many guys who broke their systems using things like APT and yum. What you'll probably need to do is to download a kernel manually from kernel.org, unpack, compile and install it. Something like:

1. Unpack the kernel in /usr/src/linux
2. Make clean
3. Make mrproper
4. Make menuconfig (and configure your kernel)
5. Edit the resulting .config in order to set any custom options you want, like I switched on support for the IXP300 chipset)
7. Make all
8. Make modules_install
9. Make install.
10. Reboot

On my FC3 machine, doing it like this also automatically alters my bootloader config so that I can then start the new kernel without further hassle.

Hope this helps!
 
Old 07-20-2005, 07:08 AM   #5
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
Thanks a lot!
I'll give it a shot.

I'm sure that digging through the data that came with the laptop or looking online will let me find the chipset for my particular model. I may not get to it for a while (maybe a couple weeks... I am extraordinarily busy for some reason lately), but I will make sure to post the results to this thread when I am done.

Thanks again!
 
Old 09-24-2005, 10:32 AM   #6
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
Unhappy Follow-UP

Unfortunately I never found the proper option to turn on. But it's OK, it's not like it bothers me at all. I'll probably give FC5 a shot whenever it comes out and possibly check out Gentoo again around December time.

I just didn't want to leave this post without a reply.
 
Old 10-15-2005, 05:59 PM   #7
revof11
Member
 
Registered: Nov 2003
Location: Macungie, PA
Distribution: Fedora Core 9, Gentoo 2008.0
Posts: 108

Original Poster
Rep: Reputation: 15
Talking A SOLUTION!!!!!!!!!!!!!!!!!!!!!!

A SOLUTION!!!!!!!!!!!!!!
For those curious... it took a little RTFM


No kernel mods... nothing like that. It's a lot more simple than that.
I opened up my /boot/grub/grub.conf file and...

I changed this line:
Code:
kernel /vmlinuz-2.6.13-1.1526_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet ignore_ff_buttons=PWRF
To this:
Code:
kernel /vmlinuz-2.6.13-1.1526_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb noapic no_timer_check quiet ignore_ff_buttons=PWRF

The additions (if you can't see them in there) is the no_timer_check and noapic lines.

I actually found this while looking up some other configurations that I haven't had a chance to play with until now (namely the ndiswrapper, which I have a config error in, but that's a different topic). The no_timer_check actually applies to pretty much any AMD Turion 64 (as far as what I read leads me to believe) and may work for the kernel boot configuration for other distros/systems experiencing similar problems.

Rock on,
The Rev.
 
Old 12-03-2005, 07:43 PM   #8
stanmc
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by revof11
A SOLUTION!!!!!!!!!!!!!!
I opened up my /boot/grub/grub.conf file and...

I changed this line:
Code:
kernel /vmlinuz-2.6.13-1.1526_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet ignore_ff_buttons=PWRF
To this:
Code:
kernel /vmlinuz-2.6.13-1.1526_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb noapic no_timer_check quiet ignore_ff_buttons=PWRF
This was really helpful for my problem. I have an Asrock 939 dual sata MoBo and an AMD 3800 X2 which under FedoraC4 (32-bit) SMP would gain several seconds per minute. In one hour it had gained 24 minutes and 31 seconds. With the above changes in the grub.conf, it is running within a second of my digital watch after five hours. What is really interesting is that running under the non-SMP kernel it was accurate and when running under Knoppix v4.0.2 DVD as SMP it was accurate. The addition of noapic and no_timer_check to the grub.conf entry for the SMP kernel made the kernel keep time correctly.

Thanks
 
  


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
irratic System clock (time passes extremly fast) carl0ski Linux - Hardware 2 12-04-2005 10:09 PM
FAST (Mega fast Mirror) SUSE 10 beta 4 download 1kyle SUSE / openSUSE 2 09-07-2005 10:13 AM
KDE 3.4 Beta 1 - Fast, Fast, very nice linchat SUSE / openSUSE 0 01-25-2005 11:42 PM
copying/moving stalls when moving a lot of data to a usb stick =X¥®µ§= Linux - Hardware 10 07-30-2004 05:29 AM
Fast Boot time monkeymartin Linux - General 2 09-23-2003 08:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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