Unnamed puplet 1.1 (puppy411 kernel-2.6.28.5 Xorg-7.4 LXDE)

For talk and support relating specifically to Puppy derivatives
Message
Author
MUguest
Posts: 73
Joined: Sat 09 Dec 2006, 16:40

#21 Post by MUguest »

I currently run Ultrapup 1.1 in Virtualbox in Windows XP.

It is booted from an iso-image, that was assigned as CD drive.
The harddisk image was partitioned with gparted:
sda1: ext3
sda2: swap

At startup (from the "CD"), the swap is recognized and used.
I can switch it off/on with:
swapoff /dev/sda2
swapon /dev/sda2

This becomes visible in conky 2 seconds later.
Just pmount does not list it.

I would be curious, if your swap is located on a USB-drive?
Maybe the required module like ehci_hcd was not loaded in initrd.gz or rc.sysinit?

Mark

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

#22 Post by MU »

I don't know how far this concerns Ultrapup.
In NYP I use in .xinitrc:
setxkbmap -layout `cat /etc/keymap | cut -f1 -d.`

Not:
XkbApplyNow

This does not work with british keyboards, as etc/keymap contains "uk.map".
But in /etc/X11/xkb/symbols/ you just have "gb".

Solution: create a symlink:

cd /etc/X11/xkb/symbols
ln -s gb uk


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

#23 Post by wow »

More info about the "swap file" bug.

@Mark: it also happens in newyearspup-MU-02-rc7 (kernel 2.6.28.5)
@techtype: I can't find your bug report, can you post a link to it?

It only happen when you try to load a "swap file" (not a linux swap partition) stored in a FAT partition. There is no problem with swap partitions and swap files in Ext partitions.

