OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - Arch Linux ARM support => Topic started by: ArchiMark on October 17, 2016, 05:40:55 pm

Title: Problem Installing & Running Programs
Post by: ArchiMark on October 17, 2016, 05:40:55 pm
Now that I have Fluxbox setup and running OK, I've been trying to install some programs with mixed results.

Have installed some programs OK, but some give me error message after trying to install:

Code: [Select]
Could not fork a new process (cannot allocate memory)
Is this a result of Zaurus having limited RAM or ?

Anything I can do about it?


With some programs, when I open them, I get error message:

Code: [Select]
GLib-GObject-CRITICAL **:
g_object_ref:
assertion 'G_IS_OBJECT (object)' failed

Then some other error message that varies by program being opened.

Any ideas about this one?

Have tried running Firefox, but get error message:

Code: [Select]
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libicui18n.so.57:
Cannot open shared object file:
No such file or directory
Could not load XPCOM


I searched on this error and it was common a few years ago with Firefox. Some people said removing FF and reinstalling worked for them. Tried that, but same error.

Some said to install xulrunner, ia32-libs, and ia32-libs.gtk

Tried installing xulrunner, got the memory error noted above.

When I run xulrunner, I get following error message:

Code: [Select]
$ xulrunner
XPCOMGlueLoad error for file /usr/lib/xulrunner-41.0.2/libxul.so:
libcui18n.so.57: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


Any input on any of these errors would be greatly appreciate.

Mark
Title: Problem Installing & Running Programs
Post by: Varti on October 18, 2016, 03:27:55 am
Quote from: ArchiMark
When I run xulrunner, I get following error message:

Code: [Select]
$ xulrunner
XPCOMGlueLoad error for file /usr/lib/xulrunner-41.0.2/libxul.so:
libcui18n.so.57: cannot open shared object file: No such file or directory
Couldn't load XPCOM.
libcui18n.so.57 seems to be missing in your system. Have you already checked the following page?

http://unix.stackexchange.com/questions/15...eps-on-crashing (http://unix.stackexchange.com/questions/158329/unable-to-launch-firefox-keeps-on-crashing)

Try to install icu and, if required, nss, and see if now firefox works.

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 18, 2016, 10:34:50 am
Thanks for your assistance!

Hadn't read that page, but read other ones....

Just tried installing icu....but get following error messages.

First I see the following, which I forgot to mention in prior post that I see most times I try to install something:

Code: [Select]
resolving conflicting packages...
error: could not open file /var/lib/pacman/local/pygtk-2.24.0-6/desc:
No such file or directory
error: could not open file /var/lib/pacman/local/python-click-6.2-1/desc:
No such file or directory

Then after going through install steps and getting to:

Code: [Select]
(1/1) checking available disk space
error: could not open file /var/cache/pacman/pkg/icu-57.1-1-arm.pkg.tar.xz:
Lzma library error: Cannot allocate memory
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded

I have installed a 32GB CF card in my C3200.

Any suggestions?

Thanks.
Title: Problem Installing & Running Programs
Post by: Varti on October 18, 2016, 11:41:09 am
Quote from: ArchiMark
First I see the following, which I forgot to mention in prior post that I see most times I try to install something:

Code: [Select]
resolving conflicting packages...
error: could not open file /var/lib/pacman/local/pygtk-2.24.0-6/desc:
No such file or directory
error: could not open file /var/lib/pacman/local/python-click-6.2-1/desc:
No such file or directory
Are those two packages (pygtk-2.24.0-6 and python-click-6.2-1) installed? If so, they might have some missing files, you might want to try to remove and reinstall them.

Quote
Then after going through install steps and getting to:

Code: [Select]
(1/1) checking available disk space
error: could not open file /var/cache/pacman/pkg/icu-57.1-1-arm.pkg.tar.xz:
Lzma library error: Cannot allocate memory
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded
That error looks like due to not enough RAM being available. Do you have a swap partition, and is it enabled? (You can check it using "free -m").

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 18, 2016, 12:28:21 pm
Quote from: Varti
Quote from: ArchiMark
First I see the following, which I forgot to mention in prior post that I see most times I try to install something:

Code: [Select]
resolving conflicting packages...
error: could not open file /var/lib/pacman/local/pygtk-2.24.0-6/desc:
No such file or directory
error: could not open file /var/lib/pacman/local/python-click-6.2-1/desc:
No such file or directory
Are those two packages (pygtk-2.24.0-6 and python-click-6.2-1) installed? If so, they might have some missing files, you might want to try to remove and reinstall them.

Quote
Then after going through install steps and getting to:

Code: [Select]
(1/1) checking available disk space
error: could not open file /var/cache/pacman/pkg/icu-57.1-1-arm.pkg.tar.xz:
Lzma library error: Cannot allocate memory
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded
That error looks like due to not enough RAM being available. Do you have a swap partition, and is it enabled? (You can check it using "free -m").

Varti


Looks like I need to install the 2 files in error message.....will do after I fix the memory/swap situation....


Looks like no swap enabled....odd, thought I had created swap.....

Code: [Select]
$ free -m
           total         used          free         shared       buff/cache      available
Mem:   57            23             7             0               25                  26
Swap:    0             0             0

Checked my 32GB CF drive and looks like all I did when installing Arch was to create one large / partition....

Is it possible to shrink the partition (30.3G) and then create a swap partition without losing my Arch installation?

According Arch wiki < https://wiki.archlinux.org/index.php/GNU_Parted (https://wiki.archlinux.org/index.php/GNU_Parted) > you can use resize2fs to do this, but when I try it:

Code: [Select]
# resize2fs /dev/sda1 29.3G
resize2fs: Invalid new size: 29.3G

What size should I specify to reduce size and have space to create swap partition?

Or should I do this another way?

Just realized you probably need to unmount device sda1 before modifying...but if I try that, I get

Code: [Select]
umount: /: target is busy
Should I just make a swap file instead?

Thanks.
Title: Problem Installing & Running Programs
Post by: greguu on October 18, 2016, 04:08:16 pm
Hi Mark,

these issues are indeed because of lack of RAM.

You do not need to create a swap partition.

Yes, you can create a swap file.

https://wiki.archlinux.org/index.php/Swap#Swap_file (https://wiki.archlinux.org/index.php/Swap#Swap_file)

Cheers!
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 18, 2016, 06:11:50 pm
Quote from: greguu
Hi Mark,

these issues are indeed because of lack of RAM.

You do not need to create a swap partition.

Yes, you can create a swap file.

https://wiki.archlinux.org/index.php/Swap#Swap_file (https://wiki.archlinux.org/index.php/Swap#Swap_file)

Cheers!

Thanks, Greg!

OK, did swapfile....don't get those errors now...but still having issues as noted before about pygtk and python-click.....tried installing both.....

When I try installing a package, still get the pygtk error about no such file....

Tried installing 'icu' package and others, now get error 'warning: could not fully load metadata for package xxxx.xxx-xxx' during install process after the line that says 'checking available disk space'.

Any suggestion about this one?

Just googled this error....one place suggested doing 'pacman -Syu'.....but as noted in earlier post worried about whether to do this...just checked other thread and saw your reply about this issue....thanks for your input....have a feeling that not having done an update for over 9 months may be contributing to issues?
Title: Problem Installing & Running Programs
Post by: Varti on October 19, 2016, 03:51:49 am
Quote from: greguu
Hi Mark,
You do not need to create a swap partition.

Yes, you can create a swap file.

https://wiki.archlinux.org/index.php/Swap#Swap_file (https://wiki.archlinux.org/index.php/Swap#Swap_file)
IMHO, a swapfile should be slower than a dedicated swap partition, especially on the Zaurus with its low physical memory. If you have the SD slot free I'd suggest you to dedicate an SD card for the swap partition, since it will wear out quickly due to the many reads and writes required by the virtual memory.

Quote from: ArchiMark
Thanks, Greg!

OK, did swapfile....don't get those errors now...but still having issues as noted before about pygtk and python-click.....tried installing both.....

