Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 17 Aug 2018, 13:16
All times are UTC - 4
 Forum index » Advanced Topics » Hardware » Video
Using kernel 3.0.25 and modules from Lucid in later puppies
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [11 Posts]  
Author Message
sindi

Joined: 16 Aug 2009
Posts: 853
Location: Ann Arbor MI USA

PostPosted: Thu 01 Feb 2018, 13:48    Post subject:  Using kernel 3.0.25 and modules from Lucid in later puppies
Subject description: Need to make zdrv files with modules and firmware
 

My HP dv6500 displays properly in Lucid Puppy 2016 with kernel 3.0.25 (Sulu1) but not in Tahr Dpup or Xenial and I was unable to compile the correct nvidia driver for Tahr even with help in another discussion item. I did learn how to compile Tahr kernel with default kernel config.

I was told I can use the Lucid Puppy kernel in later puppies but I will also need the matching modules and firmware. Lucid does not have zdrv*sfs containing them. How do I make one from the /lib/modules/3.0.25 directory in Lucid?

My other option is to compile 3.0.25 (or 3.0.36) myself but I cannot find the source code at kernel.org for anything older than 3.2. The default 3.14 kernel in Tahr does not support my nvidia video (nor do later kernels 3 and 4).

Tahr works with USB tethered phone. Lucid claims to be connected via USB but is not. Tahr also works with the latest smtube. Lucid kernel works much better than Tahr.
Back to top
View user's profile Send private message 
hamoudoudou

Joined: 24 Jul 2014
Posts: 1467
Location: rabat

PostPosted: Thu 01 Feb 2018, 14:30    Post subject: You need lib / modules lib/firmware and etc/modules  

You need lib / modules lib/firmware and etc/modules
i have until now always used 3.0.25 on older puppies, not newer..
I should work,
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 853
Location: Ann Arbor MI USA

PostPosted: Thu 01 Feb 2018, 18:05    Post subject: how to make a zdrv*sfs file  

Do I make a new directory, copy the /lib/modules/ etc to it, and then use squashfs somehow to make the zdrv*sfs file?

I presume Tahr will work with 3.0.25 if it works with 3.14.56, and have the right nvidia driver.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 853
Location: Ann Arbor MI USA

PostPosted: Thu 01 Feb 2018, 22:12    Post subject: Found problem with my kernel and other ways to get zdrv*sfs  

The reason my 3.14.56 slim kernel for Tahr could not find its files is that I compiled for sata not pata.
I guessed (wrongly) that since a 2003 desktop has SATA controllers, a 2007 laptop would have only sata not pata (IDE).
Easy fix. I can reuse existing zdrv*sfs file while experimenting.

Superlupu 2 (sulu2) with kernel 3.2.48 works properly - 1280x800 resolution, usb tethering of a phone works.
vga=791 at boot gives framebuffer console.

The kernels and modules for sulu1 and sulu2 were taken from other puppy linuxes (with kernel 3), so the zdrv*sfs may be
available even though lucid does not itself use them.
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 1009
Location: Oslo, Norway

PostPosted: Thu 01 Feb 2018, 22:34    Post subject:  

If you use 32-bit, you may benefit from taking a look at musher0's xenialPup-7.0.6 with kernel 4.1.

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

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
sindi

Joined: 16 Aug 2009
Posts: 853
Location: Ann Arbor MI USA

PostPosted: Sat 03 Feb 2018, 17:22    Post subject: xenial pup 7.0.6  

I already have Xenial-Pup 7.0.6 on one laptop. It would not work on another (2003 Pentium M FSB 400MHz) because the kernel is PAE.

My second attempt to compile a 3.14.56 (Tahr) kernel with framebuffer and nv video failed too. Cannot find the puppy sfs file.

Superlucid2 (sulu2) with 3.2.48 kernel from Precise 5.7.1 retro works properly (framebuffer console and correct resolution). So I downloaded the iso and was going to copy over vmlinuz and the zdrv*sfs to tahr but there is no zdrv.in Precise (same as in Lucid).

Is there some puppy linux with a kernel 3.2 and a zdrv file?

Puppy Linux (Tahr anyway) uses the default kernel .config, which for Tahr (3.14 kernel) does not include framebuffer console or support my nvidia chip properly. I am hoping that some earlier 3.X kernel has a config similar to 2.6 and 3.0.25 and 3.2.48.

Is there some simple way to extract a zdvr*sfs file from Lucid Puppy files? Someone gave me a list of what files go into it (kernel modules, firmware) so I might just copy this all to a separate directory and try to squashfs.

Or I could download the latest 3.2.X kernel from kernel.org and compile the default .config (and then somehow make a zdrv*sfs).

Does the entire zdrv*sfs file go into memory or just the few parts that are actually used?
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12569
Location: Gatineau (Qc), Canada

