summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-23ip/dhcpd: add rootserverip read in lookupip() (thanks k0ga)cinap_lenrek
Lookupip() was already reading rootpath, but it didn't read the address of the rootserver. As they are very related it makes sense to read them at the same time. This patch also fixes a typo, where vendorclass was used instead of vendor, resulting that vendor ndb attribute was never used.
2019-01-23ip/dhcpd: change swap to rootserver (thanks k0ga)cinap_lenrek
2019-01-22devtls: remove static "already" flag in tlsinit(). this function is only run ↵cinap_lenrek
once.
2019-01-22devswap: simplify, don't panic when writing swapfile failscinap_lenrek
always start the pager kproc in swapinit(), simplifying kickpager(). allow zero conf.nswap and conf.nswppo. avoid allocating the reference map and iolist arrays in that case. use ulong for ioptr and iolist indices. don't panic when writing pages out to the swapfile fails. just requeue the page in the io transaction list so we will try again next time executeio() is run or just free the page when the swap reference was dropped. remove unused pagersummary() function.
2019-01-22pc64: properly handle faulterror in faultamd64()cinap_lenrek
replicate what faulterror() would have done with up->nerrlab == 0, that is, terminate the process.
2019-01-22upas/fs: remove unused function pop3logAlex Musolino
2019-01-20mergeaiju
2019-01-20rc: clear out redirections on "rfork F" (RFCFDG)cinap_lenrek
rfork F closes all file descriptors, so we have to invalidate the redirections as they are now refering to closed files. not doing so causes the wrong file descriptors being closed later on as the fd numbers get reused.
2019-01-20dtracy: fix &&aiju
2019-01-13ether82563: fix bugus FCA write and link detection for i217cinap_lenrek
the FCA registers 0x28, 0x2C have been reassigned to to FEXTNVM on i217, i218 and i219 so add Fnofca flag and avoid writing the registers. make link detection more robust on i217 by delaying the phy status read after link status change by 150ms. we'd otherwise get a "phy wedged" (power saving state?) and not update the link status until the next link change.
2019-01-12ether82563: work arround spurious jumbo packets on i217 (thanks k0ga)cinap_lenrek
i217 appears to receive spurious jumbo frame and then stops receiving completely. reducing the mtu to 2k as a work arround for now.
2019-01-12/sys/lib/plumb/basic: make plumbing page bookmarks work with relative paths ↵cinap_lenrek
(thanks Tobias Heinicke)
2019-01-12ether82563: use 9018 byte mtu from datasheet for i217, i218, i219cinap_lenrek
2019-01-12mergecinap_lenrek
2019-01-12ether82563, ether82598, etherx550: round rbsz to multiple of 1Kcinap_lenrek
the max packet size is configured in 1K increments on these chips, which can result in the card receiving a 10K packet but the driver having only allocated 9.5K of buffer. this actually caued pool corruption with i210, i217, i218, i219, i350. for 82598 and x550, we explicitely round rbsz to avoid similar bugs in the future, even tho the Rbsz constant was already a multiple of 1K and is not affected by the bug.
2019-01-08torrent: avoid trying to fetch blocks past fileqwx
2019-01-04pc, pc64: properly track dependencies for mem.h on autogenerated ↵cinap_lenrek
apbootstrap.h and reboot.h targets
2019-01-02upas/fs: don't put messages on the lru that cannot be uncachedcinap_lenrek
the lru is there to track least recently used messages so we can evict them from the cache and refetch them again on demand. for pop3 mailbox, which doesnt provide fetch routine, the messages should never be put on the freelist.
2019-01-02upas/fs: include mkupas in mkfile last to get default targetcinap_lenrek
2018-12-31upas/fs: fix infinite loop in putcache (again)Alex Musolino
The previous attempt to fix this problem (see changesets b32199e0f90a and 00ae79a6ba50) caused all calls to cachefree to free the cached message contents in addition to updating the LRU list. This causes problems for the POP3 driver since it provides no fetch function; once a message is evicted from the LRU cache, its contents is lost. This time we fix cachefree to always update the LRU list but only free the cached message contents if the driver provides a fetch function or the force flag is set.
2018-12-28rsa(8): add example for tinc(8) (thanks k0ga, qwx)cinap_lenrek
2018-12-28dtracy: fix conditional branch generationaiju
2018-12-26remove function prototype that leaked into last commitBurnZeZ
2018-12-26tcs: clean up old port code, and avoid writing 0 to stdoutBurnZeZ
2018-12-26mk: fix closing random fd from uninitialized stack variable (thanks BurnZeZ, ↵cinap_lenrek
mycroftiv) mycroftiv → this is practically "500 mile email" territory - the "6 letter mk bug"
2018-12-24nusb/disk: revert previous attempts and just not issue capacity command when ↵cinap_lenrek
theres no media present
2018-12-23Make the check work.Ori Bernstein
Embarrassing.
2018-12-24nusb/disk: implement 64 bit lba read/write commands (16 byte commands)cinap_lenrek
untested.
2018-12-24nusb/disk: fix typo "("cinap_lenrek
2018-12-23Don't unnecessarily unstall devices.Ori Bernstein
Some SD card readers are slow to unstall. We try to unstall them in a loop if there's no SD card in there, but they're not stalled. They're happily reporting that there's no SD card in them by giving back the appropriate error code. Skipping the unstall speeds up the retry loop, cutting the time spent attaching the USB device at boot from multiple minutes to nearly instant.
2018-12-24dossrv: cleanupcinap_lenrek
2018-12-23dossrv: make GLONG() return ulong, handle getsect() error in dostat()cinap_lenrek
2018-12-23etherx550: add intel 10GB ethernet controlller x550 driver (thanks joe9)cinap_lenrek
2018-12-23ether82598: fix multicast filter (thanks aiju, joe9)cinap_lenrek
2018-12-22dossrv: use 64 bit vlong for sectorscinap_lenrek
2018-12-15dtracy: avoid pointer to integer truncation warning on amd64cinap_lenrek
2018-12-15fplot: fix operator associativityaiju
2018-12-13fplot: add min/max operatorsaiju
2018-12-13dtracy: get rid of DTName struct, support more than three parts in a probe ↵aiju
name, wildcard matching
2018-12-13pc(1): reference counting bugaiju
2018-12-13mergeAlex Musolino
2018-12-13upas/fs: remove now unnecessary "force" argument to cachefreeAlex Musolino
2018-12-12upas/fs: handle errors from fetch for cachebody()/cacheheaders()cinap_lenrek
for imap, when a fetch fails, error out of read and stat. also don't add failed to download messages into the lru.
2018-12-12mergeAlex Musolino
2018-12-12upas/fs: fix infinite loop in putcacheAlex Musolino
Force the cacheclear operation in the LRU cache trimming loop in order to guarantee that the cache becomes smaller with each iteration. Without the force flag cacheclear is a no-op for mailboxes that do not provide a fetch function, e.g. POP3.
2018-12-11fortunes: [9fans] ..... UNSUBSCRIBE_HELP NEEDEDstanley lieber
2018-12-11forgotten filesaiju
2018-12-11kernel: change peek to return number of characters left rather than 0/-1aiju
2018-12-11dtracy: catch page faultsaiju
2018-12-11add dtracy support to mkdevc and enable dtracy with plan9.iniaiju