Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[9fans] bootdir

1 view
Skip to first unread message

George Gensure

unread,
Feb 19, 2003, 1:37:30 AM2/19/03
to
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
we...@csh.rit.edu

Fco.J.Ballesteros

unread,
Feb 19, 2003, 2:07:41 AM2/19/03
to
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

Russ Cox

unread,
Feb 19, 2003, 9:18:35 AM2/19/03
to
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

George Gensure

unread,
Feb 19, 2003, 12:38:39 PM2/19/03
to
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

0 new messages