public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Gunther.Mayer@t-online.de (Gunther Mayer)
To: Pavel Roskin <proski@gnu.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: PNP BIOS and parport_pc - dma found but not used
Date: Fri, 20 Apr 2001 19:33:23 +0200	[thread overview]
Message-ID: <3AE072E3.9D16ED6C@t-online.de> (raw)
In-Reply-To: <Pine.LNX.4.33.0104192348510.1119-100000@portland>

Pavel Roskin wrote:
> 
> Hello, Gunther!
> 
> On Thu, 19 Apr 2001, Gunther Mayer wrote:
> 
> > > PnPBIOS: Parport found PNPBIOS PNP0401 at io=0378,0778 irq=7 dma=-1
> >                                                                ^^^^^^ culprit !
> 
> For some reason I'm not getting that message anymore. PnPBIOS is in the
> kernel, parport_pc is a module. This time I rebooted with the parport_pc
> module already installed, as opposed to the first time when I compiled and
> inserted it without a reboot.

Did you load "insmod pnpbios" the first time (as opposed to built-in)?

> 
> I'm puzzled. Just in case, it's my .config:
> http://www.red-bean.com/~proski/linux/config
> 
> Anyway, the result is still the same, just without this message.
> 
> > 1) Search for the right two-digit PNP handle for device "0104d041":
> 
> this is 01.
> 
> >    cat /proc/bus/pnb/devices
> 
> 01      0104d041        07:01:00        0080
> 02      0105d041        07:00:02        0180
> 06      0007d041        01:02:00        0003
> 08      010cd041        05:00:00        0003
> 09      0000d041        08:00:01        0003
> 0a      0001d041        08:02:01        0003
> 0b      000bd041        08:03:01        0003
> 0c      0303d041        09:00:00        000b
> 0d      040cd041        0b:01:00        0003
> 0e      0002d041        08:01:01        0003
> 0f      0008d041        08:80:00        0003
> 10      030ad041        06:04:00        0003
> 11      020cd041        08:80:ff        0003
> 
> > 2) Send cat /proc/bus/pnp/01 | od -tx1
> 
> 0000000 2a 00 00 22 80 00 47 01 78 03 78 03 00 08 47 01
             ^^
             This is "NO DMA" (we map this in parport to -1, which means Unknown).
Your PNPBIOS is buggy, this should be "08" for dma=3


> 0000020 78 07 78 07 00 08 79 00 30 2a 0a 00 22 80 00 47
                                        ^^
                                        Possible settings are: 08|02 i.e. dma=3|1
> 0000040 01 bc 03 bc 03 00 03 47 01 bc 07 bc 07 00 03 30
> 0000060 2a 0a 00 22 80 00 47 01 78 03 78 03 00 08 47 01
> 0000100 78 07 78 07 00 08 30 2a 0a 00 22 20 00 47 01 78
> 0000120 02 78 02 00 08 47 01 78 06 78 06 00 08 38 79 00
> 0000140 79 00
> 
> Settings:
> Parallel port mode: ECP+EPP
> ECP DMA select: 3

Try to get an update for your BIOS or file a bug report to your
mainboard vendor else.

      reply	other threads:[~2001-04-20 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-19  6:14 PNP BIOS and parport_pc - dma found but not used Pavel Roskin
2001-04-19 11:43 ` Alan Cox
2001-04-19 14:51   ` Pavel Roskin
2001-04-19 17:40     ` Gunther Mayer
2001-04-19 17:31 ` Gunther Mayer
2001-04-20  4:11   ` Pavel Roskin
2001-04-20 17:33     ` Gunther Mayer [this message]

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=3AE072E3.9D16ED6C@t-online.de \
    --to=gunther.mayer@t-online.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=proski@gnu.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