Differences between revisions 70 and 71
Revision 70 as of 2009-12-08 11:24:24
Size: 8754
Editor: XTaran
Comment: Add Sparc64 to question about alternate platforms :-)
Revision 71 as of 2009-12-08 11:34:07
Size: 8771
Editor: XTaran
Comment: Reformatting for adding a ToC
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
=== Basic questions ===
'''
Q. What does the 'k' in "kFreeBSD" stand for?'''
<<TableOfContents(2)>>
= Basic questions =
== Q. What does the 'k' in "kFreeBSD" stand for? ==
Line 7: Line 8:
'''Q. What is the point of Debian GNU/kFreeBSD?''' == Q. What is the point of Debian GNU/kFreeBSD? ==
Line 11: Line 12:
'''Q. What version of kFreeBSD is supported?''' == Q. What version of kFreeBSD is supported? ==
Line 15: Line 16:
'''Q. Which Debian releases are available?''' == Q. Which Debian releases are available? ==
Line 42: Line 43:
'''Q. Which mirrors offer Debian GNU/kFreeBSD?''' == Q. Which mirrors offer Debian GNU/kFreeBSD? ==
Line 46: Line 47:
'''Q. Can I run Debian GNU/kFreeBSD in a chroot under FreeBSD?''' == Q. Can I run Debian GNU/kFreeBSD in a chroot under FreeBSD? ==
Line 50: Line 51:
'''Q. Can I share a swap partition between GNU/Linux and GNU/kFreeBSD?''' == Q. Can I share a swap partition between GNU/Linux and GNU/kFreeBSD? ==
Line 54: Line 55:
'''Q. Can I share partitions between GNU/Linux and GNU/kFreeBSD?''' == Q. Can I share partitions between GNU/Linux and GNU/kFreeBSD? ==
Line 62: Line 63:
'''Q. What's the status of amd64 support?'''
==
Q. What's the status of amd64 support? ==
Line 66: Line 68:
'''Q. Is there any way to upgrade to Debian-*bsd an existing, running FreeBSD installation (whether it makes sense or not)''' == Q. Is there any way to upgrade to Debian-*bsd an existing, running FreeBSD installation (whether it makes sense or not) ==
Line 70: Line 72:
'''Q. Can *.deb packages co-exist with classical BSD ports?''' == Q. Can *.deb packages co-exist with classical BSD ports? ==
Line 74: Line 76:
'''Q. Are the *.deb packages for *bsd handled the same old way they did on Linux, or do they simply use the /usr/local filesystem?''' == Q. Are the *.deb packages for *bsd handled the same old way they did on Linux, or do they simply use the /usr/local filesystem? ==
Line 78: Line 80:
'''Q. What about some specs I once read about leaving the use of /usr/local to the system administrator? (Maybe these are concerning only to Linux...)''' == Q. What about some specs I once read about leaving the use of /usr/local to the system administrator? (Maybe these are concerning only to Linux...) ==
Line 82: Line 84:
=== Using Debian GNU/kFreeBSD ===
'''
Q. How do I configure/enable sound?'''
= Using Debian GNU/kFreeBSD =
== Q. How do I configure/enable sound? ==
Line 91: Line 93:
'''Q. Wireless?'''
==
Q. Wireless? ==
Line 108: Line 111:
'''Q. apt-get complains that it can't verify binaries. I installed gnupg but the errors persist.'''
==
Q. apt-get complains that it can't verify binaries. I installed gnupg but the errors persist. ==
Line 115: Line 119:
'''Q. I just installed Debian GNU/kFreeBSD. Is there anything I can do to help making it more popular?'''
==
Q. I just installed Debian GNU/kFreeBSD. Is there anything I can do to help making it more popular? ==
Line 126: Line 131:
=== Development questions ===
'''
Q. Where can I check buildd logs for a particular package on kfreebsd-i386?'''
= Development questions =
== Q. Where can I check buildd logs for a particular package on kfreebsd-i386? ==
Line 131: Line 136:
'''Q. Where can I check buildd logs for a particular package on kfreebsd-amd64?''' == Q. Where can I check buildd logs for a particular package on kfreebsd-amd64? ==
Line 135: Line 140:
'''Q. I'm a Debian maintainer. Is there any machine running GNU/kFreeBSD I can have access to?''' == Q. I'm a Debian maintainer. Is there any machine running GNU/kFreeBSD I can have access to? ==
Line 139: Line 144:
'''Q. How do packages move out of ''unreleased''?''' == Q. How do packages move out of ''unreleased''? ==
Line 144: Line 149:
=== Unanswered questions ===
'''
Q. Is anyone running this in production?'''
= Unanswered questions =
== Q. Is anyone running this in production? ==
Line 147: Line 152:
'''Q. Is there any documentation available?''' == Q. Is there any documentation available? ==
Line 149: Line 154:
'''Q. What license is kFreeBSD released under?''' == Q. What license is kFreeBSD released under? ==
Line 151: Line 156:
'''Q. Can I run this as a Xen DomU?''' == Q. Can I run this as a Xen DomU? ==
Line 153: Line 158:
'''Q. Are there any benchmarks available?''' == Q. Are there any benchmarks available? ==
Line 155: Line 160:
'''Q. What hardware does this support?''' == Q. What hardware does this support? ==
Line 157: Line 162:
'''Q. Are there any repositories for the non-free stuff that was taken out?''' == Q. Are there any repositories for the non-free stuff that was taken out? ==
Line 159: Line 164:
'''Q. Is there ZFS support?''' == Q. Is there ZFS support? ==
Line 161: Line 166:
'''Q. Why was the choice made to use glibc?''' == Q. Do I have the option of which libc to use? ==
Line 163: Line 168:
'''Q. Do I have the option of which libc to use?''' == Q. Why was the choice made to use glibc? ==
Line 165: Line 170:
'''Q. How stable is kFreeBSD?''' == Q. How stable is kFreeBSD? ==
Line 167: Line 172:
'''Q. Where can I download kFreeBSD?''' == Q. Where can I download kFreeBSD? ==
Line 169: Line 174:
'''Q. Are there any plans to support alternate CPU instruction sets? e.g. ARM, PPC or Sparc64''' == Q. Are there any plans to support alternate CPU instruction sets, e.g. ARM, PPC or Sparc64? ==
Line 171: Line 176:
'''Q. How do you support GPL-licensed file systems?''' == Q. How do you support GPL-licensed file systems? ==

