(OLD) (ARCHIVED) Puppy Linux Discussion Forum Forum Index (OLD) (ARCHIVED) Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info

This forum can also be accessed as http://oldforum.puppylinux.com
It is now read-only and serves only as archives.

Please register over the NEW forum
https://forum.puppylinux.com
and continue your work there. Thank you.

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups    
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 20 Sep 2020, 04:50
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Problem using Lenovo Wifi with old kernel Slacko 5.7.0
Moderators: Flash, Ian, JohnMurga
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
giankun

Joined: 09 Aug 2019
Posts: 4

PostPosted: Fri 09 Aug 2019, 10:01    Post subject:  Problem using Lenovo Wifi with old kernel Slacko 5.7.0  

Good morning to everyone,

I recently received a new PC which I am trying to use with my collection of linux USB systems. I use and like a lot the old frugal install of Slacko 5.7.0 (with 3.10.32 kernel).

Problem is that Lenovo PC has a wifi card which requires one version of the iwlwifi-7265-ucode driver from intel. I successfully managed to add that driver to a slacko64 install I have, but the earliest kernel that driver is produced for is 3.19. I found out about project backports though:

https://backports.wiki.kernel.org/index.php/Main_Page

I tried to compile latest version (but it would not compile with an error). To be able to start the compile process I was forced to add kernel_sources-3.10.32-slacko_PAE.sfs to my system by the way, the devx sfs was not enough for reasons I don't understand. Anyway, then I realized the driver should work from the backports version 4.20:

https://cdn.kernel.org/pub/linux/kernel/projects/backports/stable/v4.20.17/backports-4.20.17-1.tar.xz

The backports-4.20.17-1 version correctly compiled correctly with:

Code:


make defconfig-iwlwifi
make
make install


I then also copied latest drivers (iwlwifi-7265-14.ucode and iwlwifi-7265D-14.ucode) to the /lib/firmware dir. This last step was maybe unnecessary or would not work, but what happened was worse. When I rebooted and tried to add any network module (including atheros modules for my other PC) those where not added with error I attach.

Dmesg says:

Code:

[  741.296636] compat: Unknown symbol ktime_divns (err 0)


I guess something was wrong when I compiled (but no errors in the compile process). Did anyone try what I tried or knows how to solve?

My regards,

Gian
Screenshot_2019-08-05_032632.jpg
 Description   
 Filesize   61.86 KB
 Viewed   249 Time(s)

Screenshot_2019-08-05_032632.jpg

Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 13653
Location: Arizona USA

PostPosted: Fri 09 Aug 2019, 10:51    Post subject:  

The simplest and quickest solution would be to switch to a newer version of Puppy that has a later kernel with the right drivers already in it. If you don't want to do that, then perhaps try replacing the kernel you have with a newer one.
Back to top
View user's profile Send private message 
giankun

Joined: 09 Aug 2019
Posts: 4

PostPosted: Fri 09 Aug 2019, 11:03    Post subject:  

Flash wrote:
The simplest and quickest solution would be to switch to a newer version of Puppy that has a later kernel with the right drivers already in it. If you don't want to do that, then perhaps try replacing the kernel you have with a newer one.


I actually have a slacko64 version which works (after adding the drivers), but I would really like to make the old version work too...at least the wifi. Especially if it's possible to do it, which I suspect it is.
Back to top
View user's profile Send private message 
foxpup

Joined: 29 Jul 2016
Posts: 1141

PostPosted: Fri 09 Aug 2019, 11:22    Post subject:  

No, it may not be possible. Check here:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

I am not sure if it is easy in this old slacko to change kernel. If it is, you could just switch kernel. Take the kernel of the newer slacko.

I had Tahr running that way on a newish lenovo laptop.

And welcome to Puppy!
Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 6397
Location: King's Lynn, UK.

PostPosted: Fri 09 Aug 2019, 11:27    Post subject:  

@ giankun:-

Hallo, and to 'the kennels'!

If you really want to run Slacko 570 (or a derivative) might I suggest taking a look at Mikeslr's 'spin' on 570, called Slacko 5.7.2 CE (Community Edition)? It uses the 4.14.63 RT ('real-time') kernel, compiled by our very own rockedge, so should definitely support your wireless adapter.

Mike's basically 'updated' 5.7.0; he & I were both 570 nuts, but he's also updated many of the basic, built-in utilities/Puppy apps.....and if you have a previous install of 570, and want to use the save-file with it, it just needs renaming slightly.

You can find the details at the link below:-

http://www.murga-linux.com/puppy/viewtopic.php?t=115397

Hope that helps.

