• Home
  • Help
  • Search
  • Login
  • Register
  Show Posts
Pages: [1] 2
1  Linux Stuff / General Linux questions / Re: Broken gcc on: June 08, 2009, 10:37:29 AM
Quote
Could it be an out-of-memory issue?
It is very unlikely but I will check. "hd"-space is definitly enough (nothing is over 30% usage).

Check your make.conf; bet you've got a screwy (or duplicate) CFLAGS entry.

[About four years ago I was an insufferable Gentoo booster, spending days recompiling everything so I could save 1ms in a loop somewhere. I got over it.]
The values of variables in make.conf are in my first post and for me it seems ok. Actually I did not change anything in my make.conf.

Maybe I can recreate the files from the stage3 but I do not know all files I would need.
2  Linux Stuff / General Linux questions / Re: Broken gcc on: June 07, 2009, 01:40:13 PM
It does not change anything. I still get:
checking for C compiler default output file name... configure: error: C compiler cannot create executables
3  Linux Stuff / General Linux questions / Broken gcc on: June 07, 2009, 10:06:47 AM
I've got a big problem with my gcc. I do not realy know what I did but it does not work anymore at all.
I've installed gentoo on the plug and until last week everything worked fine. Suddenly configure breaks with the message that gcc is not able to create executeables. gcc is in the path and starting it without anything tells me, that there are no input files which is of course correct.
emerge --info tells me:
Code:
homer ~ # emerge --info                                                                                       
Portage 2.1.6.11 (default/linux/arm/2008.0/server, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.30-rc4 armv5tel)     
=================================================================                                             
System uname: Linux-2.6.30-rc4-armv5tel-Feroceon_88FR131_rev_1_-v5l-with-glibc2.4                             
Timestamp of tree: Thu, 04 Jun 2009 07:00:02 +0000                                                             
app-shells/bash:     3.2_p39                                                                                   
dev-lang/python:     2.5.4-r2                                                                                 
sys-apps/baselayout: 1.12.11.1                                                                                 
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63
sys-devel/automake:  1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="arm"
CBUILD="armv5tel-softfloat-linux-gnueabi"
CFLAGS="-Os -march=armv5te -pipe"
CHOST="armv5tel-softfloat-linux-gnueabi"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=armv5te -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://mirror.cambrium.nl/pub/os/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 arm berkdb bluetooth bzip2 cli consolekit cracklib crypt gd gdbm gpm icalsrv iconv imap ipv6 isdnlog ldap mailwrapper midi mudflap mysql ncurses nls nptl nptlonly openmp pam pcre pdo perl php postgres pppd python readline reflection samba session snmp spl ssl subversion sysfs tcpd threads truetype unicode vhosts xml xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage sis tdfx trident    vga voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

I am not able to reemerge gcc because I do not have a compiler   Undecided
Can anyone tell me what to do?

Thanks
Markus
4  Hardware and U-Boot firmware / Hardware / Re: SDIO broken on: May 22, 2009, 04:49:51 PM
2.6.30-rc4
Yes, I built everything in.
5  Linux Stuff / Kernel / Re: SD card support on: May 21, 2009, 10:44:42 AM
Here you will find some usefull patches, especially for the -101 error:
http://computingplugs.com/index.php/Main_Page
Unfortunately it is for 2.6.30-rc3. For newer kernels you might do some hand work but its not that hard.
6  Hardware and U-Boot firmware / Hardware / SDIO broken on: May 21, 2009, 10:39:51 AM
Since working with the plug the SDIO seems not to work. I tried 3 different sd cards from 3 different manufaturers all with the same result. The kernel module for mmc is loaded but it does not detect a card. Pushing in the card while running causes the plug to restart. If the card stays in the slot while booting the blue led does not come up.
Anything else I can try or is the SDIO realy broken from hardware?
7  Hardware and U-Boot firmware / Hardware / Re: Hardware watchdog? on: May 21, 2009, 10:33:47 AM
As far as I know you should have something like /dev/watchdog if you have a hardware watchdog. The plug seems not to have one but maybe someone knows how to enable one if present.
8  General Category / Success stories / eGroupWare running on: May 21, 2009, 10:31:20 AM
I've installed eGroupWare for gentoo and it is running. SyncML seems to work too but currently my mobile does not sync with something like "invalid answer from server" and groupDAV also has some problems but I am working on it.
Synchronising with Thunderbird works well but due to the not working groupDAV synchronising of the address book currently does nothing.
I will write again if I've fixed all issues.

9  Hardware and U-Boot firmware / Hardware / Re: plug stopped booting - Bad Magic Number on: May 18, 2009, 01:30:57 AM
I had a similar problem. This comes from the bad blocks on your nand but it seems that you are knowing this.
I fixed the issue by changing the boot args to
Code:
nand read.jffs2...
This should take the bad blocks into account while reading. What you cannot avoid is that blocks become bad during normal operation so you realy lose information in your nand and than nothing else will help than reflashing your uboot/kernel.

Markus
10  General Category / General Discussion / Re: Reflashing a bricked U-Boot on: May 09, 2009, 08:31:33 AM
I had also to flash a new U-Boot because unfortunately I wrote onto mtd0 instead of 2  Wink
It did not work for the first time although without writing errors or something. I let the plug over night and decided to try the red button but the next day it suddenly worked again.
A bit strange but the outside placed reset button should do its work.
11  Linux Stuff / Linux distributions / Re: Write error cat uImage > /dev/mtdblock1 on: May 09, 2009, 08:27:48 AM
Thank you. This worked but I needed the -p for nandwrite but the rest is the same for the uImage.
12  Linux Stuff / Linux distributions / Write error cat uImage > /dev/mtdblock1 on: May 06, 2009, 03:10:33 PM
I tried a cross compiled 2.6.30-rc4 and a "natively" compiled kernel on the plug but I am not able to write it onto the flash like http://dev.gentoo.org/~armin76/arm/sheevaplug/install.xml says. My dmesg output is full of
Code:
[..]uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectableerror : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock1, sector 3832
Buffer I/O error on device mtdblock1, logical block 479
lost page write due to I/O error on mtdblock1
Do I have to do anything else than
Code:
cat uImage > /dev/mtdblock1
?
13  Linux Stuff / Kernel / Re: SD card support on: May 06, 2009, 01:14:08 PM
As I wrote:
[..] Transcend SDHC Card 16GB [..]
And it is a Class 6 card.
Currently it also crashes the complete system (reboot) when I put it into the slot. I do not think it is a matter of the filesystem because it does not work wide before any filesystem would be read.

In this case in my mind the card has some problems because even with the reader stick my host system has problems to read the informations to create the proper dev entry.

Any 16GB cards working by now?
14  Linux Stuff / Kernel / Re: SD card support on: May 04, 2009, 03:08:42 AM
I use the 2.6.30-rc4
I tried now two different SD-cards from different manufacturers and both are not working. Not even an error message.
15  Linux Stuff / Kernel / Re: SD card support on: May 02, 2009, 07:30:39 AM
/ # ls -al /dev/mmc*
ls: /dev/mmc*: No such file or directory
Pages: [1] 2