Re: [9fans] ssh to osx

2013-05-29 Thread Steve Simon
> maia% ssh2 mmac
> connect is 0
> Fingerprint: 80 0A FC 62 42 E1 22 5B 81 EE 2D 21 B2 BC EE 75 
> Authentication methods: publickey,password,keyboard-interactive
>   Authentication by password succeeded.
> Last login: Wed May 29 08:43:52 2013 from maia
> 
> -bash$ 

I do this a lot.

I find p9p a bit heavyweight for my taste - I prefer to use unix commands
on unix. Having said this I find bash ugly. The current rc on the labs 
distribution
should compile on osx (though I haven't tried that one for a while, I use
Linux more).

the only other bits I find I need are p.c mc.c and ls.c which I have back-ported
to posix - you are welcome to these if you want them.

-Steve



[9fans] PBSR...EI

2013-05-29 Thread trebol
Hello everyone,

I would like to install the official Plan9 distro but the boot process
stop at PBSR...EI.  This is a amd k8 machine, but before I tried in a old
pentium III with similar error.

Is this a pbs error, or is 9load who fails?

Also, I tried erik quanstrom's 9atom and boot but:

- If I select install, rio starts but there are a lots of
cpu0:spurious interrupt 39, last 14
- If I select boot from cd, the system crashes



Re: [9fans] ssh to osx

2013-05-29 Thread erik quanstrom
> I find p9p a bit heavyweight for my taste - I prefer to use unix commands
> on unix. Having said this I find bash ugly. The current rc on the labs 
> distribution
> should compile on osx (though I haven't tried that one for a while, I use
> Linux more).

how do you keep all those different regular expressions straight?  :-)

- erik



Re: [9fans] PBSR...EI

2013-05-29 Thread erik quanstrom
> - If I select install, rio starts but there are a lots of
>   cpu0:spurious interrupt 39, last 14

you can work around this (i admit it's a hack) by
starting a new rio window, running "cat /dev/kmesg",
then hiding the window.  be sure to turn scroll on
before hiding.

i had a machine with this issue.  it appeared when we
switched from 9load to iplpxe.  one assumes this is
because something isn't fully reset, but i'm not sure
what just yet.

- erik



[9fans] USB boot fails

2013-05-29 Thread Florian Limberger

Hello list,

I'm currently trying to boot a Lenovo ThinkPad T410 from a usb pen drive,
using the image from 9legacy.org, but the boot sequence stops at
sdE0: LLBA 625,142,448 sectors: WDC WD3200BEVT-08A23T1 02.01A02  
WD-WXDD-WXD1A1154275 [mediachange]

with every option I try.

When booting 9pcf I come sometimes as far as

init: starting /bin/rc

but after then the first message appears and everything seems stuck.
With 9pccpuf I get

usb/hub... usb/disk... bad authentication password
bad authentication id
bad authentication domain
[... I input some values ...]
mpintrenable: multible botch irq 11, tbdf 500, lo 0049, n  
0049

mpintrenable: out of choices eisa -1 isa 14 tbdf 0xc00fa00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00FA00 for sdE (iahci)

awaitspinup: sdE0 didn't spin up after 20 seconds
sdE1: LBA 0 sectors: Optiarc DVD RW AD-7930H 1.D1 [mediachange]
time...
fossil(/def/sdXX/fossil)...version...sdE0: LLBA 625,142,448 sectors: WDC  
WD3200BEVT-08A23T1 02.01A02 WD-WXDD-WXD1A1154275 [mediachange]

and then the same thing happens.

Using another USB port on the laptop, I experienced a similar error like in
this thread:

http://9fans.net/archive/2012/07/123

but unlike arisawa I don't get a rc shell at the end.
On this other port, the 9pcf kernel fails with

boot: can't connect to file server: '/boot/kfs' does not exist
panic: boot process died: unknown
[...]


I did then try to add

readparts=

to the plan9.ini, but the result only is
can't update /dev/sdXX/data's devsd partition table for plan9: partition  
already in use: "part plan9 32 2097152"
can't update /dev/sdXX/data's devsd partition table for 9fat: partition  
already in use: "part 9fat 32 204832"
can't update /dev/sdXX/data's devsd partition table for nvram: partition  
already in use: "part nvram 204832 204833"
can't update /dev/sdXX/data's devsd partition table for fscfg: partition  
already in use: "part fscfg 204833 204849"
can't update /dev/sdXX/data's devsd partition table for fossil:  
partition already in use: "part fossil 204849 2097120"
sdE0: LLBA 625,142,448 sectors: WDC WD3200BEVT-08A23T1 02.01A02  
WD-WXDD-WXD1A1154275 [mediachange]


The paecpu kernel suggested by erik fails nearly instantly with

panic: e820 scan failed


I also get following messages spilled all through the kernel output:
mpintrenable: multible botch irq 11, tbdf 500, lo 0049, n  
0049

mpintrenable: out of choices eisa -1 isa 14 tbdf 0xc00c000 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00D000 for usbehci
mpintrenable: multible botch irq 11, tbdf 500, lo 0049, n  
0049

mpintrenable: out of choices eisa -1 isa 14 tbdf 0xc00e800 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00E800 for usbehci
mpintrenable: multible botch irq 11, tbdf 500, lo 0049, n  
0049

mpintrenable: out of choices eisa -1 isa 14 tbdf 0xc00fa00 irq 11
intrenable: couldn't enable irq 11, tbdf 0xC00FA00 for sdE (iahci)


Is there anything more I can try?

Thanks,

flo



Re: [9fans] USB boot fails

2013-05-29 Thread erik quanstrom
On Wed May 29 11:17:09 EDT 2013, f...@snakeoilproductions.net wrote:
> Hello list,
> 
> I'm currently trying to boot a Lenovo ThinkPad T410 from a usb pen drive,
> using the image from 9legacy.org, but the boot sequence stops at
> > sdE0: LLBA 625,142,448 sectors: WDC WD3200BEVT-08A23T1 02.01A02  
> > WD-WXDD-WXD1A1154275 [mediachange]

i would give the 9atom kernel a chance at this.  this looks like
an issue with PUIS, and hopefully that's solved.

if you still get "out of choices", you might try *acpi=1 in your plan9.ini.

the original problem is my fault, since the ahci driver was written
before the low-power stuff was put into the ahci standard.

- erik



Re: [9fans] USB boot fails

2013-05-29 Thread Florian Limberger
On Wed, 29 May 2013 17:30:12 +0200, erik quanstrom   
wrote:



i would give the 9atom kernel a chance at this.  this looks like
an issue with PUIS, and hopefully that's solved.


How would I do this? I have played with Plan 9 in qemu, but do not have a
real Plan 9 system otherwise to prepare the pen drive (which is the reason
why I use the 9legacy image in the first place).

if you still get "out of choices", you might try *acpi=1 in your  
plan9.ini.


the original problem is my fault, since the ahci driver was written
before the low-power stuff was put into the ahci standard.

- erik


Thanks for the fast answer,

flo



Re: [9fans] ssh to osx

2013-05-29 Thread Charles Forsyth
On 29 May 2013 09:29, Steve Simon  wrote:

> I prefer to use unix commands
> on unix
>

I'd prefer to use unix commands when on unix, but since the Plan 9 ones
are closer to unix's than any of the gnu ones, I stick with p9p.


Re: [9fans] USB boot fails

2013-05-29 Thread erik quanstrom
> How would I do this? I have played with Plan 9 in qemu, but do not have a
> real Plan 9 system otherwise to prepare the pen drive (which is the reason
> why I use the 9legacy image in the first place).

you could copy a 9atom kernel onto the pen drive.
http://ftp.9atom.org/other/9pcf
you would then need to modify the plan9.ini to point to 9pcf
instead of the current kernel.  if they are the same name, then
there is no need to change anything else.

- erik



Re: [9fans] USB boot fails

2013-05-29 Thread Florian Limberger
On Wed, 29 May 2013 17:48:39 +0200, erik quanstrom   
wrote:



you could copy a 9atom kernel onto the pen drive.
http://ftp.9atom.org/other/9pcf
you would then need to modify the plan9.ini to point to 9pcf
instead of the current kernel.  if they are the same name, then
there is no need to change anything else.


With this kernel I get

boot: can't connect to file server: '/boot/kfs' does not exist
panic: boot process died: unknown

(on all usb ports) but the boot process seems much faster.

The *acpi=1 flag does change nothing, neither with the 9legacy nor with the
9atom kernel, but I got the 9legacy 9pcf kernel working with *nomp=1.
That is at least a start.

flo



[9fans] PBSR...EI

2013-05-29 Thread trebol
> you can work around this (i admit it's a hack) by
> starting a new rio window, running "cat /dev/kmesg",
> then hiding the window.  be sure to turn scroll on
> before hiding.

Thanks for the help erik, but that didn't work. cat finishes
and the console output keeps filling the screen making impossible the
installation. 

Can I boot the official Plan9 with your bootloader?

Regards,
trebol.



Re: [9fans] PBSR...EI

2013-05-29 Thread erik quanstrom
> > you can work around this (i admit it's a hack) by
> > starting a new rio window, running "cat /dev/kmesg",
> > then hiding the window.  be sure to turn scroll on
> > before hiding.
> 
> Thanks for the help erik, but that didn't work. cat finishes
> and the console output keeps filling the screen making impossible the
> installation. 

i have tested this.  but my instructions might have been faulty.
i normally run this command on any terminal
i log into (including the redundant set of scrolling :-( ):

window -m -hide -scroll rc -c 'echo scroll>/dev/wctl; label kmesg; tail 
-f /dev/kprint&'

if you have to type in the face of interrupts, you might need to cut that down 
to just
the "tail -f /dev/kprint"

> Can I boot the official Plan9 with your bootloader?

yes.

- erik



Re: [9fans] ssh to osx

2013-05-29 Thread Steve Simon
> how do you keep all those different regular expressions straight?  :-)

This is indeed the biggest pain.

that and searching through the manual of GNU stuff looking for the option you 
want,
even the usage seems to run to several pages these days.

-Steve



Re: [9fans] ssh to osx

2013-05-29 Thread arisawa
Hello,

I made mistake

On 2013/05/29, at 9:47, arisawa  wrote:

> 
> now I can enter mac using ssh2
> maia% ssh2 mmac
> connect is 0
> Fingerprint: 80 0A FC 62 42 E1 22 5B 81 EE 2D 21 B2 BC EE 75 
> Authentication methods: publickey,password,keyboard-interactive
>   Authentication by password succeeded.
> Last login: Wed May 29 08:43:52 2013 from maia
> 
> -bash$ 
> 

I should use official ssh:
maia% ssh -r mmac
Last login: Wed May 29 10:23:44 2013 from maia
-bash$ 

NOTE: ssh2 is in //sources.cs.bell-labs.com/contrib/john

maia% ls -l ssh*
--rwxrwxr-x M 360 arisawa sys  110296 May  4 07:22 ssh
--rwxrwxr-x M 360 arisawa sys  217137 May  4 07:22 ssh1
--rwxrwxr-x M 360 sys sys 6384255 Oct 23  2010 ssh2
--rwxrwxr-x M 360 arisawa sys  299827 May  4 07:22 sshnet
maia% 





Re: [9fans] ssh to osx

2013-05-29 Thread erik quanstrom
On Wed May 29 20:04:09 EDT 2013, aris...@ar.aichi-u.ac.jp wrote:
> I should use official ssh:
> maia% ssh -r mmac
> Last login: Wed May 29 10:23:44 2013 from maia
> -bash$ 
> 
> NOTE: ssh2 is in //sources.cs.bell-labs.com/contrib/john
> 
> maia% ls -l ssh*
> --rwxrwxr-x M 360 arisawa sys  110296 May  4 07:22 ssh
> --rwxrwxr-x M 360 arisawa sys  217137 May  4 07:22 ssh1
> --rwxrwxr-x M 360 sys sys 6384255 Oct 23  2010 ssh2
> --rwxrwxr-x M 360 arisawa sys  299827 May  4 07:22 sshnet
> maia% 

ssh2 is also in /n/sources/plan9/sys/src/cmd/ssh2, and it's
not a port of openssh.

- erik