‚™H76861 139 494 965 156 167 135 126 237 182 193 111 124 139 229 130 225 164 160 189 161 160 160 160 160 160 160 177 131 160 160 165 354 160 120 158 218 244 241 135 163 234 149 133 397 248 597 728 219 196 402 107 148 121 120 164 479 156 1141 1613 273 115 177 128 553 119 150 175 148 156 150 162 351 181 364 136 146 217 196 164 114 469 107 170 326 148 128 262 201 181 107 188 180 140 371 178 330 317 387 430 171 1068 143 235 866 523 595 554 1109 464 478 149 181 320 128 164 139 117 160 107 143 115 136 149 141 128 156 222 232 182 200 221 212 208 184 156 160 118 164 174 417 K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-19T23:18:21.000000Z K 7 svn:log V 400 Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mk to avoid polluting sys.mk. This directive controls the addition of compiler warning flags to CFLAGS in a relatively compiler-neutral manner. The idea is that WARNS can be set in Makefile.inc or in individual Makefiles as they become clean, to prevent the introduction of new warnings in the code. -Werror is added by default END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-19T23:24:17.000000Z K 7 svn:log V 871 (Previous commit was made prematurely before I could finish composing the log message) Bring in the WARNS directive from NetBSD, localized in a new bsd.sys.mk to avoid polluting sys.mk. This directive controls the addition of compiler warning flags to CFLAGS in a relatively compiler-neutral manner. The idea is that WARNS can be set in Makefile.inc or in individual Makefiles as they become clean, to prevent the introduction of new warnings in the code (-Werror is added by default when WARNS > 0). This behaviour can be overridden with the following two knobs: NO_WARNS disables the checking of WARNS completely NO_WERROR disables the addition of -Werror to the flags. Additionally, setting WFORMAT to 1 (in makefiles) and/or defining FORMAT_AUDIT (by the user) will enable increased checking of format string arguments. Obtained from: NetBSD Reviewed by: peter END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-19T23:32:19.000000Z K 7 svn:log V 63 Only add -Werror if in fact we have set WARNS or WFORMAT to >0 END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-05-20T00:12:06.000000Z K 7 svn:log V 72 Document ECONNREFUSED. Submitted by: Richard Hodges END K 10 svn:author V 6 archie K 8 svn:date V 27 2001-05-20T00:12:46.000000Z K 7 svn:log V 40 MFC: (rev. 1.13) document ECONNREFUSED. END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T03:07:21.000000Z K 7 svn:log V 33 Initial import of OpenSSL 0.9.6a END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T03:07:21.000000Z K 7 svn:log V 143 This commit was generated by cvs2svn to compensate for changes in r76866, which included commits to RCS files with non-trunk default branches. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2001-05-20T03:07:22.000000Z K 7 svn:log V 86 This commit was manufactured by cvs2svn to create tag 'openssl-vendor-crypto-v0_9_6a'. END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2001-05-20T03:12:55.000000Z K 7 svn:log V 98 Add SmartLink 5634PCV SurfRider PR: kern/26952 Submitted by: Simon Dick END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T03:17:35.000000Z K 7 svn:log V 18 Resolve conflicts END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T03:24:24.000000Z K 7 svn:log V 31 Make this compile with WARNS=2 END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T03:43:14.000000Z K 7 svn:log V 46 Update for OpenSSL 0.9.6a MFC after: 2 weeks END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T04:12:30.000000Z K 7 svn:log V 135 BDECFLAGS cleanup (modulo long long issues). Add WARNS. Tested on alpha. Reviewed by: the great man himself (except alpha cleanups) END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T04:37:28.000000Z K 7 svn:log V 37 Make this pass WARNS=2 and BDECFLAGS END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T04:47:55.000000Z K 7 svn:log V 131 Silence warnings on alpha. Unfortunately we can't add WARNS to this because of that stupid mode_t warning bug. MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T04:52:37.000000Z K 7 svn:log V 71 Silence WARNS=2 and BDECFLAGS on the i386 and alpha MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T04:54:15.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on i386 and alpha MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:00:16.000000Z K 7 svn:log V 96 Silence WARNS=2 and BDECFLAGS on alpha and i386, except for mode_t warnings. MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:01:48.000000Z K 7 svn:log V 68 Silence WARNS=2 and BDECFLAGS on i386 and alpha. MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:10:04.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:13:21.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:25:37.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:33:53.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:37:46.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:44:03.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T05:49:20.000000Z K 7 svn:log V 84 Silence WARNS=2 and BDECFLAGS except for stupid mode_t warnings. MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T06:15:09.000000Z K 7 svn:log V 38 This passes WARNS=2 on alpha and i386 END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T06:16:53.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC After: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T06:18:37.000000Z K 7 svn:log V 67 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 4 kris K 8 svn:date V 27 2001-05-20T06:21:12.000000Z K 7 svn:log V 72 Silence WARNS=2 and BDECFLAGS on alpha and i386 MFC after: 1 week END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-05-20T10:01:39.000000Z K 7 svn:log V 256 Add a flag to "ipfw show" which supresses the display of dynamic rules. Also, don't show dynamic rules if you only asked to see a certain rule number. PR: 18550 Submitted by: Lyndon Nerenberg Approved by: luigi MFC after: 2 weeks END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-05-20T11:33:12.000000Z K 7 svn:log V 64 - Fix markup; - add nik into Authors section. Submitted by: ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-20T11:39:53.000000Z K 7 svn:log V 29 Spell FreeBSD.org correctly. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-20T11:45:36.000000Z K 7 svn:log V 67 MFC: 1.36 (fix for an off-by-hour bug when crossing DST boundary). END K 10 svn:author V 7 iedowse K 8 svn:date V 27 2001-05-20T12:11:57.000000Z K 7 svn:log V 121 MFC: 1.41; avoid a NULL-pointer dereference in lookup() that could occur after a filesystem had been forcibly unmounted. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-20T12:14:17.000000Z K 7 svn:log V 152 Fixed `objwarn' so that it doesn't issue spurious warnings, especially now that ${.OBJDIR} is canonicalized by make(1). Urged by: bde Reviewed by: bde END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2001-05-20T12:17:31.000000Z K 7 svn:log V 144 - Sort usage() output; - sync usage() with reality and manpage; - display usage() even if terminal is not a syscons. Submitted by: ru, sobomax END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-20T12:45:53.000000Z K 7 svn:log V 44 Removed -I${.CURDIR}/../../sys from CFLAGS. END K 10 svn:author V 8 sumikawa K 8 svn:date V 27 2001-05-20T15:33:46.000000Z K 7 svn:log V 66 Plug memoly leak in overlaps fragment cases. Obtained from: KAME END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2001-05-20T15:59:55.000000Z K 7 svn:log V 136 Update softdep_setup_directory_add prototype to reflect changes in actual function. Obtained from: Jim Bloom END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-20T16:22:46.000000Z K 7 svn:log V 52 fix alpha-MD compile errors after the vm_mtx commit END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-20T16:41:37.000000Z K 7 svn:log V 36 fix vm_mtx related compiler warning END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-20T16:51:08.000000Z K 7 svn:log V 304 Use a critical region to protect saving of the npx state in savectx(). Not doing this was fairly harmless because savectx() is only called for panic dumps and the bug could at worse reset the state. savectx() is still missing saving of (volatile) debug registers, and still isn't called for core dumps. END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-20T17:01:20.000000Z K 7 svn:log V 155 Use a critical region to protect pushing of curproc's npx state to curpcb in vm86_bioscall(). I don't know if the state is ever in the npx at that point. END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-20T18:05:44.000000Z K 7 svn:log V 504 Use a critical region to protect almost everything in npxinit(). npxinit() didn't have the usual race because it doesn't save to curpcb, but it may have had a worse form of it since it uses the npx when it doesn't "own" it. I'm not sure if locking prevented this. npxinit() is normally caled with the proc lock but not sched_lock. Use a critical region to protect pushing of curproc's npx state to curpcb in npxexit(). Not doing so was harmless since it at worst saved a wrong state to a dieing pcb. END K 10 svn:author V 3 bde K 8 svn:date V 27 2001-05-20T20:04:40.000000Z K 7 svn:log V 635 Throw away the complications in npxsave() and their infrastructure. npxsave() went to great lengths to excecute fnsave with interrupts enabled in case executing it froze the CPU. This case can't happen, at least for Intel CPU/NPX's. Spurious IRQ13's don't imply spurious freezes. Anyway, the complications were usually no-ops because IRQ13 is not used on i486's and newer CPUs, and because SMPng broke them in rev.1.84. Forcible enabling of interrupts was changed to write_eflags(old_eflags), but since SMPng usually calls npxsave() from cpu_switch() with interrupts disabled, write_eflags() usually just kept interrupts disabled. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-20T20:32:13.000000Z K 7 svn:log V 127 Print commas in the group list in user(). current() already did this. Reviewed by: ru, sheldonh Inspired by: OpenBSD, NetBSD END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-20T20:37:47.000000Z K 7 svn:log V 100 Aquire vm mutex when releasing sysv shm segments. Obtained from: Dima Dorfman END K 10 svn:author V 6 jasone K 8 svn:date V 27 2001-05-20T23:08:33.000000Z K 7 svn:log V 306 Instead of using a join queue for each thread, use a single pointer to keep track of a joiner. POSIX only supports a single joiner, so this simplification is acceptable. At the same time, make sure to mark a joined thread as detached so that its resources can be freed. Reviewed by: deischen PR: 24345 END K 10 svn:author V 6 jasone K 8 svn:date V 27 2001-05-20T23:10:30.000000Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2001-05-20T23:11:09.000000Z K 7 svn:log V 53 Don't define _REENTRANT, since the Makefile does so. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2001-05-20T23:11:54.000000Z K 7 svn:log V 26 Update the verify script. END K 10 svn:author V 6 jasone K 8 svn:date V 27 2001-05-20T23:12:13.000000Z K 7 svn:log V 25 Add a test for PR 24345. END K 10 svn:author V 7 cvs2svn K 8 svn:date V 27 2001-05-20T23:12:14.000000Z K 7 svn:log V 68 This commit was manufactured by cvs2svn to create branch 'RELENG_4'. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T00:55:44.000000Z K 7 svn:log V 386 Two comments and one bug fix: o Add defines for the VS[12]# bits in register 0x16. o Add comment about what we're doing reading register 0x16 (PCIC_CDGC) in the DF case. o Check bit VS1# rather than a random bit I was checking due to a bogus transcrition on my part from nakagawa-san's article. o Add note about IBM KING and 3.3V operation from information larned from wildboard. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2001-05-21T01:24:14.000000Z K 7 svn:log V 59 Add description for 82801BA controller. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T03:22:52.000000Z K 7 svn:log V 1047 Next step towards pcic_pci: the ability to allocate mapped memory in attach. o Introduce flags word to the softc. This will be used to control various aspects of the driver. Right now there are two bits defined, PCIC_IO_MAPPED and PCIC_MEM_MAPPED. One for ISA cards that are I/O mapped, the other is for PCI cards that are memory mapped. Only the ISA side is implemented with this commit. o Introduce a pcic_dealloc which will cleanly dealloc resources used. Right now it is only supported when called from probe/attach. o Keep track of resources allocated in the pcic_softc. o move pcictimeout_ch to the softc so we can support multiple devices in polling mode. o In ISA probe, set PCIC_IO_MAPPED. o Introduce and compute the slot mask. This will be used later when we expand the number of slots on ISA from 2 to 4. In such a case, we appear to have to use polling mode otherwise we get two different cards trying to drive the same interrupt line. I don't have hardware to test this configuration, so I'll stop here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T04:44:14.000000Z K 7 svn:log V 1519 Next step on the road to pci: power taming. Work through the various power commands and convert them from a "is this a foo controller or a foo' controller or a foo''' controller" to a cabability based scheme. We have bits in the softc that tell us what kind of power control scheme the controller uses, rather than relying on being able to enumerate them all. Cardbus bridges are numerous, but nearly all implement the i82365sl-DF scheme (well, a few implement cirrus CL-PD67xx, but those were made by Cirrus Logic!). Add a pointer back to the softc in each pcic_slot so we can access these flags. Add comments that talk about the issues here. Also note in passing that there are two differ Vpp schemes in use and that we may need to adjust the code to deal with both of them. Note why it usually works now. We have 5 power management modes right now: KING, AB, DF, PD and VG. AB is for the i82365 stpes A, B and C. DF is for step DF. PD is the cirrus logic extensions for 3.3V while VG is the VADEM extensions for 3.3V. KING is for the IBM KING controller found on some old cards. # I'm looking for one of those old cards or a laptop that has the KING # bridge in it. We have to still cheat and treat the AB parts like the DF parts because pci isn't here yet. As far as I can tell, this is harmless for actual old parts and necessary to work with 3.3V cards in some laptops. This almost eliminates all tests for controller in the code. There are still a few unrelated to power that need taming as well. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T05:49:15.000000Z K 7 svn:log V 180 Move setting of Vcc bit to before the vcc switch statement. The datasheets I have seem to indicate that generally this bit is viewed as a toggle. Correct comments to match code. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-21T07:01:44.000000Z K 7 svn:log V 24 MFC: m_getm() function. END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T07:32:46.000000Z K 7 svn:log V 85 Move allocation of ExCA registers from the base driver into the bus attachment code. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-21T08:28:07.000000Z K 7 svn:log V 37 MFC: kernel side of iconv interface. END K 10 svn:author V 2 hm K 8 svn:date V 27 2001-05-21T09:24:48.000000Z K 7 svn:log V 461 Submitted by: Juha-Matti Liukkonen, Cubical Solutions Ltd (jml@cubical.fi) Reviewed by: hm Bug in i4btel driver read routine corrected. The conditions in the while() clause caused the receive queue to be referenced before checking if a channel is connected, leading to kernel panic (do a 'dd if=/dev/i4btel0 of=/dev/null' on an unconnected tel device, panic will follow). Correction was to reorder the while clause conditions to check for connectedness first. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-21T09:47:00.000000Z K 7 svn:log V 28 MFC: VI_LOCK/UNLOCK macros. END K 10 svn:author V 3 ume K 8 svn:date V 27 2001-05-21T10:05:36.000000Z K 7 svn:log V 58 Correct error message of an example. Obtained from: KAME END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-21T11:25:58.000000Z K 7 svn:log V 82 Added pc98 note menu. Submitted by: Nobuyuki Koganemaru END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-21T11:49:21.000000Z K 7 svn:log V 55 Merged from sys/boot/i386/btx/btx/btx.s revision 1.24. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-21T11:57:54.000000Z K 7 svn:log V 63 Merged from sys/i386/i386/machdep.c revisions 1.452 and 1.453. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-21T12:20:22.000000Z K 7 svn:log V 57 Merged from sys/i386/isa/npx.c revisions 1.99 and 1.100. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-21T12:37:04.000000Z K 7 svn:log V 71 Get rid of LSYMSUBDIRS by merely setting up symlinks to LNOHEADERDIRS. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2001-05-21T12:51:44.000000Z K 7 svn:log V 257 Update pc98 memory probe functions. - pc98_getmemsize() function returns available memory size under 16MB. - getmemsize() function is merged from PC-AT's one. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and NOKUBI Hirotaka END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-21T16:04:24.000000Z K 7 svn:log V 84 catch these files up to their i386 neighbors to make alpha boot prior to the vm_mtx END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2001-05-21T16:09:29.000000Z K 7 svn:log V 266 Change pmap_emulate_reference() so that it only touches the vm_page flags if it is safe to do so, otherwise it will just alter the pmap state (eg, clear the appropriate PG_FOx bits). This gets alpha booting in the face of the vm_mtx introduction. Reviewed by: dfr END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-21T16:27:20.000000Z K 7 svn:log V 45 MFC: 1.1 -> 1.3 (except M_WAIT -> M_TRYWAIT) END K 10 svn:author V 3 imp K 8 svn:date V 27 2001-05-21T16:40:50.000000Z K 7 svn:log V 54 Add note about pccard rototill and swapping breakage. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-21T17:06:26.000000Z K 7 svn:log V 125 Work around the side effect of src/include/Makefile,v 1.137 changes. (The proper fix is to add missing #include directives.) END K 10 svn:author V 3 phk K 8 svn:date V 27 2001-05-21T17:32:47.000000Z K 7 svn:log V 103 syslog.h fails to compile with -Wwrite-strings PR: 27492 Submitted by: Alexey V. Neyman END K 10 svn:author V 4 bmah K 8 svn:date V 27 2001-05-21T18:15:01.000000Z K 7 svn:log V 71 Update comment: We don't use vn(4) anymore in -CURRENT, we use md(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-21T18:30:50.000000Z K 7 svn:log V 22 Axe unneeded spl()'s. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-21T18:47:17.000000Z K 7 svn:log V 376 - Assert that the vm mutex is held in pipe_free_kmem(). - Don't release the vm mutex early in pipespace() but instead hold it across vm_object_deallocate() if vm_map_find() returns an error and across pipe_free_kmem() if vm_map_find() succeeds. - Add a XXX above a zfree() since zalloc already has its own locking, one would hope that zfree() wouldn't need the vm lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-21T18:52:02.000000Z K 7 svn:log V 15 Sort includes. END K 10 svn:author V 5 guido K 8 svn:date V 27 2001-05-21T20:19:59.000000Z K 7 svn:log V 76 Disable SIGHUP while getting the login name. Reviewed by: security-officer END K 10 svn:author V 3 dcs K 8 svn:date V 27 2001-05-21T21:30:45.000000Z K 7 svn:log V 233 s/Cthulu/Cthulhu/ Alas, the first one is a repeat in a slightly different format and ought to be removed (or the other copy). I'll leave that to more enterprising souls, though (Cthulhu loves enterprising souls). MFC after: 3 days END K 10 svn:author V 8 dwmalone K 8 svn:date V 27 2001-05-21T22:13:55.000000Z K 7 svn:log V 51 Fix constness warning introduced in syslog.h 1.21. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-21T23:19:50.000000Z K 7 svn:log V 36 Sort includes from previous commit. END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T00:05:48.000000Z K 7 svn:log V 170 Introduce a background_fsck rc.conf option which allows the user to enable or disable background fsck'ing all in one shot. Default is currently 'YES'. Reviewed by: jkh END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T00:09:26.000000Z K 7 svn:log V 108 Remove a few more spl's I missed earlier. Reported by: Michael Harnois Pointy hat: me END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T00:29:42.000000Z K 7 svn:log V 90 Fix a grammar nit. PR: 27520 Submitted by: Michael Lucas END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T00:56:25.000000Z K 7 svn:log V 15 Sort includes. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2001-05-22T00:58:20.000000Z K 7 svn:log V 93 Remove KASSERT test for sleeping on mv_mtx, instead let WITNESS catch it. Requested by: jhb END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T01:41:12.000000Z K 7 svn:log V 87 New file containing definitions for separate views of objects for userland and kernel. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-22T02:06:43.000000Z K 7 svn:log V 49 MFC: rev 1.56 - MFS should know about every VOP. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:28:55.000000Z K 7 svn:log V 277 Add xferinfo flag bit for copied buffers. Create a new struct rangelockinfo. In revision 1.21 of vinumlock.c, the plex info was removed from struct rangelock, since it wasn't needed there. It *is* needed for trace information, however, so use struct rangelockinfo for that. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:29:15.000000Z K 7 svn:log V 85 free_vinum: Change some explicit struct member references to the SD, PLEX and VOL. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:29:54.000000Z K 7 svn:log V 236 config_sd: Add code to recognize "retryerrors" keyword. config_plex: Don't create the device until we're finished. parse_config: check for corrupted configuration, thus avoiding a potential panic. remove_sd_entry: Restore structure. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:30:44.000000Z K 7 svn:log V 223 Remove unnecessary declarations of userland functions. Desired by: bde This commit is the first of a general cleanup of the header files.. It won't be enough to make bde happy. Move debug definitions from vinumhdr.h. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:31:08.000000Z K 7 svn:log V 293 complete_rqe: In case of error, check the VF_RETRYERRORS flag in the subdisk and don't take the subdisk down if it's set, just retry the I/O. Requested by: peter If the buffer has been copied (XFR_COPYBUF), release the copied buffer when the I/O completes. Suggested by: alfred END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:32:22.000000Z K 7 svn:log V 336 format_config: Replace long format lines. Requested by: bde Add retryerrors keyword. vinum_scandisk: Print a different message if an inadvertent start command did not find any additional drives. The previous message "no drives found" confused and worried many people. MFS: vinum_open: Recognize Mylex devices as storage devices. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:33:32.000000Z K 7 svn:log V 78 Change ioctls to use the expurgated userland version of the Vinum structures. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:34:30.000000Z K 7 svn:log V 974 Add a new debug flag, DEBUG_LOCKREQS, which logs only lock requests. Use this instead of DEBUG_LASTREQS to decide whether to log lock requests. MFS: vinumlock: Catch a potential race condition where one process is waiting for a lock, and between the time it is woken and it retries the lock, another process gets it and places it in the first entry in the table. This problem has not been observed, but it's possible, and it's easy enough to fix. Submitted by: tegge vinumunlock: Catch a real bug capable of hanging a system. When releasing a lock, vinumunlock() called wakeup_one. This caused wakeups to sometimes get lost. After due consideration, we think that this is due to the fact that you can't guarantee that some other process is also waiting on the same address. This makes wakeup_one a very dangerous function to use. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:35:19.000000Z K 7 svn:log V 50 Cosmetics: wrap long lines to be < 80 characters. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:35:57.000000Z K 7 svn:log V 141 tokenize: Take third parameter specifying the maximum number of parameters to return. This code is used both in userland and in the kernel. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:36:47.000000Z K 7 svn:log V 772 vinumstart: If a write request is for a RAID-[45] plex or a volume with more than one plex, the data will be accessed multiple times. During this time, userland code could potentially modify the buffer, thus causing data corruption. In the case of a multi-plexed volume this might be cosmetic, but in the case of a RAID-[45] plex it can cause severe data corruption which only becomes evident after a drive failure. Avoid this situation by making a copy of the data buffer before using it. Note that this solution does not guarantee any particular content of the buffer, just that it remains unchanged for the duration of the request. Suggested by: alfred END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:37:28.000000Z K 7 svn:log V 429 Add a field 'version' to vinum_conf. This field is a constant which gets incremented every time the kernel-userland interface changes. This enables vinum(8) to check for the correct kernel version and to produce a useful message if it doesn't match. Requested by: Too many to count. Move the definitions of struct drive, sd, plex and volume to vinumobj.h. Add a new debug flag, DEBUG_LOCKREQS, which logs only lock requests. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:38:11.000000Z K 7 svn:log V 501 Tidy up header files. Don't include stuff we don't need. Remove 'vinum_perror'. Only call make_devices if we're not running devfs. Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Update help list, which was lagging behind reality. checkupdates: move to list.c to simplify header file mess. vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5: change the default stripe size from 256 k to 279 k, thus hopefully spreading superblocks more evenly. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:38:52.000000Z K 7 svn:log V 460 Tidy up header files. Don't include stuff we don't need. Remove vinum_perror. Modify 'list' brief printout to fit in 80 columns. Modify 'ls' brief printout to show the drive to which the subdisk before instead of the plex offset, which is usually less interesting. The verbose printout remains unchanged. Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Move checkupdates here to simplify header file mess. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:39:24.000000Z K 7 svn:log V 1014 Tidy up header files. Don't include stuff we don't need. Use userland expurgated versions of kernel structures, since that's what the ioctls return now. Remove vinum_perror. main: Check kernel version with userland version in _vinum_conf. This field is a constant which gets incremented every time the kernel-userland interface changes. This enables vinum(8) to check for the correct kernel version and to produce a useful message if it doesn't match. For previous versions, which don't have a version number, the length of the structure is different, so we can recognize it via the EINVAL return from ioctl. Supply count parameter to tokenize(). Change method of recognizing active devfs: replace devfs_is_active with (complemented) no_devfs. make_devices: remove references to devfs. If we're running devfs, we don't need to call make_devices at all. vinum_makedev (user command 'makedev'): Print a warning message if devfs is running and don't do anything else. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:39:48.000000Z K 7 svn:log V 370 Major tidy up. Add explicit header files, thus enabling the .c files to avoid including the kernel headers. Move a number of definitions of userland functions from dev/vinum/vinumext.h. Desired by: bde This commit is the first of a general cleanup of the header files.. It won't be enough to make bde happy. Remove vinum_perror and associated DEVBUG definition. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T02:40:40.000000Z K 7 svn:log V 384 Update description of the stripe size created by vinum_stripe, vinum_mirror, vinum_raid4, vinum_raid5. Correct typos. Show new output of the 'list' and 'ls' commands. Update examples to use 279 kB stripe sizes instead of 256 kB. Clarify some text. Remove the description of the 'invalid ioctl' messages which now no longer occur. Add a description of the 'retryerrors' keyword. END K 10 svn:author V 4 eric K 8 svn:date V 27 2001-05-22T03:09:11.000000Z K 7 svn:log V 56 MFC: add some gravitational values Approved by: murray END K 10 svn:author V 4 eric K 8 svn:date V 27 2001-05-22T03:13:48.000000Z K 7 svn:log V 88 MFC: check for account and password expiration in the proper order Approved by: murray END K 10 svn:author V 2 dd K 8 svn:date V 27 2001-05-22T03:56:26.000000Z K 7 svn:log V 228 Correct the vm_mtx handling; specifically, don't acquire it in shm_deallocate_segment because shmexit_myhook calls it, and the latter should always be called with it already held. Submitted by: dwmalone, dd Approved by: alfred END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T05:35:45.000000Z K 7 svn:log V 36 Sort includes from previous commit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T06:07:36.000000Z K 7 svn:log V 72 Unlock the VM lock at the end of munlock() instead of locking it again. END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T06:08:52.000000Z K 7 svn:log V 46 Remove Malloc definitions (now in vinumext.h) END K 10 svn:author V 4 grog K 8 svn:date V 27 2001-05-22T06:12:47.000000Z K 7 svn:log V 24 Add vinumobj.h to SRCS. END K 10 svn:author V 4 eric K 8 svn:date V 27 2001-05-22T06:20:27.000000Z K 7 svn:log V 67 Remove an accidentaly added extra blank line. Approved by: murray END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T07:01:11.000000Z K 7 svn:log V 15 Sort includes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-22T07:05:39.000000Z K 7 svn:log V 52 mdoc(7) police: fix markup. Submitted by: roam, ru END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-22T07:06:52.000000Z K 7 svn:log V 24 MFC: 1.17 (fix markup). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2001-05-22T07:21:46.000000Z K 7 svn:log V 44 Remove duplicate include and sort includes. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-22T08:32:13.000000Z K 7 svn:log V 58 Hide UNION in opt_dontuse.h (see vfs_syscalls.c,v 1.109). END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-22T08:32:34.000000Z K 7 svn:log V 50 MFC: Add SMB/CIFS protocol and smbfs file system. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-22T08:52:58.000000Z K 7 svn:log V 37 Add fs/smbfs and netncp directories. END K 10 svn:author V 2 bp K 8 svn:date V 27 2001-05-22T09:03:27.000000Z K 7 svn:log V 65 MFC: include directories for netsmb and smbfs. Submitted by: ru END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-22T09:03:30.000000Z K 7 svn:log V 127 If we don't receive a TY_IPADDR option as part of a configure request, NAK as if we received one with 0.0.0.0 as the argument. END K 10 svn:author V 5 brian K 8 svn:date V 27 2001-05-22T09:04:31.000000Z K 7 svn:log V 137 MFC: If we don't receive a TY_IPADDR option as part of a configure request, NAK as if we received one with 0.0.0.0 as the argument. END K 10 svn:author V 2 ru K 8 svn:date V 27 2001-05-22T10:33:43.000000Z K 7 svn:log V 91 Fix argument processing. Make this compile with WARNS=2. PR: bin/27524 MFC after: 3 days END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:28:28.000000Z K 7 svn:log V 108 Fix DOS function 4c (exit with return code). PR: 15528 Submitted by: Atushi Sakauchi END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:29:31.000000Z K 7 svn:log V 129 DOS function 0x0a (buffered keyboard input) returned immediately. PR: 15531 Submitted by: Atushi Sakauchi END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:30:22.000000Z K 7 svn:log V 120 Correct typo to get DOS function 0x51 (get PSP) to work. PR: 15547 Submitted by: Atushi Sakauchi END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:31:08.000000Z K 7 svn:log V 116 Implement file truncation (DOS function 0x21, sub 0x40). PR: 20925 Submitted by: Tatsuya Kudoh END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:31:39.000000Z K 7 svn:log V 93 Fix boot order (really try A:, then C:, unless the `boot' option is specified in .doscmdrc). END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:32:15.000000Z K 7 svn:log V 65 Silence some debugging output when installing Borland's Turbo C. END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:32:38.000000Z K 7 svn:log V 69 Fix slice handling. Add 6 (`big' DOS partition) as a legal systemID. END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:33:17.000000Z K 7 svn:log V 27 Beautify debugging output. END K 10 svn:author V 2 tg K 8 svn:date V 27 2001-05-22T11:33:38.000000Z K 7 svn:log V 73 Update BIOS time. Submitted by: Igor Serikov END K 10 svn:author V 6 olgeni K 8 svn:date V 27 2001-05-22T12:01:52.000000Z K 7 svn:log V 79 Sort the package lists to make tracking changes easier. No functional changes. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2001-05-22T12:37:50.000000Z K 7 svn:log V 322 Include the Power Control page (0x1a) that is standardized by SCSI-3. At least some IBM drives support the Standby Condition Timer (i. e. they allow for an automatic spindown). Update copyright for 2001. I don't want to insert my name for just one mode page definition, do people think that `The FreeBSD Project' is OK? END