← Back to team overview

kernel-packages team mailing list archive

[Bug 1190120] Re: Kernel Oops - unable to handle kernel NULL pointer dereference; after unbind of a PCI device

 

Matt Bruzek, could you please confirm this issue exists with the latest
development release of Ubuntu? ISO images are available from
http://cdimage.ubuntu.com/daily-live/current/ . If the issue remains,
could you please run the following command in the development release
from a Terminal (Applications->Accessories->Terminal), as it will
automatically gather and attach updated debug information to this
report:

apport-collect -p linux <replace-with-bug-number>


** Tags added: bios-outdated-1.60

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

** Tags added: needs-saucy-test regression-potential

** Tags removed: kernel-fixed-upstream
** Tags added: kernel-fixed-upstream-v3.10-rc5

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

Title:
  Kernel Oops - unable to handle kernel NULL pointer dereference; after
  unbind of a PCI device

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  I am trying to unbind a PCI device I received a kernel Oops.

  I was following instructions described in this KVM document:
  http://www.linux-kvm.org/page/How_to_assign_devices_with_VT-d_in_KVM

  When I get to the unbind step:

  echo 0000:01:00.0 > /sys/bus/pci/devices/0000:01:00.0/driver/unbind

  I get a kernel Oops.  Please note at this point I am not running the
  kvm guest, just trying to unbind the PCI device.  I do have VT-d
  enabled in the bios and a processor that supports IOMMU.

  This problem is repeatable and appears to be isolated to the unbind
  command.

  Ubuntu 3.8.0-23.34-generic 3.8.11

  01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK106 [GeForce GTX 
  660] [10de:11c0] (rev a1) (prog-if 00 [VGA controller])
  	Subsystem: eVga.com. Corp. Device [3842:2660]
  	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Step
  ping- SERR- FastB2B- DisINTx-
  	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- 
  <MAbort- >SERR- <PERR- INTx-
  	Latency: 0, Cache Line Size: 64 bytes
  	Interrupt: pin A routed to IRQ 16
  	Region 0: Memory at ea000000 (32-bit, non-prefetchable) [size=16M]
  	Region 1: Memory at e0000000 (64-bit, prefetchable) [size=128M]
  	Region 3: Memory at e8000000 (64-bit, prefetchable) [size=32M]
  	Region 5: I/O ports at e000 [size=128]
  	Expansion ROM at eb000000 [disabled] [size=512K]
  	Capabilities: [60] Power Management version 3
  		Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot
  -,D3cold-)
  		Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
  	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
  		Address: 0000000000000000  Data: 0000
  	Capabilities: [78] Express (v2) Endpoint, MSI 00
  		DevCap:	MaxPayload 256 bytes, PhantFunc 0, Latency L0s unlimited
  , L1 <64us
  			ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
  		DevCtl:	Report errors: Correctable- Non-Fatal- Fatal- Unsupporte
  d-
  			RlxdOrd- ExtTag+ PhantFunc- AuxPwr- NoSnoop+
  			MaxPayload 256 bytes, MaxReadReq 512 bytes
  		DevSta:	CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPe
  nd-
  		LnkCap:	Port #0, Speed 8GT/s, Width x16, ASPM L0s L1, Latency L0
   <512ns, L1 <4us
  			ClockPM+ Surprise- LLActRep- BwNot-
  		LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
  			ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
  		LnkSta:	Speed 2.5GT/s, Width x16, TrErr- Train- SlotClk+ DLActiv
  e- BWMgmt- ABWMgmt-
  		DevCap2: Completion Timeout: Range AB, TimeoutDis+
  		DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-
  		LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-, S
  electable De-emphasis: -6dB
  			 Transmit Margin: Normal Operating Range, EnterModifiedC
  ompliance- ComplianceSOS-
  			 Compliance De-emphasis: -6dB
  		LnkSta2: Current De-emphasis Level: -3.5dB, EqualizationComplete
  +, EqualizationPhase1+
  			 EqualizationPhase2+, EqualizationPhase3+, LinkEqualizat
  ionRequest+
  	Capabilities: [b4] Vendor Specific Information: Len=14 <?>
  	Capabilities: [100 v1] Virtual Channel
  		Caps:	LPEVC=0 RefClk=100ns PATEntryBits=1
  		Arb:	Fixed- WRR32- WRR64- WRR128-
  		Ctrl:	ArbSelect=Fixed
  		Status:	InProgress-
  		VC0:	Caps:	PATOffset=00 MaxTimeSlots=1 RejSnoopTrans-
  			Arb:	Fixed- WRR32- WRR64- WRR128- TWRR128- WRR256-
  			Ctrl:	Enable+ ID=0 ArbSelect=Fixed TC/VC=ff
  			Status:	NegoPending- InProgress-
  	Capabilities: [128 v1] Power Budgeting <?>
  	Capabilities: [600 v1] Vendor Specific Information: ID=0001 Rev=1 Len=02
  4 <?>
  	Capabilities: [900 v1] #19
  	Kernel driver in use: nouveau

  ProblemType: Bug
  DistroRelease: Ubuntu 13.04
  Package: linux-image-3.8.0-23-generic 3.8.0-23.34
  ProcVersionSignature: Ubuntu 3.8.0-23.34-generic 3.8.11
  Uname: Linux 3.8.0-23-generic x86_64
  ApportVersion: 2.9.2-0ubuntu8.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  bruzer     2169 F.... pulseaudio
   /dev/snd/controlC1:  bruzer     2169 F.... pulseaudio
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Date: Tue Jun 11 21:43:14 2013
  HibernationDevice: RESUME=UUID=4b6b5242-2b8c-46e6-9d91-3168bcee1249
  InstallationDate: Installed on 2013-06-07 (4 days ago)
  InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
   
   virbr0    no wireless extensions.
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  MarkForUpload: True
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   0 inteldrmfb
   1 nouveaufb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.8.0-23-generic root=UUID=3ee858ac-5064-4c88-b187-2629fedf6f9c ro intel_iommu=on quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.8.0-23-generic N/A
   linux-backports-modules-3.8.0-23-generic  N/A
   linux-firmware                            1.106
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 05/03/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.20
  dmi.board.name: Z87M Extreme4
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd05/03/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnZ87MExtreme4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

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