Date: Sat, 24 Mar 2001 03:06:44 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: leclercn@videotron.ca Cc: grog@lemis.com (Greg Lehey), freebsd-alpha@FreeBSD.ORG Subject: Re: Vinum(8) segfault on alpha - DEV_T SIZE PROBLEM!!! Message-ID: <200103240308.UAA21273@usr07.primenet.com> In-Reply-To: <3ABC07DA.2070804@videotron.ca> from "tcn" at Mar 23, 2001 09:35:06 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> 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)... #pragma pack(1). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103240308.UAA21273>