summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix several bugs related to subdisk drive_offset calculation.Lukas Ertl2004-06-151-4/+5
| | | | Notes: svn path=/head/; revision=130542
* Oops. My last commit included a bug that would make "su -m" alwaysMark Murray2004-06-151-2/+0
| | | | | | | use /bin/sh. Fix this. Notes: svn path=/head/; revision=130541
* If a device is not ONLINE, do not attempt to submit any commandsPaul Saab2004-06-151-23/+4
| | | | | | | | | | or I/O to the volume. This solves a panic when removing a disk in a RAID 0 volume. Reported by: le Notes: svn path=/head/; revision=130540
* Remove a stale comment.Alan Cox2004-06-153-18/+0
| | | | Notes: svn path=/head/; revision=130539
* Overhaul the markup.Ruslan Ermilov2004-06-151-98/+49
| | | | Notes: svn path=/head/; revision=130538
* Connect geom(8) to the build.Pawel Jakub Dawidek2004-06-151-1/+1
| | | | | | | Reminded by: des Notes: svn path=/head/; revision=130535
* s/device_get_handle/acpi_get_handleNate Lawson2004-06-152-2/+2
| | | | | | | Submitted by: Hiroyuki Aizu Notes: svn path=/head/; revision=130534
* mdoc(7) policeBruce M Simpson2004-06-152-7/+15
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=130533
* Fix spelling.Doug Rabson2004-06-151-2/+2
| | | | Notes: svn path=/head/; revision=130532
* Fill in locking annotation for additional socket fields:Robert Watson2004-06-151-14/+14
| | | | | | | | | | so_timeo Used as a sleep/wakeup address, no locking. sb_* Almost all socket buffer fields locked with sockbuf lock for the oskcet buffer. so_cred Static after socket creation. Notes: svn path=/head/; revision=130527
* Overhaul the markup.Ruslan Ermilov2004-06-151-269/+538
| | | | Notes: svn path=/head/; revision=130524
* Oops, backout debug code..Søren Schmidt2004-06-151-4/+0
| | | | Notes: svn path=/head/; revision=130523
* Dont set prefetch etc on VIA chips, causes problems on newer chips andSøren Schmidt2004-06-152-4/+4
| | | | | | | ATAPI devices. Notes: svn path=/head/; revision=130522
* Increase robustness of SATA handling.Søren Schmidt2004-06-153-88/+191
| | | | Notes: svn path=/head/; revision=130521
* Add pmap locking to pmap_extract(), pmap_mincore(), and pmap_remove().Alan Cox2004-06-151-4/+15
| | | | Notes: svn path=/head/; revision=130520
* Update some internal comments about the --no-same-permissions option.Tim Kientzle2004-06-151-1/+6
| | | | | | | Thanks to: Kris Kennaway for doing some gtar research for me. Notes: svn path=/head/; revision=130519
* Be a little more careful about creating directories:Tim Kientzle2004-06-151-7/+23
| | | | | | | | | | | * Restore directories with 0700 permissions initially, then use the fixup pass to correct the permissions * Trim trailing "/" and "/." in mkdirpath() Suggested by: Garrett Wollman Notes: svn path=/head/; revision=130518
* As near as I can tell, --no-same-permissions is a no-op inTim Kientzle2004-06-151-0/+7
| | | | | | | | | | gtar, so that makes it easy to implement. Required by: audio/timidity port Thanks to: Kris Kennaway Notes: svn path=/head/; revision=130517
* Oops. bsdtar's old -X option didn't take an argument; the newTim Kientzle2004-06-151-1/+1
| | | | | | | (gtar-compatible) one does require an argument. Notes: svn path=/head/; revision=130516
* Add gtar-compatible -X/--exclude-fromTim Kientzle2004-06-153-0/+43
| | | | Notes: svn path=/head/; revision=130515
* Lock down rawcb_list, a global list of control blocks for raw sockets,Robert Watson2004-06-153-0/+10
| | | | | | | | | | | | | | using rawcb_mtx. Hold this mutex while modifying or iterating over the control list; this means that the mutex is held over calls into socket delivery code, which no longer causes a lock order reversal as the routing socket code uses a netisr to avoid recursing socket -> routing -> socket. Note: Locking of IPsec consumers of rawcb_list is not included in this commit. Notes: svn path=/head/; revision=130514
* Grab the socket buffer send or receive mutex when performing aRobert Watson2004-06-156-3/+36
| | | | | | | | | read-modify-write on the sb_state field. This commit catches only the "easy" ones where it doesn't interact with as yet unmerged locking. Notes: svn path=/head/; revision=130513
* Fix a typeo in IFQ_HANDOFF.Max Laier2004-06-151-1/+1
| | | | Notes: svn path=/head/; revision=130512
* Catch one more use of acpi_MatchHid and update for new API.Nate Lawson2004-06-152-2/+2
| | | | Notes: svn path=/head/; revision=130511
* We only need the devclass_find() result, not the softc.Nate Lawson2004-06-152-2/+2
| | | | Notes: svn path=/head/; revision=130510
* Fix build.Tim Kientzle2004-06-151-1/+1
| | | | Notes: svn path=/head/; revision=130509
* Transform tbr_dequeue into a function pointer in order to build drivers withMax Laier2004-06-154-8/+12
| | | | | | | | | ALTQ enabled versions of IFQ_* macros by default, as requested by serveral others. This is a follow-up to the quick fix I committed yesterday which turned off the ALTQ checks for non-ALTQ kernels. Notes: svn path=/head/; revision=130508
* Fix symbol lookups between modules. This caused modules that depend onPeter Wemm2004-06-151-1/+5
| | | | | | | | | other modules to explode. eg: snd_ich->snd_pcm and umass->usb. The problem was that I was using the unified base address of the module instead of finding the start address of the section in question. Notes: svn path=/head/; revision=130507
* Insurance: cause a proper symbol lookup failure for symbol entries thatPeter Wemm2004-06-151-0/+2
| | | | | | | reference unknown sections.. rather than returning a small value. Notes: svn path=/head/; revision=130506
* The maximum value of iovcnt is IOV_MAX, not 16.Kelly Yancey2004-06-151-1/+2
| | | | Notes: svn path=/head/; revision=130505
* Add an MLINKS entry, rawip, to make the raw socket userland documentationBruce M Simpson2004-06-151-0/+1
| | | | | | | | | | somewhat easier to find. PR: docs/30873 Requested by: Douglas De Couto Notes: svn path=/head/; revision=130504
* Add a paragraph about the importance of byte order when using rawBruce M Simpson2004-06-151-1/+23
| | | | | | | | | | | | | sockets with the IP_HDRINCL option. Add a list entry about the errors which IP_HDRINCL can return. Bump .Dd. PR: docs/30873 Submitted by: Douglas De Couto Obtained from: BSD/OS (byte order), some old libnet stuff I did years ago. Notes: svn path=/head/; revision=130503
* Make contigmalloc() more reliable:Brian Feldman2004-06-151-6/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Remove a race whereby contigmalloc() would deadlock against the running processes in the system if they kept reinstantiating the memory on the active and inactive page queues that it was trying to flush out. The process doing the contigmalloc() would sit in "swwrt" forever and the swap pager would be going at full force, but never get anywhere. Instead of doing it until the queues are empty, launder for as many iterations as there are pages in the queue. 2. Do all laundering to swap synchronously; previously, the vnode laundering was synchronous and the swap laundering not. 3. Increase the number of launder-or-allocate passes to three, from two, while failing without bothering to do all the laundering on the third pass if allocation was not possible. This effectively gives exactly two chances to launder enough contiguous memory, helpful with high memory churn where a lot of memory from one pass to the next (and during a single laundering loop) becomes dirtied again. I can now reliably hot-plug hardware requiring a 256KB contigmalloc() without having the kldload/cbb ithread sit around failing to make progress, while running a busy X session. Previously, it took killing X to get contigmalloc() to get further (that is, quiescing the system), and even then contigmalloc() returned failure. Notes: svn path=/head/; revision=130502
* Add Device ID for: TI 802.11b/g Wireless Cardbus/PCI AdapterBruce M Simpson2004-06-151-0/+1
| | | | | | | | | PR: conf/67700 Submitted by: Jukka A. Ukkonen Reviewed by: http://www.pcidatabase.com/ Notes: svn path=/head/; revision=130501
* Add Device ID for: Radeon 9200 Series - Secondary.Bruce M Simpson2004-06-151-0/+1
| | | | | | | | | PR: conf/67700 Submitted by: Jukka A. Ukkonen Reviewed by: http://www.pcidatabase.com/ Notes: svn path=/head/; revision=130500
* Rename -X to --one-file-system, as GNU tar uses -X forTim Kientzle2004-06-151-5/+9
| | | | | | | | something else. I would really like a short option for this, but all of the obvious ones conflict with something else. Notes: svn path=/head/; revision=130499
* Ignore kernel routes with the RTF_WASCLONED flag set. This is a slightBruce M Simpson2004-06-151-4/+4
| | | | | | | | | | | modification of a patch which was already applied for BSD/OS in the Rhyolite.com sources; this file is already off the vendor branch. PR: bin/57484 Submitted by: Richard Perini Notes: svn path=/head/; revision=130498
* Clean up usage message(s):Tim Kientzle2004-06-151-9/+29
| | | | | | | | | | | | | | | | | | * Usage goes to stderr, not stdout * Use correct argument markup * bsdtar --help no longer exits with an error return code * ensure that the word "bsdtar" appears in the first line output from "bsdtar --help" (even if the program is invoked as "tar") In particular, scripts can now test for the presence of bsdtar. For example, in /bin/sh: if (tar --help 2>&1 | grep bsdtar >/dev/null 2>&1) then \ echo bsdtar; else echo not bsdtar; fi Notes: svn path=/head/; revision=130497
* Whitespace.Bruce M Simpson2004-06-141-3/+3
| | | | Notes: svn path=/head/; revision=130496
* Do not depend on the global 'sockt' being initialized to 0;Bruce M Simpson2004-06-141-3/+2
| | | | | | | | | instead, use the symbolic constant STDIN_FILENO, as this is a daemon invoked from inetd. Remove 'sockt' as it is not referenced. Notes: svn path=/head/; revision=130495
* Change the default behaviour of talk(1) to use "localhost" as theBruce M Simpson2004-06-142-1/+18
| | | | | | | | | | | | | | | | | | | | | "machine name" in ntalkd(8) request packets, when the destination and source are local. This should make talk(1) use much more pleasant for those security- conscious individuals who have chosen to bind talkd to "localhost". Previous to this change, talk(1) would require that the hostname of the machine, as retrieved by gethostname(3), resolved to a valid and reachable IPv4 address, using gethostbyname(3). This makes talk(1) dependent on a valid host entry for "localhost" in /etc/hosts (or the Domain Name System). PR: bin/23178 Submitted by: angui.sh admin (with cleanups) Notes: svn path=/head/; revision=130494
* Add HP Smart Array 6422 and V100 to the list of supported controllers.Simon L. B. Nielsen2004-06-141-0/+4
| | | | Notes: svn path=/head/; revision=130493
* Remove unneeded '-' from comment header; this comment contains onlyRobert Watson2004-06-141-1/+1
| | | | | | | | English text paragraphs that shouldn't have problems when run through indent. Notes: svn path=/head/; revision=130492
* Update for so_state->sb_state, SB_* flag renames.Robert Watson2004-06-141-7/+7
| | | | | | | Submitted by: rik Notes: svn path=/head/; revision=130491
* Use %zu to print values with type size_t.Stefan Farfeleder2004-06-141-3/+3
| | | | Notes: svn path=/head/; revision=130490
* Teach fstat(1) about new location for socket state flags relating toRobert Watson2004-06-141-2/+2
| | | | | | | | | | socket buffer state. Submitted by: rik Reminded by: le Notes: svn path=/head/; revision=130489
* mdoc(7) policeBruce M Simpson2004-06-141-2/+3
| | | | | | | Submitted by: ru Notes: svn path=/head/; revision=130488
* Add -b to usage.Bruce M Simpson2004-06-141-1/+1
| | | | | | | | Pointed out by: ceri Pointy hat to: bms Notes: svn path=/head/; revision=130487
* Revert the removal of the initial_irq hack for now as this code is moreJohn Baldwin2004-06-141-9/+7
| | | | | | | | broken than I thought and doesn't do a good job of routing virgin interrupts at all. Notes: svn path=/head/; revision=130486
* Document the location of the header file which declares the functionBruce M Simpson2004-06-141-1/+2
| | | | | | | | | prototypes documented in this manual page. PR: bin/4459 Notes: svn path=/head/; revision=130485