Re: NFS install failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Lumens wrote:
This *was* working with 11.4.0.16 (caveat, I hacked it to *not*
require the latest libdhcp code which today I've capitulated to)
Now, it fails when it tries to mount the NFS root.  It gets a
valid IP setup via DHCP to fetch the kickstart file, but fails
when mounting NFS because the interface seems to have been left
up and there is an error [re]adding the route(s).

  ERROR: add: failed - 17: Netlink Error (errno = File exists)
  ERROR: nic_configure: failed to add route.

Dunno about this problem, but...

note: there are still lots of other problems with this.  As soon
as I added 'headless' on the command line, anaconda threw a Python
exception parsing the kickstart file.  I figured I'd update first
before trying to track that one down.

I'd be interested to see what sort of traceback you are getting here.

Log file an kickstart file attached.  (I worked around the other
problem for the moment by putting the kickstart file in my
initrd image)

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
Linux/PPC load: root=/dev/ram console=ttyS0,38400 selinux=0 ks=file:/test_min.ks ksdevice=eth0 headless text
  ... <snip>

Greetings.
anaconda installer init version 11.4.0.19 starting
mounting /proc filesystem... done
creating /dev filesystem... starting udev...done
mounting /dev/pts (unix98 pty) filesystem... done
mounting /sys filesystem... done
anaconda installer init version 11.4.0.19 using a serial console
trying to remount root filesystem read write... done
mounting /tmp as ramfs... done
running install...
running /sbin/loader
GWelcome to Fedora Core for ppc<Tab>/<Alt-Tab> between elements  | <Space> selects | <F12> next screen+-------------------------------------------------------+||| Sending request for IP information for eth0...|||+-------------------------------------------------------+                                                                                                                                                                                                                                                                                                                                                          +--------------------------------------------------+ || | Determining host name and domain...| || +--------------------------------------------------+                                                                                                                                                                                                                                                                                                                                                                                                                              Running anaconda 11.4.0.19, the Fedora Core system installer - please wait...
Traceback (most recent call last):
  File "/usr/bin/anaconda", line 986, in <module>
    kickstart.processKickstartFile(anaconda, opts.ksfile)
  File "/usr/lib/anaconda/kickstart.py", line 879, in processKickstartFile
    ksparser.readKickstart(file)
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 675, in readKickstart
    self._stateMachine (lambda: fh.readline())
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 553, in _stateMachine
    self.handleCommand(lineno, args)
  File "/usr/lib/anaconda/kickstart.py", line 831, in handleCommand
    KickstartParser.handleCommand(self, lineno, args)
  File "/usr/lib/python2.5/site-packages/pykickstart/parser.py", line 407, in handleCommand
    self.handler.dispatcher(args, lineno)
  File "/usr/lib/python2.5/site-packages/pykickstart/base.py", line 321, in dispatcher
    self.commands[cmd].parse(args[1:])
  File "/usr/lib/anaconda/kickstart.py", line 488, in parse
    fsprofile = pd.fsprofile)
AttributeError: FC4_PartData instance has no attribute 'fsprofile'
install exited abnormally [1/1] 
sending termination signals...done
sending kill signals...done
disabling swap...
unmounting filesystems...
	/mnt/runtime done
	disabling /dev/loop0
	/proc done
	/dev/pts done
	/sys done
	/mnt/source done
you may safely reboot your system
# Kickstart file automatically generated by anaconda.

install
nfs --server=192.168.1.94 --dir=/mnt/work/fedora/AM
lang en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp
network --device eth1 --onboot no --bootproto dhcp
rootpw  --iscrypted $1$92jEj0uR$S6cW3hg1Lxh84OHM1pgNx0
firewall --enabled --port=22:tcp
authconfig --enableshadow --enablemd5
selinux --disabled
timezone --utc America/Denver
bootloader --location=mbr --driveorder=sda --append="rhgb quiet"
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --linux --drives=sda
part /boot --fstype ext3 --size=200 --ondisk=sda
part pv.6 --size=0 --grow --ondisk=sda
volgroup VolGroup00 --pesize=32768 pv.6
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=256 --grow --maxsize=512

%packages
@core
@base
%end
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux