Commit Graph

196624 Commits

Author SHA1 Message Date
pgoyette
01a7ddb233 By request, put the getaddrinfo test in tests/lib/libc/net/ 2011-01-12 02:58:40 +00:00
jym
c7b98903de Introduce "vifname" keys for Xen domains. Its value is the interface
name for the vif, e.g. xvif(4) for dom0, and xennet(4) for domU.

ok bouyer@.

See http://mail-index.netbsd.org/port-xen/2011/01/11/msg006405.html
2011-01-11 23:22:19 +00:00
jruoho
013c599031 Restore the interrupt level in cpu_reboot() before calling the
acpi_enter_sleep_state() function.
2011-01-11 21:10:17 +00:00
jruoho
c2df94f224 Disable all GPEs when entering S5. Also add a comment that the function
acpi_enter_sleep_state() must be called with interrupts enabled.
2011-01-11 20:35:24 +00:00
jruoho
049e68f4dd Use pmf_device_register1(9) and add cpu_shutdown(), which calls cpu_suspend(). 2011-01-11 18:25:25 +00:00
pgoyette
d8ae15f3b3 The getqaddrinfo test has been atf-ified 2011-01-11 16:34:27 +00:00
pgoyette
f923271858 sets-list dance for getaddrinfo test 2011-01-11 16:31:32 +00:00
pgoyette
c177834af5 Atf-ify the getaddrinfo test, with updated "golden" output files. 2011-01-11 16:30:53 +00:00
tsutsui
bb43e1b7cf ANSIfy. 2011-01-11 16:19:38 +00:00
kefren
6469d79cd6 add advlock to rumpfs, ok pooka@ 2011-01-11 14:05:32 +00:00
kefren
2f07b81209 add advlock to puffs. ok pooka@
should fix kern/43321
2011-01-11 14:04:54 +00:00
kefren
eea5c39883 add test for kern/43321, blessed by pooka@ 2011-01-11 14:03:38 +00:00
jym
c3dcb3813f Fix my mistake: it is boot.cfg(5), not boot.conf 2011-01-11 13:46:47 +00:00
nisimura
30ae008b2a step forward to MODULAR sandpoint kernel. disabled until all work gets done. 2011-01-11 13:29:09 +00:00
gsutre
98737943bc As said in the comment (lines 327-336), we must make sure that
we don't overwrite valid data when moving the symbol and string
tables.

Assume for instance that the boot-loader left us with:

  +--------------+   +--------+     +--------------+
  | string table |   | kernel |     | symbol table |
  +--------------+   +--------+     +--------------+

The new addresses computed by lines 338-359 (here, it's really
lines 344-345) will move the tables so that they end up as:

                     +--------+--------------+--------------+
                     | kernel | symbol table | string table |
                     +--------+--------------+--------------+

The current version (rev. 1.20) will, however, first copy the
string table and then the symbol table.  But the copy of the
string table will overwrite the symbol table (see the pictures).

The old code (rev. 1.19) uses the right order of table copy to
make sure that we don't overwrite one table when moving the
other.  Here, we simply restore this behavior.  This makes
multibooting from GRUB2 work again (for MONOLITHIC).

ok jmcneill@
2011-01-11 12:24:37 +00:00
pooka
cc362f9900 Print some more info in an attempt to try to understand why the
test fails in automated test runs but not my desktop.
2011-01-11 11:26:28 +00:00
pooka
f6b3a097e6 +tests/net/net 2011-01-11 10:55:27 +00:00
pooka
8d1e86d12d Apply patch from PR kern/44369 by Wolfgang Stukenbrock. 2011-01-11 10:52:42 +00:00
pooka
68e1e43ec7 add test for PR kern/44369 2011-01-11 10:51:45 +00:00
pooka
0de1b73a11 KASSERT we don't return back to userspace with the kernel lock held. 2011-01-11 10:49:20 +00:00
wiz
f4518bc90a Wording, sort SEE ALSO. 2011-01-11 10:48:49 +00:00
wiz
7f6d1532f6 Remove trailing whitespace and reference to non-existent boot.conf(5). 2011-01-11 10:48:37 +00:00
wiz
03dc1370cc Fix typo, add serial comma, remova trailing space, sort SEE ALSO. 2011-01-11 10:48:05 +00:00
wiz
7733664897 Nitpicking. 2011-01-11 10:47:45 +00:00
nisimura
88e9af105e make sure to have 32B aligned descriptor array. 2011-01-11 10:10:48 +00:00
nisimura
25f1d04e74 always have even numbered descriptors to avoid ones belong to Tx/Rx
share the same cacheline even for 32B cacheline CPU. These six are
provisional code stocks and untested.
2011-01-11 09:45:25 +00:00
pooka
4665e3c895 need unrace-catcher for ffslog 2011-01-11 09:32:50 +00:00
pooka
a05de63f6b Ensure that a) loopback attaches after all the domains have attached
b) loopback is configured only after it has attached.

makes tests/net/if_loop work again
2011-01-11 09:24:05 +00:00
pooka
68ede6388b Add one more component level to networking: IFCFG.
It is executed after IF and the purposes to guarantee the right
order in cross-component interface address configuration.
(e.g. lo0 is attached by net but 127.0.0.1 is configured by netinet)
2011-01-11 09:22:32 +00:00
nisimura
7b058564f1 move module load address printf() to show the correct value. Still
some more work.
2011-01-11 08:19:34 +00:00
nisimura
1c813b2944 add MODULAR loading facility. Disabled for now 'til it gets ready to use. 2011-01-11 08:04:14 +00:00
nisimura
192fab1859 move set_xfermode() call to set PIO0 before the initial drive
identification.
2011-01-11 07:01:21 +00:00
nisimura
1655c840ce add btinfo_modulelist for MODULAR component loading. 2011-01-11 06:57:35 +00:00
jym
2d351d332f Typo fix. 2011-01-11 01:21:32 +00:00
riz
99384b2def Copy a little less data in the ufs2, 4096-byte block test cases.
The file system was filling up instead of *almost* filling up, which
threw off the tests.
2011-01-11 00:50:02 +00:00
macallan
bcebe4e063 use config_finalize_register() instead of config_interrupts() to detect the
codec and attach audio. For some reason we run into a locking panic with
config_interrupts().
Tested on my SS20
2011-01-11 00:49:50 +00:00
jym
3e92b05f36 Add man pages for Xen devices:
pciback.4 xbd.4 xbdback.4 xenbus.4 xennet.4 xpci.4 xvif.4

Blessed by bouyer@
2011-01-11 00:45:04 +00:00
dyoung
d92d0c4971 Don't compute tags over cxgb, its symbols clash too often with symbols
in other drivers and subsystems.
2011-01-11 00:36:03 +00:00
dyoung
93c928cfb9 Regen. 2011-01-11 00:14:41 +00:00
dyoung
4e03721aef Add Intel 82599 product IDs. 2011-01-11 00:13:03 +00:00
yamt
79d46db770 typo in a comment 2011-01-10 23:20:45 +00:00
jakllsch
7c834707a3 When we fail to read a block computing the matching hash,
it's nice to know what device and why.

Also, drop comment that hasn't been valid since 1.12.
2011-01-10 21:26:38 +00:00
apb
ff7405e5b4 Define PRI[diouxX]8. We previously did this only for
16- and 32-bit type, but now PRIu8 is needed for tools/disklabel.

Also define SCN[diouxX]{8,16,32}, the scanf counterparts
to the PRI[diouxX]{8,16,32} macros.

Tested via "build.sh tools" on a system whose native definitions
or the PRI* and SCN* mcros was disabled.
2011-01-10 20:38:35 +00:00
phx
12b3b97cc9 Try to increase compatibility with all controllers when reading the status. 2011-01-10 20:18:19 +00:00
phx
82908c64ed Accept "wd[N[p]]:" (with N=disk and p=partition) for specifying a disk drive. 2011-01-10 20:16:42 +00:00
phx
7232363c11 Do not crash, but use "netbsd" as default file name when missing. 2011-01-10 20:14:52 +00:00
phx
812c3a1ea3 Make disk-booting work on Synology by using a PIO ATA-read command (0x20)
instead of the DMA read command (0xc8). This should work for all platforms.
Included the soft-reset in the siisata driver.
2011-01-10 20:13:47 +00:00
pooka
617df94e9c Make sure stressclient worker threads complete their operation
instead of hanging.
2011-01-10 19:51:37 +00:00
pooka
5064fa59e6 A bunch of improvements:
* don't hold spc mutex while sending data
* use send() for the banner to avoid SIGPIPE in case a client
  connects and immediately goes away
* fix error path locking
* use kevent() instead of pollts() in the client.  Apparently that
  is the only sensible way for a library to support both multithreading
  and signal-reentrancy in a race-free manner.
  (can I catch all signals with one kevent instead of installing
  NSIG different ones??)
* mark client comm descriptor non-blocking so that clients have
  better signal-interruptibility (we now sleep in signal-accepting
  kevent() instead of signal-masked recvfrom())
2011-01-10 19:49:43 +00:00
pooka
e95a17b9a5 check that we actually go into the signal handler 2011-01-10 19:30:21 +00:00