Commit Graph

150438 Commits

Author SHA1 Message Date
uwe 02fbb03f10 Definitions for NetBSD/landisk port by NONAKA Kimihiro <nonaka@NetBSD.org> 2006-09-01 21:41:46 +00:00
matt 6fcbfe6950 Increase SYMTAB_SPACE to 410000 2006-09-01 21:38:12 +00:00
uwe 1fd097bf15 Initial import of NetBSD/landisk port by NONAKA Kimihiro <nonaka@NetBSD.org> 2006-09-01 21:26:18 +00:00
matt 7e0679149d Properly deal with/without ktrace/ptrace/systrace 2006-09-01 21:24:50 +00:00
matt 2e04559304 When calling PTRACE from an LKM, use sysent[SYS_ptrace].sy_call in case
the sys_ptrace symbol isn't present.
2006-09-01 21:20:46 +00:00
matt 280b69066a Regen. 2006-09-01 21:19:44 +00:00
matt bb97e7087b process_domem exists for ktrace/ptrace/systrace 2006-09-01 21:05:33 +00:00
matt 894d299a2b Regen. (add __weak_alias(sys_ptrace, sys_nosys) when PTRACE is off) 2006-09-01 21:04:45 +00:00
matt 30183e299f Don't conditionalize *sys_ptrace. The lack of sys_ptrace will be dealt
with differently.
2006-09-01 20:58:18 +00:00
cherry 8a4036de78 bumps kernel aobj to 64 bit. \
See: http://mail-index.netbsd.org/tech-kern/2006/03/07/0007.html
2006-09-01 20:39:05 +00:00
uwe ff25c8d7b7 s/dreamcast/sh3/ to cover landisk. 2006-09-01 20:28:14 +00:00
perseant 16c0dce8d4 Update dumplfs to reflect new segment flags and "orphaned" file status. 2006-09-01 19:57:41 +00:00
perseant cb2499ac6e Several fixes to improve the reliability of the roll-forward agent.
Also, note "properly orphaned" files as distinct from corrupted files.
2006-09-01 19:52:48 +00:00
perseant a2ecf39b35 Pay attention to the new LFS_CLEANER_MUST_CLEAN flag in the Ifile. 2006-09-01 19:43:51 +00:00
perseant 437e855235 Changes to help the roll-forward agent, to wit:
* Mark being-deleted files in the Ifile so we can finish deleting them
  at fs mount time.
* Flag the Ifile with "cleaner must clean" when writers are waiting for
  the cleaner, rather than relying solely on the cleaner's estimation of
  whether it should clean or not.
* Note partial segments written by a user agent (in particular,
  fsck_lfs) so that repeated rolls forward don't interfere with one
  another.
* Add a new fcntl, LFCNPASS, that allows the log to wrap exactly once,
  for better testing of the validity of checkpoints.
* Keep track of the on-disk nlink count when cleaning, so that we don't
  partially complete directory operations while cleaning.
* Ensure that every single Ifile inode write represents a consistent
  view of the filesystem.  In particular, the accounting for the segment
  we are writing the inode into must be correct, and the accounting for
  the segment that inode used to reside in must be correct.  Rather than
  just rewriting the inode if we wrote it wrong, rewrite the necessary
  ifile blocks before writing the inode so we never write it wrong.
* Don't unmark any VDIROP vnodes if we haven't written them to disk,
  avoiding yet another problem with the "wait for the cleaner" error
  return from lfs_putpages().

Also, move the last callback to an aiodone call, so we no longer do any
memory management from interrupt context.
2006-09-01 19:41:28 +00:00
matt 20751a781e Make this compile again. -Wshadow and other gcc4 stuff. 2006-09-01 19:15:48 +00:00
matt 87eed1926a Make sure .data is .long aligned. (fixes linker warning) 2006-09-01 19:11:56 +00:00
rittera 91e48477e4 Moved ndis to the appropriate place in CHANGES.prev 2006-09-01 16:56:59 +00:00
cube 207af46910 Add a note about the use of CTL_CREATE in sysctl_createv, otherwise the
code can be confusing.
2006-09-01 16:28:53 +00:00
matt 3672c831f3 Remove explicit cast which causes assignments to PC_REGS(f) to fail. 2006-09-01 13:58:46 +00:00
matt 47006e8ea3 Remove unneeded volatile. 2006-09-01 13:54:48 +00:00
cube 52f4c135dc Device isabus has to expose an interface attribute otherwise it can't have
children attaching and config(1) detects isa0 as orphaned in RC3230.

While turning isabus into an interface attribute doesn't work (because the
attribute 'isabus' already exists), depending on that very same attribute
works.

