Page 1 of 1

missing 4.9 headers package

Posted: 03 Aug 2017, 08:58
by ole2
installed Porteus v3.2.2, it's running on kernel 4.9. updated package databases. can't find linux-headers-4.9 package with USM. I need Module.symvers of the kernel you've been building. it's usually lives in the headers package.

missing 4.9 headers package

Posted: 03 Aug 2017, 09:25
by Blaze

missing 4.9 headers package

Posted: 03 Aug 2017, 13:36
by ole2
hello All
as it's a newbie section, I feel myself obliged to add a few details to the Blaze respond:
- Modules.symvers is recoverable from crippled_sources.xzm
the file is located in usr/src/linux-4.9
- the file crippled_sources.xzm is a filesystem package and the easiest way to extract it's content by using following command:
unsquashfs -f -dest sources crippled_sources.xzm
- the file itself the easiest way just to download following command:
wget http://ftp.vim.org/ftp/os/Linux/distr/p ... ources.xzm

missing 4.9 headers package

Posted: 03 Aug 2017, 23:09
by fulalas
@ole2, are you using Porteus 32 bit? Or 64 bit?

You need Module.symvers for what exactly? If it's just for building stuff that require kernel source, you just need to activate crippled_souces.xzm module, by double-clicking on in through the file manager (Thunar, if you're using Xfce; or Nemo, if you're using Cinnamon; or Caja if you're using MATE; or Dolphin if you're using KDE).

missing 4.9 headers package

Posted: 04 Aug 2017, 12:03
by Bogomips
@ ole2

Welcome to Porteus. Your effort to help out other newbies with more detail has not gone unappreciated. :)

missing 4.9 headers package

Posted: 07 Aug 2017, 14:57
by ole2
hello fulalas
I'm porting Porteus onto Panasonic CF-U1 Toughbook, mostly for a reason to be used as an outdoor communicator/GIS.
the platform itself is a bit outdated and so a very resource limited.
it will not be capable to perform self-build process.
I had to build a fixed qcserial.c driver as well as fixed gobi_loader outside of the Porteus environment and then copy/paste the resulting binaries into the filesystem.
luckily the result appeared to be a success and produced a working WWAN based on Qualcomm Gobi 2K chipset.
as a result certain modifications definitely require to be done for the following packages:
- kernel modules (don't know which one to target)
- firmware_gobi
it would be good to know on how to proceed with the package alternations and patch submission.
thanks
Oleg
fulalas wrote:
03 Aug 2017, 23:09
@ole2, are you using Porteus 32 bit? Or 64 bit?

You need Module.symvers for what exactly? If it's just for building stuff that require kernel source, you just need to activate crippled_souces.xzm module, by double-clicking on in through the file manager (Thunar, if you're using Xfce; or Nemo, if you're using Cinnamon; or Caja if you're using MATE; or Dolphin if you're using KDE).