Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
View: 2534|Reply: 5

kernel headers

[Copy link]

1

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
Post time 2017-7-13 13:32:58 | Show all posts |Read mode
Hi,

Debian_Server_jessie_PC2_V0_9_1.img.xz contains a kernel and it's modules, but no kernel headers.
So, It is not possible to build custom kernel driver.
Is there any place, where I can get kernel image, modules, headers, kbuild and so on ?
Thank you.

9

Threads

634

Posts

4283

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4283
Post time 2017-7-13 19:29:41 | Show all posts
https://www.armbian.com/orange-pi-pc2/

headers by default, creating custom drivers works.

1

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
 Author| Post time 2017-7-19 17:55:12 | Show all posts
igorpec replied at 2017-7-13 19:29
https://www.armbian.com/orange-pi-pc2/

headers by default, creating custom drivers works.

Hi.
I tried it, kernel part is ok.
But "asterisk" crash with an error in t.38 module
[Jul 19 09:51:16] ERROR[2186]: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
[Jul 19 09:51:16] ERROR[2186]: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
[Jul 19 09:51:16] ERROR[2186]: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
[Jul 19 09:51:16] ERROR[2186]: res_pjsip_t38.c:865 load_module: Unable to register SDP handler for image stream type
[Jul 19 09:51:16] ERROR[2186]: astobj2.c:116 INTERNAL_OBJ: user_data is NULL

Is there any other way to get both, kernel headers and asterisk ?


9

Threads

634

Posts

4283

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4283
Post time 2017-7-20 02:06:16 | Show all posts
Well, perhaps this is an Asterix problem? From our perspective, things work as it should. Hiccups in kernels are ofc also possible since this is bleeding edge kernel. Not something with a history of stability.

I am not familiar with Asterix, sorry.

1

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
 Author| Post time 2017-7-21 18:01:27 | Show all posts
igorpec replied at 2017-7-20 02:06
Well, perhaps this is an Asterix problem? From our perspective, things work as it should. Hiccups in ...

The same asterisk works in Debian_Server_jessie_PC2_V0_9_1.img.xz .
In Armbian it crash on module load, even before Asterisk try to load configuration.
This module can be processor dependant (as it do a lot of mathematics), if it was compiled with wrong processor type - it can be a reason...

I also failed to build a package...
dpkg-buildpackage -us -uc
dpkg-buildpackage: source package asterisk
dpkg-buildpackage: source version 1:13.1.0~dfsg-1.1ubuntu4.1
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by Nishanth Aravamudan <nish.aravamudan@canonical.com>
dpkg-buildpackage: host architecture arm64
dpkg-source --before-build asterisk-13.1.0~dfsg
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd libreadline-dev | libreadline5-dev libgsm1-dev libtonezone-dev (>= 1:2.0.0) libasound2-dev portaudio19-dev libpq-dev unixodbc-dev libmysqlclient-dev | libmysqlclient15-dev libbluetooth-dev libpri-dev (>= 1.4.12) libss7-dev libvpb-dev dahdi-source dh-autoreconf libnewt-dev libsqlite0-dev | libsqlite-dev libsqlite3-dev libspeex-dev libspeexdsp-dev libcurl4-openssl-dev | libcurl-dev libxml2-dev libpopt-dev libiksemel-dev libfreeradius-client-dev | libradiusclient-ng-dev freetds-dev libvorbis-dev libogg-dev libsnmp-dev libc-client2007e-dev | libc-client2007b-dev libgmime-2.6-dev libjack-dev liblua5.1-0-dev libcap-dev (>= 1:2.16-4) | libcap2-dev libspandsp-dev libopenr2-dev libresample1-dev libsrtp-dev libjansson-dev libldap-dev libxslt1-dev uuid-dev libpjproject-dev libncurses-dev libneon27-gnutls-dev | libneon27-dev libsdl2-dev libopencore-amrnb-dev libopencore-amrwb-dev libavformat-dev libv4l-dev libavutil-dev libswscale-dev libavcodec-dev libical-dev libsrtp0-dev libedit-dev binutils-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)


9

Threads

634

Posts

4283

Credits

Moderator

Rank: 7Rank: 7Rank: 7

Credits
4283
Post time 2017-7-22 02:43:33 | Show all posts
This module can be processor dependant (as it do a lot of mathematics), if it was compiled with wrong processor type - it can be a reason...

Check kernel configuration to see if something critical is missing and try with self-build Jessie. No better idea ATM.
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2020-7-3 05:27 GMT+8 , Processed in 0.031794 second(s), 22 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list