[Kernel-packages] [Bug 1849348] Re: Greater than linux 5.4-rc4 headers -- Unable to build simple kernel module

2020-01-29 Thread Myna Mefirst
Folks,
Thanks to @dacorsa and his post on the virtualbox forum, here is the 
"workaround" for the issue (this is to build the VirtualBox modules. different 
modules may be different)

1. Install gcc-8

sudo apt install gcc-8 g++-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 --slave 
/usr/bin/g++ g++ /usr/bin/g++-8 --slave /usr/bin/gcov gcov /usr/bin/gcov-8


if you now run

gcc --version

you will see that you have v8.

2. Next, issue the vboxconfig command:

sudo /sbin/vboxconfig


and voila. No need to recompile the kernel or anything. vbox started right 
after that. I am on kernel 5.5.0

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

Title:
  Greater than linux 5.4-rc4 headers -- Unable to build simple kernel
  module

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Cannot build a kernel module, errors in Linux headers using the
  current RC4 (also tried RC3, and daily) mainline kernel packages from
  http://kernel.ubuntu.com/~kernel-ppa/mainline

  
  Am able to build against a 5.4-rc4 kernel level directly from upstream kernel 
git repo (on a different platform).

  To recreate error:

  Install linux headers, etc from current 5.4 RC.  (used 5.4.0-050400rc4
  dated 10/20 for this test)

  --[/tmp/builderr/Makefile]--

  EXTRA_CFLAGS +=

  obj-m += conftest.o

  -- [EOF] --

  --[/tmp/builderr/conftest.c]--

  #include 
  void conftest(void)
  {

  }
  MODULE_LICENSE("GPL-2");

  -- [EOF] --

  Command:

  make -C /lib/modules/5.4.0-050400rc4-generic/build M=/tmp/builderr/
  V=2 &> make_err.log

  
  make.log is attached.

  
  Expected output (using above Makefile and conftest.c, performed a build on a 
system with 4.15.0-66 linux packages installed):

  -- [expected output] --

  make -C /lib/modules/4.15.0-66-generic/build/ M=/tmp/builderr
  make: Entering directory '/usr/src/linux-headers-4.15.0-66-generic'
CC [M]  /tmp/builderr/conftest.o
Building modules, stage 2.
MODPOST 1 modules
CC  /tmp/builderr/conftest.mod.o
LD [M]  /tmp/builderr/conftest.ko
  make: Leaving directory '/usr/src/linux-headers-4.15.0-66-generic'

  

  
  = 
  lsb_release -rd
  Description:  Ubuntu 18.04.3 LTS
  Release:  18.04

  
  uname -a
  Linux ubuntu_base 5.4.0-050400rc4-generic #201910202130 SMP Sun Oct 20 
21:32:54 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  
  dpkg -l | grep "linux\-[a-z]*\-"
  ii  linux-headers-5.4.0-050400rc45.4.0-050400rc4.201910202130 
  all  Header files related to Linux kernel version 5.4.0
  ii  linux-headers-5.4.0-050400rc4-generic5.4.0-050400rc4.201910202130 
  amd64Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
  ii  linux-image-unsigned-5.4.0-050400rc4-generic 5.4.0-050400rc4.201910202130 
  amd64Linux kernel image for version 5.4.0 on 64 bit x86 SMP
  ri  linux-libc-dev:amd64 4.15.0-65.74 
  amd64Linux Kernel Headers for development
  ii  linux-modules-5.4.0-050400rc4-generic5.4.0-050400rc4.201910202130 
  amd64Linux kernel extra modules for version 5.4.0 on 64 bit x86 
SMP

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1849348] Re: linux 5.4-rc4 Unable to build simple kernel module

2020-01-27 Thread Myna Mefirst
Folks, Just as an update, this is affecting anyone that wants to use
VirtualBox with kernel 5.4 and 5.5, when it is just downloaded from the
kernel repository.

You can see more activity at
https://forums.virtualbox.org/viewtopic.php?f=7=96297. Virtualbox
maintainers have also confirmed the above and closed the bug as it is
not something they control. See https://www.virtualbox.org/ticket/19244
for their response.

I am not sure if there is a different place to post this to get other
visibility, as the header of this report mentions an RC build, but this
is happening in any released 5.4 kernel, as well as 5.5.

Thanks.


** Bug watch added: Virtualbox Trac #19244
   http://www.virtualbox.org/ticket/19244

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

Title:
  linux 5.4-rc4 Unable to build simple kernel module

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Cannot build a kernel module, errors in Linux headers using the
  current RC4 (also tried RC3, and daily) mainline kernel packages from
  http://kernel.ubuntu.com/~kernel-ppa/mainline

  
  Am able to build against a 5.4-rc4 kernel level directly from upstream kernel 
git repo (on a different platform).

  To recreate error:

  Install linux headers, etc from current 5.4 RC.  (used 5.4.0-050400rc4
  dated 10/20 for this test)

  --[/tmp/builderr/Makefile]--

  EXTRA_CFLAGS +=

  obj-m += conftest.o

  -- [EOF] --

  --[/tmp/builderr/conftest.c]--

  #include 
  void conftest(void)
  {

  }
  MODULE_LICENSE("GPL-2");

  -- [EOF] --

  Command:

  make -C /lib/modules/5.4.0-050400rc4-generic/build M=/tmp/builderr/
  V=2 &> make_err.log

  
  make.log is attached.

  
  Expected output (using above Makefile and conftest.c, performed a build on a 
system with 4.15.0-66 linux packages installed):

  -- [expected output] --

  make -C /lib/modules/4.15.0-66-generic/build/ M=/tmp/builderr
  make: Entering directory '/usr/src/linux-headers-4.15.0-66-generic'
CC [M]  /tmp/builderr/conftest.o
Building modules, stage 2.
MODPOST 1 modules
CC  /tmp/builderr/conftest.mod.o
LD [M]  /tmp/builderr/conftest.ko
  make: Leaving directory '/usr/src/linux-headers-4.15.0-66-generic'

  

  
  = 
  lsb_release -rd
  Description:  Ubuntu 18.04.3 LTS
  Release:  18.04

  
  uname -a
  Linux ubuntu_base 5.4.0-050400rc4-generic #201910202130 SMP Sun Oct 20 
21:32:54 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

  
  dpkg -l | grep "linux\-[a-z]*\-"
  ii  linux-headers-5.4.0-050400rc45.4.0-050400rc4.201910202130 
  all  Header files related to Linux kernel version 5.4.0
  ii  linux-headers-5.4.0-050400rc4-generic5.4.0-050400rc4.201910202130 
  amd64Linux kernel headers for version 5.4.0 on 64 bit x86 SMP
  ii  linux-image-unsigned-5.4.0-050400rc4-generic 5.4.0-050400rc4.201910202130 
  amd64Linux kernel image for version 5.4.0 on 64 bit x86 SMP
  ri  linux-libc-dev:amd64 4.15.0-65.74 
  amd64Linux Kernel Headers for development
  ii  linux-modules-5.4.0-050400rc4-generic5.4.0-050400rc4.201910202130 
  amd64Linux kernel extra modules for version 5.4.0 on 64 bit x86 
SMP

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1550779] Re: [i915]] *ERROR* CPU pipe A FIFO underrun - Xorg glitches

2018-03-28 Thread Myna Mefirst
Like others, this still occurs on 4.15.13-041513-lowlatency with a clean
install of 16.04.

However, please note: It ONLY occurs if I am connected from my laptop's
docking station (HP 840 G2) to an external monitor (HDMI or DVI same
issue), AND the laptop lid is DOWN.

If the above is true i get the same error, or the funny graphics, etc.

However, if i keep the laptop lid OPEN, even though i am still connected
to the external screen, i have NO problem booting up.

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

