← Back to team overview

kernel-packages team mailing list archive

[Bug 1232473] Re: depmod fills disk to 100% with invisible modules.ccwmap

 

I'm running 12.04.  When I ran update manager today it tried to install kernel 3.8.0-33 which very quickly filled the hdd to 100% and this particular file had become 35G:
/lib/modules/3.8.0-33-generic/modules.ccwmap

in htop I saw that depmod was using 100% of one of the cores.

I've since deleted that file and apt-get purged everything related to
this kernel.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1232473

Title:
  depmod fills disk to 100% with invisible modules.ccwmap

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  I ran update manager, it was installing a new kernel
  (3.2.0-54-generic). Then an error dialog/message popped up that the
  disk (root partition) was full, the dialog had two buttons (examine -
  starts baobab and skip/cancel).

  At first I tried to find any big files (du didn't help, showed that
  only 8GB of 20GB was used). Long story short, googled a bit about why
  df and du might disagree and someone recommended lsof | grep deleted.

  depmod (i think) had created a file and deleted it then kept writing
  to it filling up my root partition. In the end I had to kill it,
  because it just kept writing to it even when I zeroed out that deleted
  file.

  Here's a log (shortened) of what I typed in the console:

  root@localhost:/# lsof | grep deleted | grep depmod
  depmod     8673       root    3w      REG                8,1 14525296640     676388 /lib/modules/3.2.0-54-generic/modules.ccwmap (deleted)

  root@localhost:/# cd /proc/8673/fd

  root@localhost:/proc/8673/fd# ll -h | grep ccwmap
  l-wx------ 1 root root 64 sep 28 16:52 3 -> /lib/modules/3.2.0-54-generic/modules.ccwmap (deleted)

  root@localhost:/proc/8673/fd# > 3

  root@localhost:/proc/8673/fd# df -h | grep sda1
  /dev/sda1               22G  9,3G   12G  45% /

  root@localhost:/proc/8673/fd# lsof | grep deleted | grep depmod
  depmod     8673       root    3w      REG                8,1 27424661504     676388 /lib/modules/3.2.0-54-generic/modules.ccwmap (deleted)

  root@localhost:/proc/8673/fd# df -h | grep sda1
  /dev/sda1               22G   22G     0 100% /

  root@localhost:/proc/8673/fd# > 3

  root@localhost:/proc/8673/fd# df -h | grep sda1
  /dev/sda1               22G  8,8G   13G  42% /

  root@localhost:/proc/8673/fd# df -h | grep sda1
  /dev/sda1               22G   11G   11G  49% /

  root@localhost:/proc/8673/fd# pkill depmod

  Seems I'm not the only one who's seen this issue with kernel updates:
  http://askubuntu.com/questions/157740/updating-to-linux-image-3-2-0-26
  -generic-occupies-all-disk-space

  ---
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.4
  Architecture: amd64
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  andris     2142 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf1c00000 irq 50'
     Mixer name	: 'Intel CougarPoint HDMI'
     Components	: 'HDA:10ec0269,10280446,00100100 HDA:80862805,80860101,00100000'
     Controls      : 25
     Simple ctrls  : 12
  DistroRelease: Ubuntu 12.04
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MachineType: Dell Inc. Dell System XPS 15Z
  MarkForUpload: True
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-53-generic root=UUID=9543673d-3cae-4de0-ad02-31f9d0ae1614 ro quiet splash elevator=noop vt.handoff=7
  ProcVersionSignature: Ubuntu 3.2.0-53.81-generic 3.2.50
  RelatedPackageVersions:
   linux-restricted-modules-3.2.0-53-generic N/A
   linux-backports-modules-3.2.0-53-generic  N/A
   linux-firmware                            1.79.6
  StagingDrivers: mei
  Tags:  precise running-unity staging
  Uname: Linux 3.2.0-53-generic x86_64
  UpgradeStatus: Upgraded to precise on 2012-06-02 (482 days ago)
  UserGroups: adm admin cdrom dialout fuse lpadmin plugdev sambashare vboxusers wireshark
  dmi.bios.date: 08/11/2011
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A05
  dmi.board.name: 0MFNCV
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: 0.1
  dmi.modalias: dmi:bvnDellInc.:bvrA05:bd08/11/2011:svnDellInc.:pnDellSystemXPS15Z:pvr:rvnDellInc.:rn0MFNCV:rvrA00:cvnDellInc.:ct8:cvr0.1:
  dmi.product.name: Dell System XPS 15Z
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1232473/+subscriptions


References