[9fans] 9vx giving bad syscall number 53

2015-05-19 Thread Vasudev Kamath
Hi, I was trying to use the 9vx with plan9 iso from labs as mentioned in this post ¹ (sorry for inserting private archive link, 9fans.net gives a 404 error). When I run the below command 9vx -r plan9.iso -u glenda "CWD=#Z`pwd`" "nvram=#Z`pwd`/plan9.nvr" I find following errors in 9vx. > fs 58

Re: [9fans] 9vx giving bad syscall number 53

2015-05-19 Thread Vasudev Kamath
David du Colombier <0in...@gmail.com> writes: > The current vx32 repository, which includes the nsec syscall, > is available on: > > https://github.com/0intro/vx32 Thanks David, it works now.

Re: [9fans] Undefined Behaviour in C

2015-11-23 Thread Vasudev Kamath
Ramakrishnan Muthukrishnan writes: > Had been reading the SOSP paper: > > > and this blog post that proposes a simpler C: > I started reading the paper and its interesting. I didn't knew till date how opt

[9fans] Compiling ken-cc on Linux

2015-11-25 Thread Vasudev Kamath
Hi, I'm trying to compile ken-cc from ¹. Its giving me following error cc -c -m32 -g -O -I/home/vasudev/Documents/C_programming/compilers/9-cc/Linux/386/include -I/home/vasudev/Documents/C_programming/compilers/9-cc/include -DLINUX_386 -I../cmd/ 9obj.c In file included from /home/vasudev/Doc

Re: [9fans] Compiling ken-cc on Linux

2015-11-25 Thread Vasudev Kamath
Ryan Gonzalez writes: > See > https://bitbucket.org/plan9-from-bell-labs/9-cc/issues/1/problems-building-under-x64-linux > for some tips on fixing various errors you may encounter, including > this one. (I opened that issue like 8 months ago...) Thanks Ryan, I will follow this.

Re: [9fans] Compiling ken-cc on Linux

2015-11-27 Thread Vasudev Kamath
Hi Ryan, Ryan Gonzalez writes: > See > https://bitbucket.org/plan9-from-bell-labs/9-cc/issues/1/problems-building-under-x64-linux > for some tips on fixing various errors you may encounter, including > this one. (I opened that issue like 8 months ago...) I followed your reported issue. I could

Re: [9fans] Compiling ken-cc on Linux

2015-11-27 Thread Vasudev Kamath
Ryan Gonzalez writes: > Try going to the top of mathi.h and putting: > > #undef isnan > #undef isinf > > Stupid macros that don't look like macros. That worked. Even I didn't realize those as macros. But now I land in new error. /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and

Re: [9fans] Compiling ken-cc on Linux

2015-11-29 Thread Vasudev Kamath
Ryan Gonzalez writes: >>That took compilation further but now it breaks at point 4 in your >>issue. I hope I won't encounter more new issues :-). >> > > Ah, yes, I completely forgot about that part. :/ Good luck with the > rest of the compilation! You'll need it! Yes indeed. Now I'm having follo

[9fans] Booting 9front using 9vx

2016-03-04 Thread Vasudev Kamath
Hi, I was reading the Arch wiki on 9vx ¹ which said 9vx should/might boot 9atom and 9front ISO also. So I thought of trying this out and executed the following command. 9vx -r ../images/9front-4796.018cb441d1b5.iso -u glenda "CWD=#Z`pwd`" "nvram=#Z`pwd`/9front.nvr" But I got the following err

Re: [9fans] Booting 9front using 9vx

2016-03-04 Thread Vasudev Kamath
hiro <23h...@gmail.com> writes: > Extract a Plan9 root file system (ISOs from official plan9, 9atom or > 9front all should work) into your directory of choice "/path/to/plan9" > (9vx defaults to the directory /usr/local/plan9vx) Thanks Hiro, extracting the rootfs from the ISO makes 9vx work. I wa

Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Vasudev Kamath
"Brian L. Stuart" writes: > On Wed, 3/9/16, Anthony Sorace wrote: >> Anyone have any example code using the i2c interface on the pi >> I can look at? I'm playing around with several of these, and am not >> getting the results I expect (data getting out, but the hats aren't behaving >> like they'

Re: [9fans] Pi Hats and i2c

2016-03-09 Thread Vasudev Kamath
"Brian L. Stuart" writes: > On Wed, 3/9/16, Vasudev Kamath wrote: >>> The second talks to the MMA8451 3-axis accelerometer: >>> >>> http://cs.drexel.edu/~bls96/plan9/mma8451sa.c >> >> This link gives Forbidden message (403) > > Oop