Results 1 to 10 of 10

Thread: CE: hpet increasing min_delta_ns issue

  1. #1
    Join Date
    Jun 2008
    Location
    The Netherlands
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    CE: hpet increasing min_delta_ns issue

    Ever since installing Jaunty (amd64, kernel 2.6.28-15) I've been having quite some trouble with it (yesterday I was forced to reboot after some really weird errors in dmesg and I was told I had to do a manual fsck check. While executing this test it kept telling me really crazy stuff about 'orphaned inodes', whatever that might be ). Anyway, I may have found a possible cause (I came to this conclusing after reading many bug reports about users having this issue and having this cause their Jaunty to freeze). In the logs I quite often notice the following lines:

    Code:
    [   80.000254] Clocksource tsc unstable (delta = -351296609 ns)
    [ 6234.705363] CE: hpet increasing min_delta_ns to 15000 nsec
    [ 6234.705604] CE: hpet increasing min_delta_ns to 22500 nsec
    [ 6962.600397] CE: hpet increasing min_delta_ns to 33750 nsec
    [ 7356.076838] CE: hpet increasing min_delta_ns to 50624 nsec
    [ 7900.620236] CE: hpet increasing min_delta_ns to 75936 nsec
    Actually this is the first time I notice it going as far as 75936, but I guess in the past it just crashed before I had the chance to see this happen

    Although a fix would be awesome, a workaround would be fine as well. After some Googleing I found out it should be possible to tell Ubuntu not to use the hpet timer, but I'm not sure how to disable it. Can I simply add a line in menu.lst so it says something like "(...) quiet splash hpet=disabled", or is there more to it? (and could this even be dangerous?) Or should I better do something completely different?
    Last edited by pveurshout; September 18th, 2009 at 01:59 PM.

  2. #2
    Join Date
    Jun 2008
    Location
    The Netherlands
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CE: hpet increasing min_delta_ns issue

    Just letting anyone who's reading this know that I disabled hpet the way as described above and it's been working perfectly ever since. No freezes at all, uptimes up to 13 hours.

  3. #3
    Join Date
    Jun 2008
    Location
    The Netherlands
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CE: hpet increasing min_delta_ns issue

    Unfortunately I had to mark this thread as 'Unsolved' again. It just froze on me again..seems it was a kernel panic, as the caps lock light went on (also, when I physically disconnected my USB mouse and then reconnected it, the red light underneath wouldn't turn on). Alt+Fn+REISUB didn't work; it was completely stuck. Nothing in the logs because of that. I just completed downloading a torrent containing four 2.1GB files to an ext3 partition. A minute or so after completion I started FF, checked my e-mail, clicked one of my bookmarks, *freeze*.

    Anyway, as I'm not the only one who has Jaunty freeze on them all the time (although the frequency did go down from twice a day to twice in two months after switching from NTFS to Ext3 for my downloads - can't be a coincidence) I'm just letting anyone who reads this know that it's proabably not the hpet-thing described above. I'm back to where I started Hopefully Karmic will be better..
    Last edited by pveurshout; October 26th, 2009 at 06:25 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    3
    Distro
    Ubuntu Karmic Koala (testing)

    Re: CE: hpet increasing min_delta_ns issue

    Maybe add yourself to
    https://bugs.launchpad.net/bugs/270798 where some other people are getting hit by this too. (though the kernel version listed in the description is older, and mentions 64-bit, I think it's across the board for some hardware combinations. (it hits me on a Dell D620 w/ core duo + nvidia)

  5. #5
    Join Date
    Jun 2008
    Location
    The Netherlands
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CE: hpet increasing min_delta_ns issue

    Recently I moved on to Karmic, which uses grub2. Does someone know how I can disable hpet in the boot options? In Jaunty I could just add 'hpet=disable' to menu.lst, but here I read that grub.cfg should not be manually edited anymore. Can I just add hpet=disable to the bottom of /etc/default/grub?
    Last edited by pveurshout; December 27th, 2009 at 02:18 PM.

  6. #6
    Join Date
    Apr 2006
    Beans
    3
    Distro
    Ubuntu Karmic Koala (testing)

    Re: CE: hpet increasing min_delta_ns issue

    Quote Originally Posted by pveurshout View Post
    Recently I moved on to Karmic, which uses grub2. Does someone know how I can disable hpet in the boot options? In Jaunty I could just add 'hpet=disable' to menu.lst, but here I read that grub.cfg should not be manually edited anymore. Can I just add hpet=disable to the bottom of /etc/default/grub?
    In /etc/default/grub.conf:
    include hpet=disable in a uncommented GRUB_CMDLINE_LINUX_DEFAULT line.
    eg:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="hpet=disable"
    or if you also wanted quiet boot and a boot splash graphic:
    Code:
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash hpet=disable"
    Cheers

  7. #7
    Join Date
    Jun 2008
    Location
    The Netherlands
    Beans
    150
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: CE: hpet increasing min_delta_ns issue

    Thanks, that worked!

  8. #8
    Join Date
    Dec 2009
    Location
    US
    Beans
    131
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: CE: hpet increasing min_delta_ns issue

    I am getting this error on a Biostar TA790GX XE board with a 3.1GHz Dual-core CPU running both Mythbuntu 9.04 and 9.10 with all current updates. During heavy system load, such as recording 2 shows and commercial flagging both of them in real-time, the MythTV frontend (idle or not) would eventually segfault and the entire system would freeze. If I closed the frontend the segfault didn't happen, but still a hard lockup eventually. I tried hpet=disable in the proper locations and acpi=off as well, but was still getting lockups so I then transplanted everything to a different board and the problem no longer occurred.

    The only thing that seems to have worked so far is disabling 'Cool n Quiet' and 'CPU Smart Fan' in the bios. When I do that, the CPU fan stays on full blast and on bootup my CPUFreq Monitor panel plugin complains that CPUFreq support is not present, but the problem is 'fixed'.

    Is there another way to disable hpet or can I resolve this some other way that I'm missing?? Please help! Could it be a cpu/chipset heat problem or power supply issue causing this?

    EDIT: possible solution here, will post back when I can test again.
    Last edited by matt06; January 31st, 2010 at 08:46 AM. Reason: added link
    MythTV BE: ECS A780GM-A, X2 240, 2GB, 40GB SSD, 2TB, (2)HVR-1600, Cable + OTA, 10.04 Server 64-bit, MythTV 0.25.3
    MythTV FE: P4M900-M4, Cel 2.0GHz, 1GB, 8400GS 512MB, 4GB CF, MCE, 12.04. FE2: AR3700, 4GB, 250GB, ION, MCE, 12.04

  9. #9
    Join Date
    Feb 2010
    Location
    /proc/sys
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: CE: hpet increasing min_delta_ns issue

    Using Ubuntu 10.04 alpha2 here, and I get the same error as OP except for the "clocksource tsc unstable" line.

    I agree, a fix would be awesome...

  10. #10
    Join Date
    Dec 2009
    Location
    US
    Beans
    131
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: CE: hpet increasing min_delta_ns issue

    I had to give up on this issue with my Biostar board. I simply don't have time to troubleshoot it right now.
    MythTV BE: ECS A780GM-A, X2 240, 2GB, 40GB SSD, 2TB, (2)HVR-1600, Cable + OTA, 10.04 Server 64-bit, MythTV 0.25.3
    MythTV FE: P4M900-M4, Cel 2.0GHz, 1GB, 8400GS 512MB, 4GB CF, MCE, 12.04. FE2: AR3700, 4GB, 250GB, ION, MCE, 12.04

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •