Linux PARISC architecture development
 help / color / mirror / Atom feed
From: "Michael S. Zick" <mszick@wolfbutter.com>
To: parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] BUG 2.6.11-rc4-pa1 XFS data page fault
Date: Fri, 18 Feb 2005 08:07:30 -0600	[thread overview]
Message-ID: <200502180807.30480.mszick@wolfbutter.com> (raw)
In-Reply-To: <20050218092835.0E74E3658E2@mail.esiee.fr>

On Fri February 18 2005 03:28, Thibaut VARENE wrote:
> -------------------
> > On Thu, Feb 17, 2005 at 06:53:52AM -0600, Michael S. Zick wrote:
> > > I am tracking a timing and/or race condition(s) with x86-udev.
> > > Debian doesn't use it yet, they still have a hard disk based /dev.
> > > But it is not a compile time option.
> > > If you have a 2.6.+ kernel, you have it.
> > > 
> > > Try turning it off with the command line option: 'noudev'
> > 
> > I thought this helped at first.  (2.6.11-rc4-pa1)
> > Could run spew+"make -j4" over xfs without crashing the box (panic).
> > 
> > Then I rebooted with a freshly built kernel (and "noudev")
> > and right away when I start spew on the XFS file system I get:
> 
>  
> > The only difference in the .config was sym2 driver IOMAPPED.
> > I had it enabled (using IO Port space) and now disable it
> > since I really want MMIO space. I'm very skeptical this is
> > related to the problem.
> 
Try the command line option: pci=routeirq

I know that pa-risc pci is a totally different beast, so can't say
how much effect the changes in generic affect your systems.


> Hmmm.
> Back in the early days of 2.5, i recall issues with SYM2 in MMIO mode,
> so that it only worked in PIO mode (I think i had posted something on
> this m-l about that). At that time i was using ext3 for that matter.
> 
> OTOH, XFS relies a lot on memory and cache quality. I don't know how
> MMIO would interfere with that, but I suspect that if enabling MMIO
> has the side effect of messing with that somehow, it's very likely XFS
> won't like it at all. Just a random thought though.
>  
> > > If your compile time options include devfs, try turning it 
> > > off also.  Use the command line option: 'nodevfs'
> > 
> > I don't use devfs. Willy won't let me. :^P
> 
I have to agree with Willy on this one.
Taking it out of the kernel is a step forward for the kernel designers.

The udev system, although envisioned as a replacement for devfs
is much more general and can (could, might) lead to mountable
cpu and memory segments.

? ? ? ?

To take a cpu off-line, such as for test/maintance:
mount -o remount,ro /dev/cpu/xxx

To shut it down, such as for replacement:
umount /dev/cpu/xxx

To take a memory range off-line, such as for test/maintance:
mount -o remount,ro /dev/mem/<memory-range-id>

To take failed memory range down for replacement:
umount /dev/mem/<memory-range-id>

These operations are common in both tightly coupled
smp (symetrical) systems and loosely coupled amp
(asymetrical) systems. 

A loosely coupled multiple processor system might not
have all of its cpus and memory in a single box.

Even a tightly coupled multiple processor system used
for 'non-stop' service can use these features.

This is the real power of what is now the udev system, not
just dynamic device naming.
It allows Linux to grow into both a single processor OS
and a general purpose, parallel processing OS.

It looks to me as if nearly all of the code is in-place, just
needs some changes in kernel initialization and some
general consolidation of existing kernel functions.

Mike
PS: These changes also give new reasons for including
my version of system sched.c into the kernel as an option
in 2.9.x

> well, devfs is 3v1l and deprecated, so you'd better not use it :)
> 
> > > In my case, for kernels 2.6.8, 2.6.9, 2.6.10 and 2.6.11 -
> > > If I boot from slow devices (cdrom, zip disk) everything is
> > > fine, If I boot from fast devices (hard disk) - something isn't
> > > getting setup the same.
> > 
> > Is there a difference in the how the devices are used?
> > ie. serialized vs. multiple IOs in flight at the same time?
> > 
> > I didn't start hitting problems until I lauched a second job
> > on the same file system.
> 
> Come to think of it, I wonder how the XFS bug you're pointing at can
> be related to the bug Joel and I reported with ext3:
> http://lists.parisc-linux.org/pipermail/parisc-linux/2005-February/025
> 867.html
> 
> Maybe one would like to try XFS on a non-SYM2 box and see what
> happens? That way we might have a clue whether sym2's at fault or
> something else...
> 
> My 2 cents in the morning ;)
> 
> Thibaut VARENE
> PA/Linux ESIEE Team
> http://www.pateam.org/
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 
> 
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

  reply	other threads:[~2005-02-18 14:07 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <42075CE800004656@mail-6-bnl.tiscali.it>
     [not found] ` <200502170653.52415.mszick@wolfbutter.com>
     [not found]   ` <20050217210915.GB1081@colo.lackof.org>
2005-02-18  1:00     ` [parisc-linux] BUG 2.6.11-rc4-pa1 XFS data page fault Michael S. Zick
2005-02-18  6:23   ` Grant Grundler
2005-02-18  9:28     ` Thibaut VARENE
2005-02-18 14:07       ` Michael S. Zick [this message]
     [not found]       ` <20050219022808.GA28925@colo.lackof.org>
2005-02-19 10:17         ` Michael S. Zick
2005-02-21 16:58           ` Matthew Wilcox
2005-02-18 17:35 Joel Soete
  -- strict thread matches above, loose matches on Subject: below --
2005-02-16  6:55 Grant Grundler
     [not found] ` <4208D51500003293@mail-5-bnl.tiscali.it>
2005-02-16  7:45   ` Grant Grundler
2005-02-17  4:06 ` Carlos O'Donell
2005-02-19 22:27 ` Grant Grundler
2005-02-21  0:04   ` 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=200502180807.30480.mszick@wolfbutter.com \
    --to=mszick@wolfbutter.com \
    --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