Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2001 22:55:17 +0900
From:      Masachika ISHIZUKA <ishizuka@ish.org>
To:        brian@freebsd-services.com
Cc:        freebsd-bugs@FreeBSD.ORG
Subject:   Re: conf/30730: portmap is not started if setting nfs_server_enable="YES" only 
Message-ID:  <20010924225517A.ishizuka@onion.ish.org>
In-Reply-To: <200109222003.f8MK3SR33998@hak.lan.Awfulhak.org>
References:  <ishizuka@ish.org> <200109222003.f8MK3SR33998@hak.lan.Awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>Number:         30730
>>>Category:       conf
>>>Synopsis:       portmap is not started if setting nfs_server_enable="YES" only
> 
> This is strange.  Setting nfs_server_enable=YES in /etc/rc.conf on my 
> freshly installed scratch box starts portmap ok.
> 
> Can the originator provide more detail.  Is portmap being started and 
> dying for some reason ?  Was this an upgrade or was mergemaster used ?

  Dear, Brian-san.
  Thank you for mail.
  It is upgrade from 4.3R by 4.4R install floppies (kern.flp and
mfsroot.flp).  If it does not set portmap_enable="YES" in /etc/rc.conf,
then the following message will be displayed.

-------------------------------------------------------------------
Copyright (c) 1992-2001 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.4-RELEASE #1: Sat Sep 22 13:10:59 JST 2001
ishizuka@pumpkin.ish.org:/usr/src/sys/compile/pumpkin
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 400910148 Hz
CPU: AMD-K6(tm) 3D+ Processor (400.91-MHz 586-class CPU)
Origin = "AuthenticAMD"  Id = 0x591  Stepping = 1
Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 402636800 (393200K bytes)
avail memory = 387436544 (378356K bytes)
Preloaded elf kernel "kernel" at 0xc0376000.
K6-family MTRR support enabled (2 registers)
md0: Malloc disk
Using $PIR table, 5 entries at 0xc00f0d00
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva TNT graphics accelerator> at 0.0 irq 11
chip1: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0
isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
de0: <Digital 21140A Fast Ethernet> port 0xd800-0xd87f mem
  0xe3000000-0xe300007f irq 15 at device 9.0 on pci0
de0: 21140A [10-100Mb/s] pass 2.2
de0: address 00:20:18:58:d9:fd
sym0: <875> port 0xd400-0xd4ff mem 0xe2000000-0xe2000fff,0xe2800000-0xe28000ff
  irq 10 at device 10.0 on pci0
sym0: Tekram NVRAM, ID 7, Fast-20, SE, parity checking
atapci0: <AcerLabs Aladdin ATA33 controller> port 0xd000-0xd00f irq 0 at
  device 15.0 on pci0
ata0: at 0x1f0 irq 14 on atapci0
orm0: <Option ROM> at iomem 0xc0000-0xc7fff 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 Generic PS/2 mouse, 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
sbc0: <SoundBlaster 16> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm0: <SB16 DSP 4.13> on sbc0
IP packet filtering initialized, divert enabled, rule-based forwarding
  enabled, default to deny, unlimited logging
IPv6 packet filtering initialized, unlimited logging
ad0: 6869MB <Maxtor 90720D5> [13957/16/63] at ata0-master UDMA33
Waiting 3 seconds for SCSI devices to settle
de0: enabling Full Duplex 100baseTX port
Mounting root from ufs:/dev/ad0s1a
cd0 at sym0 bus 0 target 4 lun 0
cd0: <TOSHIBA CD-ROM XM-5301TA 0925> Removable CD-ROM SCSI-2 device 
cd0: 4.237MB/s transfers (4.237MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at sym0 bus 0 target 5 lun 0
da0: <FUJITSU M2513A 1100> Removable Optical SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 10)
da0: Attempt to query device size failed: NOT READY, Medium not present
named[225]: starting BIND 9.2.0rc3 -c /var/ns/named.conf
named[225]: none:0: open: /usr/local/etc/rndc.key: file not found
named[225]: couldn't add command channel 0.0.0.0#953: file not found
named[225]: none:0: open: /usr/local/etc/rndc.key: file not found
named[225]: couldn't add command channel ::#953: file not found
ntpd[228]: ntpd 4.0.99b Tue Sep 18 09:51:17 PDT 2001 (1)
ntpd[228]: using kernel phase-lock loop 2040
ntpd[228]: using kernel phase-lock loop 2041
nfsd:[235]: can't register with udp portmap
sshd[273]: Server listening on :: port 22.
sshd[273]: Server listening on 0.0.0.0 port 22.
sshd[273]: Generating 768 bit RSA key.
sshd[273]: RSA key generation complete.
mountd[233]: can't register mount

  And portmap and mountd are not resident.

----------------------------------------------------------------------
If it dose set portmap_enable="YES" in /etc/rc.conf, then it is
shown the floowing message, and NFS server is worked well.

Copyright (c) 1992-2001 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.4-RELEASE #1: Sat Sep 22 13:10:59 JST 2001
...
[snip]
...
da0 at sym0 bus 0 target 5 lun 0
da0: <FUJITSU M2513A 1100> Removable Optical SCSI-2 device 
da0: 10.000MB/s transfers (10.000MHz, offset 10)
da0: Attempt to query device size failed: NOT READY, Medium not present
named[225]: starting BIND 9.2.0rc3 -c /var/ns/named.conf
named[225]: none:0: open: /usr/local/etc/rndc.key: file not found
named[225]: couldn't add command channel 0.0.0.0#953: file not found
named[225]: none:0: open: /usr/local/etc/rndc.key: file not found
named[225]: couldn't add command channel ::#953: file not found
ntpd[228]: ntpd 4.0.99b Tue Sep 18 09:51:17 PDT 2001 (1)
ntpd[228]: using kernel phase-lock loop 2040
ntpd[228]: using kernel phase-lock loop 2041
sshd[276]: Server listening on :: port 22.
sshd[276]: Server listening on 0.0.0.0 port 22.
sshd[276]: Generating 768 bit RSA key.
sshd[276]: RSA key generation complete.

  Although the netatalk is worked on this machine, another machine
that does not enabled netatalk has the same problem. All machines
have IPv4 and IPv6 addresses.  For example, the addresses of
pumpkin.ish.org are shown as follows.

pumpkin.ish.org[108]_% ifconfig -a
de0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 210.145.219.203 netmask 0xfffffff0 broadcast 210.145.219.207
        inet6 fe80::220:18ff:fe58:d9fd%de0 prefixlen 64 scopeid 0x1 
        inet6 2001:218:47e:0:220:18ff:fe58:d9fd prefixlen 64 
        inet6 2001:218:47e::1:6 prefixlen 64 
        inet 202.224.192.59 netmask 0xfffffff8 broadcast 202.224.192.63
        atalk 65280.208 range 0-65534 phase 2 broadcast 0.255
        ether 00:20:18:58:d9:fd 
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
faith0: flags=8000<MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet6 ::1 prefixlen 128 
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
        inet 127.0.0.1 netmask 0xff000000 
        atalk 0.0 range 0-0 phase 2

-- 
ishizuka@ish.org

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010924225517A.ishizuka>