From: "David S. Miller" <davem@redhat.com>
To: ultralinux@vger.kernel.org
Subject: Re: 2.4.5 and IDE probing hung
Date: Fri, 01 Jun 2001 09:56:48 +0000 [thread overview]
Message-ID: <marc-linux-ultrasparc-99138958329393@msgid-missing> (raw)
In-Reply-To: <marc-linux-ultrasparc-99138883527379@msgid-missing>
Ralf Liesegang writes:
> if i boot a 2.4.5 kernel on my system (ultra-sparcIIe) it hung during
> IDE probing.
>
> the system seem to loop in arch/sparc64/kernel/traps.c:do_dae()
> traped from drivers/ide/ide-probe.c:do_probe().
What exact PC is it taking this trap on, in what function and what
line of source exactly? What is the address used by the load/store
instruction causing the trap, and does this match up to the I/O areas
of the IDE controller in the machine (as shown by lspci -v or
in the contents of /proc/pci)?
> because ide-probe.c is not a sparc depend file, i won't put
> a "pci_poke_in_progress" in that code, so i changed do_dae() to
> check the AFSR register. for details please check the code below.
It's getting a bus error in privileged mode. This means it is
touching something in device space which is not responding, either
because there is no device there or the device there is not enabled.
> unfortuanely i don't have much informations about the different
> CPU version, so the flags i check from AFSR maybe different on
> other CPU version (e.g.: CHAFSR_BERR in chafsr.h, seem to be one
> of the bits on Cheetah(?)).
>
> so if possible someone who knows have a look to the code below
> and give me a tip for a "good" patch.
I cannot suggest a good patch until we know exactly what is triggering
the trap in the first place.
do_probe in ide-probe.c does nothing more than perform perfectly
normal accesses to the IDE controller registers. What kind of IDE
chipset is in your system, and what information does the driver print
out when this device is probed?
Does the IDE controller even work with your patch applied?
Later,
David S. Miller
davem@redhat.com
-
To unsubscribe from this list: send the line "unsubscribe ultralinux" in
the body of a message to majordomo@vger.kernel.org
next prev parent reply other threads:[~2001-06-01 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-01 9:46 2.4.5 and IDE probing hung Ralf Liesegang
2001-06-01 9:56 ` David S. Miller [this message]
2001-06-01 14:10 ` Ralf Liesegang
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=marc-linux-ultrasparc-99138958329393@msgid-missing \
--to=davem@redhat.com \
--cc=ultralinux@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