Tom Rhodes [Mon, 9 Oct 2006 19:53:00 +0000 (19:53 +0000)]
Patch in previous commit should have bumped doc date.
Fix spelling of ioctl.
Note that previous commit was actually submitted by bz. I'm not yet used
to the code boxes yet.
Maxim Konovalov [Mon, 9 Oct 2006 05:31:37 +0000 (05:31 +0000)]
o Enable test-sparceaout test since alc@ has fixed the panic in rev. 1.229
sys/vm/vnode_pager.c.
cVS: ----------------------------------------------------------------------
Bruce Evans [Sun, 8 Oct 2006 18:37:00 +0000 (18:37 +0000)]
Added some aliases:
- `b' is now an official alias for `break'. It used to be an unofficial
alias, but this was broken by adding the `bt' alias for `trace'.
- `t' is now an official alias for `trace'. It used to be an unofficial
alias, but this was broken by adding the `thread' command.
- `registers' is now an alias for `show registers'. This is a hack to
break the unofficial `r' alias for `reset'. `r' really means
`registers' in some debuggers, so I sometimes type it accidentally and
am annoyed when it resets the system. A short command shouldn't have
such a large effect. Now at least `res' must be typed to disambiguate
`reset'.
Bruce Evans [Sun, 8 Oct 2006 18:15:08 +0000 (18:15 +0000)]
Fixed formatting of printing of command tables. WIth the default max
output width of 79, only 6 columns of width 12 each fit, but 7 columns
were printed.
The fix is to pass the width of the next output to db_end_line() and
not assume there that this width is always 1.
Related unfixed bugs:
- 1 character is wasted for a space after the last column
- suppression of trailing spaces used to limit the misformatting, but
seems to have been lost
- in db_examine(), the width of the next output is not know and is
still assumed to be 1.
Tom Rhodes [Sat, 7 Oct 2006 22:14:43 +0000 (22:14 +0000)]
Make -r a synonym for -R, similar to behavior on Linux while being backwards
compatible with old -r behavior with regards to -L. You can now copy fifos
and other special files with -r.
flesh out the devd.conf man page... Mostly from the PR, but did a couple
gramatical tweaks along w/ sorting the list, and adding that serial is
available for USB....
PR: 85097
Submitted by: Fredrik Lindberg
MFC after: 1 week
Ruslan Ermilov [Sat, 7 Oct 2006 18:34:08 +0000 (18:34 +0000)]
- Prebuild libgssapi only if building with Kerberos support.
- Remove libnetgraph from the list of prebuilt libraries as
no other library depends on it (snmp_netgraph.so does not
count as we don't build it in the "libraries" target).
- Restore libssh dependencies when compiling with Kerberos
support.
Add the POSIX option -p to the jobs builtin command. It prints the PID of the
process leader for each job. Now the last specified option for the output
format (-l, -p or -s) wins, previously -s trumped -l.
PR: 99926
Submitted by: Ed Schouten and novel (patches modified by me)
Florent Thoumie [Sat, 7 Oct 2006 16:00:59 +0000 (16:00 +0000)]
- Add support for Epson USB Scanners (3590 [1] and 4990 [2]).
- Add entries in the uscanner.4 man page (along with missing 3500).
PR: usb/100957 [1], usb/100992 [2]
Submitted by: Jim Teresco <terescoj@teresco.org> [1],
Walter C. Pelissero <walter.pelissero@iesy.net> [2]
MFC after: 3 days
Bjoern A. Zeeb [Sat, 7 Oct 2006 10:19:58 +0000 (10:19 +0000)]
Set scope on MC address so IPv6 carp advertisement will not get dropped
in ip6_output. In case this fails handle the error directly and log it[1].
In addition permit CARP over v6 in ip_fw2.
PR: kern/98622
Similar patch by: suz
Discussed with: glebius [1]
Tested by: Paul.Dekkers surfnet.nl, Philippe.Pegon crc.u-strasbg.fr
MFC after: 3 days
Tom Rhodes [Sat, 7 Oct 2006 05:34:51 +0000 (05:34 +0000)]
Fix ambiguity in description. Note that the aio_return() system call should
only be called once after failure or completion of an AIO request. Bump doc
date while I'm here.
Dejan Lesjak [Fri, 6 Oct 2006 23:32:23 +0000 (23:32 +0000)]
Remove X11BASE from here so the one from bsd.port.mk has a chance to set
default. Grepping through src shows only gnu/usr.bin/groff which doesn't
use it in src build and OpenSSH for which this was a NOOP.
fix fxp so that it will reset the link when you change the speed... This
will fix a problem where you boot w/ the default of autoselect, but then
set the speed to 100/full, the switch will keep the autoselect/100/full
negotiation... This will continue to work till someone resets the switch
or unplugs the cable resulting in the switch failing to autoneg and falling
back to 100/half, causing a hard to track down duplex mismatch..
Submitted by: nCircle Network Security, Inc.
MFC after: 1 week
Ariff Abdullah [Fri, 6 Oct 2006 18:59:27 +0000 (18:59 +0000)]
- Fix wrong id for ALC882, add ALC883 id.
- Add support for the Conexant Waikiki/CX20551-22, found
in most Toshiba P100 series laptops. Despite of growing
urban legend of "unsupported Conexant", this codec is fully
supported in this driver.
Note: Toshiba P100 has broken (acpi) BIOS, thus rendering
its soundchip useless. Please disable ACPI, or get
BIOS updates (if any).
- Parser cleanups to handle possible oss/mixer collision. Found
after parsing Conexant Waikiki nodes.
- Increase resilient against resource failure during attach/detach.
- Implement simple config through hint.pcm.<unit>.config. Supported
options:
gpio0 (default on Acer), gpio1, gpio2, softpcmvol,
fixedrate (default), forcestereo (default)
* Option prefixed with "no" (such as "nofixedrate") will do
the opposite.
* Options can be separated using space " " or comma ",".
* The "no" option will take precedence over anything else.
Example:
hint.pcm.0.config="gpio2,nofixedrate,noforcestereo,nogpio0,softpcmvol"
hint.pcm.0.config="softpcmvol noforcestereo"
Ruslan Ermilov [Fri, 6 Oct 2006 08:27:07 +0000 (08:27 +0000)]
A GEOM cache can speed up read performance by sending fixed size
read requests to its consumer. It has been developed to address
the problem of a horrible read performance of a 64k blocksize FS
residing on a RAID3 array with 8 data components, where a single
disk component would only get 8k read requests, thus effectively
killing disk performance under high load. Documentation will be
provided later. I'd like to thank Vsevolod Lobko for his bright
ideas, and Pawel Jakub Dawidek for helping me fix the nasty bug.
David Xu [Fri, 6 Oct 2006 08:22:08 +0000 (08:22 +0000)]
Implement 32bit umtx_lock and umtx_unlock system calls, these two system
calls are not used by libthr in RELENG_6 and HEAD, it is only used by
the libthr in RELENG-5, the _umtx_op system call can do more incremental
dirty works than these two system calls without having to introduce new
system calls or throw away old system calls when things are going on.
- Remove SCHED_ULE from GENERIC to better avoid foot-shooting by
unsuspecting users.
- Add a comment in NOTES about experimental status of SCHED_ULE.
- Make warning about experimental status in sched_ule(4) a bit
stronger.
Suggested and reviewed by: dougb
Discussed on: developers
MFC after: 3 days
Kip Macy [Thu, 5 Oct 2006 18:47:45 +0000 (18:47 +0000)]
Approved by: rwatson
Reviewed by: jmg and jb
Forced commit to provide a more meaningful commit message.
John Michael-Gurney is responsible for fixing all the vast majority of the
issues that arose with PCI support.
Kris Kennaway and John Birrell pushed heavily on stability issues. Kris is to
thank for it having even reached its current level of stability. When it
reaches a production state, we will have John to thank for driving it forward.
The following items are needed before sun4v can be used from CVS:
- binutils/gas/config/tc-sparc.c needs to be pulled in from a modern
version of binutils.
- an updated version of the loader needs to be pulled in from perforce
The following items need to be addressed before sun4v can be considered for
deployment:
- The T1 has a fairly minimal floating point unit, fsqrt and a number of
other opcodes are not implemented. Emulation for unimplemented opcodes
needs to be added.
- Running against local disk a race condition exists whereby a cpu will
sometimes run off into the weeds at tl > 2.
- The MD code for interrupt handling will crash on the first ATA interrupt.
- The BCM chipset (bge) is not set up correctly on the T1000. The current
workaround is to use an add in Intel GigE card (em).
- With KSE in the kernel signals are often not directed to the right
process / thread within a process. This causes threaded processes
to frequently become unkillable and gdb to not be reliable when debugging
a threaded process. This issue is slowly being resolved on -threads.
Many thanks go to Sun for having lent / donated a T2000 to both me and
John Birrell.
John Baldwin [Thu, 5 Oct 2006 15:38:59 +0000 (15:38 +0000)]
The IPMI spec is ambiguous (or rather, it contradicts itself) about whether
or not the OS has to wait for RX_RDY or TX_RDY to be set before the OS sets
the control code in the control/status register. Looking at the interface
design, it seems that RX_RDY and TX_RDY are probably there to protect
access to the data register and have nothing to do with the control/status
register. Nevertheless, try to take what I think is the more conservative
approach and always wait for the appropriate [TR]X_RDY flag to be set
before writing any of the WR_NEXT, WR_END, RD_START, or RD_NEXT control
codes to the control/status register.
John Baldwin [Thu, 5 Oct 2006 15:30:51 +0000 (15:30 +0000)]
- Fix a couple of improper uses of leal in the previous space saving
commits. For some reason I thought the scale factor was a shift count
rather than the multiplicand (that is, I thought leal (%eax,%edx,4) was
going to generate %eax + %edx << 4 rather than %eax + %edx * 4). What
I need is to multiply by 16 to convert a real-mode (seg, offset) tuple
into a flat address. However, the max multiplicand for scaled/index
addressing on i386 is 8, so go back to using a shl and an add.
- Convert two more inter-register mov instructions where we don't need to
preserve the source register to xchg instructions to keep our space
savings.
Tested by: Ian FREISLICH if at hetzner.co.za
MFC after: 1 week