Translation(s): русский - Polski

Contents

  1. Basic questions
    1. Q. What does the 'k' in "kFreeBSD" stand for?
    2. Q. What is the point of Debian GNU/kFreeBSD?
    3. Q. What version of kFreeBSD is supported?
    4. Q. Which Debian releases are available?
    5. Q. Which mirrors offer Debian GNU/kFreeBSD?
    6. Q. Can I run Debian GNU/kFreeBSD in a chroot under FreeBSD?
    7. Q. Can I share a swap partition between GNU/Linux and GNU/kFreeBSD?
    8. Q. Can I share partitions between GNU/Linux and GNU/kFreeBSD?
    9. Q. What's the status of amd64 support?
    10. Q. Is there any way to upgrade to Debian-*bsd an existing, running FreeBSD installation (whether it makes sense or not)
    11. Q. Can *.deb packages co-exist with classical BSD ports?
    12. Q. Are the *.deb packages for *bsd handled the same old way they did on Linux, or do they simply use the /usr/local filesystem?
    13. Q. What about some specs I once read about leaving the use of /usr/local to the system administrator? (Maybe these are concerning only to Linux...)
  2. Using Debian GNU/kFreeBSD
    1. Q. How do I configure/enable sound?
    2. Q. Wireless?
    3. Q. apt-get complains that it can't verify binaries. I installed gnupg but the errors persist.
    4. Q. I just installed Debian GNU/kFreeBSD. Is there anything I can do to help making it more popular?
  3. Development questions
    1. Q. Where can I check buildd logs for a particular package on kfreebsd-i386?
    2. Q. Where can I check buildd logs for a particular package on kfreebsd-amd64?
    3. Q. I'm a Debian maintainer. Is there any machine running GNU/kFreeBSD I can have access to?
    4. Q. How do packages move out of ''unreleased''?
  4. Unanswered questions
    1. Q. Is anyone running this in production?
    2. Q. Is there any documentation available?
    3. Q. What license is kFreeBSD released under?
    4. Q. Can I run this as a Xen DomU?
    5. Q. Are there any benchmarks available?
    6. Q. What hardware does this support?
    7. Q. Are there any repositories for the non-free stuff that was taken out?
    8. Q. Is there ZFS support?
    9. Q. Do I have the option of which libc to use?
    10. Q. Why was the choice made to use glibc?
    11. Q. How stable is kFreeBSD?
    12. Q. Where can I download kFreeBSD?
    13. Q. Are there any plans to support alternate CPU instruction sets, e.g. ARM, PPC or Sparc64?
    14. Q. How do you support GPL-licensed file systems?

Basic questions

Q. What does the 'k' in "kFreeBSD" stand for?

A. It's an abbreviation. It stands for "kernel of". Hence "kFreeBSD" means "kernel of FreeBSD", and "GNU/kFreeBSD" means "GNU with kernel of FreeBSD".

Q. What is the point of Debian GNU/kFreeBSD?

A. This answer has its own wiki page, see Debian_GNU/kFreeBSD_why.

Q. What version of kFreeBSD is supported?

A. The latest GNU/kFreeBSD install CD is based on the 7.1 kernel, see for details. The older one is based on the 6.3 kernel.

Q. Which Debian releases are available?

A. Debian GNU/kFreeBSD is available in the official Debian archive as unstable and testing, i.e. the sources.list entries are identical to any other machine running Sid or Squeeze. Testing currently misses only the Contents lists. Daily snapshots of D-I images are available at http://d-i.debian.org/daily-images/.

You may add the previous debian-ports.org APT unstable/experimental/unreleased (no testing) repositories to your sources.list to be able to install packages which have not yet build for the official archives. Be aware that those packages are probably out-of-date. Here are the lines for the sources.list:

deb http://ftp.debian-ports.org/debian unstable main
deb http://ftp.debian-ports.org/debian experimental main
deb http://ftp.debian-ports.org/debian unreleased main

unreleased are unstable packages which had to be patched for kfreebsd.

There are still also lenny-based snapshots of the GNU/kFreeBSD archive. Just use the install CD from Jan 2009 and put the following lines into your /etc/apt/sources.list

deb http://ftp.debian-ports.org/debian-snapshot/lenny unstable main
deb http://ftp.debian-ports.org/debian-snapshot/lenny unreleased main

Note: You can also add following lines, to get i.e. gcc-doc available

deb http://ftp.debian.org/debian dists/lenny/main/binary-i386/
deb http://ftp.debian.org/debian dists/lenny/contrib/binary-i386/
deb http://ftp.debian.org/debian dists/lenny/non-free/binary-i386/

Q. Which mirrors offer Debian GNU/kFreeBSD?

A. See ?DebianPorts/Mirrors.

Q. Can I run Debian GNU/kFreeBSD in a chroot under FreeBSD?

A. Yes, but it won't work perfectly unless you apply some kernel patches. You can get them from the Debian kfreebsd-7 source package, but it is up to you to find out and decide which ones you need. We recommend to use a Debian kernel for running Debian GNU/kFreeBSD userland. In case something fails, you're on your own.

Q. Can I share a swap partition between GNU/Linux and GNU/kFreeBSD?

A. Yes, but it's not recommended. See http://www.tldp.org/HOWTO/Linux+FreeBSD-3.html for details on how to proceed. Also note that Linux tends to save suspend-to-disk data to the swap partition, which makes sharing swap less attractive.

Q. Can I share partitions between GNU/Linux and GNU/kFreeBSD?

A. Yes, but you must use ext2fs. When creating the filesystem, pass "-O none" to mke2fs for best results. As for other file systems:

  • For ufs (either 1 or 2), it's only supported readonly by Linux. Write support is highly experimental and is likely to cause panics.
  • For ext3fs, kFreeBSD can only access it in readonly mode.
  • For reiserfs, readonly support has been added to kfreebsd 6.x (see 335019).

  • For xfs, readonly support has been added to kfreebsd 7.x (see 335020 for details). Write support is also planned.

Q. What's the status of amd64 support?

