Author Topic: Archlinuxarm On C3x00  (Read 148748 times)

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #225 on: October 23, 2015, 07:16:25 am »
Thanks for the new kernel daal!

I've installed it. It boots OK but for some reason my USB ethernet adapter doesn't work under this kernel so now I have no networking at all - well at least until I re-install the previous kernel or you fix it!

dmesg 'sees' my hub and ethernet adapter, there are no errors that I can see and I never had to load a module to get it working before so I'm at a bit of a loss. Could this be related to you supposedly enablling more USB wifi adapters somehow?

EDIT

lsusb sees it too - 0b95:7720 ASIX electronics corp  AX88772 . ifconfig -a  does not.

EDIT 2

The screen still goes white after 10m in this version - not that you claimed to have fixed it.
« Last Edit: October 23, 2015, 07:31:34 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

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #226 on: October 23, 2015, 07:52:57 am »
My prob with my ethernet adapter doesn't seem to be the fault of the new kernel as I've just reverted back to 0.2 and its still not working. It works on my laptop so it must be a prob with my hub or one of its cables.

I need to get one that will run off bus power like daal has.
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

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #227 on: October 23, 2015, 08:14:29 am »
Ethernet is back!  So it wasn't a hardware issue either - for some reason Linux had previously been autoloading the asix kernel module for me but today it decided the free ride was over so I had to:

Code: [Select]
modprobe asix
Which depends on usbnet.

I'm going to try again with the latest kernel now that scare is over then
« Last Edit: October 23, 2015, 08:17:04 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

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #228 on: October 23, 2015, 11:31:00 am »
Hi daal

I noticed the release notes for 4.2.3 0.3 state:

* Added PXA2xx cpufreq

It doesn't seem to be working for me but maybe I missing something? I have got:

Code: [Select]
pxa27x_maxfreq=624
Appended to my kernel parameters in boot.cfg for the latest kernel but lscpu says I'm still running at 416Mhz.
« Last Edit: October 23, 2015, 11:44:00 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: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #229 on: October 23, 2015, 03:54:21 pm »
Don't know what happened, but having problems accessing and posting on this website today. Both at home and at office....

Meanwhile having various issues with Z after doing system upgrade via pacman...

Main issue is Ethernet not working now...assume this has to with upgrading system....

Any suggestion as to how to get this working again?

Otherwise, I assume I'll need to reinstall Arch again....

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 #230 on: October 23, 2015, 04:05:27 pm »
It sounds like you're having the same problem as I had earlier. You need to find out what kernel module your ethernet adapter requires and then use modprobe to dynamically load it or add the module name to /etc/modules to have it loaded at boot.
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: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #231 on: October 23, 2015, 04:15:55 pm »
Quote from: danboid
It sounds like you're having the same problem as I had earlier. You need to find out what kernel module your ethernet adapter requires and then use modprobe to dynamically load it or add the module name to /etc/modules to have it loaded at boot.

Thanks for your help...

Think it might be 'hostap_cs'  ?

Will try it soon and report back...

Only way I can post right now is by using my mobile phone.....

Very odd....
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 #232 on: October 23, 2015, 04:27:00 pm »
hostap_cs is the kernel module for your wifi, not your ethernet
« Last Edit: October 23, 2015, 04:27:36 pm 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: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #233 on: October 23, 2015, 04:32:00 pm »
Quote from: danboid
hostap_cs is the kernel module for your wifi, not your ethernet

Oh yeah.....thanks.....got too many things going on today....

Hmmm...will do a search on my Socket 10/100 card.....

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/

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #234 on: October 23, 2015, 06:03:37 pm »
Can't seem to find the card info online....

Is there a command I can use with card inserted to get needed info?

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 #235 on: October 23, 2015, 07:24:04 pm »
You could try lspcmcia and dmesg.

I've got video playback working under the console although it def. struggles to play back VGA res MP4 files.

I had to use the SDL EVs mentioned earlier in this thread then I used:

Code: [Select]
mplayer -vo sdl video.mp4
mpv is the best video player but unfortunately its Arch package is compiled without SDL support which is what it requires to play video outside of X as mpv has no direct fbdev support.

I've got some more exciting news too but I'm goiing to deliver that in the form of a video soon!
« Last Edit: October 23, 2015, 07:25:29 pm 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: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #236 on: October 23, 2015, 07:32:59 pm »
Quote from: danboid
You could try lspcmcia and dmesg.

Thanks!.....

lspcmcia: command not found

