testing F18 on ARM highbank

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

 




We are trying to get an install tree for F18 and test it on a Calxeda Highbank server. I am basing my work on the F17 install we did. What I've done so far:

- created an install tree for F18 armhfp

lorax -p Fedora -v 18 -r 18 \
   --variant="Fedora" \
--source="http://intranet.ges.redhat.com/es/Fedora/fedora-secondary/development/18/armhfp/os/"; \
--source="http://dmarlin.fedorapeople.org/yum/f18/armhfp/os/Packages/"; \
     /es/scratch/dmarlin/F18/lorax-trees/armv7hl-tree

The second source repository includes a newer test kernel package.

- set up the local repos and tftp server

- created a kickstart (attached)

I used the previous F17 kickstart file as a base and changed the repo paths for F18. Everything else is the same.

- tried a PXE-boot, kickstart install.

This started as before (F17) but quickly failed. We had always used cmdline mode, but this time if dropped out due to unanswered questions. I switched to 'text' mode to try an work through these.

The first thing I hit was:

Install hub

 1) [x] Timezone settings                 2) [ ] Install Destination
        (US/Eastern timezone)                    (Error checking storage
 3) [x] Set root password                        configuration)
        (Password is set.)
  Please make your choice from above ['q' to quit | 'c' to continue]: 2

I selected the only drive on the system, and to use all space. I'm not sure why this was undefined, as all the partitioning is specified in the kickstart file, and worked in F17.

After this, it started installing but encountered an error and produced a backtrace (attached).

   AttributeError: 'YumPayload' object has no attribute 'storage'

I'm not sure where to go from there. Any suggestions or improving the kickstart (to permit cmdline mode to work) or to work around this error are appreciated.


Thank you,

d.marlin

# Perform a basic Fedora 18 ARM (Highbank) install

lang en_US.UTF-8
keyboard us
timezone --utc US/Eastern
auth --useshadow --enablemd5
selinux --permissive
firewall --enabled --service=mdns,ssh
network --bootproto=dhcp --device=eth0 --onboot=on --activate --hostname=highbank-f18-hfp
services --enabled=NetworkManager,sshd,ntpd --disabled=network

# Only use this with Anaconda for serial console installs, not with livemedia-creator.
#cmdline
text
skipx

# Set a default root password for Fedora
rootpw --plaintext fedora

# Repositories
# apparently we must use 'url' for the install repo for livemedia-creator

# point this to the install tree created by lorax
url --url="http://intranet.ges.redhat.com/es/Fedora/fedora-secondary/development/18/armhfp/os/";
# include a local repo to get modified grubby, etc.
#repo --name=ges-arm --baseurl="http://intranet.ges.redhat.com/es/arm/yum/ges/f18-arm/armhfp/os/Packages/";
repo --name=xpfa --baseurl="http://dmarlin.fedorapeople.org/yum/f18/armhfp/os/Packages/";

#
# Define how large you want your rootfs to be
#
bootloader --location=none
zerombr
clearpart --all
part /boot --size 500 --fstype ext3 --label=boot
part swap --size 4000 --label=swap
part / --size 5000 --grow --fstype ext4 --label=rootfs


# Reboot after the installation is complete.
reboot


#
# Add all the packages after the base packages
#
%packages
@core
@system-tools
@admin-tools
@dial-up
@hardware-support
@printing

# apparently none of the groups sets the clock.
ntp
ntpdate

# get the uboot tools
uboot-tools

%end


# more configuration
%post --erroronfail


# Install U-Boot boot.scr
pushd /boot

# get the root device from fstab, typically UUID=<string>
ROOTDEV=`grep -w / /etc/fstab | cut -d ' ' -f1`

# setup boot.scr
cat <<EOL > boot.cmd
setenv bootargs console=ttyAMA0 root=$ROOTDEV ro rootwait
ext2load scsi 0:1 \${ramdisk_addr_r} uInitrd
ext2load scsi 0:1 \${kernel_addr_r} uImage
bootm \${kernel_addr_r} \${ramdisk_addr_r} \${fdt_addr}
EOL

/usr/bin/mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Highbank F18" -d boot.cmd boot.scr

popd


# datestamp this release
date +F18-%Y%m%d > /etc/RELEASE

%end

Starting package installation process
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 91, in run
    threading.Thread.run(self, *args, **kwargs)
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line 117, in doInstall
    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1191, in preInstall
    self.checkSoftwareSelection()
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1112, in checkSoftwareSelection
    self._applyYumSelections()
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1098, in _applyYumSelections
    self.selectKernelPackage()
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1144, in selectKernelPackage
    kernels = self.kernelPackages
  File "/usr/lib/python2.7/site-packages/pyanaconda/packaging/__init__.py", line 657, in kernelPackages
    if self.storage.platform.armMachine is not None:
AttributeError: 'YumPayload' object has no attribute 'storage'
_______________________________________________
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