Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Richard Hirst <rhirst@linuxcare.com>
To: Jes Sorensen <jes@linuxcare.com>
Cc: Grant Grundler <grundler@cup.hp.com>,
	parisc-linux@puffin.external.hp.com,
	debian-hppa@lists.debian.org
Subject: Re: [parisc-linux] A500 status update
Date: Mon, 11 Dec 2000 18:52:32 +0000	[thread overview]
Message-ID: <20001211185232.W7166@linuxcare.com> (raw)
In-Reply-To: <d3d7ez6kb7.fsf@lxplus015.cern.ch>; from jes@linuxcare.com on Mon, Dec 11, 2000 at 04:37:16PM +0100

On Mon, Dec 11, 2000 at 04:37:16PM +0100, Jes Sorensen wrote:
> >>>>> "Grant" == Grant Grundler <grundler@cup.hp.com> writes:
> 
> Grant> o dd to
> Grant> raw disk isn't working right. "No space left on device".  See
> Grant> the output below.
> 
> Likely cause would be that the structs for stat don't match between
> the kernel and glibc. I still think the best approach would be to go
> for a clean 64 bit userland from the beginning as we have on the Alpha
> and ia64 and provide backwards compat support afterwards. I don't like
> to see the hppa64 port end up in the same situation as sparc64 where
> almost nothing gets done for years because there is already a 32 bit
> userland.

This 'no space' problem was caused by an error in the register save/
restore on interrupts, for 64 bit (assembly.h):

date: 2000/12/11 13:10:49;  author: rhirst;  state: Exp;  lines: +10 -0
cr11 (sar) is a funny one.  5 bits on PA1.1 and 6 bit on PA2.0.  For
PA2.0 mtsar or mtctl always write 6 bits, but mfctl only reads 5 bits.
Use mfctl,w to read all six bits.  Otherwise we loose the 6th bit on a
save/restore over interrupt.  Caused dd of=/dev/sdaX to report no space
available at random.

Richard

      reply	other threads:[~2000-12-11 18:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-07  6:34 [parisc-linux] A500 status update Grant Grundler
2000-12-07  6:49 ` Grant Grundler
2000-12-07  9:56   ` Richard Hirst
2000-12-07 16:16     ` Paul Bame
2000-12-07 18:17       ` Grant Grundler
2000-12-07 20:46       ` Matthew Wilcox
2000-12-07 22:08         ` Paul Bame
2000-12-08 17:30           ` Matthew Wilcox
2000-12-11 13:49 ` [parisc-linux] " Richard Hirst
2000-12-11 15:37 ` Jes Sorensen
2000-12-11 18:52   ` Richard Hirst [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=20001211185232.W7166@linuxcare.com \
    --to=rhirst@linuxcare.com \
    --cc=debian-hppa@lists.debian.org \
    --cc=grundler@cup.hp.com \
    --cc=jes@linuxcare.com \
    --cc=parisc-linux@puffin.external.hp.com \
    /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