linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: "Joseph P. Garcia" <jpgarcia@execpc.com>,
	<linuxppc-dev@lists.linuxppc.org>
Subject: Re: Lombard Sleep Crash (Was: 2.2.18pre17 again)
Date: Thu, 2 Nov 2000 19:06:36 +0100	[thread overview]
Message-ID: <19340927113820.10453@192.168.1.2> (raw)
In-Reply-To: <3A01A2FA.8E8E4A0B@execpc.com>


>> Well, the kernel sleep code is supposed to take care of that, but
>> apparently, that code is also causing the panic...
>
>any possibility that the VFS layer causing more serious problems here?
>Comments
>before cdrom.c:media_changed() seem to hint at a potential race
condition, and
>if the pmac-ide sleep code tries doing the VFS-sync itself, it might
aggrivate
>matters.  Should/Is VFS being kicked automagically by the cdrom code, or
might
>we need some syncing or buffering code in ide-pmac.c to prevent a panic?

The sleep code in via-pmu.c does a sync, and the sleep code ide-pmac.c
locks the IDE request queue preventing any other request from coming in
until it's unlocked on wakeup. I did this part. Michael did the VFS
stuffs, I must admit I didn't look at the VFS layer in depth myself.

>Could also be that the wakebay app/hack runs on the drive after DMA was
>re-enabled.  I assume there is no problem with the media change acting on a
>non-mediabay disk, which it appears to me it would be doing.

Well, the devices beeing powered down, it can't harm to send them a media
change.

>BTW, pmud 0.7.1 uses wakebay by default.  my PDQ doesnt have the panic
problem
>either.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-11-02 18:06 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-26  6:30 2.2.18pre17 again Paul Mackerras
2000-10-26 14:19 ` Gabriel Paubert
2000-10-27  1:51 ` Paul Mackerras
2000-10-27  6:21 ` Martin Costabel
2000-10-27 11:59 ` Lombard Sleep Crash (Was: 2.2.18pre17 again) Albrecht Dre_
2000-10-27 14:39   ` Olaf Hering
2000-11-02 12:34     ` Albrecht Dreß
2000-11-02 15:07       ` Claus
2000-11-02 15:28         ` Albrecht Dre_
2000-11-02 18:09           ` Benjamin Herrenschmidt
2000-11-03 10:13             ` Albrecht Dre_
2000-11-03 12:22               ` Michael Schmitz
2000-11-03 12:32                 ` Albrecht Dre_
2000-11-03 12:52                   ` Michael Schmitz
2000-11-03 14:11                     ` Albrecht Dre_
2000-11-03 14:52                       ` Michael Schmitz
2000-11-03 21:51                   ` Michael Schmitz
2000-11-02 15:35         ` Benjamin Herrenschmidt
2000-11-02 15:43           ` Michael Schmitz
2000-11-02 16:11             ` Benjamin Herrenschmidt
2000-11-02 17:13           ` Michael Schmitz
2000-11-03 15:22             ` Claus
2000-11-03 15:55               ` Benjamin Herrenschmidt
2000-11-03 21:53                 ` Michael Schmitz
2000-11-09  1:22                   ` Claus
2000-11-09  8:26                     ` Michael Schmitz
2000-11-02 17:23           ` Joseph P. Garcia
2000-11-02 18:06             ` Benjamin Herrenschmidt [this message]
2000-11-02 22:18               ` Michael Schmitz
2000-11-02 22:56       ` Olaf Hering
2000-11-08 20:35   ` Michael Schmitz
2000-11-08 20:54     ` Benjamin Herrenschmidt
2000-11-08 21:48       ` Michael Schmitz
2000-10-27 19:02 ` 2.2.18pre17 again Olaf Hering
2000-10-28  0:14   ` Olaf Hering
2000-10-31  6:49 ` Michel Lanners
2000-10-31 11:53   ` Benjamin Herrenschmidt
2000-10-31 14:03     ` Gabriel Paubert
2000-10-31 14:48       ` Benjamin Herrenschmidt
2000-10-31 17:20         ` Gabriel Paubert
2000-11-01  1:20           ` Dan Malek
2000-11-01  7:33     ` Michel Lanners
     [not found] <200011030559.XAA12796@lists.linuxppc.org>
2000-11-03 14:55 ` Lombard Sleep Crash (Was: 2.2.18pre17 again) Derek Homeier
2000-11-03 15:17   ` Michael Schmitz
2000-11-03 15:53   ` Benjamin Herrenschmidt
2000-11-03 15:59     ` Derek Homeier
  -- strict thread matches above, loose matches on Subject: below --
2000-11-03 15:42 nicola cabibbo

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=19340927113820.10453@192.168.1.2 \
    --to=bh40@calva.net \
    --cc=jpgarcia@execpc.com \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).