Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SONIC interrupt mapping #45

Open
fthain opened this issue Dec 2, 2019 · 0 comments
Open

SONIC interrupt mapping #45

fthain opened this issue Dec 2, 2019 · 0 comments

Comments

@fthain
Copy link
Contributor

fthain commented Dec 2, 2019

Most Quadras support an alternative interrupt mapping that is used by A/UX and Linux. It moves the SONIC ethernet IRQ from level 2 (VIA2) to level 3. If you patch Linux to disable this mapping (see patch inhibit-via_alt_mapping.txt), Linux crashes with "unexpected interrupt from 108". This error refers to the level 3 interrupt, since (108 >> 2) - 24 = 3. QEMU raises the level 3 interrupt regardless of via2[vBufB]. In this case, QEMU should raise the NuBus slot 9 interrupt (IRQ 56) instead. I've confirmed this on a Centris 610 (but not a Quadra 800). This bug is no problem for mainline Linux but could be a problem for some other operating systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant