Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Mar 2001 23:05:18 -0500
From:      tcn <nospam@videotron.ca>
To:        Andrew Gallatin <gallatin@cs.duke.edu>
Cc:        leclercn@videotron.ca, freebsd-alpha@FreeBSD.ORG
Subject:   Re: dev_t size mismatch kernel / userland
Message-ID:  <3ABC1CFE.8070000@videotron.ca>
References:  <3ABC0CFE.4010707@videotron.ca> <15036.6517.17480.370998@grasshopper.cs.duke.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
  Already tried vinum, works fine after modification of dev_t to 
u_int64_t.  I'll change it to uintptr_t tough (cleaner).  Hope this gets 
fixed!


Normand Leclerc
leclercn@videotron.ca


Andrew Gallatin wrote:

> tcn writes:
>  > Hi,
>  > 
>  >    I found a problem with dev_t.  The kernel uses a dev_t as a pointer 
>  > and userland uses it as an integer.  What should I do: change userland 
>  > to 64 bits and rebuild world?
> 
> Sort of.  Try changing it to a uintptr_t (64-bits on alpha, 32 on
> i386).
> 
> Before rebuilding world, I'd try just vinum..
> 
> Drew
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-alpha" in the body of the message



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?3ABC1CFE.8070000>