]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoMissed odd address test when transcribing the Alpha version.
grehan [Thu, 13 Feb 2003 08:56:41 +0000 (08:56 +0000)]
Missed odd address test when transcribing the Alpha version.
This fixes the checksum problems seen with telnet.

21 years agoAdd Intel 85x/86x AGP support.
anholt [Thu, 13 Feb 2003 07:17:39 +0000 (07:17 +0000)]
Add Intel 85x/86x AGP support.

Submitted by: David Dawes <dawes@xfree86.org>

21 years agoMFi386
alc [Thu, 13 Feb 2003 07:03:44 +0000 (07:03 +0000)]
MFi386
 Remove kptobj.  Instead, use VM_ALLOC_NOOBJ.

21 years agoDon't bother to build ficl if NOFORTH is defined.
benno [Thu, 13 Feb 2003 04:35:04 +0000 (04:35 +0000)]
Don't bother to build ficl if NOFORTH is defined.

21 years agoAdd description about device detaching.
simokawa [Thu, 13 Feb 2003 03:42:53 +0000 (03:42 +0000)]
Add description about device detaching.

21 years agoOops. I mis-remembered about the P4 problems. It was 5.0-DP2 that
peter [Thu, 13 Feb 2003 02:42:06 +0000 (02:42 +0000)]
Oops.  I mis-remembered about the P4 problems.  It was 5.0-DP2 that
was shipped with DISABLE_PG_G and DISABLE_PSE, not 5.0-REL.  *blush*
Disable the code - but still leave it there in case its still lurking.

21 years agoTurn of PG_PS and PG_G for Pentium-4 cpus at boot time. This is so
peter [Thu, 13 Feb 2003 01:52:44 +0000 (01:52 +0000)]
Turn of PG_PS and PG_G for Pentium-4 cpus at boot time.  This is so
that we can stop turning off PG_G and PG_PS globally for releases.

21 years agoAdd a 'debug.witness_trace' sysctl (and tunable) when DDB is present.
peter [Thu, 13 Feb 2003 01:35:56 +0000 (01:35 +0000)]
Add a 'debug.witness_trace' sysctl (and tunable) when DDB is present.
This causes LOR and could-sleep messages to come with a stack trace.

21 years agoPrint "Stack backtrace:" right before dumping the backtrace. We cannot
peter [Thu, 13 Feb 2003 01:33:59 +0000 (01:33 +0000)]
Print "Stack backtrace:" right before dumping the backtrace.  We cannot
expect end users to automatically recognize a stack trace for what it is.

21 years agoShow the paritition types that we recognize in human readable format. eg:
peter [Thu, 13 Feb 2003 01:00:26 +0000 (01:00 +0000)]
Show the paritition types that we recognize in human readable format.  eg:
pluto2# gpt show da0
     start       end      size  contents
         0         0         1  PMBR
         1         1         1  Pri GPT header
         2        33        32  Pri GPT table
        34    401595    401562  GPT part - EFI System partition
    401596    925883    524288  GPT part - FreeBSD ufs partition
    925884   9314491   8388608  GPT part - FreeBSD swap partition
...
It'll print a plain uuid string for unrecognized types.

21 years agoAllow multiple hosts or programs to be named in program
thomas [Thu, 13 Feb 2003 00:08:56 +0000 (00:08 +0000)]
Allow multiple hosts or programs to be named in program
or host specifications, eg:

!foo,bar
*.* /var/log/only_foo_or_bar.log

!-foo,bar
*.* /var/log/all_except_foo_or_bar.log

Reviewed by: roberto
Not objected to by: arch@

21 years agoin_pcbnotifyall() requires an exclusive protocol lock for notify functions
hsu [Wed, 12 Feb 2003 23:55:07 +0000 (23:55 +0000)]
in_pcbnotifyall() requires an exclusive protocol lock for notify functions
which modify the connection list, namely, tcp_notify().

21 years agoSimplify the log accumulation code. It turns out that the trick of
des [Wed, 12 Feb 2003 21:06:19 +0000 (21:06 +0000)]
Simplify the log accumulation code.  It turns out that the trick of
looking for ^===> can give quite annoying false positives, especially
when building kernels, so drop it; the context can be inferred from
make's "Stop in /foo/bar/baz" messages anyway.

Also add a case that I'd missed the first time around (which happens
to be the common case, not the exception...)

21 years agoNO_KERNELCLEAN was a booboo.
des [Wed, 12 Feb 2003 20:29:05 +0000 (20:29 +0000)]
NO_KERNELCLEAN was a booboo.

21 years agoWelcome tbmaster, TinderboxNG's better half.
des [Wed, 12 Feb 2003 20:23:27 +0000 (20:23 +0000)]
Welcome tbmaster, TinderboxNG's better half.

21 years agoSlight cleanup; adjust verbosity; unlink the logfile before opening it
des [Wed, 12 Feb 2003 20:18:08 +0000 (20:18 +0000)]
Slight cleanup; adjust verbosity; unlink the logfile before opening it
to tickle 'tail -F'.

21 years agoo Implement C99 classification macros isfinite(), isinf(), isnan(),
mike [Wed, 12 Feb 2003 20:03:41 +0000 (20:03 +0000)]
o Implement C99 classification macros isfinite(), isinf(), isnan(),
  isnormal().  The current isinf() and isnan() are perserved for
  binary compatibility with 5.0, but new programs will use the macros.
o Implement C99 comparison macros isgreater(), isgreaterequal(),
  isless(), islessequal(), islessgreater(), isunordered().

Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>

21 years agoDo not do an assignment in a truth test (previous commit) or gcc gives a
peter [Wed, 12 Feb 2003 19:34:34 +0000 (19:34 +0000)]
Do not do an assignment in a truth test (previous commit) or gcc gives a
warning which breaks builds.

cc1: warnings being treated as errors
src/sys/net/bridge.c: In function `bdg_forward':
sys/net/bridge.c:931: warning: suggest parentheses around assignment used as truth value
*** Error code 1

21 years agoAdd __unused to the declaration of yyrcsid in a more portable way.
davidc [Wed, 12 Feb 2003 18:03:55 +0000 (18:03 +0000)]
Add __unused to the declaration of yyrcsid in a more portable way.

Discussed with: alfred, bde, jmallett, obrien

21 years agoCorrectly set bio_data in cloned children when cutting up large requests.
tegge [Wed, 12 Feb 2003 16:30:46 +0000 (16:30 +0000)]
Correctly set bio_data in cloned children when cutting up large requests.

21 years agoSync to 1.113 of usbdevs
sanpei [Wed, 12 Feb 2003 13:22:55 +0000 (13:22 +0000)]
Sync to 1.113 of usbdevs

21 years agoAdd support YAMAHA NetVolante Routers
sanpei [Wed, 12 Feb 2003 13:20:39 +0000 (13:20 +0000)]
Add support YAMAHA NetVolante Routers
NetVolante RTA54i Broadband&ISDN Router
NetVolante RTA55i Broadband VoIP Router
NetVolante RTW65b Broadband Wireless Router
NetVolante RTW65i Broadband&ISDN Wireless Router

PR: bin/42574
Submitted by: Yoshihiko Sarumaru <mistral@imasy.or.jp>

21 years agoTeach whereintheworld to preserve TinderboxNG log messages.
des [Wed, 12 Feb 2003 09:51:47 +0000 (09:51 +0000)]
Teach whereintheworld to preserve TinderboxNG log messages.

21 years agoImplement a handle for efficient implementation of perforations in
phk [Wed, 12 Feb 2003 09:48:27 +0000 (09:48 +0000)]
Implement a handle for efficient implementation of perforations in
lower extremities.

Setting bit 4 in debugflags (sysctl kern.geom.debugflags=16) will
allow any open to succeed on rank#1 providers.  This will generally
correspond to the physical disk devices: ad0, da0, md0 etc.

This fundamentally violates the mechanics of GEOMs autoconfiguration,
and is only provided as a debugging facility, so obviously error
reports on GEOM where this bit is or has been set will not be
accepted.

21 years agoMake "CURRENT" the default branch, and special-case it in the update
des [Wed, 12 Feb 2003 09:13:36 +0000 (09:13 +0000)]
Make "CURRENT" the default branch, and special-case it in the update
code so it results in -A rather than -rCURRENT.

21 years agoNote that graphics performance on Miata generally is better with the
wilko [Wed, 12 Feb 2003 08:25:30 +0000 (08:25 +0000)]
Note that graphics performance on Miata generally is better with the
graphics card in a 64bit PCI slot.

21 years agoMinor correction to comment: PNIC and XIRCOM have eeprom, its just
imp [Wed, 12 Feb 2003 07:16:15 +0000 (07:16 +0000)]
Minor correction to comment: PNIC and XIRCOM have eeprom, its just
non-standard.

21 years agoImplement rman_get_device
imp [Wed, 12 Feb 2003 07:00:59 +0000 (07:00 +0000)]
Implement rman_get_device

# I though this was alredy implemented

Pointy hat on my head shown by: peter

21 years agoAdd description about kldload and security note.
simokawa [Wed, 12 Feb 2003 06:48:45 +0000 (06:48 +0000)]
Add description about kldload and security note.

21 years agoMF-p4:
imp [Wed, 12 Feb 2003 06:11:47 +0000 (06:11 +0000)]
MF-p4:
Kill the slightly bogus #define for DECODE_PROTOTYPE
Be less verbose.  Hide most (all I hope) of the CIS
parsing behind cardbus_debug_cis (which is set with
hw.cardbus.debug_cis=1).

This doesn't fix problems with parsing, but should make cardbus
less chatty.  There appears to be some issues still with the
parsing of the CIS, but this won't fix them.

Prompted by: scottl

21 years agoMFp4:
imp [Wed, 12 Feb 2003 05:57:02 +0000 (05:57 +0000)]
MFp4:
Second part of the kldload patches for cardbus.  This makes
kldload of a driver for a device that's inserted now appears
to work.  To make it work, we only do a power cycle of the card
if there's no children drivers attached.

This likely is papering over bogosities in the power system.  The
power sequence needs to be re-written, so I'll not worry about
the papering over until the re-write.

21 years agoMFp4:
imp [Wed, 12 Feb 2003 05:54:22 +0000 (05:54 +0000)]
MFp4:
Don't reach inside of rman to r_dev.  Use rman_get_device instead.

21 years agoWhitespace nits.
imp [Wed, 12 Feb 2003 04:48:15 +0000 (04:48 +0000)]
Whitespace nits.

21 years agoRemove kptobj. Instead, use VM_ALLOC_NOOBJ.
alc [Wed, 12 Feb 2003 04:35:37 +0000 (04:35 +0000)]
Remove kptobj.  Instead, use VM_ALLOC_NOOBJ.

21 years agoBack out 1.143 and 1.144. They are no longer needed now that we start
imp [Wed, 12 Feb 2003 04:26:10 +0000 (04:26 +0000)]
Back out 1.143 and 1.144.  They are no longer needed now that we start
devd later in the boot process.  This should fix all the problems
people have had with those commits.  Diskless should be working again,
and those that mount /usr with nfs should be able to do that again too.

21 years agoStart devd after the networking stuff, but before we mount the
imp [Wed, 12 Feb 2003 04:22:40 +0000 (04:22 +0000)]
Start devd after the networking stuff, but before we mount the
critical remote systems.  This lets us run commands from devd that
aren't on the / partition.  This also means we can remove some kludges
from the networking startup that I added a while ago that caused other
problems.

There's still a race in starting devd that needs to be fixed in devd
so that things present at boot will be configured by the time devd
does daemon().  That race will be fixed later.

21 years agoNow that we don't have the NODEVFS case, we can just check to see if a
imp [Wed, 12 Feb 2003 04:12:23 +0000 (04:12 +0000)]
Now that we don't have the NODEVFS case, we can just check to see if a
device node exists directly to see if OLDCARD is compiled into the
kernel.  This eliminates the scary warning that people using NEWCARD
are seeing when they have pccard_enable=YES in their /etc/rc.conf
files.

21 years agoThis manual is called SIGNBIT(3) not FPCLASSIFY(3).
mike [Wed, 12 Feb 2003 03:29:39 +0000 (03:29 +0000)]
This manual is called SIGNBIT(3) not FPCLASSIFY(3).

21 years agoDocument the NOMAN option.
trhodes [Wed, 12 Feb 2003 02:30:04 +0000 (02:30 +0000)]
Document the NOMAN option.

21 years agoProperly document that syncache timer processing requires an
hsu [Wed, 12 Feb 2003 00:42:12 +0000 (00:42 +0000)]
Properly document that syncache timer processing requires an
exclusive TCP protocol lock.

21 years agoImplement a bio-taskqueue to reduce number of context switches in
phk [Tue, 11 Feb 2003 22:30:26 +0000 (22:30 +0000)]
Implement a bio-taskqueue to reduce number of context switches in
disk I/O processing.

        The intent is that the disk driver in its hardware interrupt
        routine will simply schedule the bio on the task queue with
        a routine to finish off whatever needs done.

        The g_up thread will then schedule this routine, the likely
        outcome of which is a biodone() which queues the bio on
        g_up's regular queue where it will be picked up and processed.

        Compared to the using the regular taskqueue, this saves one
        contextswitch.

Change our scheduling of the g_up and g_down queues to be water-tight,
at the cost of breaking the userland regression test-shims.

Input and ideas from:   scottl

21 years agoSay hello to Tinderbox 2.0, the choice of a new generation!
des [Tue, 11 Feb 2003 22:17:49 +0000 (22:17 +0000)]
Say hello to Tinderbox 2.0, the choice of a new generation!

21 years agoImplement C99's signbit() macro.
mike [Tue, 11 Feb 2003 21:56:21 +0000 (21:56 +0000)]
Implement C99's signbit() macro.

21 years agoPFIL_HOOKS optimization: check if at least one hook is present before
sam [Tue, 11 Feb 2003 21:48:20 +0000 (21:48 +0000)]
PFIL_HOOKS optimization: check if at least one hook is present before
munging the IP header to pass to the hooks

21 years agoAdd Warner Losh quote.
wes [Tue, 11 Feb 2003 21:38:02 +0000 (21:38 +0000)]
Add Warner Losh quote.
Submitted by: Alexandr Kovalenko <never@nevermind.kiev.ua>

21 years agoAnnounce our ability to do DFLTPHYS sized transfers.
phk [Tue, 11 Feb 2003 21:30:28 +0000 (21:30 +0000)]
Announce our ability to do DFLTPHYS sized transfers.

21 years agoAnnounce our ability to do MAXPHYS transfers.
phk [Tue, 11 Feb 2003 21:29:53 +0000 (21:29 +0000)]
Announce our ability to do MAXPHYS transfers.

21 years agoAdvertise MAXPHYS upwards, we will split as necessary before we get to the
phk [Tue, 11 Feb 2003 21:24:25 +0000 (21:24 +0000)]
Advertise MAXPHYS upwards, we will split as necessary before we get to the
bottom of things.

21 years agoCheck disk->d_maxsize/dev->si_iosize_max at open time rather than in strategy.
phk [Tue, 11 Feb 2003 21:23:34 +0000 (21:23 +0000)]
Check disk->d_maxsize/dev->si_iosize_max at open time rather than in strategy.

Printf a warning and use DFLTPHYS if the drive has not set a size.

21 years agoDeregister the dev_clone event handler when unloading the module. Bad
joerg [Tue, 11 Feb 2003 21:12:43 +0000 (21:12 +0000)]
Deregister the dev_clone event handler when unloading the module.  Bad
things might happen otherwise.

Noticed by: Michael Reifenberger <root@nihil.reifenberger.com>

21 years agoImprove a comment and undo a bogus s/a/an/ in a comment. An asm guru
schweikh [Tue, 11 Feb 2003 20:15:11 +0000 (20:15 +0000)]
Improve a comment and undo a bogus s/a/an/ in a comment. An asm guru
should add more comments explaining which registers hold which variables.

Spotted by: bde

21 years agoAdd NOMAN here also.
trhodes [Tue, 11 Feb 2003 19:45:44 +0000 (19:45 +0000)]
Add NOMAN here also.

21 years agoUpdate random(6) to have the ability to randomize a file/stdin based
seanc [Tue, 11 Feb 2003 19:32:18 +0000 (19:32 +0000)]
Update random(6) to have the ability to randomize a file/stdin based
off of lines or words.  See the man page for details.

Reviewed by: markm
MFC after: 3 days

21 years agoAdd -DNOMAN to the list.
trhodes [Tue, 11 Feb 2003 19:21:13 +0000 (19:21 +0000)]
Add -DNOMAN to the list.

21 years agoCatch up the following with the English version:
rushani [Tue, 11 Feb 2003 18:56:46 +0000 (18:56 +0000)]
Catch up the following with the English version:

1.11 ->  1.12 early-adopter/article.sgml
1.493 -> 1.495 relnotes/common/new.sgml

Approved by: hrs (mentor)

21 years agoMake a mutex to stop the race coming into geom_disk's done routine.
phk [Tue, 11 Feb 2003 18:32:31 +0000 (18:32 +0000)]
Make a mutex to stop the race coming into geom_disk's done routine.

Cut up requests into smaller bits if they are longer than the drivers
disk->d_maxsize or dev->si_iosize_max.

Properly handle the race condition when using g_clone_bio() is used
without having the single-threadedness of g_down/g_up secure locking.

21 years agoUpdate man page to match the new world order after Sam updated us to
imp [Tue, 11 Feb 2003 17:40:56 +0000 (17:40 +0000)]
Update man page to match the new world order after Sam updated us to
NetBSD's 802.11 infrastructure.

21 years agoCommit a nearly real man page describing the current state of devctl.
imp [Tue, 11 Feb 2003 17:36:38 +0000 (17:36 +0000)]
Commit a nearly real man page describing the current state of devctl.
More work likely needs to happen.  This describes things better than
the old "this man page intentionally left blank" style man page that
I'd committed previously.

Nitpickers: comb nits and commit!

21 years agoSound devices were being leaked by dsp_open() not actually releasing the
green [Tue, 11 Feb 2003 16:58:54 +0000 (16:58 +0000)]
Sound devices were being leaked by dsp_open() not actually releasing the
channels it allocates if chn_reset() on them resulted in failure.
ARROW'D!

21 years agoMFCs noted: ftpd(8) -h, -P, "/./"; ftpchroot(5).
yar [Tue, 11 Feb 2003 16:54:16 +0000 (16:54 +0000)]
MFCs noted: ftpd(8) -h, -P, "/./"; ftpchroot(5).

21 years agoDon't divide by zero if there is no stripewidth specified.
phk [Tue, 11 Feb 2003 15:23:41 +0000 (15:23 +0000)]
Don't divide by zero if there is no stripewidth specified.

21 years agoTypo in last commit.
phk [Tue, 11 Feb 2003 15:20:34 +0000 (15:20 +0000)]
Typo in last commit.

21 years agoForce cvsup mirrors to refetch this file.
des [Tue, 11 Feb 2003 15:19:31 +0000 (15:19 +0000)]
Force cvsup mirrors to refetch this file.

21 years agoBetter names for struct disk elements: d_maxsize, d_stripeoffset
phk [Tue, 11 Feb 2003 14:57:34 +0000 (14:57 +0000)]
Better names for struct disk elements:  d_maxsize, d_stripeoffset
and d_stripesisze;

Introduce si_stripesize and si_stripeoffset in struct cdev so we
can make the visible to clustering code.

Add stripesize and stripeoffset to providers.

DTRT with stripesize and stripeoffset in various places in GEOM.

21 years agoPropagate DISKFLAG_CANDELETE from struct disk to G_PF_CANDELETE on the
phk [Tue, 11 Feb 2003 14:12:06 +0000 (14:12 +0000)]
Propagate DISKFLAG_CANDELETE from struct disk to G_PF_CANDELETE on the
provider.

21 years agoKill unnecessary vertical whitespace.
yar [Tue, 11 Feb 2003 14:10:48 +0000 (14:10 +0000)]
Kill unnecessary vertical whitespace.

21 years agoWrap a long line.
phk [Tue, 11 Feb 2003 14:09:48 +0000 (14:09 +0000)]
Wrap a long line.

21 years agoSort.
nyan [Tue, 11 Feb 2003 13:19:01 +0000 (13:19 +0000)]
Sort.

21 years agoDon't short-circuit zero-length requests of they are BIO_[SG]ETATTR.
phk [Tue, 11 Feb 2003 13:13:10 +0000 (13:13 +0000)]
Don't short-circuit zero-length requests of they are BIO_[SG]ETATTR.

21 years agoRetire D_CANFREE flag.
phk [Tue, 11 Feb 2003 12:51:51 +0000 (12:51 +0000)]
Retire D_CANFREE flag.

21 years agoUse the SI_CANDELETE flag on the dev_t rather than the D_CANFREE flag
phk [Tue, 11 Feb 2003 12:49:58 +0000 (12:49 +0000)]
Use the SI_CANDELETE flag on the dev_t rather than the D_CANFREE flag
on the cdevsw to determine ability to handle the BIO_DELETE request.

21 years agoUnconditionally make our provider with G_PF_CANDELETE.
phk [Tue, 11 Feb 2003 12:37:04 +0000 (12:37 +0000)]
Unconditionally make our provider with G_PF_CANDELETE.

21 years agoPropagate G_PF_CANDELETE to our own providers from the provider we attach to.
phk [Tue, 11 Feb 2003 12:36:33 +0000 (12:36 +0000)]
Propagate G_PF_CANDELETE to our own providers from the provider we attach to.

21 years agoMark our provider with G_PF_CANDELETE in the cases where this is actually
phk [Tue, 11 Feb 2003 12:35:44 +0000 (12:35 +0000)]
Mark our provider with G_PF_CANDELETE in the cases where this is actually
the case.

21 years agoMark our struct disk with DISKFLAG_CANDELETE instead of the cdevsw with
phk [Tue, 11 Feb 2003 12:35:01 +0000 (12:35 +0000)]
Mark our struct disk with DISKFLAG_CANDELETE instead of the cdevsw with
D_CANFREE.

21 years agodocument the current default value for VersionAddendum.
des [Tue, 11 Feb 2003 12:11:15 +0000 (12:11 +0000)]
document the current default value for VersionAddendum.

21 years agoUse LOG_AUTHPRIV to hide the username attempted during an invalid login
yar [Tue, 11 Feb 2003 11:58:33 +0000 (11:58 +0000)]
Use LOG_AUTHPRIV to hide the username attempted during an invalid login
from everyone but sysadmins.

PR: bin/29487
MFC after: 3 days

21 years agoIntroduce flag field and G_PF_CANDELETE field on providers.
phk [Tue, 11 Feb 2003 11:55:40 +0000 (11:55 +0000)]
Introduce flag field and G_PF_CANDELETE field on providers.

21 years agoIntroduce SI_CANDELETE flag on dev_t.
phk [Tue, 11 Feb 2003 11:55:02 +0000 (11:55 +0000)]
Introduce SI_CANDELETE flag on dev_t.

21 years agoSwitch to use the TSC code i386/i386/tsc.c
phk [Tue, 11 Feb 2003 11:43:58 +0000 (11:43 +0000)]
Switch to use the TSC code i386/i386/tsc.c

21 years agoSwitch to using the TSC code in i386/i386/tsc.c.
phk [Tue, 11 Feb 2003 11:43:25 +0000 (11:43 +0000)]
Switch to using the TSC code in i386/i386/tsc.c.

21 years agoRemove another printf which does not say anything we didn't already know.
phk [Tue, 11 Feb 2003 11:02:27 +0000 (11:02 +0000)]
Remove another printf which does not say anything we didn't already know.

21 years agoTurn the "updating" flag (back) into two sequence number fields at
phk [Tue, 11 Feb 2003 11:01:26 +0000 (11:01 +0000)]
Turn the "updating" flag (back) into two sequence number fields at
either ends of the structure so we have a way to determine if a
snapshot is consistent.

21 years agoRemove a debugging printf.
phk [Tue, 11 Feb 2003 10:59:43 +0000 (10:59 +0000)]
Remove a debugging printf.

21 years agos/IPSSEC/IPSEC/
tanimura [Tue, 11 Feb 2003 10:51:56 +0000 (10:51 +0000)]
s/IPSSEC/IPSEC/

21 years agoFixup printf format.
alfred [Tue, 11 Feb 2003 08:19:52 +0000 (08:19 +0000)]
Fixup printf format.

21 years agoMFi386: Use DIOCGPC98 ioctl.
nyan [Tue, 11 Feb 2003 07:32:45 +0000 (07:32 +0000)]
MFi386: Use DIOCGPC98 ioctl.

21 years agoUse DIOCGPC98 ioctl to write boot block.
nyan [Tue, 11 Feb 2003 07:29:14 +0000 (07:29 +0000)]
Use DIOCGPC98 ioctl to write boot block.

21 years agoActually link in the attr_{set,get}stack.
alfred [Tue, 11 Feb 2003 07:28:28 +0000 (07:28 +0000)]
Actually link in the attr_{set,get}stack.

21 years agoDon't lock FILEDESC under PROC.
alfred [Tue, 11 Feb 2003 07:20:52 +0000 (07:20 +0000)]
Don't lock FILEDESC under PROC.

The locking here needs to be revisited, but this ought to get rid of the
LOR messages that people are complaining about for now.  I imagine either
I or someone else interested with smp will eventually clear this up.

21 years agoTerminate 'e' event messages with a newline.
scottl [Tue, 11 Feb 2003 06:36:26 +0000 (06:36 +0000)]
Terminate 'e' event messages with a newline.

PR: 33202

21 years agoDon't turn off the power of cards when new drivers are added
imp [Tue, 11 Feb 2003 05:31:35 +0000 (05:31 +0000)]
Don't turn off the power of cards when new drivers are added
unconditionally.  kldloading a cardbus driver was shooting down other
attached devices because most drivers assume that one cannot
power-cycle cards w/o the driver knowning about it.

Submitted by: simokawa-san

21 years agoConvert newfs to libufs (really). Solves one real issue with previous
jmallett [Tue, 11 Feb 2003 03:06:45 +0000 (03:06 +0000)]
Convert newfs to libufs (really).  Solves one real issue with previous
version of such.  Differences in filesystems generated were found to be
from 1) sbwrite with the "all" parameter 2) removal of writecache.  The
sbwrite call was made to perform as the original version, and otherwise
this was checked against a version of newfs with the write cache removed.

21 years agoUse srandomdev() for FreeBSD
ache [Tue, 11 Feb 2003 02:31:53 +0000 (02:31 +0000)]
Use srandomdev() for FreeBSD

21 years agoAdd -DHAVE_ARC4RANDOM to CFLAGS
ache [Tue, 11 Feb 2003 02:25:00 +0000 (02:25 +0000)]
Add -DHAVE_ARC4RANDOM to CFLAGS

21 years agoUse srandomdev() for FreeBSD
ache [Tue, 11 Feb 2003 02:21:41 +0000 (02:21 +0000)]
Use srandomdev() for FreeBSD

21 years agoThere is no sense to use random random() and arc4random() in the same program.
ache [Tue, 11 Feb 2003 02:17:11 +0000 (02:17 +0000)]
There is no sense to use random random() and arc4random() in the same program.
Switch to arc4random() completely.

21 years agoAdd missing srand() (sranddev() for FreeBSD)
ache [Tue, 11 Feb 2003 02:09:05 +0000 (02:09 +0000)]
Add missing srand() (sranddev() for FreeBSD)

21 years agoUse sranddev()/srandomdev() for FreeBSD
ache [Tue, 11 Feb 2003 01:56:40 +0000 (01:56 +0000)]
Use sranddev()/srandomdev() for FreeBSD

21 years agoGet Fox Talbot's birth year right. How could anybody have expected
grog [Tue, 11 Feb 2003 01:42:19 +0000 (01:42 +0000)]
Get Fox Talbot's birth year right.  How could anybody have expected
photography in the 15th century?