The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Kernel Errors Present

Discussion in 'General Discussion' started by swampy, Sep 23, 2005.

  1. swampy

    swampy Well-Known Member

    Joined:
    Jan 30, 2004
    Messages:
    148
    Likes Received:
    0
    Trophy Points:
    0
    This is a new server about 2 weeks old i keep getting these errors can anyone give me a fix or does this mean my hd is on its way out i had a similar error with another server just before the hd died


    WARNING: Kernel Errors Present
    audit(1127354015.269:0): avc: denied { write } for pid=10744 comm=rndc path=/usr/local/cpanel/logs/error_log dev=dm-0 ino...: 1 Time(s)
    audit(1127386677.704:0): avc: denied { write } for pid=1433 comm=rndc path=/usr/local/cpanel/logs/error_log dev=dm-0 ino...: 1 Time(s)
    audit(1127410336.748:0): avc: denied { write } for pid=6021 comm=rndc path=/usr/local/cpanel/logs/error_log dev=dm-0 ino...: 1 Time(s)
    hda: DMA timeout error...: 1 Time(s)
    hda: dma timeout error: status=0x50 { D...: 1 Time(s)
    hda: status error: status=0x58 { D...: 1 Time(s)

    Thanks in advance
    Mark
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    If you get these:

    At any other time than a reboot, then the disk is almost certainly on its way out and should be replaced ASAP.
     
  3. djblamire

    djblamire Well-Known Member

    Joined:
    May 3, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    16
    What about the following - Would you say hda AND hdc are faulty ??

    ==========================================================
    WARNING: Kernel Errors Present
    hda: DMA timeout error...: 1 Time(s)
    hda: dma timeout error: status=0xd0 { B...: 1 Time(s)
    hdc: drive_cmd: error=0x04 { DriveStat...: 1 Time(s)
    hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }...: 1 Time(s)

    1 Time(s): hda: DMA disabled
    1 Time(s): hda: dma_timer_expiry: dma status == 0x21
    1 Time(s): ide0: reset: success
    1 Time(s): ide: failed opcode was: 0xb0
    1 Time(s): ide: failed opcode was: unknown

    ==========================================================

    Thanks in advance,
    Daniel
     
  4. bear

    bear Well-Known Member

    Joined:
    Sep 24, 2002
    Messages:
    113
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    We've seen these same errors as the above post recently. Anyone know if this is indicative of a serious issue? Our provider seems to feel it's just a kernel rebuild to fix it....
     
  5. thejrc

    thejrc Registered

    Joined:
    Apr 30, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    so far I've seen this on two fedora installs (I'm a touch frustrated at how poorly fedora is doing here, and unfortunately BSD 6.0 support in full is probably a while off too). My guess was that it has everything to do with the newer SElinux attempt at BSD style ACL's and some nifty auditing. After googling the whole subject I found out I was right.

    Havent hacked out a fix yet (as I just focused on the problem three minutes ago) but I will post if I find something out, it's most likely a bad configuration thing.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I presume you're talking about the audit messages, since the disk errors have nothing to do with selinux. The audit messages are not a configuration issue, they're informational. You can disable the informational audit messages if you want in FC:
    http://forums.cpanel.net/showthread.php?t=51514&highlight=audit
     
  7. thejrc

    thejrc Registered

    Joined:
    Apr 30, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    solved! audit denials avc:

    sure enough after visiting http://fedora.redhat.com/docs/selinux-faq-fc5/ and clicking on the "I have some AVC denials I want to allow" I came across a pretty lengthy and annoying fix.

    you will need to install the checkpolicy RPM file

    and of course it pops up a bunch more AVC audit failures and warnings about accounts....

    anybody have any more insight?
     
  8. simplybe

    simplybe Well-Known Member

    Joined:
    Nov 29, 2002
    Messages:
    153
    Likes Received:
    0
    Trophy Points:
    16
    WARNING: Kernel Errors Present
    hda: DMA timeout error...: 1 Time(s)
    hda: dma timeout error: status=0xd0 { B...: 1 Time(s)
    hdc: drive_cmd: error=0x04 { DriveStat...: 1 Time(s)
    hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }...: 1 Time(s)

    I get those errors on one server often and have been getting them for over a year. I found that they only happen when using grep to search large files such as exim logs.

    It is not something to be ignored though as it could well be a bad disk, get your dc to run hd tests and repair any errors
     
Loading...

Share This Page