PostPosted: Sat 03 Feb 2018, 17:37    Post subject:  

tallboy wrote:
If you use 32-bit, you may benefit from taking a look at musher0's xenialPup-7.0.6 with kernel 4.1.

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

Thanks for the ad, tallboy. Smile

I'll give you 15 % if sindi buys the product. Laughing Wink

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
mikeslr


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

PostPosted: Sat 03 Feb 2018, 21:30    Post subject: forcepae boot parameter?  

A couple years ago, shinobar developed a patch which, when applied to the 3.14.11 kernel enabled some non-pae computers to boot that kernel if the argument "forcepae" was included in the boot code, e.g.:

kernel /tahr-5.8.3/vmlinuz forcepae pmedia=atahd psubdir=tahr-5.8.3 pfix=fsck

See, https://lkml.org/lkml/2014/3/7/180.

Perhaps it was a good enough idea that the maintainers of woof have since generally incorporated it. At any rate, its worth "a shot" to see if adding that argument has any effect.

+1 for the musher0's "xenialPup-7.0.6" kernel 4.1. It runs rings around any other kernel I've tried with Tahrpup 6.0.6, including Tahrpup's original.

mikesLr

p.s. I've searched for any recent builds of no-pae kernels. Other than the one's you'll find here, http://archive.org/download/Puppy_Linux_Kernels I couldn't find any. If the forcepae argument doesn't work, I'd try the huge-3.18.22-slacko_noPAE.tar.bz2 ( 27-Nov-2015 14:07 26.3M). That it was build for slacko is unlikely to be significant.

p.p.s. The kernel-3.14.13_forcePAE.tar.xz, also found there, was specifically created for Pentium-M's.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 12569
Location: Gatineau (Qc), Canada

PostPosted: Sat 03 Feb 2018, 23:33    Post subject:
Subject description: "Credit where credit is due."
 

mikeslr & all.

I am glad that you like what I did with the xenialPup-7.0.6. But I have some clearing up to do.

The 4.1 kernel in xenialPup-706 was built by stemsee. I just picked it "off his shelf", so to
speak, and applied his instructions as to how to adapt one of his kernels to a Puppy.

Any praise about the performance of the kernel in xenialPup-7.0.6 should go to him.

"Credit where credit is due."

BFN.

_________________
musher0
~~~~~~~~~~
Siempre será canción nueva... (V. Jara, Manifiesto)
Back to top
View user's profile Send private message 
tallboy


Joined: 21 Sep 2010
Posts: 1009
Location: Oslo, Norway

PostPosted: Sun 04 Feb 2018, 01:00    Post subject:  

sindi wrote:
I already have Xenial-Pup 7.0.6 on one laptop. It would not work on another (2003 Pentium M FSB 400MHz) because the kernel is PAE.

The Xenial by musher0/stemsee linked to above, should not have a PAE kernel, according to this post by musher0. It is downgraded to a 4.1 non-PAE kernel instead of the 4.9 or higher original kernel.

in http://www.murga-linux.com/puppy/viewtopic.php?p=971880#971880, musher0 wrote:
For those of you who have an old box with 4 Gb's of RAM or more, here
is a 4.1.2 PAE kernel and zdrv: ALTxenialPup706-PAEkrnl+zdrv.zip
http://augras.eu/puppy_linux/?dir=musher0/xenialPup-706-k41/distro/AutreNoyau

It's the same kernel as the one in the iso, but with PAE enabled. I like the
idea that my Pup can use all my available RAM.

All thanks go to stemsee for compiling this kernel:
http://murga-linux.com/puppy/viewtopic.php?p=856290&sort=lastpost#856290

I just renamed the modules sfs and repackaged the files for this xenialPup-7.0.6.


musher0 wrote:
Thanks for the ad, tallboy. Smile
I'll give you 15 % if sindi buys the product. Laughing Wink

Haha, haha, you're too late, I cheated on you because I've already downloaded it! Razz

_________________
True freedom is a live Puppy on a multisession CD/DVD.
Back to top
View user's profile Send private message 
jeff757

Joined: 11 Dec 2012
Posts: 18

PostPosted: Mon 05 Feb 2018, 00:03    Post subject: kernel 3.0.25
Subject description: sfs location
 

sindi

Here is where you will find kernel 3.0.25 sfs http://ftp.nluug.nl/ftp/pub/os/Linux/distr/quirky/sfs/kernel_src-3.0.25-patched.sfs the md5sum is c32e24a1de2d153e3a128eb3a34e07e6 which was obtained from here http://bkhome.org/blog/?viewDetailed=02780. Unfortunately I never downloaded barry's blog page to have other info.

I just downloaded the sfs and verified its md5sum just prior to posting so it works and is correct. IHTH

jeff
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [11 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Hardware » Video
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.0536s ][ Queries: 14 (0.0089s) ][ GZIP on ]