missing 4.9 headers package

Post here if you are a new Porteus member and you're looking for some help.
ole2
Ronin
Ronin
Posts: 3
Joined: 03 Aug 2017, 08:52
Distribution: ubuntu porteus
Location: Marseille, France

missing 4.9 headers package

Post#1 by ole2 » 03 Aug 2017, 08:58

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.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

missing 4.9 headers package

Post#2 by Blaze » 03 Aug 2017, 09:25

Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

ole2
Ronin
Ronin
Posts: 3
Joined: 03 Aug 2017, 08:52
Distribution: ubuntu porteus
Location: Marseille, France

missing 4.9 headers package

Post#3 by ole2 » 03 Aug 2017, 13:36

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

fulalas
DEV Team
DEV Team
Posts: 2050
Joined: 26 Oct 2016, 15:34
Distribution: Porteus
Location: Brazil

missing 4.9 headers package

Post#4 by fulalas » 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).

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

missing 4.9 headers package

Post#5 by Bogomips » 04 Aug 2017, 12:03

@ ole2

Welcome to Porteus. Your effort to help out other newbies with more detail has not gone unappreciated. :)
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

ole2
Ronin
Ronin
Posts: 3
Joined: 03 Aug 2017, 08:52
Distribution: ubuntu porteus
Location: Marseille, France

missing 4.9 headers package

Post#6 by ole2 » 07 Aug 2017, 14:57

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).

Post Reply