ƒ²199187 197 244 119 762 208 103 384 226 299 207 113 215 120 309 124 178 103 555 119 157 235 106 330 692 482 105 207 224 139 168 362 362 362 265 187 155 269 264 269 444 546 513 317 289 166 201 160 152 519 205 208 190 177 194 235 241 183 1301 248 207 495 229 231 230 252 327 134 789 107 304 158 207 112 355 397 156 199 166 263 303 804 185 640 160 161 169 383 683 278 405 383 185 163 139 322 144 167 164 266 471 284 426 301 920 517 293 166 589 163 139 138 163 142 134 426 153 426 158 133 136 163 165 159 317 269 170 507 275 187 187 187 235 686 251 194 279 772 117 114 516 158 402 152 118 896 129 120 197 288 113 268 116 158 448 297 133 275 179 113 144 147 172 471 190 146 167 158 158 426 1220 489 185 489 185 170 487 229 131 181 257 222 281 143 185 224 199 243 218 229 148 211 131 243 168 682 500 195 130 K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-11-11T15:00:56.194257Z K 7 svn:log V 147 Remove trailing ";" in struct ieee80211_beacon_offsets declaration Found by: phk's FlexeLint in September Reviewed by: rpaulo@ MFC after: 1 month END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-11T15:21:06.839803Z K 7 svn:log V 27 ANSIfy. MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-11T15:43:07.587650Z K 7 svn:log V 670 Create verifier used by FreeBSD NFS client is suboptimal because the first part of a verifier is set to the first IP address from V_in_ifaddrhead list. This address is typically the loopback address making the first part of the verifier practically non-unique. The second part of the verifier is initialized to zero making its initial value non-unique too. This commit changes the strategy for create verifier initialization: just initialize it to a random value. Also move verifier handling into its own function and use a mutex to protect the variable. This change is a candidate for porting to sys/nfsclient. Reviewed by: jhb, rmacklem Approved by: trasz (mentor) END K 10 svn:author V 4 rene K 8 svn:date V 27 2009-11-11T18:28:12.686449Z K 7 svn:log V 114 Synchronize with C.msg revision 199083 and improve some existing messages. Reviewed by: remko Approved by: remko END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-11T19:00:12.324638Z K 7 svn:log V 12 MFC r195747 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-11-11T19:13:40.399095Z K 7 svn:log V 291 With an i386 kernel the igb driver can cause a page fault panic on initialization due to a large number of bounce pages being allocated. This is due to the dma tag requiring page alignment on mbuf mapping. This was removed some time back from the ixgbe driver and is not needed here either. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2009-11-11T19:39:45.462928Z K 7 svn:log V 129 - Remove trailing ";" after if statement - Remove #if 0 section that was never needed/used Reviewed by: raj@ MFC after: 1 month END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-11T19:50:52.200289Z K 7 svn:log V 207 MFC r197833: When run() returns an error, print the error message also in non-interactive mode. Previously error messages were printed only in interactive mode. PR: bin/124517 Approved by: trasz (mentor) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-11T20:00:00.682483Z K 7 svn:log V 112 Vendor import of tzcode2009r: - Extra links in unused/tz-link.htm Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-11T20:00:57.739939Z K 7 svn:log V 19 Tag of tzcode2009r END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-11T20:27:53.288182Z K 7 svn:log V 122 Use a dedicated callout to drive the transmit watchdog timer instead of using if_watchdog and if_timer. Tested by: gavin END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-11T20:29:40.318518Z K 7 svn:log V 28 More consistent whitespace. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-11T21:07:22.871906Z K 7 svn:log V 214 MFC of 199179: r199179 | ume | 2009-11-11 22:24:02 +1100 (Wed, 11 Nov 2009) | 7 lines Add unit to the short month names for Japanese locales. Without unit, the output of the application like ls(1) is complicated. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-11T21:18:27.358280Z K 7 svn:log V 30 Changed output due to r199199 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-11-11T21:30:58.263981Z K 7 svn:log V 82 Add interface description capability as inspired by OpenBSD. MFC after: 3 months END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-11T22:31:02.894058Z K 7 svn:log V 12 MFC r197043 END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-11-11T22:36:19.057121Z K 7 svn:log V 462 Ok set in the values in clock 7 as in the original codes (I had changed one by accident) Also do the pic_ack/pic_delayed_ack after the interrupt so we clear it. The clock with these changes starts working. Its off doing a short/long short/long warning but it now runs. My NFS mount now works but has the same problem with sbin/init (errno 8 ENOEXEC) so it panics with no init. Either this is a problem with my buildworld.. OR its a yet undiscovered RMI issue. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2009-11-11T22:37:17.227573Z K 7 svn:log V 27 My NFS configured version. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-11T23:13:24.533841Z K 7 svn:log V 62 sh: Use sigaction instead of signal/siginterrupt combination. END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-12T00:20:31.331979Z K 7 svn:log V 143 MFC r197791 cxgb(4) updates, including: - support for the new Gen-2, BT, and LP-CR cards. - T3 firmware 7.7.0 - shared "common code" updates. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-11-12T00:36:22.143863Z K 7 svn:log V 12 MFC @199204 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-12T00:46:28.242016Z K 7 svn:log V 233 Move inet_aton() (specular to inet_ntoa(), already present in libkern) into libkern in order to made it usable by other modules than alias_proxy. Obtained from: Sandvine Incorporated Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-12T00:52:14.366527Z K 7 svn:log V 595 The building the dev nameunit string, in devclass_add_device() is based on the assumption that the unit linked with the device is invariant but that can change when calling devclass_alloc_unit() (because -1 is passed or, more simply, because the unit choosen is beyond the table limits). This results in a completely bogus string building. Fix this by reserving the necessary room for all the possible characters printable by a positive integer (we do not allow for negative unit number). Reported by: Sandvine Incorporated Reviewed by: emaste Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-12T01:30:17.657449Z K 7 svn:log V 385 Introduce a new option (BOOT_PROMPT_123) that lets enter the boot prompt only when typing the sequence "123" (opposite to the standard 'push any button' approach). That results useful when using serial lines sending garbage and leading to unwilling boot prompt appearence. Obtained from: Sandvine Incorporated Reviewed by: emaste, jhb Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2009-11-12T01:33:57.626449Z K 7 svn:log V 13 Fix warnings END K 10 svn:author V 3 des K 8 svn:date V 27 2009-11-12T01:34:55.301122Z K 7 svn:log V 114 Fix warnings and remove one unnecessary use of vfork(). The other could also be removed with a little more work. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-11-12T01:37:02.978987Z K 7 svn:log V 131 Test cases for pidfile(3) - including two designed to catch issues arising from the incorrect use of fcntl(2) instead of flock(2). END K 10 svn:author V 3 des K 8 svn:date V 27 2009-11-12T01:37:25.054795Z K 7 svn:log V 47 Add test-pidfile.c and increase warning level. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-11-12T03:31:19.684060Z K 7 svn:log V 71 - Style nits. - Remove unneeded TUNABLE_INT(). Suggested by: avg, kib END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-12T10:44:18.535924Z K 7 svn:log V 267 MFC of r199107, tzdata2009r: - Three Australian stations in Antarctica have changed their time zone: Casey moved from UTC+8 to UTC+11 Davis moved from UTC+7 to UTC+5 Mawson moved from UTC+6 to UTC+5 The changes occurred on 2009-10-18 at 02:00 (local times). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-12T10:44:25.765091Z K 7 svn:log V 267 MFC of r199107, tzdata2009r: - Three Australian stations in Antarctica have changed their time zone: Casey moved from UTC+8 to UTC+11 Davis moved from UTC+7 to UTC+5 Mawson moved from UTC+6 to UTC+5 The changes occurred on 2009-10-18 at 02:00 (local times). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-12T10:44:29.229017Z K 7 svn:log V 267 MFC of r199107, tzdata2009r: - Three Australian stations in Antarctica have changed their time zone: Casey moved from UTC+8 to UTC+11 Davis moved from UTC+7 to UTC+5 Mawson moved from UTC+6 to UTC+5 The changes occurred on 2009-10-18 at 02:00 (local times). END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-11-12T10:59:00.705835Z K 7 svn:log V 171 Fix cpu model for PODP5V83. It is P24T, not P54T. Also remove redundant 'Overdrive' word. Pointed out by: SATOU Tomokazu (tomo1770 at maple ocn ne jp) MFC after: 1 week END K 10 svn:author V 4 nyan K 8 svn:date V 27 2009-11-12T11:27:07.784897Z K 7 svn:log V 94 MFi386: revision 199104 Make isa_dma functions MPSAFE by introducing its own private lock. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-12T11:54:12.725402Z K 7 svn:log V 63 Add missing IEEE1394 support dropped during merge from NetBSD. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-12T13:09:36.523173Z K 7 svn:log V 171 MFC r198945: Fix typo in kernel message. The fix is based upon the patch in the PR. PR: kern/140279 Submitted by: Alexander Best END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-12T14:22:12.507670Z K 7 svn:log V 167 Remove the explicit definition of inet_aton() as it was introduced as a general function in r199208. Reported by: np Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-12T14:27:09.817180Z K 7 svn:log V 171 MFC r198945: Fix typo in kernel message. The fix is based upon the patch in the PR. PR: kern/140279 Submitted by: Alexander Best END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-12T14:48:36.622436Z K 7 svn:log V 351 - We are not guaranteed that we're not dropping a reference that we did not add. Call LLE_REMREF() only when callout_stop() actually canceled a pending callout. - callout_reset() may cancel a pending callout. When callout_reset() canceled a pending callout, call LLE_REMREF() to drop a reference for the canceled callout. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-12T15:19:09.027798Z K 7 svn:log V 445 Provide a real fix to the too-many-translations problem when booting from CD on 64-bit hardware to replace existing band-aids. This occurred when the preloaded mdroot required too many mappings for the static buffer. Since we only use the translations buffer once, allocate a dynamic buffer on the stack. This early in the boot process, the call chain is quite short and we can be assured of having sufficient stack space. Reviewed by: grehan END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-12T15:59:05.020271Z K 7 svn:log V 416 Add the possibility for vfs.root.mountfrom tunable to accept a list of items rather than a single one. The list is a space separated collection of items defined as the current one accepted. While there fix also a nit in a comment. Obtained from: Sandvine Incorporated Reviewed by: emaste Tested by: Giovanni Trematerra Sponsored by: Sandvine Incorporated MFC: 2 weeks END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-12T16:28:39.121073Z K 7 svn:log V 220 We need to allocate space for the header in the create path also. This fixes a null pointer dereference with "gpart create -s GPT" after the previous commit. Reported by: Yuri Pankov Pointyhat to: me MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-12T17:56:56.605988Z K 7 svn:log V 195 - Partially revert hackish r198964 and r199002. - Add a proxy driver vgapm to help vgapci to save/load VGA state. - Move device_set_desc() to the right place while we are here. Reviewed by: jhb END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-12T18:16:35.229635Z K 7 svn:log V 73 - Remove a redundant check for dpms(4). - Test a cheaper function first. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-11-12T19:02:10.060622Z K 7 svn:log V 104 Revert revision 199201 for now as it has introduced a kernel vulnerability and requires more polishing. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-11-12T19:30:49.484953Z K 7 svn:log V 65 Add a missing check for Apple HFS partitions. MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-11-12T20:48:04.378340Z K 7 svn:log V 58 - include register definitions for respective controllers END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-11-12T21:27:58.405989Z K 7 svn:log V 424 - Handle multiphy MAC case: create interface with fixed-state media with parameters set via hints and configure MAC accordingly to these parameters. All the underlying PHY magic is done by boot manager on startup. At the moment there is no proper way to make active and control all PHYs simultaneously from one MII bus and there is no way to associate incoming/outgoing packet with specific PHY. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2009-11-12T21:33:36.797454Z K 7 svn:log V 110 - Reorganize hints according to if_arge changes: set media for multiPHY MAC and use mask to specify PHYs. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-12T21:51:01.988237Z K 7 svn:log V 113 Although the file has "ex:ts=4", do some " " -> \t translations so that it is also nicely readable with ts=8. END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-13T00:28:16.966501Z K 7 svn:log V 99 sc->rev and is_offload(sc) will always be 0 during probe. Wait till attach to get correct values. END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-13T00:31:51.137733Z K 7 svn:log V 86 Make sure *some* edc is setup even for an unknown transceiver (assume it is optical). END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-13T00:34:28.041393Z K 7 svn:log V 102 The 10GBASE-T card should use an IPG of 1. Also enable the check for low power startup on this card. END K 10 svn:author V 2 np K 8 svn:date V 27 2009-11-13T00:37:29.403602Z K 7 svn:log V 143 Don't disable the XGMAC's tx on ifconfig down. It is unnecessary and can cause false backpressure in the chip. Fix a us/ms mixup while here. END K 10 svn:author V 2 ps K 8 svn:date V 27 2009-11-13T02:50:50.210456Z K 7 svn:log V 149 Correct another case of not doing 64bit math. This allows mine and other raidz2 volumes to boot. Submitted by: Matt Reimer END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-13T03:59:44.533927Z K 7 svn:log V 91 Use ncursesw to output the date field of vmstat display with multi-byte string, correctly. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T05:54:55.703209Z K 7 svn:log V 1208 Switch the default terminal emulation style to xterm for most platforms. Right now syscons(4) uses a cons25-style terminal emulator. The disadvantages of that are: - Little compatibility with embedded devices with serial interfaces. - Bad bandwidth efficiency, mainly because of the lack of scrolling regions. - A very hard transition path to support for modern character sets like UTF-8. Our terminal emulation library, libteken, has been supporting xterm-style terminal emulation for months, so flip the switch and make everyone use an xterm-style console driver. I still have to enable this on i386. Right now pc98 and i386 share the same /etc/ttys file. I'm not going to switch pc98, because it uses its own Kanji-capable cons25 emulator. IMPORTANT: What to do if things go wrong (i.e. graphical artifacts): - Run the application inside script(1), try to reduce the problem and send me the log file. - In the mean time, you can run `vidcontrol -T cons25' and `export TERM=cons25' so you can run applications the same way you did before. You can also build your kernel with `options TEKEN_CONS25' to make all virtual terminals use the cons25 emulator by default. Discussed on: current@ END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-13T09:03:50.962038Z K 7 svn:log V 154 Fix the grammar in the isgraph(3) description, almost as per the PR. PR: 140455 Submitted by: Jeremy Huddleston MFC after: 2 weeks END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-13T09:07:33.343291Z K 7 svn:log V 113 Fix the grammar in the isprint(3) description. PR: 140456 Submitted by: Jeremy Huddleston END K 10 svn:author V 4 neel K 8 svn:date V 27 2009-11-13T09:24:09.365271Z K 7 svn:log V 401 Make pmap_copy_page() L2-cache friendly by doing the copy through the cacheable window on physical memory (KSEG0). On the Sibyte processor going through the uncacheable window (KSEG1) bypasses both L1 and L2 caches so we may end up with stale contents in the L2 cache. This also makes it consistent with the rest of the function that uses cacheable mappings to copy pages. Approved by: imp (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-13T09:57:50.738704Z K 7 svn:log V 136 Remove part that HDMI is not implemented. It had different meaning and confuse users. Extend BUGS section. Add some supported chipsets. END K 10 svn:author V 3 des K 8 svn:date V 27 2009-11-13T11:19:26.222243Z K 7 svn:log V 138 Note that nullok should not be used by processes that can't access the password database. PR: bin/126650, misc/140514 MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T11:26:44.219899Z K 7 svn:log V 138 Split up etc.i386/ttys into a PC98 version as well. This means I can now convert syscons on i386 to xterm as well. Discussed with: nyan END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T11:28:54.722301Z K 7 svn:log V 160 Convert syscons on i386 to TERM=xterm. TEKEN_XTERM is now gone. Because we always use xterm mode now, we only need a TEKEN_CONS25 switch to go back to cons25. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T11:32:14.222963Z K 7 svn:log V 235 Convert {small prefix}BSD to TERM=xterm as well. Clean up the ttys files shipped with PicoBSD, NanoBSD and TinyBSD. While there, it seems one of them still had references to sio(4). Make it in sync with what we do in the base system. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T11:54:52.156034Z K 7 svn:log V 43 Use cons25w on pc98. Discussed with: nyan END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-13T13:07:01.694348Z K 7 svn:log V 696 Amd64 init_secondary() calls initializecpu() while curthread is still not properly set up. r199067 added the call to TUNABLE_INT_FETCH() to initializecpu() that results in hang because AP are started when kernel environment is already dynamic and thus needs to acquire mutex, that is too early in AP start sequence to work. Extract the code that should be executed only once, because it sets up global variables, from initializecpu() to initializecpucache(), and call the later only from hammer_time() executed on BSP. Now, TUNABLE_INT_FETCH() is done only once at BSP at the early boot stage. In collaboration with: Mykola Dzham Reviewed by: jhb Tested by: ed, battlez END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T13:08:34.210577Z K 7 svn:log V 16 MFC at r199252. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-13T13:13:35.723999Z K 7 svn:log V 206 Improved the manpage description. The committed wording was provided by jhb. PR: 140528 Submitted by: Chris Petrik Discussed with: remko, jhb and the submitter MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-13T13:17:54.939767Z K 7 svn:log V 67 MFC again at r199255. I want that patch that kib@ just committed. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-13T13:26:27.326175Z K 7 svn:log V 109 Remove a note about vfork(4) going to be eliminated, it's here to stay. Submitted by: kib MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-13T21:06:33.486290Z K 7 svn:log V 20 Add more codec IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-13T22:53:49.151791Z K 7 svn:log V 262 Add support for SATA ports on SATA+PATA Marvell controllers. These controllers provide combination of AHCI for SATA and legacy PCI ATA for PATA. Use same solution as used for JMicron controllers. Add IDs of Marvell 88SX6102, 88SX6111. 88SX6141 alike controllers END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-13T22:57:20.036835Z K 7 svn:log V 300 Add sysctls in ahd(4) in order to keep track of different classes of errors. So far 3 different classes are present (correctable, uncorrectable and fatal) but more can be added easilly. Obtained from: Sandvine Incorporated Reviewed by: emase, gibbs Sponsored by: Sandvine Incorporated MFC: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-14T04:46:24.975776Z K 7 svn:log V 64 MFC r199173: CURVNET_RESTORE() was not called in certain cases. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T08:04:38.067808Z K 7 svn:log V 106 Disable PMP probing for Marvell AHCI controllers. It is not working for some reason. Linux does the same. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T08:08:49.357132Z K 7 svn:log V 74 MFp4: Do not enable tagged queueing if controller reports 0 tags support. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-11-14T09:31:47.262321Z K 7 svn:log V 165 Change the utrace log entry for malloc_init from (0, 0, 0) to (-1, 0, 0) in order to distinguish it from free(NULL), which is logged as (0, 0, 0). Reviewed by: jhb END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2009-11-14T09:33:51.592130Z K 7 svn:log V 205 Update malloc utrace structure parsing to reflect the change (r199265) in how malloc_init is logged from (0, 0, 0) to (-1, 0, 0). While we're here, simplify the logic. Reviewed by: jhb (earlier version) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2009-11-14T11:59:59.343938Z K 7 svn:log V 711 MFC r198703,r199156,r199157: r198703: - zfs_zaccess() can handle VAPPEND too, so map V_APPEND to VAPPEND and call zfs_access() instead of vaccess() in this case as well. - If VADMIN is specified with another V* flag (unlikely) call both zfs_access() and vaccess() after spliting V* flags. This fixes "dirtying snapshot!" panic. PR: kern/139806 Reported by: Carl Chave In co-operation with: jh r199156: Avoid passing invalid mountpoint to getnewvnode(). Reported by: rwatson Tested by: rwatson r199157: Be careful which vattr fields are set during setattr replay. Without this fix strange things can appear after unclean shutdown like files with mode set to 07777. Reported by: des END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-14T12:19:00.904874Z K 7 svn:log V 91 Add a table of all language/country combinations with their supported character encodings. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T14:16:02.123352Z K 7 svn:log V 547 Desktop Core2Duo/Core2Quad CPUs are unable to control frequency of single CPU core, only pair of them. As result, both cores are running on highest one of requested frequencies, and that is reported by status register. Such behavior confuses frequency validation logic, as it runs on only one core, as SMP is not yet launched, making EIST completely unusable. To workaround this, add check for validation result. If we haven't found at least two usable frequencies, then probably we are looking bad and have to trust data provided by BIOS as-is. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T14:29:18.055941Z K 7 svn:log V 68 Retry only once, if BIOS is completely broken and gives zero freqs. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-11-14T15:08:44.411629Z K 7 svn:log V 65 Fix white space in rtld runtime error printf. MFC after: 3 days END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-14T15:56:23.196952Z K 7 svn:log V 77 Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m instead. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-14T16:14:51.313252Z K 7 svn:log V 286 MFC r199241 This patch addresses an overflow in the the zfs boot code and allows users to boot from zfs raidz volumes. This has been tested by a number of users and does not impact those which are not booting from zfs raidz volumes. Submitted by: Matt Reimer END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T16:20:07.160461Z K 7 svn:log V 590 Previous solution appeared to be unsufficient. After additional testing I have found that it is not only desktop CPUs problem. but mobile also. Probably AP on laptops just started initially at lower frequency, hiding the problem. Disable frequency validation by default, for systems with more then one CPU, until we can implement it properly. It looks like making more harm now then benefits. Add 'hw.est.strict' loader tunable to control it. Now my iXsystems Invincibook is able to run at 800MHz lowest frequency, instead of 1200MHz before, when 800MHz was incorrectly reported invalid. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-14T18:14:07.374176Z K 7 svn:log V 182 Fix an obvious panic by not casting from a pointer that is 4-bytes alignment to a type that needs 8-byte alignment, and thus causing misaligned memory references. MFC after: 1 week END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-14T18:42:09.367987Z K 7 svn:log V 308 MFC r199241 This patch addresses an overflow in the the zfs boot code and allows users to boot from zfs raidz volumes. This has been tested by a number of users and does not impact those which are not booting from zfs raidz volumes. Submitted by: Matt Reimer Approved by: re (kib) END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-14T18:53:44.278791Z K 7 svn:log V 286 MFC r199241 This patch addresses an overflow in the the zfs boot code and allows users to boot from zfs raidz volumes. This has been tested by a number of users and does not impact those which are not booting from zfs raidz volumes. Submitted by: Matt Reimer END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-14T18:54:25.624642Z K 7 svn:log V 91 Also remove "All" from the end of the PACKAGESITE environment variable Submitted by: beat END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T20:06:04.330254Z K 7 svn:log V 71 MFp4: Check SNCQ HBA capability bit when reporting NCQ support to CAM. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T20:13:38.601636Z K 7 svn:log V 47 MFp4: Fix several device freeze counting bugs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T20:23:20.293420Z K 7 svn:log V 229 MFp4: Remove code that years ago was closing race between request submission to SIM and device/SIM freeze. That race become impossible after moving from spl to mutex locking, while this workaround causes some unexpected effects. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-14T20:30:42.529938Z K 7 svn:log V 52 MFp4: Some more missed parts from previous commits. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-14T22:08:32.265502Z K 7 svn:log V 72 sh: Allow a newline before "in" in a for command, as required by POSIX. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-14T23:35:37.533564Z K 7 svn:log V 70 simplify page cache invalidation when doing buffer cloning in the ARC END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-15T03:09:50.550171Z K 7 svn:log V 170 Revert previous change and fix misalignment by using bcopy() to copy the file handle from fid_data into fh. This eliminates conditional compilation. Pointed out by: imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-15T07:25:24.115482Z K 7 svn:log V 370 Make 32-bit compatibility a little more MI. This separates the COMPAT_IA32 kernel option into an architectural component (COMPAT_IA32 for that arch) and an OS component like COMPAT_LINUX[32] (COMPAT_FREEBSD32). Not yet fully tested. Most of the changes are rototilling source code and making things marked "XXX: might be MI" actually be MI. Discussed with: Warner Losh END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-15T07:28:37.923360Z K 7 svn:log V 183 First hash at 32-bit binary compatibility on PowerPC. This gets init almost running (it dies with an malloc assertion failure eventually). This commit almost certainly breaks Book-E. END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-11-15T11:07:22.961821Z K 7 svn:log V 333 Fix a functional regression in multicast. Userland daemons need to see IGMP traffic regardless of the group; omit the imo filter check if the proto is IGMP. The kernel part of IGMP will have already filtered appropriately at this point. MFC after: ASAP Submitted by: Franz Struwig Reported by: Ivor Prebeg, Franz Struwig END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-11-15T11:30:59.000555Z K 7 svn:log V 207 - MFC r198320: Introduce new option BCE_JUMBO_HDRSPLIT that allows user to enable header in bce(4) instead of (ab)using ZERO_COPY_SOCKETS that was not into if_bce.c anyway. It is disabled by default. END K 10 svn:author V 4 stas K 8 svn:date V 27 2009-11-15T11:43:28.908951Z K 7 svn:log V 826 - MFC r198320: Introduce new option BCE_JUMBO_HDRSPLIT that allows user to enable header in bce(4) instead of (ab)using ZERO_COPY_SOCKETS that was not into if_bce.c anyway. It is disabled by default. > PR: If a GNATS PR is affected by the change. > Submitted by: If someone else sent in the change. > Reviewed by: If someone else reviewed your modification. > Approved by: If you needed approval for this commit. > Obtained from: If the change is from a third party. > MFC after: N [day[s]|week[s]|month[s]]. Request a reminder email. > Security: Vulnerability reference (one per line) or description. > Empty fields above will be automatically removed. _M 7/sys M 7/sys/conf/NOTES M 7/sys/conf/options M 7/sys/dev/bce/if_bce.c M 7/sys/dev/bce/if_bcereg.h _M 7/sys/contrib/pf END K 10 svn:author V 2 jh K 8 svn:date V 27 2009-11-15T14:11:26.769558Z K 7 svn:log V 425 MFC r197956: - Catch SIGHUP to perform cleanup before exiting. - Exit if getch() returns with an error other than EINTR. Otherwise systat(1) may get stuck in an infinite loop if it doesn't receive SIGHUP when terminal closes. - Remove attempt to clear stdio error indicators. getch() doesn't use stdio, making it useless. - Remove unneeded masking of getch() return value. PR: bin/107171 Approved by: trasz (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-15T16:44:43.718115Z K 7 svn:log V 196 Collapse devinfo_state_t with device_state_t in order to avoid a structure replication and improve manteneability. Reviewed by: jhb, imp Tested by: Riccardo Torrini END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-11-15T18:31:57.445116Z K 7 svn:log V 71 Add atp(4) man page. Submitted by: Rohit Grover END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-11-15T19:26:06.771177Z K 7 svn:log V 491 MFC: r199053 Add a check for the connection being shut down to the krpc client just before queuing a request for the connection. The code already had a check for the connection being shut down while the request was queued, but not one for the shut down having been initiated by the server before the request was in the queue. This fixes some cases of problems w.r.t. reconnecting to a NFS server that drops inactive TCP connections. Tested by: Olaf Seibert, Daniel Braniss Reviewed by: dfr END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-15T20:32:06.337418Z K 7 svn:log V 69 Rename from unicode2utf8 to unicodename2utf8, as suggested by gabor@ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-15T20:35:24.784607Z K 7 svn:log V 45 Rename unicode2utf8.1 to unicodename2utf8.1. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-15T20:36:11.728487Z K 7 svn:log V 44 Rename unicode2utf8.c to unicodename2utf8.c END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-15T20:42:18.029461Z K 7 svn:log V 69 Clean up Makefile after renames of unicode2utf8 to unicodename2utf8. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-15T22:09:48.912196Z K 7 svn:log V 48 add variable to disable page caching of buffers END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-15T23:31:07.258879Z K 7 svn:log V 40 In r199127/r199152 I forgot to bump .Dd END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-15T23:48:29.084039Z K 7 svn:log V 331 MFC r199127: Add a note about no hostname leading to "Amnesiac" on the console The text is inspired by the PR, but more in line with the existing text PR: docs/140434 Submitted by: Jason Helfman MFC r199152: s/a default/the default/ Submitted by: remko MFC r199299: In r199127/r199152 I forgot to bump .Dd END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-15T23:49:28.378777Z K 7 svn:log V 59 consolidate in-core buffer invalidation in to one function END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-15T23:51:59.408380Z K 7 svn:log V 331 MFC r199127: Add a note about no hostname leading to "Amnesiac" on the console The text is inspired by the PR, but more in line with the existing text PR: docs/140434 Submitted by: Jason Helfman MFC r199152: s/a default/the default/ Submitted by: remko MFC r199299: In r199127/r199152 I forgot to bump .Dd END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-15T23:53:09.904485Z K 7 svn:log V 64 make tunable for disabling freeing of buffers to the page cache END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-16T00:17:11.795207Z K 7 svn:log V 39 drop bufobj lock before calling getblk END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-16T02:46:21.168819Z K 7 svn:log V 42 fix logic for end of arc_gbincore_replace END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-16T03:36:54.738493Z K 7 svn:log V 69 handle case where don't call allocbuf if b_kvasize is less than size END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-16T03:52:18.123243Z K 7 svn:log V 73 MFC r199080, r199081, r199082: Add ja_JP.UTF-8 and ja_JP.eucJP catalogs. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-16T04:09:11.400267Z K 7 svn:log V 59 Make this partly work from userspace. Input is still dead. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-16T04:14:22.392619Z K 7 svn:log V 216 Some missing bits from the compat layer, in particular an implementation of fuword32 for 64-bit systems. With this change, sysinstall will now ask me what kind of terminal I wish to use in the Cell system simulator. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-16T04:55:16.472576Z K 7 svn:log V 168 Update mambo console to (a) poll faster, and (b) use callouts instead of timeout. This makes it slightly less unbearable. Most of these changes were copied from dcons. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-16T05:12:23.433702Z K 7 svn:log V 76 Add a closing bracket in the usage() example for the new --packages options END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-16T06:10:24.003972Z K 7 svn:log V 412 Fix 2 places where we generate a list of ports by using cut to process directory names in /var/db/pkg. The previous code assumed that the value of PKG_DBDIR would always be 3 directories deep, which is not necessarily a valid assumption. In one spot this allows us to avoid an external shell call altogether, in the other an internal function is a necessary evil to avoid other even more complex alternatives. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-16T06:12:49.666613Z K 7 svn:log V 174 Fix AST delivery -- td_flags is a 32-bit quantity. There is still a strange bug where the first time the userland thread is switched out, it is never again switched back in. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-16T08:26:56.204324Z K 7 svn:log V 90 MFC: r199046 Fix a copy+paste error by checking the correct variable against MM_NULLACT. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-16T08:27:54.648321Z K 7 svn:log V 90 MFC: r199046 Fix a copy+paste error by checking the correct variable against MM_NULLACT. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-16T08:32:13.911300Z K 7 svn:log V 90 MFC: r199046 Fix a copy+paste error by checking the correct variable against MM_NULLACT. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-16T09:28:22.245108Z K 7 svn:log V 137 Fix a memory leak in acl_from_text() in case the conversion succeeded. Submitted by: Jim Wilcoxson MFC after: 1 week END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-16T09:37:30.780402Z K 7 svn:log V 591 Rework the --packages-build option: 1. Keep a global list of build-only deps and those that have been listed as run-deps for any port. Strip a dep from the build_only list if it shows up as a run-dep. 2. This allows us to remove the restriction of not using -t or multiport mode with --packages-build, but forces us to require running the config pass (i.e., no -G) 3. Use a much more clever way to insure that we use packages for anything on the global build_only list, but build everything else. Special funding committment for this feature and package support generally by: Modirum MDpay END K 10 svn:author V 3 phk K 8 svn:date V 27 2009-11-16T10:53:04.519896Z K 7 svn:log V 158 Uppercase the UL suffix on a constant, so Flexelint doesn't worry that 'u1' might have been intended. No, that does not make sense and yes I have told them. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-16T14:33:31.231463Z K 7 svn:log V 97 Fix grammar. PR: 140459 Submitted by: Jeremy Huddleston MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-16T15:18:02.252238Z K 7 svn:log V 186 Disable PortMultiplier Async Notifications for time of ports reset. They are useless at that time, but confuse Marvell AHCI. Add quirk for SiI57XX Port Multipliers, to hide extra port. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-16T15:38:27.573192Z K 7 svn:log V 679 Change the way in which AHCI+PATA combined controllers, such as JMicron and Marvell handled. Instead of trying to attach two different drivers to single device, wrapping each call, make one of them (atajmicron, atamarvell) attach do device solely, but create child device for AHCI driver, passing it all required resources. It is quite easy, as none of resources are shared, except IRQ. As result, it: - makes drivers operation more independent and straitforward, - allows to use new ahci(4) driver with such devices, adding support for new features, such as PMP and NCQ, same time keeping legacy PATA support, - will allow to just drop old ataahci driver, when it's time come. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-16T18:28:41.947779Z K 7 svn:log V 24 Import ACPICA 20091112. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-16T18:29:52.357236Z K 7 svn:log V 21 Tag ACPICA 20091112. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-11-16T18:46:33.118937Z K 7 svn:log V 423 On a 32 bit kernel the igb driver may cause a page fault panic due to a failed bounce page allocation during RX mbuf setup. The large demand on bounce pages is due to the alignment requirement in the tag, the ixgbe driver has demonstrated this to be unnecessary and so it is being removed here to fix this problem. Note that ultimately there needs to be a more elegant handling of the failure case here. Approved by: re END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-11-16T18:50:51.713283Z K 7 svn:log V 61 Convert quotaon/quotaoff to use the new quotafile functions. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2009-11-16T18:58:45.617082Z K 7 svn:log V 309 On a 32 bit kernel the igb driver may cause a page fault panic due to a failed bounce page allocation during RX mbuf setup. The large demand on bounce pages is due to the alignment requirement in the tag. This restriction was removed in the ixgbe driver with no ill effects and so is being removed here also. END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2009-11-16T18:59:04.261797Z K 7 svn:log V 55 Add and document new quoat_on and quota_off functions. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-16T19:10:09.758698Z K 7 svn:log V 25 Sync with C.msg r199083. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-16T20:34:53.614602Z K 7 svn:log V 804 As we pass the 'offset' unvalidated to vn_rdwr() make sure that it is unsigned rather than possibly set to something negative by a malicious binary. This is just the immediate fix to the problem mentioned in PR kern/80742 and by http://milw0rm.com/exploits/9206 but does not fix all possible problems imgact_pecoff has. As this feature does not work and is not compiled in by default, the security team considers this vulnerability to be of low risk to the user population and will not be issuing an advisory. Note that this is a direct commit to stable/7 as pecoff support has been removed from head and stable/8 already. PR: kern/80742 Reported by: Oliver Pinter (oliver.pntr gmail.com) via freebsd-security Help reproducing and testing by: Damian Weber (dweber htw-saarland.de) MFC After: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-16T20:35:16.791677Z K 7 svn:log V 33 Add the Curitel UM175 3g device. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-16T20:36:43.382307Z K 7 svn:log V 24 Sort ID list by vendor. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-16T20:54:47.634752Z K 7 svn:log V 104 Do not require payload data to be aligned. It is not mentioned in datasheet and works fine in practice. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-16T21:06:22.016515Z K 7 svn:log V 193 Vendor import of tzdata2009s: - Harmless typo in definitions of Antarctica/Davis - Fiji will go to DST between 29 November 2009 and 25 April 2010 Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-16T21:07:17.189881Z K 7 svn:log V 19 Tag of tzdata2009s END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-16T21:12:27.016193Z K 7 svn:log V 173 MFV of tzdata2009s, r199334 - Fix (harmless) typo in the definitions of Antarctica/David - Fiji will go into DST from 29 November 2009 to 25 April 2010. MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-16T21:47:12.369823Z K 7 svn:log V 23 Merge ACPICA 20091112. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-16T21:53:56.139632Z K 7 svn:log V 65 Add a forgotten module Makefile change from the previous commit. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2009-11-16T22:52:52.260227Z K 7 svn:log V 351 We should distinguish between a real truncated case and EOF after BZ_STREAM_END triggered re-init. Do it by introducing a new flag to represent the 'cold' case after bzip2 state is reinitialized. This fixes regression reported on -current@ as well as another one I found during twiddling with gzip. Reported by: swell.k gmail.com MFC after: 1 week END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T00:49:41.817390Z K 7 svn:log V 202 - Only mark a buffer as newly valid on read and write completion - add comments to arc_gbincore_replace - don't treat cloned buffers as the newly valid mapping - this eliminates the need for arc_binval END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-17T03:27:58.984688Z K 7 svn:log V 33 Use correct types in casuword32. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-17T03:37:24.371239Z K 7 svn:log V 174 Fix runq on 64-bit. Signal delivery is still broken, but init now comes up enough to complain about it on my iMac, and sysinstall lets me start to partition a disk in Mambo. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T04:59:43.884658Z K 7 svn:log V 85 only update the page cache when freeing the last buffer belonging to a buffer header END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T05:25:55.316224Z K 7 svn:log V 19 track flag changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T05:59:26.203164Z K 7 svn:log V 50 associate buf with vnode if none exists currently END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T06:32:56.945160Z K 7 svn:log V 53 don't bgetvp on a new buffer if the blkno is not set END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-17T06:47:28.442193Z K 7 svn:log V 78 - skip arc_bgetvp if blkno is 0 - set blkno and birth for newbp before brelse END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-17T07:01:49.725619Z K 7 svn:log V 376 Add the --delete-build-only option to delete ports that are only build dependencies which are installed on this run. To make that work split the "create a global list of build-only deps" feature out from --packages-build and enable PM_BUILD_ONLY_LIST if either option is chosen. This allows the --delete-build-only option to also work without any of the --packages* options. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-17T07:06:41.621392Z K 7 svn:log V 93 Fix typo. PR: 140615 Submitted by: Andrius Morkunas MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-17T07:21:27.907160Z K 7 svn:log V 52 Add the utf82unicode feature as requested by gabor@ END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-17T07:29:35.613154Z K 7 svn:log V 70 Fix small resource leak (memory). Reviewed by: gad MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-11-17T09:35:13.613562Z K 7 svn:log V 66 MFC r199015: ichwd: don't attach to isa pnp device(s) by accident END K 10 svn:author V 3 avg K 8 svn:date V 27 2009-11-17T09:37:43.679382Z K 7 svn:log V 66 MFC r199015: ichwd: don't attach to isa pnp device(s) by accident END K 10 svn:author V 3 bms K 8 svn:date V 27 2009-11-17T10:59:51.313342Z K 7 svn:log V 333 MFC r199287: Fix a functional regression in multicast. Userland daemons need to see IGMP traffic regardless of the group; omit the imo filter check if the proto is IGMP. The kernel part of IGMP will have already filtered appropriately at this point. Submitted by: Franz Struwig Reported by: Ivor Prebeg, Franz Struwig END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-17T11:39:15.787418Z K 7 svn:log V 1126 Among signal generation syscalls, only sigqueue(2) is allowed by POSIX to fail due to lack of resources to queue siginfo. Add KSI_SIGQ flag that allows sigqueue_add() to fail while trying to allocate memory for new siginfo. When the flag is not set, behaviour is the same as for KSI_TRAP: if memory cannot be allocated, set bit in sq_kill. KSI_TRAP is kept to preserve KBI. Add SI_KERNEL si_code, to be used in siginfo.si_code when signal is generated by kernel. Deliver siginfo when signal is generated by kill(2) family of syscalls (SI_USER with properly filled si_uid and si_pid), or by kernel (SI_KERNEL, mostly job control or SIGIO). Since KSI_SIGQ flag is not set for the ksi, low memory condition cause old behaviour. Keep psignal(9) KBI intact, but modify it to generate SI_KERNEL si_code. Pgsignal(9) and gsignal(9) now take ksi explicitely. Add pksignal(9) that behaves like psignal but takes ksi, and ddb kill command implemented as pksignal(..., ksi = NULL) to not do allocation while in debugger. While there, remove some register specifiers and use ANSI C prototypes. Reviewed by: davidxu MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-17T11:43:53.000580Z K 7 svn:log V 396 MFC r198853: If socket buffer space appears to be lower then sum of count of already prepared bytes and next portion of transfer, inner loop of kern_sendfile() aborts, not preparing next mbuf for socket buffer, and not modifying any outer loop invariants. The thread loops in the outer loop forever. Instead of breaking from inner loop, prepare only bytes that fit into the socket buffer space. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-17T11:46:55.320785Z K 7 svn:log V 93 MFC r199137: Detect the slashdot lookup for RENAME or REMOVE in lookup(), and return EINVAL. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-17T12:09:21.659226Z K 7 svn:log V 396 MFC r198853: If socket buffer space appears to be lower then sum of count of already prepared bytes and next portion of transfer, inner loop of kern_sendfile() aborts, not preparing next mbuf for socket buffer, and not modifying any outer loop invariants. The thread loops in the outer loop forever. Instead of breaking from inner loop, prepare only bytes that fit into the socket buffer space. END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-17T12:11:12.319886Z K 7 svn:log V 93 MFC r199137: Detect the slashdot lookup for RENAME or REMOVE in lookup(), and return EINVAL. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:18:14.452345Z K 7 svn:log V 78 MFC r198519: Don't ignore the return value of g_modevent() in acd_modevent(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:23:14.394986Z K 7 svn:log V 394 MFC r198582: Turn off use of ATA_A_4BIT on modern hardware. This flag was already obsoleted in 1996 by ATA-2, and crashes some modern hardware like some revisions of the Serverworks K2 SATA controller. Even very ancient hardware seems not to require it. In the unlikely event this causes problems, the previous behavior can be re-enabled by defining ATA_LEGACY_SUPPORT at the top of this file. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:25:34.022816Z K 7 svn:log V 136 MFC r198583: Add some magic taken from OS X and Linux to support early revision K2 SATA controllers, like those found on the G5 Xserve. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:30:06.762279Z K 7 svn:log V 39 MFC r199074: Add more ICH10 chip IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:42:27.654233Z K 7 svn:log V 89 MFC r197540, r198587, r198865: Add more defines for bits from ATA and CF specifications. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T12:57:10.480650Z K 7 svn:log V 161 Fix a LOR showing up with sctp_bsd_addr(): Do not hold a rt lock when calling rt_newaddrmsg(). Reviewed by: qingli Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T12:58:07.971936Z K 7 svn:log V 129 MFC r196897: Avoid extra swi_sched() call, if this SIM is already queued. It reduces overhead for coalesced command completions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T13:01:17.818224Z K 7 svn:log V 188 MFC r196898: Report scbusX in xpt_announce_periph() to less confuse users by two different bus addressing schemes. MFC r196900: s/bus %d/scbus%d/ in some messages to correct terminology. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T13:04:05.338906Z K 7 svn:log V 51 MFC r196901: Remove unneeded CAM_SIM_MPSAFE check. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:05:51.443138Z K 7 svn:log V 90 Do not hold the lock longer than necessary. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:08:15.195996Z K 7 svn:log V 128 Allow the UMA to free data. This resolves the UMA related bug reported by Julian. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:09:50.816086Z K 7 svn:log V 103 Disable (temporary) the thread based interator. It does not work with vnet. Approved by: rrs (mentor) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:11:23.015999Z K 7 svn:log V 147 Do not start the iterator when there are no associations. This fixes a bug found by Irene Ruengeler. Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:13:58.875146Z K 7 svn:log V 122 Fix a memory leak when destroying an SCTP stack. Clean up sctp_pcb_finish(). Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2009-11-17T13:36:21.271316Z K 7 svn:log V 133 Fix a bug where queued ASCONF messags are not sent out. Approved by: rrs (mentor) Obtained from: Irene Ruengeler MFC after: 1 month END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-17T13:37:27.754934Z K 7 svn:log V 51 MFC: r198952 Fix two memory leaks in error cases. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T13:48:27.003739Z K 7 svn:log V 118 MFC r196903: Remove duplicate qfrozen_cnt variable from struct cam_ed. ccbq.queue.qfrozen_cnt should be used instead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-17T14:08:42.090171Z K 7 svn:log V 39 Move mergeinfo for netinet6 up to sys. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-17T14:13:30.642765Z K 7 svn:log V 150 Use a private timer to run the statistics timer instead of (ab)using if_watchdog and if_timer. Tested by: WATANABE Kazuhiro CQG00620 of nifty.ne.jp END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T14:14:07.241796Z K 7 svn:log V 76 MFC r196983: Free the correct buffer in an error case. Submitted by: phk END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-17T14:23:09.600989Z K 7 svn:log V 589 Use a private callout timer to drive the transmit watchdog instead of using if_watchdog and if_timer. The driver already contained an optional stats timer that individual attachments could use to provide a 'tick' event. The stats timer only ran if the tick function pointer was non-NULL and the attachment's tick routine had to call callout_reset(), etc. Now the driver always schedules a stat timer and manages the callout_reset() internally. This timer is used to drive the watchdog and will also call the attachment's 'tick' handler if one is provided. Tested by: WATANABE Kazuhiro END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-17T14:30:09.693225Z K 7 svn:log V 408 MFC r198049: Immediately after clearing a pending callout that didn't make it due to the lock we hold, disable interrupts, and announce to the firmware that we are shutting down. Especially do this before disabling blocks. This makes some types of machines with asf enabled no longer hang upon boot, when we start configuring the interface. PR: i386/96382, kern/100410, kern/122252, kern/116328 END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T14:37:20.364232Z K 7 svn:log V 102 MFC r197421: If on sense request device returns no sence, give up and return, or we may loop forever. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-17T14:38:47.344296Z K 7 svn:log V 38 MFC r197541: Report SATA 3.x devices. END