On Tue, 23 Feb 2010 16:50:15 -0700, Rick McNeal <[email protected]> wrote: > I've got a driver which I'm trying to load and it's failing. > /var/adm/messages has many similar messages like the following: > > Feb 23 22:18:29 opensolaris genunix: [ID 370954 kern.notice] symbol > shared_umem_cookie: > Feb 23 22:18:29 opensolaris genunix: [ID 780480 kern.notice] value > 0xffffffffc0075f38 does not fit > Feb 23 22:18:29 opensolaris genunix: [ID 286029 kern.notice] relocation > error: R_AMD64_32: > Feb 23 22:18:29 opensolaris genunix: [ID 720415 kern.notice] file > /platform/i86hvm/kernel/drv/amd64/ivm: > > I figure this has got to be something related to how I'm building the > driver. I started looking around and nothing indicates that any special > flags must be used other than the obvious like the following >
Yup, AMD64 kernel code needs to be built with -xmodel=kernel to use the right address ranges. -Albert _______________________________________________ driver-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/driver-discuss
