[odc] Daily src changes for 2007-04-22
ODC
auto at squish.net
Mon Apr 23 08:00:38 BST 2007
OpenBSD src changes summary for 2007-04-22
==========================================
distrib/sets sbin/isakmpd
share/man sys/arch/macppc/conf
sys/arch/macppc/dev sys/arch/sparc64/conf
sys/arch/sparc64/sparc64 sys/arch/vax/include
sys/arch/vax/vax sys/dev
sys/dev/acpi sys/dev/ata
sys/dev/ic sys/dev/pci
sys/netinet6 usr.bin/calendar
usr.bin/systat
== distrib =========================================================== 01/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/distrib
sets
~ lists/man/mi
> sync (deraadt@)
== sbin ============================================================== 02/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
isakmpd
~ ike_phase_1.c
> Use conf_free_list() after calling conf_get_list().
> Otherwise we leak memory.
> ok ho@ (moritz@)
~ conf.c
> Free allocated node in conf_set_now() before failing,
> so we do not leak memory.
> ok hshoexer@ (moritz@)
== share ============================================================= 03/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man5/printcap.5
> repair a sentence that didn't make sense; ok jmc@ (stevesk@)
- man4/man4.macppc/blinkenlights.4 ~ man4/man4.macppc/Makefile
~ man4/man4.macppc/macobio.4 + man4/man4.macppc/xlights.4
> rename a very long driver name to something shorter, and more clear
> and while there, fix the interrupt name for vmstat -iz; ok gwk (deraadt@)
== sys =============================================================== 04/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/macppc/conf
~ GENERIC ~ files.macppc
> rename a very long driver name to something shorter, and more clear
> and while there, fix the interrupt name for vmstat -iz; ok gwk (deraadt@)
~ files.macppc ~ GENERIC
> Add sysbutton a driver for the 'System identifier' button found on the
> fornt panel of the xserve (the button with the triangle on it). This driver
> will dump you into ddb at the press of a button if the ddb.console sysctl
> is set. The bug still has one unresolved issue if ddb.console is not set
> and you press and hold the button you will cause a interrupt storm that
> will
> slow the system down. So if you keep your xserve near a toddler or you
> yourself are a toddler you might want to consider disabling this device
> remember buttons arn't toys.
> ok deraadt. (gwk@)
arch/macppc/dev
- blinkenlights.c + xlights.c
> rename a very long driver name to something shorter, and more clear
> and while there, fix the interrupt name for vmstat -iz; ok gwk (deraadt@)
+ sysbutton.c
> Add sysbutton a driver for the 'System identifier' button found on the
> fornt panel of the xserve (the button with the triangle on it). This driver
> will dump you into ddb at the press of a button if the ddb.console sysctl
> is set. The bug still has one unresolved issue if ddb.console is not set
> and you press and hold the button you will cause a interrupt storm that
> will
> slow the system down. So if you keep your xserve near a toddler or you
> yourself are a toddler you might want to consider disabling this device
> remember buttons arn't toys.
> ok deraadt. (gwk@)
~ adb.c ~ awacs.c
~ esp.c ~ i2s.c
~ if_bm.c ~ if_mc.c
~ macgpio.c ~ mesh.c
~ openpic.c ~ smu.c
> better interrupt names for vmstat -iz; ok miod gwk (deraadt@)
arch/sparc64/conf
~ GENERIC
> ahci works on sparc64. wish the teeny teeny tiny jmicron sample i have
> had a bracket though, because it almost falls out of the pci slot...
> (deraadt@)
arch/sparc64/sparc64
~ pmap.c
> - Use pmap_get_page and pmap_free_page to manage memory allocations
> for sparc64 pmap. They take care of all the magic of checking for
> initialized pages, zeroing them, etc.
> - merge pmap_create and pmap_pinit.
> - don't do the page allocation dance in pmap_kenter, we have growkernel.
> - Clean up if I was close to something dirty.
> kettenis@ ok (art@)
arch/vax/include
~ pmap.h ~ vmparam.h
> Switch the vax pmap to __HAVE_VM_PAGE_MD.
> pv_entry head of lists are no longer preallocated at boot, and will only be
> allocated for managed pages (instead of all physical memory pages,
> including
> those containing the kernel).
> pmap and pv_entry will now be allocated from a pool, instead of malloc for
> the
> former and a homegrown allocator which never relinquishes unused elements
> to
> the VM system for the latter.
> The net result is a slight decrease in memory usage, and better behaviour
> in
> low-memory conditions. (miod@)
arch/vax/vax
~ pmap.c
> Switch the vax pmap to __HAVE_VM_PAGE_MD.
> pv_entry head of lists are no longer preallocated at boot, and will only be
> allocated for managed pages (instead of all physical memory pages,
> including
> those containing the kernel).
> pmap and pv_entry will now be allocated from a pool, instead of malloc for
> the
> former and a homegrown allocator which never relinquishes unused elements
> to
> the VM system for the latter.
> The net result is a slight decrease in memory usage, and better behaviour
> in
> low-memory conditions. (miod@)
dev
~ softraid.c ~ softraidvar.h
> Skip past SBLOCK_UFS1 to make sure that metadata does not destroy anything
> filesystem related.
> pointed out by deraadt (marco@)
~ softraid.c ~ softraidvar.h
> Don't use SBLOCK_UFS1. Don't call it SKIP either.
> Pompted by deraadt (marco@)
~ softraid.c ~ softraidvar.h
> Add more debug output for metadata.
> Spacing as well. (marco@)
~ softraid.c
> Calculate metadata checksums.
> Add chunks to debug prints. (marco@)
dev/acpi
~ acpidock.c ~ acpidev.h
> Add a TAILQ, aml_nodelist, of devices depending on the dock device to
> struct acpidock_softc and stuff devices into it during attach.
> This list is not yet used, but I have code ready to handle the ACPI side
> of this. However, it still doesn't handle that there may in fact be
> multiple dock devices in a machine (e.g. on pre-60 series ThinkPads), but
> I need to figure out how to do so properly first. In the mean time I want
> this in the tree so I don't lose the code. (mk@)
~ acpidock.c
> Remove unnecessary local variable in acpidock_status() and kill an XXX
> by using STA_PRESENT instead of home-brewed value. (mk@)
~ acpidev.h
> Whitespace cleanup. (mk@)
dev/ata
~ atascsi.c
> when an ata command returns an error, dont fill dmesg with messages about
> it. returning an error to the scsi midlayer is all we need to do, which in
> turn will do the right thing. (dlg@)
dev/ic
~ sili.c
> disable debug output here too. it's working fine (even on strange archs)
> (dlg@)
dev/pci
~ ahci.c
> prettier debug, if it is ever re-enabled, ok dlg (deraadt@)
~ if_tht.c
> macros for accessing bits of the rx descriptors (dlg@)
~ if_tht.c
> i seem to be having lots of trouble with writing bus_dmamap_sync calls
> properly these days.
> when draining the rxf fifo we want to POSTREAD the mbuf, not PREREAD it.
> (dlg@)
~ if_tht.c
> start implementing processing of the rx descriptor fifo. this is the one
> that returns rx buffers to us that we previously posted in the rx free.
> theoretically we should now be receiving packets.
> practically, im still waiting on a cable so i can plug this card into
> something and test it, and then that's going to be difficult cos i only
> have two tht cards to test it. i need tx and rx working before i can test
> if tx and rx work. fun fun fun.
> this code doesnt process rx data change descriptors yet. (dlg@)
~ if_tht.c
> hookup bpf. this pushes packets along bpf on the rx side. i need to write
> tx now. (dlg@)
~ ahci.c
> unload the dmamap of the ccb used in ncq error handling once we've finished
> with it. prevents free panics on sparc64.
> found by deraadt on a v215. (dlg@)
~ ahci.c
> mark the ccb used for error handling as complete when it completes. this
> prevents dmesg spam when we return this ccb to the free list. (dlg@)
~ if_tht.c
> only printf if the firmware load failed. (dlg@)
~ if_tht.c
> this is the start of the transmit path. this takes packets off the
> interface send queue and puts them on the hardwares tx task fifo. the tx
> completion path hasnt been written yet.
> the mbuf dmamap loading has been stolen from vic.
> there's obviously a lot of code that is shared between the rxf fifo loading
> and the txt fifo loading. i also have to think about how to better
> calculate and keep track of space in the fifos.
> this is getting harder and harder. it sucks writing tons of code without
> being able to verify that it works. i might take a break for a bit. (dlg@)
~ if_casreg.h
> Correct offsets for Tx completion regs. (kettenis@)
~ if_tht.c
> process the tx free queue. this indicates when transmitted packets have
> been completed. it's the simplest fifo of the lot, im sorry i didnt start
> with it.
> this is the last of the fifos we have to deal with. now we need an
> interrupt handler, but i wont be doing that till i get my cable. (dlg@)
~ if_vic.c
> this is my previous commit again, but this time it was tested.
> dma sync the rx mbuf before we push it to the hardware.
> technically this isnt necessary cos bus_dmamap_sync is a nop on i386 and
> amd64. but i like to be correct, and someone might read this as an example
> of how to write a driver. (dlg@)
netinet6
~ route6.c
TAGGED OPENBSD_4_0
> IPv6 routing headers are a type of 'super source routing', and pose a
> significant and serious risk to hosts and the internet. That this
> host-controlled routing even came into existance once again shows how
> broken the IETF process is. Disable this source routing, with
> prejudice.
> (a fix for 3.9-stable and an errata will follow soon) (mbalmer@)
== usr.bin =========================================================== 05/05 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin
calendar
~ calendars/calendar.history
> +04/22 Portuguese navigator Pedro Alvares Cabral becomes the first
> + European to sight Brazil, 1500 (pedro@)
systat
~ systat.1
> Remove non-existent keyword protocol and replace it with
> the correct keywords (tcp, udp, all). Also add another
> missing argument to the show keyword.
> With and ok jmc@ and deraadt@ (moritz@)
===============================================================================
More information about the odc
mailing list