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 (2h)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (177d) 

2024-05-10 01:13:40 UTC Now

2012-04-21 23:11:42 UTC netbsd-5-1 commitmail json YAML

Back out a commit included in the ticket 1750 patch which obviously
doesn't belong there.

(riz)

2012-04-21 23:10:42 UTC netbsd-5 commitmail json YAML

Back out a commit included in the ticket 1750 patch which obviously
doesn't belong there.

(riz)

2012-04-21 22:38:25 UTC MAIN commitmail json YAML

Improve the assert message.

(rmind)

2012-04-21 22:22:48 UTC MAIN commitmail json YAML

- pmap_tlb_shootdown: do not overwrite tp_cpumask with pm_cpus, but merge
  like pm_kernel_cpus.  Remove unecessary intersection with kcpuset_running.
  Do not reset tp_userpmap if pmap_kernel().
- Remove pmap_tlb_mailbox_t wrapping, which is pointless after recent changes.
- pmap_tlb_invalidate, pmap_tlb_intr: constify for packet structure.

(rmind)

2012-04-21 18:52:37 UTC MAIN commitmail json YAML

Alignment fault traps push the error code automatically, so don't use ZTRAP!

(christos)

2012-04-21 16:06:07 UTC netbsd-5 commitmail json YAML

2012-04-21 16:03:27 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by hauke in ticket #1749):
sys/netatalk/aarp.c: revision 1.36
sys/netatalk/ddp_output.c: revision 1.16
Fix AppleTalk name registration, as discussed on the port-macppc list
<http://mail-index.netbsd.org/port-macppc/2010/07/09/msg001119.html>
and in PR kern/44412, by looping back ddp broadcasts.
Patch submitted by David Riley against netbsd-5, adaptation for
-current and minor KNF touchup by me.
Needs to be pulled up to netbsd-5.

(riz)

2012-04-21 16:00:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1747):
sys/arch/x86/x86/ioapic.c: revision 1.46
sys/arch/x86/x86/ioapic.c: revision 1.47
Mask all i8259 interrupts in ioapic_enable().
Should fix PR kern/45160.
Need i8259.h for previous.

(riz)

2012-04-21 15:57:28 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jakllsch in ticket #1746):
sys/dev/usb/uaudio.c: revision 1.120
Address PR#44279.
- Be more lenient to device descriptor inconsistencies.
- Apply Roland SD-90 quirk only to the SD-90.

(riz)

2012-04-21 15:55:16 UTC netbsd-5-1 commitmail json YAML

2012-04-21 15:54:46 UTC netbsd-5-1 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1750):
crypto/dist/openssl/crypto/mem.c patch
crypto/dist/openssl/crypto/asn1/a_d2i_fp.c patch
crypto/dist/openssl/crypto/buffer/buffer.c patch
sys/miscfs/genfs/genfs_io.c patch

Address CVE-2012-2110.
[spz, ticket #1750]

(riz)

2012-04-21 15:54:27 UTC netbsd-5-0 commitmail json YAML

2012-04-21 15:54:03 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1750):
crypto/dist/openssl/crypto/mem.c patch
crypto/dist/openssl/crypto/asn1/a_d2i_fp.c patch
crypto/dist/openssl/crypto/buffer/buffer.c patch
sys/miscfs/genfs/genfs_io.c patch

Address CVE-2012-2110.
[spz, ticket #1750]

(riz)

2012-04-21 15:53:38 UTC netbsd-5 commitmail json YAML

2012-04-21 15:52:55 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1750):
crypto/dist/openssl/crypto/mem.c patch
crypto/dist/openssl/crypto/asn1/a_d2i_fp.c patch
crypto/dist/openssl/crypto/buffer/buffer.c patch
sys/miscfs/genfs/genfs_io.c patch

Address CVE-2012-2110.
[spz, ticket #1750]

(riz)

2012-04-21 14:39:35 UTC MAIN commitmail json YAML

2012-04-21 12:27:30 UTC MAIN commitmail json YAML

2012-04-21 11:33:16 UTC MAIN commitmail json YAML

Fix build break if curses is built without wide char support

(blymn)

2012-04-21 11:32:00 UTC MAIN commitmail json YAML

Remove trailing whitespace

(blymn)

2012-04-21 08:28:00 UTC MAIN commitmail json YAML

Add usr.bin to the exclude list for make includes.
This is no longer needed after flex was moved to the external framework.

(veego)

2012-04-21 01:15:13 UTC MAIN commitmail json YAML

Avoid harmless compiler (integer) warnings.

(jruoho)

2012-04-21 01:03:47 UTC MAIN commitmail json YAML

Do not set PUFFS_KFLAG_CACHE_FS_TTL for PUFFS tests

(manu)

2012-04-21 00:16:35 UTC MAIN commitmail json YAML

If we are asked to step on ptid(-1,0,0), then step on our inferior_thread
instead, which is the main thread instead of the currently executing thread
which is not what we want, since we've been running and nother thread might
have just started.

(christos)

2012-04-20 23:35:54 UTC netbsd-6 commitmail json YAML

2012-04-20 23:35:20 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tls in ticket #190):
sys/sys/rnd.h: revision 1.31
sys/sys/rnd.h: revision 1.32
sys/sys/cprng.h: revision 1.5
sys/kern/subr_cprng.c: revision 1.8
share/man/man4/rnd.4: revision 1.19
sys/kern/kern_rndq.c: revision 1.3
sys/dev/rndpseudo.c: revision 1.8
sys/dev/rndpseudo.c: revision 1.9
sys/kern/kern_rndpool.c: revision 1.2
Address multiple problems with rnd(4)/cprng(9):
1) Add a per-cpu CPRNG to handle short reads from /dev/urandom so that
  programs like perl don't drain the entropy pool dry by repeatedly
  opening, reading 4 bytes, closing.
2) Really fix the locking around reseeds and destroys.
3) Fix the opportunistic-reseed strategy so it actually works, reseeding
  existing RNGs once each (as they are used, so idle RNGs don't get
  reseeded) until the pool is half empty or newly full again.
Fix a bug and a compilation problem.  Bug: spin mutexes don't have owners,
so KASSERT(!mutex_owned()) shouldn't be used to assert that the current
LWP does not have the mutex.  Compilation problem: explicitly include
sys/mutex.h from rnd.h so evbarm builds again.

(riz)

2012-04-20 23:32:15 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by jym in ticket #189):
sys/arch/x86/include/psl.h: revision 1.7
sys/arch/i386/i386/locore.S: revision 1.98
sys/arch/amd64/acpi/acpi_wakecode.S: revision 1.11
sys/arch/amd64/amd64/mptramp.S: revision 1.13
sys/arch/i386/acpi/acpi_wakecode.S: revision 1.15
sys/arch/i386/i386/mptramp.S: revision 1.23
sys/arch/amd64/amd64/locore.S: revision 1.68
Set the CR0_AM bit so processes can enable alignment check errors under
x86 through PSL_AC bit.
ATF test incoming shortly.
PSL_AC is user-settable.

(riz)

2012-04-20 22:43:20 UTC MAIN commitmail json YAML

Mention support for 256 CPUs on amd64.

(rmind)

2012-04-20 22:23:25 UTC MAIN commitmail json YAML

- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
  kcpuset(9) and thus replace hardcoded CPU bitmasks.  This removes the
  limitation of maximum CPUs.

- Support up to 256 CPUs on amd64 architecture by default.

Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.

(rmind)

2012-04-20 21:57:34 UTC MAIN commitmail json YAML

Fix a bug and a compilation problem.  Bug: spin mutexes don't have owners,
so KASSERT(!mutex_owned()) shouldn't be used to assert that the current
LWP does not have the mutex.  Compilation problem: explicitly include
sys/mutex.h from rnd.h so evbarm builds again.

(tls)

2012-04-20 21:01:03 UTC MAIN commitmail json YAML

Example scripts and supporting files for creating Amazon EC2 AMIs
(Amazon Machine Images) running NetBSD.  Requires an Amazon EC2 account.
Please test and extend these scripts!

The original scripts were written by Jean-Yves Migeon, heavily modified

From the README:

Notes on using these scripts for creating EC2 AMIs
--------------------------------------------------

Here are some assumptions made:

- You have the EC2 API tools already set up.  If you don't already, the
  easiest way to do so is to install the misc/ec2-api-tools package
  from pkgsrc.  An easy way to check if they're set up properly is
  if you can run "ec2-describe-instances" without an error.

- You are running this from a NetBSD system.  It's certainly not impossible
  to update this for running on another platform, but it'll be necessary
  to adapt to using a NetBSD tools build for (at least) makefs.

- Your default EC2 profile allows ssh to your running instances from
  the location you're running this script!

- The most-used (and tested!) script (create_ec2_ami.sh) assumes that there
  are NetBSD 6.0 AMIs available on EC2 already, for bootstrapping.  The
  public images in account 101367081206 (an account owned by me, Jeff Rizzo,
  a NetBSD developer) are available for use, and are searched in addition
  to the user's own AMIs.  You can also specify a particular AMI to use
  for the bootstrapping.  There is another script (create-new.sh) which
  is less well tested, and which may currently be broken, which allows
  you to use a Linux AMI to create a NetBSD one.  You will need to
  create a 'bootstrap' image with an ext2 file system (see build_ec2_img.sh,
  specifically the "-b" flag).

CREATING AN AMAZON MACHINE IMAGE (AMI)
--------------------------------------

Once you've verified the Amazon EC2 command-line tools work (see above),
the basic workflow is as follows:

- Edit the set_ec2_env.sh script to have the location of your certs/keys.
  This file is read by several of the scripts.

- Either build sets with build.sh, or identify where the release you want to
  base your AMI on lives.  You can access built sets via http, ftp, or on
  the local fs.

- Build an image for upload, using the build_ec2_img.sh script.  This
  image will contain everything *except* the kernel (the kernel will be
  on a separate ext2fs partition, due to EC2 boot requirements), and will
  be resized to fit the volume created in the AMI creation script.

  An example of doing this:

  ./build_ec2_img.sh -d http://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0_BETA/amd64/binary/sets

  ...this will create an image file in the current directory.

- Create the AMI from the above image plus a kernel.  You have to
  specify which region to create the AMI in:

  ./create_ec2_ami.sh -i ./NetBSD-AMI.img.xz -a x86_64 -d "AMI description goes here" -k http://ftp.netbsd.org/pub/NetBSD/NetBSD-6.0_BETA/amd64/binary/kernel/netbsd-XEN3_DOMU.gz -v "6.0_BETA-or-whatever-version-string-you-want" us-east-1

The process can take anywhere from 10-60 minutes, depending on which region
you choose and how fast your connection is for uploading.  After a successful
run, be sure to test your AMI!

(riz)

2012-04-20 20:23:21 UTC MAIN commitmail json YAML

