Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Redd Vinylene
On Mon, Dec 6, 2010 at 7:25 PM, Nerius Landys nlan...@gmail.com wrote:

 I've had success running [at least some] 32 bit software on 64 bit
 FreeBSD without even using a jail.
 Do you have /usr/lib32 on your system?  This would get installed for
 example if you rebuild world/kernel following this:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 and if you don't inhibit the installation of /usr/lib32 by setting
 some conf file flag somewhere.

 There are probably other ways to get /usr/lib32 on your system, but
 I usually rebuild world to make it happen.


Hey man!

Matter of fact - yeah - I do have /usr/lib32. So that's all I need or do I
need to activate something in rc.conf or whatever?

Much obliged!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
 I've had success running [at least some] 32 bit software on 64 bit
 FreeBSD without even using a jail.
 Do you have /usr/lib32 on your system?  This would get installed for
 example if you rebuild world/kernel following this:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
 and if you don't inhibit the installation of /usr/lib32 by setting
 some conf file flag somewhere.

 There are probably other ways to get /usr/lib32 on your system, but
 I usually rebuild world to make it happen.


 Hey man!

 Matter of fact - yeah - I do have /usr/lib32. So that's all I need or do I
 need to activate something in rc.conf or whatever?

 Much obliged!

/usr/lib32 should be all you need [I think].
However you won't be able to correctly compile 32 bit software on your
64 bit system.  For
compiling, you _should_ use a jail, or compile on a 32 bit system.
They're addressing this cross-compiling issue in the latest FreeBSD
sources I think.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Mike Bregg
Yes, I believe this has been possible since 7.2.

Mike


On Mon, Dec 6, 2010 at 11:00 AM, Redd Vinylene reddvinyl...@gmail.comwrote:

 Greetings!

 Can I run a 32-bit jail (or software) on a 64-bit server? I need to use
 some
 software that only works on 32-bit.

 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
I've had success running [at least some] 32 bit software on 64 bit
FreeBSD without even using a jail.
Do you have /usr/lib32 on your system?  This would get installed for
example if you rebuild world/kernel following this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
and if you don't inhibit the installation of /usr/lib32 by setting
some conf file flag somewhere.

There are probably other ways to get /usr/lib32 on your system, but
I usually rebuild world to make it happen.

On Mon, Dec 6, 2010 at 10:00 AM, Redd Vinylene reddvinyl...@gmail.com wrote:
 Greetings!

 Can I run a 32-bit jail (or software) on a 64-bit server? I need to use some
 software that only works on 32-bit.

 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Redd Vinylene
Thanks a lot guys - I really appreciate it.

Redd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread David DEMELIER
2010/12/6 Redd Vinylene reddvinyl...@gmail.com:
 Greetings!

 Can I run a 32-bit jail (or software) on a 64-bit server? I need to use some
 software that only works on 32-bit.

 Thanks!
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Hello,

Since this question is asked a lot of time I think we should update
the handbook to say `yes' it's possible ! :-)

http://lists.freebsd.org/pipermail/freebsd-jail/2010-January/001139.html

http://www.mail-archive.com/freebsd-j...@freebsd.org/msg01201.html

-- 
Demelier David
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Redd Vinylene
How do I create a 32-bit jail on a 64-bit machine then?

http://forums.freebsd.org/showthread.php?t=3744 did not tell me much.

Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Nerius Landys
On Mon, Dec 6, 2010 at 11:14 AM, Redd Vinylene reddvinyl...@gmail.com wrote:
 How do I create a 32-bit jail on a 64-bit machine then?

 http://forums.freebsd.org/showthread.php?t=3744 did not tell me much.

 Thanks!


Use this as a start:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html
Then you have to specify target arch = i386 or something in the make
buildworld etc. steps.  I don't remember the exact syntax for the make
flags off hand.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Devin Teske
I wrote a utility (attached) to make the process really fast and easy:



jail_build(8): Build FreeBSD jails from binary distributions


Here's a simple howto:

Step 1: Create a landing zone for your binary distribution (jail_build(8) looks 
in `/usr/repos' for binary distributions)...

sudo mkdir -p /usr/repos
sudo cd /usr/repos

Step 2: Download one or more binary FreeBSD distributions (any version, any 
platform)...

wget -r ftp://ftp-archive.freebsd.org/pub/FreeBSD/releases/i386/8.1-RELEASE

Step 3: Download jail_build(8)...

cd
wget http://druidbsd.sourceforge.net/download/jail_build.txt
mv jail_build.txt jail_build
chmod +x jail_build

Step 4: Build your jail(s)...

./jail_build
--
Devin

(full sig at bottom)

P.S. Feedback welcome.


On Dec 6, 2010, at 11:14 AM, Redd Vinylene wrote:

 How do I create a 32-bit jail on a 64-bit machine then?
 
 http://forums.freebsd.org/showthread.php?t=3744 did not tell me much.
 
 Thanks!
 ___
 freebsd-j...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-jail
 To unsubscribe, send any mail to freebsd-jail-unsubscr...@freebsd.org

--
Cheers,
Devin Teske

- CONTACT INFORMATION -
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.te...@fisglobal.com

- LEGAL DISCLAIMER -
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

- END TRANSMISSION -

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Randal L. Schwartz
 Devin == Devin Teske dte...@vicor.com writes:

Devin sudo cd /usr/repos

This is pretty useless. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I run a 32-bit jail (or software) on a 64-bit server?

2010-12-06 Thread Devin Teske
On Dec 6, 2010, at 1:01 PM, Randal L. Schwartz wrote:

 Devin == Devin Teske dte...@vicor.com writes:
 
 Devin sudo cd /usr/repos
 
 This is pretty useless. :)

I'd say it's _absolutely_ useless ^_^

Yes, indeed, the `sudo' should be omitted.
--
Cheers,
Devin Teske

- CONTACT INFORMATION -
Business Solutions Consultant II
FIS - fisglobal.com
510-735-5650 Mobile
510-621-2038 Office
510-621-2020 Office Fax
909-477-4578 Home/Fax
devin.te...@fisglobal.com

- LEGAL DISCLAIMER -
This message  contains confidential  and proprietary  information
of the sender,  and is intended only for the person(s) to whom it
is addressed. Any use, distribution, copying or disclosure by any
other person  is strictly prohibited.  If you have  received this
message in error,  please notify  the e-mail sender  immediately,
and delete the original message without making a copy.

- END TRANSMISSION -

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org