dragonfly.git
12 years agoWhite space and style changes
Sepherosa Ziehau [Thu, 31 Jul 2008 12:42:40 +0000 (12:42 +0000)]
White space and style changes

12 years agoWhite space and style changes
Sepherosa Ziehau [Thu, 31 Jul 2008 12:35:15 +0000 (12:35 +0000)]
White space and style changes

12 years ago- Undefine temporary macro
Sepherosa Ziehau [Thu, 31 Jul 2008 12:09:00 +0000 (12:09 +0000)]
- Undefine temporary macro
- White space changes
- Use "do {} while (0)" in macro

12 years agoWhite space and style changes
Sepherosa Ziehau [Thu, 31 Jul 2008 11:58:42 +0000 (11:58 +0000)]
White space and style changes

12 years agoWhite space and style changes
Sepherosa Ziehau [Thu, 31 Jul 2008 11:46:51 +0000 (11:46 +0000)]
White space and style changes

12 years agoRemove unused macro; undefine temporary macro
Sepherosa Ziehau [Thu, 31 Jul 2008 11:36:38 +0000 (11:36 +0000)]
Remove unused macro; undefine temporary macro

12 years agoHAMMER Utilities: Cleanup
Matthew Dillon [Thu, 31 Jul 2008 06:21:19 +0000 (06:21 +0000)]
HAMMER Utilities: Cleanup

* Fix a conditional that generated an extranious call to usage()

12 years agoHAMMER Utilities: Streaming mirroring!
Matthew Dillon [Thu, 31 Jul 2008 06:01:32 +0000 (06:01 +0000)]
HAMMER Utilities: Streaming mirroring!

* Add a new streaming mirroring feature called 'mirror-stream' which works
  like mirror-copy but does not exit unless the pipe is broken.  A simple
  script to sleep and re-run the command (to deal with the occassional
  broken tcp connection) is all that is needed.

* Add new options -b <bw> and -i <delay> to support bandwidth-limiting
  mirroring streams.  The bandwidth may be specified in bytes/sec or suffixed
  with 'k', 'm', or 'g' to specify kilobytes, megabytes, or gigabytes per
  second.

12 years agoHAMMER: Mirroring, misc bug fixes
Matthew Dillon [Thu, 31 Jul 2008 04:42:04 +0000 (04:42 +0000)]
HAMMER: Mirroring, misc bug fixes

* Adjust hammer_flusher_async() to queue an extra flush if called twice
  in quick succession.  This fixes the 'sync' command to properly sync
  the entire filesytem.  Previously two syncs were needed.

* Fix a bug where a user application could get stuck due to HAMMER
  losing track of an inode flush.

* Mirroring masters now use the most recent fully committed transaction
  id instead of the last flushed (but still subject to rollback) tid.

  This fixes an issue where a mirror could pass information still subject
  to crash recovery rollback to the slave.  Now only fully committed
  information is passed to the slave.

* Fix a transitory bug where the mirroring code would sometimes not
  sync the correct delete state to the slave.  The slave would always
  be corrected in the next pass, however.  Now the slave is correct
  at all times.

* Fix a bug in hammer_mirror_write() where a delete-to operation could
  livelock.

* Add a new HAMMER ioctl which waits for the committed data transaction
  id to change.  This will be used by the mirroring code to implement
  continuous streaming operation.

Reported-by: Francois Tigeot <ftigeot@wolfpond.org>,
     Michael Neumann <mneumann@crater.dragonflybsd.org>
     (the user application freeze bug)

12 years agoMinor white space and style changes
Sepherosa Ziehau [Wed, 30 Jul 2008 15:33:08 +0000 (15:33 +0000)]
Minor white space and style changes

12 years agoMinor white space and style changes
Sepherosa Ziehau [Wed, 30 Jul 2008 12:57:59 +0000 (12:57 +0000)]
Minor white space and style changes

12 years agoMinor white space and style changes
Sepherosa Ziehau [Wed, 30 Jul 2008 12:31:51 +0000 (12:31 +0000)]
Minor white space and style changes

12 years agoUnbreak world.
Simon Schubert [Wed, 30 Jul 2008 01:48:14 +0000 (01:48 +0000)]
Unbreak world.

12 years agoAdd a quick entry for the new 'gpt boot' directive.
Matthew Dillon [Wed, 30 Jul 2008 01:16:29 +0000 (01:16 +0000)]
Add a quick entry for the new 'gpt boot' directive.

12 years agoAdd a terrible hack to GPT which allows non-EFI BIOSes to boot from it.
Matthew Dillon [Wed, 30 Jul 2008 00:45:26 +0000 (00:45 +0000)]
Add a terrible hack to GPT which allows non-EFI BIOSes to boot from it.
With a freshly made gpt on a disk you can run 'gpt boot da0' (specifying
the correct whole-disk name) and GPT will do the following:

* It will create a 100MB partition #0 in the GPT

* It will fake up a slice 1 in the PMBR for the BIOS and the loader that
  aliases partition #0 in the GPT.

The BIOS and loader will see a bootable slice 1 while the kernel, once
booted, will see a GPT.  This can cause confusion because the kernel
will NOT see the fake slice 1 any more, and the partition number in the
GPT of the boot partition 0 (aka da0s0).

The boot partition (da0s0 from the point of view of the kernel) needs
to have a 32 bit disklabel and a UFS filesystem in da0s0a which contains
the kernel image and boot sub-directory.  In the boot sub-directory the
loader.conf file must contain a line that points to the root mount, which
say you may have created with gpt add as partition #1.

Older kernels may require the root mount to also be in a disklabel, so you
might have to put a 32 or 64 bit disklabel in partition #1 as well.
This requirement will be removed soon relative to this commit (since the
idea with GPT is to not have to use disklabels).

    vfs.root.mountfrom="ufs:ad0s1a"
    vfs.root.mountfrom="ufs:ad0s1"

12 years agoPass the correct string to md_mount() when doing a diskless nfs mount.
Matthew Dillon [Tue, 29 Jul 2008 16:21:52 +0000 (16:21 +0000)]
Pass the correct string to md_mount() when doing a diskless nfs mount.

Fix a bogus call to kfree() that panics the machine when a diskless nfs
mount fails.

12 years agoUpdate for 2.0.
Sascha Wildner [Tue, 29 Jul 2008 13:10:22 +0000 (13:10 +0000)]
Update for 2.0.

Reported-by: Michael Neumann <mneumann@ntecs.de>
12 years agoUnbreak kernel building.
Sepherosa Ziehau [Tue, 29 Jul 2008 11:17:49 +0000 (11:17 +0000)]
Unbreak kernel building.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1097>

12 years agoAllow gdb to be cross-compiled.
Simon Schubert [Mon, 28 Jul 2008 22:33:21 +0000 (22:33 +0000)]
Allow gdb to be cross-compiled.

If you compile gdb with TARGET_ARCH set, it will yield a on the
host runnable gdb which can debug ${TARGET_ARCH}.

Pay attention not to actually install this binary, or you won't have
a host debugger anymore.  Consider this a developer-only feature for now.

Requested-by: Jordan Gordeev
12 years agoDispatch ipfw control to netisr0. To avoid possible dangling netmsg handler,
Sepherosa Ziehau [Mon, 28 Jul 2008 15:07:28 +0000 (15:07 +0000)]
Dispatch ipfw control to netisr0.  To avoid possible dangling netmsg handler,
create ip_fw2_glue.c, which will be built if inet is built.  IPFW_LOADED is
checked again after netmsg's handler is running, since ipfw unload netmsg may
be processed before this ipfw control netmsg.

12 years agoUse seperate variable to indicate whether ipfw has been loaded or not, so
Sepherosa Ziehau [Mon, 28 Jul 2008 13:45:43 +0000 (13:45 +0000)]
Use seperate variable to indicate whether ipfw has been loaded or not, so
that following way could be used to protect various ipfw function pointers:
    ip_fw_loaded = 0;
    netmsg_service_sync();
    /* clear all ipfw function pointers */

