LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-06-2023, 07:11 PM   #1
Exitt007
LQ Newbie
 
Registered: Jun 2023
Posts: 4

Rep: Reputation: 0
Exclamation Kernel version parse failed


I am new to linux. And I am trying unload compat wireless but getting error as mentioned below.
"Generating Local configuration database from kernel ...kernel version parse failed!
make: *** [Makefile:42: unload] Error 1"

If anyone can help me to solve this issue I would be grateful. Thanks in advance

I'm using kali linux 2023.1 in VMWare Workstation pro 17
My Device - HP Pavilion 15-au061tx

Purpose - WiFi Penetration Testing (Education purpose)

I attached output of uname -a and uname -r and also the error I'm facing while trying to unload.

Now I think it will be easier for everyone to give me a solution. and anyone need any more info just let me know. and sorry for any mistake. I am actually new to all this.
Attached Thumbnails
Click image for larger version

Name:	iwconfig.png
Views:	104
Size:	24.6 KB
ID:	41172   Click image for larger version

Name:	uname.png
Views:	90
Size:	28.4 KB
ID:	41173   Click image for larger version

Name:	Backports.png
Views:	100
Size:	41.6 KB
ID:	41174  

Last edited by Exitt007; 06-07-2023 at 08:01 PM. Reason: lake of Info
 
Old 06-06-2023, 10:04 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,153

Rep: Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265Reputation: 1265
Perhaps you could mention what command you are running and why you are running it.
 
Old 06-06-2023, 11:05 PM   #3
Exitt007
LQ Newbie
 
Registered: Jun 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Exitt007 View Post
I am new to linux. And I am trying unload compat wireless but getting error as mentioned below.
"Generating Local configuration database from kernel ...kernel version parse failed!
make: *** [Makefile:42: unload] Error 1"

If anyone can help me to solve this issue I would be grateful. Thanks in advance
Quote:
Originally Posted by smallpond View Post
Perhaps you could mention what command you are running and why you are running it.
Command - make unload/make
Reason - to install wireless compat driver
 
Old 06-07-2023, 05:06 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
Quote:
Originally Posted by Exitt007 View Post
Reason - to install wireless compat driver
What version of compat-wireless? According to Linux Wireless
Quote:
This project compat-wireless has been renamed compat-drivers, and latter to backports
https://wireless.wiki.kernel.org/en/...ownload/stable
 
Old 06-07-2023, 05:10 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,997

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
in general would be nice to give more details, dropping in an error message is pointless.
What OS is it, what do you want to achieve at all, what did you execute ....
http://www.catb.org/~esr/faqs/smart-...html#beprecise
 
Old 06-07-2023, 08:39 AM   #6
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
you'd have to open the source and look and find where it is trying to parse it and see what command it is using then fix it, or try to.
 
Old 06-07-2023, 08:04 PM   #7
Exitt007
LQ Newbie
 
Registered: Jun 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Details updated

Quote:
Originally Posted by pan64 View Post
in general would be nice to give more details, dropping in an error message is pointless.
What OS is it, what do you want to achieve at all, what did you execute ....
http://www.catb.org/~esr/faqs/smart-...html#beprecise
Thanks. I just update details. now kindly check.
 
Old 06-08-2023, 12:45 AM   #8
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,997

Rep: Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338Reputation: 7338
ok, thanks.
First of all please read this: https://www.linuxquestions.org/quest...ad-4175614092/

you still have not explained exactly what did you try (what commands were executed...), what guide did you follow ....
probably this helps: https://pawanchauhan.com/how-to-enab...nux-on-vmware/
 
Old 06-08-2023, 03:07 AM   #9
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,677

Rep: Reputation: Disabled
The Makefile for backports-5.15.81 can only handle kernel versions up to 5.x. You may try to adjust the test. It's a sed expression in the line 88 of the Makefile (the line starts with kernelversion).

E.g.
Code:
sed -i '/kernelversion/s/5/6/' Makefile
should do the trick.

Of course, there are no warranties this driver would work with a 6.x kernel. Your best bet is downgrading to a 5.x kernel.

Last edited by shruggy; 06-08-2023 at 03:13 AM.
 
Old 06-08-2023, 05:34 AM   #10
Exitt007
LQ Newbie
 
Registered: Jun 2023
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
ok, thanks.
First of all please read this: https://www.linuxquestions.org/quest...ad-4175614092/

you still have not explained exactly what did you try (what commands were executed...), what guide did you follow ....
probably this helps: https://pawanchauhan.com/how-to-enab...nux-on-vmware/
okay I attached the image where it shows what command I executed. btw my main motive is solve the no wireless extension issue as it shown on 1st image.

Note: I tried https://pawanchauhan.com/how-to-enab...nux-on-vmware/ but it didn't help.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Parse error: parse error, unexpected '/' - can anyone see the error in this code? v@ny@ Programming 8 04-03-2010 04:07 PM
What's the meaning of "PHP Parse error: parse error, unexpected $ in..." frandalla Programming 23 03-04-2009 12:34 PM
Parse error: parse error, unexpected '}' in /home/content jouvert Linux - Newbie 3 05-17-2008 06:55 PM
Parse error: parse error, unexpected $ in /home/content/d/o/m/domain/html/addpuppy2.p Scooby-Doo Programming 3 10-25-2007 09:41 AM
need help with "Parse error: parse error, unexpected T_STRING" coffee245 Programming 2 01-29-2007 11:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration