Unnamed pupplet (puppy411 kernel-2.6.27.5 Xorg-7.4 LXDE)

For talk and support relating specifically to Puppy derivatives
Message
Author
Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#211 Post by Leon »

wow wrote:
Leon wrote:I noticed that sl_SI locale special characters in Rox are shown properly even if locale is set to en_US.
Would you be willing to explain what have you done to set this option to work?
Easy: Full install
  • You have to compile your own kernel with these options in "DOS/FAT/NT Filesystems"(kernel's .config file):

    Code: Select all

    CONFIG_FAT_DEFAULT_CODEPAGE=850
    CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
    Install and boot your kernel.
Hard: Full install, initrd.gz and pup_4xx.sfs edit, remaster LiveCD.
  • Compile linux kernel with these options in "DOS/FAT/NT Filesystems"(kernel's .config file):

    Code: Select all

    CONFIG_FAT_DEFAULT_CODEPAGE=850
    CONFIG_FAT_DEFAULT_IOCHARSET="utf8"
    Install and boot your kernel.
    Extract contents of initrd.gz and replace every kernel module in initrd/kernel/
    Add nls_utf8.ko and nls_cp850.ko files to initrd/kernel/fs/nls/
    Replace names(nls_cp850 and nls_utf8) in initrd/init (text file)
    Instructions to edit the initrd.gz file, patch the linux kernel, make an iso with your new kernel and more help [here], [here], [and here]
Many thanks for the instructions.

Leon

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#212 Post by wow »

battleshooter wrote:
I'll try to test this new intel driver today (I don't have the hardware to, but some friends have it) and make dotpets later.
Yippee! Thanks so much Wow :D
I spoken too soon... I missed something...
http://cgit.freedesktop.org/mesa/drm/tree/README wrote:The kernel device modules are not shipped with libdrm releases and should only
be built from the git tree by developers and bleeding-edge testers of
non-Intel hardware. The Intel kernel modules are developed in the Linux
kernel tree.
So I have to download and compile drm-intel. Anyway, I have packaged everything else, download these files if you want [download from filefront]:
  • libdrm-2.4.4git-i686.pet
    mesa-7.3-i686.pet
    drm-2.4.4-k2.6.27.5.tar.bz2
    xf86-video-intel-2.6.1-i686.pet (attached below)
Installation:
1. Switch to Xvesa (exit X and run xorgwizard)
2. Once in Xvesa, install: libdrm-2.4.4git-i686.pet; mesa-7.3-i686.pet; xf86-video-intel-2.6.1-i686.pet
3. Extract drm-2.4.4-k2.6.27.5.tar.bz2 to any folder (example: /root)
4. Exit X, go to the drm-2.4.4.-k2.6.27.5/ folder and run install.sh. Example:

Code: Select all

cd /root/drm-2.4.4.-k2.6.27.5/
./install.sh
5. Install drm-intel modules. Pending... remember? maybe tomorrow...
Screenshot: Mesa-7.3, vesa xorg video driver, software rasterizer (vesa has no hardware acceleration)
Image
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#213 Post by MU »

iscraigh also will post a kernel request soon (I asked him to post it here, after he wrote a pm).

This should force us to overthink, if we should go for a new kernel, with all the new settings we need.

I would need for the new Ati catalyst driver:

Code: Select all

# 
# Bus options (PCI etc.) 
# 
CONFIG_PCI_MSI=y
If we decide to compile such a kernel, and build new isos then, we also might switch to a newer kernel release?
Or should we stay with the current one?
I was planning to try 2.6.29 in april, because it includes some new stuff for next xorg releases (dri2 I think, but I'm not certain, if it was called different).
Apart from that, I have no need of a new kernel release yet.
We also had to test, if the Ati and Nvidia drivers compile with it, especially nvidia 96 and 173.

What do you think?
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#214 Post by MU »

iscraigh seems to be offline, so here I quote his request, before I go asleep:
--------------------------------------------------------------------------------

Mark

I have cobbled together a puplet based on the unamed pup for the Aspire one netbook. I still have a hardware issue with the sd card slots being recognized. Using some advice from other posting on the aspire one I was able to get the left card hotplugging but found I did not have the pciehp module.

Tempestuous suggested I ask you "very nicely" to enable it in the kernel.
I suggest you ask MU nicely to enable this module in the 2.6.27 kernel configuration. It's at:
"Bus options (PCI etc.)" > "Support for PCI Hotplug"
this will then reveal an additional option above it called "PCI Express Hotplug driver"
This driver will not load automatically. The best way to load it at each bootup is by adding it to Puppy's "ADDLIST".
If this is not to much trouble I would appreciate it.

On that note assuming you are able to do this would I have to do the whole remaster again or could I mount the sfs file (is mounting an sfs rw possible) and swap in your kernel?

I am finding myself a little over my head I just made this for my kids and now people are using it so I feel I should try to keep it up.

As log as I am harrasing you :) one more thing

Boot speed is slower on puppy than a full ubuntu install.

I see that sickboy from the kuki linux project has a kernel just for the aspire that is supposed to be fast, could I substitute that kernel? (It can't be that easy I am sure)
Puppy seems to take forever at
loading kernel drivers to access disk drives
Any help appreciated.


Craig
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#215 Post by MU »

Puppy seems to take forever at Quote:
loading kernel drivers to access disk drives
I just have a rough idea:

At startup, use the option:
pdev1=sda1

If you boot from CD, type at the bootscreen:
puppy pdev1=sda1

If you boot frugal, add in the end of the line that loads the kernel:
pdev1=sda1

Instead of sda1, use the name of the drive, where your savefile is located.
This avoids, that Puppy scans ALL partitions for a savefile.

If the delay happens BEFORE this part already, we had to look closer at initrd.gz.
We must look, if that part can be optimized.
I hope I have time for this at weekend.
In "init", there is a part, that greps dmesg for loaded drivers. If I remember well, this uses a delay/timeout.
Maybe this can be enhanced.
I boot some files from an external USB-harddisk, so maybe, this is faster that on computers without USB-drives, as they write different messages to dmesg.
I could setup a testsystem, that will completely load from my internal drive (a CF card replacing a harddisk), without other drives attached.

-----------------
Simply replacing a kernel is not that simple.
The problem is, that also the modules in initrd.gz must be replaced, and some files in /etc/modules.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

iscraigh
Posts: 276
Joined: Sun 03 Sep 2006, 05:50

#216 Post by iscraigh »

Mark

Got home and was just going to post, thank you for posting for me.

I have tried the pdev tricks, as well as using pizzagoods advice on editing the initrd.gz config to not force a loading in ram of the pup save file. This trick sped boot up marginally. The slowdown seems to occure before it is looking for the pup save file.

I have tried a full install as well as a frugal, both to the ssd drive.

The version of alsa in the newer kernels support the aspire one better... so I read.

Boot speed of a full install of Ubuntu is about 55 seconds
linux4one custom Ubuntu about 50 seconds
plain puppy is about 1:02
my version about 1:10
Linpus that comes with it 20 seconds
Faster from a usb stick than from the internal drive.

It would be nice to see boot times on the Aspire of 30 or 40 seconds although this may not be realistic with a generic kernel.

Thanks for the help and for the base you have given me.


Craig


Craig

giomanh
Posts: 1
Joined: Thu 12 Feb 2009, 04:04

#217 Post by giomanh »

[lxde-pup411-i18n-r1.sfs] [18.07 MB] [more info] [more translations] native language support / langpack
I downloaded it, but i can not mount it:

mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#218 Post by wow »

Compressed with SquashFS-LZMA-3.3, official puppy releases won't mount it. You must use my puplet, or any other with SquashFS-LZMA-3.3.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#219 Post by wow »

MU wrote:I would need for the new Ati catalyst driver:

Code: Select all

# 
# Bus options (PCI etc.) 
# 
CONFIG_PCI_MSI=y
More reasons to recompile:
  • Some people use Ndiswrapper to load WinXP drivers, but with this kernel...

    Code: Select all

    *** WARNING: This kernel uses 4K stack size option
    (CONFIG_4KSTACKS); many Windows drivers will not work
    with this option enabled. Disable CONFIG_4KSTACKS
    in kernel's .config file, recompile and install kernel
    I can't compile the latest drm-intel modules (i830 compiled, loaded and untested. i915 refuses to compile) for 2.6.27.5. I ended with the whole 2.6.29rc2 source tree when downloading drm-intel :cry:
Not so bad, because I don't need/have an AMD/ATI gpu, intel gpu, nor wireless devices :lol: I designed this iso just for me and my needs, but who cares it was fun!
____________________________________________________________________

If we decide to compile such a kernel, and build new isos then, we also might switch to a newer kernel release?
My vote goes to compile another kernel and pack it in puppy-unleashed*s format. Newer kernel release? of course, as long as it can use squashfs-lzma and aufs by default.
____________________________________________________________________

MU wrote:I was planning to try 2.6.29 in april, because it includes some new stuff for next xorg releases (dri2 I think, but I'm not certain, if it was called different).
Please read this:
  • http://www.squashfs-lzma.org/ wrote:SquashFS version 4.0 is included in Linux Kernel 2.6.29. LZMA support is not there, but since squashfs made its way to the kernel, LZMA compression algorithm will follow it sooner or later. What does it mean for this project (squashfs-lzma.org)? There is no longer any interest in developing separate patches against squashfs 4.0. If you need it, you'll most likely find it in official Kernel 2.6.30 or so. So don't worry, be happy :)
____________________________________________________________________
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

kernel 2.6.29rc4

#220 Post by wow »

I'm using the latest kernel (2.6.29rc4), with requested modifications to .config file (MU, iscraig, ndiswrapper) I have no problems with this new kernel even after installing the latest nVidia's beta driver. Except for SquashFS-4.0, it is not compatible with older versions!! I was unable to use Puppy2/3/4 sfs files compressed with or without lzma.
Image

Now I'll test this:
Ubuntu linux-source-2.6.28 (2.6.28-8.21)
http://packages.ubuntu.com/jaunty/linux-source-2.6.28
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#221 Post by MU »

very good!
Ok, incompatibility with other sfs is an argument against it - so if 2.6.28 does not have that issue, we should prefer that maybe.

I think the main advantage of 29 is the new implementation of some xorg related features.
But it then will certainly take a while, until a stable xorg supporting this correctly, will follow.
And that again then must be supported by Ati/Nvidia.
So this might not be usable until mai or so.

Thanks for keeping us up to date with your current progress, I really appreciate this.
So I will try to look at some remaining issues with newyearspup instead of running own kernel-experiments this weekend.

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#222 Post by MU »

on the other hand, sfs are often pretty specific.
Also Puppy 4.2 will not support more that 3 sfs I think.
So for me it would be ok, to "convert" such sfs to the unnamed puplet on request, and host them.

So if 29rc runs stable, why not...
Curious about what you will prefer :)

Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#223 Post by wow »

2.6.29

NO) it's not my intention to create a new distro.

NO) I prefer SquashFS-LZMA because I have puppy installed to a USB flash device and use it all the time, filesize is important to me 'cause I just have 1GB for data (.sfs and .2fs)