12 years ago.Pp not needed.
Sascha Wildner [Mon, 28 Jul 2008 12:38:36 +0000 (12:38 +0000)]
.Pp not needed.

12 years agoArgument not needed.
Sascha Wildner [Mon, 28 Jul 2008 12:37:58 +0000 (12:37 +0000)]
Argument not needed.

12 years ago- Dispatch ipfw loading/unloading to netisr0
Sepherosa Ziehau [Mon, 28 Jul 2008 12:35:41 +0000 (12:35 +0000)]
- Dispatch ipfw loading/unloading to netisr0
- Minor style changes

12 years ago- Staticize ip_fw_default_rule
Sepherosa Ziehau [Mon, 28 Jul 2008 12:00:32 +0000 (12:00 +0000)]
- Staticize ip_fw_default_rule
- Remove old comment about ip_fw_default_rule; it no longer apples.
  ip_fw_default_rule has only served bookkeeping purpose for a long time.

12 years agoRemove some old driver remains.
Sascha Wildner [Mon, 28 Jul 2008 01:21:39 +0000 (01:21 +0000)]
Remove some old driver remains.

12 years agoUpdate hammer.8:
Thomas Nikolajsen [Mon, 28 Jul 2008 00:08:56 +0000 (00:08 +0000)]
Update hammer.8:
 * Drop superflous 'This variable contains'
 * Drop note that dhclient is ISC
 * Break network_interfaces item into ifconfig_interface etc. parts
 * Add Xref for rtadvd.8
 * Add /etc/startif.interface to FILES section
 * Improve markup

12 years agoRemove old TINDERBOX kernel config.
Sascha Wildner [Mon, 28 Jul 2008 00:07:55 +0000 (00:07 +0000)]
Remove old TINDERBOX kernel config.

12 years agoRemove old packages.
Sascha Wildner [Sun, 27 Jul 2008 23:48:40 +0000 (23:48 +0000)]
Remove old packages.

12 years agoBefore installing kernel modules, make sure that the /modules
Michael Neumann [Sun, 27 Jul 2008 23:38:27 +0000 (23:38 +0000)]
Before installing kernel modules, make sure that the /modules
directory exists. In case it did not exist, the modules ended up
being appended to the /modules *file* (not directory).

12 years agoHAMMER - fix kmalloc exhaustion w/ 3G ram
Matthew Dillon [Sun, 27 Jul 2008 23:01:25 +0000 (23:01 +0000)]
HAMMER - fix kmalloc exhaustion w/ 3G ram

* Give the hammer_inode structure its own kmalloc pool.

12 years agovnconfig doc update:
Thomas Nikolajsen [Sun, 27 Jul 2008 22:36:01 +0000 (22:36 +0000)]
vnconfig doc update:
 * Sync usage() to vnconfig.8
 * Use 'options' instead of 'option[,option...]'
 * Use 'options' consistently, not 'flags' sometimes

12 years agoAdd Xref to committer.7.
Thomas Nikolajsen [Sun, 27 Jul 2008 22:23:42 +0000 (22:23 +0000)]
Add Xref to committer.7.

12 years agoUpdate ffs.5:
Thomas Nikolajsen [Sun, 27 Jul 2008 22:21:11 +0000 (22:21 +0000)]
Update ffs.5:
 * Add 's0' as DragonFly needs this

12 years agoUpdate mount_cd9660.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 22:17:48 +0000 (22:17 +0000)]
Update mount_cd9660.8:
 * Fix SYNOPSIS

12 years agoUpdate fdisk.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 22:15:49 +0000 (22:15 +0000)]
Update fdisk.8:
 * Add note on 2TB limitation and hint on gpt.8

12 years agoWhitespace fix (cosmetic): delete empty line and tabs at end.
Thomas Nikolajsen [Sun, 27 Jul 2008 22:12:10 +0000 (22:12 +0000)]
Whitespace fix (cosmetic): delete empty line and tabs at end.

12 years agoActually install packages into ${ISOROOT}.
Sascha Wildner [Sun, 27 Jul 2008 22:10:53 +0000 (22:10 +0000)]
Actually install packages into ${ISOROOT}.

Submitted-by: corecode
Reported-by: M.K. <mk@freeweb.ozi.nu>
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1092>

12 years agoUpdate hammer.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 21:59:44 +0000 (21:59 +0000)]
Update hammer.8:
 * Fix spelling error (dispaly)
 * Change Xref from hammer.5 to HAMMER.5
 * s/filesystem/file system/ (in text not commands) for consistent spelling
 * Improve markup

12 years agoImplement mounting of a Hammer filesystem as a root filesystem.
Michael Neumann [Sun, 27 Jul 2008 21:34:04 +0000 (21:34 +0000)]
Implement mounting of a Hammer filesystem as a root filesystem.

To mount a Hammer filesystem as root filesystem (e.g. /dev/ad0s1d),
you have to specify the following in /boot/loader.conf:

    vfs.root.mountfrom="hammer:ad0s1d"

12 years agoUpdate fstab.5:
Thomas Nikolajsen [Sun, 27 Jul 2008 21:16:00 +0000 (21:16 +0000)]
Update fstab.5:
 * Add HAMMER to list of common file systems
 * Remove note that block special files has to be used
 * Xref HAMMER.5 and ffs.5
 * Add a bit of markup
 * s/filesystem/file system/ to get consistent spelling

12 years agoFix comments.
Sascha Wildner [Sun, 27 Jul 2008 21:07:47 +0000 (21:07 +0000)]
Fix comments.

12 years agoUpdate gpt.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 21:05:10 +0000 (21:05 +0000)]
Update gpt.8:
 * Add note that GPT partitions are accessed as DragonFly disk slices
 * Describe that add command will print disk slice.
 * Correct default partition type: it is dfly, not UFS
 * Mention that dfly partition type is for disklabel64.5
 * Add FILES section
 * Add EXAMPLES section
 * Add some Xrefs
 * Mention that migrate command isn'r for DragonFly
 * Add note that booting from GPT isn't supported

12 years agoFix small mdoc issue.
Sascha Wildner [Sun, 27 Jul 2008 21:00:09 +0000 (21:00 +0000)]
Fix small mdoc issue.

12 years agoFix two small mdoc issues.
Sascha Wildner [Sun, 27 Jul 2008 20:58:33 +0000 (20:58 +0000)]
Fix two small mdoc issues.

12 years agoUpdate disklabel64.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 20:54:52 +0000 (20:54 +0000)]
Update disklabel64.8:
 * Update one line description to include '64 bit'
 * Update description of DragonFly disk slice numbering to include GPT
 * Remove specifications without relevance, left over from disklabel.8
 * Add Xrefs to uuid.3 and gpt.8
 * Add note that booting isn't supported
 * Enhance markup a bit

12 years agoUpdate disklabel.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 20:48:36 +0000 (20:48 +0000)]
Update disklabel.8:
 * Update description of DragonFly disk slice numbering to include GPT
 * Add note on 2TB limitation and hint on disklabel64
 * Enhance markup a bit

12 years agoRemove one .El too much.
Sascha Wildner [Sun, 27 Jul 2008 19:38:58 +0000 (19:38 +0000)]
Remove one .El too much.

12 years agoAdd stg(4) and digi(4)/dgb(4).
Sascha Wildner [Sun, 27 Jul 2008 19:26:24 +0000 (19:26 +0000)]
Add stg(4) and digi(4)/dgb(4).

12 years agoAdd ncv.4, nsp.4 and stg.4 manual pages.
Thomas Nikolajsen [Sun, 27 Jul 2008 18:42:15 +0000 (18:42 +0000)]
Add ncv.4, nsp.4 and stg.4 manual pages.

These drivers are already present in DragonFly,
they were present at initial import from FreeBSD,
but manual pages were added to FreeBSD after that time.

Obtained-from: FreeBSD

12 years agodigi/dgb update:
Thomas Nikolajsen [Sun, 27 Jul 2008 18:37:30 +0000 (18:37 +0000)]
digi/dgb update:
 * Add digi.4 manual page.
 * digi.4 is a copy of dgb.4 with minimal brush up.
 * Set dgb driver to deprecated status.
The digi driver was imported from FreeBSD 3+ years ago.

12 years agoAdd uuids.5 to build.
Thomas Nikolajsen [Sun, 27 Jul 2008 18:25:38 +0000 (18:25 +0000)]
Add uuids.5 to build.

12 years agoAdd uuids.5 manual page.
Thomas Nikolajsen [Sun, 27 Jul 2008 18:10:23 +0000 (18:10 +0000)]
Add uuids.5 manual page.

12 years agoFix tcsh crash when autologout is set.
Nuno Antunes [Sun, 27 Jul 2008 17:52:07 +0000 (17:52 +0000)]
Fix tcsh crash when autologout is set.

Note that even with this fix, inserting the correct password after the
autologout timer expires will only unlock the session for the root
user (i don't know why). Any other user will not get its password
accepted as correct, but at least it won't crash.

Obtained from: FreeBSD (PR bin/124191)
Discussed with: matthias

12 years agoAdjust the desiredvnodes (kern.maxvnodes) calculation for machines
Matthew Dillon [Sun, 27 Jul 2008 17:37:52 +0000 (17:37 +0000)]
Adjust the desiredvnodes (kern.maxvnodes) calculation for machines
with 3G+ of ram to prevent it from blowing out KVM.

Reported-by: Michael Neumann <mneumann@ntecs.de>
12 years agoUpdate mount_hammer.8
Thomas Nikolajsen [Sun, 27 Jul 2008 17:12:13 +0000 (17:12 +0000)]
Update mount_hammer.8
 * Update SYNOPSIS to reflect that ':' can be used as separator for specials
 * Rename `mount-options' to `options' to follow mount.8 and
save some space in SYNOPSIS
 * Add Xrefs for HAMMER.5 and gpt.8
 * Use consistent spelling for 'file system'
 * Add fstab(5) part to existing example
 * Add markup

12 years agoAdd description of how to specify sizes.
Thomas Nikolajsen [Sun, 27 Jul 2008 16:47:19 +0000 (16:47 +0000)]
Add description of how to specify sizes.

12 years agoUpdate newfs_hammer.8:
Thomas Nikolajsen [Sun, 27 Jul 2008 16:15:33 +0000 (16:15 +0000)]
Update newfs_hammer.8:
 * Add Xrefs for HAMMER.5 and gpt.8
 * Change Xrefs from disklabel[64].8 to .5
 * Add some markup

12 years agoAdd ifmedia(4) reference.
Sascha Wildner [Sun, 27 Jul 2008 12:46:14 +0000 (12:46 +0000)]
Add ifmedia(4) reference.

12 years agoAdd jme(4).
Sascha Wildner [Sun, 27 Jul 2008 12:02:51 +0000 (12:02 +0000)]
Add jme(4).

12 years agoAdd serializer assertion in all NIC driver interfaces
Sepherosa Ziehau [Sun, 27 Jul 2008 11:26:59 +0000 (11:26 +0000)]
Add serializer assertion in all NIC driver interfaces

12 years agoSwitch to ETHER_INPUT2 on ethernet input path by default:
Sepherosa Ziehau [Sun, 27 Jul 2008 10:06:57 +0000 (10:06 +0000)]
Switch to ETHER_INPUT2 on ethernet input path by default:
- Nuke old ether_input_chain and ether_demux_chain
- Nuke old vlan_input
- Nuke ETHER_INPUT2 kernel option
- Adjust comment about functions on old ether input path
- Adjust NIC drivers which aware ETHER_INPUT2

vlan(4):
Clearing of ifnet.if_vlantrunks is now protected in the following way
    trunks = ifp->if_vlantrunks;
    ifp->if_vlantrunks = NULL;
    netmsg_service_sync();
    kfree(trunks);
Users of ifnet.if_vlantrunks have already been adjusted to aware of this.

bridge(4):
Clearing of ifnet.if_bridge is now protected in the following way
    ifp->if_bridge = NULL;
    netmsg_service_sync();
Users of ifnet.if_bridge have already been adjusted to aware of this.

carp(4):
Remove the LK_NOWAIT lockmgr lock flags; using LK_NOWAIT was actually a
workaround for that lockmgr lock was used in NIC's interrupt routine
(i.e. old ether_input)
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue957>

ipflow:
- Now per-cpu ipflow hash table installs its own ipflow entry instead of
  having ipflow entry duplicated onto each cpu
- Remove the serializer parameter to ipflow_fastforward()
- Comment out ipflow_fastforward() in ef(4) and ppp(4), they need to be
  changed to fit the current ipflow cpu localization model

12 years agoStaticize ether_input
Sepherosa Ziehau [Sun, 27 Jul 2008 03:49:30 +0000 (03:49 +0000)]
Staticize ether_input

12 years agoBorrow comment from ether_input and ether_demux
Sepherosa Ziehau [Sun, 27 Jul 2008 02:52:36 +0000 (02:52 +0000)]
Borrow comment from ether_input and ether_demux

12 years agoAdd function comment about ether_input_chain2
Sepherosa Ziehau [Sun, 27 Jul 2008 02:41:07 +0000 (02:41 +0000)]
Add function comment about ether_input_chain2

12 years agoFix style(9).
Michael Neumann [Sat, 26 Jul 2008 22:31:54 +0000 (22:31 +0000)]
Fix style(9).

12 years agoAn off-by-one malloc size was corrupting the installer's memory,
Matthew Dillon [Sat, 26 Jul 2008 21:24:11 +0000 (21:24 +0000)]
An off-by-one malloc size was corrupting the installer's memory,
causing the time-zone selector to seg-fault.

Submitted-by: Pierre Riteau <pierre.riteau@gmail.com>
12 years agoThere is no ndisapi(9) manual page.
Sascha Wildner [Sat, 26 Jul 2008 18:37:43 +0000 (18:37 +0000)]
There is no ndisapi(9) manual page.

12 years agoAdd jme(4).
Sascha Wildner [Sat, 26 Jul 2008 17:03:53 +0000 (17:03 +0000)]
Add jme(4).

12 years agoRather than putting examples in every wireless driver page, put them in
Sascha Wildner [Sat, 26 Jul 2008 16:25:41 +0000 (16:25 +0000)]
Rather than putting examples in every wireless driver page, put them in
wlan(4) and reference it.

In-discussion-with: hasso, sephe

12 years agoMake bsdcpio the default cpio. Place WITH_GCPIO in make.conf if you want
Peter Avalos [Sat, 26 Jul 2008 16:25:31 +0000 (16:25 +0000)]
Make bsdcpio the default cpio.  Place WITH_GCPIO in make.conf if you want
the GNU version as the default.  Both are still built and installed.

12 years ago- Serialize re_{resume,suspend}()
Sepherosa Ziehau [Sat, 26 Jul 2008 16:12:06 +0000 (16:12 +0000)]
- Serialize re_{resume,suspend}()
- Add serializer assertion in all major NIC driver interfaces

12 years agoAdd wlan to the SYNOPSIS.
Sascha Wildner [Sat, 26 Jul 2008 15:52:39 +0000 (15:52 +0000)]
Add wlan to the SYNOPSIS.

12 years agoBring following change from FreeBSD (yar@freebsd.org):
Sepherosa Ziehau [Sat, 26 Jul 2008 15:36:28 +0000 (15:36 +0000)]
Bring following change from FreeBSD (yar@freebsd.org):
  uipc_syscall.c rev 1.154

  If connect(2) has been interrupted by a signal and therefore the
  connection is to be established asynchronously, behave as in the
  case of non-blocking mode:

  - keep the SS_ISCONNECTING bit set thus indicating that
    the connection establishment is in progress, which is the case
    (clearing the bit in this case was just a bug);

  - return EALREADY, instead of the confusing and unreasonable
    EADDRINUSE, upon further connect(2) attempts on this socket
    until the connection is established (this also brings our
    connect(2) into accord with IEEE Std 1003.1.)

Tested-by: y0netan1@
Reviewed-by: hsu@
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1079>

12 years agoThere is no ndisapi(9) manual page.
Sascha Wildner [Sat, 26 Jul 2008 15:20:50 +0000 (15:20 +0000)]
There is no ndisapi(9) manual page.

12 years agoAdd some standard examples to the wireless driver manual pages and adjust
Sascha Wildner [Sat, 26 Jul 2008 15:09:32 +0000 (15:09 +0000)]
Add some standard examples to the wireless driver manual pages and adjust
the few which already had examples.

Reviewed-by: sephe
12 years agoAdd manpage for jme(4)
Sepherosa Ziehau [Sat, 26 Jul 2008 14:30:39 +0000 (14:30 +0000)]
Add manpage for jme(4)

Obtained-from: FreeBSD

12 years agoAdd jme(4)
Sepherosa Ziehau [Sat, 26 Jul 2008 14:26:30 +0000 (14:26 +0000)]
Add jme(4)

12 years agoAdd support for JMicron Gigabit/Fast Ethernet chips.
Sepherosa Ziehau [Sat, 26 Jul 2008 14:00:31 +0000 (14:00 +0000)]
Add support for JMicron Gigabit/Fast Ethernet chips.

Thank Ethan <ethanhsiao@jmicron.com> for sending me a board and several
very detailed documents about these chips.
Thank Pyun YongHyeon <yongari@freebsd.org> for bridging me and JMicron.

Obtained-from: FreeBSD (yongari@freebsd.org) w/ modification

12 years agoEnable hardware timer simulated interrupt moderation by default.
Sepherosa Ziehau [Sat, 26 Jul 2008 07:41:45 +0000 (07:41 +0000)]
Enable hardware timer simulated interrupt moderation by default.
The interrupt rate is throttled @8000Hz.

12 years agoMove em(4) from MD conf/files to MI conf/files
Sepherosa Ziehau [Sat, 26 Jul 2008 07:15:11 +0000 (07:15 +0000)]
Move em(4) from MD conf/files to MI conf/files

12 years agoHAMMER commit
Matthew Dillon [Sat, 26 Jul 2008 05:36:21 +0000 (05:36 +0000)]
HAMMER commit

* Discard recovered buffers when unmounting a read-only HAMMER mount.

* Discard recovered buffers when an attempted HAMMER mount fails.

* Clean up a transaction that was left open when a HAMMER mount fails to
  locate the root inode.

* Check that an undo record is at least minimally sized so corruption
  does not result in an infinite loop.

Reported-by: Dionysus Blazakis <dion.blazakis@gmail.com>,
    Gergo Szakal <bastyaelvtars@gmail.com>

12 years agoSimplify ether_mport(). This also fixes the bug that m0 is not cleared in
Sepherosa Ziehau [Sat, 26 Jul 2008 04:49:37 +0000 (04:49 +0000)]
Simplify ether_mport().  This also fixes the bug that m0 is not cleared in
the first place, which causes caller panik.

Reported-by: elekktretterr@exemail.com.au
12 years agoRemove reference to ndisapi(9) which doesn't exist.
Sascha Wildner [Sat, 26 Jul 2008 00:36:35 +0000 (00:36 +0000)]
Remove reference to ndisapi(9) which doesn't exist.

12 years agoRemove some *_load lines for stuff we don't have.
Sascha Wildner [Sat, 26 Jul 2008 00:21:30 +0000 (00:21 +0000)]
Remove some *_load lines for stuff we don't have.

12 years agoMention loader_color (for a color version of Fred in the loader menu).
Sascha Wildner [Fri, 25 Jul 2008 22:28:16 +0000 (22:28 +0000)]
Mention loader_color (for a color version of Fred in the loader menu).

12 years agoFix typos.
Sascha Wildner [Fri, 25 Jul 2008 03:17:15 +0000 (03:17 +0000)]
Fix typos.

12 years agoDocument -f.
Sascha Wildner [Fri, 25 Jul 2008 03:17:03 +0000 (03:17 +0000)]
Document -f.

12 years ago* Shuffle things around a bit for better structure.
Sascha Wildner [Fri, 25 Jul 2008 01:21:06 +0000 (01:21 +0000)]
* Shuffle things around a bit for better structure.

* Merge the description of default history retention and snapshots into
  one section. Emphasize that the usual way of history access is via
  snapshots.

* Reword the description of what pruning does.

* Expand the snapshot example a bit.

12 years agoMake -pthread a complete alias to -lpthread, not only in !shared case.
Simon Schubert [Thu, 24 Jul 2008 21:45:10 +0000 (21:45 +0000)]
Make -pthread a complete alias to -lpthread, not only in !shared case.

Discussed-with:  hasso@ (pro), joerg@ (con)
Pointed-out-by: hasso@
12 years agoChange newfs_hammer to reserve a minimum of 100M for the UNDO FIFO. Any
Matthew Dillon [Thu, 24 Jul 2008 05:40:14 +0000 (05:40 +0000)]
Change newfs_hammer to reserve a minimum of 100M for the UNDO FIFO.  Any
smaller and we risk a filesystem panic due to insufficient UNDO space.

Add warnings to newfs_hammer when the created filesystem is fairly small.

Reported-by: M.K. <mk@freeweb.ozi.nu>:
12 years agoFix LINT now that we build with -Werror-implicit-function-declaration.
Sascha Wildner [Thu, 24 Jul 2008 03:26:46 +0000 (03:26 +0000)]
Fix LINT now that we build with -Werror-implicit-function-declaration.

Also fix some issues with too many arguments being passed to isa_dmastart()
and isa_dmadone().

12 years agoRemove stopgap definition of TAILQ_FOREACH_SAFE.
Sascha Wildner [Thu, 24 Jul 2008 01:27:47 +0000 (01:27 +0000)]
Remove stopgap definition of TAILQ_FOREACH_SAFE.

12 years agoDocument TAILQ_FOREACH_SAFE.
Sascha Wildner [Thu, 24 Jul 2008 01:24:24 +0000 (01:24 +0000)]
Document TAILQ_FOREACH_SAFE.

Taken-from: FreeBSD

12 years agoSync with FreeBSD (adds DragonFly 2.0).
Sascha Wildner [Thu, 24 Jul 2008 00:17:29 +0000 (00:17 +0000)]
Sync with FreeBSD (adds DragonFly 2.0).

12 years agoSynchronize some of the machine-independant AMD64 bits.
Matthew Dillon [Wed, 23 Jul 2008 17:22:33 +0000 (17:22 +0000)]
Synchronize some of the machine-independant AMD64 bits.

Obtained-from: Jordan Gordeev <jgordeev@dir.bg>

12 years agoSynchronize some of the machine-independant AMD64 bits.
Matthew Dillon [Wed, 23 Jul 2008 16:39:34 +0000 (16:39 +0000)]
Synchronize some of the machine-independant AMD64 bits.

Obtained-from: Jordan Gordeev <jgordeev@dir.bg>

12 years agoUncomment reference.
Sascha Wildner [Wed, 23 Jul 2008 14:14:44 +0000 (14:14 +0000)]
Uncomment reference.

12 years agoRemove old comment.
Sascha Wildner [Wed, 23 Jul 2008 14:09:05 +0000 (14:09 +0000)]
Remove old comment.

12 years agoFix path for the package tools.
Sascha Wildner [Tue, 22 Jul 2008 15:42:34 +0000 (15:42 +0000)]
Fix path for the package tools.

Reported-by: Archimedes Gaviola <archimedes.gaviola@gmail.com>