Jordan K. Hubbard
ad183257e6
Another batch of fixes for dhcp support in sysinstall, now dragging
...
in some code from C. Stone to parse the lease information. This is still
a WIP and this commit is largely intended to allow others to sync up; the
dhclient code still only works when doing dhcp configuration post-install
and requires a bit more work on the boot floppy before it will truly
work in the minimal bootstrapping role.
1999-07-19 10:06:18 +00:00
Poul-Henning Kamp
3de280c443
[click] Now all dev_t's in the kernel have their char device major.
...
Only know casualy of this is swapinfo/pstat which should be fixes
the right way: Store the actual pathname in the kernel like mount
does. [Volounteers sought for this task]
The road map from here is roughly: expand struct specinfo into struct
based dev_t. Add dev_t registration facilities for device drivers and
start to use them.
1999-07-19 09:37:59 +00:00
Poul-Henning Kamp
6f13bfc261
Add sysctl tree debug.sizeof to tell us how big things are. First two
...
entries are struct proc and struct vnode.
1999-07-19 09:13:12 +00:00
Jordan K. Hubbard
9827a7982b
Fix type of host-name option. Partial fix for referenced PR.
...
Submitted by: John Baldwin <jobaldwi@vt.edu>
PR: 12205
1999-07-19 01:58:46 +00:00
Bruce Evans
e9ecccf8cb
Updated acquire_timer2()'s state machine to work when the i8254 is
...
being used for timecounting. Fixed a race or two in it. Undisabled
it.
PR: 10455
1999-07-18 18:32:42 +00:00
Bruce Evans
ab64b6dc3c
Don't let the machdep.tsc_freq sysctl proceed if the TSC is present
...
but broken, since tsc_timecounter is not initialised in that case,
and updating an uninitialised timecounter is fatal.
Fixed style bugs in the machdep.i8254_freq and machdep.tsc_freq
sysctls.
Reviewed by: phk
1999-07-18 15:19:29 +00:00
Bruce Evans
6b6ef746e5
Added a sysctl "kern.timecounter.hardware" for selecting the hardware
...
used for timecounting. The possible values are the names of the
physically present harware timecounters ("i8254" and "TSC" on i386's).
Fixed some nearby bitrot in comments in <sys/time.h>.
Reviewed by: phk
1999-07-18 15:07:20 +00:00
Jonathan M. Bresler
e9bd3a37e8
fix comment re: RST received in TIME_WAIT to match the code.
1999-07-18 14:42:48 +00:00
Poul-Henning Kamp
684adedee4
Use the vn_todev() function, rather than VOP_GETATTR
1999-07-18 14:31:01 +00:00
Poul-Henning Kamp
6ca5486476
Introduce the vn_todev(struct vnode*) function, which returns the dev_t
...
corresponding to a VBLK or VCHR node, or NODEV.
1999-07-18 14:30:37 +00:00
Peter Wemm
80e907a1df
Reset SA_NOCLDWAIT on exec().
...
PR: kern/12669
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
1999-07-18 13:40:11 +00:00
Poul-Henning Kamp
9d4ee2f2ef
Make devname(3) return something more intelligent than NULL if it doesn't
...
find anything in the database.
1999-07-18 10:19:48 +00:00
Jordan K. Hubbard
43d5ccb239
Some additional optimizations for using DHCP.
1999-07-18 10:18:06 +00:00
Jordan K. Hubbard
2a622f9d9f
Use a less annoying default hostname.
1999-07-18 09:58:01 +00:00
Kazutaka YOKOTA
f1235db8bd
- Clear relevant variables when the keyboard is not available.
...
- Do not touch the `tty' struct when it's not yet available.
- Initialize correct bits in `fonts_loaded'.
1999-07-18 06:16:53 +00:00
Kazutaka YOKOTA
29e59d7deb
- Move the `return' statement the correct place so that the keyboard
...
won't be initialized if `atkbd?' is disabled.
1999-07-18 06:16:25 +00:00
Mike Pritchard
56d253f621
Print out the fields that are set in fs_flags.
1999-07-18 02:33:05 +00:00
John Polstra
3083856d5c
Remove a duplicate comment.
1999-07-18 02:26:02 +00:00
Jordan K. Hubbard
bb1bff6dec
Miscellaneous fixes for dhcp client support.
1999-07-18 02:20:56 +00:00
John Polstra
7ac9503b86
Remove four no-op casts.
1999-07-18 01:35:26 +00:00
John Polstra
bfb1ef6058
Change many asserts into normal errors. They were all for conditions
...
caused by invalid shared objects rather than by internal errors.
Enable format string mismatch checking for _rtld_error().
1999-07-18 00:02:19 +00:00
John Polstra
46270bddbc
Remove trailing whitespace from a couple of lines. It made its way
...
into the .cf file and gave sendmail indigestion.
1999-07-17 23:22:13 +00:00
Poul-Henning Kamp
f06a54f0a0
Centralize dumpdev handling.
1999-07-17 20:47:52 +00:00
Poul-Henning Kamp
68f7448fd7
Reverse the sense of a test, dev2udev() will be much cheaper than
...
udev2dev().
1999-07-17 20:29:10 +00:00
Poul-Henning Kamp
9806ce5b8e
Add a field to struct swdevt to avoid a bogus udev2dev() call.
1999-07-17 19:59:55 +00:00
Poul-Henning Kamp
59c4226d5f
Fix 2nd arg to udev2dev() call in ccd.c
1999-07-17 19:58:37 +00:00
Poul-Henning Kamp
d21c632c4b
Use 256 as magic in bmaj2cmaj[]. Treat BLK/CHR dev_t more correctly.
1999-07-17 19:57:25 +00:00
Poul-Henning Kamp
c7119ea7dd
Fix 2nd arg to udev2dev().
1999-07-17 19:38:00 +00:00
Jordan K. Hubbard
00002ecad4
Add arp to the boot floppy.
1999-07-17 19:30:01 +00:00
John Polstra
caf4d16aef
Add braces to appease the egcs -Wall mom.
1999-07-17 19:03:20 +00:00
John Polstra
2062f4ee11
Make gcore work again. It was broken by a format change in the
...
procfs map file when object IDs were eliminated in the mega-commit
that included procfs_map.c revision 1.19.
The map file is a terrible hodge-podge. The fields that are used
mainly for kernel debugging should be moved out of it into a
separate file, so that the interface presented by the map file to
applications can remain stable in the face of VM system changes.
1999-07-17 18:58:32 +00:00
Poul-Henning Kamp
f008cfcc1a
I have not one single time remembered the name of this function correctly
...
so obviously I gave it the wrong name. s/umakedev/makeudev/g
1999-07-17 18:43:50 +00:00
Alan Cox
1ce1a8bf67
An SMP-specific change: eliminate another check on bsp_apic_ready.
...
(See rev 1.23.)
1999-07-17 18:34:32 +00:00
Poul-Henning Kamp
835646d6ef
slight change in the way we hi-jack the wd drivers cdevsw.
1999-07-17 17:55:53 +00:00
Brian Somers
02ad5579d0
Fix a typo
...
Submitted by: Rich Wood <rich@chugaboom.net>
1999-07-17 10:33:57 +00:00
Bruce Evans
c52c4cb57d
Decode new ptrace requests PT_GETDBREGS and PT_SETDBREGS.
1999-07-17 09:27:41 +00:00
Marcel Moolenaar
3cef63a1f6
Implementation of TCXONC.
...
Reviewed by: bde
1999-07-17 08:24:57 +00:00
Doug Rabson
25ae2c1cd6
Merge some patches from RedHat-6.0. The most important change fixes a bug
...
when linking large shared libraries where the linker missed out some of
the dynamic relocations from the output. This prevents libqt from linking
properly among other packages.
Obtained from: RedHat-6.0
1999-07-17 08:04:58 +00:00
Jordan K. Hubbard
b3af40fb2b
Add in a hack to turn off unaligned access warnings for alpha.
...
Submitted by: msmith
1999-07-16 22:07:09 +00:00
Jordan K. Hubbard
ec0752f80b
Don't offer compat dists on alpha since it makes no sense to do so.
...
Suggested by: msmith
1999-07-16 22:03:27 +00:00
Brian Feldman
e1e112f9a0
I think the last revision got lost here. Identd needs to be run as root,
...
at least for now. I relegated the getcred sysctls to only root, but if
they're deemed to be "allowable" to export to users, I'll do so and
revert this change.
1999-07-16 16:24:13 +00:00
Sheldon Hearn
2ab0563dfe
Document the new {auth,ident,tap} service and provide examples in the
...
configuration file.
Requested by: green
1999-07-16 15:41:14 +00:00
Jordan K. Hubbard
605c88e44b
Re-enable DHCP client support again (but optional and turned off by default
...
for the time being) for debugging purposes.
Fix bug in options selection.
1999-07-16 11:13:09 +00:00
Jordan K. Hubbard
e98e9050af
Allow DHCP to be used in an ifconfig variable instead of the usual
...
address information, producing the obvious effect (dhcp configuration).
Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
1999-07-16 09:26:53 +00:00
Jordan K. Hubbard
a2e3ae34eb
Document dhcp flags.
...
Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
1999-07-16 09:22:01 +00:00
Doug Rabson
0db16cc82d
Handle R_ALPHA_NONE relocations in KLD.
1999-07-16 09:16:11 +00:00
Hidetoshi Shimokawa
13a29a8a17
Enable gprof on alpha.
...
* alpha.{c,h} are same as i386.{c,h}.
* Force address calculation to be done in long precision(64bit on alpha)
rather than double precision(52bit).
1999-07-16 07:22:10 +00:00
Hidetoshi Shimokawa
daa2e8d835
Enable gmon/mcount on alpha.
1999-07-16 07:05:34 +00:00
Hidetoshi Shimokawa
480d03cbdd
Enable gcrt1.o.
1999-07-16 06:59:27 +00:00
Hidetoshi Shimokawa
9586f34bf3
* Restore register correctly.
...
* Add missing bits for profiling.
1999-07-16 06:45:52 +00:00