Can i run solaris binaries under Debian Linux/SPARC ?

2000-07-10 Thread Heinrich Rebehn

Sorry, if this is a FAQ, but can i run Solaris binaries under Debian 
Linux/SPARC,
provided that i got the needed Solaris libraries and licenses ?

TIA

Heinrich Rebehn
Have disk - will travel
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341



Re: Can i run solaris binaries under Debian Linux/SPARC ?

2000-07-10 Thread Ben Collins
On Mon, Jul 10, 2000 at 04:08:23PM +0200, Heinrich Rebehn wrote:
 
 Sorry, if this is a FAQ, but can i run Solaris binaries under Debian 
 Linux/SPARC,
 provided that i got the needed Solaris libraries and licenses ?

You can use the solaris emulation (compiled as a module, so be sure to
load it), but it isn't perfect. I've messed with it simply chrooting to a
Solaris mounted partition (using the ufs module, but you can copy it to a
local Linux partition too) and running things like the shell and it's
commands.

Ben

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



Re: Can i run solaris binaries under Debian Linux/SPARC ?

2000-07-10 Thread Heinrich Rebehn
Ben Collins wrote:
 
 On Mon, Jul 10, 2000 at 04:08:23PM +0200, Heinrich Rebehn wrote:
 
  Sorry, if this is a FAQ, but can i run Solaris binaries under Debian 
  Linux/SPARC,
  provided that i got the needed Solaris libraries and licenses ?
 
 You can use the solaris emulation (compiled as a module, so be sure to
 load it), but it isn't perfect. I've messed with it simply chrooting to a
 Solaris mounted partition (using the ufs module, but you can copy it to a
 local Linux partition too) and running things like the shell and it's
 commands.
 
 Ben

I have been browsing a bit and found out that the Solaris emulation seems to 
exist
only for the  Sparc64 architecture. When I do a make xconfig on my SS20 
(Sun4m) i am only 
offered SunOS emulation.
Is this true?

Heinrich
-- 

Heinrich Rebehn
Have disk - will travel
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -

E-mail: mailto:[EMAIL PROTECTED]
Phone : +49/421/218-4664
Fax   :-3341



Re: Can i run solaris binaries under Debian Linux/SPARC ?

2000-07-10 Thread Ben Collins
On Mon, Jul 10, 2000 at 04:26:43PM +0200, Heinrich Rebehn wrote:
 Ben Collins wrote:
  
  On Mon, Jul 10, 2000 at 04:08:23PM +0200, Heinrich Rebehn wrote:
  
   Sorry, if this is a FAQ, but can i run Solaris binaries under Debian 
   Linux/SPARC,
   provided that i got the needed Solaris libraries and licenses ?
  
  You can use the solaris emulation (compiled as a module, so be sure to
  load it), but it isn't perfect. I've messed with it simply chrooting to a
  Solaris mounted partition (using the ufs module, but you can copy it to a
  local Linux partition too) and running things like the shell and it's
  commands.
  
  Ben
 
 I have been browsing a bit and found out that the Solaris emulation seems to 
 exist
 only for the  Sparc64 architecture. When I do a make xconfig on my SS20 
 (Sun4m) i am only 
 offered SunOS emulation.
 Is this true?

Would appear so. I think sparc doesn't have the infrastructure for syscall
transaltion, so it isn't as easy to integrate (i think).

-- 
 ---===-=-==-=---==-=--
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
 `---=--===-=-=-=-===-==---=--=---'



bug in the filerunner package for sparc-debian

2000-07-10 Thread Dinh-Tuan . Pham
   Hi,
   There is a small bug in the debian package filerunner 2.5.1-1
for the sparc architecture: the file

/usr/X11R6/lib/X11/filerunner/ext.so

must have world-wide read permission since otherwise fillerunner canot
load this library when started by a non root user (actualy it has rwx
permission only for root). This buf dosn't appears in the intel
version: the corresponding file has world-wide read and execute
permission (the execute permission shouldn't be necessary since the
file is a share library).

-- 
PHAM Dinh Tuan | e-mail: [EMAIL PROTECTED]
Laboratoire de Modelisation et Calcul  | Tel: +33 4 76 51 44 23
BP 53, 38041 Grenoble cedex 9 (France) | Fax: +33 4 76 63 12 63
---



Re: ntp hangs...

2000-07-10 Thread Uwe Muench

Hello,

[ntp hangs...]
  Hangs for ever or 2 minutes?  If the latter, replace the hostnames in 
  ntp.conf with the IP numbers, it is the DNS lookup that is hanging.

Hangs for ever...

Bye,
Uwe

-- 
Uwe Muench, Dep. of Physics and Astronomy, 223 Phys. Bldg., Univ. of 
Missouri-Columbia, Columbia, MO 65211,Phone (private): +1-573-442-6504
[EMAIL PROTECTED] For a successful technology,
http://www.grav.missouri.edu/~muench/ reality must take precedence 
Fax (office): +1-573-882-4195over public relations, for nature
Missouri -- The Showme state cannot be fooled.   R.P. Feynman 



Re: SMP SS10 freezes hard intermittently

2000-07-10 Thread David Butts
Hello, all-

I apologize for taking so long to respond.  I'm (hopefully) not nearly
the ungrateful bastard I seem to be...

On Tue, 13 Jun 2000, Anton Blanchard wrote:

 In-Reply-To: [EMAIL PROTECTED]; from
[EMAIL PROTECTED] on Mon, Jun 12, 2000 at 08:53:49PM -0400
 
  
  I've got an SS10 with two CPUs, running a 2.2.15 kernel with SMP
  enabled.  It locks up hard periodically, and won't respond to
  stop-A, a break on the serial port, the three-fingered salute,
  or, in fact, anything short of a power-cycle.
 
 When I was fixing sparc32 SMP in 2.2, I only had access to one cpu and
 machine type (viking supersparc on 4m/690). As such it tends to be stable :)
 
 ftoomsh# uptime
 3:01am  up 99 days, 13:59, 31 users,  load average: 1.42, 1.38, 1.36
 
 ftoomsh# cat /proc/cpuinfo 
 cpu : Texas Instruments, Inc. - SuperSparc 50
 fpu : SuperSparc on-chip FPU
 promlib : Version 3 Revision 2
 prom: 2.14
 type: sun4m
 ncpus probed: 4
 ncpus active: 4
 Cpu0Bogo: 49.86
 Cpu1Bogo: 49.97
 Cpu2Bogo: 49.97
 Cpu3Bogo: 49.97
 MMU type: TI Viking/MXCC
 contexts: 65536
 CPU0: online
 CPU1: online
 CPU2: online
 CPU3: online

FWIW,

cpu : Texas Instruments, Inc. - MicroSparc
fpu : SuperSparc on-chip FPU
promlib : Version 3 Revision 2
prom: 2.12
type: sun4m
ncpus probed: 2
ncpus active: 2
Cpu0Bogo: 39.83
Cpu1Bogo: 39.93
MMU type: TI Viking
invall  : 0
invmm   : 0
invrnge : 0
invpg   : 0
contexts: 65536
CPU0: online
CPU1: online

 There are too many things to fix in 2.2 (that I am fixing in 2.4) so
 random lockups are no surprise to me. 2.4 should be ready for sparc32 real
 soon.

Does that mean I should rush out and grab myself some 2.4.0-test2
sources and try them out, or have your changes not been incorporated
yet?

Also, if it's possible to describe generally, what sort of problems
exist with the Sparc32 SMP code in 2.2?

Thanks (belatedly)-

David




RE: SMP SS10 freezes hard intermittently

2000-07-10 Thread David Butts
Hello-

Again, my apologies for the embarassingly long delay...

On Mon, 12 Jun 2000, Gregory Leblanc wrote:

  -Original Message-
  From: David Butts [mailto:[EMAIL PROTECTED]
  Sent: Monday, June 12, 2000 8:00 PM
  To: debian-sparc@lists.debian.org
  Cc: sparclinux@vger.rutgers.edu
  Subject: RE: SMP SS10 freezes hard intermittently
  
  Hello-
  
  I've got a CG6.  I had included the other FBs for the sake of ...
  completeness (read: figuring out what I had in the box).
  
  From /var/log/messages:
  
  fb0: cgsix at e. TEC Rev 4 CPU sparc Rev b [TurboGX]
  
  The only (permanent) change I made to the devices was the addition
  of a symlink to /dev/fb0:
  
  lrwxrwxrwx1 root root3 Jun  9 17:56 
  /dev/cgsix0 - fb0
  crw--w--w-1 root tty   29,   0 May  4 08:32 /dev/fb0
  
  HTH (particularly since I'm the one it will ultimately end up
  helping :)
 
 ok, time for some more random guessing.  What CPU modules do you have in
 there?  Is this machine stable under Solaris (any version)?  Any other SBUS
 cards in there?  What about sound, is DBRI compiled in, and does it work?
 (DBRI is EXTREMELY flaky on my SS20).  Hopefully somebody else will have
 more guesses, I only have 1 situation where I can crash Linux/X, and that's
 about 100% reliable of a crash.  :-(  I just don't do that.  Later,

cpu : Texas Instruments, Inc. - MicroSparc
fpu : SuperSparc on-chip FPU
promlib : Version 3 Revision 2
prom: 2.12
type: sun4m
ncpus probed: 2
ncpus active: 2
Cpu0Bogo: 39.83
Cpu1Bogo: 39.93
MMU type: TI Viking
invall  : 0
invmm   : 0
invrnge : 0
invpg   : 0
contexts: 65536
CPU0: online
CPU1: online

This particular beast is actually the unholy union of the innards of
two otherwise identical SS10's, so it's never booted anything else in
its current incarnation.  The existing OS on the disks was SunOS
4.something, which was not amused to find a second CPU.

As I expect you saw, Anton Blanchard suspects that this sort of
unpleasantness is to be expected from a 2.2 kernel, so I'll either
just be patient, or continue shotgun debugging.

Thanks-

David




Re: New set of boot-floppies to test

2000-07-10 Thread David Butts
Hello-

I tried the sun4cdm tftpboot image and boot floppies on an IPC
(ROM version 2.6 w/24 MB of memory), but couldn't get either of
them to work.  I Also tried the disks/image from the current
(2.2.15-2000-06-10) sun4cdm tree on ftp.debian.org, which gave
me the same errors:

With the tftpboot image, I managed to pull the image across,
but then immediately got:

Data Access Exception
ok

With the floppies, It fails immediately:

Can't read disk label
Can't open Sun disk label package
Can't open boot device
ok

The bit with the floopies sounds like it's something fairly
fundamental with the  machine, rather than a problem with the
disks, but I was wondering if anyone had managed to get an IPC
to boot over the net.

Thanks-
David

On Sun, 2 Jul 2000, Ben Collins wrote:

 New set of boot-floppies. Possibly the last set before release. These are
 based on the current boot-floppies CVS, 2.2.16pre. They use 2.2.17pre8
 kernels. Let me know how they do:
 
 http://auric.debian.org/~bcollins/disks-sparc/2.2.16-2000-07-02/
 
 Ben
 
 -- 
  ---===-=-==-=---==-=--
 /  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
 `  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  --  [EMAIL PROTECTED]  '
  `---=--===-=-=-=-===-==---=--=---'
 
 
 --  
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: ntp hangs...

2000-07-10 Thread Sanjeev Gupta

At 02:56 PM 7/10/2000 -0500, Uwe Muench wrote:


Hello,

[ntp hangs...]
  Hangs for ever or 2 minutes?  If the latter, replace the hostnames in
  ntp.conf with the IP numbers, it is the DNS lookup that is hanging.

Hangs for ever...


Umm.

How do you know it is ntp that hangs?  Does removing ntp from the startup 
help?  Moving it to S99 help?


-- Ghane