linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Zilog driver - auto-detect for no oopsen
@ 2004-03-25 14:12 David Eger
  2004-03-25 22:19 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: David Eger @ 2004-03-25 14:12 UTC (permalink / raw)
  To: linuxppc-dev, benh


I recently compiled  Linux Kernel v2.6.5-rc2-ben0 and...

Is there any auto-detection code we can add to the Zilog driver?

I accidentally enabled the  CONFIG_SERIAL_PMACZILOG option for my kernel,
and it crashes my powerbook all to hell when i try to put it to sleep...
I know the option is irrelevant for my hardware, but is Oops'ing really
what we want as a bad .config reminder?

hda: completing PM request, suspend
Oops: Kernel access of bad area, Sig: 11 [#1]
NIP: C001CCA8... TASK 'pbbuttonsd'  Last syscall: 54...
Call trace:
  pmz_suspend +0x200/0x21c
  macio_device_suspend +0x4c/0x54
  suspend_device +0xd4/0xdc
  device_suspend +0x64/0xd8
  ...

-dte

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Zilog driver - auto-detect for no oopsen
  2004-03-25 14:12 Zilog driver - auto-detect for no oopsen David Eger
@ 2004-03-25 22:19 ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2004-03-25 22:19 UTC (permalink / raw)
  To: David Eger; +Cc: linuxppc-dev list


On Fri, 2004-03-26 at 01:12, David Eger wrote:
> I recently compiled  Linux Kernel v2.6.5-rc2-ben0 and...
>
> Is there any auto-detection code we can add to the Zilog driver?
>
> I accidentally enabled the  CONFIG_SERIAL_PMACZILOG option for my kernel,
> and it crashes my powerbook all to hell when i try to put it to sleep...
> I know the option is irrelevant for my hardware, but is Oops'ing really
> what we want as a bad .config reminder?

Hrm... that was supposed to be fixed. It definitely doesn't crash here
(the crash I fixed recently is on wakeup btw, not sleep).

I'd appreciate some debugging to figure out what exactly is going
on. It seems it accessing a wrong pointer but I fail to see what
precisely

Ben.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-25 22:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-25 14:12 Zilog driver - auto-detect for no oopsen David Eger
2004-03-25 22:19 ` Benjamin Herrenschmidt

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).