Re: [9fans] dual boot

2014-05-25 Thread Ramakrishnan Muthukrishnan
On Sun, May 25, 2014 at 1:39 PM, Ramakrishnan Muthukrishnan
vu3...@gmail.com wrote:
 On Sun, May 25, 2014 at 11:07 AM, erik quanstrom quans...@quanstro.net 
 wrote:
 Yes, I typed them by hand. Sorry about the error.

  panic: kernel fault: no user process pc=0xf0162415 addr=0x00a8
  panic: kernel fault: no user process pc=0xf0162415 addr=0x00a8
 
  there is a new TEST image @ http://ftp.9atom.org/other/+usbinstamd64.bz2
  i have not had a chance to try it myself, but the crash seems obvious 
  enough.

 Thanks. I just tried it and indeed, with the pae kernel, it gets me
 into the installer. At some point, I mistakenly selected (arches to
 install as amd64, well I really wanted to install amd64 but perhaps
 the kernel has not been rebuilt for amd64 I guess.

 Now, it proceeds to build full set of amd64 executables? which I
 selected yes. I then get a build error:

 8c -FTVw s_tolower.c
 s_rdinstack.c:13 not a function
 s_rdinstack.c:13 syntax error, last name: Sinstack
 mk: 8c -FTVw s_rdinstack.c  : exit status=rc 594: 8c 604: error
 mk: date for (i  ...  : exit status=rc 509: rc 563: mk 565: error
 halt system? (yes, no, skip)[no default]

 oops.  sorry.  my fault.  fixed.

 I am going to try installing a 386 system instead (after sending out
 this email).

 Also the amd64 kernel still didn't boot. When I selected amd64
 (selection 0), it just printed something that I couldn't read and
 rebooted the system.

 if this is an amd (not intel) system, i may have applied a band-aid for this.

 Using your new image, I confirm that your fixes are working. I could
 boot and install the system with arch as amd64.

 In the configure vga resolution? (yes, no, skip)[no]: I selected yes.

 It proceeded to show me a list of resolutions (8 different options).
 Since my monitor has the highest resolution of 1920x1080, I selected
 that. Next it asked for image depth[no default] where I typed in 16.
 But it kept looking there, whatever I keyed in. If I proceed with no
 default, I see that the PLAN9.INI file in the 9fat partition (which I
 mounted with 9fat: command) has the resolution set as 1920x1080xno
 default. So, after installation, I got dropped into a text console,
 probably because of this error.

 Also if I opted to create a user name (called ram) for me during
 installation. But I don't see the lib/* files under /usr/ram. I see a
 few files under /usr/glenda. Aren't some of these boilerplate init
 files copied to the user home directory during installation?

 Thanks again. Doing another installation now, but without opting for a
 vga resolution during installation time to see if I can get rid of the
 no default thing in the plan9.ini file. I will change that file

I tried mounting 9fat and replaced no defaults using sed to 16. It now
booted but the username ram didn't have any of the rc init files.
So, I again used sed to replace ram with glenda. I now have a
working native installation of 9atom on my desktop that I can play
with and experiment.

Thank you very much.

-- 
  Ramakrishnan



Re: [9fans] dual boot

2014-05-25 Thread Brian L. Stuart
 It now
 booted but the username ram didn't have
 any of the rc init files.

There's a script in /sys/lib/newuser that sets
up an initial set of scripts and directories
for a newly created user.  The newuser(8) man
page give more detail.

BLS




Re: [9fans] dual boot

2014-05-25 Thread Ramakrishnan Muthukrishnan
On Sun, May 25, 2014 at 10:55 PM, Brian L. Stuart
blstu...@bellsouth.net wrote:
 It now
 booted but the username ram didn't have
 any of the rc init files.

 There's a script in /sys/lib/newuser that sets
 up an initial set of scripts and directories
 for a newly created user.  The newuser(8) man
 page give more detail.

Thank you, Brian. I discovered that after sending that email while
reading the plan9 web documentation.

BTW, I recently got hold of your OS book. Very nice book, especially
the inferno parts, which was my primary interest when I bought the
book.

-- 
  Ramakrishnan



Re: [9fans] dual boot

2014-05-25 Thread erik quanstrom
 It proceeded to show me a list of resolutions (8 different options).
 Since my monitor has the highest resolution of 1920x1080, I selected
 that. Next it asked for image depth[no default] where I typed in 16.
 But it kept looking there, whatever I keyed in. If I proceed with no
 default, I see that the PLAN9.INI file in the 9fat partition (which I
 mounted with 9fat: command) has the resolution set as 1920x1080xno
 default. So, after installation, I got dropped into a text console,
 probably because of this error.

yes, sorry about this.  there is a bug in the script.  fortunately you were
smart enough to fix things.

a proper screensize looks like XxYxD where X,Y is the screen size in
pixels, and D is the bit depth.  i use 1600x1200x16.

- erik



Re: [9fans] dual boot

2014-05-25 Thread Brian L. Stuart
 BTW, I recently got hold of your OS book. Very nice book, especially

 the inferno parts, which was my primary interest when I bought the
 book.

Thanks, Ram.  I'm glad you're enjoying it.  In the midst of
moving and preparing to return to the classroom this summer,
I plan to get the copyright back from the publisher.  There
are some parts that I definitely think I can explain better.
I'd also like to incorporate some material focused on the
issues releated to large numbers of cores.  But it'll probably
be at least the end of the summer before I have any more news
on it.

Thanks again,
BLS