[9fans] How serious is incomatible type signatures?

2011-02-26 Thread Fernan Bolando
I am seeing incompatible type signature errors when compiling f2c.
Removing -T from the compiler option seems to allow me to compile with
no problems. The resulting compiled code seems to run just fine.
sig_die: incompatible type signatures 951b2e20(unix.8) and
bde91c57(../libf2c/libf2c.a8(sig_die)) for exit

fernan



Re: [9fans] usb/disk nvram and pxeload

2011-02-26 Thread Skip Tavakkolian
That was the approach i was taking when ... ( i only need 512 bytes
after MBR, what could possibly go wrong?!) I destroyed some
memorabilia on that flash. Oh well; no big loss.

for some reason setting nvram='#u/usb/ep6.0/data" nvroff=513 (is it 0
or 1 origin?) nvrlen=512 didn't work. i guessed it might have been the
fact that usbd started usb/disk; i was getting device busy.

On Sat, Feb 26, 2011 at 6:41 PM, Gorka Guardiola  wrote:
> On Sun, Feb 27, 2011 at 1:38 AM, Skip Tavakkolian
>  wrote:
>> if i pxeload a cpu and want to be able to use an nvram partition on a
>> usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned &
>> formated). it seems i also must change boot/boot.c to add the 'partfs
>> && fdisk -p && prep -p' after usbd has started. is this correct?
>>
>>
>
> On second thought, if you are only going to use it for nvram,
> you can cook something fast with bind slashn and aux/stub
> using the whole usb disk data file.
>
> --
> - curiosity sKilled the cat
>
>



Re: [9fans] usb/disk nvram and pxeload

2011-02-26 Thread Gorka Guardiola
On Sun, Feb 27, 2011 at 1:38 AM, Skip Tavakkolian
 wrote:
> if i pxeload a cpu and want to be able to use an nvram partition on a
> usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned &
> formated). it seems i also must change boot/boot.c to add the 'partfs
> && fdisk -p && prep -p' after usbd has started. is this correct?
>
>

On second thought, if you are only going to use it for nvram,
you can cook something fast with bind slashn and aux/stub
using the whole usb disk data file.

-- 
- curiosity sKilled the cat



Re: [9fans] usb/disk nvram and pxeload

2011-02-26 Thread ron minnich
On Sat, Feb 26, 2011 at 4:38 PM, Skip Tavakkolian
 wrote:
> if i pxeload a cpu and want to be able to use an nvram partition on a
> usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned &
> formated). it seems i also must change boot/boot.c to add the 'partfs
> && fdisk -p && prep -p' after usbd has started. is this correct?
>
>

When it gets this complicated I much prefer a pcfs kernel. That lets
me run a full up script. I have even adapted pcfs for arm so I can
have usb disk root.

I can find that script but maybe this is enough to get you going.

ron



Re: [9fans] usb/disk nvram and pxeload

2011-02-26 Thread Gorka Guardiola
On Sun, Feb 27, 2011 at 1:38 AM, Skip Tavakkolian
 wrote:
> if i pxeload a cpu and want to be able to use an nvram partition on a
> usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned &
> formated). it seems i also must change boot/boot.c to add the 'partfs
> && fdisk -p && prep -p' after usbd has started. is this correct?
>
>

There are two alternatives.
Be wary, I am writing this by looking at the manual and from
what I remember from the code, but they should be *almost* right.

One is run
usb/usbd
mount /srv/usb /n/usb
#now you have /n/usb/sdU0.0 for example there
#here there are two alternatives, you can use partfs or fs, depending
#on your needs.

#with partfs *simpler but slower*
disk/partfs /n/usb/sdU0.0
cd /dev/sdXX
disk/fdisk -p data > ctl
disk/prep -p plan9 > ctl

#alternatively to partfs
#with fs
{
echo disk sdXX 512 /n/usb/sdU0.0/data
   disk/fdisk -p /n/usb/sdU0.0/data
   disk/prep -p /n/sdXX/plan9

} > /dev/fs/ctl


G.

-- 
- curiosity sKilled the cat



Re: [9fans] Spice2g6 using f2c/plan9 was: Modern development language for Plan 9, WAS: Re: RESOLVED:

2011-02-26 Thread Fernan Bolando
On Sat, Feb 26, 2011 at 5:10 AM, Lyndon Nerenberg  wrote:
>> Do you have spice mkfiles available somewhere?
>
> Spice died when my previous venti server blew up.  Re-doing
> the port is on my todo list, but not very high at the moment.
>

I have been trying to get a circuit simulator working on plan9 for
sometime, but failed. I only realize spice2 would  be a good candidate
after you posted that you got it working.

I have copied spice2g6 in my contrib
http://plan9.bell-labs.com/sources/contrib/fernan/spice2.tgz

spice2 is in fortran, I included the f2c translation incase you dont
want to bother with f2c. You will still need the libf2c to compile
though.



[9fans] usb/disk nvram and pxeload

2011-02-26 Thread Skip Tavakkolian
if i pxeload a cpu and want to be able to use an nvram partition on a
usb disk (i.e. nvram=/dev/sdXX/nvram - once it is partitioned &
formated). it seems i also must change boot/boot.c to add the 'partfs
&& fdisk -p && prep -p' after usbd has started. is this correct?



Re: [9fans] changing font size acme 9term plan 9 from user space

2011-02-26 Thread Sasha and Tanya Kapshuk

On 02/26/2011 03:06 PM, Jacob Todd wrote:


Set $font to the font you want. I use 
$PLAN9/fonts/fixed/unicode.6x12.font, there's plenty of other sizes, 
though.


On Feb 26, 2011 7:20 AM, "Sasha and Tanya Kapshuk" 
mailto:sashaandta...@gmail.com>> wrote:

> Hi,
>
> I'm using Plan 9 from user space on Debian Squeeze.
>
> I'd like to change the font size in both acme and 9term, but don't know
> how to do that.
>
> I'd appreciate a hint there please.
>
> Thanks.
>
> Alexander Kapshuk.
>
>

Thanks.
I'll give that a try.



Re: [9fans] changing font size acme 9term plan 9 from user space

2011-02-26 Thread Jacob Todd
Set $font to the font you want. I use $PLAN9/fonts/fixed/unicode.6x12.font,
there's plenty of other sizes, though.
On Feb 26, 2011 7:20 AM, "Sasha and Tanya Kapshuk" 
wrote:
> Hi,
>
> I'm using Plan 9 from user space on Debian Squeeze.
>
> I'd like to change the font size in both acme and 9term, but don't know
> how to do that.
>
> I'd appreciate a hint there please.
>
> Thanks.
>
> Alexander Kapshuk.
>
>


Re: [9fans] changing font size acme 9term plan 9 from user space

2011-02-26 Thread Sasha and Tanya Kapshuk

Hi,

I'm using Plan 9 from user space on Debian Squeeze.

I'd like to change the font size in both acme and 9term, but don't know 
how to do that.


I'd appreciate a hint there please.

Thanks.

Alexander Kapshuk.