Using kernel 3.0.25 and modules from Lucid in later puppies

Problems and successes with specific brands/models of computer video hardware
Post Reply
Message
Author
sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Using kernel 3.0.25 and modules from Lucid in later puppies

#1 Post by sindi »

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.

hamoudoudou

You need lib / modules lib/firmware and etc/modules

#2 Post by hamoudoudou »

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,

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

how to make a zdrv*sfs file

#3 Post by sindi »

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.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

Found problem with my kernel and other ways to get zdrv*sfs

#4 Post by sindi »

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.

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#5 Post by tallboy »

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.

sindi
Posts: 1087
Joined: Sun 16 Aug 2009, 13:30
Location: Ann Arbor MI USA

xenial pup 7.0.6

#6 Post by sindi »

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?

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#7 Post by musher0 »

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

I'll give you 15 % if sindi buys the product. :lol: ;)
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

forcepae boot parameter?

#8 Post by mikeslr »

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.

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#9 Post by musher0 »

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
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
tallboy
Posts: 1760
Joined: Tue 21 Sep 2010, 21:56
Location: Drøbak, Norway

#10 Post by tallboy »

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=mushe ... 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. ... ost#856290

I just renamed the modules sfs and repackaged the files for this xenialPup-7.0.6.
musher0 wrote:Thanks for the ad, tallboy. :)
I'll give you 15 % if sindi buys the product. :lol: :wink:
Haha, haha, you're too late, I cheated on you because I've already downloaded it! :P
True freedom is a live Puppy on a multisession CD/DVD.

jeff757
Posts: 18
Joined: Wed 12 Dec 2012, 03:33

kernel 3.0.25

#11 Post by jeff757 »

sindi

Here is where you will find kernel 3.0.25 sfs http://ftp.nluug.nl/ftp/pub/os/Linux/di ... atched.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

Post Reply