On Sun, Jan 22, 2006 at 12:28:16PM +0000, Tim Cutts wrote:

>>Jan 21 16:26:58 bach kernel: amd[2840]: segfault at  
>>0000000000000000 rip 00002aaaab1a3890 rsp 00007fffffe93c08 error 4
>>
>>The not responding/OK messages occur once or twice an hour.   
>>Currently,
>>the other machines in our small cluster are not being used, so all of
>>the NFS traffic is local to this machine.
>
>Can you actually reproduce this on demand, or does it just  
>occasionally fall over?  Could add your automount map files to the  
>bug report, so that I (and the am-utils developers) can see exactly  
>what the configuration is?

Unfortunately, I can't reproduce this on demand.  At least, I haven't
discovered if there is some specific thing that a user can do to trigger it.
It seems to happen more or less at random.  As I mentioned above, the not
responding/OK messages occur once or twice and hour.  The segfaulting seems to
occur about once every 1-2 days.

Before this machine's hardware was upgraded (it used to be x86) and Debian
reinstalled, the not responding/OK messages occured, but with less
regularity.  amd did not segfault, however, and NFS seemed okay, so I just
ignored the messages.

>I've seen some reports similar to this on the am-utils mailing list,  
>so I'll forward your bug report to them and see what they think.  But  
>in the mean time, the full details of your configuration would be  
>useful, i.e. your amd.conf file, your /etc/default/am-utils file and  
>any map files referred to by the amd.conf file.
>
>Thanks,
>Tim

Can do.  I've attached my amd.conf and /etc/default/am-utils files as
well as the amd.home map.


-- 
--John Gruenenfelder    Research Assistant, UMass Amherst student
                        Systems Manager, MKS Imaging Technology, LLC.
Try Weasel Reader for PalmOS  --  http://gutenpalm.sf.net
"This is the most fun I've had without being drenched in the blood
of my enemies!"
        --Sam of Sam & Max
# Sample amd.conf for Debian GNU/Linux
# $Id: amd.conf,v 1.5 2002/03/20 19:16:29 phil Exp $

# For the commented options, the default is shown

[global]
 
  ### Global parameters

  # Override the achitecture ?
  #arch = i386

  # Where to mount the filesystems
  auto_dir = /amd

  # Override the default 300 seconds (5 minutes) cache timeout
  #cache_duration = 300

  # Set a cluster string ?
  #cluster = lab

  # Debug ?
  #debug_options = all

  # Override the default 120 seconds (2 minutes) umount interval
  #dismount_interval = 120

  # Override the full OS string
  #full_os = linux-2.2.18

  # Do we want to reference hosts via their FQDN ?
  #fully_qualified_hosts = no

  # What's the hesiod base name ?
  #hesiod_base = automount

  # Kernel architecture override
  #karch = i386

  # LDAP parameters
  #ldap_base          =
  #ldap_cache_maxmem  = 131072
  #ldap_cache_seconds = 0
  #ldap_hostPorts     =

  # Override the DNS domainname (defaults to the part after the first
  # dot of the machine fully qualified domain name (FQDN)
  #local_domain = yourdomain.org

  # Where to log to...
  log_file = syslog

  # What to log ?
  log_options = all,noinfo,nostats,nomap

  # What IP protocol to use when doing NFS ? (tcp or udp)
  # If specified here, *all* mounts will use udp, regardless of the map contents
  # nfs_proto = udp

  # How many retransmissions will the kernel attempt when communicating
  # with amd ?
  #nfs_restransmit_counter = 11

  # Timeout in tenths of second between retransmissions when the kernel
  # communicates with amd ?
  #nfs_retry_interval = 8

  # NFS version to use ? (2 or 3)
  # If specified here, *all* mounts will use it, regardless of the map contents
  nfs_vers = 3

  # NIS domain name to retrieve map from (defaults to the locally bound
  # domain)
  #nis_domain = your-nis-domain

  # Do we want to normalize host names when expanding ${rhost}
  #normalize_hostnames = no

  # Override the os string ?
  #os = linux

  # Override the os version ?
  #osver = 2.2.18

  # Where to print the PID if print_pid is set
  #pid_file = /dev/stdout

  # Try to lock amd into memory with plock() ?
  #plock = yes

  # What portmapper program number do we register for communications between
  # amd and the various utilities ?
  #portmap_program = 300019

  # Print our pid on startup ? (not needed, we use amq for that)
  #print_pid = no

  # Print amd version on startup ?
  #print_version = no

  # At startup, do we "restart" existing mounts if we determine they could
  # have been automounted ?
  restart_mounts = yes

  # Do we want to be able to use selectors on the /defaults map entry ?
  selectors_in_defaults = yes

  # Do we return the number of automount entries on statfs()/df ?
  #show_statfs_entries = no

  # Do we attempt to unmount all automounted file systems on exit ?
  unmount_on_exit = yes

  # Override vendor ?
  vendor = Debian

  ### Default parameters, can be overriden on a map-by-map basis
  
  # Do we show unmounted automount points on readdir()
  #browsable_dirs = yes

  # Default map options
  #map_options =

  # Map type ? Which kinds of map to look for (can be: file, hesiod, ldap,
  # ndbm, nis, nisplus, passwd, union), defaults to all of these.
  #map_type =

  # Default Mount type ?
  #mount_type = nfs

  # Path to search maps into (for files or ndbm maps) ?
  #search_path =

 
### Sample map
#[/home]
#  map_name = /etc/am-utils/amd.home
# Am-utils configuration generated automatically by am-utils.config $Revision: 
1.17 $
#
# Changes to this file outside of legal values or adding new fields
# and variables to this file might make automatic am-utils
# configuration (via dpkg-reconfigure/debconf) impossible.
#
# The preferred way of changing this file is via "dpkg-reconfigure am-utils"
# (debconf).
#
# However, if these values are changed manually, debconf will ask you:
#   1. If you want to import these changes back (only possible if you changed
#      variables to other legal values, additional variables you might have
#      created will be discarded).
#   2. If you want to discard you manual changes and use whatever was used
#      last time you used debconf.
#   3. If you want debconf to keep your local changes. In this case, debconf
#      will not touch this file.
#

# Question:    Are maps propagated via NIS ?
# Legal value: true/false
# Used when:   always
AM_UTILS_USE_NIS='false'

# Question:    Name of the master NIS map
# Legal value: any string
# Used when:   AM_UTILS_USE_NIS is true
AM_UTILS_NIS_MASTER_MAP='amd.master'

# Question:    What's the master map style
# Legal value: config - each key is a configuration name and the command line
#                       is extracted with:
#                          ypmatch $AM_UTILS_NIS_KEY $AM_UTILS_NIS_MASTER_MAP
#              onekey - same as `config', but there's only one configuration,
#                       the key is irrelevant and the command line is extracted
#                       with:
#                          ypcat $AM_UTILS_NIS_MASTER_MAP
#              mountpoint - the master map's keys are the mount points and the
#                           values are the mount point map and options. The
#                           command line us extracted with:
#                              ypcat -k $AM_UTILS_NIS_MASTER_MAP
#              custom - the command to run to extract the master map is
#                       specified in $AM_UTILS_NIS_CUSTOM.
# Used when:   AM_UTILS_USE_NIS is true
AM_UTILS_NIS_MASTER_MAP_KEY_STYLE='onekey'

# Question:    Name of the key to use for NIS map
# Legal value: any string
# Used when:   AM_UTILS_USE_NIS is true *and* AM_UTILS_NIS_MASTER_MAP_KEY_STYLE
#              is `config'
AM_UTILS_NIS_KEY='default'

# Question:    What command should be run to extract the master map ?
# Legal value: any valid shell command
# Used when:   AM_UTILS_USE_NIS is true *and* AM_UTILS_NIS_MASTER_MAP_KEY_STYLE
#              is `custom'
# Note:        Please leave the single quotes here, the startup script will
#              call eval.
AM_UTILS_NIS_CUSTOM='echo "/amd-is-misconfigured /usr/share/am-utils/amd.net"'

# Question:    Use the /net map
# Legal value: true/false
# Used when:   AM_UTILS_USE_NIS is false
AM_UTILS_MAP_NET='true'

# Question:    Use the /home passwd map
# Legal value: true/false
# Used when:   AM_UTILS_USE_NIS is false
AM_UTILS_MAP_HOME='false'

# Question:    Other maps
# Legal value: string containing extra parameters (maps) to be passed to amd
# Used when:   AM_UTILS_USE_NIS is false
AM_UTILS_MAP_OTHERS=''

# Explanation:
#   These parameters are sourced by /etc/init.d/am-utils to build amd's
#   command line.
#   Refer to this script to see how these parameters are being used.
#
# Once again, the recommended way of changing these is via deconf
# ("dpkg-reconfigure am-utils")
anupama         type:=link;fs:=/net/bach/home/anupama
baranec         type:=link;fs:=/net/bach/home/baranec
basty           type:=link;fs:=/net/bach/home/basty
charliec        type:=link;fs:=/net/bach/home/charliec
cindy           type:=link;fs:=/net/bach/home/cindy
dione           type:=link;fs:=/net/bach/home/dione
dpotter         type:=link;fs:=/net/bach/home/dpotter
eatchel         type:=link;fs:=/net/bach/home/eatchel
freed           type:=link;fs:=/net/bach/home/freed
ftp             type:=link;fs:=/net/bach/home/ftp
gautham         type:=link;fs:=/net/bach/home/gautham
hege            type:=link;fs:=/net/bach/home/hege
jenner          type:=link;fs:=/net/bach/home/jenner
jessica         type:=link;fs:=/net/bach/home/jessica
jfscholl        type:=link;fs:=/net/bach/home/jfscholl
johng           type:=link;fs:=/net/bach/home/johng
matlab          type:=link;fs:=/net/bach/home/matlab
mhart           type:=link;fs:=/net/bach/home/mhart
mhsu            type:=link;fs:=/net/bach/home/mhsu
mugdha          type:=link;fs:=/net/bach/home/mugdha
nmilton         type:=link;fs:=/net/bach/home/nmilton
oldfossil       type:=link;fs:=/net/bach/home/oldfossil
sathya          type:=link;fs:=/net/bach/home/sathya
stuartj         type:=link;fs:=/net/bach/home/stuartj
vidhya          type:=link;fs:=/net/bach/home/vidhya
wjohnson        type:=link;fs:=/net/bach/home/wjohnson

Reply via email to