[OpenAFS-devel] Fwd: XEN and openafs-modules-source
Chaskiel M Grundman
cg2v@andrew.cmu.edu
Sun, 09 Oct 2005 01:48:35 -0400
--==========50C70EA3B7ED946C1446==========
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
--On Saturday, October 08, 2005 11:59:42 PM -0400 Chaskiel M Grundman=20
<cg2v@andrew.cmu.edu> wrote:
> 2) Xen appears to support spin_lock_irq{,save} and
> local_irq_{enable,disable}, so I don't know what the user is actually
> complaining about. I suppose I could boot my xen kernel and try to
> compile/load afs on it...
Well, there is some sort of problem. osi_linux_mask triggers a GPF on xenU=20
kernels, inside SIGMASK_LOCK(), which is the thing that calls=20
spin_lock_irq.
There's an actual cli instruction visible in the disassembly. _that_ is the =
bug:
00058ad7 <osi_linux_mask>:
58ad7: 53 push %ebx
58ad8: fa cli
58ad9: bb 00 e0 ff ff mov $0xffffe000,%ebx
58ade: 21 e3 and %esp,%ebx
58ae0: 83 43 14 01 addl $0x1,0x14(%ebx)
This appears to be because things think ARCH=3Di686 and not ARCH=3Dxen. if =
I=20
munge the MakefileProto.LINUX to say ARCH=3Dxen when it calls into kbuild,=20
then it works. When real xen support is added to the tree, a sane way of=20
dealing with this will need to be thought out.
--==========50C70EA3B7ED946C1446==========
Content-Type: application/pkcs7-signature
Content-Transfer-Encoding: base64
MIIL1wYJKoZIhvcNAQcCoIILyDCCC8QCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3
DQEHAaCCCVswggLjMIICTKADAgECAgMO/8kwDQYJKoZIhvcNAQEEBQAwYjELMAkG
A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4x
LDAqBgNVBAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4X
DTA1MDYyMzE3MzEzMFoXDTA2MDYyMzE3MzEzMFowRTEfMB0GA1UEAxMWVGhhd3Rl
IEZy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