Add a bustype_async_event_xfer_mode() callback to scsipi_bustype (which can
be NULL), so that transport-specific details of transfer mode setting/printing
can be handled more easily.
Move scsipi_async_event_xfer_mode() and scsipi_print_xfer_mode() to
scsi_base.c and split in parallel scsi and FC/SAS parts.
size of struct scsipi_bustype has changed, welcome to 6.99.5

(bouyer)

2012-04-20 18:35:28 UTC MAIN commitmail json YAML

2012-04-20 18:28:43 UTC MAIN commitmail json YAML

PSL_AC is user-settable.

(jym)

2012-04-20 17:31:30 UTC MAIN commitmail json YAML

PR/46360: YAMAMOTO Takashi: Restore NetBSD-5 compatibility with putenv()
copying the passed string (which is not ToG compliant), instead of using
it directly in the environment arrat as it should. Needs to be pulled up
to NetBSd-6.

(christos)

2012-04-20 16:20:45 UTC MAIN commitmail json YAML

Do not wrap other header files with extern "C".

(joerg)

2012-04-20 13:51:48 UTC MAIN commitmail json YAML

Don't use the current value of maccfg2.

(matt)

2012-04-20 13:28:27 UTC MAIN commitmail json YAML

2012-04-20 13:20:39 UTC MAIN commitmail json YAML

fix cast in local macro

(christos)

2012-04-20 12:11:30 UTC MAIN commitmail json YAML

2012-04-20 05:41:26 UTC MAIN commitmail json YAML

For now, skip module tests if modctl(8) fails either with EPERM or ENOSYS.

(jruoho)

2012-04-20 05:33:42 UTC MAIN commitmail json YAML

Fix some typos in/around ParseGmakeExport.
Remove the suppresssion of duplicate entries in .MAKE.MAKEFILES

(sjg)

2012-04-20 05:15:11 UTC MAIN commitmail json YAML

Close all file descriptors before trying to reason about the number of open
descriptors. Should fix the test failures reported on current users.

(jruoho)

2012-04-20 02:07:44 UTC MAIN commitmail json YAML

2012-04-20 00:40:32 UTC MAIN commitmail json YAML

ATF test for SIGBUS => BUS_ADRALN (invalid address alignment).

That one is tedious to test under x86: alignment exceptions are
not reported by this architecture unless you ask for them explicitely (by
setting the PSL_AC bit). The brokenness does not end there: %cr2 should
contain the address where the unaligned access occured, alas, it does not.

I am not aware of other architectures where this could happen. Still, my
knowledge is limited; if there is one, feel free to send me a mail and I
will update the test accordingly.

Adding insult to injury, this test can fail in various funny ways with VMs:
- under x86 QEMU, no trap() happens. As ring 3 code stays almost untouched by
QEMU VMM, I suppose the exception can only be triggered when the host
itself is capable of catching unaligned accesses.
- under Virtual Box with HVM support, i386 works fine, but amd64 fails with a
SIGILL (Illegal instruction) that happens right before entering the
signal handler. No idea why, and trying to debug it with gdb freezes the VM
(including ddb breaks).

Anyway, tested with:
- i386: P4 host, anita, Virtual Box HVM (Mac OS X)
- amd64: anita, Virtual Box HVM (Mac OS X)

XXX I would appreciate if someone could test it under a real amd64 host with
an up-to-date kernel, so I can reasonably assume that the culprit is
Virtual Box and not our amd64 port (my test machine being off line
I cannot do it myself). Results from other arches would be a plus too.

Initial issue reported by Nicolas Joly on port-amd64. Thanks!

(jym)

2012-04-19 21:32:01 UTC MAIN commitmail json YAML

Read maccfg1/maccfg2/ecntrl so we can preserve bits we don't change (like
GMII mode).

(matt)

2012-04-19 20:20:57 UTC MAIN commitmail json YAML

pull in upstream SVN rev. 22439:
check for potentially exploitable overflows in asn1_d2i_read_bio
BUF_mem_grow and BUF_mem_grow_clean. Refuse attempts to shrink buffer
in CRYPTO_realloc_clean. (CVE-2012-2110)

(drochner)

2012-04-19 20:20:35 UTC MAIN commitmail json YAML

Correct option name for hdaudio debugging.
Reported by Dave Tyson in PR 46357.

(wiz)

2012-04-19 20:13:48 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2012-04-19 20:07:17 UTC netbsd-6 commitmail json YAML

2012-04-19 20:06:22 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #188):
lib/librumphijack/hijack.c: revision 1.92
poll(), pollts() and select() all return int values, but in the hijack
emulation of them these get passed as exit values from a pthread as
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.

(riz)

2012-04-19 20:04:37 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by cegger in ticket #187):
usr.sbin/cpuctl/arch/i386.c: revision 1.31
print cpu family for AMD CPU families 0x12 - 0x15

(riz)

2012-04-19 20:03:00 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by wiz in ticket #186):
usr.sbin/makemandb/apropos.c: revision 1.6
usr.sbin/makemandb/apropos-utils.c: revision 1.3
usr.sbin/makemandb/apropos-utils.c: revision 1.4
Add the result from sqlite3_errmsg() to some error messages.
Now we can get "apropos: Unable to query schema version: database is locked"
instead of just "apropos: Unable to query schema version".
Handle pages with slashes in their names better.
From Abhinav Upadhyay in private mail.

(riz)

