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 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 11:19:56 UTC Now

2009-09-13 22:45:27 UTC MAIN commitmail json YAML

Make the 'dev' command print out a list of known boot devices based on
information from the BIOS in addition to the currently selected default
partition. Handy when you don't know where to boot from. Here's a demo:

  type "?" or "help" for help.
  > dev
  disk hd0 size 3815 MB
    hd0a(4.2BSD) hd0b(swap)
  disk cd0
    cd0a(unknown)
  default hd0a
  >

(jmcneill)

2009-09-13 22:24:41 UTC matt-nb5-mips64 commitmail json YAML

Enabled MKCOMPAT=yes for mips64e[bl]

(matt)

2009-09-13 22:23:52 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 22:16:45 UTC MAIN commitmail json YAML

Recognize bsdiff(1) files.
Patch already sent upstream.

(wiz)

2009-09-13 22:16:39 UTC netbsd-5 commitmail json YAML

2009-09-13 22:13:54 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
share/man/man4/pms.4: revision 1.23
Note that the Elantech trackpad support only works for firmware revisions
2.48 and above.

(snj)

2009-09-13 22:13:05 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
share/man/man4/pms.4: revision 1.22
Document PMS_ELANTECH_TOUCHPAD option and hw.elantech.* sysctls, bump date.

(snj)

2009-09-13 22:12:12 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/arch/amd64/conf/GENERIC: revision 1.235
add options PMS_ELANTECH_TOUCHPAD

(snj)

2009-09-13 22:11:14 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/arch/i386/conf/ALL: revision 1.186
sys/arch/i386/conf/GENERIC: revision 1.921
add options PMS_ELANTECH_TOUCHPAD

(snj)

2009-09-13 22:09:17 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/dev/pckbport/elantech.c: revision 1.3
Silence printf in common "device not found" error path.

(snj)

2009-09-13 22:08:30 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/dev/pckbport/elantech.c: revision 1.2
Remove debug printfs

(snj)

2009-09-13 22:07:47 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #943):
sys/dev/pckbport/files.pckbport: revision 1.7
sys/dev/pckbport/elantech.c: revision 1.1
sys/dev/pckbport/elantechreg.h: revision 1.1
sys/dev/pckbport/elantechvar.h: revision 1.1
sys/dev/pckbport/pms.c: revision 1.27
sys/dev/pckbport/pmsvar.h: revision 1.8
Add Elantech multi-touch driver.

(snj)

2009-09-13 22:07:34 UTC MAIN commitmail json YAML

Experimental support for fragmentation and RTS/CTS.

Delete unused atw_voodoo and constants.

Export Tx/Rx statistics with evcnt(9).

Correct the Short Inter-Frame Space (SIFS) that we write to ADM8211's
registers; I do not recall if that corrected the SIFS that I observed
"on the air."  Use the constant IEEE80211_DUR_DS_EIFS to configure
the ADM8211's EIFS, instead of writing the same "magic" number,
0x64, that my reference driver wrote.

Do not clear OACTIVE in atw_init(), because atw_stop() cleared it
previously by calling atw_txdrain().

Use the net80211 short-preamble flag and instead of ATW_SHPREAMBLE.

Add an ADM8211 workaround from the reference driver, atw_workaround1(),
but don't compile it right now.

In at_intr(), don't stop processing the interrupt status after
restarting the receive ring, but process Tx interrupt status.  If
a packet's Tx lifetime is exceeded, reinitialize the device to get
packets moving again.  If the Tx FIFO underflows, restart the
transmitter, not the receiver!

Avoid losing synchronization with the Rx ring by replicating one
of Charles Hannum's fixes to rtw(4) here: receiving a management
packet may, as a side-effect, reset the Rx ring, so refer to the
softc's Rx ring pointer, sc_rxptr, every time through the loop in
atw_rxintr(), instead of refering to a pointer on the stack, i.

Re-synchronize DMA after reading the OWN bit on an Rx/Tx descriptor.
XXX This needs more work.

Reset sc_tx_timer as Tx descriptors are reclaimed from the device.

Shorten staircases in atw_watchdog().

Remove from softc an unused member, sc_intr_ack.

(dyoung)

2009-09-13 21:46:23 UTC MAIN commitmail json YAML

Use PRIu64 for printf'ing stuff.  Fixes build breakage on part-amd64
introduced in rev 1.64 (and reverts a partial fix provided in rev 1.65)

(pgoyette)

2009-09-13 21:24:58 UTC MAIN commitmail json YAML

Delete whitespace at ends of lines.  No functional change intended.

(dyoung)

2009-09-13 21:21:57 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 21:21:17 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 20:35:01 UTC matt-nb5-mips64 commitmail json YAML

improve how some config data are managed

(cliff)

2009-09-13 19:09:13 UTC MAIN commitmail json YAML

2009-09-13 19:07:19 UTC MAIN commitmail json YAML

remove pool link set attach code

(pooka)

2009-09-13 19:04:29 UTC MAIN commitmail json YAML

Put some unsigned long long casts (as was in the original printing code).

Should fix build breakage noticed by pgoyette@ on current-users@:

    http://mail-index.netbsd.org/current-users/2009/09/13/msg010554.html

(sorry, don't have an amd64 anymore!)

(elad)

2009-09-13 18:57:37 UTC MAIN commitmail json YAML

Use \*[Lt] and \*[Gt] instead of < and >.

(snj)

2009-09-13 18:45:12 UTC MAIN commitmail json YAML

Wipe out the last vestiges of POOL_INIT with one swift stroke.  In
most cases, use a proper constructor.  For proplib, give a local
equivalent of POOL_INIT for the kernel object implementation.  This
way the code structure can be preserved, and a local link set is
not hazardous anyway (unless proplib is split to several modules,
but that'll be the day).

tested by booting a kernel in qemu and compile-testing i386/ALL

(pooka)

2009-09-13 18:39:20 UTC MAIN commitmail json YAML

PR# port-i386/39463: boot.cfg(8) does not mention about relative path for
the 'load' option

Document the search behaviour of the 'load' directive when an absolute
path is not specified.

(jmcneill)

2009-09-13 18:30:30 UTC MAIN commitmail json YAML

Restore change from 1.39 after previous commit.

(bouyer)

2009-09-13 18:13:37 UTC MAIN commitmail json YAML

kmod improvements
- unless otherwise specified, modules are now loaded from the same device
  as the kernel ('load miniroot' now implies 'load tftp:miniroot' if the
  boot command is 'boot tftp:netbsd')
- the module name -> path expansion now works when a device prefix: is
  specified ('load tftp:miniroot' now works)
- if the module name has been expanded to a path, print that path when
  loading the module rather than the symbolic name
- only print an error in module_open if both the expanded path and the
  raw path fail to open

(jmcneill)

2009-09-13 14:38:20 UTC MAIN commitmail json YAML

PR kern/41923: assertion "cur != owner" failed
In the for(;;) loop of turnstile_block(), the lock owner can change while
cur's lock is released (cur's lock is also the tschain_t's mutex).
Remove the KASSERT about owner being invariant and try to deal with the
fact that the owner can change instead.
http://mail-index.netbsd.org/tech-kern/2009/08/24/msg005957.html
and followups.

(bouyer)

2009-09-13 14:30:21 UTC MAIN commitmail json YAML

If the WAPBL journal can't be read (ffs_wapbl_replay_start() fails),
mount the filesystem anyway if MNT_FORCE is present.
This allows to still boot single-user a system with a corrupted
WAPBL on /, and so get a chance to run fsck to fix it.
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

(bouyer)

2009-09-13 14:25:28 UTC MAIN commitmail json YAML

Do some basic checks of the WAPBL journal, to abort the boot before the
kernel refuse to mount a filesystem read-write (booting a system
multiuser with critical filesystems read-only is bad):
Add a check_wapbl() which will check some WAPBL values in the superblock,
and try to read the journal via wapbl_replay_start() if there is one.
pfatal() if one of these fail (abort boot if in preen mode,
as "CONTINUE" otherwise). In non-preen mode the bogus journal will
be cleared.
check_wapbl() is always called if the superblock supports WAPBL.
Even if FS_DOWAPBL is not there, there could be flags asking the
kernel to clear or create a log with bogus values which would cause the
kernel refuse to mount the filesystem.
Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

(bouyer)

2009-09-13 14:13:24 UTC MAIN commitmail json YAML

Allow tunefs to clear any type of WAPBL log, not only in-filesystem
ones. Discussed in
http://mail-index.netbsd.org/tech-kern/2009/08/17/msg005896.html
and followups.

(bouyer)

2009-09-13 09:17:26 UTC MAIN commitmail json YAML

Fix section for sysctl xref (it is 3, not 2).

(wiz)

2009-09-13 07:00:31 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 06:19:43 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 05:17:37 UTC MAIN commitmail json YAML

2009-09-13 03:33:08 UTC matt-nb5-mips64 commitmail json YAML

bump VM_PHYSSEG_MAX to 32 (was 1) for sake of systems with
multiple noncontiguous regions of physical memory

(cliff)

2009-09-13 03:32:33 UTC matt-nb5-mips64 commitmail json YAML

when attaching com, (frequency == -1) means leave the BRG divisor as-is
(inherit values established by firmware)

(cliff)

2009-09-13 03:31:05 UTC matt-nb5-mips64 commitmail json YAML

CP0 ECC and CACHE_ERR "not implemented" on RMI XLS, so avoid accessing them

(cliff)

2009-09-13 03:30:27 UTC matt-nb5-mips64 commitmail json YAML

- add support for MIPS_XLS616.
- add RMI and others to cidnames[]
- use MIPS_PHYS_TO_XKPHYS_CACHED to make va for msgbuf and maddr #ifdef _LP64

(cliff)

2009-09-13 03:29:36 UTC matt-nb5-mips64 commitmail json YAML

#ifdef to protect against recursive #include

(cliff)

2009-09-13 03:28:51 UTC matt-nb5-mips64 commitmail json YAML

add MIPS64_XLP MIPS64_XLR MIPS64_XLS to list of flags in opt_cputype.h

(cliff)

2009-09-13 03:28:22 UTC matt-nb5-mips64 commitmail json YAML

include registers file for RMI XL chip family as needed

(cliff)

2009-09-13 03:27:38 UTC matt-nb5-mips64 commitmail json YAML

2009-09-13 02:53:17 UTC MAIN commitmail json YAML

Checkin work in progress to make netstat use sysctl rather than kvm(3).

This commit mostly adds code written by Claudio Jeker for OpenBSD to
support sysctl in the interface printing parts (-i, -I, -w). The port has
been ported to NetBSD with tiny adjustments -- of course all bugs etc.
are mine.

Also add and document a -X flag to force sysctl usage. The documentation
notes this flag may be removed at any time and its presence should not be
relied on.

Some misc. comments/#ifdef changes/code snippet moves as well.

Please note that no functionality should change as the routing and
interface printing code is still not fully supported.

Mailing list reference:

    http://mail-index.netbsd.org/tech-userlevel/2009/09/09/msg002604.html

(elad)

2009-09-12 22:22:33 UTC MAIN commitmail json YAML

In the rc_silent change, mention "boot netbsd -z" because it's a common
case, even though it's boot loader dependent.

(apb)

2009-09-12 20:43:18 UTC MAIN commitmail json YAML

Make sure to set length in AARP-response packets. PR kern/41124

(tsutsui)

2009-09-12 19:55:29 UTC MAIN commitmail json YAML

Fix an incomplete device_xname change in rev 1.69. PR kern/41861

(tsutsui)

2009-09-12 19:39:12 UTC MAIN commitmail json YAML

Remove an extra parenthesis in #ifdef'ed out part. PR kern/41858

(tsutsui)

2009-09-12 19:27:32 UTC matt-nb5-mips64 commitmail json YAML

Don't cast a paddr if you don't have to.

(matt)

2009-09-12 19:26:27 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 19:25:23 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 19:16:35 UTC MAIN commitmail json YAML

Fix warnings by -Wpointer-sign, which is disabled by default. PR kern/33965

(tsutsui)

2009-09-12 18:53:22 UTC MAIN commitmail json YAML

Add MI and ISA gpib(4) stuff. (compile test only)

(tsutsui)

2009-09-12 18:52:25 UTC MAIN commitmail json YAML

Make compile with options DEBUG.

(tsutsui)

2009-09-12 18:46:43 UTC MAIN commitmail json YAML

- fix warnings of printf(9) format and void pointer arithmetic
- use DTYPE_HPIB for now instead of nonexistent DTYPE_GPIB

(tsutsui)

2009-09-12 18:44:36 UTC MAIN commitmail json YAML

2009-09-12 18:43:03 UTC MAIN commitmail json YAML

Add a missing parentheses. PR kern/41859

(tsutsui)

2009-09-12 18:41:05 UTC MAIN commitmail json YAML

2009-09-12 18:38:46 UTC matt-nb5-mips64 commitmail json YAML

Add KASSERT(pg) to uvm_pagefree() so that invalid physical address passed
to VM_PHYS_TO_PAGE will be easily caught.

(matt)

2009-09-12 18:38:00 UTC MAIN commitmail json YAML

MALLOC() -> malloc()

(tsutsui)

2009-09-12 18:31:46 UTC MAIN commitmail json YAML

slight reordering, plus only deal with ACL links

(plunky)

2009-09-12 18:31:43 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 18:27:59 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 18:25:25 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 18:22:52 UTC matt-nb5-mips64 commitmail json YAML

Bump up SYMTAB_SPACE to 375000

(matt)

2009-09-12 18:22:27 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 18:19:18 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 18:17:55 UTC MAIN commitmail json YAML

Fix typo:
- pcinfo = kmem_zalloc(sizeof_puffs_cacheinfo) + runsize,
+ pcinfo = kmem_zalloc(sizeof(struct puffs_cacheinfo) + runsize,
in #ifdef'ed out code, per paired kmem_free() in the same function.
Closes PR kern/41840.

(tsutsui)

2009-09-12 18:09:47 UTC MAIN commitmail json YAML

+options RTSOCK_DEBUG

(tsutsui)

2009-09-12 18:09:25 UTC MAIN commitmail json YAML

Make this compile with options RTSOCK_DEBUG.
Noticed by PR kern/41842, but fixed differently.

(tsutsui)

2009-09-12 18:02:33 UTC matt-nb5-mips64 commitmail json YAML

Add support for netbsd32___mount50.  There's got to be a better of doing this.
Maybe pushing it down to vfs.  This only supports mfs/ufs/cd9660 and probably
tmpfs.

(matt)

2009-09-12 18:01:50 UTC MAIN commitmail json YAML

Make this compile on ports with __HAVE_OLD_DISKLABEL
(though currently no such ports which have mscp).
Noticed by PR kern/41862.

(tsutsui)

2009-09-12 17:45:08 UTC matt-nb5-mips64 commitmail json YAML

Add support/hooks for ELF_MD_PROBE_FUNC and ELF_INTERP_NON_RELOCATABLE.

(matt)

2009-09-12 17:44:08 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:43:26 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:42:05 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:41:10 UTC matt-nb5-mips64 commitmail json YAML

Now that register32_t is 64-bit, switch to int32_t.

(matt)

2009-09-12 17:40:01 UTC MAIN commitmail json YAML

It's print_rc_metadata, not rc_print_metadata.

(apb)

2009-09-12 17:37:29 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:37:00 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:26:23 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:23:06 UTC matt-nb5-mips64 commitmail json YAML

Add COMPAT_NETBSD32 support.

(matt)

2009-09-12 17:21:52 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 17:17:05 UTC matt-nb5-mips64 commitmail json YAML

Add MACHINE32_ARCH definitions.

(matt)

2009-09-12 17:16:41 UTC MAIN commitmail json YAML

fix some confusion between highest DMA address and the boundary not to
be crossed in a transfer,
back out previous fixes which only added to the confusion

(drochner)

2009-09-12 17:16:38 UTC matt-nb5-mips64 commitmail json YAML

Add some COMPAT_NETBSD32 definitions of common macros.

(matt)

2009-09-12 17:16:08 UTC matt-nb5-mips64 commitmail json YAML

Because of the N32 support, register32_t on mips is really 64-bits wide.

(matt)

2009-09-12 16:53:50 UTC matt-nb5-mips64 commitmail json YAML

Print out syscallname on ret too.

(matt)

2009-09-12 16:51:41 UTC matt-nb5-mips64 commitmail json YAML

Allow DBSYM to error out now that binutils can strip $L locals.

(matt)

2009-09-12 16:50:49 UTC matt-nb5-mips64 commitmail json YAML

Add include stub for <mips/netbsd32_machdep.h>

(matt)

2009-09-12 16:49:57 UTC matt-nb5-mips64 commitmail json YAML

Add COMPAT_NETBSD32 and increase SYMTAB_SPACE

(matt)

2009-09-12 16:49:05 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 14:59:59 UTC MAIN commitmail json YAML

Use proper macro, some KNF, fix typo.

(tsutsui)

2009-09-12 13:57:10 UTC MAIN commitmail json YAML

Actually install disklabel_rdb.h

(Hello, phx!)

(pgoyette)

2009-09-12 12:52:21 UTC MAIN commitmail json YAML

2009-09-12 11:35:46 UTC MAIN commitmail json YAML

2009-09-12 11:27:39 UTC MAIN commitmail json YAML

2009-09-12 11:01:55 UTC MAIN commitmail json YAML

If there are errors in creating a ${set}.tgz tar file, then don't
just press on regardless.

(apb)

2009-09-12 10:33:44 UTC MAIN commitmail json YAML

New header file <sys/disklabel_rdb.h>.

(phx)

2009-09-12 09:24:33 UTC MAIN commitmail json YAML

mention ./etc/mtree/set.<set name>

(jnemeth)

2009-09-12 09:21:31 UTC MAIN commitmail json YAML

get rid of some prehistoric obsolete info

(jnemeth)

2009-09-12 09:18:42 UTC MAIN commitmail json YAML

Make disklabel.h from amiga and amigappc include the MI sys/disklabel_rdb.h.
amiga/amiga/adosglue.h was deleted and moved into sys_disklabel_rdb.h, as both
are always needed together (disksubr.c and ofppc/stand/ofwboot/rdb.c).

(phx)

2009-09-12 08:23:25 UTC MAIN commitmail json YAML

RDB partition definitions, used by several ports: amiga, amigappc, ofppc
(ofwboot).

(phx)

2009-09-12 07:22:16 UTC MAIN commitmail json YAML

2009-09-12 07:21:10 UTC MAIN commitmail json YAML

Switch hppa to binutils 2.19.

There is a lot of rump breakage for hppa. Hopefully it will be fixed soon.

(skrll)

2009-09-12 04:57:20 UTC matt-nb5-mips64 commitmail json YAML

2009-09-12 02:50:38 UTC MAIN commitmail json YAML

Reduce diffs a bit between ext2fs_reload() and ffs_reload().

(tsutsui)

2009-09-12 02:32:14 UTC MAIN commitmail json YAML

Add a missed brelse(9) call after bread(9) in ext2fs_reload().

This may close PR kern/28712 (ext2fs hang on mount after fsck).

(tsutsui)

2009-09-12 02:25:39 UTC MAIN commitmail json YAML

Pull a fix from ffs_vfsops.c rev 1.248:
> Fix bug introduced in revision 1.174(*) where a NULL fspec with an MNT_UPDATE
> command would always return EINVAL. This broke fsck on root, where fsck'ing
> a dirty root would always return an error causing rc to resort in a reboot.
(*) This is "Apply the NFS exports list rototill patch" change
    in ext2fs_vfsops.c rev 1.91.

(tsutsui)

2009-09-12 01:43:52 UTC MAIN commitmail json YAML

Pull a fix for mount function from ffs_vfsops.c rev1.186:
> Change ffs_mount, in MNT_UPDATE case, to check dev_t's for equality
> instead of just vnode pointers.  Fixes erroneous "does not match mounted
> device" errors from mount(8) in the presence of MFS /dev, init.root, &c.

(tsutsui)

2009-09-12 00:50:22 UTC matt-nb5-mips64 commitmail json YAML

Recognize $L as a local symbol.

(matt)

2009-09-12 00:03:28 UTC matt-nb5-mips64 commitmail json YAML

2009-09-11 23:51:26 UTC matt-nb5-mips64 commitmail json YAML

Add code to probe TLB for VA/PA/PG_MASK sizes
Increase waynames to include 8-way.

(matt)

2009-09-11 23:22:28 UTC MAIN commitmail json YAML

This should fix 'carpdev <ifname>' or, at least, not break it more
badly than before.

(dyoung)

2009-09-11 23:04:33 UTC netbsd-4 commitmail json YAML

2009-09-11 23:04:16 UTC netbsd-4-0 commitmail json YAML

2009-09-11 23:03:49 UTC netbsd-4-0 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1359):
xfree/xc/extras/expat/lib/xmltok_impl.c: revision 1.2
Apply revisions 1.14 and 1.15 from expat CVS to fix SA36425.

(bouyer)

2009-09-11 23:03:19 UTC netbsd-4 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #1359):
xfree/xc/extras/expat/lib/xmltok_impl.c: revision 1.2
Apply revisions 1.14 and 1.15 from expat CVS to fix SA36425.

(bouyer)

2009-09-11 23:02:24 UTC netbsd-5-0 commitmail json YAML

2009-09-11 23:02:02 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #951):
external/mit/expat/dist/lib/xmltok_impl.c: revision 1.2
xfree/xc/extras/expat/lib/xmltok_impl.c: revision 1.2
Apply revisions 1.14 and 1.15 from expat CVS to fix SA36425.

(bouyer)

2009-09-11 23:01:27 UTC netbsd-5 commitmail json YAML

2009-09-11 23:00:48 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by snj in ticket #951):
external/mit/expat/dist/lib/xmltok_impl.c: revision 1.2
xfree/xc/extras/expat/lib/xmltok_impl.c: revision 1.2
Apply revisions 1.14 and 1.15 from expat CVS to fix SA36425.

(bouyer)

2009-09-11 22:36:53 UTC MAIN commitmail json YAML

fix build for HAVE_BINUTILS=219.

(mrg)

2009-09-11 22:36:39 UTC MAIN commitmail json YAML

"regenerate" this based on the non-compat version updating.

(mrg)

2009-09-11 22:36:12 UTC MAIN commitmail json YAML

replace a LDADD/DPADD with LIBDPLIBS

(mrg)

2009-09-11 22:32:50 UTC MAIN commitmail json YAML

add ./etc/mtree/set.modules so that modules.tgz is created with
actual files in it, rather than a 20 byte .gz file (ie, empty file.)

HI JNEMETH!

(mrg)

2009-09-11 22:25:09 UTC MAIN commitmail json YAML

2009-09-11 22:22:45 UTC MAIN commitmail json YAML

2009-09-11 22:07:43 UTC MAIN commitmail json YAML

Bump version for the change to struct domain.

(dyoung)

2009-09-11 22:06:29 UTC MAIN commitmail json YAML

Make ifconfig(8) set and display preference numbers for IPv6
addresses.  Make the kernel support SIOC[SG]IFADDRPREF for IPv6
interface addresses.

In in6ifa_ifpforlinklocal(), consult preference numbers before
making an otherwise arbitrary choice of in6_ifaddr.  Otherwise,
preference numbers are *not* consulted by the kernel, but that will
be rather easy for somebody with a little bit of free time to fix.

Please note that setting the preference number for a link-local
IPv6 address does not work right, yet, but that ought to be fixed
soon.

In support of the changes above,

1 Add a method to struct domain for "externalizing" a sockaddr, and
  provide an implementation for IPv6.  Expect more work in this area: it
  may be more proper to say that the IPv6 implementation "internalizes"
  a sockaddr.  Add sockaddr_externalize().

2 Add a subroutine, sofamily(), that returns a struct socket's address
  family or AF_UNSPEC.

3 Make a lot of IPv4-specific code generic, and move it from
  sys/netinet/ to sys/net/ for re-use by IPv6 parts of the kernel and
  ifconfig(8).

(dyoung)

2009-09-11 21:25:07 UTC MAIN commitmail json YAML

backout rev. 1.59. Will be re-done differently.

(cegger)

2009-09-11 21:17:34 UTC MAIN commitmail json YAML

Apply revisions 1.14 and 1.15 from expat CVS to fix SA36425.

(snj)

2009-09-11 20:10:06 UTC MAIN commitmail json YAML

Nothing uses sockaddr_in6_cmp() right now, and the generic
sockaddr_cmp() is probably as fast or faster than calling
sockaddr_in6_cmp() through a function pointer, so let's stop
compiling it.

(dyoung)

2009-09-11 19:48:52 UTC MAIN commitmail json YAML

Bump date for previous. Whitespace nit. Use Nm instead of Xr to itself.

(wiz)

2009-09-11 19:47:27 UTC MAIN commitmail json YAML

2009-09-11 19:44:03 UTC MAIN commitmail json YAML

Bump date for previous; add comma in enumeration.

(wiz)

2009-09-11 19:43:26 UTC MAIN commitmail json YAML

Bump date for previous.

(wiz)

2009-09-11 19:43:08 UTC MAIN commitmail json YAML

Handle the situation of a wrapped interval counter, while the hardclock()
interrupt was not yet executed to update the hardclock_ticks variable.

(phx)

2009-09-11 19:22:15 UTC MAIN commitmail json YAML

print features from 3.0 + HS spec, including extended features

(plunky)

2009-09-11 19:01:08 UTC MAIN commitmail json YAML

librumpdev_disk doesn't compile on a lot of platforms, so replace
it with a dummy for now until I can work out the problems (nothing
in-tree links against it yet).

(pooka)

2009-09-11 18:35:50 UTC MAIN commitmail json YAML

add feature bits from 3.0 specification

(plunky)

2009-09-11 18:18:03 UTC MAIN commitmail json YAML

Adapt /etc/rc.d/cgd script to the new /etc/rc:
Add "KEYWORD: interactive" so that prompting for passwords work, and
use print_rc_normal to print a message that could safely be suppressed.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.

(apb)

2009-09-11 18:17:43 UTC MAIN commitmail json YAML

Adapt /etc/rc.d/bootconf.sh script to the new /etc/rc:
Add "KEYWORD: interactive" so that the script's prompts work,
and use rc_print_metadata to add a message to the log.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.

(apb)

2009-09-11 18:17:04 UTC MAIN commitmail json YAML

Add a postprocessor to /etc/rc, which logs messages to /var/run/rc.log,
and which can suppress output in silent mode.  Silent mode is enabled
via the new rc_silent variable, which defaults to a value that depends
on the kern.boothowto sysctl.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.

(apb)

2009-09-11 18:14:58 UTC MAIN commitmail json YAML

Expose the kernel's boothowto(9) variable through the sysctl
kern.boothowto variable.

Part of the /etc/rc silent changes requested in PR 41946
and proposed in tech-userlevel.

(apb)

2009-09-11 16:01:59 UTC MAIN commitmail json YAML

2009-09-11 15:59:07 UTC MAIN commitmail json YAML

Fix botch around argument check in ext2fs_mount(). Taken from ffs_vfsops.c.

Fixes LOCKDEBUG panic which is the same one mentioned in PR kern/41078
on trying to mount_ext2fs against a raw device, while that panic
seems to have another route cause around module_autoload() in
sys/miscfs/specfs/spec_vnops.c:spec_open().

(tsutsui)

2009-09-11 13:36:37 UTC MAIN commitmail json YAML

Fix incomplete conversion from stack buffers to heap buffers.

(tron)

2009-09-11 13:11:16 UTC MAIN commitmail json YAML

Reverted last change after discussion with the author, Michael L. Hitch:
http://mail-index.netbsd.org/port-amiga/2009/08/14/msg007164.html
We have a full 32-bit counter, so the masking is not needed.

(phx)

2009-09-11 12:00:13 UTC MAIN commitmail json YAML

2009-09-11 11:44:38 UTC MAIN commitmail json YAML

Add xref to pkgsrc/net/gated, so people know where to find gated(8).
Improve markup of RFCs in SEE ALSO.
Sort options.
Bump date.

(wiz)

2009-09-11 10:41:43 UTC MAIN commitmail json YAML

Avoid using alloca(3) to unbreak SSP builds.

(tron)

2009-09-11 09:28:34 UTC MAIN commitmail json YAML

Don't allocate block buffers on the stack. This can cause stack overflows
in the kernel and breaks SSP builds.

(tron)

2009-09-11 06:48:50 UTC MAIN commitmail json YAML

Allow this to build while link sets and rump are broken.

(skrll)

2009-09-11 01:28:20 UTC MAIN commitmail json YAML

Add support for the 5100 and newer firmware. Tested also with the 4900.
Thanks to everyone for helping and testing.

(christos)

2009-09-10 22:27:11 UTC MAIN commitmail json YAML

Alpha will size the mutex structure in pmap_tlb_shootdown_q to 16 bytes.
Change the command and pad accordingly;  now pmap_tlb_shootdown_q entries
really are cache-aligned.

(mhitch)

2009-09-10 22:02:40 UTC MAIN commitmail json YAML

Save length of key instead of relying of the weight of the record sep.
This frees a byte value to use for 'end of key' (to correctly sort
short keys) while still having a weight assigned to the field sep.
(Unless -t is given, the field sep is in the field data.)
Do reverse sorts by writing the output file in reverse order (rather
than reversing the sort - apart from merges).
All key compares are now unweighted.
For 'sort -u' mark duplicates keys during the sort and don't write
to the output.
Use -S to mean a posix sort - where equal keys are sorted using the
raw record (rather than being kept in the original order).
For 'sort -f' (no keys) generate a key of the folded data (as for -n
-i and -d), simplifies the code and allows a 'posix' sort.

(dsl)

2009-09-10 21:36:39 UTC MAIN commitmail json YAML

Now that secondary cpus are added the cpu_info list earlier, attempt to
send pmap tlb shootdowns to them cause the shootdown job queue to fill up,
but since the cpus aren't running yet, no IPIs get sent.  When the job
queue is full, the bit mask of cpus to send the IPI to is not set and no
shootdown IPI ever gets sent after the cpu is marked running.  Always
set the cpumask even when the queue is full.  Now I get shootdown ipis
on all the secondary cpus.

(mhitch)

2009-09-10 21:20:19 UTC MAIN commitmail json YAML

first steps to make this driver actually work:
- accept 24bit colour, not just 32 ( this changed ages ago - didn't anyone
  test this driver on actual hardware? )
- fix colour weights
- use the right WID so we actually see what we draw
TODO:
- figure out why output is greyscale from the red channel only
- add actual acceleration

(macallan)

2009-09-10 18:11:21 UTC MAIN commitmail json YAML

PR/42041: Jasper Wallace: Stopgap fix for kernel assert
("(boundary & (boundary - 1)) == 0") triggers with i915drm in recent -5 kernel

Read the comment in the code for a detailed explanation. This should be fixed
properly in the i386 bus code, but it is too intrusive to do for -5.
XXX: pullup for 5.x

(christos)

2009-09-10 15:02:49 UTC MAIN commitmail json YAML

We install this as tcpdump(8), so the internal name should be (8) as well.
Fix it. From Jukka Ruohonen.

(wiz)

2009-09-10 14:12:02 UTC MAIN commitmail json YAML

Make sure to initialize cpus[0] which will also be used as cpuinfo
for sun4 and sun4c, not only for sun4m. Okay'ed by mrg@.

(tsutsui)

2009-09-10 13:17:39 UTC MAIN commitmail json YAML

Remove references to securelevel(7) and ssl(8), which don't exist.
From Jukka Ruohonen.

(wiz)

2009-09-10 09:10:29 UTC MAIN commitmail json YAML

fix LP64 builds.  yay, C type system.

patch from Joachim Kuebart

(pooka)

2009-09-10 07:43:28 UTC netbsd-5 commitmail json YAML

2009-09-10 07:42:49 UTC netbsd-5-0 commitmail json YAML

2009-09-10 07:33:24 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by pooka in ticket #942):
sys/fs/ntfs/ntfs_subr.c: revision 1.43
sys/fs/ntfs/ntfs_vfsops.c: revision 1.79
Set vnode size after creation(*).  Fixes cp(1) from ntfs, the
complaint in the "ntfs ubc_uiomove error" (ubc_uiomove error was
not coming from ntfs but instead the "to" file system) and
PR kern/38531 (well, I assume the submitter wanted cp(1) working on
ntfs instead of mangling ntfs the way the PR title suggests).  Yes,
mmap works on ntfs like it always has.
*) well, um, and in other places too ... uuuh ... no comments.
but I guess this works as long as in-kernel ntfs doesn't grow write
support.

(snj)

2009-09-10 07:26:38 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by sborrill in ticket #941):
sys/dev/pci/if_ale.c: revision 1.4
sys/dev/pci/if_ale.c: revision 1.5
sys/dev/pci/if_ale.c: revision 1.6
sys/dev/pci/if_ale.c: revision 1.7
print chipset name. From OpenBSD.
support flow control. from OpenBSD.
tested by Kevin Lahey
don't read/write 1000baseT specific MII registers on 10/100M only device.
from OpenBSD.
fix multicast.

(snj)

2009-09-10 07:18:43 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by tnozaki in ticket #938):
dist/nvi/regex/regcomp.c: revision 1.5
fix bin/41781, the pattern /\$/ doesn't match a dollar sign anymore by default.

(snj)

2009-09-10 07:17:31 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by tnozaki in ticket #938):
dist/nvi/regex/regcomp.c: revision 1.5
fix bin/41781, the pattern /\$/ doesn't match a dollar sign anymore by default.

(snj)

2009-09-10 07:09:43 UTC netbsd-5-0 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #931):
sys/dev/ic/mfi.c: revision 1.28 via patch
mfi.c still uses the spl() synchronisation scheme and so needs the kernel lock.
The sysmon subsystem is marked MPSAFE and so runs without the kernel lock.
So get the kernel lock in mfi_sensor_refresh()  before calling mfi_ioctl_vol().
This fixes command list corruption seen on heavy I/O load on the mfi driver(4).

(snj)

2009-09-10 07:06:34 UTC netbsd-5 commitmail json YAML

Pull up following revision(s) (requested by bouyer in ticket #931):
sys/dev/ic/mfi.c: revision 1.28 via patch
mfi.c still uses the spl() synchronisation scheme and so needs the kernel lock.
The sysmon subsystem is marked MPSAFE and so runs without the kernel lock.
So get the kernel lock in mfi_sensor_refresh() before calling mfi_ioctl_vol().
This fixes command list corruption seen on heavy I/O load on the mfi driver(4).

(snj)

2009-09-10 03:22:33 UTC matt-nb5-mips64 commitmail json YAML

2009-09-10 01:52:34 UTC matt-nb5-mips64 commitmail json YAML

2009-09-10 01:51:32 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 22:41:28 UTC MAIN commitmail json YAML

Make tcp msl (max segment life) tunable via sysctl net.inet.tcp.msl.
Okayed by tls@.

(darran)

2009-09-09 22:38:49 UTC MAIN commitmail json YAML

Fix bug in kmem_alloc/kmem_free of params string. Params string was
allocated with length DM_MAX_PARAMS_SIZE and released with strlen + 1 size.

Disable KM_NOSLEEP allocation because we do not need them here there is
nothing critical in ioctl part of dm driver.

Bug reported by jak@.

(haad)

2009-09-09 21:15:59 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 21:14:59 UTC matt-nb5-mips64 commitmail json YAML

If building LKMs for mips64, assume LP64 kernel.

(matt)

2009-09-09 17:09:49 UTC MAIN commitmail json YAML

We must delay setting .CURDIR and .OBJDIR until after MainParseArgs()
in case -C is used - in which case we should also ignore $PWD.

(sjg)

2009-09-09 11:47:24 UTC MAIN commitmail json YAML

catch the case where a mixer's "step" value is 0 (read from the hardware),
while such a mixer is likely not very useful it should not cause
a division by 0
(should fix the crash reported by Tobias Nygren)

(drochner)

2009-09-09 10:38:35 UTC MAIN commitmail json YAML

Switch i386 to binutils 2.19.

(skrll)

2009-09-09 04:52:47 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 04:50:03 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 04:49:25 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 04:48:28 UTC matt-nb5-mips64 commitmail json YAML

Expose label_t if NETBSD_SOURCE to make libkvm happy when including <mips/pcb.h>

(matt)

2009-09-09 04:46:10 UTC matt-nb5-mips64 commitmail json YAML

For pmap64, algor64, and sgimips64 use *64 as the makewrapper name

(matt)

2009-09-09 02:12:26 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 02:11:55 UTC matt-nb5-mips64 commitmail json YAML

2009-09-09 02:09:15 UTC matt-nb5-mips64 commitmail json YAML

Add MKCXX, MKATF, and MKGROFF

(matt)

2009-09-09 01:39:51 UTC MAIN commitmail json YAML

Switch on input monitor support.

(jmcneill)

2009-09-08 22:16:57 UTC MAIN commitmail json YAML

Remember to add cgdconfig.h too.

(pooka)

2009-09-08 21:51:33 UTC MAIN commitmail json YAML

* fix error print
* adjust resulting image minsize

(pooka)

2009-09-08 21:48:25 UTC MAIN commitmail json YAML

Add a simple proof-of-concept program which shows how to use the
kernel cgd driver in an application which encrypts and decrypts
files.  The cgd driver is running completely in userspace and
requires no special access privileges.

For example:

golem> dmesg > dmesg.txt

# write encrypted dmesg.txt to encrypted.img
golem> ./img2cgd write encrypted.img dmesg.txt
/cryptfile's passphrase:

# read encrypted.img and output decrypted contents to decrypted.txt
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt

# but when entering a different password:
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt
Binary files dmesg.txt and decypted.txt differ

Currently the utility writes the data length in a proprietary
format, but I'll convert it to use a real disklabel RSN.  Then it
can be used to create cgd-encrypted disk images.

This program can later be used as a base for a utility to create
cgd-encrypted images of a standard NetBSD build.  Idea for such a
tool and hence the inspiration for this simple example program from
Roland Dowdeswell.

(pooka)

2009-09-08 21:36:35 UTC MAIN commitmail json YAML

2009-09-08 21:34:57 UTC MAIN commitmail json YAML

Add opendisk1(), which functions like opendisk(), but takes a function
pointer to the routine to be used for open().

(pooka)

2009-09-08 21:14:33 UTC MAIN commitmail json YAML

dkwedge_list() is currently called only from ioctl routines where
l == curlwp.  Since there is no perceived case where we'd ever want
to copy the list to non-curlwp, simplify the code a bit.
(the struct lwp * argument could probably be dropped too, but
that's another commit)

(pooka)

2009-09-08 20:57:59 UTC MAIN commitmail json YAML

rnd_wakeup_readers() uses rndpool_mtx for its own consistency
management, so it cannot be called with the mutex held.  There is
no consistency requirement to synchronize over the whole add-and-wakeup
operation, as if data is consumed in the window the mutex is locked,
wakeups will simply be skipped.

fix from Juho Salminen in PR kern/42020.

(pooka)

2009-09-08 20:37:46 UTC MAIN commitmail json YAML

Add test case for PR kern/42020:

t_rnd (1/1): 1 test cases
    RNDADDDATA: Failed: Test case did not exit cleanly: Abort trap (core dumped)

Failed test cases:
    t_rnd:RNDADDDATA

(pooka)

2009-09-08 20:34:48 UTC MAIN commitmail json YAML

2009-09-08 20:24:08 UTC MAIN commitmail json YAML

kernel code needs -Wno-format-zero-length

(pooka)