Author Topic: Archlinuxarm On C3x00  (Read 50250 times)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #270 on: October 24, 2015, 06:18:27 pm »
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

HI ArchiMark,

odd, you can try different DNS servers if you can not resolve mirrors.archlinuxarm

I had no issue with this so far.

Keep in mind that you should only use one network connection manager at a time.

Do not run "netctl"  and  "networkd" or "networkmanager"  or "connman" or "wicd" at the same time, this will surely mix things up.

Since there are so many choices, troubleshooting can be a nightmare. I use netctl because it is simple and has no extra dependencies.

Also I would suggest to revert back to previous systemd to module auto loading again (if related) and start from there.

This modules not loading automatically is the first thing to get fixed.

Cheers!
« Last Edit: October 24, 2015, 07:35:32 pm by daalnroti »
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #271 on: October 24, 2015, 06:29:26 pm »
Quote from: danboid
The OC kernel seems to work great so far - thanks daal! I do remember X flickering a bit when I ran the Z at 624Mhz under pdaXrom but the console doesn't flicker under ALARMZ. I'm sure the battery won't last as long at 624Mhz but that's only to be expected

I'm logged into #ALARMZ on freenode now.

Great, when I played with it and ran "cpufreq-set -f" I thought it started flickering like it did under pdaXrom.  Would be good to have some benchmarks but I guess I stay with 416 Mhz at this stage.

Freenode : good I will join today, its Sunday already here so I might be away from the Z for some time.
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #272 on: October 24, 2015, 07:07:20 pm »
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

have a look what your /etc/resolv.conf looks like .
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #273 on: October 24, 2015, 08:33:08 pm »
Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

HI ArchiMark,

odd, you can try different DNS servers if you can not resolve mirrors.archlinuxarm

I had no issue with this so far.

OK, will try that.....thanks...

Quote
Keep in mind that you should only use one network connection manager at a time.

Do not run "netctl"  and  "networkd" or "networkmanager"  or "connman" or "wicd" at the same time, this will surely mix things up.

Since there are so many choices, troubleshooting can be a nightmare. I use netctl because it is simple and has no extra dependencies.

Understand....only running netctl.....


Quote
Also I would suggest to revert back to previous systemd to module auto loading again (if related) and start from there.

This modules not loading automatically is the first thing to get fixed.

Cheers!

Agree.......think my various issues started after systemd got updated....

If that takes care of things, then good.....

If not, then I'll probably create a new fresh install and go from there.....


Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

have a look what your /etc/resolv.conf looks like .

/etc/resolv.conf is empty................

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #274 on: October 24, 2015, 09:42:54 pm »
Quote from: ArchiMark
Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

HI ArchiMark,

odd, you can try different DNS servers if you can not resolve mirrors.archlinuxarm

I had no issue with this so far.

OK, will try that.....thanks...

Quote
Keep in mind that you should only use one network connection manager at a time.

Do not run "netctl"  and  "networkd" or "networkmanager"  or "connman" or "wicd" at the same time, this will surely mix things up.

Since there are so many choices, troubleshooting can be a nightmare. I use netctl because it is simple and has no extra dependencies.

Understand....only running netctl.....


Quote
Also I would suggest to revert back to previous systemd to module auto loading again (if related) and start from there.

This modules not loading automatically is the first thing to get fixed.

Cheers!

Agree.......think my various issues started after systemd got updated....

If that takes care of things, then good.....

If not, then I'll probably create a new fresh install and go from there.....


Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

have a look what your /etc/resolv.conf looks like .

/etc/resolv.conf is empty................

 

There you go  Check https://wiki.archlinux.org/index.php/Resolv.conf

Example using OpenDNS :

Code: [Select]
# OpenDNS IPv4 nameservers
nameserver 208.67.222.222
nameserver 208.67.220.220

There are several ways to have resolv.conf auto generated. Have a a look at "resolvconf" too.

If you use DHCP your resolv.conf should contain your gateways IP as nameserver. If not using DHCP you need to add it manually ether in  you netctl profile or resolv.conf.
« Last Edit: October 24, 2015, 09:49:57 pm by daalnroti »
Gemini-PDA (Stock Android) / LG Nexus 5 (Sailfish OS) / Nokia N9 (MeeGo/Harmattan)
Sharp Zaurus C3100 (Borzoi) - Void Linux (voidz) Kernel 5.0.0 - Hardware (Buffalo CF LAN, DLink 660 CF WiFi, ASIX AX88772 USB Ethernet)

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #275 on: October 25, 2015, 12:11:06 am »
Quote from: daalnroti
Quote from: ArchiMark
Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

HI ArchiMark,

odd, you can try different DNS servers if you can not resolve mirrors.archlinuxarm

I had no issue with this so far.

OK, will try that.....thanks...

Quote
Keep in mind that you should only use one network connection manager at a time.

Do not run "netctl"  and  "networkd" or "networkmanager"  or "connman" or "wicd" at the same time, this will surely mix things up.

Since there are so many choices, troubleshooting can be a nightmare. I use netctl because it is simple and has no extra dependencies.

Understand....only running netctl.....


Quote
Also I would suggest to revert back to previous systemd to module auto loading again (if related) and start from there.

This modules not loading automatically is the first thing to get fixed.

Cheers!

Agree.......think my various issues started after systemd got updated....

If that takes care of things, then good.....

If not, then I'll probably create a new fresh install and go from there.....


Quote from: daalnroti
Quote from: ArchiMark
Quote from: danboid
Mark:

As for your connection probs, you may recall me saying that if you have DNS issues you should make sure systemd-resolved.service is running?

https://wiki.archlinux.org/index.php/Systemd-networkd

Thanks, danboid......

I assume it's running if I can ping google, right?

......but lots of good info on that page....

have a look what your /etc/resolv.conf looks like .

/etc/resolv.conf is empty................

 

There you go  Check https://wiki.archlinux.org/index.php/Resolv.conf

Example using OpenDNS :

Code: [Select]
# OpenDNS IPv4 nameservers
nameserver 208.67.222.222
nameserver 208.67.220.220

There are several ways to have resolv.conf auto generated. Have a a look at "resolvconf" too.

If you use DHCP your resolv.conf should contain your gateways IP as nameserver. If not using DHCP you need to add it manually ether in  you netctl profile or resolv.conf.

Thanks, was already working in this after last post.....but having problem saving /etc/resolv.conf file....
Nano won't let me save file....

So, did:

Code: [Select]
# ls -l /etc/
lrwxrwxrwx 1 alarm alarm   32  Oct  4   05:10  resolv.conf ->  /run/systemd/resolve/resolve.conf
-rw-r--r--    1 root   root     459 Oct 22  13:08  resolv.conf.bak

So, resolv.conf got symlinked over to systemd?........

Does this look right?
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #276 on: October 25, 2015, 12:13:17 am »
Notice anything different, guys????


 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #277 on: October 25, 2015, 04:32:09 am »
daal:

Thanks for the notes on the keymap. I must admit I've been too lazy to ungzip and inspect it myself yet. I realise I can tweak it to my own liking but my last post was to try and come to an agreement over what we should use for a default keymap ie what comes with the rootfs.

Mark:

Thanks for moving this thread and creating a new subforum!

I should've mentioned /etc/resolv.conf. If yours is empty, you'll notice that running

Code: [Select]
systemctl start systemd-resolved.service
Populates it.

Note that if you downgrade to the older systemd, which I'll prob do too, be sure to edit /etc/pacman.conf and add the name of the package(s) (systemd etc) that you want to stop from being upgraded to the IgnorePkg line or else -Syu will revert you to the latest.
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #278 on: October 25, 2015, 12:38:06 pm »
Quote from: danboid
Mark:

Thanks for moving this thread and creating a new subforum!

You're most welcome.....

Quote
I should've mentioned /etc/resolv.conf. If yours is empty, you'll notice that running

Code: [Select]
systemctl start systemd-resolved.service
Populates it.

Thanks, can ping mirror.archlinuxarm.org and pacman works now!

Quote
Note that if you downgrade to the older systemd, which I'll prob do too, be sure to edit /etc/pacman.conf and add the name of the package(s) (systemd etc) that you want to stop from being upgraded to the IgnorePkg line or else -Syu will revert you to the latest.

