Page 1 of 7 123 ... LastLast
Results 1 to 10 of 61

Thread: AVG Scan causing Kernel Failure

  1. #1
    Join Date
    Apr 2011
    Location
    Vancouver, BC, Canada
    Posts
    92

    Default AVG Scan causing Kernel Failure

    I just installed OpenSUSE 11.4 x64 as a fresh full-install last week. Seems to be running great, up until the last couple days when I installed AVG. Every time I do a avgscan, it runs for 20 to 60 min, and then causes the PC to reboot. The only thing I can find is the following event in the /var/log/messages:

    Code:
    May  1 11:45:01 linuxbox sntp[7653]: Started sntp
    May  1 11:45:59 linuxbox kernel: [38429.349995] iTCO_wdt: Unexpected close, not stopping watchdog!
    May  1 11:46:00 linuxbox kernel: [38430.111688] PM: Marking nosave pages: 000000000009d000 - 0000000000100000
    May  1 11:46:00 linuxbox kernel: [38430.111694] PM: Marking nosave pages: 00000000befd3000 - 00000000bf5cd000
    May  1 11:46:00 linuxbox kernel: [38430.111726] PM: Marking nosave pages: 00000000bf5cf000 - 00000000bf681000
    May  1 11:46:00 linuxbox kernel: [38430.111731] PM: Marking nosave pages: 00000000bf800000 - 0000000100000000
    May  1 11:46:00 linuxbox kernel: [38430.112609] PM: Basic memory bitmaps created
    May  1 11:46:00 linuxbox kernel: [38430.152038] PM: Basic memory bitmaps freed
    I get this result every time I try to do a virus scan. I also have seen this result once when doing a large scp transfer from another Suse box. The AVG log just terminates and gives no warnings as to what's going wrong.

    Are there any other logs I can check out to try to troubleshoot this further??? Any ideas what's happening here?

    Thanks!

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: AVG Scan causing Kernel Failure

    On 2011-05-01 20:36, PsychoGTI wrote:
    > Any ideas what's happening here?


    Heat?

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: AVG Scan causing Kernel Failure

    What are you scanning for Virus'? Do you windows partitions ?
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4
    Join Date
    Apr 2011
    Location
    Vancouver, BC, Canada
    Posts
    92

    Default Re: AVG Scan causing Kernel Failure

    Quote Originally Posted by robin_listas View Post
    Heat?
    I checked the temperatures, thinking the same thing. The CPU is at 52 Deg C (125 deg F) and the HD's are at ~50 deg C (122 deg F), so within normal ranges. The PC is in my basement, where it's cool 99% of the time.

    Quote Originally Posted by caf4926
    What are you scanning for Virus'? Do you windows partitions ?
    This machine serves out SAMBA shares to several Windows PC's in my family. They all upload/download files to the server, as well as backup to it. Scanning on the server seems like a prudent thing to do. :-) I had AVG working just fine under Suse 11.1 with my old server. I had it rigged to email me results and everything after a scan.

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: AVG Scan causing Kernel Failure

    PsychoGTI wrote
    > I checked the temperatures, thinking the same thing. The CPU is at 52
    > Deg C (125 deg F) and the HD's are at ~50 deg C (122 deg F), so within
    > normal ranges. The PC is in my basement, where it's cool 99% of the
    > time.

    The next best thing which comes to my mind is bad RAM. Did you run a memory
    check (at least several hours)?

    --
    PC: oS 11.3 64 bit | Intel Core2 Quad Q8300@2.50GHz | KDE 4.6.2 | GeForce
    9600 GT | 4GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.6.0 | nVidia
    ION | 3GB Ram

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: AVG Scan causing Kernel Failure

    On 05/01/2011 10:18 PM, martin_helm wrote:
    >
    > The next best thing which comes to my mind is bad RAM.
    >


    googling "Marking nosave pages" i think i learned that that means the
    kernel found no place to save stuff it wanted to save somewhere (even if
    only momentarily)..

    i guess that was probably caused by insufficient memory for the entire
    scan operation..

    it might be filling physical RAM but i think that would be reported
    differently, so i think it is spilling into swap and filling it
    also...or, (i am guessing) maybe it is filling the root partition by
    filling /tmp...

    maybe you need more RAM or swap space (how much do you have of each?)

    if you are low on RAM--maybe you are running X and other unneeded stuff
    on that server and taking resources needed for the scan? perhaps you
    could skinny down the running services etc and get by...or, just add
    some swap space...

    you could open an instance of top and sit and watch the memory/swap etc
    lines at the top and maybe see what is going on (with only an investment
    of the expected 20 to 60 minutes prior to unexpected reboot)..

    or you could install atop and set it to take an save a snapshot of what
    is going on each (say) minute or two (the default is one save each 10
    minutes, which might not be often enough)..

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
    HACK Everything -> http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

  7. #7
    Join Date
    Apr 2011
    Location
    Vancouver, BC, Canada
    Posts
    92

    Default Re: AVG Scan causing Kernel Failure

    So I've done some work on this based on the suggestions above, and here's some results...

    I tried running the Memtest86+ included on the install disc, however it would freeze at startup. I did a bit of digging around, and found out that the version on the disc (v4.10) is not compatible with my CPU and Mobo, but the newest version (v4.20) is, so I've started a full scan with this version and will let you know the results when finished.

    I've run into compatibility issues during the install a fair amount. This isn't to be unexpected, as I just bought all the parts and pieced this brand-new server together last week. For the record, it's an Intel Sandy Bridge 2500K CPU with an Asus P8P67 Evo motherboard with the B3 Stepping and 16 GB of RAM. So pretty new. I configured it with 8 GB of swap, but the system never seems to use it. I'm starting to wonder if this newer architecture is relating to a few of my issues I have encountered over the last week.

    I did re-run avgscan with the System Monitor open with active graphs on CPU usage, Harddrive Usage, Memory (Total mem usage, swap, application, buffer, and cached), and Load Averages. Some graphs on a 0.5 sec refresh, some on 30 sec for longer trends as I didn't know if this test was going to last 5 min or 60. I also installed atop as suggested and monitored that as I went.

    The results give a bit of information. Essentially, the PC starts out with 0.9 GB memory used, 2.0 GB with buffered and cached worked in. You can tell when I start the scan. The memory usage is slow to climb for the first 10 minutes, mainly the cached and the total used with the application mem used staying constant around 1.0 GB. After the 10 min mark, the total memory usage and cached mem climbs fairly fast. At min 20, all 16 GB of mem is used (also confirmed by atop) however this is all due to cached mem, with the application mem using only 1.2 GB... so not back. This whole time the swap remains untouched. In this test, the mem was maxed out for another 10 to 15 min or so, and would occasionally dip a bit after a bit of garbage collection... and then the kernel crapped out again, and the server reset.

    So.... not sure if this tells much of a story, other than the memory is being used, but only for caching. So most likely to read-ahead files and such. I notice this same behavior when I transfer files via scp, which I mentioned in my first posting I also had noticed one such kernel failure.

    On another note.... this server is configured to use mdadm for linux software raid. Two drives in RAID 1 mirroring as the system drive, and 4 drives in RAID 5 as a data drive.... not sure if that makes a difference or not either. This is my first time using linux mdadm software raid.

    Thanks for the suggestions!

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: AVG Scan causing Kernel Failure

    On 2011-05-03 03:36, PsychoGTI wrote:
    > So.... not sure if this tells much of a story, other than the memory is
    > being used, but only for caching. So most likely to read-ahead files and
    > such. I notice this same behavior when I transfer files via scp, which I
    > mentioned in my first posting I also had noticed one such kernel
    > failure.


    Maybe the problem is not memory, but disk.

    The crash is sudden and fast, or slow?


    > On another note.... this server is configured to use mdadm for linux
    > software raid. Two drives in RAID 1 mirroring as the system drive, and 4
    > drives in RAID 5 as a data drive.... not sure if that makes a difference
    > or not either. This is my first time using linux mdadm software raid.


    Dunno, but perhaps you can try without, I mean, with a single disk or two.
    For learning if it is a problem.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: AVG Scan causing Kernel Failure

    On 05/03/2011 04:20 AM, Carlos E. R. wrote:
    >
    > Maybe the problem is not memory, but disk.
    >
    > The crash is sudden and fast, or slow?
    >

    [snip]
    > Dunno, but perhaps you can try without, I mean, with a single disk or two.
    > For learning if it is a problem.


    i agree...the memory use sounds normal..

    @PsychoGTI, you have not declared your experience/knowledge level in
    linux, so i throw out in case you are kinda new: though the climbing to
    near full memory use may sound bad when thought of in the way Windows
    uses RAM/swap, it sounds perfectly normal to me ().....EXCEPT for the
    crash, and i think it is probably a RAID problem..

    OR, maybe the kernel can't actually write to swap...certainly it should
    be able to, and if it tried and found it impossible to write it would go
    on an unpredictable path (i think) which might lead to either a kernel
    panic, or the error displayed....but, i've never seen the uncommanded
    restart (but, i've not see it all yet)

    so, @PsychoGTI i ask you to take a look at the logs.../var/log/messages
    recorded the event...each line begins with a date/time...zoom down to
    the time of any kernel restart and have a good look...find the place
    where it changes from all ok to going south, and copy paste that to
    paste.opensuse.org (please spin the time to keep from "1 Week" to "3
    Years"...maybe someone will be able to spot the exact cause of the restart..

    also, atop should have a log there somewhere (i've not used it in a
    while, so i don't remember its name or location [both should be
    learnable from its doc]) which might also give a clue..

    sorry, i can't help with RAID...never used it, too much trouble, too
    easy to mess up and too easy to make you feel all safe and secure (and
    lax on backup)..

    but, i *guess* if you were to unhook all of those drives, and (do as
    Carlos suggests) put in one drive and do a fresh install of 11.4 and let
    the install script choose the partitioning scheme (/, /home, /swap with
    ext4 for root and home) then i _guess_ this problem would be gone..

    by the way: if Carlos and i give conflicting advice you would be wise to
    always follow his! (i'm not a real guru)

    --
    CAVEAT: http://is.gd/bpoMD
    [openSUSE 11.3 + KDE4.5.5 + Thunderbird3.1.8 via NNTP]
    HACK Everything -> http://www.youtube.com/watch?v=j5b4CCe9pS8&NR=1

  10. #10

    Default Re: AVG Scan causing Kernel Failure

    PsychoGTI wrote:
    > I've run into compatibility issues during the install a fair amount.
    > This isn't to be unexpected, as I just bought all the parts and pieced
    > this brand-new server together last week. For the record, it's an Intel
    > Sandy Bridge 2500K CPU with an Asus P8P67 Evo motherboard with the B3
    > Stepping and 16 GB of RAM. So pretty new. I configured it with 8 GB of
    > swap, but the system never seems to use it. I'm starting to wonder if
    > this newer architecture is relating to a few of my issues I have
    > encountered over the last week.


    Hmm, I'm not sure why this thread claims the kernel failed? Is there any
    evidence of that? All I see so far is evidence of a hardware reboot.

    Anyway, given the newness of the h/w, what version of the kernel are you
    running? I'd try installing the latest stable kernel in case there have
    been recent bugfixes. I think there have been significant problems with
    Sandy Bridge but I don't follow hardware much.

    It's definitely also worth swapping hardware around as Carlos & DenverD
    have suggested.

    Cheers, Dave

Page 1 of 7 123 ... LastLast

Posting Permissions

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