Porteus-v1.0-alpha-x86_64 calls for testing

New features which should be implemented in Porteus; suggestions are welcome. All questions or problems with testing releases (alpha, beta, or rc) should go in their relevant thread here, rather than the Bug Reports section.
User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#31 by brokenman » 27 Feb 2011, 20:09

activation scripts are in /usr/bin/activate and /usr/bin/kactivate

If KDE is found activate then activate calls kactivate
How do i become super user?
Wear your underpants on the outside and put on a cape.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#32 by beny » 27 Feb 2011, 20:51

ok, but when I install a program formats XZM and active it, menu 'kde disappears, and I can't point to any application only reboot put things right.

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#33 by fanthom » 28 Feb 2011, 18:48

@all
working on a BETA which should be ready this week.

KNOWN BUGS:
- sleep mode for laptops doesnt work
- some wallpapers are not recognized by KDE
- Kmenu is messed up when 'kbuildsycoca4' is run (after activation of a module)

HACKS:
- 004/~.kde4/Autostart/task: taskbar fix
- 001/etc/modprobe.d and rc.M: blacklist/load rt2860sta (not sure if it's a real reason of oopses)

TO TEST:
- someone with nvidia GPU - please check if solution from here:
http://www.linuxquestions.org/questions ... nt-860976/
can solve nouveau issue for 1.0_alpha

CHANGELOG:
- added 'fumount' function to cleanup script inside initrd (if umount point is 'busy' during umount procedure then is remounted 'ro')
- linuxrc now fully support 'lazy' devices (slow usb/cdrom which needs extra time for initialization), fstab is always correct (thanks Ahau for bug report)
- added 'nomagic' cheatcode, updated /boot/porteus.cfg 'Always Fresh' mode and /porteus/cheatcodes.txt. Ahau suggestion.
- added 001/usr/bin/changes-time script
- ported some 32bit stuff: start_here.sh, docs, extlinux (great job guys!)
- xmodtools, extpkg, rempkg. ..., ...

TODO:
- write start_here.bat (for windows users)
- write g4d install bat (for windows users)
- rewrite kactivate/kdeactivate with xdialog (xactivate/xdeactivate)
- many, many small fixes still ahead of me....

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
Tonio
Contributor
Contributor
Posts: 276
Joined: 28 Dec 2010, 16:37
Distribution: Slackware,porteus,FreeBSD,Slax
Location: 127.0.0.1

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#34 by Tonio » 28 Feb 2011, 23:11

- someone with nvidia GPU - please check if solution from here:
http://www.linuxquestions.org/questions ... nt-860976/
can solve nouveau issue for 1.0_alpha
@fanthom that fixes the issue with Slackware current. Will apply it to Alpha 1.0 and report back with an edit.
NOTE:
KDE segfaults :( and only xfce works here :)
/*

X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.37 Slackware Linux Project
Current Operating System: Linux GHS-E213-2 2.6.35.11 #2 SMP Tue Feb 8 00:10:05 CST 2011 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=802 vt.default_utf8=0 3
Build Date: 08 February 2011 08:45:11PM

Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 28 16:49:17 2011
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) NOUVEAU(0): Error creating GPU channel: -19
(EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
resize called 1680 1050
xset: bad font path element (#10), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
QMetaObject::invokeMethod: No such method KUniqueApplication::loadCommandLineOptionsForNewInstance()
kbuildsycoca4 running...
Fetched layout groups from X server: layouts: ("us") variants: ("")
Fetched layout groups from X server: layouts: ("us") variants: ("")
QMetaObject::invokeMethod: No such method KUniqueApplication::loadCommandLineOptionsForNewInstance()
Invalid D-BUS member name 'idle-hint' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'is-local' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'x11-display' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'display-device' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'remote-host-name' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'session-type' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
Invalid D-BUS member name 'unix-user' found in interface 'org.freedesktop.ConsoleKit.Session' while parsing introspection
kded(2141)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
QDBusConnection: name 'org.kde.kglobalaccel' had owner '' but we thought it was ':1.5'
kwin(2179) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Mesa Project"
kwin(2179) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Software Rasterizer"
kwin(2179) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "1.4 (2.1 Mesa 7.9.2-devel)"
kwin(2179) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "software" , version "7.9.2.-devel)"
kwin(2179): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed"
kwin(2179): ""restore2" - conversion of "0,0,0,0" to QRect failed"
kwin(2179): ""fsrestore2" - conversion of "0,0,0,0" to QRect failed"
kwin(2179): glCheckFramebufferStatus failed: "GL_NO_ERROR"

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x4a0268]
1: /usr/bin/X (0x400000+0x60fc9) [0x460fc9]
2: /lib64/libc.so.6 (0x7fc6cf760000+0x340b0) [0x7fc6cf7940b0]
3: /lib64/libc.so.6 (0x7fc6cf760000+0x8b04b) [0x7fc6cf7eb04b]
4: /usr/lib64/xorg/modules/libfb.so (fbBlt+0xf8) [0x7fc6cda002b8]
5: /usr/lib64/xorg/modules/libfb.so (fbBltStip+0x40) [0x7fc6cda01040]
6: /usr/lib64/xorg/modules/libfb.so (fbGetImage+0x206) [0x7fc6cda067a6]
7: /usr/bin/X (0x400000+0x154dd8) [0x554dd8]
8: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fc6ceca3000+0x38e3a) [0x7fc6cecdbe3a]
9: /usr/lib64/xorg/modules/dri/swrast_dri.so (0x7fc6cca1d000+0x2906b) [0x7fc6cca4606b]
10: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fc6ceca3000+0x38dd8) [0x7fc6cecdbdd8]
11: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fc6ceca3000+0x359fe) [0x7fc6cecd89fe]
12: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fc6ceca3000+0x36842) [0x7fc6cecd9842]
13: /usr/lib64/xorg/modules/extensions/libglx.so (0x7fc6ceca3000+0x38453) [0x7fc6cecdb453]
14: /usr/bin/X (0x400000+0x2def1) [0x42def1]
15: /usr/bin/X (0x400000+0x21ffe) [0x421ffe]
16: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7fc6cf77ee5d]
17: /usr/bin/X (0x400000+0x21bb9) [0x421bb9]
Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
klauncher: Exiting on signal 1
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
Unexpected response from KInit (response = 0).
startkde: Could not start ksmserver. Check your installation.
QProcess: Destroyed while process is still running.
kdeinit4: Fatal IO error: client killed
kdeinit4: sending SIGHUP to children.
xinit: connection to X server lost
kglobalaccel: Fatal IO error: client killed
kded4: Fatal IO error: client killed
olivares@GHS-E213-2:~$ Qt-subapplication: Fatal IO error: client killed
Error: Can't open display: :0
GOT SIGHUP
Could not connect to D-Bus server: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-fTOaF722EC: Connection refused
startkde: Shutting down...
kdeinit4_wrapper: Warning: connect(/home/olivares/.kde/socket-GHS-E213-2/kdeinit4__0) failed: : No such file or directory
Error: Can not contact kdeinit4!
startkde: Running shutdown scripts...
xprop: unable to open display ':0'
xprop: unable to open display ':0'
startkde: Done.
kdeinit4: sending SIGTERM to children.
kdeinit4: Exit.
/******
Working in xfce starting up

X.Org X Server 1.9.4
Release Date: 2011-02-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.37 Slackware Linux Project
Current Operating System: Linux GHS-E213-2 2.6.35.11 #2 SMP Tue Feb 8 00:10:05 CST 2011 x86_64
Kernel command line: BOOT_IMAGE=Linux ro root=802 vt.default_utf8=0 3
Build Date: 08 February 2011 08:45:11PM

Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 28 16:50:47 2011
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) NOUVEAU(0): Error creating GPU channel: -19
(EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
resize called 1680 1050
xrdb: "Xft.hinting" on line 9 overrides entry on line 6
xrdb: "Xft.hintstyle" on line 11 overrides entry on line 7
Agent pid 2860
xfdesktop[2891]: starting up

HP Linux Imaging and Printing System (ver. 3.11.1)
System Tray Status Service ver. 2.0

Copyright (c) 2001-9 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

warning: No hp: or hpfax: devices found in any installed CUPS queue. Exiting.

*******/

*/

Posted after 16 minutes 59 seconds:
@fanthom & all

The nouveau-kms.conf hack in /etc/modprobe.d/ fixes the issue :) Thanks.

bash-4.1# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 6150SE nForce 430] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control

root@porteus:~# cat /mnt/sda2/etc/modprobe.d/nouveau-kms.conf
options nouveau noaccel=1

root@porteus:~# cat /mnt/sda2/etc/modprobe.d/nouveau-kms.conf > /etc/modprobe.d/
/nouveau-kms.conf
root@porteus:~# cat /etc/modprobe.d/nouveau-kms.conf
options nouveau noaccel=1

root@porteus:~# xconf
Trying to autoconfigure Xwindow system, please wait...
creating /etc/X11/xorg.conf...
all done. Run startx now.
If you get black screen or Out-Of-Sync, hit Ctrl+Alt+NumPlus few times
root@porteus:~# startx
xauth: file /root/.serverauth.2801 does not exist
xauth: file /root/.Xauthority does not exist
xauth: file /root/.Xauthority does not exist


X.Org X Server 1.9.3
Release Date: 2010-12-13
X Protocol Version 11, Revision 0
Build Operating System: Slackware 13.1 Slackware Linux Project
Current Operating System: Linux porteus 2.6.38-rc4-porteus #3 SMP PREEMPT Wed Fe
b 9 17:47:19 Local time zone must be set--s x86_64
Kernel command line: root=/dev/ram0 ramdisk_size=6666 rw initrd=/boot/initrd.xz
BOOT_IMAGE=/boot/vmlinuz
Build Date: 31 January 2011 07:25:48PM

Current version of pixman: 0.20.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Feb 28 17:03:56 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) NOUVEAU(0): Error creating GPU channel: -19
(EE) NOUVEAU(0): Error initialising acceleration. Falling back to NoAccel
resize called 1680 1050
startkde: Starting up...
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QS
tring,QString,QString)
kbuildsycoca4 running...
/* removed no need, eveything is working.. */

Should you need further information, please let me know. On my slackware-x86_64 current intallation KDE segfaults, but XFCE works fine. Now with the nouveau-kms.conf file everything is fine here on porteus 1.0 x86_64 alpha :)

bash-4.1# cat /etc/porteus-version
Porteus-v1.0
bash-4.1# uname -r
2.6.38-rc4-porteus
bash-4.1# uname -a
Linux porteus 2.6.38-rc4-porteus #3 SMP PREEMPT Wed Feb 9 17:47:19 Local time zone must be set--s x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5200+ AuthenticAMD GNU/Linux

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#35 by Ahau » 02 Mar 2011, 00:27

RE: Kmenu issue-- I'm hoping this will be resolved in your beta release with KDE 4.6.1. However, I still wanted to record a few quirks I've discovered while playing with this, in case 4.6.1 doesn't resolve it:

If I boot into text mode and activate a module, then startx, the problem does not occur.
If I boot into KDE, activate the module, log out and then back in to KDE, it does not resolve the problem.

If you activate a module and navigate (in Dolphin) to /usr/share/applications, the folder will appear empty. If you open a console and cd to /usr/share/applications and enter 'ls', porteus crashes, citing a "stale NFS handle file".

If you open a console before activating a module, navigate to /usr/share/applications, enter 'ls', then activate the module, and then start the desired application from a different console (e.g., 'gimp'), go back to the first console, and hit 'ls' again, then the files in /usr/share/applications are visible, and you can run kbuildsycoca4, and the icon becomes visible in the application menu. You can then activate other modules, run kbuildsycoca4, and they will become visible in the kmenu.

buggy, eh?

Posted after 1 day 1 hour 13 minutes 24 seconds:
@fanthom- adding the nouveau-kms.conf file to my system breaks it. I get a black screen, no video comes up. had to ctrl-alt-F6 to get a command line, to delete it. The good news is that it has been fixed in the latest kernel release candidate, according to the last post in your link.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#36 by fanthom » 02 Mar 2011, 08:27

@Tonio, Ahau
Thanks guys for your help. just compiling rc-7 kernel for BETA and dropping /etc/modprobe.d/nouveau-kms.conf. (brokenman - please also do)

@Ahau
thanks for your work on 'Kmenu' issue. KDE-4.6.1 should be ready in few days. Hopefully it's also fixed upstream :)

Cheers
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#37 by Ahau » 04 Mar 2011, 17:30

Ok, I know I'm like a dog with a bone when it comes to this Kmenu/Stale NFS issue...I can't seem to leave it alone.

Anyway, I found a post on the slax forum from Slax 6.0.9, where the same exact issue occurred. It was reported by fundamental, with a solution by markds:
markds wrote:
fundamental wrote:
Possible AUFS/Squashfs Issue

Code: Select all

root@slax:~/Desktop# find /usr/>/dev/null
find: /usr/share/applications/kde: Stale NFS file handle
root@slax:/usr/share/applications# ls
/bin/ls: cannot open directory .: Stale NFS file handle
Could be a bug with httpfs (I had vlc-086e.lzm activated over httpfs and the issue went away after deactivating the module)
(not a httpfs problem, as the same occured with mysql and crack-attack modules activated)
(Perhaps there is some incapatiablility with modules made under old versions of aufs/squashfs)
Seems to be the case of compatibility. This stale NFS file handle issue only occurs when I insert modules on the fly that were created using older versions of squashfs.

In any case I managed to update the kernel to 2.6.28.1 and compiled in the squashfs, etc as from Tomas' build.kernel script. I had to manually tweak a few things and add a patch for the squashfs3.4 against the 2.6.28 kernel but it works. The mksquashfs/unsquashfs uses both processors, but I get that annoying "TIOCGWINZ ioctl failed, defaulting to 80 columns" warning. Has anyone fixed that yet?
Is this of any help?
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Re: Porteus-v1.0-alpha-x86_64 calls for testing

Post#38 by fanthom » 05 Mar 2011, 21:36

@Ahau
thanks a lot for your help (as usual). unfortunately 'kmenu disappearing icons' bug is still here: Kde-4.6.1 and Kde-4.5.5. you were probably right - it's not kde but rather aufs causing this :(
will try to find out more, info gathered by you is very helpful :)
-----------------------------------------------------------------------------------------
STATUS UPDATE

KDE-4.6.1 closed 2 bugs:
- plasma crash with kwin opengl effects on when some apps were launched
- wallpapers are always displayed properly

2 Kde related bugs are still opened:
- taksbar size: https://bugs.kde.org/show_bug.cgi?id=265051
- system doesn't wake up when you close laptop lid (powerdevil issue).

2 system related bugs:
- 'kmenu disappearing icons' bug when module is activated - this bug has highest priority now.
- 'no process left in this runlevel' bug during shutdown after high CPU activity (may be also aufs related) - will try to track it down tomorrow.

KDE-4.5.5
- no bugs (except of 2 system related ones)

looks like 1.0 will be shipped with KDE-4.5.5 :)

EDIT://
'kmenu disappearing icons' bug is closed now :) Thanks Ahau and brokenman for help!
just one left and BETA is out :Yahoo!:
Please add [Solved] to your thread title if the solution was found.

Post Reply