summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Decommision miscfs/specfs/specdev.h. Most of it goes into <sys/conf.h>,phk1999-08-0858-238/+206
| | | | | | a few lines into <sys/vnode.h>. Add a few fields to struct specinfo, paving the way for the fun part.
* Avoid symbol clash in LINT.phk1999-08-082-4/+4
|
* Silence a warning about uninitialized variables.brian1999-08-081-2/+2
|
* Don't includei 4b support on the alphabrian1999-08-081-2/+2
|
* Remove f2c as its libraries were tossed last April, and f2c has been replacedobrien1999-08-0854-31525/+0
| | | | | | with EGCS's f77. Noticed still alive by: bde
* Fix a reference to `st' by replacing it with `sa'.chris1999-08-083-6/+6
|
* Don't log_Printf(..., buf) in case buf contains %sbrian1999-08-081-7/+7
| | | | Info provided by: Ollivier Robert <roberto@keltia.freenix.fr>
* Fixed all printf format errors reported by gcc -Wformat on i386's:bde1999-08-081-8/+8
| | | | | | | | - %q -> %ll. Fixed nearby errors not reported by gcc -Wformat on i386's: - don't assume that the promotion of [u_]int64_t is [u_]quad_t. - don't use signed formats for unsigned args.
* Fixed printf format errors (%qu -> %llu; the arg was already unsigned longbde1999-08-082-10/+6
| | | | long to hide problems on alphas).
* Fixed all printf format errors reported by gcc -Wformat on i386's:bde1999-08-082-20/+32
| | | | | | | | | - %q -> %ll; don't assume that the promotion of off_t is quad_t; only assume that off_t's are representable as long longs. - printing of dev_t's was completely broken. Fixed nearby printf format errors not reported by gcc -Wformat on i386's: - printing of ino_t's and pointers was sloppy.
* Fix page fault in linux_uselib syscall.marcel1999-08-082-4/+4
| | | | | PR: 12910 Submitted by: Peter Holm <peter@holm.cc>
* Sync with sys/i386/conf/options.i386 revision 1.119.kato1999-08-082-4/+14
|
* Sync with sys/i386/conf/majors.i386 revision 1.81.kato1999-08-081-2/+1
|
* Sync with sys/i386/conf/files.i386 revision 1.257.kato1999-08-082-32/+38
|
* Enable bpf by default.kato1999-08-082-16/+10
|
* Fixed missing "G" in the list item for the main description of %g andbde1999-08-081-2/+2
| | | | %G formats.
* Fix a panic caused by freeing unallocated structure.kato1999-08-081-2/+1
| | | | Submitted by: Tomohiko Kurahashi <kura@tim.hi-ho.ne.jp>
* Add vinumraid5.c to the files for Vinum. This allows (deprecated)grog1999-08-081-0/+1
| | | | | | kernel builds with Vinum. Linted-by: phk
* The following simplifies newvers.sh somewhat and makes what(1) work withjkh1999-08-081-8/+10
| | | | | | | | | kernels again, now that we're using EGCS/GCC 2.9+. This "here" file is compatible with the Bourne shell and the Korn shell (incl. pdksh and KSH93 from AT&T, which I do have), so it doesn't make newvers.sh unportable, but makes it easier to modify in the future/read now. Submitted by: green
* Forgotten in previous log message:bde1999-08-081-1/+1
| | | | PR: misc/12920
* Install c++filt in /usr/libexec/${OBJFORMAT}. The version thatbde1999-08-081-1/+2
| | | | | | | | was installed in /usr/bin normally got clobbered when objformat was installed. Indirection through objformat is correct although underscore handling is the only thing that differs for aout and elf -- going through objformat is the easiest way to set c++filt's underscore handling flag correctly.
* Correction to previous commit.stark1999-08-081-9/+5
|
* Corrected mistake that was causing daemon to loop without servingstark1999-08-081-2/+2
| | | | | user requests. Note that nothing can be said about the value of 'user' unless User != NULL.
* cdevsw_remove: place correct value in bmaj2cmaj. This had causedgrog1999-08-081-2/+2
| | | | | | | | | | warnings of the following nature on reloading a kld: WARNING: "vinum" is usurping "console"'s bmaj This only applies to cases where "console" is mentioned. Broken-by: grog
* Make long longs ("%ll" format) work.green1999-08-071-2/+6
| | | | Reviewed by: msmith
* Fixed a bogus include pathname which broke compiling in an obj directory.bde1999-08-071-2/+2
|
* Fixed syntax errors. Code should be tested before committing it, or atbde1999-08-071-2/+2
| | | | least before enabling it in LINT and merging it into RELENG_3.
* Re-delete the (meaningless) device-driver tokens that came back in 1.256peter1999-08-072-58/+58
| | | | | | after having been removed in 1.253 and turned into a warning. Noticed by: bde
* update list of ISDN hardware supported by isdn4bsd 0.83hm1999-08-071-3/+8
|
* Update to reflect recent changes.grog1999-08-072-131/+76
|
* Add vinumraid5.c to list of sources.grog1999-08-071-1/+1
|
* Import RAID-5 code.grog1999-08-071-0/+638
| | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com>
* Remove code to detect RAID-5/non-RAID-5 kernel modules.grog1999-08-071-7/+7
|
* Remove code to detect RAID-5/non-RAID-5 kernel modules.grog1999-08-071-99/+125
| | | | | | | Add function definition for readpol command. Rewrite make_devices with a view to incremental making. In the process, effectively kill off plex-bound subdisk device numbers.
* Import RAID-5 code.grog1999-08-071-30/+120
| | | | | | | | | | | | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> vinum_ldi: Calculate the percentage used correctly. vinum_lsi: Flag detached subdisks. vinum_info: Request info: get the major and minor numbers and print them correctly. list_defective_objects: New function, for listing objects which aren't up after vinum_start. Requested-by: Steve Taylor <staylor@cybernet.com>
* vinum_init:grog1999-08-071-29/+83
| | | | | | | | | | | | | | | | | | | | | | | wait correctly for completion. set object in initializing state before initializing. Don't set the plex up, it should go up automatically. vinum_start: If any objects are not up on start, list them. Requested-by: Steve Taylor <staylor@cybernet.com> vinum_attach: Make sure we always have the object information before examining it. vinum_replace: Start writing. create_drive, vinum_concat, vinum_stripe, vinum_mirror: Check the ioctl return values correctly vinum_readpol: Start writing.
* Import RAID-5 code.grog1999-08-071-3/+26
| | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> Define VINUM_BLOCK_SD and VINUM_CHAR_SD macros to create raw subdisk device numbers. Add VF_HOTSPARE flag.
* Update a comment.grog1999-08-071-3/+8
|
* Import RAID-5 code.grog1999-08-071-11/+51
| | | | | | | | | | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> update_plex_state: If any subdisk in the plex is initializing, set the plex to initializing state. This gets rid of the ugly corrupt/degraded/up transitions which previously occurred. Desired-by: Steve Taylor <staylor@cybernet.com> sddownstate: Add new function, used by checksdstate. checksdstate: Let sddownstate decide what status to return.
* Import RAID-5 code.grog1999-08-071-86/+155
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> logrq: save device major and minor numbers to compensate for lost dev_t. launch_requests: Don't issue requests which are marked XFR_BAD_SUBDISK. This may make things easier in bre(). bre: Rearrange. - Change some comments - Recognize holes in plex structure. Formerly this could lead to incorrect write to the plex. Return REQUEST_DEGRADED on a read request, but carry on to the bitter end on a write request, and mark the requests for the inaccessible subdisks with XFR_BAD_SUBDISK. - return REQUEST_EOF if the requested transfer goes beyond the end of the plex. This is not an error, since other plexes may go further into the volume address space. build_read_request: Handle REQUEST_DEGRADED returned from bre(). sdio: Lock buffer before issuing the requests.
* Import RAID-5 code.grog1999-08-073-7/+375
| | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com>
* Import RAID-5 code.grog1999-08-071-6/+18
| | | | | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> detchobject: Don't update the object configuration. replaceobject: Add preliminary code. This is not yet complete. vinumw.h vinumparser.c: Add keyword 'hotspare'.
* Add definition of new ioctl (READPOL) for setting the read policy of agrog1999-08-071-2/+3
| | | | plex. The code is not yet complete.
* Remove code to accept partitions of type 'unused'. From now on, Vinumgrog1999-08-071-84/+97
| | | | | | | | | | | | | | | | | | | | | | will only accept partitions of type 'vinum'. format_config: Use the new %q format option in kvprintf, thus getting rid of some of the filthiest code I've written in a long time. Also remove the lltoa() function. With-great-thanks-to: peter format_config: Accept the fact that a subdisk might not be attached to a plex, and save the config correctly. vinum_scandisk: Scan all slices on a drive with a Microsoft partition table. Only look at the compatibility slice if nothing was found in the Microsoft slices. This change removes a frequently employed method of shooting yourself in the foot: people would decide that the Vinum drives belonged on their own slice, and they wouldn't be able to start the subsystem after a reboot. Documentation updates to follow.
* Close a memory leak.grog1999-08-071-1/+2
|
* vinumopen: add code to open raw subdisks. This is now used togrog1999-08-071-8/+13
| | | | | | | | | | | | | | | | | | | | | | | | initialize subdisks. Probably the plex-related subdisk type will die a death. vinumconfig.c: Accept (and ignore) kernel state information in userland config files. This saves a lot of error recovery and also makes it possible to use the output of printconfig to create new configuration. Remove checkdiskconfig(). It wasn't needed any more. Start adding support for hot spare drives. You can't put anything on them (yet). Change message formats from %lld to %qd. get_empty_sd: Initialize size to -1. Previously this was done in config_subdisk, which is the wrong place. start_config: set current drive, plex and volume to -1, thus stopping update configurations from taking their defaults from old configs.
* Rework many comments.grog1999-08-071-19/+20
| | | | | | | | requeststatus: add REQUEST_DEGRADED status struct rqinfo: add members devmajor and devminor to compensate for lost dev_t.
* We don't end up checking for a return value of EFAULT from the copyinstr()green1999-08-072-10/+24
| | | | | | | | | | | | in the pathname translation procedure. This proves fatal, and can be easily fixed. This or a similar change needs to be committed to svr4_util.h and ibcs2_util.h. I will update ibcs2_util.h, if noone else thinks of a better way to do this, in the same manner. I will leave svr4 to the respective maintainer. This closes the problem of the only crash I've been able to produce as a user recently, except for (currently not-in-the-source tree) fd table sharing fixes. Thanks goes to pho for his stress-testers.
* Re-enable play-nice-with-DHCP option now that bpf is the defaultjkh1999-08-072-6/+2
| | | | | in GENERIC. Now a dhcp-configured system will both install and boot initially with proper interface configuration.
* Enable bpf by default. There was no significant dissention to my proposaljkh1999-08-072-6/+6
| | | | | | of 2 weeks ago that this be done, and anyone who wishes to make bpf more selective according to securelevel or compile-time options is more than free to do so.
OpenPOWER on IntegriCloud