Title:
  [i915]] *ERROR* CPU pipe A FIFO underrun - Xorg glitches

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Upgraded linux-image-extra-4.2.0-30-generic I see graphic glitches,
  looks like the graphic buffer gets screwed up

  - funny repetition's patterns  (back in time glitches)
  - black screen (<1sec)
  - graphic errors  

  I can influence the severity of the issue with switching windows and
  using certain programs, e.g. Google Maps in chrome causes this issue
  reproducibly

  dmesg  | grep i915
  [2.726864] [drm] Initialized i915 1.6.0 20150522 for :00:02.0 on 
minor 0
  [2.792005] [drm] GMBUS [i915 gmbus dpb] timed out, falling back to bit 
banging on pin 5
  [3.471092] i915 :00:02.0: fb0: inteldrmfb frame buffer device
  [3.471093] i915 :00:02.0: registered panic notifier
  [9.573129] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU 
pipe A FIFO underrun
  [9.574847] [drm:intel_set_pch_fifo_underrun_reporting [i915]] *ERROR* 
uncleared pch fifo underrun on pch transcoder A
  [9.574895] [drm:intel_pch_fifo_underrun_irq_handler [i915]] *ERROR* PCH 
transcoder A FIFO underrun

  linux-image-extra-4.2.0-27-generic works find

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: xorg 1:7.7+7ubuntu4
  ProcVersionSignature: Ubuntu 4.2.0-30.36-generic 4.2.8-ckt3
  Uname: Linux 4.2.0-30-generic x86_64
  .tmp.unity.support.test.0:
   
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  BootLog:
   
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  CurrentDesktop: GNOME
  Date: Sat Feb 27 20:26:07 2016
  DistUpgraded: Fresh install
  DistroCodename: wily
  DistroVariant: ubuntu
  DkmsStatus:
   virtualbox, 5.0.14, 4.2.0-27-generic, x86_64: installed
   virtualbox, 5.0.14, 4.2.0-30-generic, x86_64: installed
  EcryptfsInUse: Yes
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GraphicsCard:
   Intel Corporation 2nd Generation Core Processor Family Integrated Graphics 
Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
 Subsystem: Lenovo Device [17aa:21da]
  InstallationDate: Installed on 2016-02-11 (15 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
  MachineType: LENOVO 42912XG
  ProcKernelCmdLine: BOOT_IMAGE=/@/boot/vmlinuz-4.2.0-30-generic 
root=UUID=cb34d7bb-9316-49b3-aa94-4e2a3512168f ro rootflags=subvol=@ noprompt 
quiet
  SourcePackage: xorg
  UdevLog: Error: [Errno 2] No such file or directory: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/18/2013
  dmi.bios.vendor: LENOVO
  dmi.bios.version: 8DET69WW (1.39 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 42912XG
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Available
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.modalias: 
dmi:bvnLENOVO:bvr8DET69WW(1.39):bd07/18/2013:svnLENOVO:pn42912XG:pvrThinkPadX220:rvnLENOVO:rn42912XG:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
  dmi.product.name: 42912XG
  dmi.product.version: ThinkPad X220
  dmi.sys.vendor: LENOVO
  version.compiz: compiz 1:0.9.12.2+15.10.20151202-0ubuntu1
  version.ia32-libs: ia32-libs N/A
  version.libdrm2: libdrm2 2.4.64-1
  version.libgl1-mesa-dri: libgl1-mesa-dri 11.0.2-1ubuntu4
  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
  version.libgl1-mesa-glx: libgl1-mesa-glx 11.0.2-1ubuntu4
  version.xserver-xorg-core: xserver-xorg-core 2:1.17.2-1ubuntu9.1
  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.9.2-1ubuntu1
  version.xserver-xorg-video-ati: xserver-xorg-video-ati 
1:7.5.0+git20150819-0ubuntu1
  version.xserver-xorg-video-intel: xserver-xorg-video-intel 
2:2.99.917+git20150808-0ubuntu4
  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 
1:1.0.11-1ubuntu3
  xserver.bootTime: Sat Feb 27 20:25:23 2016
  xserver.configfile: default
  xserver.errors:
   
  xserver.logfile: /var/log/Xorg.0.log
  xserver.outputs:
   product id   12359 
   vendor SEC
  xserver.version: 2:1.17.2-1ubuntu9.1

To manage notifications about this bug go to: