Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 14:06:02 UTC Now

2011-02-25 00:17:36 UTC MAIN commitmail json YAML

Move HEXDIGIT to mvme68k's sboot. It seems to be the only user.
Save a byte by explicitly specifying the size.

(joerg)

2011-02-24 23:49:26 UTC MAIN commitmail json YAML

simplify and avoid pointer gymnastics

(christos)

2011-02-24 23:48:59 UTC MAIN commitmail json YAML

simplify and handle unaligned pointer access.

(christos)

2011-02-24 22:36:12 UTC MAIN commitmail json YAML

xgeExtRegister is X_HIDDEN in extutil.c, make sure it is in Xge.c

(matt)

2011-02-24 20:03:41 UTC MAIN commitmail json YAML

small modifications in dealing with the unknown result size of compression/
decompression:
-seperate the IPCOMP specific rule that compression must not grow the
data from general compression semantics: Introduce a special name
CRYPTO_DEFLATE_COMP_NOGROW/comp_algo_deflate_nogrow to describe
the IPCOMP semantics and use it there. (being here, fix the check
so that equal size is considered failure as well as required by
RFC2393)
Customers of CRYPTO_DEFLATE_COMP/comp_algo_deflate now always get
deflated data back, even if they are not smaller than the original.
-allow to pass a "size hint" to the DEFLATE decompression function
which is used for the initial buffer allocation. Due to the changes
done there, additional allocations and extra copies are avoided if the
initial allocation is sufficient. Set the size hint to MCLBYTES (=2k)
in IPCOMP which should be good for many use cases.

(drochner)

2011-02-24 20:02:20 UTC MAIN commitmail json YAML

Add Intel Pineview support

(matt)

2011-02-24 20:01:53 UTC MAIN commitmail json YAML

2011-02-24 20:01:28 UTC MAIN commitmail json YAML

2011-02-24 20:01:00 UTC MAIN commitmail json YAML

Update desc for RT3090.  Add Intel NM10_LPC

(matt)

2011-02-24 19:35:46 UTC MAIN commitmail json YAML

make the crypto softint MPSAFE -- I see no reason not to do it, and
it didn't cause trouble for me. (It doesn't give additional parallelization
as things look now, just saves the acquisition of KERNEL_LOCK.)

(drochner)

2011-02-24 19:32:34 UTC MAIN commitmail json YAML

Print "interrupting at". Improved style guide conformance.

(phx)

2011-02-24 19:28:04 UTC MAIN commitmail json YAML

Don't panic, just truncate, if the iov is too short in a COPYBACK.
This case can be triggered from userland cryptodev if the buffer
for decompressed data is too small.
(It would look cleaner if the lengths would be passed explicitely
everywhere, but that would thwart the abstraction done by COPYDATA/COPYBACK
which allows to treat mbufs and iovs the same way.)

(drochner)

2011-02-24 19:00:59 UTC MAIN commitmail json YAML

Catch up with x86 on cpufeaturebus.

(jruoho)

2011-02-24 18:35:40 UTC MAIN commitmail json YAML

avoid #ifdef/#endif inside sprint() argument list, as with USE_FORT=yes
sprint becomes a macro

(plunky)

2011-02-24 18:33:06 UTC MAIN commitmail json YAML

format string needs end of statement ; for previous commit

(plunky)

2011-02-24 17:42:16 UTC MAIN commitmail json YAML

Some cleanup:
- voyagerfb has no business on x86, so throw it out
- add igsfb, unlike the above it exists in real life on PC graphics cards
- remove duplicate genfb and machfb entries
- remove duplicate wsdisplay entries

(macallan)

2011-02-24 17:29:49 UTC MAIN commitmail json YAML

adjust location of xfail in previous for more accuracy

(pooka)

2011-02-24 17:26:46 UTC MAIN commitmail json YAML

2011-02-24 16:49:15 UTC MAIN commitmail json YAML

Resurrect silently removed lines in rev 1.37 that update FPU_CSR
in double's inexact or overflow cases.

Now the following tests are passed:
---
tp-start: t_except, 6
tc-start: masked_double
tc-end: masked_double, passed
:
tc-start: masked_long_double
tc-end: masked_long_double, passed
:
tp-start: t_subnormal, 2
tc-start: test_double
tc-end: test_double, passed
---

The following ones still fail:
---
tp-start: t_except, 6
:
tc-start: unmasked_double
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_double, failed, 1 checks failed; see output for more details
tc-start: unmasked_float
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_float, failed, 1 checks failed; see output for more details
tc-start: unmasked_long_double
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_long_double, failed, 1 checks failed; see output for more details
tp-end: t_except
:
tp-start: t_subnormal, 2
:
tc-start: test_float
tc-end: test_float, failed, Test program received signal 4 (core dumped)
tp-end: t_subnormal
---

- t_except unmasked failures are mentioned in PR port-mips/35327.
- t_subnormal float failure seems trap caused by a FP insn in BDslot
  (I'm not sure if we can use TF_REG_CAUSE in trapframe to see BD bit)

(tsutsui)

2011-02-24 16:21:51 UTC MAIN commitmail json YAML

- use correct address to fetch an instruction that causes FP trap
  not in BDslot (broken since the first mips64 partial merge)
- also fix leftover confusing comment that should have been removed
  when rev 1.82 was committed back in 1999.

Previously the most ieeefp tests dump core:
---
tp-start: t_except, 6
tc-start: masked_double
tc-end: masked_double, failed, Test program received signal 4 (core dumped)
tc-start: masked_float
tc-end: masked_float, failed, Test program received signal 4 (core dumped)
tc-start: masked_long_double
tc-end: masked_long_double, failed, Test program received signal 4 (core dumped)
tc-start: unmasked_double
tc-end: unmasked_double, failed, Test program received signal 4 (core dumped)
tc-start: unmasked_float
tc-end: unmasked_float, failed, Test program received signal 4 (core dumped)
tc-start: unmasked_long_double
tc-end: unmasked_long_double, failed, Test program received signal 4 (core dumped)
tp-end: t_except
:
tp-start: t_subnormal, 2
tc-start: test_double
tc-end: test_double, failed, Test program received signal 4 (core dumped)
tc-start: test_float
tc-end: test_float, failed, Test program received signal 4 (core dumped)
tp-end: t_subnormal
---

Now they fail differently:
---
tp-start: t_except, 6
tc-start: masked_double
tc-end: masked_double, failed, Test program received signal 4 (core dumped)
tc-start: masked_float
tc-end: masked_float, passed
tc-start: masked_long_double
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:227: ex1 & t->mask != t->mask
tc-end: masked_long_double, failed, 1 checks failed; see output for more details
tc-start: unmasked_double
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_double, failed, 1 checks failed; see output for more details
tc-start: unmasked_float
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_float, failed, 1 checks failed; see output for more details
tc-start: unmasked_long_double
tc-se:*** Check failed: /usr/src/tests/lib/libc/ieeefp/t_except.c:269: sicode != t->sicode
tc-end: unmasked_long_double, failed, 1 checks failed; see output for more details
tp-end: t_except
:
tp-start: t_subnormal, 2
tc-start: test_double
tc-end: test_double, failed, Test program received signal 4 (core dumped)
tc-start: test_float
tc-end: test_float, failed, Test program received signal 4 (core dumped)
tp-end: t_subnormal
---

(tsutsui)

2011-02-24 15:52:23 UTC MAIN commitmail json YAML

Fix wrong register usage in mips_fpu_trap():
- trapframe is the second arg a1, not a3
- cause is now loaded in a2, not t0 or t3

Fixes kernel panic during tests/lib/libc/ieeefp:
---
tps-count: 4
tp-start: t_except, 6
tc-start: masked_double
pid 645(t_except): trap: cpu0, TLB modification in kernel mode
status=0x2000ff03, cause=0x4, epc=0x80001420, vaddr=0x4026c8
tf=0xc8b15d00 ksp=0xc8b15da0 ra=0x8024af80 ppl=0x7fff5cd0
kernel: TLB modification trap
Stopped in pid 645.1 (t_except) at      \
netbsd:mips_fpu_intr+0x74:  sw      t3,144(a3)
db>
----
though the ieeefp tests still fail in various places.

(tsutsui)

2011-02-24 15:47:59 UTC MAIN commitmail json YAML

Do not return the bus clock directly in the match() function.

(jruoho)

2011-02-24 15:42:17 UTC MAIN commitmail json YAML

2011-02-24 15:27:00 UTC MAIN commitmail json YAML

MachEmulateInst() -> mips_emul_inst() in comment.

(tsutsui)

2011-02-24 15:25:07 UTC MAIN commitmail json YAML

Fix comment mangled in rev 1.142 back in 2002.

(tsutsui)

2011-02-24 14:40:43 UTC MAIN commitmail json YAML

Check and update intc_cause on each iteration of interrupt handler loop.
Fixes silent hang during SCSI probe.

(tsutsui)

2011-02-24 14:33:23 UTC MAIN commitmail json YAML

define the format as a constant so that we don't break if sprintf is a macro.
XXX: make it so that sprintf is not a macro.

(christos)

2011-02-24 14:22:04 UTC MAIN commitmail json YAML

Fix static fallback path.

(pooka)

2011-02-24 14:20:29 UTC MAIN commitmail json YAML

2011-02-24 14:08:52 UTC MAIN commitmail json YAML

2011-02-24 13:58:39 UTC MAIN commitmail json YAML

2011-02-24 13:19:37 UTC MAIN commitmail json YAML

add support for Family 14h (AMD Fusion)

(jmcneill)

2011-02-24 12:25:45 UTC MAIN commitmail json YAML

Make the rumphijack dlsym trampoline call from rumpclient a "real"
function call instead of a call through a function pointer.
Apparently powerpc ld.elf_so gets __hackish_return_address() wrong
if the call is done through a function pointer (digging deeper into
that stuff is beyond my interest).

Thanks to riz for providing access to a macppc for debugging.
Unthanks to the broken toolchain in the default installation which
wasted approximately 4 hours of time last night.

(pooka)

2011-02-24 11:33:41 UTC MAIN commitmail json YAML

2011-02-24 11:31:06 UTC MAIN commitmail json YAML

2011-02-24 11:29:46 UTC MAIN commitmail json YAML

2011-02-24 11:22:35 UTC MAIN commitmail json YAML

2011-02-24 10:58:54 UTC MAIN commitmail json YAML

make DEBUG compile without RTLD_DEBUG

(pooka)

2011-02-24 10:56:03 UTC MAIN commitmail json YAML

2011-02-24 10:30:03 UTC MAIN commitmail json YAML

2011-02-24 10:29:04 UTC MAIN commitmail json YAML

2011-02-24 10:24:24 UTC MAIN commitmail json YAML

Add tests to check "cc" can compile a working hello world.
(this test fails at least on riz's macppc)

(pooka)

2011-02-24 09:52:35 UTC MAIN commitmail json YAML

Die with a sensible error message if a symbol cannot be found.

(pooka)

2011-02-24 09:38:58 UTC MAIN commitmail json YAML

fss(4): Allow FSSIOCSET to set the initial flags.  Add a new flag
        "FSS_UNLINK_ON_CREATE" to unlink the backing store before
        the snapshot gets created.

With this change dump(8) no longer dumps the zero-sized, but named
snapshot it is working on.  Same applies to fsck_ffs(8).

(hannken)

2011-02-24 08:59:22 UTC MAIN commitmail json YAML

Get sr4 in cpu_getmcontext.

hi joerg.

(skrll)

2011-02-24 08:57:39 UTC MAIN commitmail json YAML

No need to save CR_TLS twice in the DDB case.

hi joerg.

(skrll)

2011-02-24 08:52:59 UTC MAIN commitmail json YAML

2011-02-24 08:42:31 UTC MAIN commitmail json YAML

blast_dcache() does the right thing for MP or !MP, so just use it.

(mrg)

2011-02-24 08:40:06 UTC MAIN commitmail json YAML

in reconnect, ignore any all reconnect messages

(pooka)

2011-02-24 08:18:40 UTC MAIN commitmail json YAML

2011-02-24 08:18:04 UTC MAIN commitmail json YAML

revert local changes that are no longer necessary and infact hurt the build.
now we're back to being identical to upstream.

(mrg)

2011-02-24 08:15:13 UTC MAIN commitmail json YAML

2011-02-24 08:02:55 UTC MAIN commitmail json YAML

2011-02-24 07:59:44 UTC MAIN commitmail json YAML

2011-02-24 07:51:16 UTC MAIN commitmail json YAML

Remove ENHANCED_SPEEDSTEP.

(jruoho)

2011-02-24 05:42:26 UTC MAIN commitmail json YAML

2011-02-24 05:41:10 UTC MAIN commitmail json YAML

import freetype2 2.4.4.  changes include:

  I. IMPORTANT BUG FIXES
    - UVS support (TrueType/OpenType cmap format 14) support is fixed.
      This regression has been introduced in version 2.4.0.
  II. MISCELLANEOUS
    - Detect tricky fonts (e.g. MingLiU)  by the lengths and checksums
      of Type42-persistent subtables (`cvt ', `fpgm', and `prep') when
      a TrueType font without family name is given.  The previous fix,
      introduced in 2.4.3,  was too rigorous,  causing many  subsetted
      fonts (mainly  from PDF files) displayed badly  because FreeType
      forced  rendering with  the TrueType bytecode engine  instead of
      the autohinter.
    - Better support for 64bit platforms.
    - More fixes to improve handling of broken fonts.

Status:

Vendor Tag: xorg
Release Tags: freetype-2-4-4

(mrg)

2011-02-24 05:14:58 UTC MAIN commitmail json YAML

Also check CPU vendor in the match-function.

(jruoho)

2011-02-24 04:42:55 UTC MAIN commitmail json YAML

2011-02-24 04:28:49 UTC MAIN commitmail json YAML

Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.

(joerg)

2011-02-24 03:37:02 UTC MAIN commitmail json YAML

add a hack to allow mapping the video memory portions of a mach64's aperture
with BUS_SPACE_MAP_PREFETCHABLE
This probably needs to go in its own function to avoid more clutter when adding
more hacks.
tested on macppc

(macallan)

2011-02-24 02:55:19 UTC MAIN commitmail json YAML

Don't error out while searching for empty directories, from FreeBSD:

http://lists.freebsd.org/pipermail/svn-src-head/2010-December/022913.html

(jmcneill)

2011-02-24 00:40:09 UTC MAIN commitmail json YAML

make sure to define _UC_MACHINE32_PAD

(matt)

2011-02-24 00:33:45 UTC MAIN commitmail json YAML

2011-02-24 00:33:18 UTC MAIN commitmail json YAML

2011-02-23 20:03:58 UTC MAIN commitmail json YAML

move libxcb earlier than libX11, which now wants to link against it.

(mrg)

2011-02-23 19:59:18 UTC MAIN commitmail json YAML

2011-02-23 18:18:24 UTC MAIN commitmail json YAML

duh, remember to cvs add hijack.h too...

from pgoyette

(pooka)

2011-02-23 17:05:33 UTC MAIN commitmail json YAML

Initialize blkno to 0 right before the snapblkaddr() call that GCC does
not understand so that if ffs_copyonwrite() sprouts a new code path that
does not initialize blkno, the compiler has the chance to reveal it.

(dyoung)

2011-02-23 16:38:08 UTC MAIN commitmail json YAML

2011-02-23 16:20:30 UTC MAIN commitmail json YAML

Correct device_t/softc split and, while I am here, delete commented-out
code.  Patrick Welche says that this patch fixes the problem that he
reported on current-users@.

BTW, sc_dev is initialized in radioattach(), but I do not see where it
is used.

(dyoung)

2011-02-23 15:44:39 UTC MAIN commitmail json YAML

Return value audit: properly set errno and return -1.
Fixes at least cross-kernel mv(1).

(pooka)

2011-02-23 15:29:21 UTC MAIN commitmail json YAML

2011-02-23 15:23:16 UTC MAIN commitmail json YAML

Put the dlsym-from-this-object trampoline into a separate source
module which is compiled -fno-optimize-sibling-calls instead of
trying to fool the optimizer in various ways in the trampoline.

thanks to yamt for the tip

(pooka)

2011-02-23 13:03:32 UTC MAIN commitmail json YAML

2011-02-23 13:01:57 UTC MAIN commitmail json YAML

simple vfs tests (mount ffs, cp/pax files there, un/remount,
check with diff)

(pooka)

2011-02-23 12:38:48 UTC MAIN commitmail json YAML

Update compatibility notes.

(jruoho)

2011-02-23 12:22:43 UTC MAIN commitmail json YAML

2011-02-23 12:22:21 UTC MAIN commitmail json YAML

add Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC

(jmcneill)

2011-02-23 11:55:37 UTC MAIN commitmail json YAML

2011-02-23 11:50:03 UTC MAIN commitmail json YAML

2011-02-23 11:48:05 UTC MAIN commitmail json YAML

remove ukphy xref

(jmcneill)

2011-02-23 11:43:23 UTC MAIN commitmail json YAML

2011-02-23 10:26:09 UTC MAIN commitmail json YAML

Remove old hack for broken binutils.

(skrll)

2011-02-23 10:11:13 UTC MAIN commitmail json YAML

Use the wording "BSD-like" for the license of ACPICA.

(jruoho)

2011-02-23 09:14:10 UTC MAIN commitmail json YAML

2011-02-23 09:12:53 UTC MAIN commitmail json YAML

2011-02-23 09:06:48 UTC MAIN commitmail json YAML

Since this port doesn't build its "stand" binaries with _STANDALONE
defined, put in declarations of alloc() and dealloc() which are now
used instead of malloc() / free(), so that the stand/ binaries build again.

(he)

2011-02-23 08:53:22 UTC MAIN commitmail json YAML

Quiesce CC ('blkno' may be used uninitialized in this function).

(hannken)

2011-02-23 08:52:17 UTC MAIN commitmail json YAML

2011-02-23 08:27:18 UTC MAIN commitmail json YAML

Fix call to pmap_update.

(skrll)

2011-02-23 08:04:05 UTC MAIN commitmail json YAML

2011-02-23 07:57:28 UTC MAIN commitmail json YAML

2011-02-23 07:53:30 UTC MAIN commitmail json YAML

2011-02-23 07:47:10 UTC MAIN commitmail json YAML

2011-02-23 07:03:50 UTC MAIN commitmail json YAML

Remove a few more lines that should have been removed in the previous commit

(matt)

2011-02-23 06:17:55 UTC MAIN commitmail json YAML

Lower the worst-case latency in P- and T-state transitions to 1 usec.
The previous 10 usec was based on the Intel's Core family. It may have been
improved since that. Also provide an arbitrary upper bound for BIOS bugs.

(jruoho)

2011-02-23 06:04:31 UTC MAIN commitmail json YAML

libxcb doesn't need or want to link against libXaw.  avoids
implicit cyclic dependancy loops, which crash rtld right now.

(mrg)

2011-02-23 06:02:00 UTC MAIN commitmail json YAML

Adjust the previous and add a comment for it.

(jruoho)

2011-02-23 03:31:49 UTC MAIN commitmail json YAML

2011-02-23 03:22:44 UTC MAIN commitmail json YAML

match on MII_MODEL_ATTANSIC_L2

alc0 at pci3 dev 0 function 0: Atheros AR8152 v2.0 PCIe Fast Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
atphy0 at alc0 phy 0: L2 10/100 PHY, rev. 5
atphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto

(jmcneill)

2011-02-23 03:09:05 UTC MAIN commitmail json YAML

2011-02-23 02:58:40 UTC MAIN commitmail json YAML

Fix ucontext32_t on AMD64. Add optional compile time assertions for
ucontext_t and ucontext32_t to ensure that they don't change.
Provide the constants for AMD64, ARM, i386, and M68K.

(joerg)

2011-02-23 02:49:55 UTC MAIN commitmail json YAML

alc(4): Add a driver for Atheros AR813x/AR815x Ethernet.

(jmcneill)

2011-02-23 02:47:46 UTC MAIN commitmail json YAML

2011-02-23 02:25:04 UTC MAIN commitmail json YAML

catch up with FreeBSD driver, adds support for AR815x chips

(jmcneill)

2011-02-23 01:23:04 UTC MAIN commitmail json YAML

Don't use bool as a variable name.

Remove a bunch of parameter names form function prototypes.

(dyoung)

2011-02-23 01:09:18 UTC MAIN commitmail json YAML

Postfix 2.8.1 has released.

(taca)

2011-02-23 00:46:29 UTC MAIN commitmail json YAML

2011-02-23 00:45:56 UTC MAIN commitmail json YAML

2011-02-23 00:36:51 UTC MAIN commitmail json YAML

2011-02-23 00:35:30 UTC MAIN commitmail json YAML

add network driver for Atheros AR813x/AR815x ethernet controllers, based
on a patch from fire crow on tech-net with additional bpf & detach fixes,
module support, and a match for 8152 v2.0 devices.

alc0 at pci3 dev 0 function 0: Attansic/Atheros L1C/L2C Ethernet
alc0: ioapic0 pin 17
alc0: Ethernet address 00:26:6c:9e:d4:c1
ukphy0 at alc0 phy 0: L2 10/100 PHY (OUI 0x00c82e, model 0x0002), rev. 5
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, auto

(jmcneill)

2011-02-22 23:57:22 UTC MAIN commitmail json YAML

Add CardBus to PCI bridge, ppb at cardbus, but comment it out for now.

(dyoung)

2011-02-22 23:20:53 UTC MAIN commitmail json YAML

2011-02-22 23:20:16 UTC MAIN commitmail json YAML

Add Atheros AR8132, AR8151, AR8151 v2.0, AR8152 v1.1, and AR8152 v2.0

(jmcneill)

2011-02-22 21:31:16 UTC MAIN commitmail json YAML

an implementation of radix tree.  the idea from linux.

(yamt)

2011-02-22 21:23:20 UTC MAIN commitmail json YAML

2011-02-22 21:19:32 UTC MAIN commitmail json YAML

Use /*FALLTHROUGH*/.

(dyoung)

2011-02-22 20:25:54 UTC MAIN commitmail json YAML

Move blocks_in_journal() in under #ifndef FFS_NO_SNAPSHOT, all uses
are under that ifdef anyway; this allows build with FFS_NO_SNAPSHOT defined.

(he)

2011-02-22 20:17:38 UTC MAIN commitmail json YAML

Shuffle the pagedaemon algorithm a bit to record the number of
pageouts active and give up only if the pagedaemon could not free
memory and there are no outstanding pageouts.

This should fix the "out of memory" pauses reported by Mihai Chelaru
and Taylor R Campbell.  Tested by copying files to and from an ffs
backed by /dev/wd0 (with and without -o log) using a 1MB rump kernel
memory limit.

(pooka)

2011-02-22 18:45:10 UTC MAIN commitmail json YAML

Add PIC variant for fetching the lock address.

librump.so now works on sparc

(pooka)

2011-02-22 18:43:20 UTC MAIN commitmail json YAML

complete the incomplete pagesize rototill

(pooka)

2011-02-22 18:41:05 UTC MAIN commitmail json YAML

make the timeouts a bit more generous for really slow systems

(pooka)

2011-02-22 17:32:49 UTC MAIN commitmail json YAML

Remove "NOLINT" setting that was apparently committed by accident and
breaks the build.

(tron)

2011-02-22 17:19:58 UTC MAIN commitmail json YAML

Fix previous. Not my day.

(jruoho)

2011-02-22 17:16:04 UTC MAIN commitmail json YAML

Yet another small fix to the C-state parsing. As can be seen from the _CST
object noted in the revision 1.40, there is only one C-state on the machine,
yet the BIOS define its type as C2. Thus, instead of relying on the BIOS
data, sequentially count the parsed C-states.

(jruoho)

2011-02-22 17:15:55 UTC MAIN commitmail json YAML

Update HISTORY to show that iscsifs was in NetBSD 5.0

(sborrill)

2011-02-22 16:39:05 UTC MAIN commitmail json YAML

2011-02-22 16:05:31 UTC MAIN commitmail json YAML

After a closer examination, remove entirely the check that was considered in
the revision 1.38. As noted in the specification (ACPI 4.0, p. 314):

  The platform must expose a _CST object for either all or none of its
  processors. If the _CST object exists, OSPM uses the C state information
  specified in the _CST object in lieu of P_LVL2 and P_LVL3 registers
  defined in P_BLK and the P_LVLx_LAT values defined in the FADT.

The _CST is seemingly valid on the system under consideration:

        Name (_CST, Package (0x02)
        {
            0x01,
            Package (0x04)
            {
                ResourceTemplate ()
                {
                    Register (SystemIO,
                        0x08,              // Bit Width
                        0x00,              // Bit Offset
                        0x000000000000F800, // Address
                        0x01,              // Access Size
                        )
                },

                0x02,
                0x0064,
                0x00000000
            }
        })

The check was also unnecessary in the sense that ACPI doesn't use bus_space(9).

(jruoho)

2011-02-22 15:51:59 UTC MAIN commitmail json YAML

* at least try to query size of non-regular size=host files too,
  give up if we get 0
* fix a few error messages

(pooka)

2011-02-22 15:47:02 UTC MAIN commitmail json YAML

2011-02-22 15:42:15 UTC MAIN commitmail json YAML

Add support for a byteswapped disklabel so that I can mount
NetBSD/sparc anita images on my i386.

(pooka)

2011-02-22 15:03:30 UTC MAIN commitmail json YAML

-f no longer has effect.  from Snader_LB on irc.

(pooka)

2011-02-22 14:23:37 UTC MAIN commitmail json YAML

2011-02-22 14:09:35 UTC MAIN commitmail json YAML

2011-02-22 14:08:58 UTC MAIN commitmail json YAML

Get rid of one explicit typecast in previous and let the compiler
figure it out.

(pooka)

2011-02-22 14:06:30 UTC MAIN commitmail json YAML

regenagain: make returning off_t work (without breaking other return
types on some archs)

(pooka)

2011-02-22 14:05:20 UTC MAIN commitmail json YAML

Redo the register_t casting, but include a provision to make the
case where sizeof(rv) < sizeof(register_t) work.  Hopefully it
works now everywhere.  Only tests will show ...

(pooka)

2011-02-22 14:02:55 UTC MAIN commitmail json YAML

Disable string aliasing for rump_syscalls.c.  I can't figure out
how to otherwise make the kernel's register_t coreography to work
with the return value here in a MI fashion.

(pooka)

2011-02-22 13:25:18 UTC MAIN commitmail json YAML

One more lseek test case: in case of an error, check rv == -1
(so that it's not e.g UINT_MAX).

(pooka)

2011-02-22 13:17:20 UTC MAIN commitmail json YAML

Note limitations of CHAP implementation in BUGS section.

(sborrill)

2011-02-22 13:10:55 UTC MAIN commitmail json YAML

Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0xffffffff.
Interim solution for dealing with Underflow bit in iSCSI response.

iscsi-initiator now talks to istgt and other targets.

Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.

(sborrill)

2011-02-22 13:05:07 UTC MAIN commitmail json YAML

2011-02-22 13:04:31 UTC MAIN commitmail json YAML

Retry read capacity. Device may not be ready on first access, so need to
wait and re-issue. From Daisuke Aoyama (author of istgt).

(sborrill)

2011-02-22 13:04:22 UTC MAIN commitmail json YAML

revert previous fix.  it's not 100% correct and some compilers setups
complain about the generated code.

pointed out by mrg

(pooka)

2011-02-22 13:00:06 UTC MAIN commitmail json YAML

2011-02-22 12:56:50 UTC MAIN commitmail json YAML

2011-02-22 10:37:05 UTC MAIN commitmail json YAML

2011-02-22 10:36:14 UTC MAIN commitmail json YAML

test lseek return value (off_t, might be >register_t)

(pooka)

2011-02-22 10:34:13 UTC MAIN commitmail json YAML

Document -D option (discover LUNs).
iscsi-initiator was NOT in NetBSD 5.0.

(sborrill)

2011-02-22 10:34:06 UTC MAIN commitmail json YAML

regen: cast rval to return type instead of just using rval[0]

(pooka)

2011-02-22 10:33:12 UTC MAIN commitmail json YAML

Use the whole contents of rval instead of just rval[0] for rump
syscall return.  Fixes at least lseek() on various architectures
in various ways.

(pooka)

2011-02-22 09:39:48 UTC MAIN commitmail json YAML

Always declare HALT as available. If ACPI_FADT_C1_SUPPORTED is not
set in the FADT, print a warning, as it is obviously a BIOS bug.

(jruoho)

2011-02-22 09:34:13 UTC MAIN commitmail json YAML

Only check if the register address in _CST is valid if the ACPI processor
object address is valid. Some systems define the Processor() as:

    Scope (_PR)
    {
        Processor (C000, 0x00, 0x00000410, 0x06) {}
        Processor (C001, 0x01, 0x00000000, 0x00) {}
        Processor (C002, 0x02, 0x00000000, 0x00) {}
        Processor (C003, 0x03, 0x00000000, 0x00) {}
    }

This may be typical to AMD systems that do not seem to use _CST, but instead
operate with HLT (and C1E for the C3-state). The same check is already done
in acpicpu_cstate_fadt(). Note that this violates the specification, given:

  "PBlockAddress provides the system I/O address for the processors
    register block.  Each processor can supply a different such address.
    PBlockLength is the length of the processor register block, in bytes and
    is either 0 (for no P_BLK) or 6.  With one exception, all processors are
    required to have the same PBlockLength.  The exception is that the boot
    processor can have a non-zero PBlockLength when all other processors
    have a zero PBlockLength.  It is valid for every processor to have a
    PBlockLength of 0. (ACPI 4.0, p. 626)"

However, if the above is not satisfied, we simply resort to HALT that should
be available on all supported x86 CPUs.

(jruoho)

2011-02-22 08:20:20 UTC MAIN commitmail json YAML

2011-02-22 08:19:47 UTC MAIN commitmail json YAML

Always include mipsX_tlb_write_indexed.

(matt)

2011-02-22 08:18:47 UTC MAIN commitmail json YAML

Always have a stub for tlb_write_indexed

(matt)

2011-02-22 07:12:29 UTC MAIN commitmail json YAML

Fix build in admittedly quixotic case with IPMI but no PCI or ACPI.
(ACPI currently doesn't work without PCI, fwiw.)

(dholland)

2011-02-22 06:37:24 UTC MAIN commitmail json YAML

Include <sys/device.h> for config_rootfound, instead of relying on it
being included by accident. From Jarle Greipsland in PR 43449.

(dholland)

2011-02-22 06:33:34 UTC MAIN commitmail json YAML

vga_posth should be inside NPCI > 0; from Jarle Greipsland in PR 43449.

(dholland)

2011-02-22 05:45:09 UTC MAIN commitmail json YAML

2011-02-22 05:07:36 UTC MAIN commitmail json YAML

Be explicit about the member of the fld family wanted here.

(joerg)

2011-02-22 02:44:58 UTC MAIN commitmail json YAML

fix typos in saslc entry.

(christos)

2011-02-22 01:26:14 UTC MAIN commitmail json YAML

genfb_enable/disable_polling only matters if genfb is the console screen,
so make it a noop if it's not

(jmcneill)

2011-02-22 01:11:30 UTC MAIN commitmail json YAML

make ural_ioctl look like other wireless drivers, should make dhcpcd and
mdnsd work again

(jmcneill)

2011-02-22 00:58:09 UTC MAIN commitmail json YAML

make rum_ioctl look like other wireless drivers, now dhcpcd works and
mdnsd doesn't hang my laptop

(jmcneill)

2011-02-22 00:57:21 UTC MAIN commitmail json YAML

update this for xf86-video-geode 2.11.12

(mrg)

2011-02-21 23:50:42 UTC MAIN commitmail json YAML

2011-02-21 23:50:08 UTC MAIN commitmail json YAML

add ieee80211_get_rts and ieee80211_get_cts_to_self from openbsd, ok dyoung@

(jmcneill)

2011-02-21 23:31:01 UTC MAIN commitmail json YAML

2011-02-21 23:30:13 UTC MAIN commitmail json YAML

S'no way bro!

Return the correct return value from NOERR, which is retval
instead of error.

(pooka)

2011-02-21 23:20:20 UTC MAIN commitmail json YAML

Add syscall type NOERR which signals that a system call is STD but
does not return an errno the usual way.  The main use case is to
fix the posix_fadvise() rump stub (yes, posix_fadvise is a bit
special... bologna).

The list of NOERR syscalls currently matches the libc NOERR list
(and the libc Makefile can in the future be autogenerated from this
info).

Problem spotted by, *shocker*, the automated test runs, specifically
the posix_fadvise test.

(pooka)

2011-02-21 22:54:45 UTC MAIN commitmail json YAML

adopt a fix from OpenBSD: when scanning the IPv6 header chain, take
into account that the extension header type is not in the extension
header itself but in the previous one -- this makes a difference
because (a) the length field is different for AH than for all others
and (b) the offset of the "next type" field isn't the same in primary
and extension headers.
(I didn't manage to trigger the bug in my tests, no extension headers
besides AH made it to that point. Didn't try hard enough -- the fix
is still valid.)

(drochner)

2011-02-21 22:28:19 UTC MAIN commitmail json YAML

treat "struct secpolicyindex" and "struct secasindex" as "const" once
they are initialized -- during lifetime, no changes are expected
plus some constification of input to comparision functions etc
mostly required by the former

(drochner)

2011-02-21 22:26:10 UTC MAIN commitmail json YAML

belated mention for libsaslc.

(christos)

2011-02-21 22:21:41 UTC MAIN commitmail json YAML

declare input to kdebug_*() functions which dump structures
to stdout in human readable form as "const"

(drochner)

2011-02-21 22:07:45 UTC MAIN commitmail json YAML

2011-02-21 21:43:41 UTC MAIN commitmail json YAML

mutex2/mutex3 are expected to fail on powerpc because of
PR port-powerpc/44387.

XXX the ugly sleep at the end is because ATF will mark an un-triggered
race condition (ie, the test passes unexpectedly) as a test failure otherwise.

(riz)

2011-02-21 20:23:29 UTC MAIN commitmail json YAML

Borrow the lwpctl data area from the parent for the vfork() child.
Otherwise the child will incorrectly see it is not running on any
CPU.  Among other things, this fixes crashes from having
LD_PRELOAD=libpthread.so set in the env.

reviewed by tech-kern

(pooka)

2011-02-21 20:11:57 UTC MAIN commitmail json YAML

If minfd for F_DUPFD is >= hijackoff, assume it means a minimum
value in the rump kernel and adjust accordingly.

(pooka)

2011-02-21 18:50:22 UTC MAIN commitmail json YAML

add command line options for kernel memory allocation limit and bootverbose

(pooka)

2011-02-21 18:12:26 UTC MAIN commitmail json YAML

2011-02-21 17:48:43 UTC MAIN commitmail json YAML

man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).

To use CHAP you should explicitly request CHAP:
iscsi-initiator -a chap -u user -h targetname /mountpoint

For backwards compatibility, if a username is given (-u) and no auth type
is specified (-a), it will default to CHAP, i.e. to use none, just give no
username:
iscsi-initiator -h targetname /mountpoint

(sborrill)

2011-02-21 17:24:20 UTC MAIN commitmail json YAML

Remove hostname from pathname to storage in mount point.
This means /mnt/mytarget.domain.local/target0/storage is now
/mnt/target0/storage.

Rationale is as follows:
- The hostname used may vary (i.e. name vs FQDN vs IP) which can mess up
  mountpoints (especially across multiple hosts e.g. in a shared xen pool)
- Target name is given in the mount anyway so it is redundant

OK agc@

(sborrill)

2011-02-21 17:05:50 UTC MAIN commitmail json YAML

Small typo in macro (Ii -> It).

(njoly)

2011-02-21 16:24:30 UTC MAIN commitmail json YAML

Put coredumps back as a built-in.  Until it can autoload or something,
there's no point in causing user-visible (and test-visible)
regressions.

(pooka)

2011-02-21 15:10:54 UTC MAIN commitmail json YAML

Call pmf_device_deregister(9) during detach.

(jruoho)

2011-02-21 14:43:58 UTC MAIN commitmail json YAML

print the device name at attach, like so:

ath0 at pci4 dev 0 function 0: Atheros 9280

(jmcneill)

2011-02-21 13:42:57 UTC MAIN commitmail json YAML

2011-02-21 13:38:58 UTC MAIN commitmail json YAML

2011-02-21 13:38:18 UTC MAIN commitmail json YAML

Add two more Intel 82Q45 devices.

(njoly)

2011-02-21 13:19:35 UTC MAIN commitmail json YAML

disallow mmap(MAP_FILE) from a rump kernel fd

(pooka)

2011-02-21 13:04:22 UTC MAIN commitmail json YAML

2011-02-21 12:56:52 UTC MAIN commitmail json YAML

Add couple of additional CPU model checks for the undocumented Tj(max).

(jruoho)

2011-02-21 12:55:21 UTC MAIN commitmail json YAML

Actually, we need both lseek and _lseek so that out-of-libc references
go to the right place instead of directly to __lseek.  Seeking in
mplayer works now.

(pooka)

2011-02-21 12:51:06 UTC MAIN commitmail json YAML

hijack:
  1) {,f,l}chflags (used e.g. by cp(1))
  2) p{read,write}{,v} (used by many)

(pooka)

2011-02-21 12:49:49 UTC MAIN commitmail json YAML

2011-02-21 12:49:06 UTC MAIN commitmail json YAML

somehow i've missed preadv/pwritev from rump-relevant syscalls

(pooka)

2011-02-21 12:33:05 UTC MAIN commitmail json YAML

Since hilkbd_rawrepeat() is only defined under WSDISPLAY_COMPAT_RAWKBD,
protect the declaration similarly to avoid build failure of the INSTALL
kernel.

(he)

2011-02-21 11:33:36 UTC MAIN commitmail json YAML