mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gunther.Mayer@t-online.de (Gunther Mayer)
To: Gerd Knorr <kraxel@bytesex.org>,
	Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
	alan@redhat.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: yenta_socket hangs sager laptop in kernel 2.4.6-> PNPBIOS life saver
Date: Wed, 22 Aug 2001 19:35:23 +0200	[thread overview]
Message-ID: <3B83ED5B.2A717A65@t-online.de> (raw)
In-Reply-To: <slrn9o270m.rg.kraxel@bytesex.org> from "Gerd Knorr" at Aug 20, 1 06:45:06 pm <200108202252.CAA00742@mops.inr.ac.ru> <200108212037.f7LKb15N009912@bytesex.masq.in-berlin.de>

Gerd Knorr wrote:
> 
> In lists.linux.kernel, you wrote:
> >  Hello!
> >
> > > Same problem here.  I've spend some time today to figure what is going
> > > on.  Workaround:
> > > -           min = PCIBIOS_MIN_IO;
> > > +           min = 0x4000 /* PCIBIOS_MIN_IO */;
> >
> >  I do not know how to thank you... You saved my life. :-)
> >  How did you guess this?
> 
> Long trial-and-error session.  Deactivate code and see if it still does
> crash to narrow down the code lines which trigger the lockup.  Once I've
> figured that enabling the I/O-Windows triggers the lookup the guess was
> easy ...
> 
> > > Looks like a ressource conflict to me.  The kernel gives I/O ranges to
> > > the cardbus socket which it thinks are free but which are *not* free for
> > > some reason (and probably used for APM stuff).  BIOS bug?  PCI quirks
> > > time?

Longstanding Linux Bug: "ignore a _seven_ year old standard called PNPBIOS".

> >
> >  The same hardware is here, Mitac M722. :-) BTW what bios is installed
> >  on your one?
> 
> "SYSTEM BIOS R1.02"
> 
> >  Anyway, Windows with the _same_ bios manages to guess and to reserve
> >  a few of ports tagged as some obscure "motherboard resources":
> >  230-233, 398-399, 4d0-4d1, 1000-103f(!), 1400-140f(!) and 3810-381f.
> >  yenta_socket eats ones marked with !. At least 1400 is really critical,
> >  it is interface to SM mode.
> 
> 0x1000 is critical too.  Activating the first I/O window only is enough
> to hang the notebook on any APM activity.

PNPBIOS _easily_ resolves this problem !

Try -ac Kernels with integrated PNPBIOS and "lspnp -v",
then you will see your "motherboard resources". No magic.

Note: Linux currently does _not_ yet reserve these resources automatically
(although I think the standalone pcmcia package has such an option).

By confirming (and posting your lspnp results) you could encourage
some developers to rectify this situation :-)

Alan, 2.4 would largely benefit from PNPBIOS, do you plan
to submit this to LT (probably with the proposed life saver fix) ?


-
Gunther

  reply	other threads:[~2001-08-22 17:34 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.21.0107121802310.17665-100000@cobalt.deepthought.org>
2001-07-13  0:38 ` yenta_socket hangs sager laptop in kernel 2.4.6 Linus Torvalds
2001-07-17 20:15   ` Martin Murray
2001-07-17 21:33     ` Linus Torvalds
2001-07-17 21:35       ` Martin Murray
2001-07-21 13:35     ` kuznet
2001-07-21 15:47       ` Ben Greear
2001-08-20 14:17       ` Gerd Knorr
2001-08-20 22:52         ` Alexey Kuznetsov
2001-08-21 20:37         ` Gerd Knorr
2001-08-22 17:35           ` Gunther Mayer [this message]
     [not found] <no.id>
2001-08-22 18:18 ` yenta_socket hangs sager laptop in kernel 2.4.6-> PNPBIOS life saver Alan Cox
2001-08-22 18:32   ` Gunther Mayer
2001-08-23  9:11   ` Gerd Knorr
2001-08-23 12:50     ` Gerd Knorr
2001-08-23 13:00     ` Alan Cox
2001-08-23 16:58       ` kuznet
2001-08-23 18:23         ` Gunther Mayer
2001-08-23 18:34           ` kuznet
2001-08-25 10:27             ` Gunther Mayer
2001-08-25 17:00               ` kuznet
2001-08-24 10:18       ` Gerd Knorr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B83ED5B.2A717A65@t-online.de \
    --to=gunther.mayer@t-online.de \
    --cc=alan@redhat.com \
    --cc=kraxel@bytesex.org \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome