#493: Unable to handle kernel paging request for madwifi-ng on sparc64 smp
-------------------------------------+--------------------------------------
Reporter: [EMAIL PROTECTED] | Owner:
Type: defect | Status: new
Priority: major | Milestone: version 0.9.x -
progressive release candidate phase
Component: madwifi: HAL | Version: trunk
Resolution: | Keywords: sparc64 smp netgear vpn311
Patch_attached: 0 |
-------------------------------------+--------------------------------------
Comment (by proski):
Please ignore what I wrote above.
The kernel forbids the compiler to use registers %g4 and %g5. They are
only used in assembly code for special purposes. If I understand
correctly, %g5 holds tsk->mm->context, which is referred to by the kernel
message. Unfortunately, HAL uses both %g4 and %g5 for its internal needs.
This must be the real problem.
The cleanest fix would be to recompile HAL with -ffixed-g4 and -ffixed-g5
(options fixing %g2 and %g3 are fine if they are needed by other OSes).
Perhaps HAL could be patched to use %g2 and %g3 instead of %g4 and %g5,
but this would make Sam _very_ angry.
HAL could also be wrapped to save %g4 and %g5 by callers and restore it by
callees, but it would require some coding and it could be unreliable,
especially if preemption is enabled.
--
Ticket URL: <http://madwifi.org/ticket/493>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets