Porteus Nemesis v3.5 BUG REPORTS

Arch based Porteus community project
beny
Full of knowledge
Full of knowledge
Posts: 728
Joined: 02 Jan 2011, 11:33
Location: italy

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#46 by beny » 09 Jan 2016, 21:15

hi no you have to sudo option not root but guest password guest .

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#47 by roadie » 09 Jan 2016, 21:20

beny wrote:hi no you have to sudo option not root but guest password guest .

Right you are, beny

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

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#48 by beny » 09 Jan 2016, 22:17

hi the kernel used for the new nemesis,brokenman consider to apply the patch:

--- a/arch/x86/kernel/cpu/mtrr/main.c 2015-10-18 08:10:52.951166026 +0100
+++ b/arch/x86/kernel/cpu/mtrr/main.c 2015-10-18 08:11:54.651493742 +0100
@@ -448,6 +448,7 @@
return mtrr_add_page(base >> PAGE_SHIFT, size >> PAGE_SHIFT, type,
increment);
}
+EXPORT_SYMBOL(mtrr_add);

/**
* mtrr_del_page - delete a memory type region
@@ -536,6 +537,7 @@
return -EINVAL;
return mtrr_del_page(reg, base >> PAGE_SHIFT, size >> PAGE_SHIFT);
}
+EXPORT_SYMBOL(mtrr_del);

/**
* arch_phys_wc_add - add a WC MTRR and handle errors if PAT is unavailable
the nvidia card user can build the driver with this patch,btw i have tried to rebuild kernel with the nemesis config but no way, so i am with a default kernel and no nvidia module build.

aus9

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#49 by aus9 » 09 Jan 2016, 23:40

will use ref to see if this resolves the error for cgmanager shortly

Code: Select all

sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc
ref
https://wiki.manjaro.org/index.php?titl ... to_systemd
EDIT
no we have them already

Code: Select all

sudo pacman -S consolekit-openrc polkit-consolekit cgmanager-openrc
[sudo] password for guest: 
warning: consolekit-openrc-20151020-1 is up to date -- reinstalling
warning: polkit-consolekit-0.113-4 is up to date -- reinstalling
warning: cgmanager-openrc-20151014-1 is up to date -- reinstalling
process aborted and more research on openrc etc

edit2 OK looks like polkit is not running by default?

Code: Select all

rc-service -l
NetworkManager
acpid
alsasound
binfmt
boot-network
bootmisc
cgmanager
cgproxy
consolefont
consolekit
cronie
dbus
devfs
device-mapper
dhcpcd
dmesg
dmeventd
fsck
ftpd
gpm
haveged
hostname
hwclock
ip6tables
iptables
keymaps
killprocs
kmod-static-nodes
local
localmount
loopback
mdadm
mdraid
modules
mount-ro
mtab
net-online
net.lo
netmount
nscd
ntp-client
ntpd
numlock
openvpn
osclock
prelogin
preshutdown
procfs
root
s6-svscan
savecache
sntp
sshd
swap
swapfiles
swclock
sysctl
sysfs
syslog-ng
termencoding
tmpfiles.dev
tmpfiles.setup
udev
udev-settle
udev-trigger
urandom
edit next

Code: Select all

sudo rc-update add polkit-consolekit default
[sudo] password for guest: 
 * rc-update: service `polkit-consolekit' does not exist
hmmm next edit....without the grep it is a large list of services but this shows no such service but the package is installed?

Code: Select all

rc-status -s | grep polkit

aus9

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#50 by aus9 » 10 Jan 2016, 00:08

ahh rather than keep editting above post this focusses on just one minor issue....minor as it does not resolve cgmanager log errors

https://abchk1234.wordpress.com/category/openrc/
polkit-consolekit and polkit are in conflict
I am not really sure so will now slink away

User avatar
Ed_P
Contributor
Contributor
Posts: 3205
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#51 by Ed_P » 10 Jan 2016, 03:07

roadie wrote:@Ed_P

Try this command from the console prompt when you boot to textmode on the new machine....comes from brokenman:
exec ck-launch-session dbus-launch startlxde
Finally.

Code: Select all

guest ~$ exec ck-launch-session dbus-launch startlxde
** Message: main.vala:99: Session is LXDE
** Message: main.vala:100: DE is LXDE
** Message: main.vala:131: log directory: /home/guest/.cache/lxsession/LXDE
** Message: main.vala:132: log path: /home/guest/.cache/lxsession/LXDE/run.log 
Ctrl+C to exit. Resigning on as guest I got the GDBus error msg again. But it should be noted the last 2 digits keep changing. This time '2292'.
if you run "ck-list-sessions" from a terminal in X, it'll probably show nothing.
Correct. Nothing as guest and nothing as root.
Ed

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#52 by roadie » 10 Jan 2016, 03:18

@Ed_P

Try, as guest, "startx /usr/bin/startlxde".....if that doesn't work, try "lxdm"....need to sudo or su.

Then run the ck-list-sessions again.

User avatar
Ed_P
Contributor
Contributor
Posts: 3205
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#53 by Ed_P » 10 Jan 2016, 14:27

roadie wrote:@Ed_P

Try, as guest, "startx /usr/bin/startlxde".....if that doesn't work, try "lxdm"....need to sudo or su.

Then run the ck-list-sessions again.
On the HP EFI machine:

Code: Select all

guest ~ $ ck-list-sessions
guest ~ $ su
Password: 
root /home/guest # ck-list-sessions
root /home/guest # exit
exit
guest ~ $ startx /usr/bin/startlxde


X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64 
Current Operating System: Linux porteus 4.3.3-porteus #1 SMP PREEMPT Tue Dec 15 21:30:52 UTC 2015 x86_64
Kernel command line: quiet BOOT_IMAGE=(loop)/boot/syslinux/vmlinuz from=/ISOs/porteus-nemesis-v3.5-lxde-x86_64.iso volume=33 reboot=cold 3
Build Date: 01 November 2015  10:36:50AM
 
Current version of pixman: 0.32.8
	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: "/home/guest/.local/share/xorg/Xorg.1.log", Time: Sun Jan 10 02:14:56 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/guest/.local/share/xorg/Xorg.1.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
guest ~ $ lxdm
only root is allowed to use this program
guest ~ $ su
Password: 
root /home/guest # lxdm
root /home/guest # ck-list-sessions
root /home/guest #
Ed

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#54 by roadie » 10 Jan 2016, 16:39

Ed_P,

So, you weren't able to start X with lxdm either? Your post is confusing as it looks as if the commands were run from a terminal, rather than the console.

As for consolekit, you can run "/etc/init.d consolekit restart" and hopefully it will kick in. Seems consolekit is somewhat tempermental, I had problems with it this morning.

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#55 by brokenman » 10 Jan 2016, 21:57

Now for the data cd it actually is a bit worse, the eject button works somewhat in that on my tower the tray opens and filemanager closes
but I don't get a chance to remove disc as tray then wants to close again.
Pressing the hardware eject cd button takes two goes before tray stays open.
I remember this bugfrom a few years ago. It was to do with polling times on optical media. Please try killing udev and ejecting the cdtray.

Code: Select all

for a in `pgrep -f udevd`; do kill $a ;done
eject -T /dev/cdrom  <--- (it may be /dev/sr0)
How to taste (sweet or bitter)? I go skiing - a lot of snow in Russia
We call the taste - bittersweet. Have fun skiing. Be safe.
is porteus-nemesis-v3.5-kde-x86_64.iso should be 209MB only?
Correct. It is a lightweight version.
The problem is that starting Porteus in graphic mode in this way,
Strange that lxdm is not starting everything correctly. Please try booting into text mode.

Code: Select all

echo "exec ck-launch-session dbus-launch startlxde" > /etc/X11/xinit/xinitrc
startx
OS: Porteus-v3.4
Thanks for this output. I need ot update /etc/porteus-version
And when signing on as root the task bar icons are not right.
I have not copied over the files from guest account to root account.

Code: Select all

cp -r /home/guest/* /root
Logout and login again.
Also the ids on system could be updated?
Yours /usr/share/hwdata/usb.ids
Thanks.
But I didn't understand that it gave me
It looks like it allows you to run libvdpau with flash content.
chmod 777 /tmp/pacaurtmp-guest
Why? pacaur is working only in guest account?
Because it is responsible. pacaur is only to be run as guest, it will ask you for root password when it needs it. If you boot into root then before running pacaur use - su guest
Might be coming from linuxrc...I get it too, haven't looked yet.
Yes it is the code to remove any instance of inittab that may have been added to changes to prevent respawn issue. I will silence the output.
hi the kernel used for the new nemesis,brokenman consider to apply the patch:
Can you please give me the source of the patch?
How do i become super user?
Wear your underpants on the outside and put on a cape.

roadie
Full of knowledge
Full of knowledge
Posts: 205
Joined: 02 Jan 2011, 18:41
Distribution: Porteus 3.5...with a twist
Location: In a hayfield

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#56 by roadie » 10 Jan 2016, 22:00

@Ed_P

I just got past the same error you have:
Current version of pixman: 0.32.8
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: "/home/guest/.local/share/xorg/Xorg.1.log", Time: Sun Jan 10 02:14:56 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open /dev/tty0 (No such file or directory)
(EE)
(EE)
The only way I could get an Xsession and have consolekit working as guest was with this command:

"exec ck-launch-session dbus-launch startx /usr/bin/startxfce4"......I'm doing an Xfce4 build....in your case, change the startxfce4 to startlxde.

Now to figure out why I can't change the background.......

donald
Full of knowledge
Full of knowledge
Posts: 1175
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#57 by donald » 10 Jan 2016, 23:26

@brokenman
The old Problem --> CD/DVD open and close immediately <-- and the (old) solution:
viewtopic.php?f=53&t=3565
...not sure if still relevant..

User avatar
brokenman
Site Admin
Site Admin
Posts: 5503
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#58 by brokenman » 11 Jan 2016, 01:18

Thanks Donald.

Aus9 I have no idea why lsusb is not showing device names since lsusb -v shows them.
usbutils (contains lsusb) and hwids (contains the .ids files) packages are the latest from manjaro.
How do i become super user?
Wear your underpants on the outside and put on a cape.

aus9

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#59 by aus9 » 11 Jan 2016, 04:54

@brokenman

small correction to your last....lsusb -v shows extra information but not the manufacturer name etc stuff as per one of my other non-bug posts
lsusb | grep WLAN
Bus 001 Device 004: ID 0bda:8172 Realtek Semiconductor Corp. RTL8191SU 802.11n WLAN Adapter
and here is 3.5 output

Code: Select all

lsusb -v (snip)
Bus 001 Device 004: ID 0bda:8172  
Couldn't open device, some information will be missing
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bda 
  idProduct          0x8172 
  bcdDevice            2.00
  iManufacturer           1 
  iProduct                2 
  iSerial                 3 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           46
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 
      bInterfaceSubClass    255 
      bInterfaceProtocol    255 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x04  EP 4 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x06  EP 6 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x0d  EP 13 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
at first glance I would say its not reading the file contents of usb.ids

aus9

Re: Porteus Nemesis v3.5 BUG REPORTS

Post#60 by aus9 » 11 Jan 2016, 12:27

this is not a bug report but thought I would share and hide this info on our openrc stuff

Code: Select all

rc-update
       NetworkManager |      default                 
                acpid |      default                 
               binfmt | boot                         
         boot-network |      default                 
             bootmisc | boot                         
            cgmanager |      default                 
           consolekit |      default                 
                 dbus |      default                 
                devfs |                       sysinit
                dmesg |                       sysinit
                 fsck | boot                         
             hostname | boot                         
              hwclock | boot                         
              keymaps | boot                         
            killprocs |              shutdown        
    kmod-static-nodes |                       sysinit
                local |      default                 
           localmount | boot                         
             loopback | boot                         
              modules | boot                         
             mount-ro |              shutdown        
                 mtab | boot                         
               net.lo | boot                         
                 ntpd |      default                 
             prelogin | boot                         
          preshutdown |              shutdown        
               procfs | boot                         
                 root | boot                         
            savecache |              shutdown        
                 swap | boot                         
            swapfiles | boot                         
               sysctl | boot                         
                sysfs |                       sysinit
            syslog-ng |      default                 
         termencoding | boot                         
         tmpfiles.dev |                       sysinit
       tmpfiles.setup | boot                         
                 udev |                       sysinit
         udev-trigger |                       sysinit
              urandom | boot 
Now I am thinking as I don't have a rc.local maybe I should make up a
/etc/local.d/<scriptname>.start
that calls
/etc/init.d/<scriptname>

EDIT local starts from default so have to use default and update to use boot rather default or sysinit?

more reading but just some musings......
---this next bit is mainly for laptop users who may need to swap networks etc....as they are a carelss bunch giggles no I mean a smart bunch
they may need stacked levels ....that is runlevels that allow certain type of swaps as per
http://www.funtoo.org/Stacked_Runlevels
Last edited by aus9 on 11 Jan 2016, 23:40, edited 1 time in total.

Post Reply