← Back to team overview

kernel-packages team mailing list archive

[Bug 1465322] Re: regression: "df: `/sys/kernel/debug': Function not implemented" with 3.2.0-85.122

 

Here's some more detail:

running 'strace df' shows the following:

  statfs64("/sys/kernel/debug", 84, 0xbfddc6bc) = -1 ENOSYS (Function
not implemented)

A quick test shows that adding '.statfs = simple_statfs' in the debugfs_super_operations struct fixes the problem, but I'm not sure
that's the right thing to do.

(This has been reported upstream:
http://thread.gmane.org/gmane.linux.kernel.stable/134708/focus=134588)

-- 
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/1465322

Title:
  regression: "df: `/sys/kernel/debug': Function not implemented" with
  3.2.0-85.122

Status in linux package in Ubuntu:
  In Progress

Bug description:
  $ cat /proc/version_signature
  Ubuntu 3.2.0-84.121-generic 3.2.68

  $ df | head -3
  Filesystem     1K-blocks    Used Available Use% Mounted on
  /dev/vda1        7481832 4262872   2838904  61% /
  udev              371920       4    371916   1% /dev

  $ cat /proc/version_signature
  Ubuntu 3.2.0-85.122-generic 3.2.69

  $ df | head -3
  df: `/sys/kernel/debug': Function not implemented
  Filesystem     1K-blocks    Used Available Use% Mounted on
  /dev/vda1        7481832 4263012   2838764  61% /
  udev              371920       4    371916   1% /dev

  This is confirmed in an amd64 VM and on an amd64 system. It doesn't
  make a difference if I use sudo.

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


References