Commit Graph

38420 Commits

Author SHA1 Message Date
Tor Egge
23fc6cddce Close a race window where a tcp socket is closed while tcp_pcblist is
copying out tcp socket info, causing a NULL pointer to be dereferenced.
1999-06-16 19:05:17 +00:00
Dmitrij Tejblum
9a56b5f763 Make syscall tracing work: include "opt_ktrace.h" and make it compile. 1999-06-16 18:55:35 +00:00
Dmitrij Tejblum
7a6ec4cfb2 Syscall arguments are now properly aligned. Print them, and syscall return
values, as longs, instead of int.
1999-06-16 18:46:40 +00:00
Dmitrij Tejblum
71ddfdbbd5 Make sure syscall arguments properly aligned in ktrace records.
Make syscall return value a register_t.

Based on a patch from Hidetoshi Shimokawa.
Mostly reviewed by:	Hidetoshi Shimokawa and Bruce Evans.
1999-06-16 18:37:01 +00:00
Matt Jacob
233d9cfce2 Use vput instead of vrele.
Reviewed by:	Matthew Dillon <dillon@apollo.backplane.com>
Submitted by:	Ville-Pertti Keinonen <will@iki.fi>
Obtained from:	Matthew Dillon <dillon@apollo.backplane.com>
1999-06-16 18:35:58 +00:00
Nick Hibma
f06b2abff3 Remove option USBVERBOSE
Add the options for debugging used in dev/usb/*.c

Submitted by:	Kazu
1999-06-16 17:34:36 +00:00
Bill Paul
05222a2c7d Grrr! The PNIC II's multicast hash table is only 128 bits wide, not 512
like the original PNIC and the MX98715A (from which the PNIC II is derived).
This requires special handling. Save the card type, and in mx_calchash(),
if we see that the card is a PNIC, return only the low 7 bits of the
hash instead of the low 9 bits.
1999-06-16 16:27:30 +00:00
David Greenman
cd3fe8d008 Changed trypbuf to a getpbuf to work around a problem where redundant writes
would occur when clustering them - caused by running out of buffers
and taking a degenerate code path as a result. It appears that waiting
instead for buffers to become available is okay.

Submitted by:	Matthew Dillon <dillon@apollo.backplane.com>
Discovered by: Craig A Soules <soules+@andrew.cmu.edu>
1999-06-16 15:54:30 +00:00
Ruslan Ermilov
ec5035fa0b Add "-s src_addr" option to allow setting of the source IP address. 1999-06-16 15:26:22 +00:00
Kazutaka YOKOTA
5c539f036d Print verbose messages when there is error.
Oked by: des
1999-06-16 14:04:45 +00:00
Bill Fumerola
73568d2bf1 Fix non-benign typo.
Submitted by:	Daniel Baker <dbaker@cuckoo.com>
1999-06-16 12:26:40 +00:00
Tor Egge
a31bad69da Clean up bitrot in interrupt tracing code. 1999-06-16 03:53:52 +00:00
Tor Egge
01cf8ad024 If we still haven't got a sufficient number of free buffers after the
call to flushdirtybuffers() then sleep in waitfreebuffers().
PR:		11697
Reviewed by:	David Greenman, Matt Dillon
1999-06-16 03:19:04 +00:00
Kirk McKusick
e4ab40bcb6 Get rid of the global variable rushjob and replace it with a function in
kern/vfs_subr.c named speedup_syncer() which handles the speedup request.
Change the various clients of rushjob to use the new function.
1999-06-15 23:37:29 +00:00
Matt Jacob
e672bf9cd6 If we retry this operation from the top of this routine, we need to
make sure we've freed any allocated resources (to avoid a memory leak)
and and do the right thing with respect to the nfs node hash lock we'd
acquired.
1999-06-15 23:24:14 +00:00
Julian Elischer
28808d20e9 Add a couple of command definitions.
Also add offsets into the IDE parameter block so that it is humanly
possible to match the structure to the manufacturer's documentation.
(basically this is just changes to comments)
1999-06-15 23:13:09 +00:00
Kirk McKusick
5e1a20fd26 COM_LLCONSOLE should over-ride COM_DEBUGGER request. 1999-06-15 22:15:10 +00:00
Mike Pritchard
3d416122d3 cam_get_device() was returning 0 on failure, and 1 on success, while
camcontrol(8) and the documentation in camlib.c and cam(3) all expect
-1 on failure and 0 on success.  Updated camlib.c to return the values
specified by the documentation.

PR:	12023
1999-06-15 20:03:01 +00:00
Mike Pritchard
d9a91c1439 Correctly document the two different object file formats that can be
used with objformat.

PR:	10877
1999-06-15 19:19:51 +00:00
Mike Pritchard
145da7ad10 Document the IMPLEMENTATION NOTES section since we have a number of
man pages that use it.

PR:	10659
1999-06-15 19:03:54 +00:00
Ruslan Ermilov
5f13a5ab2e This really belongs to section 8. 1999-06-15 14:04:19 +00:00
Dag-Erling Smørgrav
9b953cf681 Kill option FAILSAFE.
PR:		i386/12187
Approved by:	bde
1999-06-15 13:14:56 +00:00
Ruslan Ermilov
689b0bd1d4 Document the usage of escape character in a service name.
PR:		7101
Reminded by:	jhs
1999-06-15 12:56:38 +00:00
Roger Hardiman
105d5f266a MFS: No longer needed with PicoBSD 0.44 1999-06-15 12:51:57 +00:00
Roger Hardiman
3e69db1b49 MFS: No longer needed in PicoBSD 0.44 1999-06-15 12:40:32 +00:00
Roger Hardiman
69be7dc19e Add VIA Apollo Master VT82c570 chipset. (I have 2 of these)
Also, Apollo IDE controller has device ID of 1571 and 0571
1999-06-15 12:01:26 +00:00
Roger Hardiman
f2488e30c5 MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:45:25 +00:00
Roger Hardiman
27c2745d8a MFS: No longer needed in PicoBSD 0.44 1999-06-15 11:40:13 +00:00
Mark Newton
009b52bf57 Ensoniq AudioPCI sound cards haven't worked since the newbus integration
because they haven't been able to attach.  Now fixed.

Submitted by:	Christian Weisgerber <naddy@mips.rhein-neckar.de>
1999-06-15 00:00:10 +00:00
John Birrell
bfc6f8cf11 Add the System V message queue and semaphore options for better 3rd party
software support out-of-the-box (like i386 does).
1999-06-14 22:59:55 +00:00
David E. O'Brien
ba83352b78 Support Alpha and -CURRENT in the "-r" option case. 1999-06-14 21:58:59 +00:00
Nik Clayton
501bebb5be Include <sys/time.h> for correctness. BDE has a better version of this,
but it's more complex, and in his words

    Commit your version, since it is the only one that is clearly permitted
    (if not best), and I'll untangle it later.

PR:		docs/11589
Reviewed by:	Bruce "he kicks ass" Evans
1999-06-14 19:03:46 +00:00
Ruslan Ermilov
1c51699372 It was possible to circumvent telnet's security ``-E'' (no escape at all)
option by running it with ``-8 -E'' and passing it 0xff character.

PR:		6317
Reviewed by:	des, David Borman <dab@bsdi.com> (the author)
1999-06-14 18:46:15 +00:00
Roger Hardiman
b8f659fe68 Last commit was incorrect. Remove the 'rp' PCI device 1999-06-14 18:16:51 +00:00
Roger Hardiman
45f63ade9b Comment out the PCI Comtrol Rocketport entries.
The PicoBSD 'isp' build fails when both the PCI and ISA versions of the
'rp' driver are included at the same time
1999-06-14 18:08:17 +00:00
Roger Hardiman
a48da6e82e Update to PicoBSD 0.44 from RELENG_3 1999-06-14 16:48:23 +00:00
Roger Hardiman
d7e03a941e Update to PicoBSD 0.44 (from RELENG_3) 1999-06-14 16:36:50 +00:00
Roger Hardiman
75663a1769 Update to PicoBSD 0.44 from RELENG_3 1999-06-14 15:45:56 +00:00
Roger Hardiman
a4d0e7358a Update to PicoBSD 0.44 from RELENG_ 1999-06-14 15:45:41 +00:00
Bruce Evans
e343fb02c3 Updated the BUGS section. BREAK is now implemented.
Don't document non-bugs in the BUGS section, or anywhere else.  It
is not a bug to drop data when overloaded.  The compile-time tuning
options turned out to be not very useful, and aren't supported
offically.

Documented the not so new option CY_PCI_FASTINTR.
1999-06-14 15:10:35 +00:00
Nick Hibma
33d56839e3 Man pages for top refer to only 2.x, but not to 3.x and later 1999-06-14 12:06:11 +00:00
Hidetoshi Shimokawa
7872cbaeea Fix typo confusing `fa' and 'fb' registers.
Now, MATLAB works fine under OSF/1 emulation.
1999-06-14 11:42:30 +00:00
Brian Somers
ec3026b6f7 Come up with something useful when someone searches for
``dynamic IP''.
1999-06-14 10:12:41 +00:00
Nick Hibma
85dd1453b1 1) remove the soft reset after a command failed.
2) remove printing of errno and errstr
1999-06-13 22:09:14 +00:00
Poul-Henning Kamp
7a7404d275 Eliminate the bogus procfs private almost struct dirent structure.
Spotted by: Lars Hamren
Reviewed by: bde
1999-06-13 20:53:16 +00:00
Nick Hibma
7b69218647 1) Add non-blocking I/O on read
2) Add checks to make sure we do not dereference the softc when not found
because the device has been removed.
1999-06-13 20:49:12 +00:00
Nick Hibma
680514601e 1) Add the USB controllers (will now print pretty strings when no usb
support is compiled in)
2) Add probing for generic USB host controllers as well so we get them all
3) make the returned strings look alike in the whole file
1999-06-13 20:48:29 +00:00
Nick Hibma
b24ecce39c Shorten the strings a bit (remove 'Host') 1999-06-13 20:46:10 +00:00
Dmitrij Tejblum
8ea9dacf53 Fix placement of signal trampoline. 1999-06-13 19:41:50 +00:00
Alan Cox
dabd891d6e Use pmap_kenter instead of pmap_enter to map the message buffer. 1999-06-13 19:20:25 +00:00