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

cc -o dummy.o -c dummy.c
ld -r -o dummy dummy.o

I've looked at the output from a kernel build and see that there are lots of 
additional flags who's description in the documentation is somewhat lacking. I 
took a whack at including them, but the driver still fails to load.

My system is running b132 on top of Xen. I'm using the Studio12 compilers, but 
I don't think that's the issue since I used those same compilers to build the 
kernel which is running just fine.

Suggestions?
----
Rick McNeal
[email protected]

I say to myself "That's it God! I have got to get through here before the sun 
sets! No more pics unless I see something totally amazing!!!" 

Word to the wise; don't challenge God when you are on a quest for spiritual 
enlightenment. 300 feet later, just around the bend, I enter "Monument Valley." 
-- Anonymous Biker





_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to