<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/daemons, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-09-04T12:46:02Z</updated>
<entry>
<title>Fix installing runsystem.hurd</title>
<updated>2016-09-04T12:46:02Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-09-04T12:46:02Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=9eeba20f44cc1e883606304091a03e64b8102244'/>
<id>urn:sha1:9eeba20f44cc1e883606304091a03e64b8102244</id>
<content type='text'>
* daemons/runsystem.hurd: Rename to daemons/runsystem.hurd.sh
* daemons/Makefile (targets): Add runsystem.hurd
(special-targets): Likewise.
(runsystem.hurd): New rule, simply depends on runsystem.hurd.sh
</content>
</entry>
<entry>
<title>Add missing libraries to fix link errors</title>
<updated>2015-12-30T00:46:04Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-30T00:40:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2c414dc400729160ec4d2004c60470ce59ad9008'/>
<id>urn:sha1:2c414dc400729160ec4d2004c60470ce59ad9008</id>
<content type='text'>
This fixes several linking problems I had in my recent cross-compilation
of the Hurd. I added missing static libraries and also organized some of
the targets for more concise rules.

* console-client/Makefile: Add libiohelp.a and libihash.a.
* daemons/Makefile: Add libihash.a and libshouldbeinlibc.a.
* devnode/Makefile: Add iohelp and ihash to HURDLIBS.
* random/Makefile: Likewise.
* trans/Makefile: Reorder targets alphabetically and add libiohelp.a and
libihash.a.
* utils/Makefile: Add libihash.a.
</content>
</entry>
<entry>
<title>fix compiler warnings in hurd/daemons</title>
<updated>2015-12-29T19:47:40Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-29T17:02:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=a718b0bfcce0d6426d3354815c957ce9dbb1ca21'/>
<id>urn:sha1:a718b0bfcce0d6426d3354815c957ce9dbb1ca21</id>
<content type='text'>
daemons: Fix compiler warnings.

* daemons/lmail.c: Initialize cached to 0.
</content>
</entry>
<entry>
<title>Fix race condition in ext2fs when remounting</title>
<updated>2015-09-06T19:40:20Z</updated>
<author>
<name>James Clarke</name>
<email>jrtc27@jrtc27.com</email>
</author>
<published>2015-08-27T16:22:11Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=7a2c17fcbb789997421725d726340301ef35d84c'/>
<id>urn:sha1:7a2c17fcbb789997421725d726340301ef35d84c</id>
<content type='text'>
On some systems, ext2fs.static would regularly hang at startup, as a
race condition meant it would process paging requests while remounting.
To fix this, libpager has been altered to allow inhibiting and resuming
its worker threads, and ext2fs uses this to inhibit paging while
remounting.

* console/pager.c (pager_requests): New variable.
(user_pager_init): Updated call to pager_start_workers to use new
pager_requests variable.
* daemons/runsystem.sh: Removed artificial delay working around the race
condition.
* ext2fs/ext2fs.c (diskfs_reload_global_state): Call new
inhibit_ext2_pager and resume_ext2_pager functions, and leave sblock as
non-NULL so it will be munmapped.
* ext2fs/ext2fs.h (inhibit_ext2_pager,resume_ext2_pager): New functions.
* ext2fs/pager.c (file_pager_requests): New variable.
(create_disk_pager): Updated call to pager_start_workers to use new
file_pager_requests variable.
(inhibit_ext2_pager,resume_ext2_pager): New functions.
* fatfs/fatfs.h (inhibit_fat_pager,resume_fat_pager): New functions.
* fatfs/pager.c (file_pager_requests): New variable.
(create_fat_pager): Updated call to pager_start_workers to use new
file_pager_requests variable.
(inhibit_fat_pager,resume_fat_pager): New functions.
* libdiskfs/disk-pager.c (diskfs_disk_pager_requests): New variable.
(diskfs_start_disk_pager): Updated call to pager_start_workers to use
new diskfs_disk_pager_requests variable.
* libdiskfs/diskfs-pager.h (diskfs_disk_pager_requests): New variable.
* libpager/demuxer.c (struct pager_requests): Renamed struct requests to
struct pager_requests. Replaced queue with queue_in and queue_out
pointers. Added inhibit_wakeup field.
(pager_demuxer): Updated to use new queue_in/queue_out pointers. Only
wake up workers if not inhibited.
(worker_func): Updated to use new queue_in/queue_out pointers. Final
worker thread to sleep notifies the inhibit_wakeup condition variable.
(pager_start_workers): Added out parameter for the requests instance.
Allocate heap space shared by both queues. Initialise new inhibit_wakeup
condition.
(pager_inhibit_workers,pager_resume_workers): New functions.
* libpager/pager.h (struct pager_requests): Public forward definition.
(pager_start_workers): Added out parameter for the requests instance.
(pager_inhibit_workers,pager_resume_workers): New functions.
* libpager/queue.h (queue_empty): New function.
* storeio/pager.c (pager_requests): New variable.
(init_dev_paging): Updated call to pager_start_workers to use new
pager_requests variable.
</content>
</entry>
<entry>
<title>misc: Fix typos in comments (found by codespell)</title>
<updated>2015-01-03T12:10:08Z</updated>
<author>
<name>Stefan Weil</name>
<email>sw@weilnetz.de</email>
</author>
<published>2015-01-03T09:16:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=bd1d3a48415cb6a7c24c45a899ce38b3ce34956d'/>
<id>urn:sha1:bd1d3a48415cb6a7c24c45a899ce38b3ce34956d</id>
<content type='text'>
Signed-off-by: Stefan Weil &lt;sw@weilnetz.de&gt;
</content>
</entry>
<entry>
<title>init: add a minimalist init program</title>
<updated>2014-11-21T04:49:03Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2013-09-18T13:29:36Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=7e9c559c75901f391b4151ed6cabba74e60f80af'/>
<id>urn:sha1:7e9c559c75901f391b4151ed6cabba74e60f80af</id>
<content type='text'>
This patch adds a minimalist init program.  It is somewhat lacking in
features, but is able to bring up a Hurd system with the runsystem and
rc scripts.  In fact, it roughly does what the former /hurd/init did,
modulo all the very early bootstrapping stuff and the startup
protocol.  It is started when all the essential servers are up and
running, so it can make use of most of the POSIX goodies, making its
implementation much simpler.

* Makefile (prog-subdirs): Add init.
* daemons/runsystem.sh: Generalize runsystem so that it can start any
init as specified on the kernel command line.  By default, it starts
/hurd/init.
* daemons/runsystem.hurd: This is a verbatim copy of runsystem.sh.  It
is started by /hurd/init.
* daemons/rc.sh: Do not start /hurd/mach-defpager as it is already
started in runsystem.sh.
* daemons/Makefile (SRCS): Add runsystem.hurd.
* init/Makefile: New file.
* init/init.c: Likewise.
</content>
</entry>
<entry>
<title>daemons/getty: always print a newline before the banner</title>
<updated>2014-02-05T00:00:48Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-02-05T00:00:48Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=b17be9b496a6dfe10babb8102d8e55ad9a3fc2e2'/>
<id>urn:sha1:b17be9b496a6dfe10babb8102d8e55ad9a3fc2e2</id>
<content type='text'>
* daemons/getty.c (load_banner): Drop first newline from default banner.
(print_banner): Print a newline.
</content>
</entry>
<entry>
<title>daemons/getty: display /etc/issue if available</title>
<updated>2014-01-31T18:54:45Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-01-29T00:53:50Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=f4bf9dc40689f1ab221d64af6932286d4cd010e6'/>
<id>urn:sha1:f4bf9dc40689f1ab221d64af6932286d4cd010e6</id>
<content type='text'>
Previously, a banner was hardcoded in Hurds getty.  Load /etc/issue
instead.  Fall back to a hardcoded version if that fails.  Expand
common \char sequences.  If no /etc/issue is provided, the old
behavior is retained.

* daemons/getty.c (load_banner): New function.
(print_banner): Expand \char sequences.
</content>
</entry>
<entry>
<title>Make boot script accept more fsck values</title>
<updated>2013-10-28T08:16:55Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-10-28T08:16:55Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=aece54e2c790d65c660bfe0bbbfd42d9cdd3fe27'/>
<id>urn:sha1:aece54e2c790d65c660bfe0bbbfd42d9cdd3fe27</id>
<content type='text'>
* daemons/rc.sh: Accept fsck returning 5 and 9 too.
</content>
</entry>
<entry>
<title>Make boot script reboot when fsck told so</title>
<updated>2013-10-22T09:40:35Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-10-22T09:39:32Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=1cf9d9d1ee1b5bb9ea73208b9635252ab5d883fb'/>
<id>urn:sha1:1cf9d9d1ee1b5bb9ea73208b9635252ab5d883fb</id>
<content type='text'>
* daemons/rc.sh: When fsck returned 2 or 3, reboot the system.
</content>
</entry>
</feed>
