147925 Commits

Author SHA1 Message Date
peter
4c6681fae8 Don't pass the size of struct device to CFATTACH_DECL because it's obviously
too small! Use the softc instead. And while here, remove sc_ih from the
softc, it's not used at all.
2006-06-12 19:42:22 +00:00
dogcow
b6d29ce0bd Add -Wno-attributes for amd64, too. 2006-06-12 19:25:20 +00:00
wiz
93efb1479c The comment here really meant /usr/sbin/sendmail -- restore it.
Found by Jukka Salmi in PR 33701.
2006-06-12 16:50:30 +00:00
chuck
f4e3e7fe3b sigtimedwait: if we collect a queued signal via pt_siglist, do not
forget to clear it out of pt_siglist, otherwise we will keep getting
it over and over again.   fixes a problem introduced in rev 1.43.

problem observed with mysqld where sending it a SIGHUP after it has
set an alarm (e.g. due to some package like rt3 using it) caused the
signal handler thread to go into a tight loop (collecting a SIGALRM
[via sigwait() in mysqld.cc] that would not go away due to the above
issue).   mysqld appears to get a SIGHUP when /etc/rc exits, so it
can go into this tight loop after a reboot (but not if you restart
it by hand).   the bad sequence is:
	/etc/rc runs:
		- starts mysqld
		- starts web server with rt3 fastcgi starts
		- fastcgi/rt3 talks to mysqld (causing it to set an alarm)
		- /etc/rc exits, SIGHUP goes to mysqld
		- mysqld catches SIGHUP, signal handler thread gets
			stuck in loop (database continues to operate, slowly).

you can also trigger the problem by sending mysqld a SIGHUP by hand after
you've caused it to set an alarm by connecting to it.
2006-06-12 16:45:14 +00:00
perry
639e2af40a aprint_normal's for the "(slowidle)" and bios management messages 2006-06-12 16:42:05 +00:00
perry
42d7bd62c9 Always print out if slowidle, bios mgmt, etc. are on. It is better
that users have more information rather than less to tell us when we
are asking them for dmesgs for debugging purposes
2006-06-12 16:39:38 +00:00
hannken
442bf57d1c softdep_sync_metadata: If vp is a block device it may have new I/O requests
posted for it even if the vnode is locked. This will deadlock with wmesg
"softgetdbuf" if it gets a BMSAFEMAP dependency as here we have "bp == nbp"
and try to get a buffer we already own.

Approved by: Frank van der Linden <fvdl@netbsd.org>
2006-06-12 16:37:00 +00:00
kiyohara
19d35b3135 It necessary to mask to validate bits. 2006-06-12 16:07:33 +00:00
perry
34440af2fc ANSIfy function decls 2006-06-12 15:56:04 +00:00
tsutsui
5c40f381f5 Account ISA interrupts by evcnt(9) 2006-06-12 15:39:01 +00:00
tsutsui
0f6618f084 - rename struct intrhand -> struct isa_intrhand
- remove unused ih_what member
2006-06-12 15:24:31 +00:00
tsutsui
ac30b81a3c Remove a declaration of nonexistent function. 2006-06-12 15:06:32 +00:00
tsutsui
8ce1487a46 Move arcsisabr.c from arc/isa to arc/dti because it's DescStation specific. 2006-06-12 15:04:40 +00:00
skrll
19e53faf30 More files changes in mknative re-run. I'm still cheating with
src/tools/gcc/Makefile
2006-06-12 11:45:33 +00:00
kardel
3dfb395215 sort out pointer types - found & fix by jmmv 2006-06-12 10:46:19 +00:00
kardel
b51cdf6b08 fix pointer deref - found by jmmv 2006-06-12 10:45:27 +00:00
skrll
09e99a2e51 Re-run mknative for the gcc 3.3.6 import. There's a bit of cheating going
on here - mainly the use of an old src/tools/gcc/Makefile.
2006-06-12 08:00:22 +00:00
christos
67894004ec Don't allocate > 2K on the stack. 2006-06-12 01:25:05 +00:00
christos
48432186cb stack police: don't allocate statvfs on the stack. 2006-06-12 00:46:50 +00:00
christos
155721b1be don't allocate a crapload of struct's on the stack. Use a couple of unions
and use malloc for them.
2006-06-12 00:42:18 +00:00
christos
c0160ad4aa don't allocate statvfs on the stack. 2006-06-12 00:22:47 +00:00
christos
0c1391f078 remove ; from }; 2006-06-12 00:20:21 +00:00
christos
06595cb85e stack polics: Don't allocate 4K on the stack.
remove ; from };
2006-06-12 00:18:06 +00:00
christos
3f0deeffa7 stack police: don't allocate PAGE_SIZE bytes on the stack. 2006-06-12 00:07:24 +00:00
christos
1214d130c2 Always make partitions contiguous even if the mbr has gaps. From someone
who wants to remain anonymous.
2006-06-11 23:25:23 +00:00
kardel
8704ff927b import and integrate NTP 4.2.2 2006-06-11 19:34:07 +00:00
martin
6da7ec83d0 Cast yytext values to unsigned char when testing with isspace() to avoid
sign extension effects for non-ASCII characters.
2006-06-11 19:25:19 +00:00
xtraeme
c731b8e426 * Improve description for all sensors.
* Fix some voltage values.
* Do not print rfact+data values for sensors without any returned data.
2006-06-11 18:15:17 +00:00
martin
b9a75d90c7 Some windows .INF files are UNICODE - extend the scanner to deal with this. 2006-06-11 17:02:07 +00:00
christos
460f8d8a0c PR/33699: Kevin Massey: use strlcpy to prevent stack overflows. 2006-06-11 16:15:20 +00:00
christos
e1168b9564 PR/33698: Kevin Massey: use strlcpy/strlcat to avoid stack overwrites. 2006-06-11 16:11:53 +00:00
christos
1a4c395597 Don't free subdevs on normal completion. The detach code needs it. 2006-06-11 16:00:08 +00:00
christos
65c3a16644 PR/33695: Arnaud Lacombe: Add compatibility syntax for FreeBSD interoperability. 2006-06-11 15:51:31 +00:00
kent
a2aa9135f1 codec-specific mixer initialization for Realtek ALC882 2006-06-11 15:16:41 +00:00
kardel
9c52afaf31 Import ntp 4.2.2 2006-06-11 14:57:12 +00:00
kardel
4aa15bc86f document release/availability of new NTP version (4.2.2) 2006-06-11 14:39:45 +00:00
kent
ba5e551515 fix audio_format allocation for recording 2006-06-11 12:18:00 +00:00
kent
fa89e6f87e support for multi-channel (>=3) recording with ALC880, ALC882, or STAC9221 2006-06-11 11:48:39 +00:00
bouyer
bdce881f0d Add entry for "Moxa Technologies, SmartIO CP104-V2/PCI". From Gert Doering
in kern/33566.
2006-06-11 11:22:35 +00:00
kardel
1276c3051e PR 33697: complete timecounter conversion 2006-06-11 09:26:04 +00:00
he
9c72169b1f Correct mistakes I made when getting rid of lvalue casts. 2006-06-11 08:35:00 +00:00
he
34155cf541 Correct a mistake I introduced when getting rid of lvalue casts. 2006-06-11 08:29:03 +00:00
kent
7d2bcc7299 * azalia_codec_init_vtbl()
recognize the name of AD1983
* generic_codec_find_dac()
  check validity of a node in a connection list
* introduce MIXER_DELTA, and simplify the code with it
* codec-specific mixer initialization for STAC9220
2006-06-11 07:52:00 +00:00
kent
655c2002db If the codec supports for modem, print that we support for no modem
explicitly.
2006-06-11 07:45:18 +00:00
rjs
4ba88d2489 Add includes of opt_multiprocessor.h and opt_lockdebug.h where missing. 2006-06-11 07:32:18 +00:00
tsutsui
114eee6487 Check whether the specified interrupt handler is valid before referring it. 2006-06-11 06:34:52 +00:00
tsutsui
f6e0502337 - use CPUFLAGS rather than CFLAGS/AFLAGS
- specify "-march=r4000 -mabi=32" rather than -mips2
2006-06-11 05:03:20 +00:00
christos
9cfe87267e PR/33671: Nicolas Joly: Add a getpriority syscall to account for the fact
that the linux getpriority is off by 20.
2006-06-10 21:18:11 +00:00
christos
ee08f35b9a regen 2006-06-10 21:16:49 +00:00
christos
c02c268f6b linux getpriority is off-by-20 so use our own function.
From PR/33671: Nicolas Joly
2006-06-10 21:15:33 +00:00