‚ç<135856 144 324 166 219 168 111 235 377 355 136 217 185 109 1355 286 159 168 211 265 135 733 306 205 315 113 184 265 143 189 225 402 187 160 223 337 212 174 165 378 239 454 458 505 159 152 178 199 220 1370 504 851 181 964 240 198 815 629 335 157 146 138 328 130 126 171 831 1672 168 151 241 177 258 120 173 203 171 159 143 151 205 231 1256 275 379 705 231 263 231 535 310 439 720 175 155 157 261 236 296 164 298 271 661 301 161 150 164 346 469 304 322 128 240 245 129 172 153 473 808 161 183 138 438 241 199 153 131 237 180 210 311 212 124 270 498 411 264 138 140 431 632 581 268 623 512 153 K 10 svn:author V 3 des K 8 svn:date V 27 2004-09-27T18:43:18.000000Z K 7 svn:log V 231 Attempting to unset an undefined variable or function should not be considered an error according to the Open Group Base Specification. PR: standards/45738 Submitted by: Matthias Andree MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2004-09-27T18:46:00.000000Z K 7 svn:log V 74 MFC: (1.188) limit inetd to 60 simultaneous connections. PR: conf/33670 END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-27T19:14:10.000000Z K 7 svn:log V 126 Give cluster_write() an explicit vnode argument. In the future a struct buf will not automatically point out a vnode for us. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-27T19:32:26.000000Z K 7 svn:log V 76 Minor, but very important condition fix. The current one can never be true. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-27T19:44:39.000000Z K 7 svn:log V 19 style consistency. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2004-09-27T19:51:58.000000Z K 7 svn:log V 137 Add sc_iostart to softc and unbreak the build. This was forgotten in my previous commit to add i/o port to uninorth.c Pointy-hat to: me END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-27T20:02:50.000000Z K 7 svn:log V 284 Remove NFS4 vop method vector for devices: we are desupporing device nodes on anything but DEVFS and in this case it was not even used (see below). Put the NFS4 vop method for fifo's behind "#if 0" because it is unused. Add a XXX comment to say that I think the unusedness is a bug. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-27T20:32:35.000000Z K 7 svn:log V 262 Avoid race while synchronizing components. It is very hard to bump into, but it is possible: 1. Read data from good component for synchronization. 2. Write data to the same area. 3. Write synchronization data, which are now stale. Found by: tegge (for gmirror) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-27T20:38:46.000000Z K 7 svn:log V 44 Desupport device nodes on EXT2 filesystems. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-27T22:10:01.000000Z K 7 svn:log V 124 Deny invalid I/O requests which comes from userland here, because later we'll get a panic. MT5 candidate. Reviewed by: phk END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-27T22:12:14.000000Z K 7 svn:log V 93 Decrease kern.geom.raid3.timeout to 4, so it is smaller than vfs.root.mountdelay by default. END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-09-28T01:32:58.000000Z K 7 svn:log V 18 Add ICH6 support. END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-09-28T04:22:55.000000Z K 7 svn:log V 1261 Turns out that revision 1.52 was a bad idea. It broke the long standing ability to list a non-existant device in /etc/ttys to keep it from dying. This is a documented feature of init(8): The init utility can also be used to keep arbitrary daemons running, automatically restarting them if they die. In this case, the first field in the ttys(5) file must not reference the path to a configured device node and will be passed to the daemon as the final argument on its com- mand line. This is similar to the facility offered in the AT&T System V UNIX /etc/inittab. So rather than fix the man page to 'break' this feature, back out the change. At the time this change was made, people felt that the spamage from getty was annoying on headless consoles. Andrew Gallatin noted: > Most of my machines are headless without video cards and use a serial > console. With devfs this means that /dev/ttyv[1-N] do not exist and > getty bitches like this: > > Sep 26 11:00:11 monet getty[543]: open /dev/ttyv1: No such file or directory and we went off and applied this hack rather than fixing getty to sleep forever when it gets an unknown device, as was Andrew's other suggestion. Since it breaks things, I'm off to do that instead. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2004-09-28T06:54:02.000000Z K 7 svn:log V 188 RELENG_5 != current, so call this "... for FreeBSD stable users" instead of "... for FreeBSD current users". Pointed out by: Thierry Herbelot via freebsd-current Approved by: re (scottl) END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-09-28T07:26:00.000000Z K 7 svn:log V 65 Add the memrange bits to the loadable module. MT5 after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2004-09-28T07:29:54.000000Z K 7 svn:log V 74 Be consistant; make the memrange bit be part of the mem module like i386. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T07:33:37.000000Z K 7 svn:log V 118 Just use MAXPHYS as maximum I/O request size, instead of using my own #define for this purpose. No functional change. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T08:34:27.000000Z K 7 svn:log V 172 - Set maximum request size to MAXPHYS (128kB), instead of DFLPHYS (64kB). - Set minimum request size to sectorsize, instead of 512 bytes. Approved by: phk (some time ago) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T08:50:01.000000Z K 7 svn:log V 43 Remove support for using NFS device nodes. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-28T09:46:00.000000Z K 7 svn:log V 638 Create a named chroot directory structure in /var/named, and use it by default when named is enabled. Also, improve our default directory layout by creating /var/named/etc/namedb/{master|slave} directories, and use the former for the generated localhost* files. Rather than using pax to copy device entries, mount devfs in the chroot directory. There may be some corner cases where things need to be adjusted, but overall this structure has been well tested on a production network, and should serve the needs of the vast majority of users. UPDATING has instructions on how to do the conversion for those with existing configurations. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T11:56:37.000000Z K 7 svn:log V 213 Protect the start/end counts on consumers and providers with the up/down mutexes. Make it possible to also protect the disk statistics (at a minor cost in performance) by setting bit 2 of kern.geom.collectstats. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T13:30:58.000000Z K 7 svn:log V 112 Remove support for accessing device nodes in UFS/FFS. Device nodes can still be created and exported with NFS. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-28T13:44:41.000000Z K 7 svn:log V 220 Amend the named chroot update instructions by adding a stop and start of syslogd. The rc.d/syslogd script has the logic already to create a socket in the chroot dir, it just needs to be restarted. Reminded by: matusita END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-09-28T14:37:39.000000Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-09-28T14:38:14.000000Z K 7 svn:log V 89 Always invalidate the whole data cache in pmap_enter() for now. It should not be needed. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-09-28T14:39:26.000000Z K 7 svn:log V 169 Calling fuword from fuword32 with bl and without returning after is really a bad idea. Any way I get a customized CVS template with "Pointy hat to: cognet" pre-filled ? END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-09-28T14:41:15.000000Z K 7 svn:log V 48 Use add instead of saving the sp in a register. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2004-09-28T14:43:12.000000Z K 7 svn:log V 94 Don't try to relocate the dynamic loader in reloc_non_plt(). It has already been done before. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-09-28T16:24:09.000000Z K 7 svn:log V 132 MFC: Improve the panic message for a busted MP table with conflicting entries for the same PCI interrupt. Approved by: re (scottl) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-28T16:36:58.000000Z K 7 svn:log V 304 Add an assertion that the pcb_nsaved field of the pcb be less than MAXWIN to the register window manipulation functions - rwindow_load() calls rwindow_save() so this one addition should take care of both. This should help find places that pcb_nsaved doesn't get initialized properly. Suggested by: jake END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:08:32.000000Z K 7 svn:log V 95 MFC: Allow to setup gbde on providers which have '/' in their names. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:10:20.000000Z K 7 svn:log V 68 MFC: Fix/clean up return values checking. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:11:24.000000Z K 7 svn:log V 130 MFC: We have now so many GEOM classes that it is better to just skip unknown classes than exiting. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:12:32.000000Z K 7 svn:log V 244 MFC: - Show all commands in usage, even if those commands are not available. - When command is not available, just say it, instead of says, that command is unknown. Old behaviour seems to be too confusing. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:13:39.000000Z K 7 svn:log V 119 MFC: Do not exit after printing usage, give geom(8) a chance to show standard commands. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:14:29.000000Z K 7 svn:log V 82 MFC: Document '-p' flag for 'insert' command correctly. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:15:19.000000Z K 7 svn:log V 73 MFC: Don't allow to specify wrong stripe size. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:16:05.000000Z K 7 svn:log V 285 MFC: Teach swap1 script how to remove added swap devices on system shutdown. Without this change, if one had a swap-on-mirror configuration, gmirror will rebuild mirror component(s) on boot, because they are dirty (they were open on shutdown). Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:16:51.000000Z K 7 svn:log V 146 MFC: Make kern.geom.debugflags sysctl tunable from /boot/loader.conf. It will help to debug problems when booting. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:22:15.000000Z K 7 svn:log V 361 MFC: There is no need to skip providers with 0 sectorsize in taste routine, it is now forced by GEOM. Actually, it can even cause some problems, because GEOM requires sectorsize to be greater than 0 on first access, not on provider creation, so we can skip valid providers by doing this check in taste method. Approved by: re (scottl) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-09-28T18:22:24.000000Z K 7 svn:log V 365 fix jumbo frames as much as they can be fixed for re. We now cap the MTU to 7422 since it appears that the 8169S can't transmit anything larger.. The 8169S can receive full jumbo frames, but we don't have an mru to let the upper layers know this... add fixup so that this driver should work on alignment constrained platforms (!i386 && !amd64) MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:23:14.000000Z K 7 svn:log V 412 MFC: - Avoid race while synchronizing components. It is very hard to bump into, but it is possible: 1. Read data from good component for synchronization. 2. Write data to the same area. 3. Write synchronization data, which are now stale. - Decrease kern.geom.mirror.timeout to 4, so it is smaller than vfs.root.mountdelay by default. - Don't skip providers with 0 sectorsize. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:24:10.000000Z K 7 svn:log V 67 MFC: Take the lastest fixes from NetBSD. Approved by: re (scottl) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-09-28T18:24:19.000000Z K 7 svn:log V 60 document the limit on jumbo frame size.. MFC after: 5 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:24:50.000000Z K 7 svn:log V 86 MFC: There is no humanize_number(9) manual page in FreeBSD. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:25:48.000000Z K 7 svn:log V 106 MFC: Fix '-s' option for large disks and fix printing maximum file system size. Approved by: re (scottl) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2004-09-28T18:27:28.000000Z K 7 svn:log V 127 MFC: According to module(9), when command is unrecognized, the module should return EOPNOTSUPP. Approved by: re (scottl) END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-09-28T18:39:04.000000Z K 7 svn:log V 1274 Arrgh. Recently I tried using ugen(4) in an application that uses select(2), and discovered to my horror that ugen(4)'s bulk in/out support is horribly lobotomized. Bulk transfers are done using the synchronous API instead of the asynchronous one. This causes the following broken behavior to occur: - You open the bulk in/out ugen device and get a descriptor - You create some other descriptor (socket, other device, etc...) - You select on both the descriptors waiting until either one has data ready to read - Because of ugen's brokenness, you block in usb_bulk_transfer() inside ugen_do_read() instead of blocking in select() - The non-USB descriptor becomes ready for reading, but you remain blocked on select() - The USB descriptor becomes ready for reading - Only now are you woken up so that you can ready data from either descriptor. The result is select() can only wake up when there's USB data pending. If any other descriptor becomes ready, you lose: until the USB descriptor becomes ready, you stay asleep. The correct approach is to use async bulk transfers, so I changed the read code to use the async bulk transfer API. I left the write side alone for now since it's less of an issue. Note that the uscanner driver has the same brokenness in it. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-09-28T18:40:18.000000Z K 7 svn:log V 411 improve the mbuf m_print function.. Only pull length from pkthdr if there is one, detect mbuf loops and stop, add an extra arg so you can only print the first x bytes of the data per mbuf (print all if arg is -1), print flags using %b (bitmask)... No code in the tree appears to use m_print, and it's just a maner of adding -1 as an additional arg to m_print to restore original behavior.. MFC after: 4 days END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T19:33:49.000000Z K 7 svn:log V 758 Add functions to create and free the "tty-ness" of a serial port in a generic way. This code will allow a similar amount of code to be removed from most if not all serial port drivers. Add generic cdevsw for tty devices. Add generic slave cdevsw for init/lock devices. Add ttypurge function which wakes up all know generic sleep points in the tty code, and calls into the hw-driver if it provides a method. Add ttycreate function which creates tty device and optionally cua device. In both cases .init/.lock devices are created as well. Change ttygone() slightly to also call the hw driver provided purge routine. Add ttyfree() which will purge and destroy the cdevs. Add ttyconsole mode for setting console friendly termios on a port. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T20:14:51.000000Z K 7 svn:log V 89 Add -1 to this non-existent use of m_print in the source tree so LINT compiles again :-) END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T20:23:49.000000Z K 7 svn:log V 871 Use generic infrastructure for the ucom driver instead of local stuff. This changes the naming of USB serial devices to: /dev/ttyU%d and /dev/cuaU%d for call-in and call-out devices respectively. (Please notice: capital 'U') Please also note that we now have .init and .lock devices for USB serial ports. These are not persistent across device removal. devd(8) can be used to configure them on attachment time. These changes also improve the chances of the system surviving if the USB device is unplugged at an inconvenient time. At least we do not rip things apart while there are any threads in the device driver anymore. Remove cdevsw, rely on the tty generic one. Don't make_dev(), use ttycreate() which does all the magic. In detach, do close procesing if we ripped things apart while the device was open. Call ttyfree() once we're done cleaning up. END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-28T21:02:43.000000Z K 7 svn:log V 145 Fix the embedded version string in cvs and cvsbug. This breaks scripts that parse it. PR: 72139 Submitted by: Eugene M. Kim END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-28T21:19:31.000000Z K 7 svn:log V 103 Make cvsbug(1) actually work instead of aborting due to missing configure script substitution markers. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-28T21:22:09.000000Z K 7 svn:log V 720 Fix some of the more egregious problems with this file: 1. Update text about later BINDs using a pseudo-random, unpriviliged query port for UDP by default. 2. We are now running in a sandbox by default, with a dedicated dump directory, so remove the stale comment. 3. The topology configuration is not for the faint of heart, so remove the commented example. 4. Tighten up some language a bit. 5. s/secondary/slave/ 6. No need for the example about a bind-owned directory for slave zones. 7. Change domain.com to example.com in the example, per RFC 2606. 8. Update the path for slave zones in the example. - Thanks to Scot Hetzel There is more work to do here, but this is an improvement. END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-28T22:00:01.000000Z K 7 svn:log V 536 This is a small tool which will read an entire disk(partition) using 1M blocks and optionally write the read data to a file or disk. If a read error happens, the 1M block gets put on the end of the worklist and will be retried with 64k blocksize. If a read error happens again, the 64k block gets put at the end of the worklist and will be retried with single sector reads. The program keeps trying until you stop it. You can refresh a disk: recoverdisk /dev/ad1 /dev/ad1 or salvage a floppy: recoverdisk /dev/fd0 myfloppy.flp END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-09-29T00:12:28.000000Z K 7 svn:log V 238 Give users the ability to load a mac_bsdextended(4) ruleset on boot (defaults to NO of course). Provide a basic ruleset file, rc.bsdextended, but allow the filename to be overridden through rc.conf. Discussed with: rwatson (awhile ago) END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-29T01:58:24.000000Z K 7 svn:log V 63 MFi386: rev 1.236 - improve panic message for a busted mptable END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-29T01:59:10.000000Z K 7 svn:log V 52 MFi386: rev 1.239 - invalidate tlb after pte update END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-29T03:33:45.000000Z K 7 svn:log V 44 Whitespace only, tabs -> spaces, per README END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-29T03:35:49.000000Z K 7 svn:log V 233 gshapiro assures me that uid bind is not necessary for /etc/namedb, so we'll use the more secure default till I have a chance to prove myself wrong. :) Add a /var/stats directory to be enabled in named.conf. Submitted by: gshapiro END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-29T03:43:10.000000Z K 7 svn:log V 36 stats goes under /var, not /var/run END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-29T03:49:35.000000Z K 7 svn:log V 32 Add a statistics-file directive END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-09-29T04:01:13.000000Z K 7 svn:log V 75 Assign so_pcb to NULL rather than 0 as it's a pointer. Spotted by: dwhite END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-09-29T04:54:33.000000Z K 7 svn:log V 735 Add an additional struct inpcb * argument to pfil(9) in order to enable passing along socket information. This is required to work around a LOR with the socket code which results in an easy reproducible hard lockup with debug.mpsafenet=1. This commit does *not* fix the LOR, but enables us to do so later. The missing piece is to turn the filter locking into a leaf lock and will follow in a seperate (later) commit. This will hopefully be MT5'ed in order to fix the problem for RELENG_5 in forseeable future. Suggested by: rwatson A lot of work by: csjp (he'd be even more helpful w/o mentor-reviews ;) Reviewed by: rwatson, csjp Tested by: -pf, -ipfw, LINT, csjp and myself MFC after: 3 days LOR IDs: 14 - 17 (not fixed yet) END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-09-29T05:17:26.000000Z K 7 svn:log V 1578 MFC: Merge case 8 into the resource allocation from 1.15: >>revision 1.15 >>date: 2004/09/20 06:12:19; author: imp; state: Exp; lines: +14 -4 >>das@ has a ACPI bios that lists 0x3f0-0x3f1, 0x3f2-0x3f3, 0x3f4-0x3f5 >>and 0x3f7. fdc_isa_alloc_resource() didn't work right in this case >>(it accessed FDOUT correctly due to an overflow of the first resource. >>It accesed FDSTS and FDDATA incorrectly via the second resource (which >>wound up accessing FDOUT and the tape register at 0x3f3) and badly for >>the CTL register (at location 0x3f4). This is a minimal fix that just >>'eats' the first one if it covers two locations and has an offset of >>0. This confusion lead the floppy driver to think there'd been a disk >>change, which uncovered a deadlock in the floppy/geom code which lead >>to a panic. These changes fix that by fixing the underlying resource >>problem, but doesn't address the potential deadlock issue that might >>still be there. >> >>This is a minimal fix so it can more safely be merged into 5 w/o risk >>for known working configurations (hence the use of the ugly goto, >>which reduces case 8 to case 6 w/o affecting cases 1-7). A more >>invasive fix that will handle more ACPI resource list diversity is in >>the pipeline that should kill these issues once and for all, while >>staying within the resources that we allocate. >> >>Tested/Reported by: das >>Reviewed by: njl >>MFC before: re->next_release_name(5.3-BETA5); If you get floppy hangs on boot, please try after this patch and let me know if they are solved. Approved by: re@ (scottl) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-09-29T05:28:48.000000Z K 7 svn:log V 73 Update the list of files involved in diskless booting. Reminded by: pjd END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-09-29T06:22:38.000000Z K 7 svn:log V 55 Place files back on the vendor branch. Prodded by: ru END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-09-29T06:22:38.000000Z K 7 svn:log V 144 This commit was generated by cvs2svn to compensate for changes in r135923, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-09-29T06:22:39.000000Z K 7 svn:log V 81 This commit was manufactured by cvs2svn to create tag 'ngatm-vendor-NGATM_1_1_1'. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-29T06:54:18.000000Z K 7 svn:log V 166 Fixed symlinking /var/named/etc/namedb to /etc/namedb. A second "make distrib-dirs" createed a symlink in /var/namedb/etc/namedb. A third "make distrib-dirs" failed. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-09-29T07:07:43.000000Z K 7 svn:log V 24 Correct a trivial typo. END K 10 svn:author V 7 trhodes K 8 svn:date V 27 2004-09-29T07:08:52.000000Z K 7 svn:log V 77 Document the latest changes to src/etc/defaults/rc.conf. Bump document date. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-29T13:43:55.000000Z K 7 svn:log V 111 Fixed exiting from pager using the `q' key while paging "help index" or "help " with list of subtopics. END K 10 svn:author V 3 des K 8 svn:date V 27 2004-09-29T14:21:40.000000Z K 7 svn:log V 79 Turn VM_KMEM_SIZE_MAX and VM_KMEM_SIZE_SCALE into tunables. MFC after: 3 days END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-09-29T14:29:48.000000Z K 7 svn:log V 68 MFC: rev 1.73 supress spurious link change events. Approved by: re END K 10 svn:author V 2 ps K 8 svn:date V 27 2004-09-29T14:31:49.000000Z K 7 svn:log V 52 MFC: Add support for the 5750/5751 Approved by: re END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-09-29T15:46:37.000000Z K 7 svn:log V 57 Fix minor indentation/formatting nit. (No code changes.) END K 10 svn:author V 5 green K 8 svn:date V 27 2004-09-29T16:38:38.000000Z K 7 svn:log V 110 Account for alias devices when tearing them down in destroy_dev() so we don't panic on a NULL cdev->si_devsw. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-09-29T17:54:30.000000Z K 7 svn:log V 136 Reflect the fact addr2ascii(3) and ascii2addr(3) need sys/socket.h for AF_* constants. Submitted by: Matthew George MFC after: 2 weeks END K 10 svn:author V 5 wpaul K 8 svn:date V 27 2004-09-29T18:12:33.000000Z K 7 svn:log V 1160 When opening a pipe, usbd_setup_pipe() will do a usbd_clear_endpoint_stall() to make sure the pipe is ready. Some devices apparently don't support the clear stall command however. So what happens when you issue such devices a clear stall command? Typically, the command just times out. This, at least, is the behavior I've observed with two devices that I own: a Rio600 mp3 player and a T-Mobile Sidekick II. It used to be that after the timeout expired, the pipe open operation would conclude and you could still access the device, with the only negative effect being a long delay on open. But in the recent past, someone added code to make the timeout a fatal error, thereby breaking the ability to communicate with these devices in any way. I don't know exactly what the right solution is for this problem: presumeably there is some way to determine whether or not a device supports the 'clear stall' command beyond just issuing one and waiting to see if it times out, but I don't know what that is. So for now, I've added a special case to the error checking code so that the timeout is once again non-fatal, thereby letting me use my two devices again. END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-09-29T18:28:28.000000Z K 7 svn:log V 179 Fix typeo. Should read ***!***IFQ_DRV_IS_EMPTY. This might fix some of the trouble around em(4) filling up its buffers. Submitted by: mtm Pointy hat to: mlaier MFC after: 2 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-09-29T19:08:34.000000Z K 7 svn:log V 286 Only fall back to probing the floppy drives via hints if there is a failure in the actual _FDE parsing. If the failure occurs earlier such as in fdc_attach() then don't try to probe any drives. MFC after: 3 days Reviewed by: njl Tested by: Christian Laursen xi at borderworlds dot dk END K 10 svn:author V 3 alc K 8 svn:date V 27 2004-09-29T19:20:40.000000Z K 7 svn:log V 612 Prevent the unexpected deallocation of a page table page while performing pmap_copy(). This entails additional locking in pmap_copy() and the addition of a "flags" parameter to the page table page allocator for specifying whether it may sleep when memory is unavailable. (Already, pmap_copy() checks the availability of memory, aborting if it is scarce. In theory, another CPU could, however, allocate memory between pmap_copy()'s check and the call to the page table page allocator, causing the current thread to release its locks and sleep. This change makes this scenario impossible.) Reviewed by: tegge@ END K 10 svn:author V 5 wilko K 8 svn:date V 27 2004-09-29T19:52:19.000000Z K 7 svn:log V 136 The state that separates its scholars from its warriors will have its thinking done by cowards, and its fighting by fools. - Thucydides END K 10 svn:author V 3 imp K 8 svn:date V 27 2004-09-29T20:55:14.000000Z K 7 svn:log V 170 Report once that the device isn't there, but keep trying. Don't filter the errno values. They don't make as much sense as they used to given how we do devices in /dev. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-09-29T21:36:07.000000Z K 7 svn:log V 135 Disallow negative coordinates and sizes in the syscons CONS_SCRSHOT ioctl. Reported by: Christer Oberg END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-29T21:39:36.000000Z K 7 svn:log V 437 We seem to have occasions where sending an IPI takes significantly longer than 'normal'. The cause is still being tracked down but in the meantime there are machines where raising IPI_RETRIES does help - it's not just a case of the machine staying locked up longer and then panic-ing anyway. Several helpful folks on sparc64@ tried a patch that helped figure out what to raise this number to. Discussed on: sparc64@ MFC after: 3 days END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-29T23:42:44.000000Z K 7 svn:log V 215 We *need* the pic libobjc library for amd64. It is needed for ia64 as well, but I'll let Marcel decide whether he wants to build a .so or not. Without this, building certain ports that use objc have fatal errors. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-09-29T23:49:57.000000Z K 7 svn:log V 343 Introduce a tunable to disable support for Synaptics touchpads. A number of people have reported problems (stickyness, aiming difficulty) which is proving difficult to fix, so this will default to disable until sometime after 5.3R. To enable Synaptics support, set the 'hw.psm.synaptics_support=1' tunable. MT5 candidate. Approved by: njl END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-09-30T00:49:55.000000Z K 7 svn:log V 623 Merge netipsec/key.c:1.17 into KAME pfkey implementation: date: 2004/09/26 02:01:27; author: sam; state: Exp; lines: +0 -5 Correct handling of SADB_UPDATE and SADB_ADD requests. key_align may split the mbuf due to use of m_pulldown. Discarding the result because of this does not make sense as no subsequent code depends on the entire msg being linearized (only the individual pieces). It's likely something else is wrong here but for now this appears to get things back to a working state. Submitted by: Roselyn Lee This change was also made in the KAME CVS repository as key.c:1.337 by itojun. END K 10 svn:author V 3 sam K 8 svn:date V 27 2004-09-30T01:08:02.000000Z K 7 svn:log V 83 Add missing locking for secpolicy refcnt manipulations. Submitted by: Roselyn Lee END K 10 svn:author V 5 peter K 8 svn:date V 27 2004-09-30T02:13:42.000000Z K 7 svn:log V 61 Remove extra */ Submitted by: Manfred Antar END K 10 svn:author V 6 brooks K 8 svn:date V 27 2004-09-30T04:33:52.000000Z K 7 svn:log V 62 MFC: refer to bsdlabel, not disklabel. Approved by: re (hrs) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-09-30T04:41:55.000000Z K 7 svn:log V 168 MFC: unsetting an undefined variable or function is not an error. PR: standards/45738 Submitted by: Matthias Andree Approved by: re (scottl) END K 10 svn:author V 3 des K 8 svn:date V 27 2004-09-30T04:44:10.000000Z K 7 svn:log V 143 MFC: unsetting an undefined variable or function is not an error. PR: standards/45738 Submitted by: Matthias Andree END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-09-30T05:25:00.000000Z K 7 svn:log V 199 Add syscall_timing, a simple timing micro-benchmark for some characteristic system calls. I've been sending this to people for a while, and figured it would be more efficient to just put it in CVS. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2004-09-30T05:25:01.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_5'. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2004-09-30T06:17:26.000000Z K 7 svn:log V 201 While calling perror() on send() failure was useful for debugging the if_em "wedging" problem, large numbers of perror() calls impacts send performance. As such, just count the error, don't print it. END K 10 svn:author V 6 philip K 8 svn:date V 27 2004-09-30T06:18:29.000000Z K 7 svn:log V 175 Document the Synaptics tunable. While I'm here, also mention the synapticshw_t structure and the MOUSE_SYN_GETHWINFO ioctl() which reads it. MT5 candidate Approved by: njl END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-30T07:04:03.000000Z K 7 svn:log V 568 Add a new API for allocating unit number (-like) resources. Allocation is always lowest free unit number. A mixed range/bitmap strategy for maximum memory efficiency. In the typical case where no unit numbers are freed total memory usage is 56 bytes on i386. malloc is called M_WAITOK but no locking is provided (yet). A bit of experience will be necessary to determine the best strategy. Hopefully a "caller provides locking" strategy can be maintained, but that may require use of M_NOWAIT allocation and failure handling. A userland test driver is included. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2004-09-30T07:35:56.000000Z K 7 svn:log V 206 o Store timestamp in network byte order. o Remove an assumption sizeof(struct timeval) == 8 (this is not true on sparc64). Reviewed by: imp, -hackers Obtained from: NetBSD (rev. 1.75) MT5 after: 1 month END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-30T09:15:21.000000Z K 7 svn:log V 67 Hide all the devices in the chroot dev except for random and null. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T09:15:33.000000Z K 7 svn:log V 59 FreeBSD has full support for multiple consoles since 2001. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2004-09-30T09:18:48.000000Z K 7 svn:log V 69 Forward declare struct kaioinfo to un-void a pointer in struct proc. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-30T09:57:36.000000Z K 7 svn:log V 251 1. Update the documentation references, and the warning about setting up authoritative servers. 2. Add an IPv4 listen-on option for 127.0.0.1, which is appropriate for the default use as a local resolver. 3. Add a commented out listen-on-v6 option. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T09:59:44.000000Z K 7 svn:log V 377 Fixed desctiptions of some options: - Document better what the -C option means. - The -c option is currently a no-op. - The -D and -h options do not allow switching between single/dual console modes and internal/video consoles. (This used to be true for the old biosdisk boot code, but now they just force the multiple consoles mode and serial console, respectively.) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-30T10:24:24.000000Z K 7 svn:log V 209 Install namedb stuff to ${DESTDIR}/var/named/etc/namedb instead of relying on the symlink in ${DESTDIR}/etc/namedb. This is functionally equivalent, but doesn't rely on the symlink to work. Requested by: ru END K 10 svn:author V 3 phk K 8 svn:date V 27 2004-09-30T10:38:48.000000Z K 7 svn:log V 229 Assign a global unit number for the tty slave devices (init/lock) using the new subr_unit.c code. For now assert Giant in ttycreate() and ttyfree(). It is not obvious that it will ever pay off to lock these with anything else. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T12:16:23.000000Z K 7 svn:log V 37 `?' is not the same as "help index". END K 10 svn:author V 2 le K 8 svn:date V 27 2004-09-30T12:57:35.000000Z K 7 svn:log V 148 Make it possible to rebuild degraded RAID5 plexes. Note that it is currently not possible to do this while the volume is mounted. MFC in: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T13:09:00.000000Z K 7 svn:log V 153 Document boot_cdrom, boot_multicons, and boot_serial. Reduce diffs between help.common and loader(8). Mention that boot_userconfig is currently a no-op. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T13:11:55.000000Z K 7 svn:log V 38 Added support for the -D boot option. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T13:47:30.000000Z K 7 svn:log V 81 Mention "help index" in the online help, and provide a help for the `?' command. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T14:06:03.000000Z K 7 svn:log V 62 The default value of "bootfile" has been "kernel" since 2000. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-30T14:30:29.000000Z K 7 svn:log V 375 Set the tc_quality field of the struct before calling tc_init(), since the structure space had been obtained from malloc() its contents is random garbage. The choice of value being set is part of a larger effort to solve some timecounter issues on MP machines (while working on that we noticed this problem). Noticed by: marius Reviewed by: marius, green MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-30T14:38:59.000000Z K 7 svn:log V 710 This along with v1.6 of counter.c fixes some timecounter issues on MP machines (hopefully). CPU timers are OK on UP machines but we don't keep the timers in sync on MP machines so if the CPU's timer is chosen as the primary timecounter it's possible for time to not be monotonically increasing because different CPU's counters may be used at different times. But the CPU's counters are otherwise one of the higher quality counters available. So, on UP machines we'll use a relatively high quality value but on MP machines we'll use a quality that should prevent the CPU's counters from being chosen. Requested by: green (who did the first version of the patch) Reviewed by: marius, green MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T15:27:37.000000Z K 7 svn:log V 70 Setting dump device from loader(8) has not been supported since 2002. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T17:11:26.000000Z K 7 svn:log V 92 Fixed the default value of the $prompt variable, document what happens if $prompt is unset. END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T17:12:05.000000Z K 7 svn:log V 47 The value of $interpret is "OK", in uppercase. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-30T17:26:51.000000Z K 7 svn:log V 340 MFC of v1.67: Initialize the count of saved register windows to 0 in the pcb created for the new thread. The rest of the fields in the pcb wind up being written to before they're read as a normal part of the pcb usage but this field may be read upon return to userland, having it be uninitialized garbage is bad. Approved by: re (scottl) END K 10 svn:author V 5 green K 8 svn:date V 27 2004-09-30T17:42:00.000000Z K 7 svn:log V 146 Validate the action pointer to be within the rule size, so that trying to add corrupt ipfw rules would not potentially panic the system or worse. END K 10 svn:author V 6 nectar K 8 svn:date V 27 2004-09-30T17:49:15.000000Z K 7 svn:log V 103 MFC 1.429: Disallow negative coordinates and sizes in the syscons CONS_SCRSHOT ioctl. Approved by: re END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-09-30T18:13:18.000000Z K 7 svn:log V 61 Fix a typo to fix the !DIAGNOSTIC build. Submitted by: many END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T18:23:35.000000Z K 7 svn:log V 40 Retire now useless userconfig_script_*. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2004-09-30T18:27:13.000000Z K 7 svn:log V 144 MFC: v1.241: add MLINKs for the mbuf.9 man page.. and v1.242: Sort MAN and MLINKS in dictionary order ignoring case. Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-09-30T18:34:58.000000Z K 7 svn:log V 86 MFC 1.42+1.43: - Add amd64 for cnw. - Add ulpt(4) and urio(4). Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-09-30T18:36:33.000000Z K 7 svn:log V 115 MFC 1.7: Add a HARDWARE section which lists supported devices based on the Hardware Notes. Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-09-30T18:37:21.000000Z K 7 svn:log V 216 MFC 1.10: - Add a HARDWARE section which lists supported devices based on the Hardware Notes. - Update some text to fit better now that this driver support multiple different device types. Approved by: re (hrs) END K 10 svn:author V 5 simon K 8 svn:date V 27 2004-09-30T18:38:29.000000Z K 7 svn:log V 117 MFC 1.259: - Auto generate device listings for the following drivers: urio, ulpt, and umct. Approved by: re (hrs) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T20:02:07.000000Z K 7 svn:log V 33 Bring this file more up to date. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2004-09-30T20:04:56.000000Z K 7 svn:log V 177 MFC: Fix the fdc_acpi attach function to only fall back to enumerating drives via hints if the _FDE enumeration fails but earlier steps all succeeded. Approved by: re (scottl) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-09-30T20:08:35.000000Z K 7 svn:log V 402 MFC from pfil.c, rev. 1.9: > Switch order for mtx_unlock and cv_signal as (condvar(9)) sez: > > A thread must hold mp while calling cv_signal(), cv_broadcast(), or > cv_broadcastpri() even though it isn't passed as an argument. > > and is right with this claim. > > While here remove a "\" from the macro -> __inline conversion. > > Found by: csjp Approved by: re (scottl) END K 10 svn:author V 6 mlaier K 8 svn:date V 27 2004-09-30T20:11:46.000000Z K 7 svn:log V 315 MFC from pfvar.h, rev. 1.9 and keydb.h, rev. 1.4 > Protect sockaddr_union definitions with a protecting define. This allows > to build kernels with FAST_IPSEC and PF. This is the least disruptive > fix. > > PR: kern/71836 > Reviewed by: bms, various mailing lists Approved by: re (scottl) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2004-09-30T20:34:20.000000Z K 7 svn:log V 168 Trade slattach for gpt. With all the tools to create new file systems, the tool one needs to partition a disk is more important than some poor man's network interface. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-30T20:38:30.000000Z K 7 svn:log V 44 Update descriptions of named-related knobs. END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-09-30T20:54:59.000000Z K 7 svn:log V 48 Resurrect dump that broke with the last update. END K 10 svn:author V 4 emax K 8 svn:date V 27 2004-09-30T21:05:17.000000Z K 7 svn:log V 337 Make -t optional. If not specified use stdin/stdout. Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov MFC after: 3 days END K 10 svn:author V 3 sos K 8 svn:date V 27 2004-09-30T21:29:19.000000Z K 7 svn:log V 539 MFC: Remove the old ATA_*LOCK_CH macros that used atomic ops and use mutexes instead. This closes the last (known) race issues in ATA which should fix the various hangs etc seen on heavy loaded systems. Change from using timeout functions to using callout functions in the timeout code. This together with above closes the race that could happen if timeout and device interrupt occured simultaniously. Also fix the possible recursion in ata_reinit() on very dodgy devices that could take us down in the probe. Approved by: re@ (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T21:48:51.000000Z K 7 svn:log V 489 Setting "kernel" to an absolute path is a bad idea because after loading such a kernel, "module_path" will be set to an insane value. Fixed example by providing an equivalent setting. For the record, when automatically loading a kernel (commands "boot" and "boot-conf"), the following is tried, in this order: path=/boot/${kernel} file=${bootfile} path=/boot/${kernel} file=${kernel} path=${kernel} file=${bootfile} path=${kernel} file=${kernel} path=${module_path} file=${kernel} END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-09-30T21:57:16.000000Z K 7 svn:log V 176 Don't give instructions on how to disable ACPI in the MI section. For novice users, beastie.4th can just do it. Expert users can read ACPI instructions by typing "help ACPI". END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2004-09-30T22:59:47.000000Z K 7 svn:log V 525 It turns out the ia64 architecture's disc2 overflows if we put the ports/ tree on it. This makes putting the ports/ tree on disc2 at all dependent on the NOPORTREADMES knob as well as the NOPORT knob (at the moment NOPORT may be set while NOPORTREADMES isn't, that should probably be revisited). And it hardcodes ia64 for NOPORTREADMES by request the ia64 release builder. While here really get rid of the temp file 'make index' leaves behind. Tested by: i386 and ia64 'make release' Reviewed by: marcel MFC after: 1 day END K 10 svn:author V 5 dougb K 8 svn:date V 27 2004-09-30T23:36:11.000000Z K 7 svn:log V 417 MFC the BIND 9 import and chroot-by-default work up to date. This includes: 1. More granular NO_BIND_* make knobs. 2. WITH_BIND_LIBS make knob. 3. Run in an automatically configured chroot dir by default. 4. Edit paths in man pages, and install man pages for liblwres. 5. Improve named.conf and make it work with the new structure. 6. Install the bind9 docs. 7. A few Makefile style fixes. Approved by: re (scottl) END K 10 svn:author V 2 ru K 8 svn:date V 27 2004-10-01T00:15:13.000000Z K 7 svn:log V 62 The "autoboot" command also has a third (optional) parameter. END