NO) I don't want to convert all my SFS to the new version. (specially if I need to share some sfs to puppy3)

YES) my sqlzma compressed SFS are not compatible with official puppy releases, the same will happen with squashfs-4

YES) software compiled in this puplet are not compatible with puppy 4/3/2/1

YES) since I made this puplet just for me (initially) I don't care if other users can't use their old SFS files :twisted:

YES) what if I remove SquashFS-4 then add SquashFS-LZMA-3.4?
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#224 Post by MU »

not to forget, we still could stay with 2.6.27.
For me it works fine.

Mark
Last edited by MU on Sat 14 Feb 2009, 14:19, edited 1 time in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#225 Post by MU »

-
removed this message, a it was related to a ntfs error in newyearspup only.
Issue seems to be solved:
http://www.murga-linux.com/puppy/viewto ... 802#274802
Last edited by MU on Sat 14 Feb 2009, 14:20, edited 2 times in total.
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#226 Post by battleshooter »

I can't compile the latest drm-intel modules (i830 compiled, loaded and untested. i915 refuses to compile) for 2.6.27.5. I ended with the whole 2.6.29rc2 source tree when downloading drm-intel
Hey Wow,

Oh well thanks for even trying. Like you say, you're just giving me a hand so I appreciate it very much! Thanks for all your effort. Thanks Mark as well for helping me too. Maybe one day something will work out and I'll be able to OpenGL and 3D acceleration on this laptop.