When I try installing a package, still get the pygtk error about no such file....
Have you tried to remove the packages and reinstall them with the "force" switch (-Sf)?

Quote
Tried installing 'icu' package and others, now get error 'warning: could not fully load metadata for package xxxx.xxx-xxx' during install process after the line that says 'checking available disk space'.

Any suggestion about this one?

Just googled this error....one place suggested doing 'pacman -Syu'.....but as noted in earlier post worried about whether to do this...just checked other thread and saw your reply about this issue....thanks for your input....have a feeling that not having done an update for over 9 months may be contributing to issues?
I'd also do a system upgrade only as a last-ditch effort. Do you get the following error as well?

Code: [Select]
error: failed to prepare transaction (invalid or corrupted package)If so, you might want to remove the partial packages, as explained here:

https://wiki.archlinux.org/index.php/pacman...age.29.22_error (https://wiki.archlinux.org/index.php/pacman#.22Failed_to_commit_transaction_.28invalid_or_corrupted_package.29.22_err)

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 19, 2016, 09:20:20 am
Quote from: Varti
Quote from: greguu
Hi Mark,
You do not need to create a swap partition.

Yes, you can create a swap file.

https://wiki.archlinux.org/index.php/Swap#Swap_file (https://wiki.archlinux.org/index.php/Swap#Swap_file)
IMHO, a swapfile should be slower than a dedicated swap partition, especially on the Zaurus with its low physical memory. If you have the SD slot free I'd suggest you to dedicate an SD card for the swap partition, since it will wear out quickly due to the many reads and writes required by the virtual memory.

Quote from: ArchiMark
Thanks, Greg!

OK, did swapfile....don't get those errors now...but still having issues as noted before about pygtk and python-click.....tried installing both.....

When I try installing a package, still get the pygtk error about no such file....
Have you tried to remove the packages and reinstall them with the "force" switch (-Sf)?

Quote
Tried installing 'icu' package and others, now get error 'warning: could not fully load metadata for package xxxx.xxx-xxx' during install process after the line that says 'checking available disk space'.

Any suggestion about this one?

Just googled this error....one place suggested doing 'pacman -Syu'.....but as noted in earlier post worried about whether to do this...just checked other thread and saw your reply about this issue....thanks for your input....have a feeling that not having done an update for over 9 months may be contributing to issues?
I'd also do a system upgrade only as a last-ditch effort. Do you get the following error as well?

Code: [Select]
error: failed to prepare transaction (invalid or corrupted package)If so, you might want to remove the partial packages, as explained here:

https://wiki.archlinux.org/index.php/pacman...age.29.22_error (https://wiki.archlinux.org/index.php/pacman#.22Failed_to_commit_transaction_.28invalid_or_corrupted_package.29.22_err)

Varti

Thanks for your help.....

Usually, have SD slot free as I only use SD card sometimes to be able to copy over a file, etc.

Haven't tried using the force switch to remove packages....but can try it....

Don't get the 'invalid or corrupted package' error, just the messages I noted in earlier post.
Title: Problem Installing & Running Programs
Post by: Varti on October 19, 2016, 11:02:02 am
Quote from: ArchiMark
Thanks for your help.....

Usually, have SD slot free as I only use SD card sometimes to be able to copy over a file, etc.
Then I'd strongly suggest to use it for swap. Depending on how much and often you'll use your Zaurus, you might end up with a worn out SD card to be replaced after some months of use...

Quote
Don't get the 'invalid or corrupted package' error, just the messages I noted in earlier post.
Your error mentions a package, maybe it might help to remove and reinstall it with the f switch, as well.

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 19, 2016, 12:49:43 pm
Quote from: Varti
Quote from: ArchiMark
Thanks for your help.....

Usually, have SD slot free as I only use SD card sometimes to be able to copy over a file, etc.
Then I'd strongly suggest to use it for swap. Depending on how much and often you'll use your Zaurus, you might end up with a worn out SD card to be replaced after some months of use...

Quote
Don't get the 'invalid or corrupted package' error, just the messages I noted in earlier post.
Your error mentions a package, maybe it might help to remove and reinstall it with the f switch, as well.

Varti

Got swap on SD card setup now....thanks.

As for f switch, I get error message 'error: invalid option -f'......I tried '-Rdd'.....

Meanwhile, when I try to open Firefox, I get:

Code: [Select]
# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libvpx.so.4: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

So did:

Code: [Select]
#packer -S libvpx
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg; requires libvpx.so=3-32

So thought I'd delete ffmpeg:

Code: [Select]
# pacman -R ffmpeg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: firefox: requires ffmpeg
:: gst-libav: requires ffmpeg

 
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 19, 2016, 02:39:31 pm
Decided to be brave and do a system upgrade......figured that might be at least part of why I have so many issues with installing or running programs.

Got following:

Code: [Select]
# pacman -Syu

after downloading lots of files, got:

error: failed to commit transaction (unexpected error)
Errors occurred. no packages were upgraded.

 
Title: Problem Installing & Running Programs
Post by: Varti on October 20, 2016, 08:58:44 am
Quote from: ArchiMark
Got swap on SD card setup now....thanks.
If you temporarily need the SD slot for another SD card, you can turn off the swap memory with "swap off" and enable it again with "swap on". Make sure that you first close any running program you are running on your desktop, to make sure that the swap memory isn't in use.

Quote
As for f switch, I get error message 'error: invalid option -f'......I tried '-Rdd'.....
Are you using packer to install packages? Packer doesn't seem to have a "-force" switch, so you'll have to use pacman to install it. i.e. pacman -Sf (package).

Quote
Meanwhile, when I try to open Firefox, I get:

Code: [Select]
# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libvpx.so.4: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

So did:

Code: [Select]
#packer -S libvpx
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg; requires libvpx.so=3-32

So thought I'd delete ffmpeg:

Code: [Select]
# pacman -R ffmpeg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: firefox: requires ffmpeg
:: gst-libav: requires ffmpeg

 
That's strange, it seems that there's at least one dependencies conflict. There are two tickets for Firefox not launching due to libvpx.so.4 not being found, both have been rejected since they are due to the system being partially updated, thus broken:

https://bugs.archlinux.org/task/50256 (https://bugs.archlinux.org/task/50256)
https://bugs.archlinux.org/task/50264 (https://bugs.archlinux.org/task/50264)

Have you maybe updated the repository list without having updated the whole system? I.e. have you run at least once "pacman -Sy (package_name)" (note the -y switch), or just "pacman -Sy"? See https://wiki.archlinux.org/index.php/System...are_unsupported (https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported) . If so, it seems as the only two ways to fix is is to either update the whole system (which you have already tried, without success), or to reinstall Arch Linux again from scratch.

Quote
Decided to be brave and do a system upgrade......figured that might be at least part of why I have so many issues with installing or running programs.

Got following:

CODE
# pacman -Syu

after downloading lots of files, got:

error: failed to commit transaction (unexpected error)
Errors occurred. no packages were upgraded.
Was there any more verbose error printed before the "error:" line?

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 20, 2016, 09:29:07 am
Quote from: Varti
Quote from: ArchiMark
Got swap on SD card setup now....thanks.
If you temporarily need the SD slot for another SD card, you can turn off the swap memory with "swap off" and enable it again with "swap on". Make sure that you first close any running program you are running on your desktop, to make sure that the swap memory isn't in use.

Quote
As for f switch, I get error message 'error: invalid option -f'......I tried '-Rdd'.....
Are you using packer to install packages? Packer doesn't seem to have a "-force" switch, so you'll have to use pacman to install it. i.e. pacman -Sf (package).

Quote
Meanwhile, when I try to open Firefox, I get:

Code: [Select]
# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libvpx.so.4: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

So did:

Code: [Select]
#packer -S libvpx
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg; requires libvpx.so=3-32

So thought I'd delete ffmpeg:

Code: [Select]
# pacman -R ffmpeg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: firefox: requires ffmpeg
:: gst-libav: requires ffmpeg

 
That's strange, it seems that there's at least one dependencies conflict. There are two tickets for Firefox not launching due to libvpx.so.4 not being found, both have been rejected since they are due to the system being partially updated, thus broken:

