[Pkg-clamav-devel] Bug#590103: clamav: does not finish its scan -- gives a "pread fail" message instead.

Mark Grieveson dg135 at torfree.net
Fri Jul 23 15:00:54 UTC 2010


Package: clamav
Version: 0.96.1+dfsg-1~volatile1
Severity: normal

Since the last upgrade from debian-volatile, it does not complete its 
scan.  Instead, it gives issues when in the /sys/devices folder.  For 
example:
Scanning /sys/devices/pci0000:00/0000:00:00.0/local_cpus
LibClamAV Warning: fmap_readpage: pread fail: asked for 4093 bytes @ 
offset 3, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/local_cpulist
LibClamAV Warning: fmap_readpage: pread fail: asked for 4092 bytes @ 
offset 4, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/modalias
LibClamAV Warning: fmap_readpage: pread fail: asked for 4042 bytes @ 
offset 54, 
got 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/enable
LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ 
offset 2, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/broken_parity_status
LibClamAV Warning: fmap_readpage: pread fail: asked for 4094 bytes @ 
offset 2, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/msi_bus
LibClamAV Warning: fmap_readpage: pread fail: asked for 4096 bytes @ 
offset 0, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/power/wakeup
LibClamAV Warning: fmap_readpage: pread fail: asked for 4095 bytes @ 
offset 1, g
ot 0
Scanning /sys/devices/pci0000:00/0000:00:00.0/config
Scanning /sys/devices/pci0000:00/0000:00:00.0/resource0

-- Package-specific info:
--- configuration ---
#Automatically Generated by clamav-base postinst
#To reconfigure clamd run #dpkg-reconfigure clamav-base
#Please read /usr/share/doc/clamav-base/README.Debian.gz for details
LocalSocket /var/run/clamav/clamd.ctl
FixStaleSocket true
LocalSocketGroup clamav
LocalSocketMode 666
TemporaryDirectory /tmp
User clamav
AllowSupplementaryGroups true
ScanMail true
ScanArchive true
ArchiveBlockEncrypted false
MaxDirectoryRecursion 15
FollowDirectorySymlinks false
FollowFileSymlinks false
ReadTimeout 180
MaxThreads 12
MaxConnectionQueueLength 15
LogSyslog false
LogFacility LOG_LOCAL6
LogClean false
LogVerbose false
PidFile /var/run/clamav/clamd.pid
DatabaseDirectory /var/lib/clamav
SelfCheck 3600
Foreground false
Debug false
ScanPE true
ScanOLE2 true
ScanHTML true
DetectBrokenExecutables false
ExitOnOOM false
LeaveTemporaryFiles false
AlgorithmicDetection true
ScanELF true
IdleTimeout 30
PhishingSignatures true
PhishingScanURLs true
PhishingAlwaysBlockSSLMismatch false
PhishingAlwaysBlockCloak false
DetectPUA false
ScanPartialMessages false
HeuristicScanPrecedence false
StructuredDataDetection false
CommandReadTimeout 5
SendBufTimeout 200
MaxQueue 100
StreamMaxLength 10M
LogFile /var/log/clamav/clamav.log
LogTime true
LogFileUnlock false
LogFileMaxSize 0
Bytecode true
BytecodeSecurity TrustSigned
BytecodeTimeout 60000
OfficialDatabaseOnly false
CrossFilesystems true
# Automatically created by the clamav-freshclam postinst
# Comments will get lost when you reconfigure the clamav-freshclam package

DatabaseOwner clamav
UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose false
LogSyslog false
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogTime no
Foreground false
Debug false
MaxAttempts 5
DatabaseDirectory /var/lib/clamav/
DNSDatabaseInfo current.cvd.clamav.net
AllowSupplementaryGroups false
PidFile /var/run/clamav/freshclam.pid
ConnectTimeout 30
ReceiveTimeout 30
TestDatabases yes
ScriptedUpdates yes
CompressLocalDatabase no
Bytecode true
# Check for new database 24 times a day
Checks 24
DatabaseMirror db.local.clamav.net
DatabaseMirror database.clamav.net
DatabaseMirror db.ca.clamav.net

--- data dir ---
total 61704
-rw-r--r-- 1 clamav clamav    81920 2010-07-21 17:21 bytecode.cld
-rw-r--r-- 1 clamav clamav  6341632 2010-07-21 17:21 daily.cld
-rw-r--r-- 1 root   root          4 2010-07-16 05:32 interface
-rw-r--r-- 1 clamav clamav 56671744 2010-02-26 00:24 main.cld
-rw------- 1 clamav clamav      676 2010-07-21 17:21 mirrors.dat

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages clamav depends on:
ii  clamav-freshclam 0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - viru
ii  libc6            2.10.2-2                GNU C Library: Shared libraries
ii  libclamav6       0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - libr
ii  zlib1g           1:1.2.3.3.dfsg-12       compression library - runtime

Versions of packages clamav recommends:
ii  clamav-base      0.96.1+dfsg-1~volatile1 anti-virus utility for Unix - base

Versions of packages clamav suggests:
pn  clamav-docs                   <none>     (no description available)

-- no debconf information





More information about the Pkg-clamav-devel mailing list