Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cobalt RaQ/Qube Systems -- Testing Needed
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Jan 24, 2005 4:45 am    Post subject: Reply with quote

Francis85: Does the /dev/lcd file exist?

You should see something like this:
Code:
qube root # ls /dev/lcd -l
crw-rw-rw-  1 root root 10, 63 Jan  1  2000 /dev/lcd


You can create it using mknod like so:

Code:
qube root # mknod /dev/lcd c 10 63

_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
Francis85
n00b
n00b


Joined: 27 Jan 2003
Posts: 35

PostPosted: Mon Jan 24, 2005 2:18 pm    Post subject: Reply with quote

That did it, thanks!

I wonder why the device node dissapeared though..

//edit: Ah, was the fact that I omitted /dev filesystem since I wanted to use udev.. and forgot about it :oops:
Back to top
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Fri Jan 28, 2005 8:32 am    Post subject: Reply with quote

Got my Qube 2 yesterday. Brand new in the box and for a very nice price (since it's brand new). I replaced the drive with a more silent 10GB Seagate en swapped the memory with my RaQ2+ (Qube 2 had 16MB and RaQ2+ had 256MB).

Experiences with my RaQ2+ are kinda ok. eth0 and eth1 generate huge amounts of errors, but that might be due to the kernel used. I use 2.6.8.1 on it. Going to try out the 2.6.10 kernel once I get there on the Qube 2.
Hopefully this will fix that...

If the NIC's are then still b0rky b0rky I will try and get a dual port NIC.
_________________
Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha.
Back to top
View user's profile Send private message
atopian
n00b
n00b


Joined: 18 Apr 2002
Posts: 29
Location: Columbus, OH

PostPosted: Fri Jan 28, 2005 5:43 pm    Post subject: Reply with quote

Be careful if you get an external NIC for the qube. There are some NICs (particularly those that like doing PCI tricks) that simply wont work. Either they are not recognized, or more commonly the qube/raq wont boot.
_________________
Gentoo, boldly going places only NetBSD dare venture.
Back to top
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Sat Jan 29, 2005 12:34 pm    Post subject: Reply with quote

I was thinking about a Intel based card since they tend to be on eBay frequently, plus they can be shipped to Europe.

Do you know of a list or at least some chips that *should* work in a Qube/RaQ2? (RaQ2 doesn't have PCI at all afaik).
_________________
Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha.
Back to top
View user's profile Send private message
atopian
n00b
n00b


Joined: 18 Apr 2002
Posts: 29
Location: Columbus, OH

PostPosted: Sat Jan 29, 2005 5:51 pm    Post subject: Reply with quote

the eepro100 chips should work well. If memory serves, those were the NIC's we put in for the 3rd ethernet slot in those days. Also tulip chips should work (they were the offical 3rd nick for the R3/Q3).
_________________
Gentoo, boldly going places only NetBSD dare venture.
Back to top
View user's profile Send private message
freshy98
Apprentice
Apprentice


Joined: 11 Jul 2002
Posts: 274
Location: The Netherlands

PostPosted: Sat Jan 29, 2005 6:53 pm    Post subject: Reply with quote

I have a Digital NIC at home, but not a dual port one.

My goal is to make a firewall/router out of the Qube2. If the onboard NIC's produce massive errors it won't do. That is why I am selling my RaQ2+ (dual NIC) now I got thw Qube2.
_________________
Mac Pro single quad 2.8GHz, 6GB RAM, 8800GT. MacBook. Plus way too many SUN/Cobatl/SGI and a lonely Alpha.
Back to top
View user's profile Send private message
Francis85
n00b
n00b


Joined: 27 Jan 2003
Posts: 35

PostPosted: Mon Jan 31, 2005 5:01 pm    Post subject: Reply with quote

You folks might find this interesting

Quote:

Patch against the linux-mips.org CVS repository tag linux_2_6_9.
Pressing ENTER & SELECT (simultaneously) on a halted machine now reboots it.

More 64-bit fixes. 64-bit support is now working (just). Built with the default configuration from arch/mips/configs/cobalt_defconfig but with these additions :-

CONFIG_MIPS64=y
CONFIG_BUILD_ELF64=y
CONFIG_MIPS32_COMPAT=y
CONFIG_MIPS32_O32=y


http://www.colonel-panic.org/cobalt-mips/
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Jan 31, 2005 9:56 pm    Post subject: Reply with quote

Yes... note the "working (just)". Apparently it crawls along -- no where near ready for production use.

Hopefully after the next patch comes out, some of those speed/reliability issues will be straightened out.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
E-Werk
n00b
n00b


Joined: 19 Aug 2004
Posts: 9
Location: Düsseldorf Germany

PostPosted: Tue Feb 01, 2005 4:10 pm    Post subject: kernel will not be cooked Reply with quote

hi

i have setup the qube2 with 64mb (colo,gcc3.4.3,etc...)
all went well except the libperl and perl package...

now i wanna do the kernel and again it wont compile :(
its "linux-2.6.9-20041022.cobalt" i used the 2609.config from kumbas site

Code:

gentoo-mips-20040426 linux # make
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  CC      scripts/mod/empty.o
/bin/sh: mipsel-linux-gcc: command not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2


its the 3rd time i started from scratch and it was the smooothest one,
i have symlinked to the 2004.2 profile as kumba stated in an other thread

my make.conf

Code:

CHOST="mipsel-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -mtune=r5000 -fomit-frame-pointer -fforce-addr -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~mips"

RSYNC_RETRIES="3"
RSYNC_TIMEOUT=60

MAKEOPTS="-j1"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="-sandbox ccache -distcc"
CCACHE_SIZE="1G"

USE="-nls mips cobalt"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ......"


i found the same error at a debian list but it was for x86 and i didnt really understand what they where talking about .

the kernel seems to be my "frontier" on this arch ... :roll:
ahh and a crosscompile is not possible at the moment ...

anyone can help me ?

christian

edit.

i saw just after finishing this, that there is a thread about that problem
BUT i have little endian turned on ...so ?
_________________
do what u want , do what u like , do what u feel ,do what u need
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Tue Feb 01, 2005 11:49 pm    Post subject: Re: kernel will not be cooked Reply with quote

E-Werk wrote:
hi

i have setup the qube2 with 64mb (colo,gcc3.4.3,etc...)
all went well except the libperl and perl package...


There was an issue compilling perl/libperl 5.8.4 -- it used to hang and take forever, but AFAIK that issue was resolved. What happens in your case?

Quote:
now i wanna do the kernel and again it wont compile :(
its "linux-2.6.9-20041022.cobalt" i used the 2609.config from kumbas site

Code:

gentoo-mips-20040426 linux # make
  CHK     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  CC      scripts/mod/empty.o
/bin/sh: mipsel-linux-gcc: command not found
make[2]: *** [scripts/mod/empty.o] Error 127
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2


The mipsel-linux-gcc: command not found looks intruguing. In your kernel config, go into Kernel Hacking and make sure Are You Using a crosscompiler is turned off.

Quote:
its the 3rd time i started from scratch and it was the smooothest one,
i have symlinked to the 2004.2 profile as kumba stated in an other thread

my make.conf

Code:

CHOST="mipsel-unknown-linux-gnu"
CFLAGS="-O2 -mips4 -mabi=32 -mtune=r5000 -fomit-frame-pointer -fforce-addr -pipe"
CXXFLAGS="${CFLAGS}"
ACCEPT_KEYWORDS="~mips"

RSYNC_RETRIES="3"
RSYNC_TIMEOUT=60

MAKEOPTS="-j1"
PORTAGE_NICENESS=3
AUTOCLEAN="yes"
FEATURES="-sandbox ccache -distcc"
CCACHE_SIZE="1G"

USE="-nls mips cobalt"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ ......"


i found the same error at a debian list but it was for x86 and i didnt really understand what they where talking about .

the kernel seems to be my "frontier" on this arch ... :roll:
ahh and a crosscompile is not possible at the moment ...

anyone can help me ?

christian

edit.

i saw just after finishing this, that there is a thread about that problem
BUT i have little endian turned on ...so ?


If you try the above... everything should Just Work. Mind you, if you have an x86 box handy you might like to emerge crossdev and run crossdev -k --arch=mipsel. That will give you a mipsel cross compiller that you can use to build a kernel in a lot less time.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
E-Werk
n00b
n00b


Joined: 19 Aug 2004
Posts: 9
Location: Düsseldorf Germany

PostPosted: Wed Feb 02, 2005 2:23 am    Post subject: ahhh progress :) Reply with quote

thank u very much dotore redhatter

.....this worked so far but then :roll:
Code:

.
..
...
  CC      mm/memory.o
  CC      mm/mincore.o
  CC      mm/mlock.o
  CC      mm/mmap.o
mm/mmap.c: In function `acct_stack_growth':
mm/mmap.c:1327: error: structure has no member named `rlim'
mm/mmap.c:1330: error: structure has no member named `rlim'
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2


what is "mm" maybe i can turn off something so it would compile.....
or a patch ??
everything i found with this error was not related to mmap.c(o)
i just want that little silly kernel, to have a working base ... :x

the libperl error looks like this
Code:

Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
Finding dependencies for opmini.o.
make[1]: Entering directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6'
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6'
Updating makefile...
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
make[1]: Entering directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6/x2p'
makefile:157: *** target pattern contains no `%'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6/x2p'
make: *** [depend] Error 2

!!! ERROR: sys-devel/libperl-5.8.6 failed.
!!! Function src_compile, Line 217, Exitcode 2
!!! Couldn't make libperl.so depends
!!! If you need support, post the topmost build error, NOT this status message.


have to sleep now..... i will check gentoo bugzilla tomorrow

chris
_________________
do what u want , do what u like , do what u feel ,do what u need
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Wed Feb 02, 2005 7:08 am    Post subject: Re: ahhh progress :) Reply with quote

E-Werk wrote:
thank u very much dotore redhatter

.....this worked so far but then :roll:
Code:

.
..
...
  CC      mm/memory.o
  CC      mm/mincore.o
  CC      mm/mlock.o
  CC      mm/mmap.o
mm/mmap.c: In function `acct_stack_growth':
mm/mmap.c:1327: error: structure has no member named `rlim'
mm/mmap.c:1330: error: structure has no member named `rlim'
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2


what is "mm" maybe i can turn off something so it would compile.....
or a patch ??
everything i found with this error was not related to mmap.c(o)
i just want that little silly kernel, to have a working base ... :x


Umm... ouch. No there isn't any magic to switch that off unfortunately. Perhaps try a make clean -- or better still;
Code:
# mv .config ..
# make mrproper
# mv ../.config .


then try running your make vmlinux again. Sometimes it helps to clean out the stale .o files when you tinker with the config. :-) (This is where cross-compilers are really handy -- a build only takes 2 min on my 2x PIII 1GHz)

Quote:
the libperl error looks like this
Code:

Finding dependencies for miniperlmain.o.
Finding dependencies for perlmain.o.
Finding dependencies for opmini.o.
make[1]: Entering directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6'
echo Makefile.SH cflags.SH config_h.SH makeaperl.SH makedepend.SH makedir.SH myconfig.SH writemain.SH pod/Makefile.SH | tr ' ' '\n' >.shlist
make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6'
Updating makefile...
test -s perlmain.c && touch perlmain.c
cd x2p; make depend
make[1]: Entering directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6/x2p'
makefile:157: *** target pattern contains no `%'.  Stop.
make[1]: Leaving directory `/var/tmp/portage/libperl-5.8.6/work/perl-5.8.6/x2p'
make: *** [depend] Error 2

!!! ERROR: sys-devel/libperl-5.8.6 failed.
!!! Function src_compile, Line 217, Exitcode 2
!!! Couldn't make libperl.so depends
!!! If you need support, post the topmost build error, NOT this status message.


have to sleep now..... i will check gentoo bugzilla tomorrow

chris


It seems you're not the only one to hit that bug. Here is a thread on LinuxQuestions.org about compiling Perl 5.8.4 on Linux From Scratch -- exact same error message.

However, on my qube:
Code:
qube root # perl -v

This is perl, v5.8.4 built for mipsel-linux

Copyright 1987-2004, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

qube root #


so if you don't mind having a slightly older Perl installation, perhaps emerge libperl-5.8.4 perl-5.8.4 (or 5.8.5) might move things along for you.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
E-Werk
n00b
n00b


Joined: 19 Aug 2004
Posts: 9
Location: Düsseldorf Germany

PostPosted: Wed Feb 02, 2005 12:20 pm    Post subject: the whole kernel disaster Reply with quote

ok ... dunno if i should post this much, but ill do it .

its the whole kernel output with several errors before the mmap detonation.
Code:

gentoo-mips-20040426 linux # make vmlinux
  CHK     include/linux/version.h
/bin/sh: command substitution: line 0: syntax error near unexpected token `('
/bin/sh: line 0: [: -gt: unary operator expected
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
  CC      scripts/mod/empty.o
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
  HOSTCC  scripts/bin2c
  CC      arch/mips/kernel/offset.s
  CHK     include/asm-mips/offset.h
  UPD     include/asm-mips/offset.h
  CC      arch/mips/kernel/reg.s
  CHK     include/asm-mips/reg.h
  UPD     include/asm-mips/reg.h
  CC      init/main.o
  CHK     include/linux/compile.h
dnsdomainname: Unknown host
  UPD     include/linux/compile.h
  CC      init/version.o
init/version.c:23: warning: initializer-string for array of chars is too long
init/version.c:23: warning: (near initialization for `system_utsname.release')
  CC      init/do_mounts.o
  LD      init/mounts.o
  CC      init/initramfs.o
  LD      init/built-in.o
  HOSTCC  usr/gen_init_cpio
  CPIO    usr/initramfs_data.cpio
  GZIP    usr/initramfs_data.cpio.gz
  AS      usr/initramfs_data.o
  LD      usr/built-in.o
  CC      arch/mips/cobalt/irq.o
arch/mips/cobalt/irq.c:92: warning: missing braces around initializer
arch/mips/cobalt/irq.c:92: warning: (near initialization for `irq_via.mask')
  AS      arch/mips/cobalt/int-handler.o
  CC      arch/mips/cobalt/reset.o
  CC      arch/mips/cobalt/setup.o
  CC      arch/mips/cobalt/promcon.o
  LD      arch/mips/cobalt/built-in.o
  CC      arch/mips/kernel/cpu-probe.o
  CC      arch/mips/kernel/branch.o
  AS      arch/mips/kernel/entry.o
  AS      arch/mips/kernel/genex.o
  CC      arch/mips/kernel/irq.o
  CC      arch/mips/kernel/process.o
  CC      arch/mips/kernel/ptrace.o
  CC      arch/mips/kernel/reset.o
  CC      arch/mips/kernel/semaphore.o
  CC      arch/mips/kernel/setup.o
  CC      arch/mips/kernel/signal.o
In file included from arch/mips/kernel/signal.c:33:
arch/mips/kernel/signal_common.h: In function `restore_sigcontext':
arch/mips/kernel/signal_common.h:59: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:60: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:61: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:66: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:66: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:66: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:67: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:67: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:67: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:68: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:68: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:68: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:69: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:69: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:69: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:70: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:70: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:70: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:71: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:71: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:71: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:72: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:72: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:72: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:73: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:73: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:73: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:74: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:74: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:74: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:75: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:75: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:75: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:76: warning: use of cast expressions as lvalues is deprecated
arch/mips/kernel/signal_common.h:79: warning: use of cast expressions as lvalues is deprecated
  CC      arch/mips/kernel/syscall.o
  CC      arch/mips/kernel/time.o
  CC      arch/mips/kernel/traps.o
arch/mips/kernel/traps.c: In function `show_stack':
arch/mips/kernel/traps.c:97: warning: use of cast expressions as lvalues is deprecated
  CC      arch/mips/kernel/unaligned.o
  CC      arch/mips/kernel/mips_ksyms.o
  CC      arch/mips/kernel/module.o
  CC      arch/mips/kernel/module-elf32.o
  AS      arch/mips/kernel/r4k_fpu.o
  AS      arch/mips/kernel/r4k_switch.o
  CC      arch/mips/kernel/i8259.o
arch/mips/kernel/i8259.c:298: warning: missing braces around initializer
arch/mips/kernel/i8259.c:298: warning: (near initialization for `irq2.mask')
  CC      arch/mips/kernel/irq_cpu.o
  AS      arch/mips/kernel/scall32-o32.o
  CC      arch/mips/kernel/proc.o
  LD      arch/mips/kernel/built-in.o
  AS      arch/mips/kernel/head.o
  CC      arch/mips/kernel/init_task.o
arch/mips/kernel/init_task.c:15: warning: initialization makes integer from pointer without a cast
  LDS     arch/mips/kernel/vmlinux.lds
  CC      arch/mips/mm/cache.o
  CC      arch/mips/mm/extable.o
  CC      arch/mips/mm/fault.o
  CC      arch/mips/mm/init.o
  CC      arch/mips/mm/pgtable.o
  CC      arch/mips/mm/ioremap.o
  CC      arch/mips/mm/pgtable-32.o
  CC      arch/mips/mm/c-r4k.o
  AS      arch/mips/mm/cex-gen.o
  CC      arch/mips/mm/pg-r4k.o
  CC      arch/mips/mm/tlb-r4k.o
  AS      arch/mips/mm/tlbex32-r4k.o
  CC      arch/mips/mm/dma-noncoherent.o
  LD      arch/mips/mm/built-in.o
  CC      arch/mips/math-emu/cp1emu.o
  CC      arch/mips/math-emu/ieee754m.o
  CC      arch/mips/math-emu/ieee754d.o
  CC      arch/mips/math-emu/ieee754dp.o
  CC      arch/mips/math-emu/ieee754sp.o
  CC      arch/mips/math-emu/ieee754.o
  CC      arch/mips/math-emu/ieee754xcpt.o
  CC      arch/mips/math-emu/dp_frexp.o
  CC      arch/mips/math-emu/dp_modf.o
  CC      arch/mips/math-emu/dp_div.o
  CC      arch/mips/math-emu/dp_mul.o
  CC      arch/mips/math-emu/dp_sub.o
  CC      arch/mips/math-emu/dp_add.o
  CC      arch/mips/math-emu/dp_fsp.o
  CC      arch/mips/math-emu/dp_cmp.o
  CC      arch/mips/math-emu/dp_logb.o
  CC      arch/mips/math-emu/dp_scalb.o
  CC      arch/mips/math-emu/dp_simple.o
  CC      arch/mips/math-emu/dp_tint.o
  CC      arch/mips/math-emu/dp_fint.o
  CC      arch/mips/math-emu/dp_tlong.o
  CC      arch/mips/math-emu/dp_flong.o
  CC      arch/mips/math-emu/sp_frexp.o
  CC      arch/mips/math-emu/sp_modf.o
  CC      arch/mips/math-emu/sp_div.o
  CC      arch/mips/math-emu/sp_mul.o
  CC      arch/mips/math-emu/sp_sub.o
  CC      arch/mips/math-emu/sp_add.o
  CC      arch/mips/math-emu/sp_fdp.o
  CC      arch/mips/math-emu/sp_cmp.o
  CC      arch/mips/math-emu/sp_logb.o
  CC      arch/mips/math-emu/sp_scalb.o
  CC      arch/mips/math-emu/sp_simple.o
  CC      arch/mips/math-emu/sp_tint.o
  CC      arch/mips/math-emu/sp_fint.o
  CC      arch/mips/math-emu/sp_tlong.o
  CC      arch/mips/math-emu/sp_flong.o
  CC      arch/mips/math-emu/dp_sqrt.o
  CC      arch/mips/math-emu/sp_sqrt.o
  CC      arch/mips/math-emu/kernel_linkage.o
  CC      arch/mips/math-emu/dsemul.o
  LD      arch/mips/math-emu/built-in.o
  CC      kernel/sched.o
  CC      kernel/fork.o
  CC      kernel/exec_domain.o
  CC      kernel/panic.o
  CC      kernel/printk.o
  CC      kernel/profile.o
  CC      kernel/exit.o
  CC      kernel/itimer.o
  CC      kernel/time.o
  CC      kernel/softirq.o
  CC      kernel/resource.o
  CC      kernel/sysctl.o
kernel/sysctl.c: In function `do_sysctl':
kernel/sysctl.c:943: warning: use of cast expressions as lvalues is deprecated
  CC      kernel/capability.o
  CC      kernel/ptrace.o
  CC      kernel/timer.o
  CC      kernel/user.o
  CC      kernel/signal.o
  CC      kernel/sys.o
  CC      kernel/kmod.o
  CC      kernel/workqueue.o
  CC      kernel/pid.o
  CC      kernel/rcupdate.o
  CC      kernel/intermodule.o
  CC      kernel/extable.o
  CC      kernel/params.o
  CC      kernel/posix-timers.o
  CC      kernel/kthread.o
  CC      kernel/futex.o
  CC      kernel/module.o
  CC      kernel/acct.o
  GZIP    kernel/config_data.gz
  IKCFG   kernel/config_data.h
  CC      kernel/configs.o
  LD      kernel/built-in.o
  CC      mm/bootmem.o
  CC      mm/filemap.o
  CC      mm/mempool.o
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
  CC      mm/page_alloc.o
  CC      mm/page-writeback.o
  CC      mm/pdflush.o
  CC      mm/prio_tree.o
  CC      mm/readahead.o
  CC      mm/slab.o
  CC      mm/swap.o
  CC      mm/truncate.o
  CC      mm/vmscan.o
  CC      mm/fremap.o
  CC      mm/highmem.o
  CC      mm/madvise.o
  CC      mm/memory.o
  CC      mm/mincore.o
  CC      mm/mlock.o
  CC      mm/mmap.o
mm/mmap.c: In function `acct_stack_growth':
mm/mmap.c:1327: error: structure has no member named `rlim'
mm/mmap.c:1330: error: structure has no member named `rlim'
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2


thanx for the idea with a earlier version of pearl ... its compiling :wink: (sun goes down ....sun goes up)
if the kernel will not compile propperly i will use crossdev on an notebook i am installing gentoo at the moment.

so far with a friendly smile to brisbane

christian
_________________
do what u want , do what u like , do what u feel ,do what u need
Back to top
View user's profile Send private message
Kumba
Developer
Developer


Joined: 16 Jul 2002
Posts: 373
Location: Sigma 957

PostPosted: Wed Feb 02, 2005 7:13 pm    Post subject: Re: the whole kernel disaster Reply with quote

E-Werk wrote:
Code:
  CC      mm/mincore.o
  CC      mm/mlock.o
  CC      mm/mmap.o
mm/mmap.c: In function `acct_stack_growth':
mm/mmap.c:1327: error: structure has no member named `rlim'
mm/mmap.c:1330: error: structure has no member named `rlim'
make[1]: *** [mm/mmap.o] Error 1
make: *** [mm] Error 2


Hrmm, that's my fault. There's a bad security patch in the current 2.6.9 mips-sources triggering that, and I totally forgot about it.

I'll try (if I can remember after work), to kick 2.6.10 into unstable to replace the 2.6.9 with. since I know that builds. For now, try unmasking 2.6.10 and use that instead.

To unmask, edit the latest 2.6.10 ebuild you see in /usr/portage/sys-kernel/mips-sources, and find KEYWORDS. You'll see a -* in KEYWORDS already -- just leave it and add ~mips after it so it reads KEYWORDS="-* ~mips".


--Kumba
_________________
"The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between."
--Emperor Turhan, Centauri Republic
Back to top
View user's profile Send private message
E-Werk
n00b
n00b


Joined: 19 Aug 2004
Posts: 9
Location: Düsseldorf Germany

PostPosted: Thu Feb 03, 2005 3:45 am    Post subject: midnight express Reply with quote

thanks everybody :D

iam running 2.6.10 8)

it has some issues at the boot process but mostly tty stuff that was
discussed in the beginnings of this thread.

so i must give BIG respect to kumba for his great work on this arch
and to peter horten , without his colo everybody would get loco.
also to eveybody in this thread who chalenged this little blue b****
and her brothers and sisters :wink:

i learned alot about gentoo in this time and looking forward ....

dreaming of that gentoo life cd that boots on a x86 and finds the cobalt
and installs the base system over the network so everybody can start with
a ssh connection and 2.6 kernel .....

thank u all

christian
_________________
do what u want , do what u like , do what u feel ,do what u need
Back to top
View user's profile Send private message
Morbo
n00b
n00b


Joined: 08 Jan 2005
Posts: 19

PostPosted: Sun Feb 06, 2005 3:01 pm    Post subject: Reply with quote

This is a little off-topic for this thread but I am hoping someone can help me build a working toolchain for a Qube 2700. I am trying to use crossdev with the following command:

Code:
PROFILE_ARCH="cobalt" crossdev --arch=mipsel --vbinutils=2.15.92.0.2-r1 --vgcc=3.3.4-r1 --vglibc=2.3.4.20040808-r1


I get:

Code:

 * Host Architecture:           i686-pc-linux-gnu
 * Host CFLAGS:                 -march=i686 -O2 -pipe
 * Target Architecture:         mipsel-unknown-linux-gnu
 * Target CFLAGS:               -mips3 -mabi=32 -O2 -pipe
 * Install Path:                /home/crossdev/mipsel
 * Using unstable packages...   Off
 * Enabling extra gcc langs...  Off
 * Using Portage CFLAGS...      Off
 * Using Portage Sandbox...     On
 * Building Kernel Compiler...  Off
 * Cleaning build dir...        Off
 * Pretending...                No

 * The following packages in /usr/portage will be used:
        sys-kernel/mips-headers-2.4.21-r3
        sys-devel/binutils-2.15.92.0.2-r1
        sys-devel/gcc-3.3.4-r1
        sys-libs/glibc-2.3.4.20040808-r1


All is well until:

Code:
make[1]: *** [gcc.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/crossdevbuild/gcc-3.3.4/buildboothere-mipsel/gcc'
make: *** [all-gcc] Error 2

 * InstallGccBootstrap(): Failed to compile!


Any suggestions?

I have tried the pre-compiled kernel mentioned earlier in this thread but it has serial console support which kernel panics on the Qube 2700 because it has no serial console.
Back to top
View user's profile Send private message
turtlendog
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2004
Posts: 107
Location: East AZ

PostPosted: Sun Feb 06, 2005 11:57 pm    Post subject: Project status? Reply with quote

How is this project going. Would it be reasonable to install gentoo on a raq2 for a production bind server?

I don't much care about the lcd or any of that. Just as long as I can install without jumping through too many hoops and it runs reliably.

Thoughts?
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Feb 07, 2005 12:10 am    Post subject: Reply with quote

Morbo:
Maybe try an earlier version of the tools?

Code:
(10:07) stuartl@beast stuartl $ mipsel-unknown-linux-gnu-ar --version
GNU ar 2.14.90.0.8 20040114
Copyright 2003 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
(10:07) stuartl@beast stuartl $ mipsel-unknown-linux-gnu-gcc --version
mipsel-unknown-linux-gnu-gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


You only need a kernel compiller, so crossdev -k --arch=mipsel is all that's needed. crossdev -k --arch=mipsel --vgcc=3.3.3 --vbinutils=2.14.90.0.8 should give you a working toolchain.

If all else fails, I've got an image of my toolchains here.

turtlendog: BIND should run just fine. I haven't tested it myself but I see no reason why it wouldn't work. You might want to have a look at the updated guide though (see my signature) as this covers the installation of Cobalt servers, the current one on the main website does not.
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
hbp4c
n00b
n00b


Joined: 17 Apr 2002
Posts: 46
Location: Charlottesville, Va

PostPosted: Sun Feb 27, 2005 4:06 pm    Post subject: Reply with quote

Does anyone have a working 2.4.28 kernel config for a cobalt raq2? I've gotten a 2.6.10 kernel running and happy, but when I transfer large amounts of data via samba to the raq, the machine often hangs up and I have to manually reboot it via the power switch in back.

I've seen a few messages here suggesting that the 2.4 kernel was more stable with networking, so I thought I'd give it a try.

Thanks! I love the idea of breathing new life into older equipment.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Sun Feb 27, 2005 11:59 pm    Post subject: Reply with quote

hbp4c: I doubt there is too many 2.4.x configs laying around... Perhaps try using /usr/src/linux/arch/mips/configs/cobalt_defconfig? Either that, or grab a 2.6 config and see how much of that will apply to 2.4.

I think you'll find using a 2.6 config will work, obviously you'll have to fill in the gaps where things have changed from 2.4, but the majority of the critical settings should be set correctly.

To Everyone: On an unrelated (but still on-topic) note... The official Gentoo/MIPS Handbook has been updated to cover the installation of these machines, as well as updates for SGI machines. (rewrite done by yours truly) If anyone has any queries or suggestions on the new guide -- please contact me here, or file a bug on bugs.gentoo.org (assign to docs-team -at- gentoo -dot- org, CCing to mips -at- gentoo -dot- org), and I'll fix it if I can. :-)

You may also have a look at the Draft Handbook in my signature. This is my local CVS version, which I try to keep in sync with the main repository. It may be slightly out of date for sections that are shared, however it's bleeding edge for the MIPS-only sections (e.g. netbooting, building a kernel, partitioning... etc). If I fix something in CVS, it'll be this repository (I don't have access to the official one yet) until one of the documentation devs apply the relevant patches to the official one.

As I say... any queries... contact me via the forums here, email: redhatter -at- longlandclan -dot- hopto -dot- org, or pop into #gentoo-doc/#gentoo-mips/#gentoo-dev on irc.freenode.net. :-)
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
hbp4c
n00b
n00b


Joined: 17 Apr 2002
Posts: 46
Location: Charlottesville, Va

PostPosted: Mon Feb 28, 2005 3:26 am    Post subject: Reply with quote

I think i've built a stable 2.4.28 kernel using exactly the method you suggested, I took a 2.6 config file and applied it back to the 2.4 tree. It still hasn't fixed my samba problem (transferring files causes a freeze) but I just realized another error which may be also causing the problem.

If the 2.4 config works, I'll be happy to post it as an example if anyone would wish.

Redhatter:
I followed your documentation when setting up the cobalt, and I must say that I was quite pleased to have the machine boot successfully on the first try. I think you guys have done a great job.
Back to top
View user's profile Send private message
Redhatter
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 548
Location: Brisbane, QLD, Australia

PostPosted: Mon Feb 28, 2005 3:36 am    Post subject: Reply with quote

hbp4c: Unusual problem though... I've been using Samba, Apache, rsync & NFS to share out stuff from my qube... it has been running stable for the last month or so.

I'm using kernel 2.6.8.1 though... (and as mentioned earlier) vanilla sources from Linux/MIPS CVS + Cobalt patches. Although mips-sources should work.

If you like, throw us your .config and I'll link it in the guide. :-)

(In fact... I might make a DB for reporting success stories and contributing .configs)
_________________
Stuart Longland (a.k.a Redhatter, VK4MSL)
I haven't lost my mind - it's backed up on a tape somewhere...

Gentoo/MIPS Cobalt developer, Mozilla herd member.
Back to top
View user's profile Send private message
hbp4c
n00b
n00b


Joined: 17 Apr 2002
Posts: 46
Location: Charlottesville, Va

PostPosted: Mon Feb 28, 2005 4:10 am    Post subject: Reply with quote

Well, I originally installed kernel 2.6.10 with samba 3.0.11 - which is marked with a ~mips. I am connecting from mac os x to the samba server, and usually within the first two or three megs of a file transfer the cobalt freezes up and will accept no input from console or from the network. Buttond as well as the console are frozen until I power cycle the machine, and nothing shows up in /var/log/messages indicating a problem. :(

Next, I downgraded to kernel 2.4.28 as I mentioned earlier, but the same behavior with samba persists. I just realized a little while ago that samba 3.0.11 was unstable, so I removed the entry allowing it from my portage.keywords and am emerging 3.0.10 as I write this. The cobalt is a little slow to compile, but if I can get samba working as I want then I suspect the machine will prove most useful for me.

One other question, though, while I think of it - the built in scsi on the raq2+ is identified in the cobalt wiki as a NCR53C810 chip from LSI-Logic. In the kernel config, I see there are two possible modules which may fit this adapter: NCR53c7,8xx (which fails to build in 2.4) and NCR53C8XX, which fails to locate the device if you modprobe it. Has anyone tried to get one of these scsi adapters working yet?
Back to top
View user's profile Send private message
hbp4c
n00b
n00b


Joined: 17 Apr 2002
Posts: 46
Location: Charlottesville, Va

PostPosted: Tue Mar 01, 2005 4:22 am    Post subject: Reply with quote

As promised, here are the .config files for the two kernels I've built sucessfully on a cobalt Raq2+:

linux-2.4.28-20050105
linux-2.6.10-20050115

I'm also working on including the lcd patches from the old 1.8 baselayout to the newest 1.9.4. I'll try to post them also should I get it working correctly.

I hope someone finds these useful :)

H
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Goto page Previous  1, 2, 3 ... 8, 9, 10, 11  Next
Page 9 of 11

 
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