Author Topic: Archlinuxarm On C3x00  (Read 49686 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #330 on: November 09, 2015, 06:11:26 am »
Reading your earlier post again daal you did say you were not sure you had those kernel sources anymore but I interepreted this as you might still have them so at least we've cleared that up.

Of course I realise the fs has no impact on wifi drivers - I'm not that clueless!  I was just hoping to juice every last bit of performance out of the old girl.

armel is still supported under Debian, or at least it is under Jessie, the current stable release. It is supposedly possible to run Jessie with sysv but I've got enough support pitfalls to be dealing with without that.
« Last Edit: November 09, 2015, 06:12:22 am by danboid »
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

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #331 on: November 10, 2015, 12:43:47 am »
Quote from: danboid
Reading your earlier post again daal you did say you were not sure you had those kernel sources anymore but I interepreted this as you might still have them so at least we've cleared that up.

Of course I realise the fs has no impact on wifi drivers - I'm not that clueless!  I was just hoping to juice every last bit of performance out of the old girl.

armel is still supported under Debian, or at least it is under Jessie, the current stable release. It is supposedly possible to run Jessie with sysv but I've got enough support pitfalls to be dealing with without that.

Kernel Source for 2.6 series : I do not believe I still have it. I have checked  all my Z stuff that has been archived, also not on my Debian partition  I did not use github back then.

All the effort to get Debian running to test your WiFi card ?

I will be not much of help there, as I will focus more on Arch as you can understand.

In regards to the card, I would approach developers etc to see what they have to say or check some IRC channels.

It feels to me to be a firmware issue, as the card basically works but then fails to keep the connection ?

I could help to trouble shoot but I do not have this kind of card. I guess it was pretty rare even back in the active days at OESF ?
« Last Edit: November 10, 2015, 12:45:06 am 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)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #332 on: November 10, 2015, 06:57:20 am »
WIFI UPDATE

After god-knows how many hours in total which has recently grown to include trying to install multiple versions of Debian and even Gentoo on my Z, I have finally made some real progress with my libertas wifi card. It essentially works at the expected speed under Andromeda (yonggun Lenny) Debian ( http://yonggun.tistory.com/77 ) by using the latest yonggun 2.6 kernel and following these instructions ( http://nokamoto.blogspot.co.uk/2008/01/zau...x-gw-cf54g.html ) but not perfectly as it prints the warning (or error?):

Code: [Select]
libertas: tx watch dog timeout
To the console every 10  to 15s when the wifi card is in use but not when its simply plugged in. That does not break the  connection but it's a bit annoying. I'm sure it'd be simple to patch it out as it doesn't seem to be necessary in my experience downloading a Linux ISO with wget over wifi with it.

daal offered to try and get this card working under the ALARMZ kernel after I'd proved to myself its not a hardware fault so I think I'll take you up on that offer please daal! It'd be good for everyone here to know we have at least one (or two if you count the PLANEX card with the same chipset) option for 802.11g without removing the internal drive.

Send me your address in a PM or whatever and I'll get it posted to you ASAP!

Thanks daal!
« Last Edit: November 10, 2015, 07:11:18 am by danboid »
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: 1802
    • View Profile
Archlinuxarm On C3x00
« Reply #333 on: November 10, 2015, 09:39:13 am »
Excellent progress, danboid!....

Would be great to have option for a faster WiFi card.....

Meanwhile, trying to get some apps installed, but there are some issues.....

Will post in a separate thread....

Keep up the great work, 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/

dmarschal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Archlinuxarm On C3x00
« Reply #334 on: November 18, 2015, 05:31:59 am »
Hello all!

First, thank you so much guys for bringing this OS to the Zaurus Cx00 series!

I installed ALARM linux-4.2.3-c3x00 a week ago but I still have troubles setting wifi up. I have a cisco dlink cf adapter that works under cacko, zgrom, angstrom, ubuntu and all OS's I have tried out on my C3000.

Here is the dmesg output when I insert the card:
Code: [Select]
[  567.070709] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
[  567.096931] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 217)
[  567.400027] orinoco_cs 0.0: Hardware identity 801b:0000:0001:0000
[  567.409546] orinoco_cs 0.0: Station identity  001f:0002:0001:0008
[  567.427363] orinoco_cs 0.0: Firmware determined as Intersil 1.8.2
[  567.436772] orinoco_cs 0.0: Ad-hoc demo mode supported
[  567.450806] orinoco_cs 0.0: IEEE standard IBSS ad-hoc mode supported
[  567.476727] orinoco_cs 0.0: WEP supported, 104-bit key
[  568.034483] eth0: New link status: Connected (0001)

/etc/netctl/linksys
Code: [Select]
Description='A simple WEP encrypted wireless connection'
Interface=eth0
Connection=wireless

Security=wep
IP=dhcp

ESSID='linksys'
Key=\"0f***dd

I get this error after running 'netctl enable linksys':
Code: [Select]
Job for netctl@linksys.service failed because the control process exited with error code. See ... for details.
Here are the details from systemctl:
Code: [Select]
* netctl@linksys.service - Networking for netctl profile linksys
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2015-10-23 06:18:03 UTC; 1min 17s ago
     Docs: man:netctl.profile(5)
  Process: 1122 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 1122 (code=exited, status=1/FAILURE)

Oct 23 06:18:02 alarm systemd[1]: Starting Networking for netctl profile linksys...
Oct 23 06:18:03 alarm network[1122]: Starting network profile 'linksys'...
Oct 23 06:18:03 alarm network[1122]: The interface of network profile 'linksys' is already up
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Main process exited, code=exited, status=1/FAILURE
Oct 23 06:18:03 alarm systemd[1]: Failed to start Networking for netctl profile linksys.
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Unit entered failed state.
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Failed with result 'exit-code'.

I'm running the OS from the internal 4GB compact flash card alongside with zgrom and OE using kexecboot.

Thank you in advance for all help you can give me.

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #335 on: November 18, 2015, 06:10:03 am »
Quote from: dmarschal
Hello all!

First, thank you so much guys for bringing this OS to the Zaurus Cx00 series!

I installed ALARM linux-4.2.3-c3x00 a week ago but I still have troubles setting wifi up. I have a cisco dlink cf adapter that works under cacko, zgrom, angstrom, ubuntu and all OS's I have tried out on my C3000.

Here is the dmesg output when I insert the card:
Code: [Select]
[  567.070709] pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
[  567.096931] pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 217)
[  567.400027] orinoco_cs 0.0: Hardware identity 801b:0000:0001:0000
[  567.409546] orinoco_cs 0.0: Station identity  001f:0002:0001:0008
[  567.427363] orinoco_cs 0.0: Firmware determined as Intersil 1.8.2
[  567.436772] orinoco_cs 0.0: Ad-hoc demo mode supported
[  567.450806] orinoco_cs 0.0: IEEE standard IBSS ad-hoc mode supported
[  567.476727] orinoco_cs 0.0: WEP supported, 104-bit key
[  568.034483] eth0: New link status: Connected (0001)

/etc/netctl/linksys
Code: [Select]
Description='A simple WEP encrypted wireless connection'
Interface=eth0
Connection=wireless

Security=wep
IP=dhcp

ESSID='linksys'
Key=\"0f***dd

I get this error after running 'netctl enable linksys':
Code: [Select]
Job for netctl@linksys.service failed because the control process exited with error code. See ... for details.
Here are the details from systemctl:
Code: [Select]
* netctl@linksys.service - Networking for netctl profile linksys
   Loaded: loaded (/usr/lib/systemd/system/netctl@.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2015-10-23 06:18:03 UTC; 1min 17s ago
     Docs: man:netctl.profile(5)
  Process: 1122 ExecStart=/usr/lib/network/network start %I (code=exited, status=1/FAILURE)
 Main PID: 1122 (code=exited, status=1/FAILURE)

Oct 23 06:18:02 alarm systemd[1]: Starting Networking for netctl profile linksys...
Oct 23 06:18:03 alarm network[1122]: Starting network profile 'linksys'...
Oct 23 06:18:03 alarm network[1122]: The interface of network profile 'linksys' is already up
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Main process exited, code=exited, status=1/FAILURE
Oct 23 06:18:03 alarm systemd[1]: Failed to start Networking for netctl profile linksys.
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Unit entered failed state.
Oct 23 06:18:03 alarm systemd[1]: netctl@linksys.service: Failed with result 'exit-code'.

I'm running the OS from the internal 4GB compact flash card alongside with zgrom and OE using kexecboot.

Thank you in advance for all help you can give me.

Hi dmarschal,

thanks for your feedback and good to know that you are running ALARM on your Zaurus !

In regards to your WiFi issues, it would be helpful to have more details about the card you are using.

Just for a test, can you please try with the 3.11.3 kernel, too ? This would help to  narrow down if it is 4.x a kernel issue or not.

Also please let us know what exact CF card you have, model and version.  

Your card may require a specific firmware ?  

 [  567.427363] orinoco_cs 0.0: Firmware determined as Intersil 1.8.2

Is this correct ? What does a dmesg say on zgrom etc ?

Troubleshooting WiFi issues is quite hard for me as I do not have the card you own.

Happy to help,

Cheers!
« Last Edit: November 18, 2015, 06:26:03 am 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)

dmarschal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Archlinuxarm On C3x00
« Reply #336 on: November 18, 2015, 06:59:46 am »
daalnroti, thank you.

The card I have is a linksys 'instant wireless' wireless flash card 2.4Ghz 802.11b.

dmesg on zgrom says:
Code: [Select]
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 201)
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
hostap_cs: setting Vcc=33 (constant)
hostap_cs: Registered netdevice wifi0
prism2_hw_init: initialized in 200 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.2
wifi0: registered netdevice wlan0

I'm testing the 3.11.3 kernel...

dmarschal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Archlinuxarm On C3x00
« Reply #337 on: November 18, 2015, 07:19:56 am »
I got the same error message under 3.11.3. kernel. )-:

What cards reported to work?

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1802
    • View Profile
Archlinuxarm On C3x00
« Reply #338 on: November 18, 2015, 10:15:33 pm »
Welcome to the club, dmarschal!

My AmbiCom WL1100C-CF works.....

 
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 #339 on: November 19, 2015, 10:57:31 pm »
Quote from: dmarschal
daalnroti, thank you.

The card I have is a linksys 'instant wireless' wireless flash card 2.4Ghz 802.11b.

dmesg on zgrom says:
Code: [Select]
pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia 0.0: pcmcia: registering new device pcmcia0.0 (IRQ: 201)
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
hostap_cs: setting Vcc=33 (constant)
hostap_cs: Registered netdevice wifi0
prism2_hw_init: initialized in 200 ms
wifi0: NIC: id=0x801b v1.0.0
wifi0: PRI: id=0x15 v1.1.1
wifi0: STA: id=0x1f v1.8.2
wifi0: registered netdevice wlan0

I'm testing the 3.11.3 kernel...

You may need to blacklist the module "orinoco_cs"  (https://wiki.archlinux.org/index.php/Kernel_modules)

It seems the 4.2.3 loads the orinoco modules instead of hostap and prism.
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)

dmarschal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Archlinuxarm On C3x00
« Reply #340 on: November 20, 2015, 01:06:50 am »
it worked. thank you daalnroti!

netctl did't work. i installed wireless-tools and configured the connection from the command line using ifconfig and iwconfig. now i'm updating the os. (-:

thank you!!!

edit: daalnroti, how hard is it to compile kernels for the SL-C860/760 series?
« Last Edit: November 20, 2015, 04:24:11 am by dmarschal »

greguu

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 396
    • View Profile
    • http://github.com/greguu
Archlinuxarm On C3x00
« Reply #341 on: November 21, 2015, 12:12:12 am »
Quote from: dmarschal
edit: daalnroti, how hard is it to compile kernels for the SL-C860/760 series?

Probably not too hard, but I do not have any of these and focus only on C3x00 series, although C1000 should work too.
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)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #342 on: November 23, 2015, 08:45:10 am »
Quote
Sudip Mukherjee sudipm.mukherjee@gmail.com via lists.infradead.org
   
12:32 PM (2 hours ago)
      
to Kalle, netdev, linux-wireless, linux-kernel, libertas-dev
We were dereferencing cmd first and checking for NULL later. Lets first
check for NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
---
 drivers/net/wireless/marvell/libertas/cfg.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/net/wireless/marvell/libertas/cfg.c b/drivers/net/wireless/marvell/libertas/cfg.c
index 8317afd..e38ad1d 100644
--- a/drivers/net/wireless/marvell/libertas/cfg.c
+++ b/drivers/net/wireless/marvell/libertas/cfg.c
@@ -1108,7 +1108,7 @@ static int lbs_associate(struct lbs_private *priv,
        size_t len, resp_ie_len;
        int status;
        int ret;
-       u8 *pos = &(cmd->iebuf[0]);
+       u8 *pos;
        u8 *tmp;

        lbs_deb_enter(LBS_DEB_CFG80211);
@@ -1117,6 +1117,7 @@ static int lbs_associate(struct lbs_private *priv,
                ret = -ENOMEM;
                goto done;
        }
+       pos = &cmd->iebuf[0];

        /*
         * cmd              50 00
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: 1802
    • View Profile
Archlinuxarm On C3x00
« Reply #343 on: November 28, 2015, 09:54:25 pm »
Hmmm.....pretty quiet here lately.....
everyone busy with other things or just nothing to report?

Meanwhile, a question please....

Have a feeling that this was address somewhere among the past 20+ pages....
but would appreciate knowing if there's a way to disable the amber indicator light.

Having it flicker all the time, especially when I leave the Z on, but unattended, seems a waste of use of it.....

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/

Varti

  • Administrator
  • Hero Member
  • *****
  • Posts: 1148
    • View Profile
Archlinuxarm On C3x00
« Reply #344 on: November 29, 2015, 02:27:08 am »
Hi all,

many thanks for porting Arch Linux, I'll try it on my Z as soon as I have some free time. Has anybody tried it on a C1000?

Varthall
Planet Gemini PDA WiFi/LTE with Mediatek x27
SL-C1000 running Arch Linux ARM May2017, K30225 Wi-Fi CF Card, 64GB SDXC card
and many other Zauruses!