public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
From: Brad Boyer <flar@allandria.com>
To: flameman mayer <flamemaniii@gmail.com>
Cc: linux-m68k@lists.linux-m68k.org
Subject: Re: mac68k serial
Date: Tue, 13 Jan 2009 16:32:46 -0800	[thread overview]
Message-ID: <20090114003245.GA4419@cynthia.pants.nu> (raw)
In-Reply-To: <1b1304130901131349n6b67eac5j1c17f4791dd6718e@mail.gmail.com>

On Tue, Jan 13, 2009 at 09:49:59PM +0000, flameman mayer wrote:
> I'm Carlo Pisani, alias "flameman", and i'm running this little
> project: gentoo-m68k @ applem68k-LC475
> 
> ( http://elinux.org/Mac68k-Flameman )

That's a good summary of a lot of history, but most of us don't think
much about the 2.2 kernel anymore. It's nice to have all of that in
one place for browsing.

> i'm working with kernel-2.6.27 and i have this issue
> 
> macserial kernel panic
> 
> unable to handle kernel NULL pointer de reference at virtual address
> 000004 modules linked in: m68k_handle_int+0x1c/0x36
> 
> call trace mac_scc_dispatch+0x3a/0x40 auto_irqhandler_fixup+0x4/0x6
> 
> also, i hacked the "emile-0.12" sources to build a monitor able to
> serially talk: it works for both the 2 LC475 serial lines :P
> 
> is there anything about serial support for linux-m68k ?

The real driver for the serial ports on m68k Macintosh systems got
removed from the tree a long time ago and has not been replaced as
of this time. However, we still register mac_scc_dispatch as an
interrupt handler for the line that the SCC uses. This looks like
you got an interrupt for the serial chip and the interrupt code
got confused trying to dispatch to nothing. I've never seen it
happen, but it does look like that would be the expected behavior
of the current code.

It's on my list to fix, but I honestly haven't had much time to
work on it. My plan is to either share or copy pmac_zilog.c which
is the driver for the serial on PowerMacs rather than start from
the Atari driver as mentioned in the web page above. It's not only
the same chip but attached to the system in mostly the same way.

	Brad Boyer
	flar@allandria.com


  reply	other threads:[~2009-01-14  0:32 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-13 21:49 mac68k serial flameman mayer
2009-01-14  0:32 ` Brad Boyer [this message]
2009-01-14  1:50   ` Finn Thain
2009-01-16 23:31     ` Michael Schmitz
2009-01-17  3:13       ` Falcon IDE breakage Michael Schmitz
2009-01-17 11:58         ` Geert Uytterhoeven
2009-01-18  0:58           ` Michael Schmitz
2009-01-18  1:45           ` Falcon IDE breakage [patch] Michael Schmitz
2009-01-19 12:24             ` Bartlomiej Zolnierkiewicz
2009-01-18  2:10           ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Michael Schmitz
2009-01-18  2:17             ` [PATCH 2/3] m68k: section mismatch fixes: DMAsound Michael Schmitz
2009-01-30 18:37               ` Geert Uytterhoeven
2009-01-18  2:22             ` [PATCH 3/3] m68k: section mismatch fixes: Atari SCSI Michael Schmitz
2009-01-30 18:38               ` Geert Uytterhoeven
2009-01-30 18:35             ` [PATCH 1/3] m68k: section mismatch fixes: EtherNAT Geert Uytterhoeven
2009-02-01  0:14               ` Michael Schmitz
2009-02-01  9:50                 ` Geert Uytterhoeven
2009-02-01 10:22                   ` Geert Uytterhoeven
2009-02-01 13:09                 ` David D. Kilzer
2009-02-02  3:36                   ` Michael Schmitz
2009-02-02  7:43                     ` Geert Uytterhoeven
2009-01-17  6:59       ` mac68k serial Finn Thain
2009-01-17  8:24         ` Brad Boyer
2009-01-18  0:43           ` Michael Schmitz
2009-01-18  5:18             ` Brad Boyer
2009-01-14 21:26 ` Kolbjørn Barmen

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=20090114003245.GA4419@cynthia.pants.nu \
    --to=flar@allandria.com \
    --cc=flamemaniii@gmail.com \
    --cc=linux-m68k@lists.linux-m68k.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