kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #28270
[Bug 1190120] Re: Unbind not working as expected
** Changed in: linux (Ubuntu)
Status: Incomplete => Confirmed
--
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:
Unbind not working as expected
Status in “linux” package in Ubuntu:
Confirmed
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
In Raring I got 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.
However, in Saucy, I do not get a kernel oops, but executing unbind as
root puts back into non-root user account. After going back as root, I
am not able to perform the next step to bind the device.
root@ubuntu:/home/ubuntu# echo 0000:01:00.0 > /sys/bus/pci/drivers/pci-stub/bind
bash: echo: write error: No such device
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.
---
ApportVersion: 2.12.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.336
DistroRelease: Ubuntu 13.10
IwConfig:
eth0 no wireless extensions.
lo no wireless extensions.
LiveMediaBuild: Ubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130904)
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
MarkForUpload: True
Package: linux (not installed)
ProcFB: 1 inteldrmfb
ProcKernelCmdLine: file=/cdrom/preseed/hostname.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
linux-restricted-modules-3.11.0-4-generic N/A
linux-backports-modules-3.11.0-4-generic N/A
linux-firmware 1.113
RfKill:
Tags: saucy
Uname: Linux 3.11.0-4-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 07/05/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.60
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.60:bd07/05/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