https://bugs.archlinux.org/task/50256 (https://bugs.archlinux.org/task/50256)
https://bugs.archlinux.org/task/50264 (https://bugs.archlinux.org/task/50264)

Have you maybe updated the repository list without having updated the whole system? I.e. have you run at least once "pacman -Sy (package_name)" (note the -y switch), or just "pacman -Sy"? See https://wiki.archlinux.org/index.php/System...are_unsupported (https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported) . If so, it seems as the only two ways to fix is is to either update the whole system (which you have already tried, without success), or to reinstall Arch Linux again from scratch.

Quote
Decided to be brave and do a system upgrade......figured that might be at least part of why I have so many issues with installing or running programs.

Got following:

CODE
# pacman -Syu

after downloading lots of files, got:

error: failed to commit transaction (unexpected error)
Errors occurred. no packages were upgraded.
Was there any more verbose error printed before the "error:" line?

Varti

Using packer to install packages not found by pacman.....

Using pacman to remove packages.....

Did not run pacman -Sy......just -Syu......

No other error message info.....

Meanwhile, got a reply from someone over at ALARM forum about the upgrade error.

Said to look at this bit of Arch news about need to upgrade pacman:

https://www.archlinux.org/news/required-upd...ore-2016-04-23/ (https://www.archlinux.org/news/required-update-to-pacman-501-before-2016-04-23/)

Will try upgrading pacman and then try upgrade again....

Thanks.
Title: Problem Installing & Running Programs
Post by: greguu on October 20, 2016, 03:17:49 pm
Quote from: ArchiMark
Quote from: Varti
Quote from: ArchiMark
Got swap on SD card setup now....thanks.
If you temporarily need the SD slot for another SD card, you can turn off the swap memory with "swap off" and enable it again with "swap on". Make sure that you first close any running program you are running on your desktop, to make sure that the swap memory isn't in use.

Quote
As for f switch, I get error message 'error: invalid option -f'......I tried '-Rdd'.....
Are you using packer to install packages? Packer doesn't seem to have a "-force" switch, so you'll have to use pacman to install it. i.e. pacman -Sf (package).

Quote
Meanwhile, when I try to open Firefox, I get:

Code: [Select]
# firefox
XPCOMGlueLoad error for file /usr/lib/firefox/libxul.so:
libvpx.so.4: cannot open shared object file: No such file or directory
Couldn't load XPCOM.

So did:

Code: [Select]
#packer -S libvpx
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: ffmpeg; requires libvpx.so=3-32

So thought I'd delete ffmpeg:

Code: [Select]
# pacman -R ffmpeg
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: firefox: requires ffmpeg
:: gst-libav: requires ffmpeg

 
That's strange, it seems that there's at least one dependencies conflict. There are two tickets for Firefox not launching due to libvpx.so.4 not being found, both have been rejected since they are due to the system being partially updated, thus broken:

https://bugs.archlinux.org/task/50256 (https://bugs.archlinux.org/task/50256)
https://bugs.archlinux.org/task/50264 (https://bugs.archlinux.org/task/50264)

Have you maybe updated the repository list without having updated the whole system? I.e. have you run at least once "pacman -Sy (package_name)" (note the -y switch), or just "pacman -Sy"? See https://wiki.archlinux.org/index.php/System...are_unsupported (https://wiki.archlinux.org/index.php/System_maintenance#Partial_upgrades_are_unsupported) . If so, it seems as the only two ways to fix is is to either update the whole system (which you have already tried, without success), or to reinstall Arch Linux again from scratch.

Quote
Decided to be brave and do a system upgrade......figured that might be at least part of why I have so many issues with installing or running programs.

Got following:

CODE
# pacman -Syu

after downloading lots of files, got:

error: failed to commit transaction (unexpected error)
Errors occurred. no packages were upgraded.
Was there any more verbose error printed before the "error:" line?

Varti

Using packer to install packages not found by pacman.....

Using pacman to remove packages.....

Did not run pacman -Sy......just -Syu......

No other error message info.....

Meanwhile, got a reply from someone over at ALARM forum about the upgrade error.

Said to look at this bit of Arch news about need to upgrade pacman:

https://www.archlinux.org/news/required-upd...ore-2016-04-23/ (https://www.archlinux.org/news/required-update-to-pacman-501-before-2016-04-23/)

Will try upgrading pacman and then try upgrade again....

Thanks.

Hi,

Arch is a rolling release distribution and you will run into trouble if you do not run pacman -Syu regularly. The rootfs I posted is outdated now.

I will get an update ready once I got the free time.

In the meantime just download the required packages to upgrade pacman and the keys as well as mirrorlist manually and install them using pacman -U filename.tar.xz

Then try a pacman -Syu again.

Cheers!
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 20, 2016, 08:23:09 pm
Thanks.....

Upgraded pacman.....

Tried system upgrade again.....

Went well, but got following messages (upgrading 459 packages), didn't watch display continuously, but pretty often, so, hopefully did not miss any other important messages....

Code: [Select]
upgrading gnupg
kill gpg-agent and dirmgr before using gnupg
.........

upgrading mono:
/tmp/alpm-8HLoAA/.INSTALL:
line 5: 3899 Illegal instruction   (core dumped)
cert-sync /etc/ssl/certs/ca-certificates.crt
error: command failed to execute correctly

Yeah!

Tried to open Firefox.......

Took a while....but.....it opens now!

 


But is slow to respond....will try some other browsers....

Meanwhile, one other issue I've had is being able to change time to be correct for my location.

When I've tried using timedatectl and set correct timezone, it gave me error message that I could not do this.
Title: Problem Installing & Running Programs
Post by: Varti on October 23, 2016, 05:47:11 am
Quote from: ArchiMark
Tried to open Firefox.......

Took a while....but.....it opens now!

 

But is slow to respond....will try some other browsers....
I have read that the CF slot is faster than the SD one, can anyone confirm this? If so, it might be worth to move your system to an SD card and use a CF card for swap, although you won't be able to use the SD slot for data exchange anymore.

About a faster browser, you might give NetSurf a go: http://www.netsurf-browser.org/ (http://www.netsurf-browser.org/)

Quote
Meanwhile, one other issue I've had is being able to change time to be correct for my location.

When I've tried using timedatectl and set correct timezone, it gave me error message that I could not do this.
Are you running it from the shell? If so, are you running it with sudo?

Varti
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 23, 2016, 01:33:16 pm
Quote from: Varti
Quote from: ArchiMark
Tried to open Firefox.......

Took a while....but.....it opens now!

 

But is slow to respond....will try some other browsers....
I have read that the CF slot is faster than the SD one, can anyone confirm this? If so, it might be worth to move your system to an SD card and use a CF card for swap, although you won't be able to use the SD slot for data exchange anymore.

About a faster browser, you might give NetSurf a go: http://www.netsurf-browser.org/ (http://www.netsurf-browser.org/)

Quote
Meanwhile, one other issue I've had is being able to change time to be correct for my location.

When I've tried using timedatectl and set correct timezone, it gave me error message that I could not do this.
Are you running it from the shell? If so, are you running it with sudo?

Varti

Don't know about the CF vs SD slot speeds.....

Thanks for the tip about NetSurf......

Running timedatectl from terminal, use 'su' and do as root.....do I need to do it using sudo?
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 24, 2016, 11:06:42 am
New issue......

Booted up Z this morning.....

Wasn't watching display carefully and it booted up the default selection 'System....'

So, shut it down, rebooted, and selected the 'Alarm...' option....

Watched messages in console and saw various error messages such as:

Code: [Select]
[FAILED] Failed to start journal service.  (saw this message multiple times)

[ *...] A start job is running for dev/mmcblk0  (took about a minute or so to complete...)

[DEPENDS] couldn't read rest of message in time....

[FAILED] something about network....

[FAILED] something about time....


Then it completed booting up. But ethernet network not working....usually automatically works.

Started thinking about the boot up process.

Think sometimes recently, I let Zaurus startup without monitoring it. Therefore, it would have booted up with default selection. So, I was updated Zaurus while it was booted up this way.

Any way to get default selection changed?

In meantime, what do you suggest I do to fix issues?

Thanks.
Title: Problem Installing & Running Programs
Post by: greguu on October 25, 2016, 05:12:36 am
Quote from: ArchiMark
Quote from: Varti
Quote from: ArchiMark
Tried to open Firefox.......

Took a while....but.....it opens now!

 

But is slow to respond....will try some other browsers....
I have read that the CF slot is faster than the SD one, can anyone confirm this? If so, it might be worth to move your system to an SD card and use a CF card for swap, although you won't be able to use the SD slot for data exchange anymore.

About a faster browser, you might give NetSurf a go: http://www.netsurf-browser.org/ (http://www.netsurf-browser.org/)

Quote
Meanwhile, one other issue I've had is being able to change time to be correct for my location.

When I've tried using timedatectl and set correct timezone, it gave me error message that I could not do this.
Are you running it from the shell? If so, are you running it with sudo?

Varti

Don't know about the CF vs SD slot speeds.....

Thanks for the tip about NetSurf......

Running timedatectl from terminal, use 'su' and do as root.....do I need to do it using sudo?


My feeling is that a CF to SD adapter gives better speeds than just using the SD card in the SD slot. Just an observation, no real benchmarks.


To set your timezone you need to follow the Arch guide but I use https://wiki.archlinux.org/index.php/time#fake-hwclock (https://wiki.archlinux.org/index.php/time#fake-hwclock) to keep time in "sync" during cold boots as the RTC does not really work.
Title: Problem Installing & Running Programs
Post by: greguu on October 25, 2016, 05:14:23 am
Quote from: ArchiMark
New issue......

Booted up Z this morning.....

Wasn't watching display carefully and it booted up the default selection 'System....'

So, shut it down, rebooted, and selected the 'Alarm...' option....

Watched messages in console and saw various error messages such as:

Code: [Select]
[FAILED] Failed to start journal service.  (saw this message multiple times)

[ *...] A start job is running for dev/mmcblk0  (took about a minute or so to complete...)

[DEPENDS] couldn't read rest of message in time....

[FAILED] something about network....

[FAILED] something about time....


Then it completed booting up. But ethernet network not working....usually automatically works.

Started thinking about the boot up process.

Think sometimes recently, I let Zaurus startup without monitoring it. Therefore, it would have booted up with default selection. So, I was updated Zaurus while it was booted up this way.

Any way to get default selection changed?

In meantime, what do you suggest I do to fix issues?

Thanks.

Mark, was this posted by you ? Sounds like a machine translation ? Your account compromised or what ? Maybe you just came back from the Pub ?
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 25, 2016, 09:16:05 am
Quote from: greguu
Quote from: ArchiMark
Quote from: Varti
Quote from: ArchiMark
Tried to open Firefox.......

Took a while....but.....it opens now!

 

But is slow to respond....will try some other browsers....
I have read that the CF slot is faster than the SD one, can anyone confirm this? If so, it might be worth to move your system to an SD card and use a CF card for swap, although you won't be able to use the SD slot for data exchange anymore.

About a faster browser, you might give NetSurf a go: http://www.netsurf-browser.org/ (http://www.netsurf-browser.org/)

Quote
Meanwhile, one other issue I've had is being able to change time to be correct for my location.

When I've tried using timedatectl and set correct timezone, it gave me error message that I could not do this.
Are you running it from the shell? If so, are you running it with sudo?

Varti

Don't know about the CF vs SD slot speeds.....

Thanks for the tip about NetSurf......

Running timedatectl from terminal, use 'su' and do as root.....do I need to do it using sudo?


My feeling is that a CF to SD adapter gives better speeds than just using the SD card in the SD slot. Just an observation, no real benchmarks.


To set your timezone you need to follow the Arch guide but I use https://wiki.archlinux.org/index.php/time#fake-hwclock (https://wiki.archlinux.org/index.php/time#fake-hwclock) to keep time in "sync" during cold boots as the RTC does not really work.


Quote from: greguu
Quote from: ArchiMark
New issue......

Booted up Z this morning.....

Wasn't watching display carefully and it booted up the default selection 'System....'

So, shut it down, rebooted, and selected the 'Alarm...' option....

Watched messages in console and saw various error messages such as:

Code: [Select]
[FAILED] Failed to start journal service.  (saw this message multiple times)

[ *...] A start job is running for dev/mmcblk0  (took about a minute or so to complete...)

[DEPENDS] couldn't read rest of message in time....

[FAILED] something about network....

[FAILED] something about time....


Then it completed booting up. But ethernet network not working....usually automatically works.

Started thinking about the boot up process.

Think sometimes recently, I let Zaurus startup without monitoring it. Therefore, it would have booted up with default selection. So, I was updated Zaurus while it was booted up this way.

Any way to get default selection changed?

In meantime, what do you suggest I do to fix issues?

Thanks.

Mark, was this posted by you ? Sounds like a machine translation ? Your account compromised or what ? Maybe you just came back from the Pub ?

Thanks for your input, Greg.....

Yes, I posted this.....machine translation???..........Why do you think that?....

I posted what really is happening with Z.......not sure how to fix it.....

 
Title: Problem Installing & Running Programs
Post by: greguu on October 26, 2016, 12:28:35 am
Quote
Thanks for your input, Greg.....

Yes, I posted this.....machine translation???..........Why do you think that?....

I posted what really is happening with Z.......not sure how to fix it.....

 

Hi Mark,

not sure, maybe it was just me..

Anyway. back to the issue.

Can you provide output of

systemctl --failed

after a fresh boot ?

You can also scroll through your latest kernel boot messages using

journalctl -xe


This will help to see what failed and possibly how to fix it.

Cheers!
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 26, 2016, 01:35:18 am
Hi Greg,

Thanks as always for your help......

Here's what I get:

Code: [Select]
# systemctl --failed
   UNIT                                          LOAD    ACTIVE   SUB       DESCRIPTION
* systemd-journald.service             loaded   failed      failed     Journal Service
* systemd-logind.service                loaded   failed      failed     Login Service
* systemd-networkd.service            loaded   failed      failed     Network Service
* systemd-resolved.service             loaded   failed      failed     Network Name Resolution
* systemd-timesyncd.service          loaded   failed      failed     Network Time Synchronization
* systemd-journald-dev-log.socket  loaded   failed      failed     Journal Socket (/dev/log)
* systemd-journald.socket              loaded   failed      failed     Journal Socket
* systemd-networkd.socket            loaded   failed      failed     Network Service Netlink Socket

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB
SUB     = The low-level unit activation state, values depend on unit type

8 loaded units listed. Pass --all to see loaded but inactive units too.
To show all installed unit files use 'systemctl list-unit-files'.

As for ......

Code: [Select]
# journalctl -xe
It produces a very long list.......

I piped output to a text file to be able to copy over to my computer to post here, but now realized I left all my SD cards at office. So, will try to copy early Wed morning my time in California and then post it.
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 26, 2016, 10:30:29 am
OK, got the file copied.....

Here you go.......................

It's looonnnnggggg......................


Thanks.
Title: Problem Installing & Running Programs
Post by: greguu on October 27, 2016, 02:40:13 am
Quote from: ArchiMark
--snip all the stuff---

Hi Mark,

Thanks for this. This helped to narrow down the issue.

After a pacman -Syu today I can confirm that current systemd requires SECCOMP support in the kernel.

Notice : https://www.oesf.org/forum/index.php?showto...st&p=282584 (https://www.oesf.org/forum/index.php?showtopic=34420&view=findpost&p=282584)

You will need to replace the zImage and your modules. In your case you may need to copy via an SD card if network fails.

(Make sure you have a booting SD card for recovery if you are not familiar with kernel updates.)

Please let me know if the issue was solved after upgrading or you need more details.

Cheers!
Title: Problem Installing & Running Programs
Post by: ArchiMark on October 27, 2016, 09:23:21 am
Will do.....probably tomorrow....

Thanks!