← Back to team overview

kernel-packages team mailing list archive

[Bug 1382340] Re: “BUG: scheduling while atomic: nc/3622/0x00000101”

 

Looks like the issue is in the implementation of the netfilter hook
kernel module, as its not recommended to use GFP_KERNEL, and cannot
sleep in netfilter hooks, since the hookos  are run in interrupt context
(when the packet is received) by the net_rx_action softirq.  Instead
this issue is resolved using GFP_ATOMIC. I think this BUG can be closed.

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

Title:
  “BUG: scheduling while atomic: nc/3622/0x00000101”

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  "BUG: scheduling while atomic" ==> IMU this error possibly indicates
  that a process/kernel trying an operation which is attempting to sleep
  while in an un-interruptible state, which could result in a dead-lock
  condition. This issue is seen NOT frequently when loading a custom
  netfilter hook (.ko) on my box.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-32-generic 3.13.0-32.57
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.5
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  abelur     2054 F.... pulseaudio
   /dev/snd/controlC0:  abelur     2054 F.... pulseaudio
  CurrentDesktop: Unity
  Date: Fri Oct 17 09:59:09 2014
  InstallationDate: Installed on 2014-05-07 (162 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  MachineType: Dell Inc. Inspiron 5537
  ProcFB:
   0 inteldrmfb
   1 radeondrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-32-generic root=UUID=7be3bd48-774e-4ef9-aab1-69781ae2ad9f ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-32-generic N/A
   linux-backports-modules-3.13.0-32-generic  N/A
   linux-firmware                             1.127.7
  SourcePackage: linux
  StagingDrivers: rts5139
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/12/2013
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: A07
  dmi.board.name: 0FTDJN
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 8
  dmi.chassis.vendor: Dell Inc.
  dmi.chassis.version: A07
  dmi.modalias: dmi:bvnDellInc.:bvrA07:bd11/12/2013:svnDellInc.:pnInspiron5537:pvrA07:rvnDellInc.:rn0FTDJN:rvrA00:cvnDellInc.:ct8:cvrA07:
  dmi.product.name: Inspiron 5537
  dmi.product.version: A07
  dmi.sys.vendor: Dell Inc.

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


References