Commit Graph

193220 Commits

Author SHA1 Message Date
tsutsui
cd398ae4e9 If firmware_load() returns ENOENT (i.e. No such file or directory),
explicitly mention that firmware file is not in the default distribution.
2010-08-25 12:43:56 +00:00
manu
a18d4c5a69 perfused(8) creates a /dev/fuse socket and performs PUFFS to FUSE relaying.
This is still a work in progress.
2010-08-25 07:18:01 +00:00
manu
7b1d1ee680 libperfuse(3) is a PUFFS relay to FUSE. In order to use it,
FUSE filesystem must be patched to #include <perfuse.h> in the source
files that open /dev/fuse and perform the mount(2) system call. The
FUSE filesystem must be linked with -lperfuse.

libperfuse(3) implements the FUSE kernel interface, on which libfuse or
any FUSE filesystem that opens /dev/fuse directly can be used.

For now, an external daemon called perfused(8) is used. This may change
in the future.
2010-08-25 07:16:00 +00:00
jnemeth
3a12eae410 note that MODULE_CLASS_SECMODEL is also automatically deregistered when being unloaded 2010-08-25 06:45:35 +00:00
jruoho
cff1577a2c Add definitions for Intel Digital Thermal Sensor and Power Management, at
CPUID Fn0000_0006, %eax, %ecx. Use these instead of magic numbers.
2010-08-25 05:07:43 +00:00
jruoho
38451663e8 There is nothing particularly interesting for users in:
acpicpu0 at acpi0 (CPU0)
ACPI: Dynamic OEM Table Load:
Table [SSDT](id 00EB) - 13 Objects with 0 Devices 1 Methods 0 Regions
ACPI: Dynamic OEM Table Load:
: ACPI CPU

Thus, use ACPI_DEBUG_PRINT() instead of ACPI_INFO() when a table is loaded
dynamically.
2010-08-25 04:58:59 +00:00
rmind
574e8cee41 Use own IPv4 reassembly queue entry structure and leave struct ipqent only
for TCP.  Now both struct ipfr_qent, struct ipfr_queue and hashed fragment
queue are abstracted and no longer public.
2010-08-25 00:05:14 +00:00
rmind
3b6fdb92e5 Move npf.conf(5-8) into the correct section, hence npf.conf(5). 2010-08-24 23:55:04 +00:00
pgoyette
658930c423 Replace a couple uses of '$@' with '$*'
In statusmsg2() make the msg variable local.

More thanks to Robert Elz.
2010-08-24 20:52:31 +00:00
pgoyette
d4e0edae35 Quote the $msg variable to ensure that leading/trailing spaces get counted.
Thanks to Robert Elz.
2010-08-24 15:28:22 +00:00
jruoho
8c53a12242 Bypass ACPI_NOTIFY_DEVICE_WAKE also in acpilid(4). Use aprint_debug_dev(9)
for an unknown notify. (The ACPI drivers should really not print anything
as we now have a global notify handler that can catch the debug information.)
2010-08-24 15:03:34 +00:00
pooka
695f38a810 yet another header 2010-08-24 15:03:18 +00:00
jruoho
22be5f8eda Remove phony spl(9). XXX: This driver needs to be cleaned up. 2010-08-24 14:53:45 +00:00
pgoyette
0285d73f87 Improve formatting of column-aligned output, as discussed on current-users. 2010-08-24 13:35:32 +00:00
pooka
cf0a627569 whoopsie, need to commit this as part of scsitest 2010-08-24 13:19:04 +00:00
christos
a5fe3c0d6f Enable dnssec, and populate managed-keys.bind 2010-08-24 13:18:58 +00:00
christos
24854e5e7c Add directory for bind's managed keys. 2010-08-24 13:18:04 +00:00
macallan
57e00fd8e6 re-initialize the DAC when re-entering terminal emulation mode 2010-08-24 12:47:17 +00:00
christos
389aa89258 PR/43795: Guy Harris: describe return values and error handling. 2010-08-24 12:05:01 +00:00
pooka
c9a399cbba scsipi test 2010-08-24 11:31:48 +00:00
pooka
5335766609 Test for cache sync noises after disk is ejected.
test case for PR kern/43785
2010-08-24 11:29:45 +00:00
pooka
e0b73aff77 +rumpdev_scsitest 2010-08-24 11:26:27 +00:00
pooka
64d9536df5 Implement enough of a SCSI target to be able to perform tests on
our SCSIPI driver stack.  Currently we pretend to be a single CD
controller with an optional host file as the image, but I guess
the sky's the limit.

dmesg porn:
NetBSD 5.99.39 (RUMP-ROAST) #0: Mon Aug 23 11:38:16 CEST 2010
        pooka@pain-rustique.localhost:/usr/allsrc/src/sys/rump/librump/rumpkern
total memory = unlimited (host limit)
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "rumpclk" frequency 100 Hz quality 0
root file system type: rumpfs
mainbus0 (root)
scsitest0 at mainbus0
scsibus0 at scsitest0: 2 targets, 1 lun per target
cd0 at scsibus0 target 1 lun 0: <RUMPHOBO, It's a LIE, 0.00> cdrom removable
2010-08-24 11:23:35 +00:00
jruoho
465d00f837 As all reported P-state failures so far have centered around the status-
check (today it was christos@' laptop), follow Linux and disable this rather
expensive sanity-check for the time being. A hypothesis about the cause of
the failures relates to the absence of cross-CPU coordination in the current
implementation.
2010-08-24 10:29:53 +00:00
cegger
188054e855 Backport improvements from FreeBSD.
Introduce two new options:
-f : force root node
-i : set priority budget where supported
developped, tested and reviewed by kiyohara@ and me.
2010-08-24 08:41:24 +00:00
jruoho
42a7d04b04 Add native support for AMD family 0Fh processors. This is the furthest we
will go backwards; K7 will not be supported already due doubts about
availability and reliability of ACPI during that era. Some unfortunate code
duplication is present (but not overly much). Thanks to cegger@ and jakllsch@
for patiently testing this.
2010-08-24 07:27:59 +00:00
jruoho
dfca43fdb9 Few small nits. 2010-08-24 05:34:15 +00:00
pgoyette
4cbc14d2b2 Initialize acpi_force_load so that it gets allocated in the data segment
rather than BSS.  This lets you change its value with 'gdb --write'.

OK jruoho@
2010-08-24 04:36:02 +00:00
jakllsch
c77ac47598 Make the EtherIP in IPv6 input path work.
XXX: Figure out if we really need a separate protosw for IPv6.
2010-08-24 00:07:00 +00:00
pooka
6c43668aa2 update component lists: scsipi is independent of umass now 2010-08-23 20:56:27 +00:00
pooka
b7e34ac068 add rumpdev_scsipi 2010-08-23 20:53:41 +00:00
christos
6a6858c912 Fix issues with stack allocation and pax aslr:
- since the size is unsigned, don't check just that it is > 0, but limit
  it to the MAXSSIZ
- if the stack size is reduced because of aslr, make sure we reduce the
  actual allocation by the same size so that the size does not wrap around.
NB: Must be pulled up to 5.x!
2010-08-23 20:53:08 +00:00
pooka
4d40787853 Split scsipi out of librumpdev_umass into librumpdev_scsipi. umass
still compile time depends on scsipi in the sense of "ifdef
NATAPIBLUES", but I'm not going to fix that now.
2010-08-23 20:49:53 +00:00
pooka
f1ac9b979d Convert one second(!!) delay to kpause. It was originally done
from a callout, so delay was the only option (in those days).  Then
the caller was converted to a thread, but left as a delay.  It
still may block the scsipi completion thread processing (so I
seriously doubt this code path is executed very often on a live
system).
2010-08-23 20:01:16 +00:00
jruoho
4f4a7a5d46 Other entry points beyond x86_cpu_idle_halt() may use HLT as the
idle-mechanism. Send an IPI also for these in cpu_need_resched().
2010-08-23 16:20:44 +00:00
joerg
09dba18788 Simplify. 2010-08-23 16:03:03 +00:00
pgoyette
85e292c065 Initialize the new kernconfig_lock for rump kernels before it can be used.
Should fix the rather massive breakage in the automated test runs, too.
Sorry for breaking rump.
2010-08-23 14:00:40 +00:00
pooka
b846a386dc Add a delay between startup of pinger and pingee here too.
XXX: there's apparently some race condition which appears to trigger
if a broadcast arp arrives around the same time as the arpwhohas
is sent.  This causes original packet to never be sent by the
arpwhohas requestor.  If this rings a bell to someone, please let
me know.
2010-08-23 10:49:27 +00:00
jnemeth
08e3aa9c11 fix build failure -- correct printf sizes 2010-08-23 06:01:04 +00:00
jakllsch
785fb07d78 Move FWH chip detection area entirely within the mapping for
the smaller i82802AB. This is needed as not all BIOSes set a
larger-than-necessary decode range.
2010-08-23 02:57:19 +00:00
wiz
578d32c924 Add more articles and more formatting. 2010-08-22 20:36:09 +00:00
rmind
2e6f2099c6 Import NPF - a packet filter. Some features:
- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
  Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
  supporting generic RISC-like and specific CISC-like instructions for
  common patterns (e.g. IPv4 address matching).  See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
2010-08-22 18:56:18 +00:00
christos
00defba087 Adapt to new module locking regime. Is that even right? 2010-08-22 18:01:01 +00:00
jruoho
f0bf6761b2 Use acpi_timer_read_fast() instead of acpi_timer_read_safe(). 2010-08-22 17:45:48 +00:00
pgoyette
e0050f81eb Only define kernconfig_lock routines for _KERNEL
Fixes i386 build problem reported by Juergen Hannken-Illjes.
2010-08-22 14:12:10 +00:00
jruoho
89188f9d4a Still DELAY(9) a little even when we do not do the status-check. 2010-08-22 04:42:57 +00:00
perry
7e5b4620db add bsd.subdir.mk 2010-08-22 02:21:31 +00:00
perry
9573f66f1d RCSIds 2010-08-22 02:19:07 +00:00
perry
6cf2c06dc8 add 03.shell 2010-08-22 02:16:17 +00:00
perry
ee256018ca build the tutoral 2010-08-22 02:09:36 +00:00