11 years agoMerge from vendor branch OPENSSL:
Peter Avalos [Sat, 6 Sep 2008 20:36:16 +0000 (20:36 +0000)]
Merge from vendor branch OPENSSL:
Import OpenSSL 0.9.8h.

11 years agoImport OpenSSL 0.9.8h.
Peter Avalos [Sat, 6 Sep 2008 20:36:16 +0000 (20:36 +0000)]
Import OpenSSL 0.9.8h.

11 years agoAdd markup.
Sascha Wildner [Sat, 6 Sep 2008 14:24:44 +0000 (14:24 +0000)]
Add markup.

11 years agoirregardless -> regardless
Sascha Wildner [Sat, 6 Sep 2008 14:18:29 +0000 (14:18 +0000)]
irregardless -> regardless

11 years ago1) Small mdoc nit 2) regardless if -> regardless of.
Sascha Wildner [Sat, 6 Sep 2008 14:17:56 +0000 (14:17 +0000)]
1) Small mdoc nit 2) regardless if -> regardless of.

11 years agoBreak long line
Sepherosa Ziehau [Sat, 6 Sep 2008 14:12:50 +0000 (14:12 +0000)]
Break long line

11 years ago- Save the route struct in dummynet mbuf tag into the route stack variable,
Sepherosa Ziehau [Sat, 6 Sep 2008 14:07:30 +0000 (14:07 +0000)]
- Save the route struct in dummynet mbuf tag into the route stack variable,
  so that ip_output() no longer depends on dummynet mbuf tag and firewall
  code could do anything with it (e.g. delete and free it).
- Move dummynet mbuf tag deletion and ipfw args setup code into ipfw processing
  code block.

11 years agoAdapt manual pages to change in boot code to support using
Thomas Nikolajsen [Sat, 6 Sep 2008 12:14:08 +0000 (12:14 +0000)]
Adapt manual pages to change in boot code to support using
either / or /boot on boot file system.

11 years agoMove dummynet tag extraction and ipfw args setup into ipfw processing
Sepherosa Ziehau [Sat, 6 Sep 2008 12:04:03 +0000 (12:04 +0000)]
Move dummynet tag extraction and ipfw args setup into ipfw processing
code block

11 years agoFix Xrefs for ata[control](4): add / change to nata[control](4) as appropriate.
Thomas Nikolajsen [Sat, 6 Sep 2008 10:36:27 +0000 (10:36 +0000)]
Fix Xrefs for ata[control](4): add / change to nata[control](4) as appropriate.

11 years agoAdd a bit markup.
Thomas Nikolajsen [Sat, 6 Sep 2008 10:25:04 +0000 (10:25 +0000)]
Add a bit markup.

11 years agoAdd a bit markup.
Thomas Nikolajsen [Sat, 6 Sep 2008 10:23:39 +0000 (10:23 +0000)]
Add a bit markup.

11 years agoDelete false note.
Thomas Nikolajsen [Sat, 6 Sep 2008 10:18:21 +0000 (10:18 +0000)]
Delete false note.

11 years agoAdd an example os how to change label format from 32 bit to 64 bit,
Thomas Nikolajsen [Sat, 6 Sep 2008 10:15:29 +0000 (10:15 +0000)]
Add an example os how to change label format from 32 bit to 64 bit,
and delete note that it require reboot.

Fix typo: missing line break, which got .Xr hide sentence.

11 years agoFix typo.
Thomas Nikolajsen [Sat, 6 Sep 2008 10:03:45 +0000 (10:03 +0000)]
Fix typo.

11 years agoAdd missing description on context addresses.
Thomas Nikolajsen [Sat, 6 Sep 2008 09:38:33 +0000 (09:38 +0000)]
Add missing description on context addresses.

Obtained-from: FreeBSD
with minor corrections and additions.

11 years ago- Staticize lo{output,ioctl}
Sepherosa Ziehau [Sat, 6 Sep 2008 06:09:42 +0000 (06:09 +0000)]
- Staticize lo{output,ioctl}
- Regroup function declaration

11 years ago- Move stack variable near its usage
Sepherosa Ziehau [Sat, 6 Sep 2008 05:46:47 +0000 (05:46 +0000)]
- Move stack variable near its usage
- Minor style change

11 years agoIncrease sockbuf send and receive buffers to 57344 bytes. In particular,
Matthew Dillon [Sat, 6 Sep 2008 05:44:59 +0000 (05:44 +0000)]
Increase sockbuf send and receive buffers to 57344 bytes.  In particular,
note that we want to use buffer limits that allow lo0's mtu of 16384 to
be fully utilized.

11 years agoAdd hwcsum support to lo interface. This is mainly used to help new sockbuf
Sepherosa Ziehau [Sat, 6 Sep 2008 05:36:05 +0000 (05:36 +0000)]
Add hwcsum support to lo interface.  This is mainly used to help new sockbuf
testing, however, it accidentally doubles the current lo0 performance.

Suggested-by: dillon@
11 years agoBring in if_loop.c from FreeBSD (silby@freebsd.org):
Sepherosa Ziehau [Sat, 6 Sep 2008 05:07:35 +0000 (05:07 +0000)]
Bring in if_loop.c from FreeBSD (silby@freebsd.org):
  don't bother defragging mbuf chains sent to the loopback,
  the ipv6 stack can handle them just fine as is.

Noticed-by: dillon@
11 years agoAdd missing sleep.
Matthew Dillon [Sat, 6 Sep 2008 02:25:43 +0000 (02:25 +0000)]
Add missing sleep.

Reported-by: "Hale Boyes, Kevin " <Kevin.HaleBoyes@encana.com>
11 years agoBump up the size of the boot partition in the boot+HAMMER rconfig
Matthew Dillon [Sat, 6 Sep 2008 01:36:24 +0000 (01:36 +0000)]
Bump up the size of the boot partition in the boot+HAMMER rconfig
example from 128M to 256M.

11 years agoFix an endless recursion and double fault which could occur when accessing
Matthew Dillon [Fri, 5 Sep 2008 23:27:12 +0000 (23:27 +0000)]
Fix an endless recursion and double fault which could occur when accessing
a filesystem mounted via nullfs where the mount itself used a path through
another nullfs filesystem.

The forwarding nullm_vfs mount pointer must be set to the actual mount
point and not the governing nullfs.  Any read-only status from the governing
nullfs mount will still be inherited.

11 years agoBump .Dd, add .Lb, and use 'RFC xxxx'.
Sascha Wildner [Fri, 5 Sep 2008 20:43:08 +0000 (20:43 +0000)]
Bump .Dd, add .Lb, and use 'RFC xxxx'.

11 years agoFix a crash on access to TAP's owning thread. The owning thread can go away
Matthew Dillon [Fri, 5 Sep 2008 17:03:15 +0000 (17:03 +0000)]
Fix a crash on access to TAP's owning thread.  The owning thread can go away
with the descriptor still open, for example if the opening process forks
into a background daemon and the foreground process exits.

Use the SIGIO mechanic to record the owning thread so we can detect if
the process goes away.

11 years agoQuite minimal patchset to help to save some more power - put unused PCI
Hasso Tepper [Fri, 5 Sep 2008 10:39:36 +0000 (10:39 +0000)]
Quite minimal patchset to help to save some more power - put unused PCI
devices (devices with no drivers) into D3 state. Device has to support it
of course.

Obtained-from: FreeBSD

11 years agoacpi_cpu(4) update. It's now possible to use higher (lower power usage) C
Hasso Tepper [Fri, 5 Sep 2008 10:28:35 +0000 (10:28 +0000)]
acpi_cpu(4) update. It's now possible to use higher (lower power usage) C
states than C1 in modern (multicore) CPUs.

Obtained-from: FreeBSD

11 years agoDon't fail if the file flags of source and copied symlinks don't match.
YONETANI Tomokazu [Fri, 5 Sep 2008 03:16:55 +0000 (03:16 +0000)]
Don't fail if the file flags of source and copied symlinks don't match.
Although there's no lchflags(), symlinks inherit file flags of their
parent directory(for history retention flags), so file flags may be set
on symlinks.  chflags(1) on a symlink doesn't do anything nor does it
return an error code, so the new behavior is more consistent with
Symlinks don't inherit file flags on previous versions of DragonFly
or on FreeBSD, so this code has never had a chance to return ENOSYS.

Suggested-By: Matt
11 years agoAnsify (silence -Wold-style-definition)
Sascha Wildner [Thu, 4 Sep 2008 21:00:28 +0000 (21:00 +0000)]
Ansify (silence -Wold-style-definition)

11 years agoSilence warning.
Sascha Wildner [Thu, 4 Sep 2008 17:30:52 +0000 (17:30 +0000)]
Silence warning.

11 years agoAnsify (silence -Wold-style-definition)
Sascha Wildner [Thu, 4 Sep 2008 16:12:51 +0000 (16:12 +0000)]
Ansify (silence -Wold-style-definition)

11 years agoForgot this file in the "RFC3542 support" SoC project commit.
Hasso Tepper [Thu, 4 Sep 2008 11:54:24 +0000 (11:54 +0000)]
Forgot this file in the "RFC3542 support" SoC project commit.

11 years agoUpdate the usage message again to be even more clear about the available
Matthias Schmidt [Thu, 4 Sep 2008 10:33:50 +0000 (10:33 +0000)]
Update the usage message again to be even more clear about the available

11 years agoBring in newer ping6(8) from KAME via FreeBSD lying in my disk quite some
Hasso Tepper [Thu, 4 Sep 2008 10:13:10 +0000 (10:13 +0000)]
Bring in newer ping6(8) from KAME via FreeBSD lying in my disk quite some
time. Most notably it includes select(2) -> poll(2) conversion and
arc4random(3) usage.

Obtained-from: KAME via FreeBSD

11 years agoThe result of the "RFC3542 support" SoC project by Dashu Huang.
Hasso Tepper [Thu, 4 Sep 2008 09:08:22 +0000 (09:08 +0000)]
The result of the "RFC3542 support" SoC project by Dashu Huang.

11 years agoSet .Dd and remove unnecessary .Nm arguments.
Sascha Wildner [Thu, 4 Sep 2008 07:35:06 +0000 (07:35 +0000)]
Set .Dd and remove unnecessary .Nm arguments.

11 years agoUpdate gpt.8:
Thomas Nikolajsen [Thu, 4 Sep 2008 05:37:24 +0000 (05:37 +0000)]
Update gpt.8:
 - delete occurrences of '/boot/' in boot/loader.rc

11 years agoMake pkgsrc/wip cvs checkout use -P.
Hasso Tepper [Wed, 3 Sep 2008 10:38:55 +0000 (10:38 +0000)]
Make pkgsrc/wip cvs checkout use -P.

Found-by: Jordan Gordeev
11 years agoNote that we imported the OpenBSD dhclient in 2.1.
Matthias Schmidt [Wed, 3 Sep 2008 08:02:34 +0000 (08:02 +0000)]
Note that we imported the OpenBSD dhclient in 2.1.

11 years agoAdd a reference for /usr/share/examples/rconfig to the rconfig manual page.
Matthew Dillon [Wed, 3 Sep 2008 02:24:04 +0000 (02:24 +0000)]
Add a reference for /usr/share/examples/rconfig to the rconfig manual page.

11 years agoUpdate the rconfig examples. Correct a bug in auto.sh and add hammer.sh.
Matthew Dillon [Wed, 3 Sep 2008 02:22:25 +0000 (02:22 +0000)]
Update the rconfig examples.  Correct a bug in auto.sh and add hammer.sh.

hammer.sh is a rconfig example which will format a BOOT+HAMMER system.

11 years agoChange vkernel.7:
Thomas Nikolajsen [Tue, 2 Sep 2008 22:41:19 +0000 (22:41 +0000)]
Change vkernel.7:
 - kernel (and modules) moved to boot directory
 - note on adding partition on vn0s0 made clearer

11 years agoUpdate gpt.8:
Thomas Nikolajsen [Tue, 2 Sep 2008 22:37:12 +0000 (22:37 +0000)]
Update gpt.8:
 - simplify Boot Setup example: kernel and modules moved to /boot

11 years agoRemove unused variable.
Sascha Wildner [Tue, 2 Sep 2008 22:20:55 +0000 (22:20 +0000)]
Remove unused variable.

Found-by: LLVM/Clang Static Analyzer
11 years agoRemove unused variable.
Sascha Wildner [Tue, 2 Sep 2008 22:13:11 +0000 (22:13 +0000)]
Remove unused variable.

Found-by: LLVM/Clang Static Analyzer
11 years agoBring hunt in from OpenBSD. The best multi-player terminal game ever!
Matthew Dillon [Tue, 2 Sep 2008 21:50:21 +0000 (21:50 +0000)]
Bring hunt in from OpenBSD.  The best multi-player terminal game ever!

11 years agoRemove boot0gpt - it isn't ready yet (and may never be).
Matthew Dillon [Tue, 2 Sep 2008 21:46:56 +0000 (21:46 +0000)]
Remove boot0gpt - it isn't ready yet (and may never be).

11 years agoFix coretemp(4) to provide temperatures from all cores (instead of reading
Hasso Tepper [Tue, 2 Sep 2008 18:12:48 +0000 (18:12 +0000)]
Fix coretemp(4) to provide temperatures from all cores (instead of reading
temperature only from the core current thread runs on).

Also use CPU device unit number as cpu identifier, not the one from coretemp
device (it doesn't matter in practice though, but still ...).

11 years agoHandle (unit == -1) case in the device_find_child() function as already used
Hasso Tepper [Tue, 2 Sep 2008 17:48:26 +0000 (17:48 +0000)]
Handle (unit == -1) case in the device_find_child() function as already used
by agp(4) and coretemp(4) code. Fixes unload/load cycle of the coretemp(4),
agp(4) has more problems.

Obtained-from: FreeBSD

11 years agoAdjust the boot code to boot from either a root with a /boot, or directly
Matthew Dillon [Tue, 2 Sep 2008 17:21:18 +0000 (17:21 +0000)]
Adjust the boot code to boot from either a root with a /boot, or directly
from a /boot partition (which will look like '/' to the loader).

These changes allow you to make your 'a' partition a /boot only partition.
Your /boot/loader.conf would then have a directive to tell the kernel where
the root partition is, e.g.:


* Add a chdir() hack and rel_open() that uses the chdir base.

* chdir("/boot")... if it exists.

* Change all config and most other paths to be relative

* boot2 does not have access to the chdir() hack.  Adjust boot2 to look
  for the loader as both "/loader" and "/boot/loader".

11 years agoContinue working the abort path. Move SS_ABORTING flag handling inward
Matthew Dillon [Tue, 2 Sep 2008 16:17:54 +0000 (16:17 +0000)]
Continue working the abort path.  Move SS_ABORTING flag handling inward
to catch remaining cases, fixing a few I missed.

Reported-by: Peter Avalos <pavalos@theshell.com>
11 years agoRemove the now untrue statement about plain SMTP login only.
Matthias Schmidt [Tue, 2 Sep 2008 15:16:59 +0000 (15:16 +0000)]
Remove the now untrue statement about plain SMTP login only.

11 years agoAdd CRAM-MD5 authentication support for the DragonFly Mail Agent. This is the
Matthias Schmidt [Tue, 2 Sep 2008 15:11:49 +0000 (15:11 +0000)]
Add CRAM-MD5 authentication support for the DragonFly Mail Agent. This is the
first piece of Max's work for the Google Summer of Code 2008.  All other
new features will follow after evaluation/review :)

Besides the CRAM code there is new code within base64.c (BSD licensed and
from the University of Stockholm) and within crypto.c derived from RFC 2104.

Note: This code is tested and works.  If you find a bug, please report back
to the bugs@ list.

Thanks a lot for the good work Max.

Submitted-by: Max Lindner <gisanka@googlemail.com>
Sponsored-by: Google Summer of Code 2008
11 years agoRename /kernel and /module to /boot/kernel and /boot/module where appropriate.
Matthias Schmidt [Tue, 2 Sep 2008 11:50:47 +0000 (11:50 +0000)]
Rename /kernel and /module to /boot/kernel and /boot/module where appropriate.

11 years agoRegenerate the pciconf(8) database from the following files:
Sascha Wildner [Tue, 2 Sep 2008 09:00:18 +0000 (09:00 +0000)]
Regenerate the pciconf(8) database from the following files:

Hart:    Jan 22, 2008 (version 671)
Boemler: Sep  1, 2008
Mares:   Sep  1, 2008

11 years agoBring in Louisa Luciani's GSoC 2008 work, a DragonFly LiveDVD that is
Sascha Wildner [Mon, 1 Sep 2008 21:20:31 +0000 (21:20 +0000)]
Bring in Louisa Luciani's GSoC 2008 work, a DragonFly LiveDVD that is
buildable using our nrelease framework.

Thank you very much, Louisa! :)

Louisa did a lot of work into this LiveDVD (which is something that
has been discussed for years on the lists and in IRC), and I am
really pleased with the result. Others who have already checked out
the ISO she put up liked it, too.

I did some minor changes, notably making sure that corecode's nightly
snapshot builds won't be influenced by this commit (by moving the
installer script from nrelease/installer to nrelease/gui for now).

Note that due to some pkgsrc problems a number of packages had to be
custom built for the ISO, and the LiveDVD will not build using only
the binary packages from pkgbox. The needed packages will be put up

Submitted-by: Louisa Luciani <lolaluci@gmail.com>
11 years agoRemove any vestiges of the old pam, particularly /etc/pam.conf. pam config
Matthew Dillon [Mon, 1 Sep 2008 20:54:35 +0000 (20:54 +0000)]
Remove any vestiges of the old pam, particularly /etc/pam.conf.  pam config
was moved into /etc/pam.d a while ago.  An old pam.conf can interfere
with PAM's operation because it is still in its search path.

11 years agotest
Sascha Wildner [Mon, 1 Sep 2008 20:48:24 +0000 (20:48 +0000)]

11 years agoUpdate gpt.8:
Thomas Nikolajsen [Mon, 1 Sep 2008 20:26:49 +0000 (20:26 +0000)]
Update gpt.8:
 - change note on number of slices supported to 127
 - add more symlinks to Boot Setup example: /kernel and /modules, and /*.old,
/modules is needed to load modules after loader(8) phase,
/kernel is given by e.g. kern.bootfile (sysctl),
/*.old is needed for same purposes when this kernel/modules used

11 years agoUpdate MAKEDEV:
Thomas Nikolajsen [Mon, 1 Sep 2008 20:19:56 +0000 (20:19 +0000)]
 - raise disk slice upper limit from 30 to 126 (lower limit is 0):
GPT supports 127 slices; MBR supports 32 slices
 - adjust a white space and a line break (no functional change)

11 years agoupdate fdisk.8:
Thomas Nikolajsen [Mon, 1 Sep 2008 20:13:32 +0000 (20:13 +0000)]
update fdisk.8:
 - add `MBR' to one line description (`.Nd')
 - add description on number of supported slices and usage
 - add note on `packet' mode and Xref boot0cfg
 - note that fdisk only can change s1-s4

11 years ago* Move /kernel to /boot/kernel and /modules to /boot/modules.
Matthew Dillon [Mon, 1 Sep 2008 19:39:49 +0000 (19:39 +0000)]
* Move /kernel to /boot/kernel and /modules to /boot/modules.

* Adjust the loader to check /boot before / (it still checks both).  Note
  that '/' from the point of view of the loader might be /boot from the
  point of view of the running kernel if /boot is a boot partition.

* Adjust make upgrade to move /kernel to /boot/kernel and /modules to

* Installkernel now requires that you have built and installed a new world
  and done an upgrade, and will refuse to install if you haven't.

  This is so we don't end up with four copies of everything in / and
  potentially fill it up.  Plus it clears up any confusion as to which
  kernel the loader is loading.

NOTE: FreeBSD uses /boot/kernel/{kernel,modules}.  We will not be doing that.
To expand into multiple kernels our intention is to use /boot/kernel.NAME and
/boot/modules.NAME instead, which reduces the directory level clutter.

11 years agoUpdate fdisk.8:
Thomas Nikolajsen [Mon, 1 Sep 2008 19:27:31 +0000 (19:27 +0000)]
Update fdisk.8:
 - break lines at end of sentence (`.')
 - minor markup improvements

11 years agotest
Sascha Wildner [Mon, 1 Sep 2008 19:22:03 +0000 (19:22 +0000)]

11 years agoIn aue(4) txeof, differ ifnet.if_start to ifnet's CPU to:
Sepherosa Ziehau [Mon, 1 Sep 2008 13:05:42 +0000 (13:05 +0000)]
In aue(4) txeof, differ ifnet.if_start to ifnet's CPU to:
1) Keep if_start serialized
2) Avoid deadlock between USB sync operations and holding serializer in
   USB task thread (e.g. in txeof callback)

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1123>
Tested-by: Tim <t-df@timdarby.net>
11 years agoEnable intr_mpsafe by default
Sepherosa Ziehau [Mon, 1 Sep 2008 12:49:00 +0000 (12:49 +0000)]
Enable intr_mpsafe by default

Approved-by: dillon@
11 years agoFix some mdoc nits.
Sascha Wildner [Mon, 1 Sep 2008 10:48:29 +0000 (10:48 +0000)]
Fix some mdoc nits.

11 years agoAdd some more obsolete files from the dhcpd removal.
Sascha Wildner [Sun, 31 Aug 2008 18:19:33 +0000 (18:19 +0000)]
Add some more obsolete files from the dhcpd removal.

11 years agoAdd an autologin entry for the console.
Sascha Wildner [Sun, 31 Aug 2008 17:37:19 +0000 (17:37 +0000)]
Add an autologin entry for the console.

Submitted-by: Louisa Luciani <lolaluci@gmail.com> (GSoC LiveDVD project)
11 years agoBring in some entries from FreeBSD.
Sascha Wildner [Sun, 31 Aug 2008 17:31:31 +0000 (17:31 +0000)]
Bring in some entries from FreeBSD.

11 years agoAdd _dhcp user.
Sascha Wildner [Sun, 31 Aug 2008 17:12:13 +0000 (17:12 +0000)]
Add _dhcp user.

11 years agoRemove unused variable.
Sascha Wildner [Sun, 31 Aug 2008 15:46:48 +0000 (15:46 +0000)]
Remove unused variable.

Submitted-by: Louisa Luciani <lolaluci@gmail.com>
11 years agoSet fp to NULL on EINVAL
Aggelos Economopoulos [Sun, 31 Aug 2008 13:18:28 +0000 (13:18 +0000)]
Set fp to NULL on EINVAL

11 years agoAdd .tgz to the dhcpd packages.
Sascha Wildner [Sat, 30 Aug 2008 21:35:05 +0000 (21:35 +0000)]
Add .tgz to the dhcpd packages.

11 years agoThe new dhclient will go to the background automatically so there's no
Sascha Wildner [Sat, 30 Aug 2008 21:21:40 +0000 (21:21 +0000)]
The new dhclient will go to the background automatically so there's no
need to provide for background_dhclient etc. rc variables.

11 years agoSmall fixes.
Sascha Wildner [Sat, 30 Aug 2008 20:52:00 +0000 (20:52 +0000)]
Small fixes.

11 years agoAdd dhcp(8) which gives some general info on DHCP client/server
Sascha Wildner [Sat, 30 Aug 2008 20:27:25 +0000 (20:27 +0000)]
Add dhcp(8) which gives some general info on DHCP client/server

Adapted-from: OpenBSD

11 years agoAdjust for dhcpd removal.
Sascha Wildner [Sat, 30 Aug 2008 19:02:49 +0000 (19:02 +0000)]
Adjust for dhcpd removal.

11 years agoAdjust for dhcpd/dhcrelay removal.
Sascha Wildner [Sat, 30 Aug 2008 17:50:43 +0000 (17:50 +0000)]
Adjust for dhcpd/dhcrelay removal.

11 years agoAdd /usr/include/machine/pci_cfgreg.h (moved).
Sascha Wildner [Sat, 30 Aug 2008 17:19:13 +0000 (17:19 +0000)]
Add /usr/include/machine/pci_cfgreg.h (moved).

11 years agoDocument kgetenv_ulong().
Sascha Wildner [Sat, 30 Aug 2008 17:11:42 +0000 (17:11 +0000)]
Document kgetenv_ulong().

11 years agoAdjust whitespace (reduce differences with FreeBSD).
Sascha Wildner [Sat, 30 Aug 2008 17:07:17 +0000 (17:07 +0000)]
Adjust whitespace (reduce differences with FreeBSD).

11 years agoUpdate elf(5) with the recent changes to elf64.h and bring in some changes
Sascha Wildner [Sat, 30 Aug 2008 17:01:17 +0000 (17:01 +0000)]
Update elf(5) with the recent changes to elf64.h and bring in some changes
from FreeBSD.

11 years agoMake BOOTP server in installer work with dhcp server from pkgsrc.
Hasso Tepper [Sat, 30 Aug 2008 16:47:47 +0000 (16:47 +0000)]
Make BOOTP server in installer work with dhcp server from pkgsrc.

11 years agoRemove dhcpd and dhcrelay remainings.
Hasso Tepper [Sat, 30 Aug 2008 16:40:17 +0000 (16:40 +0000)]
Remove dhcpd and dhcrelay remainings.

11 years agoUpgrade pieces for new dhclient and dhcpd/dhcrelay removal.
Hasso Tepper [Sat, 30 Aug 2008 16:34:29 +0000 (16:34 +0000)]
Upgrade pieces for new dhclient and dhcpd/dhcrelay removal.

11 years agoRemove dhcp-3.0 from base and import dhclient from OpenBSD. Porting work
Hasso Tepper [Sat, 30 Aug 2008 16:07:59 +0000 (16:07 +0000)]
Remove dhcp-3.0 from base and import dhclient from OpenBSD. Porting work
done by Matthias Schmidt and Andras Voroskoi.

11 years agoFlesh out BUF_CMD_FLUSH support.
Matthew Dillon [Sat, 30 Aug 2008 02:56:12 +0000 (02:56 +0000)]
Flesh out BUF_CMD_FLUSH support.

Obtained-from: Ported from FreeBSD.

11 years agoAdd obsolete version of acpi_toshiba(4).
Sascha Wildner [Fri, 29 Aug 2008 23:06:37 +0000 (23:06 +0000)]
Add obsolete version of acpi_toshiba(4).

11 years agoSome installer cleanup.
Sascha Wildner [Fri, 29 Aug 2008 22:51:56 +0000 (22:51 +0000)]
Some installer cleanup.

* In contrib/bsdinstaller-1.1.6, fix include names,
  e.g. "aura/..." -> "libaura/..."

* In usr.sbin/installer:

  - Include "../../Makefile.inc" to not have to define variables such
    as BINDIR ourselves

  - Use NOMAN

  - Remove -g

  - No longer install header files from libinstaller/ and add them to
    'make upgrade'

11 years agoAMD64: Fix the crossworld build.
Matthew Dillon [Fri, 29 Aug 2008 22:15:03 +0000 (22:15 +0000)]
AMD64: Fix the crossworld build.

11 years agoAMD64: Add JG64 config file for testing purposes.
Matthew Dillon [Fri, 29 Aug 2008 22:14:18 +0000 (22:14 +0000)]
AMD64: Add JG64 config file for testing purposes.

Submitted-by: Jordan Gordeev <jgordeev@dir.bg>
11 years agoCommit our installer patches to contrib/ (that has already been committed to).
Sascha Wildner [Fri, 29 Aug 2008 20:41:01 +0000 (20:41 +0000)]
Commit our installer patches to contrib/ (that has already been committed to).

11 years agoHAMMER: Mass storage flush command support
Matthew Dillon [Fri, 29 Aug 2008 20:19:08 +0000 (20:19 +0000)]
HAMMER: Mass storage flush command support

Add mass storage flush command support to HAMMER.  The HAMMER flush cycle
issues async I/O in parallel and waits for it to complete before moving
onto the next stage.  This occurs in two places.  The new flush command
is issued after the async I/O, and then we wait on everything.

Due to HAMMER's ability to gang writes asynchronously between stages the
addition of the flush should not significantly impact performance.

11 years agoAdd BUF_CMD_FLUSH support - issue flush command to mass storage device.
Matthew Dillon [Fri, 29 Aug 2008 20:08:40 +0000 (20:08 +0000)]
Add BUF_CMD_FLUSH support - issue flush command to mass storage device.

11 years agoBack-out the tls change. The field must be signed or the system will not
Matthew Dillon [Fri, 29 Aug 2008 20:01:08 +0000 (20:01 +0000)]
Back-out the tls change.  The field must be signed or the system will not
boot due to the use of the variable's negative space.  Use long for now.

11 years agoAMD64 - Sync AMD64 support from Jordan Gordeev's svn repository and
Matthew Dillon [Fri, 29 Aug 2008 17:07:21 +0000 (17:07 +0000)]
AMD64 - Sync AMD64 support from Jordan Gordeev's svn repository and
Google SOC project.  This work is still continuing but represents
substantial progress in the effort.

With this commit the world builds and installs, the loader is able to
boot the kernel, and the kernel is able to initialize, probe devices, and
exec the init program.  The init program is then able to run until it hits
its first fork().  For the purposes of the GSOC the project is being
considered a big success!

The code has been adapted from multiple sources, most notably Peter Wemm
and other peoples work from FreeBSD, with many modifications to make it
work with DragonFly.  Also thanks go to Simon Schubert for working on gdb
and compiler issues, and to Noah Yan for a good chunk of precursor work
in 2007.

While Jordan wishes to be modest on his contribution, frankly we would
not have been able to make this much progress without the large number
of man-hours Jordan has dedicated to his GSOC project painstakingly gluing
code together, tracking down issues, and progressing the boot sequence.

Submitted-by: Jordan Gordeev <jgordeev@dir.bg>
11 years agoFix some parenthesis/whitespace nits.
Sascha Wildner [Fri, 29 Aug 2008 07:44:09 +0000 (07:44 +0000)]
Fix some parenthesis/whitespace nits.

11 years agoAMD64: Fix bugs in cerror().
Matthew Dillon [Thu, 28 Aug 2008 23:38:52 +0000 (23:38 +0000)]
AMD64: Fix bugs in cerror().

Submitted-by: Jordan Gordeev <jgordeev@dir.bg>