Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
EPIA M 600 / Samuel 2 settings & errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
madmax
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 126

PostPosted: Sat Jun 11, 2005 10:36 pm    Post subject: EPIA M 600 / Samuel 2 settings & errors Reply with quote

I have a epia m via c3 chip mobo samuel 2 600mhz
on which im trying to install gentoo 2005.0

my current make.conf looks like this
CFLAGS="-Os -march=i586 -fomit-frame-pointer -msse -mmmx -mfpmath=sse -pipe"
CHOST="i586-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
ALSA_CARDS="via82xx"
VIDEO_CARDS="cle266"

(no x kde etc it will be a simple server)
my stage3 was an i686 (im trying the x86 at the moment)
(im installing direct from stage3)

the kernel is gentoo sources with no framebuff or boot logo
& has the cpu set to viac3

the problem is after syslog-ng is installed if i try to start it
i get illegal instruction

This is getting really annoying, I need to move data off an existing small server
on to this one & i cant get past this error

did a search on the forums & the wiki & i think my settings are correct
if anyone can paste their make.conf for the 600 board & help me with syslog-ng
id really appreciate it
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Jun 12, 2005 1:04 am    Post subject: Reply with quote

I'm pretty sure the Samuel 2 is only i586 compatible, so you can't start with an i686 stage tarball.
Back to top
View user's profile Send private message
madmax
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jul 2002
Posts: 126

PostPosted: Sun Jun 12, 2005 3:14 am    Post subject: Reply with quote

i redid the install with an x86 tarball with the exact same error
gave up on syslog & tried metalog & got the same error..

do i have to go thru a full stage1 install ?
Back to top
View user's profile Send private message
liutom
n00b
n00b


Joined: 30 Sep 2004
Posts: 51

PostPosted: Sun Jul 17, 2005 6:19 pm    Post subject: Reply with quote

Try without -msse !!!!
Samuel2 has no sse support !
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Sat Aug 20, 2005 2:35 pm    Post subject: Reply with quote

I have a MII 6000 board and i am wondering about the cflags and stuff as well.

I will try to find out something about on the internet, but maybe someone has an answer here.

I always used i586 layout, until i heard the C3 is an i686, but is missing the CMOV feature. Gcc thinks all i686 feature it, so it could result in broken code. I didn't care too much and reemerged gcc and everything for the i686 environment. Since then, i am compiling happily without broken code. BUT my cflags look like this at the moment:
Code:

CFLAGS="-Os -march=c3 -mcpu=i686 -mmmx -m3dnow -pipe -fomit-frame-pointer -ffast-math -ftracer"

(ffast-math and ftracer are very new, i just inserted them this week out of interest)

What is disturbing me now is, that i read -march=c3 compiles for i386. So it is no wonder everything compiles correct, because i am NOT really using i686. Or is -mcpu overwrtinig the -march value? (I read somewhere, the mcpu flag is used when the march flag is filtered out, so it might be i have some i686 code...)

Is that cmov thing fixed gcc 3.4? My current gcc version is gcc-3.3.5.20050130-r1
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Aug 20, 2005 2:50 pm    Post subject: Reply with quote

When in doubt check the safe cflags list: http://gentoo-wiki.com/Safe_Cflags#Nehemiah_.28Via.29
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Sat Aug 20, 2005 3:32 pm    Post subject: Reply with quote

I think this board is an Ezra (VIA Samuel 2), but that is listed directly below your link, so thanks anyway.

But i had these safe flags running from the beginning and i am curious if i686 works now and the cmov issue is resolved. And i am curious if -march=c3 uses i386 for all packages. I will do some reading about it this evening.

btw, is this too far offtopic for the "gentoo installation" forum?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Aug 20, 2005 3:43 pm    Post subject: Reply with quote

the_mgt wrote:
I think this board is an Ezra (VIA Samuel 2), but that is listed directly below your link, so thanks anyway.

But i had these safe flags running from the beginning and i am curious if i686 works now and the cmov issue is resolved. And i am curious if -march=c3 uses i386 for all packages. I will do some reading about it this evening.

btw, is this too far offtopic for the "gentoo installation" forum?
Not as long as it is related to doing the install. Selecting the correct stage file and chost/cflags are definitely installation related.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Sat Feb 04, 2006 8:02 pm    Post subject: Reply with quote

I have an epia-v 800MHz. I just did a 2005.1-r1 stage 3 (x86) install. I went with a CHOST setting of i586-pc-linux-gnu. My CFLAGS are -march=i586, -m3dnow, -03, -pipe, -fomit-frame-pointer. After configuring my bootloader, I rebooted the machine. Somewhat to my surprise, I am not at the login prompt. I am unable to enter any text. Do you think this is a problem with not adding support for the keyboard in my kernel or something else related to CHOST or CFLAGS?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
the_mgt
Apprentice
Apprentice


Joined: 05 Aug 2005
Posts: 259
Location: Germany, near Hannover

PostPosted: Sun Feb 05, 2006 1:22 am    Post subject: Reply with quote

Did you take a stage3 tarball for i686?
Otherwise i think you flags are ok for that board, if your system is compiled wiith them.

And to answer my questions from from above: march=c3 compiles for i486.
_________________
Citadel Groupware | Avahi Howto
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Sun Feb 05, 2006 2:36 am    Post subject: Reply with quote

My board died recently but it was a 800mhz samuel 2 and was a i586. Take the mmx and such out of your CFLAGS. CFLAGS="march=i586 -Os -fomit-frame-pointer -pipe" worked the best for me. You can add mmx and such to your make.conf USE settings, the best place for them.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Tue Feb 07, 2006 7:56 pm    Post subject: Reply with quote

Do I have to install using a stage 1 install? Like I said, I did a stage three install, the sytem rebooted fine and went to the login prompt. I just can't use my keyboard or mouse. Is the fix as simple as enabling something in my kernel and rebooting... Or again... do I have to do a stage 1 install?
_________________
gentoo good to be true
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Wed Feb 08, 2006 7:08 am    Post subject: Reply with quote

No you dont have to do a stage1. You probably have a miss configuration of your kernel. You can reboot with a livecd, remount your partions, proc swap, chroot, env-update and source profile. "cd /usr/src/linux " and the make menuconfig go to Input device support ---> and keyboard and mouse stuff. Then remaek your kernel. and reboot.
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
miketkf
n00b
n00b


Joined: 12 Feb 2006
Posts: 1
Location: Finland

PostPosted: Sun Feb 12, 2006 6:42 pm    Post subject: gcc patch for i686 - cmov Reply with quote

Check out this link: http://gcc.gnu.org/ml/gcc-patches/2004-07/msg02718.html

This is a patch for gcc which sets the architecture to i686 and masks out the CMOV instruction when -march=c3 is selected. I tried this some time ago and it did work for me. I had to do a stage 1 install and patch gcc...

/M
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum