9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] bootdir
@ 2003-02-19  6:36 George Gensure
  2003-02-19  7:06 ` Fco.J.Ballesteros
  2003-02-19 14:16 ` Russ Cox
  0 siblings, 2 replies; 4+ messages in thread
From: George Gensure @ 2003-02-19  6:36 UTC (permalink / raw)
  To: 9fans

I've been trying to rebuild a kernel to do cpu/auth (not that this is
specific to that), and cannot get a kernel to compile with a bootdir
section in the config.  I read the wiki regarding bootdir, but it all
seemed to go on the premise that the scripts to set up the build worked
correctly.

 From this bootdir entry

bootdir
	factotum.hack factotum

mkboot generates this in bootpcauth.c

Method method[] = {
	{ "factotum.hack", configfactotum.hack, configfactotum.hack
factotum },
}

anyone know how to get bootdir to work right?

-George
werkt@csh.rit.edu



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] bootdir
  2003-02-19  6:36 [9fans] bootdir George Gensure
@ 2003-02-19  7:06 ` Fco.J.Ballesteros
  2003-02-19 14:16 ` Russ Cox
  1 sibling, 0 replies; 4+ messages in thread
From: Fco.J.Ballesteros @ 2003-02-19  7:06 UTC (permalink / raw)
  To: 9fans

This is mine for a machine using kfs.
Beware that the entry bootpcdisk.out is for a 'pcdisk' $CONF.

bootdir
	bootpcdisk.out boot
	/386/bin/ip/ipconfig
	factotum.hack factotum
	/386/bin/disk/kfs
	/386/bin/redirfs
	/386/bin/badsrv
	/386/bin/cfs

If you are going to use scripts (as I do for my auth server),
you will need a few common tools. For example, for a cpu server
using fossil:

bootdir
	/386/bin/rc
	/386/bin/cat
	/rc/lib/rcmain
	/386/bin/bind
	/386/bin/cp
	/386/bin/echo
	/386/bin/mount
	/386/bin/sleep
	/386/bin/fossil/fossil
	/386/bin/venti/venti
	/386/bin/disk/fdisk
	/386/bin/disk/prep
	/sys/lib/sysconfig/aquamar/boot
	/sys/lib/sysconfig/aquamar/flproto
	/sys/lib/sysconfig/aquamar/venti.conf
	bootpcaquamarfl.out boot
	/386/bin/ip/ipconfig ipconfig
	/386/bin/auth/factotum



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] bootdir
  2003-02-19  6:36 [9fans] bootdir George Gensure
  2003-02-19  7:06 ` Fco.J.Ballesteros
@ 2003-02-19 14:16 ` Russ Cox
  2003-02-19 17:28   ` George Gensure
  1 sibling, 1 reply; 4+ messages in thread
From: Russ Cox @ 2003-02-19 14:16 UTC (permalink / raw)
  To: 9fans

There's a difference between bootdir and boot.
What you posted sounds like either you have

	boot
		factotum.hack factotum

in your config file, or your system is a couple
months old.  You can run /usr/glenda/bin/rc/pull
to update, assuming you are on the internet.

This is the current pcauth file, which compiles fine.

dev
	root
	cons
	arch
	pnp		pci
	env
	pipe
	proc
	mnt
	srv
	dup
	rtc
	ssl
	tls
	cap
	kprof

	ether		netif
	ip		arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium ptclbsum386 inferno

	draw		screen vga vgax
	mouse		mouse
	vga

	sd
	floppy		dma

	uart

link
	apm		apmjump
	ether82557	pci
	ethermedium
	netdevmedium
	loopbackmedium

misc
	sdata		pci sdscsi

	uarti8250
	uartpci

	vgamach64xx	+cur

ip
	il
	tcp
	udp
	ipifc
	icmp
	icmp6

port
	int cpuserver = 1;

boot cpu boot #S/sdC0/
	il
	local

bootdir
	bootpcauth.out boot
	/386/bin/ip/ipconfig
	factotum.hack factotum
	/386/bin/disk/kfs



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] bootdir
  2003-02-19 14:16 ` Russ Cox
@ 2003-02-19 17:28   ` George Gensure
  0 siblings, 0 replies; 4+ messages in thread
From: George Gensure @ 2003-02-19 17:28 UTC (permalink / raw)
  To: 9fans

I had actually run replica/pull -v /dist/replica/network, but that
didn't give me any bit of a leg up in the bootdir config section.
 (though it did introduce some discrepancies between addclock0link), but
I'll give pull a try later today.
Thanks all!

-George

>or your system is a couple
>months old.  You can run /usr/glenda/bin/rc/pull
>to update, assuming you are on the internet.
>
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-02-19 17:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-19  6:36 [9fans] bootdir George Gensure
2003-02-19  7:06 ` Fco.J.Ballesteros
2003-02-19 14:16 ` Russ Cox
2003-02-19 17:28   ` George Gensure

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).