Re: 64bits df

2003-11-18 Thread Martin Marques
El Mar 18 Nov 2003 01:58, Peter Eisentraut escribió:
 Ben Collins writes:
  I would suggest something close to ditching calling ld directly, so that
  the CC env can make things work smoothly.

 We need ld to do partial linking:

 ld -r -o SUBSYS.o foo1.o foo2.o ...

 We get the right ld to use with

 gcc -print-prog-name=ld

 but that does not pick up the right flags.  I'm open for better ideas.

I got it to compile and link using what Tom Callaway suggested:

export LDEMULATION=elf64_sparc

with the aditional

export CC=gcc -m64

Now I have trouble running initdb. Don't know if it has something to do with 
my semvmax configuration (using the kernel from the distro), or with the 64 
bit linkage.

-- 
 08:41:01 up 27 days, 16:03,  2 users,  load average: 0.61, 0.56, 0.44
-
Martín Marqués| select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
 Universidad Nacional
  del Litoral
-



Re: Want to have sparc-mini.iso working on my Sun Ultra 10

2003-11-18 Thread 'Olivier Bornet'
Hi,

On Tue, Nov 18, 2003 at 01:16:24PM -, Dan Beach wrote:
 new revised build from
 http://auric.debian.org/~bcollins/disks-sparc/current/sparc-mini.iso (2.4.21
 + gcc 3.3.2?) still comes up with Illegal instruction on Sun Blade 100
 (haven't had chance to try Ultra 5 yet) but quite a bit later during install
 boot after you've hit enter from splash screen (doesn't get as far as
 loading drivers tho?)

There wasn't a new build at this time. You have to wait, or make your
own build.

This is the issue of this thread. If you want to have a working
sparc-mini.iso image, you need to do by yourself at this time. Mine
personnal ISO image was done by using vmlinux instead of
arch/sparc64/boot/image, and by stripping down the kernel configuration.
(see previous posts).

Good day.

Olivier
-- 
Olivier Bornet |  français : http://puck.ch/f
Swiss Ice Hockey Results   |  english  : http://puck.ch/e
http://puck.ch/|  deutsch  : http://puck.ch/g
[EMAIL PROTECTED] |  italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net


pgpdfmVresUT3.pgp
Description: PGP signature


Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Thomas Habets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


I'm sure you know from the subject what this is about.
Yes, everything that can be a module is a module, and only things I need are 
compiled in. Still I get the above message.

I've tried booting:
vmlinux
gzip vmlinux
gzip -9 vmlinux
arch/sparc/image
gzip arch/sparc/image
gzip -9 arch/sparc/image
strip -R .comment -R .note vmlinux -o vmlinux.stripped

How am I supposed to boot the kernel? Should I torture silo?

- -
typedef struct me_s {
  char name[]  = { Thomas Habets };
  char email[] = { [EMAIL PROTECTED] };
  char kernel[]= { Linux 2.4 };
  char *pgpKey[]   = { http://www.habets.pp.se/pubkey.txt; };
  char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854 };
  char coolcmd[]   = { echo '. ./_. ./_'_;. ./_ };
} me_t;
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/ukbkKGrpCq1I6FQRAir3AKCFIttxGhFRAVmy9b88Lke102pO0QCg167s
K/cQzlR9J+Vp+ZKdd/5Nso8=
=f5Hm
-END PGP SIGNATURE-



Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread gomer

Thomas,
 Silo has gzip built in. You can just gzip the kernel image, and then
just point silo at the .gz file, and it'll do all the rest for you.

--Adam

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1


 I'm sure you know from the subject what this is about.
 Yes, everything that can be a module is a module, and only things I need
 are
 compiled in. Still I get the above message.

 I've tried booting:
 vmlinux
 gzip vmlinux
 gzip -9 vmlinux
 arch/sparc/image
 gzip arch/sparc/image
 gzip -9 arch/sparc/image
 strip -R .comment -R .note vmlinux -o vmlinux.stripped

 How am I supposed to boot the kernel? Should I torture silo?

 - -
 typedef struct me_s {
   char name[]  = { Thomas Habets };
   char email[] = { [EMAIL PROTECTED] };
   char kernel[]= { Linux 2.4 };
   char *pgpKey[]   = { http://www.habets.pp.se/pubkey.txt; };
   char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854 };
   char coolcmd[]   = { echo '. ./_. ./_'_;. ./_ };
 } me_t;
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.3 (GNU/Linux)

 iD8DBQE/ukbkKGrpCq1I6FQRAir3AKCFIttxGhFRAVmy9b88Lke102pO0QCg167s
 K/cQzlR9J+Vp+ZKdd/5Nso8=
 =f5Hm
 -END PGP SIGNATURE-


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]





Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Thomas Habets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 November 2003 17:34, [EMAIL PROTECTED] wrote:
  Silo has gzip built in. You can just gzip the kernel image, and then
 just point silo at the .gz file, and it'll do all the rest for you.

That's what I meant I tried with the gzip-lines below. Sorry for being 
unclear.

  I've tried booting:
  vmlinux
  gzip vmlinux
  gzip -9 vmlinux
  arch/sparc/image
  gzip arch/sparc/image
  gzip -9 arch/sparc/image
  strip -R .comment -R .note vmlinux -o vmlinux.stripped
... and the last one gzipped

- -
typedef struct me_s {
  char name[]  = { Thomas Habets };
  char email[] = { [EMAIL PROTECTED] };
  char kernel[]= { Linux 2.4 };
  char *pgpKey[]   = { http://www.habets.pp.se/pubkey.txt; };
  char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854 };
  char coolcmd[]   = { echo '. ./_. ./_'_;. ./_ };
} me_t;
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uk8DKGrpCq1I6FQRAgS0AJsEQEXO7crZI0xluXGQ9y9rDwvYPwCg5xTm
Amod0rhCC4t1rf6ybv2TVn0=
=ZfVt
-END PGP SIGNATURE-



Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Otto Solares
On Tue, Nov 18, 2003 at 05:55:31PM +0100, Thomas Habets wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tuesday 18 November 2003 17:34, [EMAIL PROTECTED] wrote:
   Silo has gzip built in. You can just gzip the kernel image, and then
  just point silo at the .gz file, and it'll do all the rest for you.
 
 That's what I meant I tried with the gzip-lines below. Sorry for being 
 unclear.

you must 'make image' first then use arch/sparc64/boot/image for silo.

-solca



Re: Want to have sparc-mini.iso working on my Sun Ultra 10

2003-11-18 Thread Ben Collins
So let me understand this correctly. You have an image that works as
vmlinux, but doesn't work when you strip it. Is that correct?

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Thomas Habets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 November 2003 18:10, Otto Solares wrote:
 you must 'make image' first then use arch/sparc64/boot/image for silo.

You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc.
Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it
gzipped, I've also tried it strippedgzipped, which got it down to 3.0M,
1.3M gzipped (gzip -9)

So:
cp arch/sparc/boot/image .
strip -R .comment -R .note image -o image.stripped  # i've tried w/o this
gzip -9 image.stripped  # I've tried w/o this
cp image.stripped.gz /boot/vmlinuz-2.6.0-test9

I used make all, which accoring to make help includes make image

- -
typedef struct me_s {
  char name[]  = { Thomas Habets };
  char email[] = { [EMAIL PROTECTED] };
  char kernel[]= { Linux 2.4 };
  char *pgpKey[]   = { http://www.habets.pp.se/pubkey.txt; };
  char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854 };
  char coolcmd[]   = { echo '. ./_. ./_'_;. ./_ };
} me_t;


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/umuXKGrpCq1I6FQRApJOAJ0c3CI3yQNRudjqxgHvFaIIoWxSgQCaApc0
yIZeuctnVcfilsWyxLHHQZc=
=eHF4
-END PGP SIGNATURE-



SMP hypersparc ss20 kernel recommendations

2003-11-18 Thread Heitzso

I had to upgrade from my working 2.2.25 SMP kernel on my
dual hypersparc ss20 to a 2.4.x kernel because of the recent
debian unstable changes.  I am now running 2.4.22 custom
compiled single processor kernel.  I sorely miss that extra
CPU on this box.

Note in all cases I'm compiling with 2.95 gcc instead of
latest-greatest 3.x because of the sparc glitches in the code
that get triggered by gcc 3.x.

Before, when I spent several days trying to get a 2.4 SMP
kernel running on this box it always hung on the way up.
Is it possible that other aspects of the system (libs?/programs?)
were breaking instead of the kernel?

Should I sit tight for some patchset to come down the
pike in a future 2.4 or 2.6 kernel?

Also, and this is very strange, 'top' stopped working
in 2.4.22, though worked great in 2.2.25.  I'd appreciate
any clues re getting it to work again.

Thanks,
Heitzso



Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Otto Solares
On Tue, Nov 18, 2003 at 07:57:27PM +0100, Thomas Habets wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tuesday 18 November 2003 18:10, Otto Solares wrote:
  you must 'make image' first then use arch/sparc64/boot/image for silo.
 
 You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc.

Good, i have a ss4 too.

 Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it
 gzipped, I've also tried it strippedgzipped, which got it down to 3.0M,
 1.3M gzipped (gzip -9)
 
 So:
 cp arch/sparc/boot/image .
 strip -R .comment -R .note image -o image.stripped  # i've tried w/o this
 gzip -9 image.stripped  # I've tried w/o this
 cp image.stripped.gz /boot/vmlinuz-2.6.0-test9
 
 I used make all, which accoring to make help includes make image

these are the steps i do to compile a 2.6 kernel on my ss4:

cp arch/sparc/defconfig .config
make oldconfig
make
make image
make modules
make modules_install
cp arch/sparc/boot/image /boot/vmlinuz
silo -U -f  # not needed but anyway... :)

The only problem i have with my ss4 and kernel 2.6 is the lack of keyboard
and mouse, i have looked deeply in the sunzilog code and can't find a solution.

-solca



x server no running on a ultra 60

2003-11-18 Thread waranda
hello guys
i have a debian 3.0.1 runing on a sparc ultra 60 whit a SUN elite 3D
i have some problems to start the x server due to errors reporting
when loading /usr/X11R6/lib/modules/libshadow.a
FBIOPUT_VSCREENINFO:invalid argument

Fatal server error:
AddScreen/ScreenInit Failed for driver 0

Xfree configurator does not correct the mistake

some help to start the x server without black magic ???

tanks a lot
Roberto William Aranda Roman
coordinador de redes WAN
Corporativo Corvi S.A.
56285100 ext 2006

reload!... Enter The MATRIX!!..

___
Contrata el SuperInternet Terra Premium
http://www.terra.com.mx/acceso/conectate/
Encuentra los mejores productos y precios increibles!!
Aprovecha nuestra promoción a 12 pagos sin intereses con Banamex y Bancomer
http://www.decompras.com/





Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Thomas Habets
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tuesday 18 November 2003 20:40, Otto Solares wrote:
 these are the steps i do to compile a 2.6 kernel on my ss4:
...
 cp arch/sparc/boot/image /boot/vmlinuz

That doesn't work for me. Maybe I'm using too many features. But since I 
removed all but the needed ones, and put as much as possible in modules, if 
it won't run with this config then it's useless to me. And I really want a 
nice working IPsec :-(

 silo -U -f  # not needed but anyway... :)

I'm assuming here that this won't have a chance of fixing it? (it's a drag to 
reboot the box just to try this, since it's in use, and has some screens that 
need manual starting (no, not IRC :P)).

 The only problem i have with my ss4 and kernel 2.6 is the lack of keyboard
 and mouse,

Oh, good to know. Not that I need it right now, but still good to know.

- -
typedef struct me_s {
  char name[]  = { Thomas Habets };
  char email[] = { [EMAIL PROTECTED] };
  char kernel[]= { Linux 2.4 };
  char *pgpKey[]   = { http://www.habets.pp.se/pubkey.txt; };
  char pgp[] = { A8A3 D1DD 4AE0 8467 7FDE  0945 286A E90A AD48 E854 };
  char coolcmd[]   = { echo '. ./_. ./_'_;. ./_ };
} me_t;
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/uoRuKGrpCq1I6FQRAifDAKD9dzTKeSH20F2rLEM4488aBVPxDQCgsL3w
XSsUTd0kRA8/06h/sKm4vRs=
=DFhY
-END PGP SIGNATURE-



Re: x server no running on a ultra 60

2003-11-18 Thread Otto Solares
On Tue, Nov 18, 2003 at 02:47:19PM -0600, [EMAIL PROTECTED] wrote:
 hello guys
 i have a debian 3.0.1 runing on a sparc ultra 60 whit a SUN elite 3D
 i have some problems to start the x server due to errors reporting
 when loading /usr/X11R6/lib/modules/libshadow.a
 FBIOPUT_VSCREENINFO:invalid argument
 
 Fatal server error:
 AddScreen/ScreenInit Failed for driver 0
 
 Xfree configurator does not correct the mistake
 
 some help to start the x server without black magic ???

try without 'fbdev' driver nor 'Option FBDev True' in your X config.

-solca



Re: SMP hypersparc ss20 kernel recommendations

2003-11-18 Thread Ben Collins
On Tue, Nov 18, 2003 at 02:19:31PM -0500, Heitzso wrote:
 I had to upgrade from my working 2.2.25 SMP kernel on my
 dual hypersparc ss20 to a 2.4.x kernel because of the recent
 debian unstable changes.  I am now running 2.4.22 custom
 compiled single processor kernel.  I sorely miss that extra
 CPU on this box.

What changes required you to upgrade? Note, 2.4.x is still unstable on
SMP sparc32. Not much you can do about that other than pitching in with
coding skills.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Re: Image too large to fit into destination with 2.6.0-test9

2003-11-18 Thread Ben Collins
On Tue, Nov 18, 2003 at 07:57:27PM +0100, Thomas Habets wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Tuesday 18 November 2003 18:10, Otto Solares wrote:
  you must 'make image' first then use arch/sparc64/boot/image for silo.
 
 You mean sparc, not sparc64? It's a sparcstation 4, not an ultrasparc.
 Like I said, I tried arch/sparc/boot/image. I tried it raw and I tried it
 gzipped, I've also tried it strippedgzipped, which got it down to 3.0M,
 1.3M gzipped (gzip -9)

Sounds to me like you just need to make some things modules.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Re: x server no running on a ultra 60

2003-11-18 Thread Ben Collins
On Tue, Nov 18, 2003 at 02:47:19PM -0600, [EMAIL PROTECTED] wrote:
 hello guys
 i have a debian 3.0.1 runing on a sparc ultra 60 whit a SUN elite 3D
 i have some problems to start the x server due to errors reporting
 when loading /usr/X11R6/lib/modules/libshadow.a
 FBIOPUT_VSCREENINFO:invalid argument

Use the sunffb driver.

-- 
Debian - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/
WatchGuard - http://www.watchguard.com/



Dual boot between Linux and Solaris yielded spurious interrupt msg

2003-11-18 Thread Alex Yung
In setting up dual boot on my Sparc Classic between Linux and Solaris, I
encountered this message:

Boot options:
[1] Linux Kernel 2.4.21
[2] Solaris 9.0

SunOS Release 5.9 Version Generic_112233-08 32-bit
Copyright 1983-2003 Sun Microsystems, Inc.  All rights reserved.
Use is subject to license terms.
spurious interrupt at processor level 10

What is this spurious interrupt?  This is my silo.conf:

$ cat /etc/silo.conf
partition=2
timeout=80
message=/boot/message.txt
root=/dev/sdc2
default=linux
read-only
image=/boot/vmlinuz-2.4.21
alias=1
single-key
label=linux
other=/iommu/sbus/espdma/esp/[EMAIL PROTECTED],0;1
alias=2
single-key
label=solaris

I tried silo version 0.9.8 and 1.2.5.  Both version yielded the same
message on the console output.  Does anyone have any idea what this is?  How
can I move forward?  I already searched the bug report but this has not been
recorded.  Thanks for any assistance.

Alex



Re: Want to have sparc-mini.iso working on my Sun Ultra 10

2003-11-18 Thread Olivier Bornet
Hi,

 So let me understand this correctly. You have an image that works as
 vmlinux, but doesn't work when you strip it. Is that correct?

Correct. When booting the stripped image, this cause the Illegal
instruction problem.

Thanks for your help.

Olivier
-- 
Olivier Bornet |  français : http://puck.ch/f
Swiss Ice Hockey Results   |  english  : http://puck.ch/e
http://puck.ch/|  deutsch  : http://puck.ch/g
[EMAIL PROTECTED] |  italiano : http://puck.ch/i
Get my PGP-key at http://puck.ch/pgp or at http://wwwkeys.pgp.net


pgpdIp0i9V0ui.pgp
Description: PGP signature