summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-18Parse commandline options in netboot, and force the onboard ethernet addressMiod Vallat
to be 00:00:00:00:00:00 if `-z' is passed; this allows netboot to work on a machine which has lost its nvram (despite the ethernet address not being stored in nvram at all, stupid prom can't be bothered to get it right...). Crank netboot version.
2010-04-18Apply the same interrupt enable bit fiddling protection as done for le@fwioMiod Vallat
on vax, since interrupts on syscon are edge-triggered. Fixes the onboard lance getting stuck after a while.
2010-04-18Allow for multiple options after a dash (getopt style).Miod Vallat
2010-04-18Fix esym computation logic.Miod Vallat
2010-04-18Catch SIGCHLD to avoid a zombie, from patrick keshishian.Nicholas Marriott
2010-04-17Fix typo in escape state table leading to fatal() when \033} or \033~Nicholas Marriott
was entered, from Chris Johnsen.
2010-04-17If remain-on-exit is set, both the error callback and a SIGCHLD couldNicholas Marriott
destroy the same pane (because the first one doesn't remove it from the list of panes), causing the pane bufferevent to be freed twice. So don't free it if the fd has already been set to -1, from Romain Francoise.
2010-04-17Fix use-after-free of the window link when it is part of a groupedNicholas Marriott
session (and hence could have been recreated), from Micah Cowan.
2010-04-17Work around yet another MC88110 errata, causing cache writebacks upon snoopingMiod Vallat
to sometimes fail, by only using cache operation sequences known not to trigger the errata, at the expense of a small (barely noticeable) performance hit. This workaround is only enabled when compiling a MULTIPROCESSOR kernel, since the problem will not arise when using only one processor. This change, refined over a few months, finally makes GENERIC.MP run stably on 197DP systems. Of course, just writing this is enough to invoke Murphy's law and make it fail again in an even more obscure and rare way...
2010-04-17When the MAC address changes, change the IPv6 link local addressStefan Sperling
accordingly if one is configured and we're not a router. Else IPv6 will leak the old MAC address after "ifconfig $if lladdr random". Based on an initial diff and idea from Theo. OK deraadt, "makes sense" and help by naddy, silent agreement by claudio
2010-04-17- correctly set cpu_model: instead of a vendor + model, set the cpu typeJasper Lievisse Adriaanse
ok miod@
2010-04-17use ifnewlladdr() for trunk lladdr changes, tooTheo de Raadt
ok stsp
2010-04-17split SIOCSIFLLADDR code out into an ifnewlladr() functionTheo de Raadt
ok stsp
2010-04-17Print startup errors to both the console and the log, rather thanKenneth R Westerback
just the console. ok deraadt@ beck@
2010-04-17work-around !found error.Marc Espie
2010-04-17syncMark Kettenis
2010-04-17Add Sitecom WL-349 v1.Mark Kettenis
2010-04-17Sync with recent developments.Miod Vallat
2010-04-17Do not forget to set nasid to the right value when trying to attach spdmem.Miod Vallat
2010-04-17regenMiod Vallat
2010-04-17A few more devices found on sgi hardware.Miod Vallat
2010-04-17Allow the mixer to handle inputs with channel ranges outsideAlexandre Ratchov
the device channel range. This makes the channel mapping code no longer usefuli, so remove it. No behaviour change.
2010-04-17ramdisks need to compile; ok dlgTheo de Raadt
2010-04-17use the iopools mutex to protect the semaphore wrapping the openingsDavid Gwynne
runqueue. less is more sometimes.
2010-04-16Fix handling of shared interrupts. Make sure we use the lowest priority ofMark Kettenis
all the interrupt handles when reprioritizing the interrupt on reception, but always run the handler at the desired priority. Make sure ci_handled_intr_level is set correctly. Gets rid of splassert warnings seem on many of the PCIe systems with mpi(4). tested by deraadt@, jbg@
2010-04-16Remove Intel RAID IDs for now. They can be added back when code has beenMark Kettenis
written to detect the Intel RAID metadata format such that we no longer risk overwriting it. If this makes you lose your disks, you'll need to change the controller type from RAID to AHCI in the BIOS to get them back. ok marco@, deraadt@
2010-04-16oops, %r => remote username, not %uDamien Miller
2010-04-16syncMark Kettenis
2010-04-16Add ID for Sitecom WL-353.Mark Kettenis
2010-04-16Use a somewhat bigger hammer and als flush tlb entries that have the globalMark Kettenis
bit set. While there, add an #ifdef MULTIPROCESSOR to make the diff between amd64 and i386 smaller. ok art@
2010-04-16Additional gtt alignment paranoia:Owain Ainsworth
when we go to pin, additionally check alignment against that required for tiling and unbind/rebind if needed. We shouldn't hit this case, but it is a good to check (would have found the bug in the last commit). tested by mlarkin and matthieu (and myself, of course)
2010-04-16Correct reversed test in set_tiling. this should deal with the fenceOwain Ainsworth
alignment errors that matthieu and mlarkin saw. Tested by both of them, and by me.
2010-04-16Correct some comments and cleanup some whitespace.Owain Ainsworth
2010-04-16paranoia: NULL check before free.Owain Ainsworth
2010-04-16If we fail to idle the chip in leavvt don't disable the interrupt,Owain Ainsworth
retrying that will hurt.
2010-04-16fix types in two error printfs. one of these also had a %d bug no varargOwain Ainsworth
for it, oops.
2010-04-16Memory allocated with calloc() is initialized to zero, no need to do thatClaudio Jeker
explicitly.
2010-04-16byteswap the number of blocks on physical disks for bioctl correctly.David Gwynne
makes output sane on sparc64 and other BE archs. found by jason george
2010-04-16Move a function to a place that is a bit more logical. No functional change.Claudio Jeker
2010-04-16whitespace fixDavid Gwynne
2010-04-16fix an fatal flaw with iopools.David Gwynne
an xshandler gets put on a series of lists as it allocates different resources, and uses the same tailq entry on each of these lists as its only supposed to be on one of them at a time. however, it was possible for the xshandler to be added to both at the same time, therefore corrupting the lists and leading to a panic. this diff moves from using separate flags for each queue an xshandler could be on to having a single state variable that shows which one it is on (or not on). this prevents an xshandler on the io runqueue from being added to the openings runqueue, which in turn prevents the list corruption. some operations have been reordered to avoid races and complexity in this little state machine.
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16tweak previous; ok djmJason McIntyre
2010-04-16fix condition of retry counter.Yojiro Uo
reported by enami-san
2010-04-16catch up to the ttyopen() changesTheo de Raadt
2010-04-16regression tests for v01 certificate formatDamien Miller
includes interop tests for v00 certs
2010-04-16revised certificate format ssh-{dss,rsa}-cert-v01@openssh.com with theDamien Miller
following changes: move the nonce field to the beginning of the certificate where it can better protect against chosen-prefix attacks on the signature hash Rename "constraints" field to "critical options" Add a new non-critical "extensions" field Add a serial number The older format is still support for authentication and cert generation (use "ssh-keygen -t v00 -s ca_key ..." to generate a v00 certificate) ok markus@
2010-04-16if there is no raid, do not allocate a 0-sized structure for sensorsTheo de Raadt
and then start attaching it with 0 sensors attached ok dlg
2010-04-15there is in fact no default salt file nameTed Unangst
2010-04-15two missing splx in error path; ok drahnTheo de Raadt