* running DEC binaries
@ 1999-06-02 16:30 James Peret
1999-06-02 18:36 ` Alvin Starr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: James Peret @ 1999-06-02 16:30 UTC (permalink / raw)
To: axp-list
I am trying to run a Dec native binary on alphalinux. i get the error
message
getadr: ioctl SIOCGIFCONF: Invalid argument
Couldn't locate your Ethernet device
ERROR: could not connect to NameServer.
i am running RH 5.2 with the 2.2.7 kernel. i have all the dec libraries,
and networking is working fine. i have a pc164 which i am dual booting
linux and dux. I think what is happening is that the application is
looking to one of the dec libraries for information on the ethernet card
and the library can't find that information. My question is, does
anyone know a good way of faking that information?
thanks
-red
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: running DEC binaries
1999-06-02 16:30 running DEC binaries James Peret
@ 1999-06-02 18:36 ` Alvin Starr
1999-06-02 19:11 ` Wes Bauske
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Alvin Starr @ 1999-06-02 18:36 UTC (permalink / raw)
To: axp-list
On Wed, 2 Jun 1999, James Peret wrote:
> I am trying to run a Dec native binary on alphalinux. i get the error
> message
>
> getadr: ioctl SIOCGIFCONF: Invalid argument
> Couldn't locate your Ethernet device
> ERROR: could not connect to NameServer.
>
>
> i am running RH 5.2 with the 2.2.7 kernel. i have all the dec libraries,
> and networking is working fine. i have a pc164 which i am dual booting
> linux and dux. I think what is happening is that the application is
> looking to one of the dec libraries for information on the ethernet card
> and the library can't find that information. My question is, does
> anyone know a good way of faking that information?
There are a number of limitations to the level of DU spport. If your
application does some device IOCTL's then it is likly it will fail. The
SMP and thread support is also very different.
Alvin Starr || voice: (416)585-9971
Interlink Connectivity || fax: (416)585-9974
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: running DEC binaries
1999-06-02 16:30 running DEC binaries James Peret
1999-06-02 18:36 ` Alvin Starr
@ 1999-06-02 19:11 ` Wes Bauske
1999-06-02 19:32 ` Matti Aarnio
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: Wes Bauske @ 1999-06-02 19:11 UTC (permalink / raw)
To: axp-list
James Peret wrote:
>
> I am trying to run a Dec native binary on alphalinux. i get the error
> message
>
> getadr: ioctl SIOCGIFCONF: Invalid argument
> Couldn't locate your Ethernet device
> ERROR: could not connect to NameServer.
>
That's an ioctl() on a socket. I use it under Linux so it
does work in native code. No idea how to get DEC binaries
to call it correctly. It retrieves the list of network interfaces
on a machine, usually to decide which ones to use.
Wes
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: running DEC binaries
1999-06-02 16:30 running DEC binaries James Peret
1999-06-02 18:36 ` Alvin Starr
1999-06-02 19:11 ` Wes Bauske
@ 1999-06-02 19:32 ` Matti Aarnio
1999-06-02 19:41 ` Greg Lindahl
1999-06-03 10:38 ` Mikolaj J. Habryn
4 siblings, 0 replies; 6+ messages in thread
From: Matti Aarnio @ 1999-06-02 19:32 UTC (permalink / raw)
To: axp-list
On Wed, Jun 02, 1999 at 12:30:10PM -0400, James Peret wrote:
> I am trying to run a Dec native binary on alphalinux. i get the error
> message
> getadr: ioctl SIOCGIFCONF: Invalid argument
> Couldn't locate your Ethernet device
> ERROR: could not connect to NameServer.
> i am running RH 5.2 with the 2.2.7 kernel. i have all the dec libraries,
....
SIOCGIFCONF at DEC UNIX is: 0xc0106914
SIOCGIFCONF at Linux is: 0x00008912
At Linux for SPARC there is a compability layer for these, but
no such exist for Alpha. You could try to make it.
Doing an strace might tell, if I am mistaken, but also, what
file type that queried file descriptor is. (Not every file-
descriptor can do SIOCGIFCONF.)
> thanks
> -red
/Matti Aarnio <matti.aarnio@sonera.fi>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: running DEC binaries
1999-06-02 16:30 running DEC binaries James Peret
` (2 preceding siblings ...)
1999-06-02 19:32 ` Matti Aarnio
@ 1999-06-02 19:41 ` Greg Lindahl
1999-06-03 10:38 ` Mikolaj J. Habryn
4 siblings, 0 replies; 6+ messages in thread
From: Greg Lindahl @ 1999-06-02 19:41 UTC (permalink / raw)
To: axp-list
> I am trying to run a Dec native binary on alphalinux. i get the error
> message
>
> getadr: ioctl SIOCGIFCONF: Invalid argument
> Couldn't locate your Ethernet device
> ERROR: could not connect to NameServer.
If you really want to debug this, use strace on the binary.
> I think what is happening is that the application is
> looking to one of the dec libraries for information on the ethernet card
> and the library can't find that information.
No, that's not what the error message says. It says that it did a
SIOCGIFCONF ioctl, and got EINVAL back. The source code for that in
the kernel is net/core/dev.c. However, there's no sign of EINVAL
there...
-- g
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: running DEC binaries
1999-06-02 16:30 running DEC binaries James Peret
` (3 preceding siblings ...)
1999-06-02 19:41 ` Greg Lindahl
@ 1999-06-03 10:38 ` Mikolaj J. Habryn
4 siblings, 0 replies; 6+ messages in thread
From: Mikolaj J. Habryn @ 1999-06-03 10:38 UTC (permalink / raw)
To: axp-list
>>>>> "JP" == James Peret <jperet@ntsi.com> writes:
JP> getadr: ioctl SIOCGIFCONF: Invalid argument Couldn't locate
JP> your Ethernet device ERROR: could not connect to NameServer.
There isn't any ioctl number translation for DU binaries. I wrote a
shim to do it a while back to get DU Matlab running - I'll try to dig
it up for you.
m.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-06-03 11:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-02 16:30 running DEC binaries James Peret
1999-06-02 18:36 ` Alvin Starr
1999-06-02 19:11 ` Wes Bauske
1999-06-02 19:32 ` Matti Aarnio
1999-06-02 19:41 ` Greg Lindahl
1999-06-03 10:38 ` Mikolaj J. Habryn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox