Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* isapnp problem
@ 1998-05-16  4:00 MM
  1998-05-18  4:00 ` mkirby
  0 siblings, 1 reply; 3+ messages in thread
From: MM @ 1998-05-16  4:00 UTC (permalink / raw)



I have some problems configuring my SB64 PnP Card with isapnp.

pnpdump exits with:
 "Unable to get io permission for WRITE_DATA: Bad address"

The problem is the iopl(3) call that exits with -1 
(perror="Bad address"?? --> Wrong errno?)
If I compile a testprogram like:

void main()
{
  int ret;

  ret=iopl(3);
  printf("ret=%i";ret);
}

The iopl call exits fine with ret=0.

My system configuration is:
PC164SX
Kernel Version 2.0.30  (RedHat 5.0)
isapnptools-1.11
gcc version 2.7.2.3

Can anybody help?   ThanX!




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: isapnp problem
  1998-05-16  4:00 isapnp problem MM
@ 1998-05-18  4:00 ` mkirby
  1998-05-19  4:00   ` Wes Nakamura
  0 siblings, 1 reply; 3+ messages in thread
From: mkirby @ 1998-05-18  4:00 UTC (permalink / raw)



I had the same exact problem.  I never got pnpdump to work so I copied the
isapnp.conf from my pentium to my sx164.  After that I still got an error
message but was able to fix it by changing the readport from 0x0203 to 0x0220
in the /etc/isapnp.conf.
So if you have an x86 around throw it in there and run pnpdump to get the
isapnp.conf and put it on the dec and modify the readport, if necessary.


In article <895309383.83635@news.netwing.at>,
  michael.muehlberger@gx.novartis.com (MM) wrote:
>
> I have some problems configuring my SB64 PnP Card with isapnp.
>
> pnpdump exits with:
>  "Unable to get io permission for WRITE_DATA: Bad address"
>
> The problem is the iopl(3) call that exits with -1
> (perror="Bad address"?? --> Wrong errno?)
> If I compile a testprogram like:
>
> void main()
> {
>   int ret;
>
>   ret=iopl(3);
>   printf("ret=%i";ret);
> }
>
> The iopl call exits fine with ret=0.
>
> My system configuration is:
> PC164SX
> Kernel Version 2.0.30  (RedHat 5.0)
> isapnptools-1.11
> gcc version 2.7.2.3
>
> Can anybody help?   ThanX!
>
>


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: isapnp problem
  1998-05-18  4:00 ` mkirby
@ 1998-05-19  4:00   ` Wes Nakamura
  0 siblings, 0 replies; 3+ messages in thread
From: Wes Nakamura @ 1998-05-19  4:00 UTC (permalink / raw)



In comp.os.linux.alpha mkirby@iname.com wrote:

: I had the same exact problem.  I never got pnpdump to work so I copied
: the isapnp.conf from my pentium to my sx164.  After that I still got
: an error message but was able to fix it by changing the readport from
: 0x0203 to 0x0220 in the /etc/isapnp.conf.  So if you have an x86
: around throw it in there and run pnpdump to get the isapnp.conf and
: put it on the dec and modify the readport, if necessary.

I had the exact same problem (the read data error).  Apparently
isapnptools-1.11 is broken.  I got 1.13 from the contrib directory on
redhat's ftp site and everything works now.

-wes.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-05-19  4:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-16  4:00 isapnp problem MM
1998-05-18  4:00 ` mkirby
1998-05-19  4:00   ` Wes Nakamura

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