dmesg......scrolls by too quick....I see some lines of text about midway during scrolling that look red......

Ok, figured out how to get dmesg to show without scrolling by......

Quote
# dmesg | grep -i pcmcia

or

Quote
# dmesg | less

Unfortunately, don't get much info on card with dmesg:

Quote
# dmesg | grep -i pcmcia
[  1.360213] pcmcia_socket  pcmcia_socket0:  pccard:  PCMCIA card inserted into slot 0
[  1.365150] pcmcia 0.0:  pcmcia: registering new device pcmcia0.0 (IRQ: 217)
[  1.370279] pcmcia_socket  pcmcia_socket1:  pccard:  PCMCIA card inserted into slot 1
[  1.375084] pcmcia 1.0:  pcmcia: registering new device pcmcia1.0 (IRQ: 218)
[  1.427098] scsi host0: pata_pcmcia

Quote
I've got video playback working under the console although it def. struggles to play back VGA res MP4 files.

I had to use the SDL EVs mentioned earlier in this thread then I used:

Code: [Select]
mplayer -vo sdl video.mp4
mpv is the best video player but unfortunately its Arch package is compiled without SDL support which is what it requires to play video outside of X as mpv has no direct fbdev support.

I've got some more exciting news too but I'm goiing to deliver that in the form of a video soon!

Wow, sounds great........standing by for video soon......
« Last Edit: October 23, 2015, 08:22:11 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/

danboid

  • Hero Member
  • *****
  • Posts: 881
    • View Profile
    • http://
Archlinuxarm On C3x00
« Reply #237 on: October 23, 2015, 08:39:47 pm »
That's weird. lspcmcia is part of the pcmciautils package under x64 Arch but it doesn't seem to be in the ALARM repos.

If you have a Linux PC with a CF card reader it might be easier to try to get some info out of the card that way.If there is no model number or manfacturer printed on the card and/or you have no luck with lspcmcia you may have to compile your own pcmciatools. Or you could boot another distro where it works and find out the module name by running lsmod.

As you've noticed, we have no good way to scroll the console buffer yet - you just have to use good ol' grep, less, more and pals. That'd be one good thing about getting X going - scrollable console buffers!
« Last Edit: October 23, 2015, 08:41:48 pm 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: 1830
    • View Profile
Archlinuxarm On C3x00
« Reply #238 on: October 23, 2015, 09:13:37 pm »
Quote from: danboid
That's weird. lspcmcia is part of the pcmciautils package under x64 Arch but it doesn't seem to be in the ALARM repos.

Yep......and I've noticed other items that aren't found.....

Quote
If you have a Linux PC with a CF card reader it might be easier to try to get some info out of the card that way.If there is no model number or manfacturer printed on the card and/or you have no luck with lspcmcia you may have to compile your own pcmciatools. Or you could boot another distro where it works and find out the module name by running lsmod.

Yes, have 2 other laptops with linux...so, will see what I can find out that way...

There are two numbers on the back of the card that might be model number, but they're not labeled.....

One is under a bar code:  00E098  C38EC8

Hmmm.....looks like this is a hardware address according to info on:

http://www.mit.edu/~map/Ethernet/vendor.html

Other is below another bar code:  8510-00179C

On the bottom of this webpage:

https://www.socketmobile.com/support/downloads/ethernet

Quote
NE2000 Compatibility

The Socket Rugged CF 10/100 card is not NE2000 compatible. NE2000 compatible drivers should function with this card after some small changes are implemented. These changes involve the initialization process and are limited in scope. Small differences exist in the NE2000 compatible register set but these do not affect general operation of the Rugged CF 10/100 card.

The zip file contains Driver porting notes, PHY files and the ASIX AX88790 L 10/100 Ethernet Controller datasheet.

So, thought maybe this card has asix controller......

Code: [Select]
# modprobe asix
#
# modprobe asix_ax88790
modprobe: FATAL:  Module asix_ax88790 not found.

Dang!!!...................

OK, will try card on laptop and see what I can find out......

Quote
As you've noticed, we have no good way to scroll the console buffer yet - you just have to use good ol' grep, less, more and pals. That'd be one good thing about getting X going - scrollable console buffers!

Yes, indeed......  
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 #239 on: October 23, 2015, 09:58:30 pm »
Try

Code: [Select]
modprobe pcnet_cs
or

Code: [Select]
modprobe axnet_cs
and run ifconfig -a after probing for each

http://tuxscreen.net/wiki/view/PCMCIA
« Last Edit: October 23, 2015, 09:59:36 pm 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