Thanks again guys!

Battleshooter

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#227 Post by wow »

I running Ubuntu kernel 2.6.28-8.21 (2.6.28 + ubuntu patches), is has squashfs, aufs, unionfs and more 3rd party drivers built in, all I need to do now is to increase "min loop devices" number, patch squashfs-lzma, apply the loglevel patch, remove utf8 warning for vfat filesystems, rebuild a new initrd.gz file, pack this kernel in puppy-unleashed format and share a new ISO.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#228 Post by wow »

BUGFIX: dougal's xkbconfigmanager

Now works on Xorg-7.4, I replaced all calls to /etc/X11/xkb/rules/xorg.lst with /etc/X11/xkb/rules/evdev.lst

Installation:
- Install xkbconfigmanager-evdev.pet
- Open /root/.xinitrd with a text editor and replace:

Code: Select all

#wow: (custom 4.11 puplet)fix keyboard layout (Xorg 7.4)
setxkbmap -layout `cat /etc/keymap | cut -f1 -d.` 
with

Code: Select all

XkbApplyNow
Keyboard layouts(Xorg-7.4) are defined as HAL rules(US by default), thats why I use XkbApplyNow to read and apply keyboard layouts from xorg.conf file.
Attachments
xkbconfigmanager-evdev.pet
patched for Xorg-7.4
(20.92 KiB) Downloaded 607 times
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#229 Post by MU »

great news, so I will try to add it to newyearspup next weekend, if it is ready then.
If not yet, I'll try to sort out more bugs (which I must do in any case. :roll: )
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

wow
Posts: 1052
Joined: Fri 30 Jun 2006, 00:18
Location: Peru

#230 Post by wow »

I haven't patched anything yet. I had a busy weekend(again).

I'm attaching my .config file, if you feel that it need some changes please do it.
Sources: linux-source-2.6.28 and patch 2.6.28-8.21.diff.gz
http://packages.ubuntu.com/jaunty/linux-source-2.6.28
Attachments
DOTconfig-k.2.6.28-8.21_i686_SMP_wow.gz
kernel .config file
(21 KiB) Downloaded 593 times
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

Post Reply