A. It is only slightly behind the i386 one. You're welcome to try it out, and help is appreciated in debugging and cleaning it up. Also, if you want to donate hardware for that purpose please let us know.

Q. Is there any way to upgrade to Debian-*bsd an existing, running FreeBSD installation (whether it makes sense or not)

A. I am unsure about this. You can prepare a filesystem on a different partition/slice and use chroot to install the basic files. Look inside the latest ISO at http://glibc-bsd.alioth.debian.org/install-cd/, there is base/base.tgz inside install.iso. Unpack it into the created chroot. But at least multi-threaded programs will not work under pristine FreeBSD kernel.

Q. Can *.deb packages co-exist with classical BSD ports?

A. It is not good idea. Please use a chroot for things like this.

Q. Are the *.deb packages for *bsd handled the same old way they did on Linux, or do they simply use the /usr/local filesystem?

A. In the same way as on any other Debian system -- the usual prefix is /usr.

Q. What about some specs I once read about leaving the use of /usr/local to the system administrator? (Maybe these are concerning only to Linux...)

A. There are (almost) no files from any *.deb in /usr/local/. It is really left for local system administrator.

Using Debian GNU/kFreeBSD

Q. How do I configure/enable sound?

A. You have to load the proper kernel sound driver(s) using the kldload command. This works for me (SiS AC'97 sound controller):

kldload snd_csa
kldload snd_driver

Q. Wireless?

A. Yes, but we don't have the tools to scan for networks yet. If you know the ssid beforehand, the following stanza in /etc/network/interfaces should work:

auto ${if}
iface ${if} inet dhcp
     pre-up ifconfig ${if} ssid ${my_ssid}

Q. How can I burn CD-ROMs?

A. Nothing special here, just use wodim:

apt-get install wodim
wodim foo.iso

Q. apt-get complains that it can't verify binaries. I installed gnupg but the errors persist.

A. You probably don't have the debian-ports archive key imported. Try:

gpg --keyserver subkeys.pgp.net --recv 43229C06 && gpg --export 43229C06 | sudo apt-key add -

Q. I just installed Debian GNU/kFreeBSD. Is there anything I can do to help making it more popular?

A. Yes! You can install/enable popularity-contest (see http://popcon.debian.org/) to increase our user count. Also you can register yourself as Debian GNU/kFreeBSD user in http://buildd.net/cgi/archvote.phtml. You might also want to tell us how did you hear about Debian GNU/kFreeBSD in this poll. And of course, you can tell all your friends about it. =)

Finally, you can install the "bsdstats" script to record your Debian GNU/kFreeBSD installation at bsdstats.org. You need to install the following packages for the script to work:

apt-get install netcat mksh sharutils openssl bind9-host

Then, you can simply run the script manually via "mksh bsdstats", and/or via a cron-job (weekly, for example).

Development questions

Q. Where can I check buildd logs for a particular package on kfreebsd-i386?

A. http://unstable.buildd.net/index-kfreebsd-i386.html and http://buildd.debian-ports.org/.

Q. Where can I check buildd logs for a particular package on kfreebsd-amd64?

A. http://unstable.buildd.net/index-kfreebsd-amd64.html and http://buildd.debian-ports.org/.

Q. I'm a Debian maintainer. Is there any machine running GNU/kFreeBSD I can have access to?

A. Yes, see http://io.debian.net/ and http://asdfasdf.debian.net/.

Q. How do packages move out of ''unreleased''?

  • Either a newer version appears in unstable, then the old one gets obsoleted;

  • Or a list can be sent to ftpmaster@debian-ports.org , so that they run the appropriate command on them.

Unanswered questions

Q. Is anyone running this in production?

Q. Is there any documentation available?

Q. What license is kFreeBSD released under?

Q. Can I run this as a Xen DomU?

Q. Are there any benchmarks available?

Q. What hardware does this support?

Q. Are there any repositories for the non-free stuff that was taken out?

Q. Is there ZFS support?

Q. Do I have the option of which libc to use?

Q. Why was the choice made to use glibc?

Q. How stable is kFreeBSD?

Q. Where can I download kFreeBSD?

Q. Are there any plans to support alternate CPU instruction sets, e.g. ARM, PPC or Sparc64?

Q. How do you support GPL-licensed file systems?