Commit Graph

215088 Commits

Author SHA1 Message Date
pgoyette 1ed7a9a845 Update a couple of tests to indicate that they are broken/failing because
of missing input/expected data files
2012-11-29 17:22:17 +00:00
pgoyette 2cb9f80737 Now that I've created PR/47262, reference it in the tests that fail
because of the PR
2012-11-29 17:11:19 +00:00
pgoyette a557d345a2 Add another test option for expected failures, rather than simply
skipping tests
2012-11-29 17:10:21 +00:00
christos 4388d56064 add libpnf to /lib 2012-11-29 16:18:35 +00:00
christos 244cc8cdee install in /lib too because npfctl is linked against it. 2012-11-29 16:17:14 +00:00
pgoyette 60bd2d2129 Even though this test is currently disabled, fix it so it looks for the
correct input and expected-output files for test case bpf_f1
2012-11-29 16:05:34 +00:00
vanhu 2bdb1d3e0a Added support for AES GCM 16 in phase2 negociations. Code from Christophe Carre / NETASQ 2012-11-29 15:31:24 +00:00
nakayama 33e8b488e1 - Remove redundant vput() before vgone().
- Avoid unnecessary mutex_exit() in smbfs_node_alloc().
- Set NGONE bit to from-name vnode to invalidate the smbnode cache.
2012-11-29 11:58:49 +00:00
wiz 5c33580cf9 New sentence, new line.
Bump date for previous.
2012-11-29 11:34:33 +00:00
phx 4d9cf1f03c Mention Realtek driver bugs in the BUGS section. 2012-11-29 10:44:37 +00:00
msaitoh b9514938ff Remove trailing white space(s) from name of random source.
And also, changind space(s) in the middle with '-'.
PR#47232.
2012-11-29 10:29:45 +00:00
martin b954a04ff6 Skip kqueue_unsupported_fd if the drvctl device is not present. 2012-11-29 09:13:44 +00:00
pgoyette acd8a5e133 Since all of the expected-results files provided from upstream include
the "-D" output (Dump additional internal tables), update the tests to
actually generate the data!

This lets us re-enable 28 of the 30 "skipped" tests.

XXX Still need to work on tests n12 and n17_6
2012-11-29 04:57:42 +00:00
christos b7bac3aaa1 document new reserved ports 2012-11-29 02:27:12 +00:00
christos b8e38193b8 put back line I accidentally deleted. 2012-11-29 02:24:14 +00:00
christos cbf1f72b20 Add a new sysctl to mark ports as reserved, so that they are not used in
the anonymous or reserved port allocation.
2012-11-29 02:07:20 +00:00
christos 97613513e6 add a handler for the reserved port sysctl variable. 2012-11-29 02:06:17 +00:00
christos de1cb60c9b use the proper variable 2012-11-29 02:05:38 +00:00
jdf 9b26790b45 Fix wrong proposal of ifconfig(8) usage:
ifconfig -m <device>
(which shows information) instead of
    ifconfig <device> media
(which sets information). Fixes PR misc/47197.
2012-11-29 00:12:21 +00:00
matt b0fa9c7a7f Make these compile with gcc4.1 and binutils 2.16 2012-11-28 22:48:13 +00:00
martin 3e441138b1 Provide an assembler version of _atomic_cas_up for sparc - the C code
does not compile to something usable in a RAS. See PR 38482.
2012-11-28 21:39:59 +00:00
royger f301a1b2e9 xen: prevent adding duplicate xenwatches
When a xenstore watch triggers, the event is processed on process_msg
and if a valid handle it's found the handler is queued for execution
on the pending xen watches queue (watch_events).

This may present a problem if we trigger a xenwatch several times and
then disconnect the device. If several xenwatch events are added to
the watch_events queue and the device is disconnected afterwards, the
first processed xenwatch event will disconnect the device, remove the
watch and free all resources. This triggers a panic if there are
pending xenwatch events for that device already queued in the local
queue of the function xenwatch_thread, since when the next watch that
has the same handler tries to execute we get a panic due to the fact
that the device is already disconnected and all resources had been
freed:

xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xffffffff80755dd4
otherend_changed: backend/vif/1/0
backend/vif/1/0/state 6
backend/vif/1/0 -> Closed
backend/vif/1/0 -> backend_device, b_detach: 0xffffffff8075a2bf
xenbus_watch: 0xffffa0000b7cd1d0
xbw_callback: 0xfc5ec02183e547a8
fatal protection fault in supervisor mode
trap type 4 code 0 rip ffffffff80756596 cs e030 rflags 10246 cr2
7f7ff7b4c020 ilevel 0 rsp ffffa000e6d82c50
curlwp 0xffffa0000a72d580 pid 0 lid 36 lowest kstack
0xffffa000e6d7f000
kernel: protection fault trap, code=0
Stopped in pid 0.36 (system) at netbsd:xenwatch_thread+0xc7:    call
*10(%rax
)
xenwatch_thread() at netbsd:xenwatch_thread+0xc7
ds          f
es          5987
fs          2c40
gs          1460
rdi         ffffa0000b7cd1d0
rsi         ffffa0000a5477f0
rbp         ffffa000e6d82c70
rbx         ffffa0000b7c14c0
rdx         2
rcx         f
rax         ffffa0000b7cd1d0
r8          78
r9          ffffffef
r10         deadbeef
r11         1
r12         ffffa000e6d82c50
r13         ffffa0000a72d580
r14         ffffa0000a72d580
r15         0
rip         ffffffff80756596    xenwatch_thread+0xc7
cs          e030
rflags      10246
rsp         ffffa000e6d82c50
ss          e02b
netbsd:xenwatch_thread+0xc7:    call    *10(%rax)
2012-11-28 16:26:59 +00:00
nakayama 9dae46742e Various fixes for smbfs:
- Implement NGONE to fix caching issue described in PR kern/25070.
  Mostly taken from FreeBSD r125637.

- Revert revision 1.70 of smbfs_vnops.c to fix setattr to opened
  direcotry.  In case of SMB_CAP_NT_SMBS, NOPEN is set after
  smbfs_smb_ntcreatex() call.  If NOPEN is set in front, it will
  immediately return by condition at do_open label.

- In smbfs_close(), call smbfs_smb_close() and drop NOPEN bit in
  the case of direcotry.  Otherwise smbfs_rmdir() fails when the
  directory was opened.
2012-11-28 13:34:24 +00:00
blymn 9a57dec753 Fix error message when trying to add a group using -g =uid that
that already exists, the old version printed the wrong GID.
2012-11-28 11:31:27 +00:00
blymn 2da0bfd2ff Google Code In bug fix by Philip Hayes, fixes bin/41049 2012-11-28 11:20:58 +00:00
wiz de03e2f2f4 binutils-2.23.1 out. 2012-11-28 09:43:16 +00:00
wiz 27d0951af6 Add some articles. Remove trailing whitespace. Fix a typo. 2012-11-28 09:31:15 +00:00
wiz 575e708575 Bump date for previous, remove duplicate word. 2012-11-28 09:29:47 +00:00
wiz 759d63f41f Remove trailing whitespace, sort SEE ALSO, comment out reference
to non-existing libbz2(3).

XXX: bn(3) references correct? (man page doesn't exist in NetBSD)
2012-11-28 09:23:14 +00:00
matt b160e122c8 Add missing registers. 2012-11-28 02:18:24 +00:00
matt 2a1ae60c15 Add missing debug files. 2012-11-28 01:40:19 +00:00
matt d9e09e3051 Optimize. 2012-11-28 01:35:05 +00:00
matt a96852fc0d Use the armv6 rev/rev16 if armv6 or later 2012-11-27 23:57:07 +00:00
jakllsch 3d61196b02 Whitespace. 2012-11-27 20:32:58 +00:00
jakllsch 793070a537 Until such time as the swap subsystem can be converted to use The One True
Allocator, prevent panics if (MAXPHYS/PAGE_SIZE) > BLIST_MAX_ALLOC.
From Wolfgang Stukenbrock in PR#41765.
2012-11-27 20:15:55 +00:00
jkunz baa08254b2 Fix typo. 2012-11-27 20:06:36 +00:00
jkunz 32c0cb2823 According to the i.MX23 Reference Manual section 3.1, Page 3-3:
"The i.MX23 always operates in litle-endian mode."
So build elftosb and bootloader for this processor only for evbarm(-el).
2012-11-27 20:00:38 +00:00
matt f82647e665 Make the 85xx get closer to spinning up the secondary CPUs.
Don't assume TLB1[0] has the mapping for VA/PA 0.
Make sure the TLB1 entries that map physical memory have the M (memory
coherent) bit set.
2012-11-27 19:24:45 +00:00
jakllsch 9dc12b580b Add fsbsizeovermaxbsize test that tests mouting a FS with block size greater
than MAXBSIZE.
2012-11-27 16:01:49 +00:00
jakllsch 4ab3368ede Rename fsbsize2big to fsbsizeovermaxphys to accurately match what it tests.
Additionally, compute failing size dynamically by doubling MAXPHYS instead
of assuming 128K will be too big enough.
2012-11-27 15:59:15 +00:00
mrg b136469b73 since usb task add/remove is supposed to be callable in any usb
context, make sure the lock is OK for such.  ie, not a sleeping lock.
fixes PR#47244.
2012-11-27 04:54:58 +00:00
rkujawa 083cec6ba5 Note support for more boards. 2012-11-26 23:02:53 +00:00
rkujawa d2a8a7584b Try to make z3rambd less crude. Also support BigRamPlus, FastLane Z3 RAM and
DKB3128.
2012-11-26 22:58:24 +00:00
christos d37f0585f1 put back rest of the lines that got cut off. 2012-11-26 21:15:34 +00:00
rmind 5111d7eafd npfctl: extend syntax for extracting interface IP address(es) by the family. 2012-11-26 20:34:28 +00:00
pooka 4037e69f4e Attempt 2 at fixing DragonFly util.h conflicts: include util.h only for
non-tool builds.
(why does the tool build prefer host headers instead of compat headers?)
2012-11-26 20:13:54 +00:00
pooka 4fd1e9198b fix previous 2012-11-26 20:03:40 +00:00
pooka 48528ba2e9 One more thing required by DragonFly 2012-11-26 19:57:24 +00:00
pooka 169dfff670 revert previous commit since it breaks the build on NetBSD and
apparently that's considered important
2012-11-26 19:53:41 +00:00
drochner 6eb7501d2c collect common rules in the shared Makefile, this propagates the .OBJDIR
fix done for i386 last year to all other ports
2012-11-26 18:57:33 +00:00