From owner-freebsd-alpha Fri Mar 23 19: 8:32 2001 Delivered-To: freebsd-alpha@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id 2264737B71A for ; Fri, 23 Mar 2001 19:08:29 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id UAA26770; Fri, 23 Mar 2001 20:02:45 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp05.primenet.com, id smtpdAAA16aWe0; Fri Mar 23 20:02:29 2001 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id UAA21273; Fri, 23 Mar 2001 20:08:06 -0700 (MST) From: Terry Lambert Message-Id: <200103240308.UAA21273@usr07.primenet.com> Subject: Re: Vinum(8) segfault on alpha - DEV_T SIZE PROBLEM!!! To: leclercn@videotron.ca Date: Sat, 24 Mar 2001 03:06:44 +0000 (GMT) Cc: grog@lemis.com (Greg Lehey), freebsd-alpha@FreeBSD.ORG In-Reply-To: <3ABC07DA.2070804@videotron.ca> from "tcn" at Mar 23, 2001 09:35:06 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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