Automaticke pripojeni nfs svazku

Zbynek Houska zbynh at seznam.cz
Thu Feb 19 17:47:18 CET 2004


Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.9-STABLE #0: Fri Feb  6 16:51:40 CET 2004
    root at skippy.camphill.cz:/usr/obj/usr/src/sys/QUOTAKERNEL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel Pentium III (794.66-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 201203712 (196488K bytes)
avail memory = 189370368 (184932K bytes)
Preloaded elf kernel "kernel" at 0xc061a000.
Preloaded elf module "snd_maestro3.ko" at 0xc061a09c.
Preloaded elf module "snd_pcm.ko" at 0xc061a140.
Preloaded elf module "nvidia.ko" at 0xc061a1e0.
link_elf: symbol linux_ioctl_register_handler undefined
Pentium Pro MTRR support enabled
Using $PIR table, 8 entries at 0xc00f1ee0
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xf4000000-0xf7ffffff at device 0.0 on pci0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib2
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C596B PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596 ATA66 controller> port 0xfff0-0xffff at device 2.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xfce0-0xfcff irq 10 at device 2.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x1106, dev=0x3050) at 2.3
rl0: <RealTek 8139 10/100BaseTX> port 0x7000-0x70ff mem 0xfcfffe00-0xfcfffeff irq 5 at device 14.0 on pci0
rl0: Ethernet address: 00:30:4f:14:72:1f
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: <RealTek 8139 10/100BaseTX> port 0x7400-0x74ff mem 0xfcffff00-0xfcffffff irq 9 at device 15.0 on pci0
rl1: Ethernet address: 00:50:fc:74:71:5e
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <ESS Technology Allegro-1> port 0x7800-0x78ff irq 5 at device 18.0 on pci0
pcm0: <ESS Technology ES1988 AC97 Codec>
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xca7ff on isa0
pmtimer0 on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging limited to 10 packets/entry by default
DUMMYNET initialized (011031)
ad0: 76319MB <ST380011A> [155061/16/63] at ata0-master UDMA66
acd0: DVD-ROM <Pioneer DVD-ROM ATAPIModel DVD-115 0127> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s1a
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: 
clean, 19047 free 
(279 frags, 2346 blocks, 0.4% fragmentation)
/dev/ad0s1d: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: 
clean, 14488338 free 
(1914 frags, 1810803 blocks, 0.0% fragmentation)
/dev/ad0s1h: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1h: 
clean, 9968221 free 
(1885 frags, 1245792 blocks, 0.0% fragmentation)
/dev/ad0s1f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: 
clean, 120892 free 
(36 frags, 15107 blocks, 0.0% fragmentation)
/dev/ad0s1g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1g: 
clean, 4873263 free 
(35335 frags, 604741 blocks, 0.5% fragmentation)
/dev/ad0s1e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: 
clean, 113526 free 
(230 frags, 14162 blocks, 0.2% fragmentation)
Doing initial network setup:
 hostname
.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
	ether 00:30:4f:14:72:1f
	media: Ethernet autoselect (none)
	status: no carrier
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
	ether 00:50:fc:74:71:5e
	media: Ethernet autoselect (none)
	status: no carrier
Starting ppp as "root"
tun0: Command: default: set device /dev/cuaa0
tun0: Command: default: set speed 115200
tun0: Command: default: set dial ABORT BUSY ABORT NO\\sCARRIER ABORT NO\\sDIALTONE             TIMEOUT 20             "" AT OK-AT-OK             AT+CEER OK-AT+CPIN=2790-OK-AT-OK             AT+CGDCONT=1,IP,\\T OK            \\dATDT*99***1# CONNECT
tun0: Command: default: set hangup "" AT+CEER OK
tun0: Command: default: set timeout 60
tun0: Command: default: disable lqr
tun0: Command: default: set server /var/run/internet ******** 0177
tun0: Phase: Listening at local socket /var/run/internet.
tun0: Command: ETNonstop: set phone internet.open.s
tun0: Command: ETNonstop: set authname USERNAME
tun0: Command: ETNonstop: set authkey ********
tun0: Command: ETNonstop: set ifaddr 0/0 192.168.254.254/0 255.255.255.0 160.218.185.21
tun0: Command: ETNonstop: disable iface-alias
tun0: Command: ETNonstop: enable proxy
tun0: Command: ETNonstop: add default HISADDR
tun0: Command: ETNonstop: set filter dial 0 permit 0 0
tun0: Command: ETNonstop: set filter alive 0 permit 0/0 0/0
tun0: Command: ETNonstop: set accmap 0x000a0000
tun0: Command: ETNonstop: disable deflate pred1 vjcomp
tun0: Command: ETNonstop: set timeout 0
Flushed all rules.
00100 allow ip from any to any via lo0
00200 deny ip from any to 127.0.0.0/8
00300 deny ip from 127.0.0.0/8 to any
00400 allow ip from any to 192.168.0.3
00500 allow ip from any to any via rl0
00600 allow ip from any to any via rl1
00700 deny ip from 192.168.100.0/24 to any in via tun0
00800 deny ip from 160.218.185.0/24 to any in via rl0
00900 deny ip from 160.218.185.0/24 to any in via rl1
01000 deny ip from any to 10.0.0.0/8 via tun0
01100 deny ip from any to 172.16.0.0/12 via tun0
01200 deny ip from any to 192.168.0.0/16 via tun0
01300 deny ip from any to 0.0.0.0/8 via tun0
01400 deny ip from any to 169.254.0.0/16 via tun0
01500 deny ip from any to 192.0.2.0/24 via tun0
01600 deny ip from any to 224.0.0.0/4 via tun0
01700 deny ip from any to 240.0.0.0/4 via tun0
01800 divert 8668 ip from any to any via tun0
01900 deny ip from 10.0.0.0/8 to any via tun0
02000 deny ip from 172.16.0.0/12 to any via tun0
02100 deny ip from 192.168.0.0/16 to any via tun0
02200 deny ip from 0.0.0.0/8 to any via tun0
02300 deny ip from 169.254.0.0/16 to any via tun0
02400 deny ip from 192.0.2.0/24 to any via tun0
02500 deny ip from 224.0.0.0/4 to any via tun0
02600 deny ip from 240.0.0.0/4 to any via tun0
02700 check-state
02800 allow icmp from any to any out icmptypes 8 keep-state
02900 allow tcp from any to any established
03000 allow ip from any to any frag
03100 allow log tcp from any to 160.218.185.21 dst-port 22 in keep-state
03200 allow tcp from any to 160.218.185.21 dst-port 25 setup
03300 allow tcp from any to 160.218.185.21 dst-port 53 setup
03400 allow udp from any to 160.218.185.21 dst-port 53
03500 allow udp from 160.218.185.21 53 to any
03600 allow tcp from any to 160.218.185.21 dst-port 80 setup
03700 allow tcp from any to 160.218.185.21 dst-port 443 setup
03800 deny log tcp from any to any in via tun0 setup
03900 allow tcp from any to any setup
04000 allow udp from 160.218.185.21 to any dst-port 53 keep-state
04100 allow udp from 160.218.185.21 to any dst-port 123 keep-state
Firewall rules loaded, starting divert daemons:
 natd
.
Additional routing options:
 IP gateway=YES
 TCP keepalive=YES
.
Routing daemons:
.
Additional daemons:
 syslogd
.
Doing additional network setup:
 named
.
Checking quotas:
ipfw: 3800 Deny TCP 81.185.168.82:4228 160.218.185.21:135 in via tun0
 done.
Enabling quotas:
 done.
Starting final network daemons:
 nfsiod
 NFS access cache time=2
.
ELF ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout /usr/X11R6/lib/aout
Starting standard daemons:
 inetd
 cron
 printer
 sshd
 usbd
usbd: opened /dev/usb0
usbd: reading configuration file /etc/usbd.conf
usbd: opened /dev/usb
usbd: device-attach event at 0.010883000, UHCI root hub, VIA:
  vndr=0x0000 prdct=0x0000 rlse=0x0100 clss=0x0009 subclss=0x0000 prtcl=0x0000
  device names: uhub0
usbd: Found action 'USB device' for UHCI root hub, VIA at uhub0
 sendmail
.
Initial rc.i386 initialization:
.
Configuring syscons:
 keymap
 font8x16
 font8x14
 font8x8
 blanktime
 screensaver
 moused
 mousechar_start
.
Additional ABI support:
 linux
postfix/postfix-script: starting the Postfix mail system
.
Local package initialization:
 pgsql
 apache
 dnetc
Internet Software Consortium DHCP Server V3.0.1rc12

Copyright 1995-2003 Internet Software Consortium.

All rights reserved.

For info, please visit http://www.isc.org/products/DHCP

Wrote 0 deleted host decls to leases file.

Wrote 0 new dynamic host decls to leases file.

Wrote 3 leases to leases file.

Listening on BPF/rl1/00:50:fc:74:71:5e/192.168.0.0/24

Sending on   BPF/rl1/00:50:fc:74:71:5e/192.168.0.0/24

Listening on BPF/rl0/00:30:4f:14:72:1f/192.168.100.0/24

Sending on   BPF/rl0/00:30:4f:14:72:1f/192.168.100.0/24

Sending on   Socket/fallback/fallback-net

 dhcpd
 Samba
.
Additional TCP options:
.

Feb 19 17:41:04 skippy nmbd[325]: [2004/02/19 17:41:04, 0] nmbd/asyncdns.c:start_async_dns(148) 
Feb 19 17:41:04 skippy nmbd[325]:   started asyncdns process 328 
Thu Feb 19 17:41:04 CET 2004
Feb 19 17:41:08 skippy nmbd[325]: [2004/02/19 17:41:08, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235) 
Feb 19 17:41:08 skippy nmbd[325]:   find_response_record: response packet id 26533 received with no matching record. 
Feb 19 17:41:08 skippy nmbd[325]: [2004/02/19 17:41:08, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235) 
Feb 19 17:41:08 skippy nmbd[325]:   find_response_record: response packet id 26534 received with no matching record. 
Feb 19 17:41:08 skippy nmbd[325]: [2004/02/19 17:41:08, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235) 
Feb 19 17:41:08 skippy nmbd[325]:   find_response_record: response packet id 26537 received with no matching record. 
Feb 19 17:41:08 skippy nmbd[325]: [2004/02/19 17:41:08, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235) 
Feb 19 17:41:08 skippy nmbd[325]:   find_response_record: response packet id 26538 received with no matching record. 
Feb 19 17:41:08 skippy nmbd[325]: [2004/02/19 17:41:08, 0] nmbd/nmbd_responserecordsdb.c:find_response_record(235) 
Feb 19 17:41:08 skippy nmbd[325]:   find_response_record: response packet id 26539 received with no matching record. 
Feb 19 17:41:11 skippy login: ROOT LOGIN (root) ON ttyv1
> > Opet rikam, vse funguje pri rucnim namountovani.
> 
>     ok, co vidite pri bootu na obrazovce mezi
>     "Mounting NFS file systems:" a teckou, ktera pak nasleduje, kdyz
>     pred tim v /etc/rc misto
> 
>     case "`mount -d -a -t nfs 2> /dev/null`" in
> 
>     nechate
> 
>     case "`mount -d -a -t nfs`" in
Zmeneno, bez vysledku. Po namountovani ufs disku z fstab jde hned
hostname. Ani zminka po nfs.
> 
Mounting root from ufs:/dev/ad0s1a
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: 
clean, 19047 free 
(279 frags, 2346 blocks, 0.4% fragmentation)
/dev/ad0s1d: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1d: 
clean, 14488338 free 
(1914 frags, 1810803 blocks, 0.0% fragmentation)
/dev/ad0s1h: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1h: 
clean, 9968221 free 
(1885 frags, 1245792 blocks, 0.0% fragmentation)
/dev/ad0s1f: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: 
clean, 120892 free 
(36 frags, 15107 blocks, 0.0% fragmentation)
/dev/ad0s1g: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1g: 
clean, 4873263 free 
(35335 frags, 604741 blocks, 0.5% fragmentation)
/dev/ad0s1e: 
FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: 
clean, 113526 free 
(230 frags, 14162 blocks, 0.2% fragmentation)
Doing initial network setup:
 hostname
.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000 
rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.100.1 netmask 0xffffff00 broadcast 192.168.100.255
	ether 00:30:4f:14:72:1f
	media: Ethernet autoselect (none)
	status: no carrier
rl1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 192.168.0.3 netmask 0xffffff00 broadcast 192.168.0.255
	ether 00:50:fc:74:71:5e
	media: Ethernet autoselect (none)
	status: no carrier
--snip--
Starting final network daemons:
 nfsiod
 NFS access cache time=2
.
Zbynek
-- 
When the Universe was not so out of whack as it is today, and all the
stars were lined up in their proper places, you could easily count them
from left to right, or top to bottom, and the larger and bluer ones
were set apart, and the smaller yellowing types pushed off to the
corners as bodies of a lower grade ...
		-- Stanislaw Lem, "Cyberiad"



More information about the Users-l mailing list