OK, thanks.....
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #279 on: October 25, 2015, 12:50:34 pm »
I've downgraded systemd and systemd-sysvcompat on my ALARMZ install back to 226-3 using the packages daal posted yesterday (in #243) although I suppose I could've used the downgrade script (https://aur.archlinux.org/packages/downgrade/) to achieve the same result. Now the kernel module for my USB ethernet adapter gets auto-loaded again and I don't get any pam errors during login.

To stop pacman -Syu updating systemd before I want it to be updated, I've added this line to /etc/pacman.conf

Code: [Select]
IgnorePkg = systemd systemd-sysvcompat
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #280 on: October 26, 2015, 12:42:35 am »
Quote from: danboid
I've downgraded systemd and systemd-sysvcompat on my ALARMZ install back to 226-3 using the packages daal posted yesterday (in #243) although I suppose I could've used the downgrade script (https://aur.archlinux.org/packages/downgrade/) to achieve the same result. Now the kernel module for my USB ethernet adapter gets auto-loaded again and I don't get any pam errors during login.

To stop pacman -Syu updating systemd before I want it to be updated, I've added this line to /etc/pacman.conf

Code: [Select]
IgnorePkg = systemd systemd-sysvcompat

Thanks for the info.....will do this when I downgrade systemd.....


X and Window Manager

Just got X running and twm....

But like you, twm is opening up sideways.....need to rotate display 90 degrees....

Just tried fluxbox and it opens up sideways too.....

And just started new 'X and Window Manager' thread to continue discussion there.

Since we now have our own forum, no reason not to have some specific threads for specific topics....

https://www.oesf.org/forum/index.php?showtopic=34400
« Last Edit: October 26, 2015, 09:36:32 am by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #281 on: October 26, 2015, 07:51:52 am »
Thanks for the update Mark!

I would say that the quest to get X working is worthy of creating a new thread for, if you want to? This thread is not over but its long enough already!
Zaurus SL-C3000 w/ MD swapped for a Kingston 32GB Ultimate 266X CF running ALARM
Banana Pi running ALARM on a WD Scorpio SATA II HD
System76 Gazelle Pro i7 laptop w/ SAMSUNG 840 EVO SSD running Arch x64

How to install Arch on your C3x00 Zaurus https://github.com/danboid/ZALARM-install

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #282 on: October 26, 2015, 09:30:17 am »
Quote from: danboid
Thanks for the update Mark!

I would say that the quest to get X working is worthy of creating a new thread for, if you want to? This thread is not over but its long enough already!


Brilliant idea, Dan!

No reason we can't split off threads by specific topics now.....

 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #283 on: October 26, 2015, 12:30:05 pm »
Quote from: danboid
I've downgraded systemd and systemd-sysvcompat on my ALARMZ install back to 226-3 using the packages daal posted yesterday (in #243) although I suppose I could've used the downgrade script (https://aur.archlinux.org/packages/downgrade/) to achieve the same result. Now the kernel module for my USB ethernet adapter gets auto-loaded again and I don't get any pam errors during login.

To stop pacman -Syu updating systemd before I want it to be updated, I've added this line to /etc/pacman.conf

Code: [Select]
IgnorePkg = systemd systemd-sysvcompat

Just decompressed the .gz file on my laptop......

Now I see 2 files; systemd-226-3-arm.tar.xz and systemd-sysvcompat-226-3-arm.tar.xz

As I would like to avoid messing up system further, where should I decompress these to files to on my SD card?

/usr/lib/systemd/system/

or

/etc/systemd/system/

or ???

UPDATE

Just checked ArchWiki about manual package install.....

Assume I do:

Code: [Select]
# pacman -U /root/Download/packagename.tar.gz
OR

Code: [Select]
#  pacman -U /root/Download/*.tar.gz
for multiple package installs at one time....

I am checking Wiki and other pages quite a bit to refresh myself on Arch as it's been about 2.5 years since I last used it...

Thanks!
« Last Edit: October 26, 2015, 12:46:44 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1806
    • View Profile
Archlinuxarm On C3x00
« Reply #284 on: October 26, 2015, 01:59:36 pm »
When I try to install packages manually per post above, I get error messages:

Code: [Select]
# pacman -U /path to package/packagename.tar.gz
loading packages...
error: missing package metadata in /root/systemd226.tar/gz
error: '/root/systemd226.tar/gz': invalid or corrupted package

Same message for both systemd226 and pccardctl......

Am I missing something in process???

Thanks.

UPDATE

Realized that perhaps a reason for problem is related to my copying files from laptop to SD card instead of untarring them to card?

So, then thought of maybe it's best to download files directly to SD from forum.....using wget....

But having issue with file downloaded this way.....get error message when using pacman about unrecognized archive format....

What do you recommend as best way to install files like systemd226 and pccardctl, etc that get posted here?
« Last Edit: October 26, 2015, 03:05:01 pm by ArchiMark »
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/