Examples:
Image Image
1. The 'swapon' command get stuck trying to load the swap file
2. It even works if the swap file is inside an Ext2 file which is in a FAT partition.
[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

#24 Post by wow »

Bug: .conkyrc file is reset every time you start lxde.
Severity: Low
Description: /usr/bin/startlxde will create a fresh copy from /etc/conky/conky.conf to /root/.conkyrc every time you start X.

To solve it, open '/usr/bin/startlxde' with a text editor and replace:
  • Code: Select all

    # Ensure the existance of conky config file
    cp /etc/conky/conky.conf "$HOME/.conkyrc"
    
    with:

    Code: Select all

    # Ensure the existance of conky config file
    if [ ! -f "$HOME/.conkyrc" ]; then
        cp /etc/conky/conky.conf "$HOME/.conkyrc"
    fi
[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

#25 Post by wow »

Bug: Keyboard layouts are not readed from the xorg.conf file.
Severity: Low
Description: I forgot to change a line in '/root/.xinitrc', to run the XkbApplyNow (XkbConfigManager) command every time X is started to read and apply keyboard settings from the xorg.conf file. Without this change you wont be able to use the "Keyboard layout switcher"(LXPanel plugin) properly.
  • 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

    #wow: (custom 4.11 puplet)fix keyboard layout (Xorg 7.4)
    XkbApplyNow
[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:

#26 Post by MU »

bug:
drm.ko does not work, but drm.bak does:
http://www.murga-linux.com/puppy/viewto ... 939#282939
Mark
[url=http://murga-linux.com/puppy/viewtopic.php?p=173456#173456]my recommended links[/url]

techtype
Posts: 180
Joined: Sun 16 Nov 2008, 17:04

#27 Post by techtype »

wow wrote:More info about the "swap file" bug.

@techtype: I can't find your bug report, can you post a link to it?

It only happen when you try to load a "swap file" (not a linux swap partition) stored in a FAT partition. There is no problem with swap partitions and swap files in Ext partitions.
Oh, I see -- my report was that I could not load a swap partition. I did not realize you were focusing on a swapfile.

http://www.murga-linux.com/puppy/viewto ... 914#277914

User avatar
sue
Posts: 23
Joined: Sat 10 May 2008, 03:41
Location: Anaheim, CA, USA

intel xvesa works; xorg goes black

#28 Post by sue »

xvesa works out of the box with my laptop's intel 4500 chipset. I've tried at least 10 other 4.x puppies, and they all go into an infinite loop hunting for a valid mode.

xorg displays the "If you can see this, X is working." but goes black on exit. I think this is fixed in 2.6.2.
Puppy: Because I want speed!

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

#29 Post by wow »

Bug: SDL-1.2.13 without OpenGL support
Severity: Medium
Description: Plinej's sdl-1.2.13,pet package was compiled without OpenGL support, so you wont be able to play certain games such as FretsOnFire, GridWars, Titanion, Torus Trooper, etc.

This is the error message:
Image

To fix it please install the pet package attached below.
[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

oh my . . .

#30 Post by wow »

Seems that I'll need to make a service pack or something like that. Perhaps another ISO.

@MU: thanks, I will fix it soon.
@techtype: Have you tried to reformat that swap patition? (gparted, or mkswap /dev/<device node>)
@sue: It worked in Puppy-3? try to replace your current /etc/X11/xorg.conf file with a working copy. They run these commands to switch to Xorg:

Code: Select all

cp /usr/X11R7/bin/
rm X
cp -s Xorg X
xwin
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

techtype
Posts: 180
Joined: Sun 16 Nov 2008, 17:04

Re: oh my . . .

#31 Post by techtype »

wow wrote:Seems that I'll need to make a service pack or something like that. Perhaps another ISO.

@techtype: Have you tried to reformat that swap patition? (gparted, or mkswap /dev/<device node>)
I was using frugal installs of several pups selected thru grub.
All were able to use the same swap partition except yours. Nevertheless, I remade the swap partition using different tools, locations and sizes with the same result.

User avatar
sue
Posts: 23
Joined: Sat 10 May 2008, 03:41
Location: Anaheim, CA, USA

xvesa works; xorg fails

#32 Post by sue »

From Puppy 3 xorgwizard-errors.log:
FATAL: Module evdev not found.
Intel chipset detected. However, 915resolution was unable to determine the chipset type.
Chipset Id: 2a408086

The generated xorg.conf uses vesa. Rebooting to test under 1.1 with Driver "intel".
Puppy: Because I want speed!

Jota
Posts: 12
Joined: Sun 15 Mar 2009, 14:51

Old kernel are better??

#33 Post by Jota »

wow...

Maybe it will help you to know that I've replace your kernel with the retro kernel 2.6.21 from BK retro puppy 4.12, and EVERYTHING works ok and very fast, including loading the swap file, I'm able to suspend my laptop with just 'echo -n mem > /sys/power/state', etc, etc.

(of course I use 4.12 vmlinuz and initrd.gz, everything else is from your puppy)

But I have one question... I think that I don't need two file managers, I think right now ROX is a better choice, so what files do I need to delete to get rid of pcmanfm??

Thank you,
Jorge

Jota
Posts: 12
Joined: Sun 15 Mar 2009, 14:51

Old kernel are better??

#34 Post by Jota »

wow...

Maybe it will help you to know that I've replace your kernel with the retro kernel 2.6.21 from BK retro puppy 4.12, and EVERYTHING works ok and very fast, including loading the swap file, I'm able to suspend my laptop with just 'echo -n mem > /sys/power/state', etc, etc.

(of course I use 4.12 vmlinuz and initrd.gz, everything else is from your puppy)

But I have one question... I think that I don't need two file managers, I think right now ROX is a better choice, so what files do I need to delete to get rid of pcmanfm??

Thank you,
Jorge

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#35 Post by dinky »

Really impressive! I'd no idea you could do so much with lxde. It is starting to become a new favourite for a windows manager. I'm left feeling inspired and a bit awed... the amount of time you've taken to do this must be phenomenal... it makes my humble efforts at Ripple... well... humble...lol.

Anyway, will be playing around with it on my eeepc tonight. 2 thoughts that could make it more fantastic:

1. The link to My Documents on the desktop should go to /root/my-documents, not /root. It's slightly less confusing, as the ordinary user (talking non technical now) won't get all the other folders in root, and unless they're clear what they are for probably shouldn't be playing around with them anyway. Under /root/my-documents you could have other more usual folders to find... pictures, videos, etc.

2. Make it easier to find packages. This could be working towards an eventual build from Barry's woof, if you wanted to go that far, or simple easy places to find more packages, without having to search the forums. This could even be a link in the system to a site where you can download what's listed on the forums. Even better would be eventual compatibility with another distro that already has large software repositories, but this might take more thought. I think you're on the right track, with this pupplet already becoming a favourtie. Probably more a question of what you could be bothered changing to make it easy for others, and how much you will just use this yourself. Anyway, keep up the great work, it's inspiring.

~dinky

User avatar
Barburo
Posts: 298
Joined: Thu 14 Jun 2007, 18:49

Re: Old kernel are better??

#36 Post by Barburo »

@Jota
Jota wrote:wow...

Maybe it will help you to know that I've replace your kernel with the retro kernel 2.6.21 from BK retro puppy 4.12, and EVERYTHING works ok and very fast, including loading the swap file, I'm able to suspend my laptop with just 'echo -n mem > /sys/power/state', etc, etc.
(of course I use 4.12 vmlinuz and initrd.gz, everything else is from your puppy)
I sometimes have trouble with the new kernels but retro works perfectly for me. Can you say exactly how you "replaced" the kernel. Is it as simple as just replacing the vmlinuz and initrd.gz files with those from retro puppy 4.12?
B.
[i]Laptop[/i]: Acer Aspire 5810TZ

User avatar
dinky
Posts: 699
Joined: Sat 19 Jan 2008, 23:39

#37 Post by dinky »

More feedback:

Haven't been able to get compiz-fusion working. Downloaded needed pet and sfs file... only manage to get a white screen. Tried various options... what needs to happen wow? I like the idea of the compiz icon appearing onto the desktop, but don't understand what else needs to happen. Your post on compiz-fusion says there are other dependencies needed, where do we get them from? Also seems like this recurring white screen is a bit of an issue... needs to be simple. Have you looked at tombh's script in ripple or wNOP? Something like that would make it easy for people. It's the compizwizard script in /usr/sbin (I think, there or thereabouts)

- mouse scroll doesn't work
- mouse pad tap doesn't work without hacking the xorg.conf. This has always irritated me in puppy... for Ripple I've been hacking the xorgwizard to set maxtaptime to 220 by default, not to 0.
- tested on the eeepc701, initial shutdown sometimes hangs before a save file is created. Needed to kill X, then type poweroff to get the prompt for the save file. Problem with this in Ripple to, needs a hack for the shutdown script, not sure what the problem is.
- conky doesn't show up on the eeepc701's screen, though I'm assuming it's running. I don't like conky much, so don't mind (much prefer Cairo Dock's hidden widgets, though that only will work with compositing. Surely that could be gotten going under the xcompmgr, though you may not like it)

Cheers.

~dinky

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

#38 Post by wow »

@Jota:
  • Jota wrote:But I have one question... I think that I don't need two file managers, I think right now ROX is a better choice, so what files do I need to delete to get rid of pcmanfm??
    Ok, remove these files:

    Code: Select all

    /usr/bin/pcmanfm
    /usr/share/applications/pcmanfm.desktop
    /usr/share/applications/pcmanfm-find.desktop
    /usr/share/applications/pcmanfm-folder-handler.desktop
    /usr/share/pcmanfm/icons/file.png
    /usr/share/pcmanfm/icons/folder.png
    /usr/share/pcmanfm/mount.rules
    /usr/share/pixmaps/pcmanfm.png
    /usr/share/pcmanfm/ui/prefdlg.glade
    /usr/share/pcmanfm/ui/appchooserdlg.glade
    /usr/share/pcmanfm/ui/file_properties.glade
    /usr/share/pcmanfm/ui/about-dlg.glade
    /usr/share/pcmanfm/ui/find-files.glade
    Or just disable "Manage Desktop" in PCManFM preferences, enable ROX's Pinboard in LXSessionEdit and restart X.
    Image
@Dinky:
  • Haven't been able to get compiz-fusion working
    Run glxinfo to make sure that you have Hardware acceleration, type something like this in a terminal window:

    Code: Select all

    glxinfo | grep OpenGL
    I broke DRI in the ISO, please read this to fix it: http://www.murga-linux.com/puppy/viewto ... 939#282939
    If you need more input drivers for X download this SFS:
    [Xorg-7.4-video-input-apps-i686-wow-patched_411.sfs] (User: "puppy"; Password: "linux")

    About mouse scroll, try to change mouse protocol in /etc/X11/xorg.conf
    Option "Protocol" "string"
    Specify the mouse protocol. Valid protocol types include:

    Auto, Microsoft, MouseSystems, MMSeries, Logitech, MouseMan, MMHitTab, GlidePoint, IntelliMouse, ThinkingMouse, ValuMouseScroll, AceCad, PS/2, ImPS/2, ExplorerPS/2, ThinkingMousePS/2, MouseManPlusPS/2, GlidePointPS/2, NetMousePS/2, NetScrollPS/2, BusMouse, SysMouse, WSMouse, USB, Xqueue.
    More info: http://ftp.x.org/pub/X11R6.9.0/doc/html/mouse4.html
    initial shutdown sometimes hangs before a save file is created. Needed to kill X, then type poweroff to get the prompt for the save file
    MU has a workaround for this in his NYP, there's a dialog asking to create a pup_save file and reboot, before start X.
    conky doesn't show up on the eeepc701's screen, though I'm assuming it's running. I don't like conky much, so don't mind (much prefer Cairo Dock's hidden widgets, though that only will work with compositing. Surely that could be gotten going under the xcompmgr, though you may not like it)
    Yes, CairoDock works under xcompmgr. I like it, but I don't needed in the main sfs (pup_411.sfs) I prefer screenlets though...
[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

Addon

#39 Post by wow »

SFS addon: The complete set of DRI drivers, MesaLib-7.3 and MesaGLUT-7.3

Download:
BUGFIX: enable DRI
delete:
/lib/modules/2.6.28.5/kernel/drivers/gpu/drm/drm.ko
And rename
/lib/modules/2.6.28.5/kernel/drivers/gpu/drm/drm.bak
to
/lib/modules/2.6.28.5/kernel/drivers/gpu/drm/drm.ko

Then restart X or better reboot.
[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

#40 Post by wow »

VirtualBox kernel modules for linux-2.6.28.5

Install the .pet package attached below if you want to use my VirtuarBox SFS in this puplet.

Download VirtualBox-2.1.0.sfs [here] [browse]

ID: puppy
Password: linux
Attachments
VirtualBox-2.1.0-k2.6.28.5.pet
VirtualBox kernel modules for linux-2.6.28.5
(79.63 KiB) Downloaded 698 times
Last edited by wow on Sun 24 Oct 2010, 17:06, edited 1 time in total.
[url=http://www.puppylinux.com][img]http://i.imgur.com/M4OyHe1.gif[/img][/url]

Post Reply