Hurd Traffic #46 For 3 May 2000

By Zack Brown

Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?
Are you without a nice project and just dying to cut your teeth on an OS you can try to modify for your needs?
Are you finding it frustrating when everything works on minix? No more all-nighters to get a nifty program working?
Then this post might be just for you :-)
 
-- Linus Torvalds, 1991

Table Of Contents

Mailing List Stats For This Week

We looked at 19 posts in 63K.

There were 10 different contributors. 4 posted more than once. 2 posted last week too.

The top posters of the week were:

 

1. Figuring Out Boot Commands
24 Apr 2000 - 25 Apr 2000 (3 posts) Archive Link: "Need help installing HURD-Newbie!"
Topics: Bootloaders, FS: ext2
People: Kalle Olavi NiemitaloTomasz WegrzanowskiJohn Foster

John Foster was having trouble with his first Hurd install. During bootup, he gave the command, 'kernel=/boot/gnumach.gz root=hd1s1 -s', which gave a "file not found" error. Kalle Olavi Niemitalo replied:

If you type just "/debian-hurd/kernel=/index.html" and press TAB, GRUB should give you a list of files so you can check if you have the right root device. If the boot directory is there, try "/debian-hurd/kernel=/boot/index.html" TAB next.

GRUB 0.95.3 had trouble with modern ext2fs file systems (it showed extra characters after file names); upgrade if you're using that.

Tomasz Wegrzanowski also replied to John with similar advice:

Most probably you have too old grub. Test : try using name-completitions at grub prompt, enter /[TAB] and see list of files,

  • if there are non-letter characters appended at ends of files/dirs names your grub is too old, please upgrade it
  • if there is no shit yet, try completing /boot/[TAB] if there is some appended, upgrade your grub
  • if all file names are printed cleanly by grub wait for someone more competent than me ;-)

 

2. Get/Free Ports, IRQs Etc. From Userspace
25 Apr 2000 (2 posts) Archive Link: "GNUMach question"
People: Kalle Olavi NiemitaloTomasz Wegrzanowski

Tomasz Wegrzanowski asked where he could find docs on how to get and free hardware ports, IRQs, etc., from userspace. Kalle Olavi Niemitalo replied:

I don't know where it is described. But I'm looking at the source to see how it could work.

gnumach/i386/i386at/autoconf.c (take_dev_irq) allocates an IRQ for the kernel. It marks allocated IRQs by storing non-zero values in the intpri array. The array is modified only in the following places (I grepped):

  • gnumach/i386/i386at/autoconf.c (take_dev_irq, take_ctlr_irq): These look like general-purpose functions.
  • gnumach/linux/dev/arch/i386/kernel/irq.c (setup_x86_irq, free_irq, probe_irq_on, probe_irq_off, init_IRQ, restore_IRQ): Glue for Linux drivers.
  • gnumach/i386/i386at/kd_mouse.c (kd_mouse_open, kd_mouse_close): Special-purpose, for the mouse only.
  • gnumach/i386/i386at/pit.c (clkstart): Apparently run during startup.

Of these, take_dev_irq or request_irq could be used by the user-space IRQ interface. Let's see where they are called... sorry, they are used only from drivers of particular devices and so there is no interface for delivering IRQs to user programs.

Hardware ports (0x3D4 and 0x3D5 at least) can currently be used by user programs without any requests or permission checks. I've reported this as bug #46709.

I think I'll download Fiasco and see what it's like...

There was no reply.

 

3. Translators For Drag-N-Drop
25 Apr 2000 - 29 Apr 2000 (2 posts) Archive Link: "Strange translators"
People: Marcus BrinkmannTomasz Wegrzanowski

Tomasz Wegrzanowski had the very interesting idea of creating a translator that would perform do its function when files were moved from one name to another, or from one directory to another. His idea was to, for example, mount a floppy via '/debian-hurd/mv_/mo_dev/free/fd_/mo_dev/mounted/index.html' and unmount it via '/debian-hurd/mv_/mo_dev/mounted/fd_/mo_dev/free/index.html'. He pointed out that this would be very useful for drag-n-drop GUIs. Marcus Brinkmann replied,
A translator which provides a directory structure (as opposed to a single file), must/can handle all of LOOKUP, CREATE, RENAME, REMOVE. (Types passed diskfs_lookup_hard). There are sufficient complex stubs in libdiskfs to get the job done.

 

4. RTHurd
27 Apr 2000 (1 post) Archive Link: "RTHurd"
People: Bruno Durning

Bruno Durning asked,
Some time ago (maybe one year, I am not sur) I have heard about a real time version of Hurd, but nowadays I cannot find any information about it. So I would like to know if the project still exists and if yes, where I can get some information about it.
There was no reply.

 

5. Hurd Documentation Project
27 Apr 2000 - 29 Apr 2000 (3 posts) Archive Link: "Re: Hurd Documentation / HOWTO's"
People: Jeff BaileyDenis BodorSujit Mathew

Sujit Mathew told Jeff Bailey that he was interested in helping with the Hurd Documentation Project, and Denis Bodor offered to translate docs into French. Jeff replied:

That would be nice. I'm going to wait a little bit on translation, because the documents that will be posted at first will probably need lots of revision. I can also help with some of the French translations (although my written grammar needs a little bit of work) when we get there.

I do have a request though - would you mind documenting how to make the Hurd speak different languages? I know that Marcus switches his to German, so there must be some settings somewhere.

There was no reply.

 

6. SMP Hurd
28 Apr 2000 - 29 Apr 2000 (2 posts) Archive Link: "Need Help with network card setup-NEWBIE"
People: John FosterTomasz Wegrzanowski

John Foster mentioned, that he had a dual processor system, and asked,
must I recompile for them both to work--seems much slower than Linux SMP.
Tomasz Wegrzanowski replied,
no SMP on Hurd yet (ever ?)
There was no reply.

 

 

 

 

 

 

We Hope You Enjoy Hurd Traffic
 

Kernel Traffic is grateful to be developed on a computer donated by Professor Greg Benson and Professor Allan Cruse in the Department of Computer Science at the University of San Francisco. This is the same department that invented FlashMob Computing. Kernel Traffic is hosted by the generous folks at kernel.org. All pages on this site are copyright their original authors, and distributed under the terms of the GNU General Public License, version 2.0.