Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Stuart Midgley <stuart@physics.uwa.edu.au>
To: Serguei Patchkovskii <patchkov@acs1.acs.ucalgary.ca>,
	Andrei Malyshev <andrei@merkul.ioffe.rssi.ru>
Subject: Re: DU BINARIES (Mathematica) on Linux alpha ?
Date: 1999/10/25	[thread overview]
Message-ID: <3813AD52.26A7AC3E@physics.uwa.edu.au> (raw)
In-Reply-To: 7upvp0$aso$1@nserve1.acs.ucalgary.ca

[-- Attachment #1: Type: text/plain, Size: 1738 bytes --]

I have been trying to get Mathematica up and running on my 164UX RH6.0
machine for abour 3 months now.  I can actually get the front end to
load up, but when it tries to communicate with the Math Kernel, it
hangs...

Anyway, by looking around and speaking to a few people (who have NOT
gotten it to work correctly) there might be a few patches to the KERNEL
you can apply.  I will include a copy of an email with James.

Unfortunately I have not been able to get it to work correctly...

This bug with siocgifconf etc seem to be around with several DU binaries
and it would be good to get a real C/Kernel developer to attempt to sort
it out.

Stu.




Serguei Patchkovskii wrote:
> 
> Andrei Malyshev (andrei@merkul.ioffe.rssi.ru) wrote:
> : The kernel (math) seems to run quite happily under Linux with DU ver 4.x
> : libs/loader but the FrontEnd dumps core while trying to initialize default
> : notebook (or template).
> 
> Given that the Mathematica Unix frontend regularly dumps core for no
> apparent reason even on systems it is officially supported for, it is
> no big surprise you get core on a system it isn't. After trying to
> get *any* kind of mileage out of the frontend on Suns, I simply switched
> to doing everything I had to at the kernel command like prompt ...
> 
> Not exactly helpful, I know ...
> 
> Cheers,
> 
> /Serge.P
> 
> --
> home page: http://www.cobalt.chem.ucalgary.ca/ps/

-- 
<--------------------------------------------------------------------->
  Stuart Midgley                      |  stuart@physics.uwa.edu.au
  Department of Physics               |  +61 8 9380 7898   Work
  University of Western Australia     |  +61 8 9380 1014   Fax
  Nedlands   WA   6907                |      0413 565920   Mob

[-- Attachment #2: Type: message/rfc822, Size: 3788 bytes --]

From: James Peret <jperet@ntsi.com>
To: Stuart Midgley <stuart@physics.uwa.edu.au>
Subject: RE: Bug???
Date: Wed, 15 Sep 1999 09:02:35 -0400
Message-ID: <5571C2894B7AD111B6530060977896646A89FA@DENALI>

try inserting the following into the top of dev.c  (this source was
given to me by "m.")

as for submitting a kernel fix, i never thought i would ever be able to
contribute anything.    I'm not even a programmer.  do you think this is
worth a mention to linus?

______________________________________


struct osf_ifdevea {
	char ifr_nam[16];
	char default_pa[6];
	char current_pa[6];
};

int osf_siocrphysaddr(void *addr) {
	struct osf_ifdevea devea;
	struct device *dev;

	if(copy_from_user(&devea, addr, sizeof(devea)))
		return -EFAULT;
	if(!(dev = dev_get(devea.ifr_nam)))
		return -ENODEV;
	memcpy(&devea.default_pa, &device->dev_addr, 6);
	memcpy(&devea.current_pa, &device->dev_addr, 6);
	if(copy_to_user(addr, &devea, sizeof(devea)))
		return -EFAULT;
	return 0;
}

______________________________________

-----Original Message-----
From: Stuart Midgley [mailto:stuart@physics.uwa.edu.au]
Sent: Tuesday, September 14, 1999 11:40 PM
To: James Peret
Subject: Re: Bug???


James

OK, I modified dev.c but when I tried to compile it I got an error
saying that SIOCRPHYSADDR was not declared.

Anyway, I just removed that line and it compiled.  I will let you know
how I go.

Have you submitted the big/fix to Linus and the Kernel team?

Stu.


James Peret wrote:
> 
> Stu,
> 
> looks like one of the errors i got when i tried to run pro-engineer.
> Below is a submission to the list earlyer in the week.  It looks like
> you might gain a little.
> 
> __________________________________________
> 
> I tried to get the Dec Unix version of Pro-Engineer running on a
pc164,
> Red Hat 5.2, kernel 2.2.7,  Pro-Engineer version 20, build 9852.
> 
> It was a very dificult task.  Machine type is referenced through a
> "uname -a" in many places, and i had to change several scripts that
> called the machine type.
> 
> Also, there are a couple ioctrl calls that were allocated inside dec
> unix that are missing from linux.  they are:
> 
> SIOCRPHYSADDR
> SIOCGIFFLAGS
> SIOCGIFCONF
> 
> to fix these, add the following lines to net/core/dev.c:dev_ioctl()
and
> recompile your kernel.
> 
>         if(cmd == 0xc0106914)
>                 cmd = SIOCGIFCONF;
>         if(cmd == 0xc0206911)
>                 cmd = SIOCGIFFLAGS;
>         if(cmd == 0xc01c693e)
>                 cmd = SIOCRPHYSADDR;
> 
> and this is where the fun ended.  I then ran into licensing issues,
> specifically the error:
> 
> ERROR: could not connect to NameServer.
> 
> and could not continue.
> I was helped tremendously on this project by a person identified only
by
> "m.", from perth.  Even though i was unsuccessful, i am still greatful
> for his help.
> 
> -red
> 
> 

-- 
<--------------------------------------------------------------------->
  Stuart Midgley                      |  stuart@physics.uwa.edu.au
  Department of Physics               |  08 9380 7898   Wk
  University of Western Australia     |  08 9380 1014   Fax


  reply	other threads:[~1999-10-25  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-22  4:00 DU Mathematica on Linux alpha ? Andrei Malyshev
1999-10-22  4:00 ` Serguei Patchkovskii
1999-10-25  4:00   ` Stuart Midgley [this message]
1999-10-25  4:00     ` DU BINARIES (Mathematica) " Andrei Malyshev
1999-10-25  4:00   ` DU Mathematica " Andrei Malyshev
1999-10-25  4:00     ` Michal Jaegermann
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox