[odc] Daily src changes for 2007-03-18

ODC auto at squish.net
Mon Mar 19 07:00:22 GMT 2007


OpenBSD src changes summary for 2007-03-18
==========================================

distrib/notes                           gnu/usr.bin/gcc
libexec/spamd                           sbin/disklabel
sbin/fsck_ffs                           sbin/isakmpd
share/man                               sys/arch/alpha/conf
sys/arch/arm/xscale                     sys/arch/i386/i386
sys/arch/zaurus/conf                    sys/arch/zaurus/dev
sys/dev/ic                              sys/dev/pci
sys/dev/sdmmc                           sys/dev/usb
sys/kern                                sys/msdosfs
sys/net                                 sys/netinet
sys/netinet6                            sys/nfs
sys/sys                                 usr.bin/awk
usr.bin/calendar                        usr.bin/cdio
usr.bin/diff                            usr.bin/locate
usr.bin/make                            usr.sbin/gpioctl
usr.sbin/kvm_mkdb                       usr.sbin/pkg_add

== distrib =========================================================== 01/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/distrib

notes

  ~ alpha/hardware                        

  > sync for UP2000 (martin@)

== gnu =============================================================== 02/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/gnu

usr.bin/gcc

  ~ gcc/config/alpha/alpha.c              ~ gcc/config/alpha/openbsd.h

  > Disable stack frame checking in the prologue under OpenBSD, unless you
  > compile
  > with -fstack-check, for consistency with other platforms; ok kettenis@
  > (miod@)

== libexec =========================================================== 03/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/libexec

spamd

  ~ grey.c                                

  > Be sure to exit if the db_open of the second db for conversion fails.
  > (beck@)

== sbin ============================================================== 04/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sbin

disklabel

  ~ editor.c                              

  > Check for zero divisor _before_ dividing; do not use floating
  > point arithmetic to round to a cylinder boundary when a simple
  > integer expression can do the job as well. ok millert@ miod@ (otto@)

fsck_ffs

  ~ setup.c                               

  > there's no way we're going to be able to handle illegal block or
  > fragment sizes, so just make those conditions fatal errors and tell
  > the calling code to go look for alternate superblocks. ok millert@ (otto@)

isakmpd

  ~ isakmpd.conf.5                        

  > Fix usage of predefined lifetimes.	"Default-phase-[12]-lifetime"
  > just specifies the values to be used.  However, the specifications
  > are called "LIFE_MAIN_MODE" and "LIFE_QUICK_MODE".
  > ok ho@ jmc@ (hshoexer@)

== share ============================================================= 05/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/share

man

  ~ man4/man4.i386/glxsb.4                

  > glxsb(4) has had AES enabled for a while, but I forgot to update the
  > man page.  Noticed by Sebastian Rother < sebastian (dot) rother (at)
  > jpberlin (dot) de >, thanks.
  > ok jmc@ (tom@)

  ~ man4/pci.4                            

  > Add glxsb(4) under "Cryptography accelerators".
  > Requested by jmc@ (tom@)

  ~ man4/ddb.4                            

  > document show buf|vnode|mount (mickey@)

  ~ man4/hifn.4                           ~ man4/ubsec.4
  ~ man4/man4.i386/glxsb.4                

  > Add pci(4) to SEE ALSO, as other PCI crypto accelerators already do.
  > ok jmc@ (tom@)

  ~ man4/umsm.4                           

  > move Sierra Wireless AirCard 875 to known to work as I've been using
  > this since January; ok fkr@ (stevesk@)

  ~ man4/carp.4                           

  > Manpage bits for IP load balancing.
  > Configuration is subject to change.
  > With help from jmc@ (mpf@)

  ~ man4/man4.i386/glxsb.4                

  > tweaks; ok tom (jmc@)

== sys =============================================================== 06/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/sys

arch/alpha/conf

  ~ RAMDISK                               ~ RAMDISKBIG

  > put support for alphaservers 1200 and 4100 on ramdisk kernels
  > ok deraadt@ (martin@)

arch/arm/xscale

  ~ files.pxa2x0                          ~ pxa2x0reg.h
  + pxa2x0_mmc.c                          + pxammcvar.h

  > Support the PXA27x SD/SDIO/MMC controller on Zaurus
  > We use the suggested workaround for the problem E40 in the PXA27x errata
  > sheet. Unfortunately this limits the bus speed to 9.75Mhz. (uwe@)

  ~ pxa2x0_mmc.c                          

  > typo (deraadt@)

arch/i386/i386

  ~ pmap.c                                ~ pmapae.c

  > do not steal page table pages on page allocation failure -- it can be dealt
  > w/ in a more simple way as other archs do; art@ ok (mickey@)

arch/zaurus/conf

  ~ GENERIC                               ~ files.zaurus

  > Support the PXA27x SD/SDIO/MMC controller on Zaurus
  > We use the suggested workaround for the problem E40 in the PXA27x errata
  > sheet. Unfortunately this limits the bus speed to 9.75Mhz. (uwe@)

  ~ RAMDISK                               

  > Enable pxammc and sdmmc in RAMDISK, too. (uwe@)

arch/zaurus/dev

  ~ zaurus_scoop.c                        ~ zaurus_scoopreg.h
  ~ zaurus_scoopvar.h                     

  > Add an interface to scoop(4) to control CF and SD card power (uwe@)

  + scoop_mmc.c                           

  > Support the PXA27x SD/SDIO/MMC controller on Zaurus
  > We use the suggested workaround for the problem E40 in the PXA27x errata
  > sheet. Unfortunately this limits the bus speed to 9.75Mhz. (uwe@)

dev/ic

  ~ bcw.c                                 ~ bcwreg.h
  ~ bcwvar.h                              

  > o Add bcw_80211_core_init() according to
  > http://bcm-specs.sipsolutions.net/80211Init.
  > o Add a rewritten version of bcw_core_reset() called bcw_80211_core_reset()
  > according to http://bcm-specs.sipsolutions.net/80211CoreReset.  This
  > will probably replace bcw_core_reset(), but I need more verification
  > first.
  > o Add bcw_core_enable() and bcw_core_disable().  There seems to be
  > devices which contain several 802.11 cores.  The unused needs to be
  > disabled. (mglocker@)

  ~ bcw.c                                 

  > Comment routine which does the chip access validation. (mglocker@)

dev/pci

  ~ pcidevs                               

  > add device IDs of the new VIA CX700 chipset
  > reported by brad (reyk@)

  ~ pcidevs.h                             ~ pcidevs_data.h

  > sync (reyk@)

  ~ ohci_pci.c                            ~ uhci_pci.c

  > Perform legacy emulation handover for USB1 companion controllers
  > immediately
  > but defer the remainder of their initialisation until after the other
  > devices
  > on their PCI bus have attached.  This ensures that any USB2 controller has
  > also
  > completed its initialisation before we start to initialise the USB1 parts.
  > This minimises the chance that a nasty SMM implementation will trash the
  > USB1
  > controller's config when it performs legacy emulation handover of the USB2
  > part. (pascoe@)

  ~ pcidevs                               

  > add OX16PCI954K puc id (mickey@)

  ~ pucdata.c                             ~ pcidevs.h
  ~ pcidevs_data.h                        

  > OX16PCI954K is a puc at cardbusissed in the previous puc at cardbusmmits)
  > (mickey@)

  ~ ohci_pci.c                            ~ uhci_pci.c

  > Backout pascoe@'s last USB change because it page faults at attachment
  > time.
  > Chris; Get your shiz fixed and tested for the next time.  We have
  > better todo then wasting our time by backing out untested stuff.
  > OK deraadt, OK ckuethe (mglocker@)

dev/sdmmc

  ~ sdmmcvar.h                            

  > Support the PXA27x SD/SDIO/MMC controller on Zaurus
  > We use the suggested workaround for the problem E40 in the PXA27x errata
  > sheet. Unfortunately this limits the bus speed to 9.75Mhz. (uwe@)

  ~ sdmmc_mem.c                           ~ sdmmcvar.h

  > DHC automatically sends a CMD12 after multiple-block transfers, but other
  > controllers don't.	Put in a temporary hack for pxammc on Zaurus. (uwe@)

  ~ sdmmcreg.h                            

  > Define MMC_STOP_TRANSMISSION command (CMD12) (uwe@)

dev/usb

  ~ uhci.c                                

  > Save SOF (frame timing adjustment) before the very first host controller
  > reset, rather than at suspend/resume, otherwise any BIOS inserted value
  > is lost immediately.
  > ok dlg@ (pascoe@)

  ~ uhub.c                                ~ usb.c

  > Wait the stable power delay on a USB hub only once per hub (not per port),
  > and defer the delay for root hubs until the host controller event thread
  > starts, permitting some concurrency.  Speeds up the boot process
  > dramatically
  > when you have lots of host controllers.
  > ok dlg@ (pascoe@)

  ~ ohci.c                                

  > Perform legacy emulation handover for USB1 companion controllers
  > immediately
  > but defer the remainder of their initialisation until after the other
  > devices
  > on their PCI bus have attached.  This ensures that any USB2 controller has
  > also
  > completed its initialisation before we start to initialise the USB1 parts.
  > This minimises the chance that a nasty SMM implementation will trash the
  > USB1
  > controller's config when it performs legacy emulation handover of the USB2
  > part. (pascoe@)

  ~ ohci.c                                ~ uhci.c
  ~ uhub.c                                ~ usb.c

  > Backout pascoe@'s last USB change because it page faults at attachment
  > time.
  > Chris; Get your shiz fixed and tested for the next time.  We have
  > better todo then wasting our time by backing out untested stuff.
  > OK deraadt, OK ckuethe (mglocker@)

kern

  ~ kern_synch.c                          

  > Don't restart thrsleep after a signal. After a signal happened and we
  > weren't on the sleep queues, the condition we were sleeping on might
  > have changed, so we need to go back to userland and recheck that condition.
  > This fixes the majority of lockups and and hanging threads in rthreads
  > since it fixes a race in the semaphore code.
  > ok tedu@ (art@)

msdosfs

  ~ denode.h                              ~ msdosfs_vnops.c

  > get rid of noop vop_reallocblks; pedro@ miod@ ok (mickey@)

net

  ~ if.c                                  ~ if_ethersubr.c

  > Add IP load balancing support for carp(4).
  > This provides a similar functionality as ARP balancing,
  > but also works for traffic that comes across routers.
  > IPv6 is supported as well.
  > The configuration scheme will change as soon we have sth better.
  > Also add support for changing the MAC address on carp(4)
  > interfaces. (code from mcbride)
  > Tested by pyr@ and reyk@
  > OK mcbride@ (mpf@)

netinet

  ~ if_ether.c                            ~ ip_carp.c
  ~ ip_carp.h                             ~ ip_icmp.c
  ~ ip_input.c                            

  > Add IP load balancing support for carp(4).
  > This provides a similar functionality as ARP balancing,
  > but also works for traffic that comes across routers.
  > IPv6 is supported as well.
  > The configuration scheme will change as soon we have sth better.
  > Also add support for changing the MAC address on carp(4)
  > interfaces. (code from mcbride)
  > Tested by pyr@ and reyk@
  > OK mcbride@ (mpf@)

netinet6

  ~ icmp6.c                               ~ ip6_input.c
  ~ nd6_nbr.c                             

  > Add IP load balancing support for carp(4).
  > This provides a similar functionality as ARP balancing,
  > but also works for traffic that comes across routers.
  > IPv6 is supported as well.
  > The configuration scheme will change as soon we have sth better.
  > Also add support for changing the MAC address on carp(4)
  > interfaces. (code from mcbride)
  > Tested by pyr@ and reyk@
  > OK mcbride@ (mpf@)

nfs

  ~ nfs_vnops.c                           ~ nfsnode.h

  > get rid of noop vop_reallocblks; pedro@ miod@ ok (mickey@)

sys

  ~ errno.h                               

  > unwrap EILSEQ
  > okay millert@ (espie@)

== usr.bin =========================================================== 07/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin

awk

  ~ Makefile                              

  > allow this to build w/ cross-tools thru providing proper hostcflags; found
  > by rainor's work (mickey@)

calendar

  ~ calendars/ru_RU.KOI8-R/calendar.primety

  > one more mine mutter told me (mickey@)

  ~ calendars/calendar.history            

  > first diesel (mickey@)

cdio

  ~ cdio.1                                

  > /dev/rcd0d -> /dev/rcd0c; from AndrAcs (jmc@)

diff

  ~ diffreg.c                             

  > improve -p for C++ code: classes definition often have
  > public:/protected:/private: at the start of line.
  > This lets the -p scanner just take note of the section and keep
  > looking for the actual class definition.
  > Also increase function name bufsize so it shows most of these pesky C++
  > decls...
  > okay otto@ (espie@)

locate

  ~ bigram/locate.bigram.c                ~ code/locate.code.c
  ~ locate/mklocatedb.sh                  

  > It's not smart to use a space as a field separator when a space can
  > be part of a bigram. So switch to tab and as a bonus detect in
  > locate.code if the bigram array is too short. Problem seen by Han
  > Boetes and other people with too big mps3 collections; these typically
  > contain lots of file names with spaces in them. ok jasper@ (otto@)

make

  ~ Makefile                              

  > allow this to build w/ cross-tools thru providing proper hostcflags; found
  > by rainor's work (mickey@)

== usr.sbin ========================================================== 08/08 ==

  http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin

gpioctl

  ~ gpioctl.c                             

  > use strtonum() to avoid out of range values, way simpler than the
  > 12-line song and dance that standard functions need; bret.lambert at gmail  > (deraadt@)

kvm_mkdb

  ~ nlist.c                               

  > do not use section names for locating a string tab; miod@ ok (mickey@)

pkg_add

  ~ OpenBSD/PackageInfo.pm                

  > remove some unnecessary sanity checks. /var/db/pkg is supposed to contain
  > only packages, so it's not really necessary to check for file existence
  > and rights. Besides, actual use of package stuff will try reading +CONTENTS
  > in a guarded way, so it will error out sanely...
  > Trims out hundreds of stat() under /var/db/pkg, which are largely
  > responsible
  > for the slow start time of pkg_* tools. (espie@)

  ~ pkg_create                            

  > handle more errors during package creation.
  > - if archiving discovers issues, then go into high speed mode where stuff
  > doesn't get written.
  > - in case of errors or fatal signals, make sure to remove a partially
  > written archive. (espie@)

===============================================================================



More information about the odc mailing list