Greets

On a Soekris 4801, 128mb, with a 512MB CF disk, generic 3.8 firewall
I'm trying to setup /var on an mfs, which seems to work except during
boot, after "starting network daemons" , it gives this:

can't open and lock /var/db/dhclient.leases.sis0: No such file or directory
Exiting

( I foolishly didn't copy the console output and don't have it with me.)
sis0 is the public interface and doesn't get an ip. Doing either

dhclient sis0
OR
sh /etc/netstart sis0
 after booting gets the ip.

What gets me is this all depends on /etc/fstab and I've no clue as to why.

This seems to mount everything ok, but get the above error:

$ cat fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0e /usr ffs rw,nodev 1 2
/dev/wd0d /proto/var ffs rw,nodev,nosuid 1 2
swap /tmp mfs rw,nodev,nosuid,-s=32768 0 0
swap /var mfs rw,noauto,-P=/proto/var,-s=32768,noexec,nosuid,nodev 0 0

Note wd0d is mount'd on /proto/var to get the mfs populated.

Don't have the output to mount handy for the above, but nothing looks
odd. Will get it if need be.

This works:

$ cat fstab
/dev/wd0a / ffs rw 1 1
/dev/wd0e /usr ffs rw,nodev 1 2
/dev/wd0d /var ffs rw,nodev,nosuid 1 2
swap /tmp mfs rw,nodev,nosuid,-s=32768 0 0
# swap /var mfs rw,noauto,-P=/proto/var,-s=32768,noexec,nosuid,nodev 0 0

$ mount
/dev/wd0a on / type ffs (local)
/dev/wd0e on /usr type ffs (local, nodev)
/dev/wd0d on /var type ffs (local, nodev, nosuid)
mfs:1633 on /tmp type mfs (asynchronous, local, nodev, nosuid,
size=32768 512-blocks)

The only thing close to this I found was:

http://archives.neohapsis.com/archives/openbsd/2004-08/0882.html

Which has more errors/warnings about /var than I'm getting--this only
gets the one noted, and nothing explicitly about /var.

But it seems like /var isn't available at the time dhclient is run?

Partial dmesg below. If a complete one is needed let me know.

Pointers, suggestions, docs, cluesticks, anything!

Thanks,

Riley

--
"Education: The ability to listen to almost anything without losing
your temper or self confidence." - -- Robert Frost

$ dmesg |grep wd0
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
wd0 at pciide0 channel 0 drive 0: <SanDisk SDCFB-512>
wd0: 4-sector PIO, LBA, 488MB, 1000944 sectors
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a

****

$ dmesg |grep sis.
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
sis0 at pci0 dev 6 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5c
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 7 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5d
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 8 function 0 "NS DP83815 10/100" rev 0x00: DP83816A,
irq 10, address 00:00:24:c5:07:5e
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1

Reply via email to