ĵI213119 169 1864 356 356 181 181 508 508 284 284 214 214 177 177 177 983 177 389 3368 586 173 158 337 185 123 291 387 390 390 218 180 198 128 144 221 434 177 132 250 163 474 326 166 115 193 164 251 221 137 241 160 157 122 197 465 173 403 268 112 129 104 133 163 239 209 203 111 440 392 179 214 396 475 578 391 605 180 176 176 450 385 432 993 202 116 176 109 1215 1215 246 532 532 195 242 190 242 181 645 193 376 662 107 193 334 376 662 277 761 582 182 529 222 285 149 109 131 579 278 172 363 154 122 160 476 173 173 166 245 795 109 163 543 437 115 246 276 360 478 141 137 222 113 182 154 157 179 188 309 188 147 293 264 842 215 335 212 227 294 290 312 179 270 485 604 380 413 384 190 259 240 K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-09-24T19:08:56.366094Z K 7 svn:log V 1765 Reported problem: Large (60GB) filesystems created using "newfs -U -O 1 -b 65536 -f 8192" show incorrect results from "df" for free and used space when mounted immediately after creation. fsck on the new filesystem (before ever mounting it once) gives a "SUMMARY INFORMATION BAD" error in phase 5. This error hasn't occurred in any runs of fsck immediately after "newfs -U -b 65536 -f 8192" (leaving out the "-O 1" option). Solution: The default UFS1 superblock is located at offset 8K in the filesystem partition; the default UFS2 superblock is located at offset 64K in the filesystem partition. For UFS1 filesystems with a blocksize of 64K, the first alternate superblock resides at 64K which is the the location used for the default UFS2 superblock. By default, the system first checks for a valid superblock at the default location for a UFS2 filoesystem. For a UFS1 filesystem with a blocksize of 64K, there is a valid UFS1 superblock at this location. Thus, even though it is expected to be a backup superblock, the system will use it as its default superblock. So, we have to ensure that all the statistcs on usage are correct in this first alternate superblock as it is the superblock that will actually be used. While tracking down this problem, another limitation of UFS1 became evident. For UFS1, the number of inodes per cylinder group is stored in an int16_t. Thus the maximum number of inodes per cylinder group is limited to 2^15 - 1. This limit can easily be exceeded for block sizes of 32K and above. Thus when building UFS1 filesystems, newfs must limit the number of inodes per cylinder group to 2^15 - 1. Reported by: Guy Helmer Followup by: Bruce Cran PR: 107692 MFC after: 4 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:09:23.404073Z K 7 svn:log V 259 MFC r211717: Implement basic WOL support. Note, not all xl(4) controllers support WOL. Some controllers require additional 3-wire auxiliary remote wakeup connector to draw power. More recent xl(4) controllers may not need the wakeup connector though. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:11:22.758696Z K 7 svn:log V 259 MFC r211717: Implement basic WOL support. Note, not all xl(4) controllers support WOL. Some controllers require additional 3-wire auxiliary remote wakeup connector to draw power. More recent xl(4) controllers may not need the wakeup connector though. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:13:43.484800Z K 7 svn:log V 85 MFC r211721: Fix a possible unaligned access to savebyte array. PR: kern/122195 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:14:59.955697Z K 7 svn:log V 85 MFC r211721: Fix a possible unaligned access to savebyte array. PR: kern/122195 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:16:42.870080Z K 7 svn:log V 411 MFC r211764: Add PNP id for Compex RL2000. I'm not sure whether adding this logical id is correct or not because Compex RL2000 is in the list of supported hardware list. I guess the Compex RL2000 could be PCI variant while the controller in question is ISA controller. It seems PNP compat id didn't match or it had multiple compat ids so isa_pnp_probe() seemed to return ENOENT. PR: kern/80853 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:18:03.550565Z K 7 svn:log V 411 MFC r211764: Add PNP id for Compex RL2000. I'm not sure whether adding this logical id is correct or not because Compex RL2000 is in the list of supported hardware list. I guess the Compex RL2000 could be PCI variant while the controller in question is ISA controller. It seems PNP compat id didn't match or it had multiple compat ids so isa_pnp_probe() seemed to return ENOENT. PR: kern/80853 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:19:53.345504Z K 7 svn:log V 187 MFC r211765: Remove unnecessary controller reinitialization. CAM filter handling was rewritten long time ago so it should not require controller reinitialization. PR: kern/87506 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:22:41.163582Z K 7 svn:log V 187 MFC r211765: Remove unnecessary controller reinitialization. CAM filter handling was rewritten long time ago so it should not require controller reinitialization. PR: kern/87506 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:24:45.959136Z K 7 svn:log V 117 MFC r211766: vr_init_locked() will stop and reset the controller. Remove unnecessary vr_stop()/vr_reset() calls. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:26:27.372873Z K 7 svn:log V 117 MFC r211766: vr_init_locked() will stop and reset the controller. Remove unnecessary vr_stop()/vr_reset() calls. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:27:47.444353Z K 7 svn:log V 81 MFC r211767: Remove unnecessary controller reinitialization. PR: kern/87506 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:29:01.823614Z K 7 svn:log V 81 MFC r211767: Remove unnecessary controller reinitialization. PR: kern/87506 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:30:34.460660Z K 7 svn:log V 81 MFC r211768: Remove unnecessary controller reinitialization. PR: kern/87506 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-24T19:31:08.751112Z K 7 svn:log V 890 Add three GPT attributes: GPT_ENT_ATTR_BOOTME - this is bootable partition GPT_ENT_ATTR_BOOTONCE - try to boot only once from this partition GPT_ENT_ATTR_BOOTFAILED - set this flag if we cannot boot from partition containing GPT_ENT_ATTR_BOOTONCE flag; note that if we cannot boot from partition that contains only GPT_ENT_ATTR_BOOTME flag, the GPT_ENT_ATTR_BOOTFAILED flag won't be set According to wikipedia Microsoft TechNet says that attributes are divided into two halves: the lower 4 bytes representing partition independent attributes, and the upper 4 bytes are partition type dependent. Microsoft is already using bits 60 (read-only), 62 (hidden) and 63 (do not automount) and I'd like to not collide with those, so we are using bit 59 (bootme), 58 (bootonce) and 57 (bootfailed). Reviewed by: arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T19:31:53.014764Z K 7 svn:log V 81 MFC r211768: Remove unnecessary controller reinitialization. PR: kern/87506 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-24T19:33:47.049624Z K 7 svn:log V 296 Allow to configure GPT attributes. It shouldn't be allowed to set bootfailed attribute (it should be allowed only to unset it), but for test purposes it might be useful, so the current code allows it. Reviewed by: arch@ (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-24T19:49:12.843669Z K 7 svn:log V 3274 - Split code shared by almost any boot loader into separate files and clean up most layering violations: sys/boot/i386/common/rbx.h: RBX_* defines OPT_SET() OPT_CHECK() sys/boot/common/util.[ch]: memcpy() memset() memcmp() bcpy() bzero() bcmp() strcmp() strncmp() [new] strcpy() strcat() strchr() strlen() printf() sys/boot/i386/common/cons.[ch]: ioctrl putc() xputc() putchar() getc() xgetc() keyhit() [now takes number of seconds as an argument] getstr() sys/boot/i386/common/drv.[ch]: struct dsk drvread() drvwrite() [new] drvsize() [new] sys/boot/common/crc32.[ch] [new] sys/boot/common/gpt.[ch] [new] - Teach gptboot and gptzfsboot about new files. I haven't touched the rest, but there is still a lot of code duplication to be removed. - Implement full GPT support. Currently we just read primary header and partition table and don't care about checksums, etc. After this change we verify checksums of primary header and primary partition table and if there is a problem we fall back to backup header and backup partition table. - Clean up most messages to use prefix of boot program, so in case of an error we know where the error comes from, eg.: gptboot: unable to read primary GPT header - If we can't boot, print boot prompt only once and not every five seconds. - Honour newly added GPT attributes: bootme - this is bootable partition bootonce - try to boot from this partition only once bootfailed - we failed to boot from this partition - Change boot order of gptboot to the following: 1. Try to boot from all the partitions that have both 'bootme' and 'bootonce' attributes one by one. 2. Try to boot from all the partitions that have only 'bootme' attribute one by one. 3. If there are no partitions with 'bootme' attribute, boot from the first UFS partition. - The 'bootonce' functionality is implemented in the following way: 1. Walk through all the partitions and when 'bootonce' attribute is found without 'bootme' attribute, remove 'bootonce' attribute and set 'bootfailed' attribute. 'bootonce' attribute alone means that we tried to boot from this partition, but boot failed after leaving gptboot and machine was restarted. 2. Find partition with both 'bootme' and 'bootonce' attributes. 3. Remove 'bootme' attribute. 4. Try to execute /boot/loader or /boot/kernel/kernel from that partition. If succeeded we stop here. 5. If execution failed, remove 'bootonce' and set 'bootfailed'. 6. Go to 2. If whole boot succeeded there is new /etc/rc.d/gptboot script coming that will log all partitions that we failed to boot from (the ones with 'bootfailed' attribute) and will remove this attribute. It will also find partition with 'bootonce' attribute - this is the partition we booted from successfully. The script will log success and remove the attribute. All the GPT updates we do here goes to both primary and backup GPT if they are valid. We don't touch headers or partition tables when checksum doesn't match. Reviewed by: arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-24T19:53:55.651748Z K 7 svn:log V 493 Add gptboot script that is responsible for: - looking for partition with 'bootonce' attribute alone (without 'bootme' attribute), removing it and logging that we successfully booted from this partition. - looking for partitions with 'bootfailed' attribute, removing it and logging that we failed to boot from this partition. Reviewed by: arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T20:04:23.846975Z K 7 svn:log V 77 MFC r195484: Make xl(4) build with Tx checksum offload. PR: kern/136409 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-24T20:08:59.772020Z K 7 svn:log V 62 MFC r191609: remove dead code with reference to IFQ_HANDOFF END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-24T21:23:23.191848Z K 7 svn:log V 239 Make the vast majority of Simple Executive files standard. Perhaps some of these could be made dependent on either of the octusb or octe options, but making them standard fixes a number of option combinations that were previously broken. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-24T21:40:28.282572Z K 7 svn:log V 89 Removes `buffer' variable of struct usb_page that could not find any places to set this. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-24T21:41:56.904558Z K 7 svn:log V 27 Removes unnecessary spaces END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-24T21:55:44.660841Z K 7 svn:log V 194 Commits a experimental patch that I couldn't find cases when pc->buffer is NULL. If this assertion is failed it means `struct usb_page_cache' is accessed after free or after encounting errors. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-24T23:47:42.427460Z K 7 svn:log V 290 MFC r211393 (des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with LOGIN_SETUSER). This plugs a hole where users could raise their resource limits and expand their CPU mask. Approved by: des END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-24T23:48:29.212492Z K 7 svn:log V 293 MFC r211393 (by des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with LOGIN_SETUSER). This plugs a hole where users could raise their resource limits and expand their CPU mask. Approved by: des END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-24T23:51:45.431729Z K 7 svn:log V 293 MFC r211393 (by des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with LOGIN_SETUSER). This plugs a hole where users could raise their resource limits and expand their CPU mask. Approved by: des END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-24T23:54:03.489676Z K 7 svn:log V 122 Take mpt_req_on_{free,pending}_list() out from under INVARIANTS as these are generally useful and not just for debugging. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-24T23:56:25.527054Z K 7 svn:log V 84 Records the length of the local buffer. It'd be used to check the buffer boundary. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T00:01:55.983455Z K 7 svn:log V 101 Records the buffer length also at struct usb_page_cahce. It'd be used to check the buffer boundary. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-25T01:18:01.366062Z K 7 svn:log V 31 Handle link updates in a task. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T01:23:26.718502Z K 7 svn:log V 48 Adds an assertion to check the buffer boundary. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T01:25:48.163660Z K 7 svn:log V 124 Renames `buf_res' to `res' for readability that in some places it named as `res' but in other places it named as `buf_res'. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T01:57:47.056037Z K 7 svn:log V 337 To support stack unwinding for cancellation points, add -fexceptions flag for them, two functions _pthread_cancel_enter and _pthread_cancel_leave are added to let thread enter and leave a cancellation point, it also makes it possible that other functions can be cancellation points in libraries without having to be rewritten in libthr. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T04:21:31.324707Z K 7 svn:log V 81 Simplify code, and in while loop, fix operator to match the unwinding direction. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T04:26:40.079283Z K 7 svn:log V 36 Add test cases for stack unwinding. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-25T04:39:12.685307Z K 7 svn:log V 152 o) Send mbufs to BPF listeners from within cvm_oct_xmit(). o) Pin receive threads when they're running since we do access some core-local resources. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-25T04:41:42.236353Z K 7 svn:log V 71 Remove clauses 3 and 4, per changes to NetBSD versions of these files. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-09-25T04:58:46.570958Z K 7 svn:log V 376 Internalise reassembly queue related functionality and variables which should not be used outside of the reassembly queue implementation. Provide a new function to flush all segments from a reassembly queue and call it from the appropriate places instead of manipulating the queue directly. Sponsored by: FreeBSD Foundation Reviewed by: andre, gnn, rpaulo MFC after: 2 weeks END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T06:27:09.334782Z K 7 svn:log V 229 Because old _pthread_cleanup_push/pop do not have frame address, it is incompatible with stack unwinding code, if they are invoked, disable stack unwinding for current thread, and when thread is exiting, print a warning message. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-09-25T08:19:34.889648Z K 7 svn:log V 71 Add Planex UE-200TX-G2 to list of supported devices. MFC after: 1 day END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T08:36:46.318466Z K 7 svn:log V 19 Add missing field. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-09-25T09:16:46.297702Z K 7 svn:log V 96 Log the number of segments currently in the reassembly queue. Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-25T09:43:24.846351Z K 7 svn:log V 68 Only access unwind_disabled when _PTHREAD_FORCED_UNWIND is defined. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T10:31:05.548376Z K 7 svn:log V 158 Ignore errors from BIO_FLUSH. It might confuse users that provider wasn't really killed. What we really care about are write errors only. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T10:32:04.225239Z K 7 svn:log V 128 Change g_eli_debug to int, so one can turn off any GELI output by setting kern.geom.eli.debug sysctl to -1. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T10:32:52.054666Z K 7 svn:log V 45 Fix two copy&paste bugs. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T10:34:11.315973Z K 7 svn:log V 148 - Use $md instead of md0, which fixes tests when md(4) device is already present. - Correct message - we create GPT, not MBR. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T10:34:42.668815Z K 7 svn:log V 68 Update regression tests after AES-XTS addition. MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-09-25T14:33:35.753048Z K 7 svn:log V 63 Add a shell script to generate a test script for trivial ACLs. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-09-25T14:54:31.033333Z K 7 svn:log V 28 Don't leave zombies behind. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T15:37:41.001122Z K 7 svn:log V 104 Don't hardcode md0 in message, use $md instead. Reported by: Ronald Klop END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T17:38:57.194361Z K 7 svn:log V 372 - Add support for loading passphrase from a file (-J and -j options). This is especially useful for things like installers, where regular geli prompt can't be used. - Add support for specifing multiple -K or -k options, so there is no need to cat all keyfiles and read them from standard input. Requested by: Kris Moore , thompsa MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-25T17:41:02.299272Z K 7 svn:log V 81 Add some regression tests for newly added -J and -j options. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-09-25T18:27:29.419214Z K 7 svn:log V 311 Some schemes can allocate memory for internal purposes but when GEOM does withering this memory doesn't freed. Add G_PART_DESTROY call to g_part_wither. Also add missed g_free() call to G_PART_READ method for MBR and PC98 schemes. Submitted by: jh (previous version) Reviewed by: pjd Approved by: kib (mentor) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T21:02:42.310596Z K 7 svn:log V 171 Removes a wrong comment; this path is reached even if the host controller is not PIO mode. For example transfering the request to the default pipe would be reached here. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T21:06:53.228625Z K 7 svn:log V 16 A code cleanup. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T21:25:15.775216Z K 7 svn:log V 33 style(9); no functional changes. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T21:25:46.577890Z K 7 svn:log V 9 style(9) END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-09-25T21:55:40.520142Z K 7 svn:log V 37 Code cleanup; no functional changes. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-26T01:41:53.157149Z K 7 svn:log V 67 Follow r213098, kernel POSIX semaphore module is no longer needed. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-26T01:45:33.755031Z K 7 svn:log V 143 Protect the watchdog daemon against swap OOM killer. This is similar to SVN r199804 which added protection to sshd, cron, syslogd, and inetd. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-26T06:45:24.203253Z K 7 svn:log V 112 Report death event to debugger before moving to gc list, otherwise debugger may can not find it on thread list. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-26T10:39:01.800998Z K 7 svn:log V 110 Plug memory leak on fork(2) failure. Submitted by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-26T12:52:23.359722Z K 7 svn:log V 16 Revert r213002. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-09-26T14:20:09.214712Z K 7 svn:log V 339 Check for NULL link registers as found in initial stack frames when doing stack unwinding, instead of naively trying to check the instruction at that location. This fixes signal handling in threaded applications after recent changes regarding unwinding in libthr. While here, clean up our MD_FROB_UPDATE_CONTEXT() implementation a little. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-26T16:52:05.642755Z K 7 svn:log V 300 MFC r211873: Don't attempt to write label with GEOM_BSD based method if the class is not available. This improves error reporting when bsdlabel(8) is unable to open a device for writing. If GEOM_BSD was unavailable, only a rather obscure error message "Class not found" was printed. PR: bin/58390 END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-09-26T21:48:32.701593Z K 7 svn:log V 88 Remove superfluous word from "gpart bootcode" usage message. Approved by: kib (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-26T22:11:41.174425Z K 7 svn:log V 118 - Remove clause 3 and 4 from TNF licenses. - Remove closes 3 & 4 from Manuel Bouyer's license. Obtained from: NetBSD END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-27T01:41:39.794185Z K 7 svn:log V 298 MFC: r212362 Fix the experimental NFS client so that it doesn't panic when NFSv2,3 byte range locking is attempted. A fix that allows the nlm_advlock() to work with both clients is in progress, but may take a while. As such, I am doing this commit so that the kernel doesn't panic in the meantime. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-27T02:09:25.827662Z K 7 svn:log V 377 MFC: r212439 Fix the NFSVNO_CMPFH() macro in the experimental NFS server so that it works correctly for ZFS file handles. It is possible to have two ZFS file handles that differ only in the bytes in the fid_reserved field of the generic "struct fid" and comparing the bytes in fid_data didn't catch this case. This patch changes the macro to compare all bytes of "struct fid". END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-27T02:30:56.439535Z K 7 svn:log V 480 MFC: r212443 This patch applies one of the two fixes suggested by zack.kirsch at isilon.com for a race between nfsrv_freeopen() and nfsrv_getlockfile() in the experimental NFS server that he found during testing. Although nfsrv_freeopen() holds a sleep lock on the lock file structure when called with cansleep != 0, nfsrv_getlockfile() could still search the list, once it acquired the NFSLOCKSTATE() mutex. I believe that acquiring the mutex in nfsrv_freeopen() fixes the race. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-27T02:44:30.539562Z K 7 svn:log V 293 MFC: r212833 Fix the experimental NFSv4 server so that it performs local VOP_ADVLOCK() unlock operations correctly. It was passing in F_SETLK instead of F_UNLCK as the operation for the unlock case. This only affected operation when local locking (vfs.newnfs.enable_locallocks=1) was enabled. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-09-27T02:57:44.224555Z K 7 svn:log V 507 MFC: r212834 Fix nfsrv_freeallnfslocks() in the experimental NFSv4 server so that it frees local locks correctly upon close. In order for nfsrv_localunlock() to work correctly, the lock can no longer be in the lockowner's stateid list. As such, nfsrv_freenfslock() has to be called before nfsrv_localunlock(), to get rid of the lock structure on the lockowner's stateid list. This only affected operation when local locks (vfs.newnfs.enable_locallocks=1) are enabled, which is not the default at this time. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-27T05:46:20.033630Z K 7 svn:log V 88 MFC r212821: kern.sched.topology_spec sysctl: use step of 1 for group levels numeration END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-27T06:02:12.419777Z K 7 svn:log V 84 MFC r212544: bus_add_child: add specialized default implementation that calls panic END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-27T06:04:17.396123Z K 7 svn:log V 84 MFC r212544: bus_add_child: add specialized default implementation that calls panic END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-27T09:05:51.169029Z K 7 svn:log V 358 Enable offlining of log devices. OpenSolaris revision and Bug IDs: 9701:cc5b64682e64 6803605 should be able to offline log devices 6726045 vdev_deflate_ratio is not set when offlining a log device 6599442 zpool import has faults in the display Approved by: delphij (mentor) Obtained from: OpenSolaris (Bug ID 6803605, 6726045, 6599442) MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-09-27T09:42:31.428478Z K 7 svn:log V 293 Properly handle IO with B_FAILFAST Retry IO once with ZIO_FLAG_TRYHARD before declaring a pool faulted OpenSolaris revision and Bug IDs: 9725:0bf7402e8022 6843014 ZFS B_FAILFAST handling is broken Approved by: delphij (mentor) Obtained from: OpenSolaris (Bug ID 6843014) MFC after: 3 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-09-27T14:50:51.970588Z K 7 svn:log V 334 XLS B0 revision PCI support and related changes. - XLS B0 and later revision chips have PCIe link 2 & 3 mapped to different PIC interrupts. Update pic.h, board.h and xlr_pci.c to reflect this. - remove debug prints in xlr_pci.c - add more processor IDs to board.h, add function xlr_is_xls_b0() - some style(9) and whitespace fixes END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T15:24:16.602549Z K 7 svn:log V 896 Implement netdump interfaces for if_em and if_lem specifically and, contemporary, rework the netdump hooks. The netdump methods are now composed by the following interfaces: - normal polling operation - polling operation that tries to skip locking as much as it can (to be used in DDB case in order to increase chances of deadlock avoidance) - functions for enabling and disabling interrupts when DEVICE_POLLING option is not enabled, in order to avoid problems with polling. The normal/unlocked version of polling is a bit awkward but still used in several places in the FreeBSD kernel and effective when entering DDB. The implementation of netdump_methods is suited for having independency between NETDUMP_CLIENT and DEVICE_POLLING. Right now, the only issue left open is using unlocked version in the KDB_UNATTENDED version too, but it is going to be fixed soon. Reviewed by: rstone END K 10 svn:author V 5 ticso K 8 svn:date V 27 2010-09-27T15:55:30.729879Z K 7 svn:log V 107 fix off by one error for twi reads with len != 1. STOP must be requested before the last byte is received. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-27T15:55:39.081428Z K 7 svn:log V 24 Prefer echo over printf END K 10 svn:author V 5 ticso K 8 svn:date V 27 2010-09-27T15:58:19.940839Z K 7 svn:log V 82 The TWI controller automatically stops if we don't fill up with new data in time. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T16:26:35.996815Z K 7 svn:log V 13 MFC @ 213203 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-27T16:29:25.727674Z K 7 svn:log V 1121 MFC 212902: Tweak the stats exported by the e1000 drivers: - Add a single sysctl procedure to all three drivers to read an arbitrary register (the register is passed as arg2). Use it to replace existing routines in igb(4) that used a separate routine for each register, and to add support for missing stats in em(4) and lem(4). - Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats section as they are driver stats, not MAC counters. - Simplify the code that creates per-queue stats in igb(4) to use a single loop and remove duplicated code. - Properly read all 64 bits of the 'good octets received/transmitted' in em(4) and lem(4). - Actually read the interrupt count registers in em(4), and drop the 'host to card' sysctl stats from em(4) as they are not implemented in any of the hardware this driver supports. - Restore several stats to em(4) that were lost in the earlier stats conversion including per-queue stats. - Export several MAC stats in em(4) that were exported in igb(4) but not in em(4). - Export stats in lem(4) using individual sysctls as in em(4) and igb(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-27T16:29:46.448681Z K 7 svn:log V 1121 MFC 212902: Tweak the stats exported by the e1000 drivers: - Add a single sysctl procedure to all three drivers to read an arbitrary register (the register is passed as arg2). Use it to replace existing routines in igb(4) that used a separate routine for each register, and to add support for missing stats in em(4) and lem(4). - Move the 'rx_overruns' and 'watchdog_timeouts' stats out of the MAC stats section as they are driver stats, not MAC counters. - Simplify the code that creates per-queue stats in igb(4) to use a single loop and remove duplicated code. - Properly read all 64 bits of the 'good octets received/transmitted' in em(4) and lem(4). - Actually read the interrupt count registers in em(4), and drop the 'host to card' sysctl stats from em(4) as they are not implemented in any of the hardware this driver supports. - Restore several stats to em(4) that were lost in the earlier stats conversion including per-queue stats. - Export several MAC stats in em(4) that were exported in igb(4) but not in em(4). - Export stats in lem(4) using individual sysctls as in em(4) and igb(4). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T16:48:56.048679Z K 7 svn:log V 149 Mask the conditional locking with appropriate macros. Don't make them in the headers because their usage should be just local. Requested by: rstone END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:10:22.882324Z K 7 svn:log V 435 MFC r212755: Fix incorrect RX BD producer updates. The producer index was already updated after allocating mbuf so driver had to use the last index instead of using next producer index. This should fix driver hang which may happen under high network load. Reported by: Igor Sysoev rambler-co dot ru>, Vlad Galu dudu dot ro> Tested by: Igor Sysoev rambler-co dot ru>, Vlad Galu dudu dot ro> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:12:54.526369Z K 7 svn:log V 435 MFC r212755: Fix incorrect RX BD producer updates. The producer index was already updated after allocating mbuf so driver had to use the last index instead of using next producer index. This should fix driver hang which may happen under high network load. Reported by: Igor Sysoev rambler-co dot ru>, Vlad Galu dudu dot ro> Tested by: Igor Sysoev rambler-co dot ru>, Vlad Galu dudu dot ro> END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T17:30:56.853621Z K 7 svn:log V 99 These printings make so much noise and console spam to make traces almost unuseful. Trim out them. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:37:25.342964Z K 7 svn:log V 145 MFC r211400: Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4). Reviewed by: jfv END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T17:38:19.195609Z K 7 svn:log V 94 Fix NETDUMP_CLIENT_DEBUG compilation by adding a missing include for variadic printf formats. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:38:30.664974Z K 7 svn:log V 145 MFC r211400: Remove unnecessary clean target in em(4), igb(4) and ixgbe(4). While here also remove man target in igb(4). Reviewed by: jfv END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:46:11.940449Z K 7 svn:log V 85 MFC r211906: Make sure not to access unallocated stats memory. Reviewed by: jfv END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-27T17:47:09.267128Z K 7 svn:log V 553 Add reference counting for devfs paths containing user created symbolic links. The reference counting is needed to be able to determine if a specific devfs path exists. For true device file paths we can traverse the cdevp_list but a separate directory list is needed for user created symbolic links. Add a new directory entry flag DE_USER to mark entries which should unreference their parent directory on deletion. A new function to traverse cdevp_list and the directory list will be introduced in a separate commit. Idea from: kib Reviewed by: kib END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:49:05.074484Z K 7 svn:log V 97 MFC r211907: Do not call voluntary panic(9) in case of if_alloc() failure. Reviewed by: jfv END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:50:56.825965Z K 7 svn:log V 279 MFC r211909: If em(4) failed to allocate RX buffers, do not call panic(9). Just showing some buffer allocation error is more appropriate action for drivers. This should fix occasional panic reported on em(4) when driver encountered resource shortage. Reviewed by: jfv END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T17:54:04.957500Z K 7 svn:log V 565 MFC r211913: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9) which is not acceptable on production box. igb(4)/ixgb(4)/ix(4) allocated the required memory in stack which consumed 768 bytes of stack memory which looks too big. To address these issues, allocate multicast array memory in device attach time and make multicast configuration success under any conditions. This change also removes the excessive use of memory in stack. Reviewed by: jfv END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T18:16:28.940735Z K 7 svn:log V 11 Fix typos. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T18:20:04.718065Z K 7 svn:log V 97 MFC r211907: Do not call voluntary panic(9) in case of if_alloc() failure. Reviewed by: jfv END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-27T18:20:56.136576Z K 7 svn:log V 242 Add a new function devfs_dev_exists() to be able to find out if a specific devfs path already exists. The function will be used from kern_conf.c to detect duplicate device registrations. Callers must hold the devmtx mutex. Reviewed by: kib END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T18:22:50.404998Z K 7 svn:log V 279 MFC r211909: If em(4) failed to allocate RX buffers, do not call panic(9). Just showing some buffer allocation error is more appropriate action for drivers. This should fix occasional panic reported on em(4) when driver encountered resource shortage. Reviewed by: jfv END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-27T18:34:04.660842Z K 7 svn:log V 565 MFC r211913: Do not allocate multicast array memory in multicast filter configuration function. For failed memory allocations, em(4)/lem(4) called panic(9) which is not acceptable on production box. igb(4)/ixgb(4)/ix(4) allocated the required memory in stack which consumed 768 bytes of stack memory which looks too big. To address these issues, allocate multicast array memory in device attach time and make multicast configuration success under any conditions. This change also removes the excessive use of memory in stack. Reviewed by: jfv END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-09-27T19:03:18.415750Z K 7 svn:log V 184 Add manpages for clang and tblgen. These were generated from upstream's tools/clang/docs/tools/clang.pod and docs/CommandGuide/tblgen.pod, respectively. Approved-by: rpaulo (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-09-27T19:26:56.571213Z K 7 svn:log V 664 Add a bandaid for a long-standing race condition during route entry un-expiring. The previous version of code have no locking when testing rt_refcnt. The result of the lack of locking may result in a condition where a routing entry have a reference count but at the same time have RTPRF_OURS bit set and an expiration timer. These would eventually lead to a panic: panic: rtqkill route really not free When the system have ICMP redirects accepted from local gateway in a moderate frequency, for instance. Commit this workaround for now until we have some better solution. PR: kern/149804 Reviewed by: bz Tested by: Zhao Xin, Pete French MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-27T19:36:15.878767Z K 7 svn:log V 489 Rewrite the i386 memory probe: - Check for SMAP data from the loader first. If it exists, don't bother doing any VM86 calls at all. This will be more friendly for non-BIOS boot environments such as EFI, etc. - Move the base memory setup into a new basemem_setup() routine instead of duplicating it. - Simplify the XEN case by removing all of the VM86/SMAP parsing code rather than just jumping over it. - Adjust some comments to better explain the code flow. MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-27T19:45:34.125883Z K 7 svn:log V 85 Use a single program header to fix loading 64-bit kernels on old versions of U-Boot. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-27T20:12:57.374868Z K 7 svn:log V 431 o) Program the Lanner MR-320 for 32-bit mode, too. o) Give a virtual address for I/O ports on n64. o) On the Portwell CAM-0100, return the right IRQ for the on-board SATA. o) Except on bridges, only set PORTEN and MEMEN on devices that have I/O or memory BARs respectively. o) Disable PORTEN and MEMEN while reprogramming BARs. o) On the Lanner MR-955, set the Tx DMA power register for the on-board Promise SATA controller. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-09-27T20:31:03.612234Z K 7 svn:log V 126 Use the mii_data provided via mii_attach_args and mii_pdata respectively instead of reaching out for the softc of the parent. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-09-27T20:35:40.373179Z K 7 svn:log V 187 Give devices lots of time to settle around programming BARs and command registers. Without this, the settings do not seem to stick for Atheros NICs in the PCI slot of the Lanner MR-320. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-27T21:10:37.228324Z K 7 svn:log V 57 Correct message. Pointed out by: jhb MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T21:28:39.324649Z K 7 svn:log V 13 MFC @ 213231 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-27T23:00:02.130114Z K 7 svn:log V 35 Fix a line addition that crept-in. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-09-28T00:13:15.632463Z K 7 svn:log V 486 Update code from Intel: - Sync shared code with Intel internal - New client chipset support added - em driver - fixes to 82574, limit queues to 1 but use MSIX - em driver - large changes in TX checksum offload and tso code, thanks to yongari. - some small changes for watchdog issues. - igb driver - local timer watchdog code was missing locking this and a couple other watchdog related fixes. - bug in rx discard found by Andrew Boyer, check for null pointer MFC: a week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-28T01:30:49.565358Z K 7 svn:log V 182 Increase maximum network timeout from 20s to 120s. Given that an ETIMEDOUT return from sendrecv probably means a failure to boot we might as well be generous in the timeout period. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-28T01:36:01.058616Z K 7 svn:log V 77 Remove extra braces for style(9) (found while cleaning up an old work tree). END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-28T03:24:53.538069Z K 7 svn:log V 268 Initial GPIO bus support. Includes: - GPIO bus controller interface - GPIO bus interface - Implementation of GPIO led(4) compatible device - Implementation of iic(4) bus over GPIO (author: Luiz Otavio O Souza) Tested by: Luiz Otavio O Souza, Alexandr Rybalko END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-28T03:28:20.733309Z K 7 svn:log V 60 Add gpioctl(8). Utility for configuring/accessing GPIO pins END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-28T03:31:34.544384Z K 7 svn:log V 28 Add AR71XX GPIO bus driver. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-28T03:34:51.460074Z K 7 svn:log V 66 Add GPIO bus to config and hints. Also add sample gpioled device. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-28T04:57:56.212680Z K 7 svn:log V 379 In current code, statically initialized and destroyed object have same null value, the code can not distinguish between them, to fix the problem, now a destroyed object is assigned to a non-null value, and it will be rejected by some pthread functions. PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP is changed to number 1, so that adaptive mutex can be statically initialized correctly. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-28T05:53:35.037569Z K 7 svn:log V 81 MFC r212932,212949: tools/umastat: fix build on amd64 and more PR: misc/146119 END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-28T05:57:50.931481Z K 7 svn:log V 81 MFC r212932,212949: tools/umastat: fix build on amd64 and more PR: misc/146119 END K 10 svn:author V 5 silby K 8 svn:date V 27 2010-09-28T06:08:43.754592Z K 7 svn:log V 72 MFC rev 198719: Fix sym driver for 64-bit platforms with > 4GB of ram. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-09-28T09:07:00.775608Z K 7 svn:log V 152 Document recently added GPT attributes (bootme, bootonce, bootfailed) and list other schemes attributes. Reviewed by: simon, rpaulo MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-28T11:32:17.330379Z K 7 svn:log V 702 In linprocfs_doargv(): - handle compat32 processes; - remove the checks for copied in addresses to belong into valid usermode range, proc_rwmem() does this; - simplify loop reading single string, limit the total amount of strings collected by ARG_MAX bytes; - correctly add '\0' at the end of each copied string; - fix style. In linprocfs_doprocenviron(): - unlock the process before calling copyin code [1]. The process is held by pseudofs. In linprocfs_doproccmdline: - use linprocfs_doargv() to handle !curproc case for which p_args is not cached. Reported by: plulnet [1] Tested by: pluknet Approved by: des (linprocfs maintainer, previous version of the patch) MFC after: 3 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-09-28T12:51:17.663321Z K 7 svn:log V 13 MFC @ 213246 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-09-28T15:33:30.330552Z K 7 svn:log V 71 This file has been unused for ages. Retire it. Submitted by: pluknet END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-09-28T19:17:39.868990Z K 7 svn:log V 451 r201663 introduced a bug in stable/6 that prison_ip() might change the passed address argument, while we are only interested in whether it is a valid address of the jail. This can modify an address in the live interface address list with an address of the jail. Make a copy of the address for the call to prison_ip() to avoid this. Reported by: Andreas Longwitz (longwitz incore.de) Tested by: Andreas Longwitz (longwitz incore.de) PR: kern/114325 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-28T20:57:14.289658Z K 7 svn:log V 341 Remove copyright strings printed at login time via login(1) or sshd(8). It is not clear to what this copyright should apply, and this is in line with what other operating systems do. For ssh specifically, printing of the copyright string is not in the upstream version so this reduces our FreeBSD-local diffs. Approved by: core, des (ssh) END K 10 svn:author V 5 ticso K 8 svn:date V 27 2010-09-28T21:13:54.791425Z K 7 svn:log V 21 fix outdated comment END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-28T22:30:11.091090Z K 7 svn:log V 151 use make from the toolchain, as the source tree may depend on specific features (e.g. on recent HEAD, rtld fails with older 'make') MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-28T22:46:13.319156Z K 7 svn:log V 181 Whitespace changes to reduce diffs wrt the most recent ipfw/dummynet code: + remove an unused macro, + adjust the constants in an enum + small whitespace changes MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-28T23:23:23.013015Z K 7 svn:log V 265 fix breakage in in-kernel NAT: the code did not honor net.inet.ip.fw.one_pass and always moved to the next rule in case of a successful nat. This should fix several related PR (waiting for feedback before closing them) PR: 145167 149572 150141 MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-29T00:00:45.522525Z K 7 svn:log V 381 Set the number of RX frames to receive after RX MBUF low watermark has reached. This reduced number of dropped frames when flow-control is enabled. Previously it dropped incoming frames once RX MBUF low watermark has reached. The value used in MAC RX MBUF low watermark is greater than or equal to 4 so receiving two more RX frames should not be a problem. Obtained from: OpenBSD END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-29T02:36:58.319184Z K 7 svn:log V 45 Remove a redundant instruction for casuword. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-29T06:06:58.807154Z K 7 svn:log V 41 Check invalid mutex in _mutex_cv_unlock. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-09-29T07:31:05.905078Z K 7 svn:log V 125 - kern_sched_rr_get_interval should return interval for thread 1 in target process. - eliminate a goto. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-09-29T07:40:11.794613Z K 7 svn:log V 21 Fix typo in comment. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:11:34.904602Z K 7 svn:log V 90 MFC r212650: tmpfs, zfs + sendfile: mark page bits as valid after populating it with data END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:15:02.712418Z K 7 svn:log V 62 MFC r212652: zfs: catch up with vm_page_sleep_if_busy changes END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:16:45.726002Z K 7 svn:log V 65 MFC r212654: zfs mappedread: use uiomove_fromphys where possible END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:18:34.942929Z K 7 svn:log V 87 MFC r212655: zfs mappedread, update_pages: use int for offset and length within a page END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:20:18.111018Z K 7 svn:log V 96 MFC r212993: acpi_attach: do not explicitly install default handlers for default address spaces END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-29T09:22:12.644540Z K 7 svn:log V 214 fix handling of initial credit for an idle pipe. This fixes the bug where setting bw > 1 MTU/tick resulted in infinite bandwidth if io_fast=1 PR: 147245 148429 Obtained from: Riccardo Panicucci MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-09-29T09:25:22.069055Z K 7 svn:log V 96 MFC r212993: acpi_attach: do not explicitly install default handlers for default address spaces END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-29T09:40:20.711854Z K 7 svn:log V 53 whitespace changes in preparation for future commits END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-29T11:52:44.043634Z K 7 svn:log V 200 If rt2560_bbp_init() fails, don't drop the lock as the callers of rt2560_init_locked() expect the lock to be held on return. Reported by: Anton Shterenlikht mexas of bristol ac uk MFC after: 1 week END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-09-29T12:53:02.079378Z K 7 svn:log V 168 MFC r212980 & r213160(man4/axe.4 only) Add Planex UE-200TX-G2 to list of supported devices. Add new device ids. Buffalo (Melco Inc.) LUA3-U2-AGT Logitec LAN-GTJ/U2A END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-29T13:08:23.161548Z K 7 svn:log V 746 /etc/rc.d/defaultroute currently bails immediately if all interfaces set to use DHCP have no carrier. This can cause grief as it may take some time for link to be established, and defaultroute may terminate before this happens. Introduce a defaultroute_carrier_delay variable and then wait that long in defaultroute before bailing if no interfaces have carrier. With the default settings defaultroute will wait for five seconds for this, and the original 30 second wait for a default route to appear is unchanged. Note that there is in discussion an alternative approach to the broader problem of waiting for DHCP-configured routes. However, this change addresses a real problem in the current defaultroute script. Discussed on: freebsd-rc@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-09-29T13:24:56.967323Z K 7 svn:log V 122 Account for unlocking a spin mutex in the lock profiling code in the !SMP case. Submitted by: truckman MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-29T14:22:00.437527Z K 7 svn:log V 239 Previously, the aac driver did not handle enclosure management AIFs, which were raised during hot-swap events. Now such events trigger cam rescans, as is done in the mps driver. Submitted by: Mark Johnston END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-09-29T14:36:25.976962Z K 7 svn:log V 120 MFC r209168: Update vfs_busy(9) and vfs_unbusy(9) manual pages to better match the current behaviour of the functions. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-09-29T14:41:03.733263Z K 7 svn:log V 131 Add support for the BFD target efi-app-x86_64. This uses only GPL2 source code and is a requirement for a 64 bit EFI boot loader. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2010-09-29T14:46:57.673031Z K 7 svn:log V 196 Since local variable 'i' is used only in a KASSERT, declare and initialize it only if INVARIANTS is defined to avoid a declared but unused warning. Suggested by: Brian Somers END K 10 svn:author V 4 emax K 8 svn:date V 27 2010-09-29T18:41:47.639054Z K 7 svn:log V 196 MFC Revision: 213042 Add the following Linux BlueZ compatibility macros: htobs(), htobl(), btohs() and btohl() PR: kern/136386 Submitted by: Monty Hall < kungfu_disciple at sbcglobal dot net > END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-29T20:53:33.303982Z K 7 svn:log V 217 Fix legal staff in GPIO sources: - license clause now contains "AUTHOR AND CONTRIBUTORS" instead of just "AUTHOR" - Add license/copyright to gpioc.c Spotted by: Edward Tomasz Napierala, Andrew Turner END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-29T21:01:16.888308Z K 7 svn:log V 85 AR71XX_GPIO_* defines were introduced by adrian@ a while ago, remove duplicated. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-09-29T21:02:31.156218Z K 7 svn:log V 175 remove an unnecessary (and wrong) assignment. It was meant to reset idle_time (and it was not needed), but i even used the wrong field. Obtained from: Oleg MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-29T21:19:25.156770Z K 7 svn:log V 388 After r207391, brgphy(4) passes resolved flow-control settings to parent driver. Use that information to configure flow-control. One drawback is there is no way to disable flow-control as we still don't have proper way to not advertise RX/TX pause capability to link partner. But I don't think it would cause severe problems and users can selectively disable flow-control in switch port. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-09-29T21:20:29.824965Z K 7 svn:log V 511 Apply the same workaround for clang to amd64's version of ldexp.c (as in r212976): order the incoming arguments to fscale as st(0), st(1), and mark temp2 volatile (only in case of compilation with clang) to force clang to pop it correctly. No binary change when compiled with gcc. This fixes ldexp() when compiled with clang on amd64, which makes drand48() and friends work correctly again, and this in turn fixes perl's tempfile(). Reported by: Renato Botelho, Derek Tattersall Approved by: rpaulo (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-09-29T21:53:11.251098Z K 7 svn:log V 286 Fix bogus error message from bus_dmamem_alloc() about incorrect alignment. The check for alignment should be made against the physical address and not the virtual address that maps it. Sponsored by: NetApp Submitted by: Will McGovern (will at netapp dot com) Reviewed by: mjacob, jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-09-29T21:56:31.760358Z K 7 svn:log V 316 Implement hardware MAC statistics for BCM5705 or newer Broadcom controllers. bge(4) exported MAC statistics on controllers that maintain the statistics in the NIC's internal memory. Newer controllers require register access to fetch these values. These counters provide useful information to diagnose driver issues. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-09-29T22:24:18.970252Z K 7 svn:log V 288 tr: Fix '[=]=]' equivalence class. A closing bracket immediately after '[=' should not be treated as special. Different from the submitted patch, a string ending with '[=' does not cause access beyond the terminating '\0'. PR: bin/150384 Submitted by: Richard Lowe MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-09-29T22:59:49.280960Z K 7 svn:log V 95 Commit the rest of r213270. Thanks to Anonymous for spotting this. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2010-09-29T23:06:41.310476Z K 7 svn:log V 164 - Fix values of CS1_EN and CS2_EN flags - Unbreak kernel build by fixing naming convention of GPIO_FUNC flags Spotted by: Luiz Otavio O Souza, Andrew Thompson END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-09-29T23:47:06.426682Z K 7 svn:log V 142 Add advice to new fathers from Thomas Ptacek. Suggested by: wilko Approved by: Thomas Ptacek Security: New parents often feel very insecure. END