(EDIT:- Re; foxpup's comment above. Micko's original 570 doesn't have the 'z_drv' SFS module that makes swapping out kernels easier. Mikeslr's 'spin', however, does.....but it starts out with a 4-series kernel anyway, so..... The choice is yours.)

It's definitely worth a look.


Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
giankun

Joined: 09 Aug 2019
Posts: 4

PostPosted: Fri 09 Aug 2019, 13:55    Post subject:  

foxpup wrote:
No, it may not be possible. Check here:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi

I am not sure if it is easy in this old slacko to change kernel. If it is, you could just switch kernel. Take the kernel of the newer slacko.

I had Tahr running that way on a newish lenovo laptop.

And welcome to Puppy!


I think switching kernel on an old version of Slacko would be difficult, but I did switch kernel on the newer slacko64. As for the driver page, I had checked it: in theory, the backports project would allow you to use newer drivers on a 3.10 kernel. Which is why it was my idea to use it.

Anyway I think the reason it did not work is more Backports problem than Puppy's problem? I will try to investigate that side too...
Back to top
View user's profile Send private message 
giankun

Joined: 09 Aug 2019
Posts: 4

PostPosted: Fri 09 Aug 2019, 14:00    Post subject:  

Mike Walsh wrote:
@ giankun:-

Hallo, and to 'the kennels'!

If you really want to run Slacko 570 (or a derivative) might I suggest taking a look at Mikeslr's 'spin' on 570, called Slacko 5.7.2 CE (Community Edition)? It uses the 4.14.63 RT ('real-time') kernel, compiled by our very own rockedge, so should definitely support your wireless adapter.

Mike's basically 'updated' 5.7.0; he & I were both 570 nuts, but he's also updated many of the basic, built-in utilities/Puppy apps.....and if you have a previous install of 570, and want to use the save-file with it, it just needs renaming slightly.

You can find the details at the link below:-

http://www.murga-linux.com/puppy/viewtopic.php?t=115397

Hope that helps.

(EDIT:- Re; foxpup's comment above. Micko's original 570 doesn't have the 'z_drv' SFS module that makes swapping out kernels easier. Mikeslr's 'spin', however, does.....but it starts out with a 4-series kernel anyway, so..... The choice is yours.)

It's definitely worth a look.


Mike. Wink


This is extremely interesting! For some reason I am fond of that old slacko... I understand the work to change kernel and update apps must have been something. I did work a lot on this install, compiling some library updates, fixes, traditional vi for it to replace busybox (I know, I know...but Vim is heavy).

So much in fact that I will for sure try out your version of Slacko, and try to find a way to backport the drivers.

(I wonder why every time I start tinkering with my USB installs I end up with some more puppies, but I like this!).
Back to top
View user's profile Send private message 
mikeslr


Joined: 16 Jun 2008
Posts: 3913
Location: 500 seconds from Sol

PostPosted: Fri 09 Aug 2019, 16:05    Post subject: Other Renewed Slacko 5.7s  

Mike Walsh got to plug my Slacko 5.7.2CE before I could. But I could not have built it if it hadn't been for Sailor Enceladus' work.

It's impossible to swap a new kernel into an old Puppy. Using Slackware 14.0 binaries, 01micko published Slacko 5.7 in March of 2014. In or around October of that year, the team, lead by 01micko, working on Woof --the application used to build Puppies-- substantially re-arranged the components within each of the file systems which make up a Puppy: vmlinuz, Puppy_xxx.sfs and zdrv_puppy_xxx.sfs and modified initrd.gz to reflect those changes. As used here "old" means an original publication before October 2014.

In October of 2017, Sailor Enceladus used the then current Woof to built a new Slacko Puppy with Slackware 14.0 binaries. http://www.murga-linux.com/puppy/viewtopic.php?p=976794#976794. You can find several of his Slacko 5.7 and 5.8 Puppies here, https://www.mediafire.com/folder/kwhxksubf00ny/14.0 and --IIRC-- links to some remasters by others on Sailor Enceladus' thread. [5.8 also uses Slackware 14.0 binaries. A remaster is not a new build. Rather, it starts with an already built Puppy and adds or deletes applications, or both].

Trying to use an "old" Puppy one can run into several hurdles among which are (1) it may not have the drivers and firmware needed to interface with hardware manufactured after the publication of the kernel used by that Puppy; (2) it's kernel WILL NOT include modifications since found necessary to avoid exploitations by malware; and (3) it may not include the libraries (infra-structure) needed to support new versions of applications.

The advantage of "old" Puppies is that the applications created to run under them will need less RAM: New Applications are built with the expectation that the user has a new computer with many gigabytes of RAM and fast processors and consequently is able to handle 'user-friendly/bloated" applications with whatever 'Bells and Whistles' an application's publisher could think of to 'enhance' an old version.

In general, an 'old' version of an application will run as effectively and productively on a new binary-compatible 'Puppy' as on an old; but it will lack those new 'Bells and Whistles'. There are two exceptions: Web-browsers and security protocols. Many current Websites generate graphic rich content which old web-browsers are not capable of displaying. Moreover, because of security concerns even more current Websites will not even allow you to obtain access if your Web-browser does not provide up-to-date security.

Over the last 5 years many applications were built to run OOTB under Slacko 5.7. They can be used under any of Sailor Enceladus' builds; or my remaster.

Slacko 5.7.2CE is a remaster of one of Sailor Enceladus' builds. It started with that but changed its kernel with one of the Real-Time Kernels rockedge published, http://rockedge.org/kernels/. While providing patches against malware available when Rockedge created them, my experience was that these Real-Time Kernels appeared to be less RAM demanding and more responsive. After swapping kernels, I removed some applications, substituted others, but primarily I updated all "infrastructures" such as radky's improvements to the JWM desktop and rerwin's improvements to network modules.

If it matters, NO Slacko 5.7/5.8 can run any google-chrome (or clone) after version 48 which is now 3 years old and 20+ versions out-of-date. Slacko 5.7.2CE has built in all the infra-structure required by that latest firefox-quantum, firefox-esr, palemoon and Seamonkey.

Sailor's 5.7/5.8 should also be able to run those web-browsers. But I'm not certain whether you might have to first install the infra-structure the newest 'mozilla' web-browsers require. On the other hand, using one of Sailor Enceladus' Puppies may have an advantage. I don't compile, so I didn't take that into consideration. But I do know that in order to compile --such as creating a wifi driver-- an appropriate devx.sfs is required. You'll find any needed devx.sfs for each of Sailor Enceladus' Puppies on his repo. Associated with rockedge's kernels are "Kernel Sources".sfs. But I don't know if these include, or are sufficient, for compiling.

Last edited by mikeslr on Sat 10 Aug 2019, 13:22; edited 3 times in total
Back to top
View user's profile Send private message 
Puppyt

Joined: 09 May 2008
Posts: 908
Location: Moorooka, Queensland

PostPosted: Sat 10 Aug 2019, 12:45    Post subject:  

Thank you, mikeslr - on all counts above - but I especially appreciate your historical summaries such as your previous post that I just had to flag - encyclopaedic knowledge distilled into practical "can do" (or cautionary "here be dragons"). Another gem from you, cheers Smile
_________________
Search engines for Puppy
http://puppylinux.us/psearch.html; Google Custom Search; http://wellminded.net63.net/ others TBA...
Back to top
View user's profile Send private message Visit poster's website 
bigpup


Joined: 11 Oct 2009
Posts: 13981
Location: S.C. USA

PostPosted: Sat 10 Aug 2019, 16:07    Post subject:  

giankun you can use what you want to use for a Puppy OS.

However, if this a brand new computer.

To get the full features it offers you need to be using one of the newest Puppy versions using one of the newest Linux kernels.
Most of the kernel is hardware support.
Also, the newest Puppies are going to have the updated core files and programs.
These have had a lot of improvements since the ones that are in Slacko 5.7.0

_________________
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
YaPI(any iso installer)
Back to top
View user's profile Send private message 
darry19662018

Joined: 31 Mar 2018
Posts: 731
Location: Rakaia

PostPosted: Sat 10 Aug 2019, 17:18    Post subject:  

If you want to tinker and change kernel in your old Puppy this is the thread:
http://murga-linux.com/puppy/viewtopic.php?t=60180

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
mikeslr


Joined: 16 Jun 2008
Posts: 3913
Location: 500 seconds from Sol

PostPosted: Sat 10 Aug 2019, 19:32    Post subject:  

darry19662018 wrote:
If you want to tinker and change kernel in your old Puppy this is the thread:
http://murga-linux.com/puppy/viewtopic.php?t=60180
.

Using the term "old" as defined in my prior post, the kernels of 'old puppies' are interchangeable. But you can't swap a new kernel into an 'old puppy.' See the discussion on that thread starting here, http://murga-linux.com/puppy/viewtopic.php?p=1012226#1012226 and especially mostly_lurking's post indicating the limitations of a 'Frankenpuppy'.

Before settling on Slacko 5.7 using Sailor Enceladus' new build, I first tried to 'update' Carolina; then precise. [Jrb's precise-light is a new build which didn't exist at that time]. Frankenpuppies are interesting curiosities. But hardly viable as an operating system for general use.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies. View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.2061s ][ Queries: 12 (0.0753s) ][ GZIP on ]