[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#409733: kernel-source-2.6.8: large numbers of __find_get_block_slow() errors



Package: kernel-source-2.6.8
Version: 2.6.8-16sarge6
Severity: normal

*** Please type your report below this line ***

Hi,
Hope I'm reporting this to the correct place...

This is a straight sarge system. Hardware info below.

The problem I observe is that -
  when /etc/cron.daily/sysklogd runs,
  /var sometimes fills up,
  because the /var/log/syslog accumulates tens of thousands of errors like:

  Feb  5 11:18:56 myhost kernel: __find_get_block_slow() failed.
  block=204803, b_blocknr=18446744073709551615
  Feb  5 11:18:56 myhost kernel: b_state=0x00000000, b_size=1024
  Feb  5 11:18:56 myhost kernel: device blocksize: 1024
  Feb  5 11:18:56 myhost kernel: 4
  Feb  5 11:18:56 myhost kernel: device blocksize: 1024

Possibly other things trigger this as well but certainly running sysklogd
does; the errors are correlated with the time /etc/cron.daily runs, and
I was able to produce them by running each script in /etc/cron.daily in turn - when I hit sysklogd, the errors appeared.

I thought this could be CVE-2006-5757,
see for example the change log for http://lwn.net/Alerts/209028/,
and also SUSE-SA:2006:079 http://lwn.net/Alerts/215225/
however I don't see how I could be accessing an ISO9660 filesystem from
sysklogd, as far as I can tell it's only accessing and ext2 fs.


'df' output -
# df -text2
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1               241116    158361     70307  70% /
/dev/sda5              2909956   2433204    326548  89% /usr
/dev/sda6               964756    964752         0 100% /var
/dev/sda7               964756     16612    898348   2% /tmp
# df -text3
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda8            144335992 100427340  36458512  74% /data1
/dev/sdb1            153794688 129894164  16088120  89% /data2

Typescript of running sysklogd -
# ------------------------- start -------------------------------------
# cd /etc/cron.daily ; sh -vx sysklogd |grep -v ^#

test -x /usr/sbin/syslogd-listfiles || exit 0
+ test -x /usr/sbin/syslogd-listfiles
test -x /sbin/syslogd || exit 0
+ test -x /sbin/syslogd
test -f /usr/share/sysklogd/dummy || exit 0
+ test -f /usr/share/sysklogd/dummy

set -e
+ set -e

cd /var/log
+ cd /var/log
for LOG in `syslogd-listfiles`
do
   if [ -s $LOG ]; then
         savelog -g adm -m 640 -u root -c 7 $LOG >/dev/null
   fi
done
syslogd-listfiles
++ syslogd-listfiles
+ '[' -s /var/log/messages ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/messages
+ '[' -s /var/log/syslog ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/syslog
+ '[' -s /var/log/kern.log ']'
+ savelog -g adm -m 640 -u root -c 7 /var/log/kern.log


for LOG in `syslogd-listfiles --auth`
do
   if [ -f $LOG ]; then
       chown root:adm $LOG
       chmod o-rwx $LOG
   fi
done
syslogd-listfiles --auth
++ syslogd-listfiles --auth
+ '[' -f /var/log/auth.log ']'
+ chown root:adm /var/log/auth.log
+ chmod o-rwx /var/log/auth.log

/etc/init.d/sysklogd reload-or-restart > /dev/null
+ /etc/init.d/sysklogd reload-or-restart
# ------------------------- end -------------------------------------


Hardware information

# (lspci -n; lspci) |sort
0000:00:00.0 0600: 8086:2570 (rev 02)
0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
0000:00:01.0 0604: 8086:2571 (rev 02)
0000:00:01.0 PCI bridge: Intel Corp. 82865G/PE/P PCI to AGP Controller (rev 02)
0000:00:1d.0 0c03: 8086:24d2 (rev 02)
0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02)
0000:00:1d.1 0c03: 8086:24d4 (rev 02)
0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02)
0000:00:1d.2 0c03: 8086:24d7 (rev 02)
0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02)
0000:00:1d.3 0c03: 8086:24de (rev 02)
0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02)
0000:00:1d.7 0c03: 8086:24dd (rev 02)
0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 0604: 8086:244e (rev c2)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 0601: 8086:24d0 (rev 02)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02)
0000:00:1f.1 0101: 8086:24db (rev 02)
0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)
0000:00:1f.2 0101: 8086:24d1 (rev 02)
0000:00:1f.2 IDE interface: Intel Corp. 82801EB (ICH5) Serial ATA 150 Storage Controller (rev 02)
0000:00:1f.3 0c05: 8086:24d3 (rev 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
0000:00:1f.5 0401: 8086:24d5 (rev 02)
0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
0000:01:00.0 0300: 10de:0322 (rev a1)
0000:01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
0000:02:0c.0 0200: 8086:100e (rev 02)
0000:02:0c.0 Ethernet controller: Intel Corp. 82540EM Gigabit Ethernet Controller (rev 02)

# lsmod
Module                  Size  Used by
nfsd 201344 8 exportfs 6400 1 nfsd autofs4 19748 17 ipv6 265124 18 nfs 193952 4 lockd 63944 3 nfsd,nfs
sunrpc                153156  9 nfsd,nfs,lockd
af_packet 22600 2 floppy 61200 0 i810_audio 37588 0 ac97_codec 18956 1 i810_audio pci_hotplug 34640 0 snd_intel8x0 36460 0 snd_ac97_codec 69988 1 snd_intel8x0
snd_pcm                98728  1 snd_intel8x0
snd_timer              25732  1 snd_pcm
snd_page_alloc         11752  2 snd_intel8x0,snd_pcm
gameport                4704  1 snd_intel8x0
snd_mpu401_uart         7968  1 snd_intel8x0
snd_rawmidi            25124  1 snd_mpu401_uart
snd_seq_device          8200  1 snd_rawmidi
snd                    57156  7
snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore              10272  2 i810_audio,snd
piix 13440 1 capability 4520 0 commoncap 7232 1 capability nvidia 3923228 0 ide_cd 42656 0 cdrom 40732 1 ide_cd ide_generic 1408 0 ext2 71912 4 ext3 127432 2 jbd 62616 1 ext3
mbcache                 9348  2 ext2,ext3
sd_mod 21728 9 usb_storage 69056 0 ide_core 139940 4 piix,ide_cd,ide_generic,usb_storage rtc 12760 0 pcspkr 3592 0 parport_pc 36900 0 parport 41800 1 parport_pc uhci_hcd 33136 0 intel_mch_agp 10608 0 intel_agp 22816 1 agpgart 34664 3 nvidia,intel_mch_agp,intel_agp tsdev 7392 0 mousedev 10476 0 joydev 9984 0 evdev 9600 0 usbhid 32224 0 ehci_hcd 32004 0 usbcore 119044 6 usb_storage,uhci_hcd,usbhid,ehci_hcd dm_mod 59804 0 e1000 85924 0 ata_piix 8132 7 libata 41700 1 ata_piix
scsi_mod              125228  3 sd_mod,usb_storage,libata
unix 28788 54 font 8320 0 vesafb 6656 0 cfbcopyarea 3872 1 vesafb
cfbimgblt               3040  1 vesafb
cfbfillrect             3776  1 vesafb



-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kernel-source-2.6.8 depends on:
ii  binutils                      2.15-6     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-7    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities
ii  fileutils                     5.2.1-2    The GNU file management utilities

-- no debconf information



Reply to: