Stupid question about integer sizes

2013-02-19 Thread Borja Marcos
Hello, I'm really sorry if this is a stupid question, but as far as I know, u_int64_t defined in /usr/include/sys/types.h should *always* be a 64 bit unsigned integer, right? Seems there's a bug (or I need more and stronger coffee). Compiling a program on a 64 bit system with -m32 gets the

Re: Stupid question about integer sizes

2013-02-19 Thread mdf
On Tue, Feb 19, 2013 at 5:11 AM, Borja Marcos bor...@sarenet.es wrote: Hello, I'm really sorry if this is a stupid question, but as far as I know, u_int64_t defined in /usr/include/sys/types.h should *always* be a 64 bit unsigned integer, right? Seems there's a bug (or I need more and

Re: Stupid question about integer sizes

2013-02-19 Thread Borja Marcos
On Feb 19, 2013, at 3:52 PM, m...@freebsd.org wrote: Last I knew -m32 still wasn't quite supported on 9.1. This is fixed Ahh I see. It should print a warning, then. It's the typical thing that can drive you nuts ;) Thanks, Borja. ___

Re: Stupid question about integer sizes

2013-02-19 Thread Konstantin Belousov
On Tue, Feb 19, 2013 at 06:52:34AM -0800, m...@freebsd.org wrote: On Tue, Feb 19, 2013 at 5:11 AM, Borja Marcos bor...@sarenet.es wrote: Hello, I'm really sorry if this is a stupid question, but as far as I know, u_int64_t defined in /usr/include/sys/types.h should *always* be a 64

Re: Scrolling in framebuffer syscons

2013-02-19 Thread Phileas Fogg
Oleksandr Tymoshenko wrote: On 2/16/2013 5:20 AM, Phileas Fogg wrote: Hi, i have a question about how the scrolling in a framebuffer syscons works. I'm trying to speed up the syscons on the PS3 console which is a simple framebuffer syscons. It uses the renderer _gfbrndrsw_ (see

Re: Looking for reviewers for patch that adds foreign disk support mfiutil

2013-02-19 Thread John Baldwin
On Sunday, February 17, 2013 1:06:40 pm Steven Hartland wrote: Hi all I'm looking for someone to review the attached patch to mfiutil which adds foreign disk support to mfiutil as per: http://www.freebsd.org/cgi/query-pr.cgi?pr=172091 Any and all feedback welcome :) Some suggestions: -

Re: Looking for reviewers for patch that adds foreign disk support mfiutil

2013-02-19 Thread Steven Hartland
- Original Message - From: John Baldwin Thanks for the feedback John appreciated, a couple of questions inline below if you would be so kind. On Sunday, February 17, 2013 1:06:40 pm Steven Hartland wrote: Hi all I'm looking for someone to review the attached patch to mfiutil which

sparc64 zfsroot/gmirror?

2013-02-19 Thread Sean Bruno
I'm restoring some of the sparc64 machines for freebsd.org and had a question with regards to what to do about the / Since it wasn't obvious how to setup zfs root things I setup something that looks like this: = 0 71087625 da0 VTOC8 (33G) 03855601 freebsd-ufs (188M)

Re: sparc64 zfsroot/gmirror?

2013-02-19 Thread Kurt Lidl
On Tue, Feb 19, 2013 at 04:03:09PM -0800, Sean Bruno wrote: I'm restoring some of the sparc64 machines for freebsd.org and had a question with regards to what to do about the / Since it wasn't obvious how to setup zfs root things I setup something that looks like this: = 0 71087625

Re: sparc64 zfsroot/gmirror?

2013-02-19 Thread Sean Bruno
On Tue, 2013-02-19 at 22:59 -0500, Kurt Lidl wrote: On Tue, Feb 19, 2013 at 04:03:09PM -0800, Sean Bruno wrote: I'm restoring some of the sparc64 machines for freebsd.org and had a question with regards to what to do about the / Since it wasn't obvious how to setup zfs root things I

Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Paul Schenkeveld
Hi, I've been trying to find a solution for this chicken and egg problem, how to have an encrypted root filesystem on a remote server. Geli can ask for a root password at the console to unlock the root fs but that of course won't work for a remote server. Ideally I'd like the server to start,

Re: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Alexander Yerenkow
2013/2/20 Paul Schenkeveld free...@psconsult.nl Hi, I've been trying to find a solution for this chicken and egg problem, how to have an encrypted root filesystem on a remote server. Geli can ask for a root password at the console to unlock the root fs but that of course won't work for a

Re: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Xin Li
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 2/19/13 10:58 PM, Paul Schenkeveld wrote: Ideally I'd like the server to start, do minimal network config, run a minimal ssh client (dropbear?) and wait for someone to log in, provide the passphrase to unlock the root filesystem and then

Re: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Paul Schenkeveld
On Wed, Feb 20, 2013 at 09:14:22AM +0200, Alexander Yerenkow wrote: 2013/2/20 Paul Schenkeveld free...@psconsult.nl Hi, I've been trying to find a solution for this chicken and egg problem, how to have an encrypted root filesystem on a remote server. Geli can ask for a root password

Fwd: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Jason Hellenthal
Meant to also reply all... Reply elsewhere... -- Jason Hellenthal JJH48-ARIN - (2^(N-1)) Begin forwarded message: From: Jason Hellenthal jhellent...@dataix.net Date: February 20, 2013 2:42:57 EST To: Paul Schenkeveld free...@psconsult.nl Subject: Re: Chicken and egg, encrypted root FS

Re: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Paul Schenkeveld
On Wed, Feb 20, 2013 at 02:42:57AM -0500, Jason Hellenthal wrote: Just a thought with no working example but… bootp / tftp - from a remote secured management frame to TX a key filesytem to unlock your rootfs. Could be something as simple as a remote wireless adhoc server with a 64GB

Re: Chicken and egg, encrypted root FS on remote server

2013-02-19 Thread Alexander Yerenkow
As you may notice, I go way readonly freebsd, the upgrade is simply replace disk A with disk B, and all stays working. In my home setup there's no Vm, but SD card with base system, also in RO mode. This setup succesfully survived two upgrade-by-replace. And you always can keep old Os as backup.