From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Sean Neakums <sneakums@zork.net>
Cc: Andrew Morton <akpm@osdl.org>,
Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.11-mm3: machine check on sleep, PowerBook5.4
Date: Sun, 13 Mar 2005 23:30:16 +1100 [thread overview]
Message-ID: <1110717016.5787.143.camel@gaston> (raw)
In-Reply-To: <6upsy37o0v.fsf@zork.zork.net>
On Sun, 2005-03-13 at 12:01 +0000, Sean Neakums wrote:
> Machine check in kernel mode.
> Caused by (from SRR1=149030): Transfer error ack signal
> Oops: machine check, sig: 7 [#1]
> TASK = etc. 'pmud' etc.
> (for registers and such, see:
> http://flynn.zork.net/~sneakums/pmac-machine-check-on-sleep-2611mm3.jpeg )
> Call trace:
> pmac_ide_pci_suspend
> pci_device_suspend
> suspend_device
> device_suspend
> 0xc03dd894
> 0xc03dddb8
> 0xc03de7cc
> do_ioctl
> vfs_ioctl
> sys_ioctl
> ret_from_syscall
Does that fix it ?
Index: linux-work/drivers/ide/ppc/pmac.c
===================================================================
--- linux-work.orig/drivers/ide/ppc/pmac.c 2005-03-13 10:10:58.000000000 +1100
+++ linux-work/drivers/ide/ppc/pmac.c 2005-03-13 23:29:40.000000000 +1100
@@ -1208,16 +1208,17 @@
if (pmif->mediabay)
return 0;
- /* Disable the bus */
- ppc_md.feature_call(PMAC_FTR_IDE_ENABLE, pmif->node, pmif->aapl_bus_id, 0);
-
- /* Kauai has it different */
+ /* Kauai has bus control FCRs directly here */
if (pmif->kauai_fcr) {
u32 fcr = readl(pmif->kauai_fcr);
fcr &= ~(KAUAI_FCR_UATA_RESET_N | KAUAI_FCR_UATA_ENABLE);
writel(fcr, pmif->kauai_fcr);
}
+ /* Disable the bus on older machines and the cell on kauai */
+ ppc_md.feature_call(PMAC_FTR_IDE_ENABLE, pmif->node, pmif->aapl_bus_id,
+ 0);
+
return 0;
}
next prev parent reply other threads:[~2005-03-13 12:31 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-12 11:42 2.6.11-mm3 Andrew Morton
2005-03-12 12:20 ` 2.6.11-mm3 Jens Axboe
2005-03-12 12:41 ` 2.6.11-mm3 Reuben Farrelly
2005-03-12 15:51 ` 2.6.11-mm3 Anton Altaparmakov
2005-03-12 13:18 ` 2.6.11-mm3: saa7134-core.c compile error Adrian Bunk
2005-03-15 4:38 ` Andrew Morton
2005-03-15 17:47 ` Adrian Bunk
2005-03-12 13:40 ` 2.6.11-mm3 Ed Tomlinson
2005-03-12 15:52 ` 2.6.11-mm3 Anton Altaparmakov
2005-03-12 15:55 ` [2.6 patch] drivers/net/sis900.c: fix a warning Adrian Bunk
2005-03-12 17:30 ` [2.6 patch] drivers/video/intelfb/: " Adrian Bunk
2005-03-12 19:13 ` DRI breakage, 2.6.11-mm[123] Sean Neakums
2005-03-12 19:29 ` Sean Neakums
2005-03-12 23:13 ` Dave Airlie
2005-03-12 23:58 ` Dave Jones
2005-03-13 12:48 ` Sean Neakums
2005-03-13 13:34 ` Dave Airlie
2005-03-13 12:01 ` 2.6.11-mm3: machine check on sleep, PowerBook5.4 Sean Neakums
2005-03-13 12:23 ` Benjamin Herrenschmidt
2005-03-13 12:30 ` Benjamin Herrenschmidt [this message]
2005-03-13 12:35 ` Benjamin Herrenschmidt
2005-03-13 16:19 ` Sean Neakums
2005-03-13 19:07 ` Sean Neakums
2005-03-13 21:53 ` Benjamin Herrenschmidt
2005-03-13 22:08 ` Sean Neakums
2005-03-13 22:10 ` Benjamin Herrenschmidt
2005-03-13 22:12 ` Benjamin Herrenschmidt
2005-03-13 21:47 ` Benjamin Herrenschmidt
2005-03-13 16:31 ` 2.6.11-mm3 Barry K. Nathan
2005-03-14 16:25 ` 2.6.11-mm3 (compile stats) John Cherry
2005-03-14 21:54 ` 2.6.11-mm3 - DRM/i915 broken Brice Goglin
2005-03-14 22:30 ` Bernhard Rosenkraenzer
2005-03-14 22:57 ` Brice Goglin
2005-03-16 9:36 ` Dave Airlie
2005-03-17 18:57 ` Brice Goglin
2005-03-19 2:45 ` Fix agp_backend usage in drm_agp_init (was: 2.6.11-mm3 - DRM/i915 broken) Brice Goglin
2005-03-19 3:40 ` Jesse Barnes
2005-03-19 3:48 ` Jesse Barnes
2005-03-19 16:32 ` Jesse Barnes
[not found] ` <200503191247.48963.werner@sgi.com>
[not found] ` <21d7e9970503231247179b7c46@mail.gmail.com>
2005-03-24 8:45 ` Dave Airlie
2005-03-16 18:57 ` 2.6.11-mm3 - DRM/i915 broken Ruben Fonseca
2005-03-15 7:57 ` 2.6.11-mm3 Stefano Rivoir
2005-03-15 12:25 ` 2.6.11-mm3 mouse oddity Helge Hafting
2005-03-15 14:25 ` Dmitry Torokhov
2005-03-15 14:36 ` Vojtech Pavlik
2005-03-15 19:01 ` Andrew Morton
2005-03-15 19:33 ` Dave Jones
2005-03-15 19:34 ` Dmitry Torokhov
2005-03-15 19:54 ` Sean
2005-03-15 20:10 ` Vojtech Pavlik
2005-03-16 9:47 ` Helge Hafting
2005-03-16 17:29 ` Vojtech Pavlik
2005-03-16 9:44 ` Helge Hafting
2005-03-16 17:30 ` Vojtech Pavlik
2005-03-17 11:09 ` Helge Hafting
2005-03-17 12:14 ` Vojtech Pavlik
2005-03-15 15:06 ` 2.6.11-mm3: megaraid_sas.c: stack usage Adrian Bunk
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=1110717016.5787.143.camel@gaston \
--to=benh@kernel.crashing.org \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sneakums@zork.net \
/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