Date: Fri, 23 Mar 2001 21:35:06 -0500 From: tcn <nospam@videotron.ca> To: Greg Lehey <grog@lemis.com> Cc: freebsd-alpha@freebsd.org Subject: Re: Vinum(8) segfault on alpha - DEV_T SIZE PROBLEM!!! Message-ID: <3ABC07DA.2070804@videotron.ca> References: <3AB2C01C.9080509@videotron.ca> <20010317123352.F89962@wantadilla.lemis.com> <3AB36445.1090505@videotron.ca> <20010318094057.L89962@wantadilla.lemis.com> <3AB4105A.2040902@videotron.ca> <20010318124905.C764@wantadilla.lemis.com> <3AB62F14.127C2E00@ele.etsmtl.ca> <20010321074541.B31629@sydney.worldwide.lemis.com>
index | next in thread | previous in thread | raw e-mail
I think I found the problem. There is a size mismatch between
dev_t from kernel and dev_t from standard libraries. I let vinum print
out sizes of drive structure, got 120 from module and 118 from vinum. I
then printed out the only thing that I could find that could be generic:
dev_t structure.
The size of dev_t from module is 8 but from vinum is 4. Types
defines dev_t as an int of 32 bits for non alpha BUT as a pointer for
alpha (64 bits)...
Normand Leclerc
leclercn@videotron.ca
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ABC07DA.2070804>
