Discussion:
[9fans] How to mange cwfs on 9front?
(too old to reply)
k***@hera.eonet.ne.jp
2011-12-02 11:04:42 UTC
Permalink
Hi

I just installed 9front on a Celeron 2.8GHz with 1GB mashine
on a 40GB hard drive. :-) Yes, I just tried it for test.
(When I used 528MB memory, I was rejected by insufficient memory).

I know 9front doesn't add anything new to Plan 9. However, I'm interested
how they implemented Ken's fs to a user space where any user process can run.

How I can control the cwfs (on the terminal above)? In the Ken's fileserver
we have a special console to control the fileserver. However, I could not
find such a console on 9front...

Kenji
Iruatã Souza
2011-12-02 11:18:45 UTC
Permalink
Post by k***@hera.eonet.ne.jp
Hi
I just installed 9front on a Celeron 2.8GHz with 1GB mashine
on a 40GB hard drive. :-)   Yes, I just tried it for test.
(When I used 528MB memory, I was rejected by insufficient memory).
I know 9front doesn't add anything new to Plan 9.   However, I'm interested
how they implemented Ken's fs to a user space where any user process can run.
How I can control the cwfs (on the terminal above)?  In the Ken's fileserver
we have a special console to control the fileserver.   However, I could not
find such a console on 9front...
9front adds new stuff, see http://code.google.com/p/plan9front/wiki/features.
Cwfs(4) (the user space Ken fs) was not written by 9front, and is
available on Plan 9 as well. To use it, please read cwfs(4) and fs(8).
c***@gmx.de
2011-12-02 12:33:24 UTC
Permalink
528MB is enougth memory to even compile python and ghostscript
without a swap partition :)

looks like there is some problem with the memory detection. there
was some bug in the e820 code of the bootloader. if the current
iso detects your memory, updating the bootloader on the 9fat
might fix it.

the cwfs "console" is put in devsrv as /srv/cwfs.cmd in 9front.

we also added factotum support, the ability to use files directly
in the configuration string without having to use a device map file,
temp-bit to exclude files from being dumped to worm, made it kfs
compatible so it can be used as root filesystem, record the cache
layout in the configuration block...

a lot of lines of code where deleted :)

--
cinap
k***@hera.eonet.ne.jp
2011-12-02 11:22:59 UTC
Permalink
Post by k***@hera.eonet.ne.jp
How I can control the cwfs (on the terminal above)? In the Ken's fileserver
we have a special console to control the fileserver. However, I could not
find such a console on 9front...
Say, how to make /usr/okamoto directory with uid okamoto, gid okamoto
etc, or /n/abc?

Kenji
erik quanstrom
2011-12-02 13:53:17 UTC
Permalink
Post by k***@hera.eonet.ne.jp
Hi
I just installed 9front on a Celeron 2.8GHz with 1GB mashine
on a 40GB hard drive. :-) Yes, I just tried it for test.
(When I used 528MB memory, I was rejected by insufficient memory).
i think that cinap's right. some of it's gone missing. if this machine is pxebootable,
you can dowload
hget http://ftp.quanstro.net/other/9pxeload > /386/9pxeloadxx
and run with
*e820print=1
in your /cfg/pxe/$ether set. this will print out the map that acpi gives us.
if this looks good, then there's a good chance of getting your machine
working.

if you can't pxeload, just change the url to get 9load, and install that
in your boot partition. the 9atom cd will give you the same tools.
hget http://ftp.quanstro.net/other/9atom.iso.bz2

hope that helps.

- erik
k***@hera.eonet.ne.jp
2011-12-05 13:07:38 UTC
Permalink
Sorry cinap, I deleted your mail mistakenly, and saw it from web browser.

Thank you for your snswer how to manage cwfd, such that
"echo < fscons cmd> >> /srv/cwfs.cmd". Yes, it worked.

Is the /386/9bootxxx different from Plan 9's /386/9load?
Can /386/9load load the 9front's kernel from net?

I installed another machine for cpuserver, and tried to boot no-hdd and
floppy booting terminal using Plan 9's 9load, but failed.

The both of my 9front's machine has ehci USB chip, and failed to use
both. The cpuserver does not recognize my floppy drive properly...
I'm not complaining though, however, I have no route to make new
bootable floppy for 9font without hdd.

What is the reason why you have no just 'pc' configureration, not 'pcf'?

Too noisy, maybe. If so, sorry for that.

For pxe boot, I'll try soon, erik.

Kenji
k***@hera.eonet.ne.jp
2011-12-06 01:12:15 UTC
Permalink
Post by k***@hera.eonet.ne.jp
The both of my 9front's machine has ehci USB chip, and failed to use
both.
error messages are:
ehci 0xe0000000: port 5 didn't reset after 500ms: sts 0x1101t1data

and cat /dev/sdU6.1/ctl says only one line with last word busy.
No information for this port.
I remember I saw this in an early version of nemo's usb driver.

Kenji
k***@hera.eonet.ne.jp
2011-12-08 11:26:36 UTC
Permalink
Post by k***@hera.eonet.ne.jp
ehci 0xe0000000: port 5 didn't reset after 500ms: sts 0x1101t1data
I now know even this error, the usb device is working. :-)

The diskless terminal machine's floppy drive is also recongnized
properly. So, the floppy problem depends on hardware.
Now, I can use, floppy drive, usb disks, then, I can do much more.

Kenji
stephen wiley
2011-12-08 16:17:56 UTC
Permalink
Post by k***@hera.eonet.ne.jp
Post by k***@hera.eonet.ne.jp
ehci 0xe0000000: port 5 didn't reset after 500ms: sts 0x1101t1data
I now know even this error, the usb device is working. :-)
The diskless terminal machine's floppy drive is also recongnized
properly. So, the floppy problem depends on hardware.
Now, I can use, floppy drive, usb disks, then, I can do much more.
Kenji
How did you get usb working? I have the same error on my machine.
erik quanstrom
2011-12-08 16:47:34 UTC
Permalink
Post by stephen wiley
How did you get usb working? I have the same error on my machine.
is usb confirmed not working? if so, how? normally this message is harmless.
(though an indiciation of a bug in usb.)

- erik
k***@hera.eonet.ne.jp
2011-12-09 00:39:12 UTC
Permalink
Post by erik quanstrom
is usb confirmed not working? if so, how? normally this message is harmless.
(though an indiciation of a bug in usb.)
Yes, I'm using usb device here, though not so hard use.

Kenji

k***@hera.eonet.ne.jp
2011-12-09 00:37:25 UTC
Permalink
Post by stephen wiley
How did you get usb working? I have the same error on my machine.
On 9front, you don't need to some command suchusffat:, just
plugin the stick.
Then just see /shr directory by acme, then, you'll find some sdU** directory.
That's it.

Kenji
k***@hera.eonet.ne.jp
2011-12-07 13:07:55 UTC
Permalink
Post by k***@hera.eonet.ne.jp
For pxe boot, I'll try soon, erik.
I've set up this pxe boot using 9front's package itself, such as
/386/9bootpxe. I know now 512MB is enough to boot
/386/9pcf with diskless terminal.
This diskless terminal's usb device works fine and mounted to
/shr/sdU3.0 automatically. It's very convenient. Thanks all
developed 9front distribution!

Kenji
Loading...