On Monday, January 27, 2014 10:53:22 PM Craig Small wrote: > On Sat, Jan 25, 2014 at 09:20:19AM -0800, Daniel Schepler wrote: > > FAIL: vmstat partition (using sda1) > > Can you send me what > grep sda1 /proc/diskstats > shows? Also > vmstat -p sda1
>From the normal system: daniel@frobozz:/var/cache/pbuildd$ grep sda1 /proc/diskstats 8 1 sda1 2189295 302497 83392458 34296628 756434 1370770 85185840 255252440 0 21140776 289755204 daniel@frobozz:/var/cache/pbuildd$ vmstat -p sda1 sda1 reads read sectors writes requested writes 2189295 83392458 756459 85186720 >From inside a pbuilder login chroot: pbuildd@frobozz:~/procps-3.3.9$ grep sda1 /proc/diskstats 8 1 sda1 2189661 302528 83415130 34303856 757599 1371888 85230456 255325520 0 21146580 289835508 pbuildd@frobozz:~/procps-3.3.9$ ./vmstat -p sda1 Segmentation fault gdb backtrace of the segfault: pbuildd@frobozz:~/procps-3.3.9$ LD_LIBRARY_PATH=`pwd`/proc/.libs gdb ./.libs/vmstat GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1) Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /tmp/buildd/procps-3.3.9/.libs/vmstat...done. (gdb) run -p sda1 Starting program: /tmp/buildd/procps-3.3.9/./.libs/vmstat -p sda1 warning: Could not load shared library symbols for linux-vdso.so.1. Do you need "set solib-search-path" or "set sysroot"? Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc2d63 in getdiskstat (disks=disks@entry=0x7fffffffeb08, partitions=partitions@entry=0x7fffffffeb10) at sysinfo.c:942 942 (*disks)[cDisk-1].partitions++; (gdb) bt #0 0x00007ffff7bc2d63 in getdiskstat (disks=disks@entry=0x7fffffffeb08, partitions=partitions@entry=0x7fffffffeb10) at sysinfo.c:942 #1 0x000000000040187a in diskpartition_format ( partition_name=0x7fffffffee95 "sda1") at vmstat.c:405 #2 main (argc=<optimized out>, argv=0x7fffffffec78) at vmstat.c:860 -- Daniel Schepler -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org