XXX  I wonder what to allow, what to disallow.  I'll think about it.
2006-09-01 13:28:17 +00:00
matt be6447a4f3 Reorder AFLAGS to avoid assembler warnings 2006-09-01 13:07:51 +00:00
tron 94087192f4 Actually install "dot.shrc" to fix the build. 2006-09-01 13:01:55 +00:00
matt 1661cfe5d2 Increase SYMTAB_SPACE to 410000 2006-09-01 12:39:36 +00:00
mrg 09534a159a fix the previous: don't replace a NULL with a "" in an initialiser.
fixes sparc64 kernel from crash when starting ipfilter.  thanks to
jnemeth@ for flagging the delta that caused the problem.
2006-09-01 09:47:47 +00:00
mrg 663a6e2d8f s/E2BIG/EFBIG/ for bus_dma(9) errors. this is what every other
bus_dma does and several drivers depend on it.  in particular,
both re(4) and ath(4) would both spew "can't map mbuf" messages
as rapidly as possible (spamming the 9600 bps console) and
effectively locking up the interface until ifconfig "down up"
cycle was run.  with this fix, i get a much, much slower spew
of messages, and the interface (re(4)) continues to operate.
2006-09-01 09:21:18 +00:00
dyoung 4e2fa34401 Delete ath, it is known to be broken on alpha. 2006-09-01 08:19:03 +00:00
garbled bb2f95cc58 hptide controller was tested on prep by a user. Adding to GENERIC 2006-09-01 07:41:57 +00:00
garbled a9bf7a7670 I dunno how -Os crept into GENERIC, but yank it. 2006-09-01 07:23:51 +00:00
garbled fcfc216b3b Fix a horrible bug in how we initialize the 8259 interrupt controller.
The bug displayed itself by locking up console output on a 7043-140
following a powercycle.  This may also have been the cause of bogus
interrupts on motorola class machines.
2006-09-01 07:02:28 +00:00
sekiya bf3f4189a1 Fix delay() so that gcc4 does not optimize it into a noop. Lifted from the
newsmips implementation by tsutsui@
2006-09-01 05:43:23 +00:00
mrg 356f83eb40 clean up ptrace changes: #include "opt_ptrace.h" 2006-09-01 05:27:15 +00:00
dyoung 9079f579cb Add ath(4) to GENERIC alpha kernel. UNTESTED. 2006-09-01 04:58:17 +00:00
dyoung ae7bd05531 Skip computing tags on IP Filter while its compatibility #defines
shadow important names like radix_node and radix_node_head.
2006-09-01 04:55:12 +00:00
sekiya b103a9ae62 Store return value of iur_proc_queue() in local variable iwpr (unreferenced
anywhere else in function), to appease gcc4.
2006-09-01 04:54:45 +00:00
sekiya 40be9d473d Include <sys/vnode.h>. Caught by gcc4. 2006-09-01 04:49:48 +00:00
sekiya 4edb45ca0c Add missing equal sign. 2006-09-01 04:47:44 +00:00
rittera ee38489e2e added ndis to CHANGES* 2006-09-01 04:06:40 +00:00
rumble db8f31d6dd Comment out tl(4) and nsphy(4) (used by the Set Engineering board) as it
appears to have an unresolved problem with bulk transmits.
2006-09-01 03:36:30 +00:00
rumble 67e8288ba5 Remove the 'FIFO Full' hack for interrupt vector 0.
It is unclear that this interrupt fails to latch as int2_wait_fifo()
depends on it doing so and appears to work. Furthermore, we were previously
unconditionally unmasking the interrupt 0 vector, which led to more
'unexpected interrupt' messages on the console, rather than avoiding them.

Approved by sekiya@.
2006-09-01 03:33:41 +00:00
matt 49b2425f19 Use an unsigned int for the blksize on read_cd_capacity. 2006-09-01 03:29:32 +00:00
dyoung 013444d78c Remove the declaration of an unused local variable 'reg'. 2006-09-01 03:24:58 +00:00
matt 4139dfe2aa Move a variable to prevent a "unused" variable warning. 2006-09-01 03:24:50 +00:00
matt 28ee68ae9b Make this compile. The "fixed" bus_space_tag_t is horrible. 2006-09-01 03:24:08 +00:00
matt aa6c194477 Remove an unneeded volatile. 2006-09-01 03:22:58 +00:00
matt fc28199c6e Fix a -Wshadow error. 2006-09-01 03:22:26 +00:00
dyoung 19ce2e4680 Vastly simplify the code that copies an ICMP6 packet to two data
paths: ICMP6 reply path, and socket path.
2006-09-01 02:44:46 +00:00
dyoung cb88bdd489 Re-use macro IN6_IS_SCOPE_EMBEDDABLE(). 2006-09-01 02:25:29 +00:00
dyoung f583dae6cb Restore historical kernel behavior: let an application bind(2) an
IPv6 interface address (e.g., sin6_addr fe80::200:24ff:fec3:4bac
sin6_scope_id 1), set a multicast interface with
setsockopt(,IPPROTO_IPV6,IPV6_MULTICAST_IF,), and sendto(2) multicast
destinations with "wildcard" scope ID, 0, without error EHOSTUNREACH.

Prior to this patch, sendto(2) would exit with EHOSTUNREACH, even
though the scope ID was unambiguously specified both by bind(2)
and setsockopt(2).  This was a bug because it broke old applications.

Thanks JINMEI Tatuya for the patch!
2006-09-01 01:59:56 +00:00