Subject: linux-image-2.6.26: copying /proc/*/pagemap leads to resource
consumption because of uninitialized struct
Package: linux-image-2.6.26-1-amd64
Version: 2.6.26-10
Severity: normal
File: linux-image-2.6.26
*** Please type your report below this line ***
The VMware support script copies various files from /proc to the report
directory. Copying
/proc/*/pagemap takes forever and produces a large file, probably filled with
garbage.
Steps to reproduce:
# cp /proc/self/pagemap /tmp/self.pagemap
I found a LKML thread regarding the problem:
http://lkml.indiana.edu/hypermail/linux/kernel/0807.2/0262.html
-- Package-specific info:
** Version:
Linux version 2.6.26-1-amd64 (Debian 2.6.26-10) ([EMAIL PROTECTED]) (gcc
version 4.1.3 20080623 (prerelease) (Debian 4.1.2-23)) #1 SMP Sat Nov 8
18:25:23 UTC 2008
** Command line:
root=/dev/sda1 ro quiet
** Not tainted
** Kernel log:
[4.816513] sd 2:0:0:0: [sdb] 312573616 512-byte hardware sectors (160038 MB)
[4.823053] sd 2:0:0:0: [sdb] Write Protect is off
[4.823053] sd 2:0:0:0: [sdb] Mode Sense: 00 56 00 00
[4.838462] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[4.887176] sd 2:0:0:0: [sdb] 312573616 512-byte hardware sectors (160038 MB)
[4.895176] sd 2:0:0:0: [sdb] Write Protect is off
[4.895176] sd 2:0:0:0: [sdb] Mode Sense: 00 56 00 00
[4.911586] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[4.911586] sdb: unknown partition table
[4.943327] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[4.943327] sd 2:0:0:0: Attached scsi generic sg3 type 0
[4.943327] ACPI: PCI Interrupt :00:1f.5[C] - GSI 18 (level, low) -
IRQ 18
[4.943327] ata_piix :00:1f.5: MAP [ P0 -- P1 -- ]
[5.156285] PCI: Setting latency timer of device :00:1f.5 to 64
[5.160267] scsi3 : ata_piix
[5.160267] scsi4 : ata_piix
[5.160766] ata3: SATA max UDMA/133 cmd 0x1c68 ctl 0x1c5c bmdma 0x1c30 irq 18
[5.160766] ata4: SATA max UDMA/133 cmd 0x1c60 ctl 0x1c58 bmdma 0x1c38 irq 18
[5.508787] ata3: SATA link down (SStatus 0 SControl 300)
[5.836785] ata4: SATA link down (SStatus 0 SControl 300)
[6.428775] Uniform Multi-Platform E-IDE driver
[6.428775] ide: Assuming 33MHz system bus speed for PIO modes; override
with idebus=xx
[6.442692] Driver 'sr' needs updating - please use bus_type methods
[6.452995] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda
tray
[6.452999] Uniform CD-ROM driver Revision: 3.20
[6.456539] sr 1:0:0:0: Attached scsi CD-ROM sr0
[6.743231] kjournald starting. Commit interval 5 seconds
[6.746589] EXT3-fs: mounted filesystem with ordered data mode.
[8.98] udevd version 125 started
[9.236855] input: Power Button (FF) as /class/input/input2
[9.249569] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[9.283521] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[9.307342] ACPI: Power Button (FF) [PWRF]
[9.307426] input: Power Button (CM) as /class/input/input3
[9.373793] ACPI: Power Button (CM) [PWRB]
[9.413194] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.03 (30-Apr-2008)
[9.413194] iTCO_wdt: Found a ICH9R TCO device (Version=2, TCOBASE=0x1060)
[9.413194] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[9.426292] i801_smbus :00:1f.3: enabling device (0001 - 0003)
[9.426292] ACPI: PCI Interrupt :00:1f.3[B] - GSI 17 (level, low) -
IRQ 17
[9.494924] input: PC Speaker as /class/input/input4
[9.550176] pnp: the driver 'parport_pc' has been registered
[9.550195] parport_pc 00:0b: reported by Plug and Play ACPI
[9.550295] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
[9.608522] Error: Driver 'pcspkr' is already registered, aborting...
[9.654145] parport_pc 00:0b: driver attached
[ 11.184238] Adding 1951888k swap on /dev/sda2. Priority:-1 extents:1
across:1951888k
[ 11.992962] EXT3 FS on sda1, internal journal
[ 12.637921] loop: module loaded
[ 14.699365] NET: Registered protocol family 10
[ 14.699365] lo: Disabled Privacy Extensions
[ 14.699365] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.961559] eth0: Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
[ 15.961564] eth0: 10/100 speed: disabling TSO
[ 15.963056] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 18.132703] /dev/vmmon[2734]: Module vmmon: registered with major=10
minor=165
[ 18.132703] /dev/vmmon[2734]: Initial HV check: anyNotCapable=0
anyUnlocked=0 anyEnabled=1 anyDisabled=0
[ 18.132703] /dev/vmmon[2734]: HV check: anyNotCapable=0 anyUnlocked=0
anyEnabled=1 anyDisabled=0
[ 18.132703] /dev/vmmon[2734]: Module vmmon: initialized
[ 18.208149] /dev/vmci[2748]: VMCI: Driver initialized.
[ 18.208149] /dev/vmci[2748]: Module vmci: registered with major=10 minor=60
[ 18.208149] /dev/vmci[2748]: Module vmci: initialized
[ 18.583719]