Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Grant Grundler <grundler@parisc-linux.org>
To: "J. L. Lee" <jllee@singnet.com.sg>
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Re: Trident video card caused Kernel Panic on HP Visualize 785/B2000 with rebuilt 2.6.11-rc6-pa1 kernel
Date: Wed, 15 Jun 2005 13:06:16 -0600	[thread overview]
Message-ID: <20050615190616.GA29652@colo.lackof.org> (raw)
In-Reply-To: <5.1.1.6.1.20050615221250.02a429c0@pop.singnet.com.sg>

On Wed, Jun 15, 2005 at 10:59:21PM +0800, J. L. Lee wrote:
...
> The B2000 booted past the initial RAM disk, discovered the built-in 
> hardware and the PCI Trident card, then disaster struck. Kernel panic after 
> the discovery of the Trident card.

Thanks for the good problem description - I know those take a long
time to write up.

But this isn't a "kernel panic" - it's a "High Priority Machine Check" (HPMC).
The difference is the platform chipset detected an error vs something
in the kernel. Fortunately the register dump and other console
output gives enough clues.
The HPMC occurs when tridentfb.c tries to poke at:
        if (chip_id == TGUI9660) {
                outb(RevisionID,0x3C4);
                revision = inb(0x3C5);
...	

This generally can't work on parisc.
Only if the trident card is plugged in under PCI bus 0.
The driver needs to map the hard coded address to some PCI resource.
What does your "lspci -v" output say?

You could hack around this with "#ifndef CONFIG_PARISC"
and hardcode the "chip_id" to the model you have.
You could then find out if the rest of the code has a chance of working.

hth,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

       reply	other threads:[~2005-06-15 19:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <5.1.1.6.1.20050615221250.02a429c0@pop.singnet.com.sg>
2005-06-15 19:06 ` Grant Grundler [this message]
2005-06-20 20:45   ` [parisc-linux] Re: Trident video card caused Kernel Panic on HP Visualize 785/B2000 with rebuilt 2.6.11-rc6-pa1 kernel Bjorn Helgaas
2005-06-21  2:06     ` Grant Grundler
2005-06-23 18:59       ` Kyle McMartin
2005-06-23 19:09         ` Grant Grundler
2005-06-23 19:24           ` Bjorn Helgaas
2005-06-23 20:18             ` Grant Grundler
2005-06-23 20:22               ` Bjorn Helgaas
2005-06-23 20:30               ` Kyle McMartin
2005-06-23 20:46                 ` Bjorn Helgaas
     [not found] ` <5.1.1.6.1.20050701204720.02abaec0@pop.singnet.com.sg>
2005-07-02  7:44   ` Grant Grundler

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=20050615190616.GA29652@colo.lackof.org \
    --to=grundler@parisc-linux.org \
    --cc=jllee@singnet.com.sg \
    --cc=parisc-linux@lists.parisc-linux.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