2012-04-19 19:59:11 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by tls in ticket #185):
sys/kern/subr_cprng.c: revision 1.6
sys/kern/subr_cprng.c: revision 1.7
sys/lib/libkern/arc4random.c: revision 1.32
sys/kern/kern_rndq.c: revision 1.2
sys/dev/rndpseudo.c: revision 1.7
sys/sys/rnd.h: revision 1.30
Add a spin mutex to the rndsink structure; it is used to avoid lock
ordering and sleep-holding-locks problems when rekeying, and thus
to avoid a nasty race between cprng destruction and reseeding.
Fix LOCKDEBUG problems pointed out by drochner@
1) Lock ordering in cprng_strong_destroy had us take a spin mutex then
  an adaptive mutex.  Can't do that.  Reordering this requires changing
  cprng_strong_reseed to tryenter the cprng's own mutex and skip the
  reseed on failure, or we could deadlock.
2) Can't free memory with a valid mutex in it.
reorder initialization to improve error handling in case the system
runs out of file descriptors, avoids LOCKDEBUG panic due to double
mutex initialization

(riz)

2012-04-19 19:48:15 UTC MAIN commitmail json YAML

Fix build failure reported by bracket.

(shouldn't this size_t be ino_t?)

(dholland)

2012-04-19 18:51:36 UTC MAIN commitmail json YAML

2012-04-19 18:07:05 UTC MAIN commitmail json YAML

Mirror what is done for amd64 boot and ACPI wakeup code by setting
CR0_WP (write protection bit) early on boot. Although it is set later via
cpu_init(), this can help tracking down invalid writes to pages mapped
as read only from ring 0.

No regression observed when booting under anita (QEMU) or a P4 host.

Depending on your hardware or setup, you may trigger code paths I have
overlooked. So if your machine does not start properly, or you get
page faults early during boot, please report them to me.

(jym)

2012-04-19 18:00:35 UTC MAIN commitmail json YAML

2012-04-19 17:52:39 UTC MAIN commitmail json YAML

2012-04-19 17:50:51 UTC MAIN commitmail json YAML

2012-04-19 17:45:21 UTC MAIN commitmail json YAML

Expand struct scsipi_bustype {} in a ABI-backward-compatible way to
pass more informations about the bus:
- bustype_type has 2 different bytes, one holding the existing
  SCSIPI_BUSTYPE_* (scsi, atapi, ata), and one for a per-SCSIPI_BUSTYPE_*
  subtype. Introduce macros to build or extract bustype_type.
- for SCSIPI_BUSTYPE_SCSI, define subtypes for parallel SCSI, Fibre Channel,
  SAS and USB, to specify the transport method. SCSIPI_BUSTYPE_SCSI_PSCSI
  is 0 so that bustype_type value doesn't change for existing code
- for non-SCSIPI_BUSTYPE_SCSI busses there's no defined subtype yet,
  so the bustype_type value doesn't change.
- provide scsi_fc_bustype, scsi_sas_bustype and scsi_usb_bustype
  along with scsi_bustype to be used by bus driver where appropriate
- scsipi_print_xfer_mode(): more existing code under a
  (SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_PSCSI) case, as
  sync/wide parameters only make sense for parallel SCSI.
  For (SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_FC) and
  (SCSIPI_BUSTYPE_SCSI, SCSIPI_BUSTYPE_SCSI_SAS), only print
  tagged queing status if enabled. Just be silent for other
  bustypes.

This change is prompted by this problem:
right now, FC (e.g. isp(4)) and SAS (e.g. mfi(4)) don't
  do anything for ADAPTER_REQ_SET_XFER_MODE, and especially never
  call scsipi_async_event(ASYNC_EVENT_XFER_MODE), so sd(4) always
  runs untagged. Doing a scsipi_async_event(ASYNC_EVENT_XFER_MODE) with
  appropriate parameters is enough to enable tagged queuing,
  but then scsipi will print:
  sd0: async, 8-bit transfers, tagged queueing
  which is harmless (async, 8-bit transfers doens't make sense on SAS anyway)
  but will confuse users. With this change scsipi will only print:
  sd0: tagged queueing
  which is correct.

In the long run, knowning the underlying transport in scsipi will
allow better handling of device which are not parallel SCSI.

Another change adding an extra callback to struct scsipi_bustype {}
will come (so that scsipi_print_xfer_mode(), which is SCSI-specific,
can be moved out of scsipi_base, and split into per-subtype callback),
but this will break kernel ABI and so is not suitable for
netbsd-6, so will be commmited later. The above is enough to get
tagged queuing on FC and SAS in netbsd-6.

(bouyer)

2012-04-19 17:28:26 UTC MAIN commitmail json YAML

2012-04-19 17:25:38 UTC MAIN commitmail json YAML

Fix signed/unsigned issues.

(christos)

2012-04-19 17:09:53 UTC MAIN commitmail json YAML

- fix compilation isses
- add some error checking
- avoid alloca
- add missing frees

(christos)

2012-04-19 16:00:26 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2012-04-19 15:55:40 UTC MAIN commitmail json YAML

chfs/debug.c deleted from files.ufs

(ttoth)

2012-04-19 15:52:39 UTC MAIN commitmail json YAML

Make declarations consistent, and change unsigned int to unsigned long so
that this works on LP64 machines. Why is the __mf_uintptr_t needed anyway?

(christos)

2012-04-19 15:36:06 UTC MAIN commitmail json YAML

2012-04-19 09:53:53 UTC MAIN commitmail json YAML

2012-04-19 09:03:02 UTC MAIN commitmail json YAML

glyphcache_init() works best with its parameters in the right order. Doh.
While there request an RGB devcmap.

(macallan)

2012-04-19 08:59:42 UTC MAIN commitmail json YAML

glyphcache_init() works much better with its parameters in the right order

(macallan)

2012-04-19 08:46:17 UTC MAIN commitmail json YAML

no need to convert cell number to coordinates every time we draw a glyph
from cache - just stick the coordinates directly into the map

(macallan)

2012-04-19 06:58:55 UTC MAIN commitmail json YAML

use rasops_get_cmap()

(macallan)

2012-04-19 06:57:39 UTC MAIN commitmail json YAML

add another convenience function:
rasops_get_cmap() which returns either the ANSI map or an R3G3B2 map,
depending on the rasops_info handed to it so drivers don't have to
duplicate this particular code snippet

(macallan)

2012-04-18 22:44:44 UTC MAIN commitmail json YAML

2012-04-18 22:42:21 UTC MAIN commitmail json YAML

2012-04-18 21:22:28 UTC MAIN commitmail json YAML

Regen: Add various newer LSI RAID/SAS controllers

(bouyer)

2012-04-18 21:21:59 UTC MAIN commitmail json YAML

Add various newer LSI RAID/SAS controllers, from OpenBSD.

(bouyer)

2012-04-18 20:37:49 UTC MAIN commitmail json YAML

Fix KASSERT(): autoconf doesn't run under the KERNEL_LOCK

(bouyer)

2012-04-18 19:56:34 UTC netbsd-6 commitmail json YAML

2012-04-18 19:53:28 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by riz in ticket #184):
sys/arch/xen/xen/hypervisor.c: revision 1.62
Retrive and print the hypervisor "extra" (teeny) version.
From Manuel Bouyer.

(snj)

2012-04-18 19:30:15 UTC MAIN commitmail json YAML

specify size of the array to help -fmudflap

(christos)

2012-04-18 19:29:03 UTC MAIN commitmail json YAML

2012-04-18 19:22:03 UTC MAIN commitmail json YAML

add the mudflap include and libraries

(christos)

2012-04-18 19:21:26 UTC MAIN commitmail json YAML

move include to the gcc-4.5 subdir.

(christos)

2012-04-18 14:24:26 UTC MAIN commitmail json YAML

Bump date for previous.
New sentence, new line; remove trailing whitespace; fix typos;
punctuation nits.

(wiz)

2012-04-18 13:44:19 UTC MAIN commitmail json YAML

2012-04-18 13:43:13 UTC MAIN commitmail json YAML

2012-04-18 13:42:11 UTC MAIN commitmail json YAML

2012-04-18 13:40:44 UTC yamt-pagecache commitmail json YAML

2012-04-18 13:40:06 UTC yamt-pagecache commitmail json YAML

byebye VM_MAP_INTRSAFE

(yamt)

2012-04-18 13:39:28 UTC yamt-pagecache commitmail json YAML

2012-04-18 13:38:27 UTC yamt-pagecache commitmail json YAML

pull following revisions from trunk so that the kernel at least boot
on my system.
cvs rdiff -u -r1.33 -r1.34 src/sys/arch/x86/pci/pchb.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/x86/pci/pchbvar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x86/pci/amdnb_misc.c

(yamt)

2012-04-18 13:31:10 UTC MAIN commitmail json YAML

Don't depend on implicit enum casts, be explicit.

(joerg)

2012-04-18 11:28:30 UTC MAIN commitmail json YAML

Replace not only space but also '(' and ')' on generating BUILD_PLATFORM
strings to appease shell's echo.
Cygwin's uname -r returns "1.7.9(0.237/5/3)" etc.

(tsutsui)

2012-04-18 10:37:37 UTC MAIN commitmail json YAML

poll(), pollts() and select() all return int values, but in the hijack
emulation of them these get passed as exit values from a pthread as
a void* (c.f. pthread_join(), pthread_exit()).
Do not use the address of an int variable for these, but provide the address
of a void* and assign the value afterwards.
Fixes hijacking of pollts/select on 64bit big endian hosts.
Spotted by and fix from pooka.

(martin)

2012-04-18 05:54:08 UTC MAIN commitmail json YAML

adapt to imxclock.c rev 1.5.

(bsh)

2012-04-18 02:55:06 UTC MAIN commitmail json YAML

NetBSD fixes:
1. thread_self() returns a pointer, not an unsigned integer
2. Add NetBSD to Apple and FreeBSD defines
3. Add _NETBSD_SOURCE where needed
4. Add an extra define BEGIN_PROTECTV for void functions to avoid return
  free(); where free is void.
5. Avoid weak symbol hacks to determine if we are threaded or not. We
  have a threaded copy of the library, why bother?
6. change __attribute -> __attribute__ since the former is not covered by
  our cdefs.h

(christos)

2012-04-18 02:52:07 UTC MAIN commitmail json YAML

add preliminary build glue for mudflap; only the shared libraries work,
the static ones will need us to add __real_foo aliases for a bunch of
functions in libc.

(christos)

2012-04-18 00:57:22 UTC MAIN commitmail json YAML

- When using PUFFS_KFLAG_CACHE_FS_TTL, do not use puffs_node to carry
  attribute and TTL fora newly created node. Instead extend puffs_newinfo
  and add puffs_newinfo_setva() and puffs_newinfo_setttl()
- Remove node_mk_common_final in libperfuse. It used to set uid/gid for
  a newly created vnode but has been made redundant along time ago since
  uid and gid are properly set in FUSE header.
- In libperfuse, check for corner case where opc = 0 on INACTIVE and  RECLAIM (how is it possible? Check for it to avoid a crash anyway)
- In libperfuse, make sure we unlimit RLIMIT_AS and RLIMIT_DATA so that
  we do notrun out of memory because the kernel is lazy at reclaiming vnodes.
- In libperfuse, cleanup style of perfuse_destroy_pn()

(manu)

2012-04-18 00:42:50 UTC MAIN commitmail json YAML

- Makesure update_va does not change vnode size when it should not. For
instance when doing a fault-issued VOP_GETPAGES within VOP_WRITE, changing
size leads to panic: genfs_getpages: past eof.
-Handle ticks wrap around for vnode name andattribute timeout

(manu)

2012-04-17 21:39:19 UTC MAIN commitmail json YAML

While we need an absolute path when loading a module (including the .kmod
extension), we want the shortname w/o extension for the unload.

(martin)

2012-04-17 19:25:23 UTC jmcneill-usbmp commitmail json YAML

src/sys/external/bsd/ipf/netinet/fil.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_auth.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_auth.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_compat.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_dns_pxy.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_dstlist.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_dstlist.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_fil.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_fil_compat.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_fil_netbsd.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_frag.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_frag.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_ftp_pxy.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_h323_pxy.c@1.1.2.2 / diff / nxr@1.1.2.2
src/sys/external/bsd/ipf/netinet/ip_htable.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_htable.h@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_ipsec_pxy.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_irc_pxy.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_log.c@1.2.2.2 / diff / nxr@1.2.2.2
src/sys/external/bsd/ipf/netinet/ip_lookup.c@1.2.2.2 / diff / nxr@1.2.2.2
      :
(more 24 files)
Re-add new ipf on the jmcneill-usbmp branch.

(joerg)

2012-04-17 19:15:16 UTC MAIN commitmail json YAML

don't error out when chowning/chgrping or writing to a setuid/setgid file
without being the setuid user or group. Just turn off the bit like we did
before.

(christos)

2012-04-17 15:34:51 UTC MAIN commitmail json YAML

Note clockport support and SilverSurfer driver.

(rkujawa)

2012-04-17 15:30:36 UTC MAIN commitmail json YAML

Note clockport(4) and a1k2cp(4).

(rkujawa)

2012-04-17 14:11:59 UTC MAIN commitmail json YAML

Added myself to the list of NetBSD Developers

(khorben)

2012-04-17 13:00:10 UTC MAIN commitmail json YAML

print cpu family for AMD CPU families 0x12 - 0x15

(cegger)

2012-04-17 12:06:25 UTC MAIN commitmail json YAML

fix what has to be a thinko - I doubt there's much hardware out there that
uses BGR in 15/16 bit colour

(macallan)

2012-04-17 11:00:43 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2012-04-17 10:55:41 UTC MAIN commitmail json YAML

Note that com(4) is now also supported on top of clockport(4).

(rkujawa)

2012-04-17 10:19:58 UTC MAIN commitmail json YAML

2012-04-17 10:16:57 UTC MAIN commitmail json YAML

Remove trailing whitespace and empty line. Fix table.

(wiz)

2012-04-17 10:16:37 UTC MAIN commitmail json YAML

Remove trailing whitespace. New sentence, new line.

(wiz)

2012-04-17 10:14:12 UTC MAIN commitmail json YAML

add a1k2cp(4) and clockport(4) man pages to distribution list

(rkujawa)

2012-04-17 10:12:35 UTC MAIN commitmail json YAML

2012-04-17 10:08:07 UTC MAIN commitmail json YAML

add missing amiga device names

(rkujawa)

2012-04-17 10:06:32 UTC MAIN commitmail json YAML

2012-04-17 09:59:03 UTC MAIN commitmail json YAML

Add clockport(4) layer, which provides support for expansion bus present on
Amiga-style clockports. Also add a1k2cp(4) backend driver and the first
clockport device driver com_ss, that supports com(4) on clockport(4)
(particurarly Individual Computers SilverSurfer). Disabled by default,
since probe procedure is not written yet.

(rkujawa)

2012-04-17 09:33:31 UTC MAIN commitmail json YAML

2012-04-17 09:23:21 UTC MAIN commitmail json YAML

2012-04-17 09:12:08 UTC MAIN commitmail json YAML

add bit definitions for i.MX51 EPIT

(bsh)

2012-04-17 08:28:21 UTC MAIN commitmail json YAML

New sentence, new line.
Sort type descriptions.
Bump date for previous.

(wiz)

2012-04-17 07:43:21 UTC MAIN commitmail json YAML

2012-04-17 06:23:52 UTC MAIN commitmail json YAML

Avoid zero-length format string.

(jruoho)

2012-04-17 05:18:54 UTC MAIN commitmail json YAML

2012-04-17 02:50:39 UTC MAIN commitmail json YAML

Address multiple problems with rnd(4)/cprng(9):

1) Add a per-cpu CPRNG to handle short reads from /dev/urandom so that
  programs like perl don't drain the entropy pool dry by repeatedly
  opening, reading 4 bytes, closing.

2) Really fix the locking around reseeds and destroys.

3) Fix the opportunistic-reseed strategy so it actually works, reseeding
  existing RNGs once each (as they are used, so idle RNGs don't get
  reseeded) until the pool is half empty or newly full again.

(tls)

2012-04-17 00:19:30 UTC matt-nb5-mips64 commitmail json YAML

Don't kick off the page daemon if it's not going to be able to do anything.

(matt)

2012-04-17 00:12:21 UTC matt-nb5-mips64 commitmail json YAML

If freemin is 0, don't say a scan is needed.

(matt)

2012-04-17 00:09:56 UTC yamt-pagecache commitmail json YAML

2012-04-16 16:55:29 UTC MAIN commitmail json YAML

Improved Synology CS/RS support: watch power-state of all SATA drives before
initializing them, configure drive LEDs to reflect SATA activity.
Configure drives on all ATA PCI devices, not only on the first one.

(phx)

2012-04-16 16:07:24 UTC MAIN commitmail json YAML

Add rescan support. Re-fixes PR 45268.

(cegger)

2012-04-16 15:37:49 UTC netbsd-6 commitmail json YAML

2012-04-16 15:37:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #183):
sys/fs/msdosfs/msdosfs_fat.c: revision 1.20
pcbmap(): We cannot use bread() here as for the pagedaemon getblk()
may fail leading to a panic in bread().
Replace bread() with getblk() / VOP_STRATEGY() and return
an error if getblk() fails.

Fixes PR#46282: 6.0_BETA crash: msdosfs_bmap -> pcbmap -> bread ->
bio_doread

This is an interim solution for easy pullup.  The final solution
is be to change bread() to not return a buffer on error.  As
we have to change all callers of bread() this will not qualify
for a pullup.

(riz)

2012-04-16 15:34:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by macallan in ticket #182):
sys/dev/pci/ohci_pci.c: revision 1.49
abort attach if memory access is not enabled
this avoids a panic later on when trying to attach to an unconfigured ohci
found for example in later iBooks when DIAGNOSTIC is set

(riz)

2012-04-16 15:28:19 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #181):
sys/kern/kern_exec.c: revision 1.350
Fix leak in a posix_spawn error path, from Greg Oster.

(riz)

2012-04-16 15:25:53 UTC netbsd-6 commitmail json YAML

2012-04-16 15:25:12 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by cegger in ticket #180):
sys/arch/x86/pci/amdtemp.c: revision 1.14
sys/dev/pci/pcidevs: revision 1.1115
Add AMD Family15h ids
- support AMD Family15h
- deregister pmf on detach

(riz)

2012-04-16 14:30:42 UTC MAIN commitmail json YAML

Preliminary support of TS-TGL/KBT4 power down operation.

(nisimura)

2012-04-16 10:48:27 UTC MAIN commitmail json YAML

Make load_threshold double and restore original value of 0.2.
From NAKAJIMA Yoshihiro.

(joerg)

2012-04-16 04:57:42 UTC MAIN commitmail json YAML

Now that we have amdnb_misc for attaching amdtemp, revert pchb.c revisions
1.27 and 1.32.  This will unbreak the build.

XXX The amdtemp device currently does not seem to provide correct sensor
    values.

XXX The amdnb_misc device does not currently have a rescan capability, so
    the amdtemp module will not instantiate any devices (PR kern/45268
    reappears).

XXX The agp attachment at the same pci device and function (which was
    the motivation for attaching amdtemp at pchb) probably ought to also
    be moved to attach at amdnb_miscbus.

(pgoyette)

2012-04-15 21:20:17 UTC MAIN commitmail json YAML

Increase width of table column so it formats more nicely.

(wiz)

2012-04-15 19:07:40 UTC MAIN commitmail json YAML

We don't support KMEM_GUARD nor FREECHECK yet with rump, so disable them
in debug builds of the rump kernel.

(martin)

2012-04-15 18:10:13 UTC MAIN commitmail json YAML

Choose better argument name for `-U' (sync with man page).
From Bug Hunting in email.

(wiz)

2012-04-15 18:09:50 UTC MAIN commitmail json YAML

- choose better argument name for `-U';
- add argument names for options in man page;
- improve wording, punctuation, capitalization.

From Bug Hunting in email.

(wiz)

2012-04-15 16:34:11 UTC MAIN commitmail json YAML

add base addresses for i.MX51 IPU registers.
from Kinichi Hashimoto.

(bsh)

2012-04-15 15:56:53 UTC MAIN commitmail json YAML

Handle pages with slashes in their names better.
From Abhinav Upadhyay in private mail.

(wiz)

2012-04-15 15:35:01 UTC MAIN commitmail json YAML

Fix leak in a posix_spawn error path, from Greg Oster.

(martin)

2012-04-15 10:34:14 UTC MAIN commitmail json YAML

set same values to IOMUX registers as the linux kernel does.
make it a bit simpler. (we can treat MUX and PAD registers in the same
way here)

(bsh)

2012-04-15 10:19:47 UTC MAIN commitmail json YAML

initialize one more pin for USB Host1.

(bsh)

2012-04-15 10:16:37 UTC MAIN commitmail json YAML

delete many definitions like MUX_PIN_foo.
use MUX_PIN(foo) instead.

(bsh)

2012-04-15 10:09:58 UTC MAIN commitmail json YAML

add HVE bit definition in iomux PAD_CTL register.

(bsh)

2012-04-15 09:51:31 UTC MAIN commitmail json YAML

delete unused reference.
delete trailing whitespace, and NKF.

(bsh)

2012-04-15 08:57:16 UTC MAIN commitmail json YAML

compile netwalker kernel with -mcpu=cortex-a8

(bsh)

2012-04-15 08:37:33 UTC MAIN commitmail json YAML

force set ac_cv_mkdir_path to our install -d program.
fixes the remaining issues with 'sourcesets' and 'tools'.

(mrg)

2012-04-15 08:17:42 UTC MAIN commitmail json YAML

fix comment.
remove trailing whitespace.

(bsh)

2012-04-15 07:19:18 UTC MAIN commitmail json YAML

2012-04-15 07:17:38 UTC MAIN commitmail json YAML

add USB keyboard found on Netwalker.

(bsh)

2012-04-15 03:05:57 UTC MAIN commitmail json YAML

2012-04-15 00:34:09 UTC MAIN commitmail json YAML

Fix check_mcontext for PK_32 binaries. Makes gdb work for i386 binaries on
amd64.

(christos)

2012-04-14 23:11:02 UTC jmcneill-usbmp commitmail json YAML

note that:
- umodem works
- checking uhid is a merge issue
- testing ugen, ulpt and a couple of network devices is a merge issue
- ehci issues are done

(mrg)

2012-04-14 21:57:29 UTC MAIN commitmail json YAML

2012-04-14 19:01:22 UTC MAIN commitmail json YAML

2012-04-14 18:26:31 UTC MAIN commitmail json YAML

2012-04-14 15:14:08 UTC MAIN commitmail json YAML

use a function constant instead of NetBSD

(christos)

2012-04-14 15:13:58 UTC MAIN commitmail json YAML

2012-04-14 15:11:18 UTC MAIN commitmail json YAML

2012-04-14 12:43:06 UTC MAIN commitmail json YAML

2012-04-14 12:21:46 UTC MAIN commitmail json YAML

2012-04-14 10:43:19 UTC MAIN commitmail json YAML

Sync with the following OpenBSD changes, but do the shared interrupt
reporting differently.  Each cpu and device interrupt gets its own
counter.

revision 1.14
Fix counting of interrupts for devices that attach to elroy(4).  Shared
interrupts would be counted double, once for the interrupting device and
once for the device at the head of the chain.  The handlers would run properly
though.  Avoid this by giving each device its own interrupt counter instead
of using the counter provided by the generic interrupt handling code for the
head of the chain.

revision 1.13
Stop calling shared interrupt handlers as soon as one of them return 1
(positive interrupt was for me), like we do on other architectures.
This is done here, at the elroy(4) driver level, since this is where shared
PCI interrupts are handled.  We could do something similar for dino(4) but
this optimization is probably not very relevant there.

(skrll)

2012-04-14 10:34:29 UTC MAIN commitmail json YAML

Wording. Remove trailing whitespace.

(wiz)

2012-04-14 06:04:35 UTC MAIN commitmail json YAML

2012-04-14 02:48:45 UTC MAIN commitmail json YAML

Revert previous - k_helper3 does not get installed in a subdirectory.

Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.

(pgoyette)

2012-04-14 02:47:27 UTC MAIN commitmail json YAML

The k_helper3 module no longer gets installed in its own subdirectory.

(pgoyette)

2012-04-14 02:46:17 UTC MAIN commitmail json YAML

The k_helper3 program does not need to be (and shouldn't be) installed
in its own subdirectory.

(pgoyette)

2012-04-14 02:15:02 UTC MAIN commitmail json YAML

Remove duplicate code.

(nakayama)

2012-04-14 02:01:13 UTC MAIN commitmail json YAML

a clarification, an a formatting nit.

(christos)

2012-04-14 01:34:38 UTC MAIN commitmail json YAML

2012-04-14 01:34:08 UTC MAIN commitmail json YAML

2012-04-14 01:33:44 UTC MAIN commitmail json YAML

- If fd == NULL, do the dance with opening /dev/tty
- Add a flag to enter a newline when we are done.

(christos)

2012-04-14 00:49:36 UTC matt-nb5-mips64 commitmail json YAML

If the pagedaemon is stalling, don't wake it.  Unless pages were freed for
a group, don't wake things up if paging is 0 (stop spurious wakeups).

(matt)

2012-04-14 00:14:22 UTC MAIN commitmail json YAML

Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...

(pgoyette)

2012-04-13 23:57:08 UTC MAIN commitmail json YAML

2012-04-13 23:29:14 UTC MAIN commitmail json YAML

add more options.

(christos)

2012-04-13 16:36:38 UTC MAIN commitmail json YAML

replace the custom getpass with getpassfd()

(christos)

2012-04-13 16:32:16 UTC MAIN commitmail json YAML

2012-04-13 15:38:04 UTC MAIN commitmail json YAML

2012-04-13 15:37:12 UTC MAIN commitmail json YAML

add a big comment
(copy and paste from cvs log rev.1.1)

(yamt)

2012-04-13 15:35:57 UTC MAIN commitmail json YAML

2012-04-13 15:34:42 UTC MAIN commitmail json YAML

uvm_km_kmem_alloc: don't hardcode kmem_va_arena

(yamt)

2012-04-13 15:33:38 UTC MAIN commitmail json YAML

2012-04-13 15:32:43 UTC MAIN commitmail json YAML

2012-04-13 15:32:15 UTC MAIN commitmail json YAML

2012-04-13 15:27:14 UTC MAIN commitmail json YAML

- do_sched_getparam: release locks earlier.
- add comments

(yamt)

2012-04-13 15:14:58 UTC MAIN commitmail json YAML

needs sys/lwpctl.h for constants

(yamt)

2012-04-13 15:14:27 UTC MAIN commitmail json YAML

- fix ambiguous sentences.
- mention scheduling class.

(yamt)

2012-04-13 15:02:37 UTC MAIN commitmail json YAML

Let's get it right this time.

(pgoyette)

2012-04-13 14:54:39 UTC MAIN commitmail json YAML

Put k_helper3 in the correct location.

(pgoyette)

2012-04-13 14:50:35 UTC MAIN commitmail json YAML

2012-04-13 14:42:18 UTC MAIN commitmail json YAML

2012-04-13 14:39:49 UTC MAIN commitmail json YAML

add timeout to getpassfd.

(christos)