From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <0227c4f061874c88630d892e9dd4e652@9netics.com> Date: Mon, 30 Aug 2010 23:59:02 -0700 Message-ID: From: David Leimbach To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=00c09f905e6ab7d6b4048f191dc2 Subject: Re: [9fans] plan 9 on the guruplug Topicbox-Message-UUID: 4b0d4466-ead6-11e9-9d60-3106f5b1d025 --00c09f905e6ab7d6b4048f191dc2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I found something on a french Plan 9 translation site about dd'ing my nvram from my PC to a file in /sys/src/9/kw then building. This seems to have gotten me past the point where it crashes because it can't write to nvram, but it crashes all the same anyway :-) Marvell>> setenv bootcmd 'dhcp 0x800000; tftp 0x1000 /cfg/pxe/f0ad4eff148b; go 0x800000' Marvell>> boot BOOTP broadcast 1 DHCP client bound to address 192.168.1.77 Using egiga0 device TFTP from server 192.168.1.250; our IP address is 192.168.1.77 Filename '/arm/9plug'. Load address: 0x800000 Loading: ################################################################# ########################## done Bytes transferred =3D 1331184 (144ff0 hex) Using egiga0 device TFTP from server 192.168.1.250; our IP address is 192.168.1.77 Filename '/cfg/pxe/f0ad4eff148b'. Load address: 0x1000 Loading: # done Bytes transferred =3D 121 (79 hex) ## Starting application at 0x00800000 ... Plan 9 from Bell Labs l1 D: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-through only l1 I: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-back type `reg 7 ops, format C' (016) possible l2 cache: 256K or 512K: 4 ways, 32-byte lines, write-back, sdram only cpu0: 1200MHz ARM Marvell 88F6281 A1; arm926ej-s arch v5te rev 2.1 part 131 #F0: kwnand: Samsung 2Gb 536,870,912 bytes pagesize 2048 erasesize 131,072 spares per page 64 #F0: nand addr 0xd8000000 len 536870912 width 1 interleave 0 #l0: 88e1116: 100Mbps port 0xf1072000 irq 11: f0ad4eff148b #l1: 88e1116: 100Mbps port 0xf1076000 irq 15: f0ad4eff148c #u/usb/ep1.0: ehci: port 0XF1050100 irq 19 504M memory: 52M kernel data, 452M user, 1959M swap usb/hub... filesystem IP address[no default]: 192.168.1.250 authentication server IP address[no default]: 192.168.1.250 bootpanic: boot process died: unknown ktrace /kernel/path 0x60806f14 0x6099ff50 0x6099ff8d # pc, sp, linkion refused panic: boot process died: unknown cpu0: exiting reset! On Mon, Aug 30, 2010 at 11:43 PM, David Leimbach wrote: > The part that confuses me right now is the following set of comments in t= he > plug configuration file with respect to flash and nvram. > > Do I need nvram or not? nvram appears to be where my boot process dies. > > > bootdir > boot$CONF.out boot > /arm/bin/ip/ipconfig > /arm/bin/auth/factotum > # /arm/bin/paqfs > /arm/bin/usb/usbd > # nvram not needed any longer, it's in flash > nvram > > link > ether1116 ethermii > archkw > ethermedium > # no flash yet for guruplug > flashkw ecc > loopbackmedium > netdevmedium > usbehci > > # sheeva plug, openrd-client, guruplug and others > # based on marvell's kirkwood soc > dev > root > cons > env > pipe > proc > mnt > srv > dup > rtc > arch > ssl > tls > cap > kprof > aoe > sd > flash > # pnp pci > > ether netif > ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsu= m > inferno > > ## draw screen vga vgax > ## mouse mouse > ## vga > # kbmap > ## kbin > > uart > usb > > > On Mon, Aug 30, 2010 at 8:52 PM, David Leimbach wrote= : > >> plug included nvram, so I'm not sure what's going on. Still trying to >> figure out if I should just be able to mount this thing from another mac= hine >> to test. >> >> >> On Mon, Aug 30, 2010 at 8:48 PM, David Leimbach wrote= : >> >>> I just built the CONF=3Dplug >>> >>> Let me see what that includes. Maybe my sources are just really old. >>> >>> Dave >>> >>> >>> On Mon, Aug 30, 2010 at 8:46 PM, Skip Tavakkolian <9nut@9netics.com>wro= te: >>> >>>> do you compile in an nvram (that includes the correct rights?) >>>> >>>> > On Mon, Aug 30, 2010 at 7:01 PM, erik quanstrom < >>>> quanstro@quanstro.net>wrote: >>>> > >>>> >> > Just got one of these today, and I suspect my problem has nothing >>>> to do >>>> >> with >>>> >> > the guruplug and everything to do with the fact that I've never s= et >>>> up >>>> >> any >>>> >> > PXE bootable systems before to mount a Plan 9 CPUAUTHFS service. >>>> >> > >>>> >> > I'm getting >>>> >> > "ktrace /kernel/path 0x60806f34 0x6095cf30 0x6095cf6d # pc, sp, >>>> linkion >>>> >> > refused" >>>> >> > >>>> >> > I'm thinking that I don't have / either exported in a way I know >>>> how to >>>> >> use >>>> >> > it remotely or that I have another fundamental configuration issu= e. >>>> >> > >>>> >> > I'm wondering if there's a way to use either Inferno or the same >>>> plan 9 >>>> >> > installation to test whatever needs testing to validate that I'll >>>> be able >>>> >> to >>>> >> > remotely boot my guruplug. >>>> >> >>>> >> once you've validated that you have a reasonable >>>> >> ipnet in /lib/ndb/local covering your network (that's >>>> >> been my problem many times; verify with ndb/ipquery >>>> >> especially that you have a fs=3D entry), and you've tried >>>> >> adding -Dd to bootargs (adding verbosity to >>>> >> ip/ipconfig), i usually starting hacking in debug >>>> >> messages to /sys/src/9/boot, to taste, until >>>> >> i can reduce things down to a nice consumm=E9. >>>> >> >>>> >> if you're loading the kernel, you've gotten pretty far, >>>> >> so it sounds like dhcp/tftpd themselves are properly >>>> >> configured. >>>> >> >>>> > >>>> > Yes, the kernel loads, and prompts me for an IP for a filesystem. I >>>> enter >>>> > one, and it goes through authid, authdom, secstore and password >>>> prompts, >>>> > then it dumps me off into kdumpland >>>> > >>>> > "ktrace /kernel/path 0x60806f34 0x6095cf30 0x6095cf6d # pc, sp, >>>> > linkion refused" >>>> > >>>> > It was pretty easy to get it this far. I'm just wondering if I have >>>> my >>>> > filesystem server set up the way I originally thought, and if there = is >>>> a way >>>> > to do some basic test of that. >>>> > >>>> > Example, can I attach an Inferno OS to my Plan 9 to validate if othe= r >>>> Plan 9 >>>> > instances *should* work. >>>> > >>>> > Dave >>>> > >>>> > >>>> >> >>>> >> bon appitit. >>>> >> >>>> >> - julia child >>>> >> >>>> >> >>>> >>>> >>>> >>> >> > --00c09f905e6ab7d6b4048f191dc2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I found something on a french Plan 9 translation site about dd'ing my n= vram from my PC to a file in /sys/src/9/kw then building.

This seems to have gotten me past the point where it crashes because it c= an't write to nvram, but it crashes all the same anyway :-)

Marvell>> setenv bootcmd 'dhcp 0x800000;= tftp 0x1000 /cfg/pxe/f0ad4eff148b; go 0x800000'
Marvell>&= gt; boot
BOOTP broadcast 1
DHCP client bound to address= 192.168.1.77
Using egiga0 device
TFTP from server 192.168.1.250; our IP a= ddress is 192.168.1.77
Filename '/arm/9plug'.
L= oad address: 0x800000
Loading: ##################################= ###############################
=A0=A0 =A0 =A0 =A0 ##########################
done
Bytes transferred =3D 1331184 (144ff0 hex)
Using egiga0 device
TFTP from server 192.168.1.250; our IP address is 192.168.1.77
Filename '/cfg/pxe/f0ad4eff148b'.
Load address: 0x1000
Loading: #
done
Byt= es transferred =3D 121 (79 hex)
## Starting application at 0x0080= 0000 ...

Plan 9 from Bell Labs

l1 D: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-through only
l1 I: 16384 bytes, 4 ways 128 sets 32 bytes/line; write-back type = `reg 7 ops, format C' (016) possible
l2 cache: 256K or 512K: = 4 ways, 32-byte lines, write-back, sdram only
cpu0: 1200MHz ARM Marvell 88F6281 A1; arm926ej-s arch v5te rev 2.1 par= t 131
#F0: kwnand: Samsung 2Gb 536,870,912 bytes pagesize 2048 er= asesize 131,072 spares per page 64
#F0: nand addr 0xd8000000 len = 536870912 width 1 interleave 0
#l0: 88e1116: 100Mbps port 0xf1072000 irq 11: f0ad4eff148b
#= l1: 88e1116: 100Mbps port 0xf1076000 irq 15: f0ad4eff148c
#u/usb/= ep1.0: ehci: port 0XF1050100 irq 19
504M memory: 52M kernel data,= 452M user, 1959M swap
usb/hub... filesystem IP address[no default]: 192.168.1.250
= authentication server IP address[no default]: 192.168.1.250
bootp= anic: boot process died: unknown
ktrace /kernel/path 0x60806f14 0= x6099ff50 0x6099ff8d # pc, sp, linkion refused

panic: boot process died: unknown
cpu0: exiti= ng
reset!




<= div class=3D"gmail_quote">On Mon, Aug 30, 2010 at 11:43 PM, David Leimbach = <leimy2k@gmail.co= m> wrote:
The part that confuses me right now is the = following set of comments in the plug configuration file with respect to fl= ash and nvram. =A0

Do I need nvram or not? =A0nvram appears to be where my boot= process dies.


bootdir
boot$CONF.out boot
/arm/bin/ip/ipconfig
/arm/bin/auth/factotum
# /arm/bin/paqfs
<= div> /arm/bin/usb/usbd
# nvram not needed any longer, it's in flash
nvram

link
ether111= 6 ethermii
archkw
ethermedium
# no flash yet f= or guruplug
flashkw<= span style=3D"white-space:pre-wrap"> ecc
loopbackmedium
= netdevmedium
usbehci

# sheeva plug, openrd-client, guruplug and o= thers
# based on marv= ell's kirkwood soc
dev
root
cons
env
pipe
proc
mnt
srv
dup
rtc
arch
ssl
tls
cap
kprof
aoe
sd
flash
# pnp pci

ether netif
ip arp c= handial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum inferno<= /div>

## draw screen vga vgax
## mouse mouse
## vga
# kbmap
## kbin

uart
=
usb
=


On Mon, Aug= 30, 2010 at 8:52 PM, David Leimbach <leimy2k@gmail.com> wro= te:
plug included nvram, so I'm not sure wha= t's going on. =A0Still trying to figure out if I should just be able to= mount this thing from another machine to test.


On Mon, Aug 30, 2010 at = 8:48 PM, David Leimbach <leimy2k@gmail.com> wrote:
I just built the CONF=3Dplug

<= div>Let me see what that includes. =A0Maybe my sources are just really old.=

Dave


On Mon, Aug 30, 2010 at 8:46 PM, Skip Tavakkolian &l= t;9nut@9netics.com> wrote:
do you compile in an nvram (that includes th= e correct rights?)

> On Mon, Aug 30, 2010 at 7:01 PM, erik quanstrom <
quanstro@quanstro.net>wrote= :
>
>> > Just got one of these today, and I suspect my problem has not= hing to do
>> with
>> > the guruplug and everything to do with the fact that I've= never set up
>> any
>> > PXE bootable systems before to mount a Plan 9 CPUAUTHFS servi= ce.
>> >
>> > I'm getting
>> > "ktrace /kernel/path 0x60806f34 0x6095cf30 0x6095cf6d # = pc, sp, linkion
>> > refused"
>> >
>> > I'm thinking that I don't have / either exported in a= way I know how to
>> use
>> > it remotely or that I have another fundamental configuration = issue.
>> >
>> > I'm wondering if there's a way to use either Inferno = or the same plan 9
>> > installation to test whatever needs testing to validate that = I'll be able
>> to
>> > remotely boot my guruplug.
>>
>> once you've validated that you have a reasonable
>> ipnet in /lib/ndb/local covering your network (that's
>> been my problem many times; verify with ndb/ipquery
>> especially that you have a fs=3D entry), and you've tried
>> adding -Dd to bootargs (adding verbosity to
>> ip/ipconfig), i usually starting hacking in debug
>> messages to /sys/src/9/boot, to taste, until
>> i can reduce things down to a nice consumm=E9.
>>
>> if you're loading the kernel, you've gotten pretty far, >> so it sounds like dhcp/tftpd themselves are properly
>> configured.
>>
>
> Yes, the kernel loads, and prompts me for an IP for a filesystem. =A0I= enter
> one, and it goes through authid, authdom, secstore and password prompt= s,
> then it dumps me off into kdumpland
>
> "ktrace /kernel/path 0x60806f34 0x6095cf30 0x6095cf6d # pc, sp, > linkion refused"
>
> It was pretty easy to get it this far. =A0I'm just wondering if I = have my
> filesystem server set up the way I originally thought, and if there is= a way
> to do some basic test of that.
>
> Example, can I attach an Inferno OS to my Plan 9 to validate if other = Plan 9
> instances *should* work.
>
> Dave
>
>
>>
>> bon appitit.
>>
>> - julia child
>>
>>






--00c09f905e6ab7d6b4048f191dc2--