summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24following up on a discussion with theo, read(2) as much as possible at onceHenning Brauer
and process the bgp messages after each other out of that big buffer. gives a nice speedup, easier code and earlier connection close detection.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24Murphy's law applied to BSD:Miod Vallat
Every non-KNF file in the source tree contains at least one severe bug. KNF and a timid start at cleaning, but not very far, so there is no functional change at the moment. This code is still pathetic for now, but it sorta works and the price was right.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24EAGAIN can't happen here anymoreHenning Brauer
2003-12-24no O_NONBLOCK for routing and tcp sockets, theoHenning Brauer
2003-12-24+bgpd.confHenning Brauer
2003-12-24connect bgpd to the build, ok deraadt@Henning Brauer
at this point in development, bgpd establishes connections to neighbors fine and does all the session handling as desired, processes the announcements it gets from its neighbors, runs the decision process and enters the routes to the kernel routing table. they are also updated as needed and cleaned up on exit. bgpd does not yet have the ability to announce anything, or send outgoing UPDATE messages in general, nor does it have a filter language yet.
2003-12-24Fix bound checks for gecos field, taking into account it may containOtto Moerbeek
multiple '&'s. Resolves PR 3616. ok deraadt@
2003-12-24now that the main process can cleanup without RDE's help, we do not need theHenning Brauer
somewhat fragile IMSG_SHUTDOWN_* stuff any more. speeds shutdown up enourmously. ok claudio@
2003-12-24now that we keep track of the routes we added to the kernel we can removeHenning Brauer
them easily on shutdown without the RDE's help
2003-12-24Update protocol number and multicast group to match reality.Ryan Thomas McBride
Pointed out by Jorge Severino (jorge at netsecure dot cl)
2003-12-24keep track of the routes we inserted to the kernelHenning Brauer
do only ever delete those, and no others
2003-12-24slightly more helpfull error msgsHenning Brauer
2003-12-24add log_kroute()Henning Brauer
2003-12-24In the never-ending story of *setjmp bugs, fix a typo preventingMiod Vallat
sigsetjmp(foo, !0) to work. Sigh.
2003-12-24sync & pre-syncTheo de Raadt
2003-12-24Since we have real bus error faults, and handle them as such, always treatMiod Vallat
uvm_fault() returning EACCES as a segmentation fault rather than a bus error, whatever address the fault is at. As a result, this correctly delivers SIGSEGV, rather than SIGBUS, when attempting to write to a page with only PROT_READ permissions.
2003-12-24syncTodd T. Fries
2003-12-24additional camera device; ok deraadt@Todd T. Fries
2003-12-24add sample bgpd.conf, not yet connectedHenning Brauer
requested by theo
2003-12-24local-addr, not local-address.Henning Brauer
it's better when documentation and code agree on the keyword...
2003-12-24add option to not touch the kernel routing tableHenning Brauer
2003-12-24handle write() returning 0 correctly, adjust the msgbuf API appropriately,Henning Brauer
and make all callers cope.
2003-12-24Make error message more informative by showing bad value that causedKenneth R Westerback
the error to be emitted. ok miod@.
2003-12-24typos in comments, from jaredHenning Brauer
2003-12-24typos from jaredHenning Brauer
apparently these were already fixed in the diff jmc@ sent me and I somehow screwed up when getting it in - sorry.
2003-12-24setperf and cpuspeed support; ok deraadt@Markus Friedl
2003-12-24cpu_cpuspeed has a proper external def, remove this one, suggested by teduDale Rahn
2003-12-24Handle mount entries without options.Marc Espie
Found and tested by our ubiquitous afs user, Bob Beck.
2003-12-24kill unused defineMichael Shalayeff
2003-12-24support cpu_cpuspeed on macppc.Dale Rahn
2003-12-23provide cpuspeed fluffMichael Shalayeff
2003-12-23Data access faults occuring inside copyin() or copyinstr() would getMiod Vallat
treated as usermode traps, because they reference a user space address. However, the tests for pcb_onfault being set were only present in the kernelmode traps handling. Since pcb_onfault is only set in those functions, move the associated recovery code from the kernelmode part to the usermode part, and only attempt to jump to pcb_onfault() if the access could not be resolved by uvm_fault() earlier. This lets things like setlogin(NULL) correctly return EFAULT, rather than killing the process with SIGSEGV, and incidentally lets sendmail in a non-default configuration run.
2003-12-23make it a righteous print of the bootpath (tail gravity it has that is)Michael Shalayeff
2003-12-23bump minorBrad Smith
2003-12-23Add stub implementations of pthread_[gs]etconcurrencyBrad Smith
From: FreeBSD' libc_r ok marc@
2003-12-23recognize several more wi@usb devices.Dale Rahn
2003-12-23syncDale Rahn
2003-12-23Addional wi@usb devices. ok deraadt@Dale Rahn
2003-12-23TpyoMiod Vallat
2003-12-23do not panic if there is no IPL_IMPMichael Shalayeff
2003-12-23change the variable name used for status checking,Brad Smith
LIBC_R_DEBUG -> LIBPTHREAD_DEBUG ok marc@
2003-12-23Use getopt(3) correctly.Miod Vallat
2003-12-23Based upon a freebsd change:Marco S Hyman
If an application closes one of its stdio descriptors (0..2), an excessive close() on one of these descriptors would cause a memory for this descriptor to be allocated in the internal descriptor table. When this descriptor gets used again, e.g. through the call to open() or socket(), the descriptor would be erroneously left in the blocking mode, and the whole application would get stuck on a blocking operation, e.g., in accept(2). but changed to not eat fds when a file that the thread kernel doesn't know about is closed.
2003-12-23add cpu_setperf and cpu_cpuspeed externs to make life easier.Ted Unangst
2003-12-23- uppercase idJason McIntyre
- kill some .Pp's before and after a list
2003-12-23Make accept(), connect(), recvfrom(), recvmsg(), sendmsg(),Brad Smith
and sendto() cancellation points, as required by POSIX.1-2001. From: FreeBSD' libc_r ok marc@