Commit Graph

90760 Commits

Author SHA1 Message Date
obrien
9b92f918c2 Be C std strict on i386 and amd64 as we can. Be loose on Alpha and ia64. 2003-06-07 08:05:35 +00:00
obrien
9af6eaa8ec Don't use a C compiler to assemble a pure asm file. 2003-06-07 08:03:19 +00:00
marcel
f5de8effa1 Don't fail if we encounter a relocation of type "none". Just ignore
it. It's a no-op relocation.

Trigger case: ports/x11-toolkits/pango
2003-06-07 07:52:17 +00:00
peter
c1ee2827e9 Gah! Set LABELSECTOR and LABELOFFSET correctly for amd64. This might
explain why I've been having trouble with libdisk and sysinstall...
2003-06-07 07:07:04 +00:00
ru
db49af5126 Clarify what -p option does.
Prodded by:	marcel

While here, spell the "set-{user,group}-ID bit" correctly.
2003-06-07 06:35:36 +00:00
marcel
4c5771dae0 pmap_find_vhpt() has been observed to return a NULL pointer when
the caller assumes this to not happen by means of performing an
indirection without checking the return value. Add KASSERTs to
force a kernel with INVARIANTS to panic. This is a short-term
measure. The pmap code is scheduled to be overhauled.
2003-06-07 04:17:39 +00:00
marcel
67620c84fd If we get a fault in the gateway page, which would happen if we try
to deliver a signal and the RSE backing store has been exhausted or
the backing store pointer has been clobbered, we need to make sure
we call userret() and do_ast() when we exit from trap(). Not adjusting
the local variable 'user' in this case will prevent the faulty process
from being terminated and we end up in an infinite fault repetition.

Faulty process provided by: bento
2003-06-07 04:10:07 +00:00
ache
68b21e8720 Move <DT> to the end 2003-06-07 03:37:16 +00:00
ache
cdfca875ce Move punctuation to its proper place 2003-06-07 03:26:21 +00:00
ache
5f2543399e <sb> -> <Sb> 2003-06-07 02:59:28 +00:00
ache
2b46a4daa2 Fixes to reflect corresponding standards 2003-06-07 02:51:52 +00:00
alc
9b7a0e2182 Pass the vm object to vm_object_collapse() with its lock held. 2003-06-07 02:29:17 +00:00
ache
90a400aeb4 Replace uk_UA.ISO8859-5 by link
Add link for zh_CN.GBK
2003-06-07 01:24:02 +00:00
grog
44ab674c71 Get the manual section number for kldstat(8) right. Comment change only.
Pointed out by:	yar
2003-06-07 01:17:04 +00:00
grog
01c6323d54 Modify startup mode: don't specify the file name for the debug kernel,
so it needs to be (and can be) specified on the command line.  Don't
try to automatically connect to a remote machine, so that the same
.gdbinit file can be used for analysing processor dumps.
2003-06-07 01:15:07 +00:00
ache
5c74315d99 Fix typo in prev. commit 2003-06-07 01:06:03 +00:00
grog
df67c67a7d Add macros for kernel debugging. These have been around for a
while, and they will need some more tuning before they're really
useful, but at the moment they're better than nothing.

Indirectly reminded by: dwhite
2003-06-07 01:01:42 +00:00
ache
486cd15b6d Move <DT> to the end 2003-06-07 00:46:20 +00:00
ache
8522f8bd8a Add ru_RU.CP1251 2003-06-07 00:28:58 +00:00
ache
22ac24d03e Replace by links ru_RU.CP866 and ru_RU.ISO8859-5
Add link to ru_RU.CP1251
2003-06-07 00:19:50 +00:00
ache
41101d70da Add ru_RU.CP1251 2003-06-07 00:12:12 +00:00
ache
0c57667100 Add ru_RU.CP1251 2003-06-06 23:59:18 +00:00
gibbs
177269851c When single stepping, only leave ENBUSFREE enabled
if it was already enabled.  We don't want to set it
when it shouldn't be set, we just don't want to
inadvertantly turn it off.  This should fix a recent
report of the aic7xxx driver repeatedly complaining of
"unexpected busfree while idle" in one configuration.
2003-06-06 23:53:39 +00:00
gibbs
ce5adf612a Clear stale PCI errors during our test for
successfully mapping our registers.  This
avoids the disabling of memory mapped I/O
just because some other driver probe happened
to touch our registers.
2003-06-06 23:52:34 +00:00
gibbs
702257f6c8 Work around SCSI spec violation by the Quantum Atlas 10K.
This drive delays going async after receiving a WDTR
message.  We now send an SDTR message after a WDTR even
if our goal is to go async.  This should work even for
confused devices.

If we get an unexpected busfree when attempting a WDTR
or SDTR, only set the goal negotiation parameters we were
trying to negotiate to off.  This means that should a WDTR
message fail, we will still try an SDTR if our goal is
non-async.

Fix a few more places where we were looking at goal.period
instead of goal.offset for determining if we should be
negotiating sync.  This should not have any impact on
our behavior, but the offset is more definitive and should
be used.
2003-06-06 23:51:13 +00:00
gibbs
a0dd99d290 aic7770.c:
aic79xx.c:
aic79xx.h:
aic79xx_pci.c:
aic7xxx.c:
aic7xxx.h:
aic7xxx_pci.c:
	Switch ah?_reset() to take an additional "reinit" argument.
	Use this instead of init_level to determin if the chip
	should be fully reinitialized after a chip reset.  This
	is required so that ah?_shutdown() can reset the chip
	without side-effects.

aic79xx.c:
	Implement ahd_suspend() and ahd_resume().

aic7xxx.c:
	Change ahc_loadseq() to *not* restart the sequencer.
	This brings the loadseq behavior in line with that
	of the 7902 driver and also simplifies the init routine.

	Correct the resume routine to enable interrupts and
	restart the sequencer.
2003-06-06 23:48:19 +00:00
marcel
8f82b3111e Use TRAPF_USERMODE() to replace an equivalent check in trap(). While
here, amend the related comment.
2003-06-06 23:44:05 +00:00
gibbs
2b4b90c0c2 Add probe entry for the 284X with BIOS disabled. 2003-06-06 23:40:48 +00:00
gibbs
c1ea388b6d Constify a string used in our EISA probe tables.
Fix a few style nits.
2003-06-06 23:40:07 +00:00
marcel
ef38b07248 Have TRAPF_USERMODE() take into account that the gateway page is not
always kernel space. It should be treated as user space when run with
user privileges (which is the case for the signal trampolines). This
fixes its only use in a KASSERT in subr_trap.c.
2003-06-06 23:27:18 +00:00
ache
b7efdb063a Add ru_RU.CP1251 2003-06-06 22:39:24 +00:00
julian
441e5ee181 Attempt to crunch down the thread state info so that it is more likely to
fit on one line. Account for threads better.

* No need to report that it is on a sleep queue if it is actually sleeping
* "Normal" state is almost ubiquitous.. only report abnormal states.
* increment the #lines count for each separate thread shown in threaded
  programs.

makes it less likely that a threaded program will make all the data
on a screen overflow off the top of the screen.
2003-06-06 20:28:11 +00:00
rwatson
6c48995c98 When setting fragment queue pointers to NULL, or comparing them with
NULL, use NULL rather than 0 to improve readability.
2003-06-06 19:32:48 +00:00
jhb
44da2913e5 - Rename nexus_pcib to legacy_pcib. I've been meaning to do this for a
while after the legacy device was added since this driver hangs from
  legacy and not nexus.
- Make several methods non-static so they can be reused in a mptable
  host -> pci bridge driver that will be added at a later date.
- Let legacy_pcib() use pcibios_pcib_route_interrupt() directly instead of
  wrapping it in a private function.  Originally, I thought I was going to
  have the nexus_pcib() driver make a runtime APIC vs. 8259A check and call
  the appropriate routing method (MPTable vs. PIR) that way, but it ended
  up being cleaner to make nexus_pcib() just work with PIR and have a
  separate host -> pci bridge driver for the mptable/apic case.
2003-06-06 17:56:30 +00:00
jhb
95a58df398 - Use IDTVEC() to declare IPI handlers since they are also IDT vectors.
- Make handlers for IPI's used by SMP kernels #ifdef SMP.
2003-06-06 17:45:25 +00:00
jhb
29339c88b8 Use the secondary bus number instead of the number of the bus the PCI-PCI
bridge lives on (i.e., the parent bus) when probing the PIR table for a
bus.  This could cause the PCIBIOS PCI-PCI bridge driver to bogusly attach
to bridges that weren't in the PIR but whose parent bus was in the PIR.
2003-06-06 17:27:18 +00:00
jhb
55d014b2d9 - Document the thermal and performance counter LVT entries in the local
APIC.
- Add a lvt_thermal member to the LAPIC struct.
- Add constants for the SMI and INIT LVT delivery modes.
2003-06-06 17:22:15 +00:00
jhb
ab21c06752 Handle the TDS_INACTIVE state by printing '[INACTIVE]' instead of
panic'ing.  Also, for unknown thread states, print out the value rather
than panic.  Panic'ing in the debugger is pointless at best.
2003-06-06 17:20:47 +00:00
jhb
30331b10d2 Whitespace nits. 2003-06-06 17:19:27 +00:00
obrien
93e4e9df9b Compile our code as C99 w/GNU extensions by default.
We can't use straight "c99" due to the lack of alloca.S for non-i386 platforms.
2003-06-06 16:55:05 +00:00
osa
e9955b188c Add my birthday.
Approved by:	fjoe (mentor)
2003-06-06 15:08:32 +00:00
yar
ed74f4db3d Fix some minor bugs, namely:
- Initialize "rval", which would be used uninitialized
  if al or pl options were set.

- Don't pass an empty string to login(1) as a user name
  (this could be triggered by entering a name and then killing it
  with backspace or ^U.)

- Don't loop endlessly if the al option specifies a bogus (i.e.,
  not alphanumeric) auto-login name.

- Don't pass a bogus user name to login(1) if a good name were
  entered and then killed with ^U.

- Exit with status 0, not 1, on receiving an EOF character,
  since it's not a error condition.

MFC after:	1 week
2003-06-06 14:36:41 +00:00
kuriyama
a2c945daf3 Tweak make values and targets not to build kgzldr.o at
installation stage.

Reviewed by: bde
2003-06-06 13:49:51 +00:00
kuriyama
f0a040c72b Use
cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
2003-06-06 13:46:55 +00:00
mtm
5277e2870b Remove a debugging aid the crept in during the last commit. It doesn't
really make much difference since this script is not used during startup
and is due to be removed before RELENG_5.

Submitted by: "Simon L. Nielsen" <simon@nitro.dk>
2003-06-06 13:00:43 +00:00
guido
2036547e59 Move my maintainership of parts of ipfilter back to Darren Reed 2003-06-06 11:30:50 +00:00
tjr
8dfc0712c7 Regression tests for wctype(), iswctype(), wctrans(), towctrans(). 2003-06-06 09:42:21 +00:00
yar
b657a521d8 Correct the man section number in references to kldstat(8). 2003-06-06 09:36:40 +00:00
yar
eb27dda81d Since FreeBSD has never had a stock NNTP server, move the nntp line
down to the section of optional mail/news services.  Change the nntpd
location to /usr/local/libexec since it's an optional software.

Henceforth, nntpd will be advised to run as "news", which is a
standard user in the system, instead of "usenet", which has never
existed in the default master.passwd(5).
Note: It's not "news:news" since inetd(8) runs a service at the
specified user's login group by default.

Add a blank comment line above the uucpd line so the section looks uniform.

Partly pointed out by:	Alexey Neyman <alex.neyman at auriga.ru>
MFC after:		1 week
2003-06-06 08:54:29 +00:00
roam
81c0c117b3 Warn if there is no newline at the end of the group file.
PR:		51256
Submitted by:	Brian D Gallaway <bdg730@makserver0.usask.ca>
Reviewed by:	tjr, -audit
Approved by:	tjr
2003-06-06 07:10:39 +00:00