All times are UTC-06:00




Post new topic  Reply to topic  [ 37 posts ] 
Author Message
 Post subject: openSUSE ARM image
PostPosted: Mon Jan 23, 2012 2:26 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
I have yet to test it (weekends are more busy than weekdays with kids :-) ), but there is an openSUSE image available for testing: http://lizards.opensuse.org/2012/01/21/ ... arm-image/

As the openSUSE ARM port is still a work in progress, there is no YaST or KDE yet. The image contains just some basic packages, but there is zypper and many packages can already be installed.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Mon Jan 23, 2012 9:35 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 88
Location: Central Europe
Thanks for letting everyone know, Peter :-)


Top
   
 Post subject:
PostPosted: Wed Jan 25, 2012 6:43 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Just booted on my smartbook: it works, but there are no wireless tools on the image. So I need to find my USB->Ethernet adapter :)

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Thu Jan 26, 2012 4:11 am 
Offline
Genesi

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1422
Hi Peter, you have been a strong supporter of openSUSE on Genesi platforms for years. Thank you for you active participation on powerdeveloper and in the Efika MX community.

Gratefully,
R&B :)

_________________
http://bbrv.blogspot.com


Top
   
 Post subject:
PostPosted: Thu Jan 26, 2012 7:34 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Thank you for the kind words! :)

Today I tested the image on my SmartTop. It booted fine, and as networking also worked, I could add many packages from the command line.
As a syslog-ng fanatic, I also tested, if replacing rsyslog with syslog-ng solves the shutdown problem, but it does not. So it's still better to use the workaround in the original blogpost.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Thu Jan 26, 2012 8:07 pm 
Offline

Joined: Wed Aug 10, 2011 6:21 pm
Posts: 2
Location: AK USA
hi, did you get wifi working?

im happy to see openSUSE on efika mx.

--edit

I created a ifcfg-wlan0, and installed wpa_supplicant.. I can scan access points now.. working on getting connected..

_________________


Top
   
 Post subject:
PostPosted: Fri Jan 27, 2012 3:59 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Yes, it works. I followed instructions from here: http://en.opensuse.org/SDB:WiFi#How-to_ ... orkManager

It was a long trouble shooting session, with most problems between keyboard and chair :)
* wireless was turned off on the smartbook
* Ethernet cable of the access point was not connected

Right now I'm looking for information how to extend the / partition from 800MB to 3.5GB, as the original SD card image is 1GB and I put it on a 4GB card...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Jan 27, 2012 6:04 am 
Offline
Genesi

Joined: Mon Jan 30, 2006 2:28 am
Posts: 409
Location: Finland
Quote:
Right now I'm looking for information how to extend the / partition from 800MB to 3.5GB, as the original SD card image is 1GB and I put it on a 4GB card...
Try gparted.

Johan.

_________________
Johan Dams, Genesi USA Inc.
Director, Software Engineering

Yep, I have a blog... PurpleAlienPlanet


Top
   
 Post subject:
PostPosted: Fri Jan 27, 2012 6:19 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
I tried it both from gparted and also from the YaST partitioner on my SuSE laptop, but neither of them worked. "gparted" found the partitions on the SD card, but provided external tools with wrong partition names... YaST also uses parted, so had most likely the same problem.

When running gparted on the smartbook from Ubuntu, I get:
Code:
======================
libparted : 2.3
======================
Backtrace has 0 calls on stack:
Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:662 in function probe_partition_for_geom() failed.
So I'm looking at the command line possibilities right now...

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Jan 27, 2012 7:33 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Solved by the command line:

* used fdisk to resize the partition. In practice it meant deleting the partition and recreating it with the same beginning but other ending.

* used resize2fs to resize the partiton

It booted fine and with a lot more free space :)

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Jan 27, 2012 9:20 pm 
Offline

Joined: Wed Aug 10, 2011 6:21 pm
Posts: 2
Location: AK USA
Ok, here's how I got wireless working permanently (survives boot). You need some internet working already, most likely eth0, to install packages...

zypper install wireless-tools wpa_supplicant

Then create /etc/sysconfig/network/ifcfg-wlan0, and put this in it (edit ssid & PSK password to match your router):
BOOTPROTO='dhcp4'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR=''
MTU=''
NAME=''
NETMASK=''
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='hotplug'
USERCONTROL='yes'
WIRELESS_AP=''
WIRELESS_AP_SCANMODE='1'
WIRELESS_AUTH_MODE='psk'
WIRELESS_BITRATE='auto'
WIRELESS_CA_CERT=''
WIRELESS_CHANNEL=''
WIRELESS_CLIENT_CERT=''
WIRELESS_CLIENT_KEY=''
WIRELESS_CLIENT_KEY_PASSWORD=''
WIRELESS_DEFAULT_KEY='0'
WIRELESS_EAP_AUTH=''
WIRELESS_EAP_MODE=''
WIRELESS_ESSID='MyRouter'
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_PEAP_VERSION=''
WIRELESS_WPA_ANONID=''
WIRELESS_WPA_IDENTITY=''
WIRELESS_WPA_PASSWORD=''
WIRELESS_WPA_PSK='blahblahpassphrase'

Then I had to disable eth0 at boot.. for some reason using 'hotplug' mode and unplugging the ethernet cable wasn't enough. So in ifcfg-eth0, change STARTMODE to 'manual'.

Then
ifdown eth0
ifup wlan0

..should work. Reboot and it should still work.

_________________


Top
   
 Post subject:
PostPosted: Wed Feb 01, 2012 3:31 pm 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Today I tried to install XFCE on my openSUSE image. This also involved installing Xorg. The usual way of starting Xorg (starting with an empty xorg.conf) did not work. It did not find a screen. As a workaround I downloaded a random xorg.conf for framebuffers, and X started.

I still need to get XFCE working. There were some dependency problems during installation, so while I get the "tip of the day" message after logging in, I don't get a panel or menus. I still hope to fix it for the weekend: FOSDEM!

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Feb 08, 2012 5:53 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
I got some progress: XFCE works. I needed some workarounds (not ARM, but openSUSE Factory specific), which were well hidden in different bugs and forums. Here are they:
Code:
zypper in gcc46
Which removes the cpp related error messages, and the following line into /etc/profile.local:
Code:
export LD_PRELOAD="/usr/lib/libxcb-util.so.0
which is needed for most X applications to start.

Now I'm fighting with an ugly symptom: as soon as X starts, network access is gone. I can't see anything in dmesg or the logs. The kernel is the same, as in the latest Genesi image: 2.6.31.14.26-efikamx, and I don't experience this when running Ubuntu.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Wed Feb 08, 2012 6:18 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
Just found: the EFIKA smartbook was present at FOSDEM (for those, who don't know: the largest open source conference in Europe, http://fosdem.org/ ). You read the openSUSE report about FOSDEM at http://news.opensuse.org/2012/02/08/opensuse-at-fosdem/ with a nice picture about the smartbook around at the middle of the page. The original picture is available here: https://plus.google.com/photos/10914006 ... 0938358802

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
 Post subject:
PostPosted: Fri Feb 10, 2012 8:39 am 
Offline

Joined: Thu Jul 28, 2005 12:41 am
Posts: 1066
After updating my EFIKA yesterday, I ran into a strange problem: my / partition was mounted read only, which obviously caused some trouble on boot and afterward. Of course / can be remounted rw:
Code:
mount -o remount,rw /
But it's better to have a permanent solution. The image originally came with an ro boot parameter, meaning read only root. This needs to be changed. If you don't have make installed, then first install it:
Code:
zypper in make
Then change to the /boot directory, and open the file called boot.script in your favorite text editor. At the end of the line starting setenv bootargs, replace ro with rw. Save the file, and then execute the following command:
Code:
make
Which will compile boot.script to boot.scr, which is in a form understandable by u-boot.
On next boot / will be mounted rw.
And one more good news: the annoying bug of not being able to shut down the EFIKA properly is now gone.

_________________
CzP
http://czanik.blogs.balabit.com/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 37 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group