Commit Graph

207195 Commits

Author SHA1 Message Date
sekiya
c4f5060af2 Note kern-SHEEVAPLUG. 2011-11-28 06:16:40 +00:00
sekiya
71d1bc8567 Enable SHEEVAPLUG for build. 2011-11-28 06:15:48 +00:00
manu
55557eb9ac - Add missing ENOENT or ESTALL when accessing deleted node
- Fix a warning, fix style (80 chars for a line)
2011-11-28 05:33:33 +00:00
jnemeth
2f91d3f4da Move "unloaded module" debug message higher as it appears that name
sometimes points to memory that gets freed causing the system to crash.
2011-11-28 03:13:31 +00:00
jmcneill
cb9ec697cf SVN r220966 from FreeBSD:
Fix a corner-case of interrupt handling which resulted in potentially
spurious (and fatal) interrupt errors.
2011-11-28 00:30:17 +00:00
reinoud
c3c6935ba6 Big patch that changes the signal stack usage of urkel significantly.
Formerly, all signals came on the signal stack and the two important ones were
then forwared to either the system call or the pagefault handler. This worked
fine but the signal stack remains that, a stack. When we go multi-process this
stack gets corrupted and out-of-order with all kind of nastyness since a
userland process switch can occure when a system call is called or when a
process gets a page fault.

The new scheme only uses the signal stack as a jumpboard. It swaps states and
then returns from the signal, clearing the stack but instead of returning to
the code it now jumpt to the handler and that handler then returns to the code
when its finished.
2011-11-27 21:38:17 +00:00
reinoud
47228a07fe Create two panics that signal inconsistent states. 2011-11-27 21:33:19 +00:00
reinoud
a5180ff2ca Add some config settings as default and make a note that DDB is far from
working yet :-/
2011-11-27 21:31:48 +00:00
reinoud
ba6f3f2e03 Add thunk_sigprocmask() 2011-11-27 21:23:46 +00:00
reinoud
5b805c1914 Use AIO by default 2011-11-27 21:22:28 +00:00
reinoud
d854fd8989 Fix in-code declaration of the sigaction structure. 2011-11-27 20:57:28 +00:00
reinoud
42150e60ec Implement the choice between using AIO or not. 2011-11-27 20:08:23 +00:00
reinoud
926a0f2ea5 Compile in syscall name table so urkel debugging code can print out the names
of the system calls so its more clear where it strands.`
2011-11-27 20:06:26 +00:00
jakllsch
823df23091 more whitespace and comment spelling fixes 2011-11-27 18:17:08 +00:00
jakllsch
fcc28c8d61 whitespace consistency adjustment 2011-11-27 15:28:26 +00:00
mbalmer
b246c3a822 Add the Avance Logic ALC203 code, found on e.g. alix3d3 boards. 2011-11-27 15:08:04 +00:00
jakllsch
3a65f68183 We need a cv_destroy() here too. Fixes LOCKDEBUG panic on interface detachment. 2011-11-27 14:55:57 +00:00
rmind
398c78517c G/C unnecessary IPL_HARDUSB 2011-11-27 14:36:20 +00:00
dholland
4a00a690f3 Use __dead, not attribute noreturn. 2011-11-27 13:24:32 +00:00
dholland
dc46435fc4 The proper type for a variable that can be either a uid or gid is id_t,
not uint32_t.
2011-11-27 13:23:50 +00:00
martin
9d4df64069 No <stdbool.h> if _STANDALONE 2011-11-27 11:07:21 +00:00
mbalmer
da918447be Typo. 2011-11-27 10:53:07 +00:00
martin
c90e2e5e8e If not kernel, include <stdbool.h> 2011-11-27 10:31:12 +00:00
martin
4fc4feee2e New Rawrite32 release is out. 2011-11-27 09:24:34 +00:00
skrll
052320efd5 Typo 2011-11-27 09:07:11 +00:00
isaki
94c14e52e6 Note powsw(4) for x68k. 2011-11-27 09:04:37 +00:00
isaki
9289c438ac Add powsw(4) for x68k power switch. It substitutes for a part about
power switch handler of pow(4) deleted before.
Benefits than pow(4):
- separate a front switch (= powsw0) and an EXPWON line (= powsw1)
  completely. Only powsw0 is enabled in GENERIC by default.
- prevent chattering in some hardware individuals.
  thank you for a report and a test: Yasushi Oshima and Y.Sugahara.
2011-11-27 09:00:32 +00:00
mrg
d1a1bb2cc0 also apply the previous spin mutex hack to uaudio_trigger_input() 2011-11-27 07:36:54 +00:00
mrg
69c41efb88 drop sc_intr_lock when calling into uaudio_chan_ptransfer(). 2011-11-27 04:32:41 +00:00
mrg
1ca7f87732 re-write most of the debug messages using c99 varaidic macros and always
include the __func__ and pid:lid.  remove the handful of other __func__
uses and the 100+ other hard coded function name uses.
2011-11-27 04:10:38 +00:00
jakllsch
a4206480fa Make KERNEL_LOCKED_P() work for !defined(MULTIPROCESSOR) && !defined(_MODULE). 2011-11-27 03:52:38 +00:00
jmcneill
a234ff6e84 assert kernel_lock in usbd_transfer, usb_transfer_complete,
and usb_insert_transfer
2011-11-27 03:25:00 +00:00
jmcneill
4580d72277 add KERNEL_LOCKED_P() macro 2011-11-27 03:24:00 +00:00
tsutsui
49921f182e Set WARNS?=2. 2011-11-27 00:53:52 +00:00
tsutsui
997e5ef587 Remove no longer necessary -Wno-error and set WARNS?=2 . 2011-11-27 00:50:37 +00:00
tsutsui
1895e14ada Revert "stopcap fix" for rump by christos, which causes build failure on
most non-x86 ports and seems unnecessary. (caused by wrong rump_namei.h?)
2011-11-27 00:38:12 +00:00
tsutsui
48b15c9676 Disable a DIAGNOSTIC test which causes kernel stack overflow on all arm ports.
Boot failure is reported from several arm users (nonaka@, ryo@, and others),
and too large auto variable in arc4_randrekey() is pointed out by enami@.
2011-11-27 00:09:04 +00:00
christos
3552fa1ee9 - consistency with types
- prefer sizeof(*var)
2011-11-26 23:42:27 +00:00
christos
338bfe9851 If the ioctl to play tracks returned EINVAL, switch to digital mode and
try again.
XXX: Should we do this for the other ioctls? Should we default to digital mode?
Definitely the error message is completely unfriendly and should be fixed.
2011-11-26 23:20:41 +00:00
rmind
fc9011aa1d Add _npf_config_setsubmit() function. 2011-11-26 23:11:19 +00:00
wiz
825bd212d9 Improve wording, sort sections, remove ls(1) escapee. 2011-11-26 22:49:37 +00:00
wiz
336147a4cf Sort sections, remove line that must have crept in here from ls(1). 2011-11-26 22:47:39 +00:00
wiz
48d5e162f9 Various improvements. 2011-11-26 22:36:14 +00:00
njoly
b9701adc0f Do not call cprng_fast32() before locks init. Makes rump build with
RUMP_LOCKDEBUG=yes work again.
2011-11-26 21:41:02 +00:00
nonaka
d3a39882fe Add "Novatel Wireless Expedite EU850D/EU860D/EU870D" entry.
requested by http://mail-index.netbsd.org/tech-kern/2011/11/26/msg012002.html
2011-11-26 18:36:48 +00:00
nonaka
c2d0d8dcb7 regen. 2011-11-26 18:35:30 +00:00
nonaka
b050a54a3f Add "Novatel Wireless Expedite EU850D/EU860D/EU870D" entry.
requested by http://mail-index.netbsd.org/tech-kern/2011/11/26/msg012002.html.
model name from http://www.nvtl.com/index.php?option=com_content&view=article&id=76
2011-11-26 18:34:17 +00:00
tnn
0574b1f8e1 clct(4)/cs4281 confirmed to work (thanks herdware@irc) 2011-11-26 17:16:56 +00:00
skrll
03ccee8ba2 G/c empty #ifndef __OLD_INTERRUPT_CODE 2011-11-26 16:31:40 +00:00
yamt
6f09a307e0 man page 2011-11-26 16:15:09 +00:00