[fedora-arm] F17 rootfs on Trim Slice = kernel problems

Richard W.M. Jones rjones at redhat.com
Fri Mar 2 17:21:12 UTC 2012


On Fri, Mar 02, 2012 at 04:47:07PM +0000, Richard W.M. Jones wrote:
> On Fri, Mar 02, 2012 at 04:33:53PM +0000, Richard W.M. Jones wrote:
> > On Fri, Mar 02, 2012 at 04:26:48PM +0000, Peter Robinson wrote:
> > > On Fri, Mar 2, 2012 at 4:22 PM, Richard W.M. Jones <rjones at redhat.com> wrote:
> > > > On Fri, Mar 02, 2012 at 03:45:06PM +0000, Leif Lindholm wrote:
> > > >> Brendan Conoboy pointed me to http://arm.koji.fedoraproject.org/packages/kernel/2.6.42.2/1.fc15/armv7hl/kernel-tegra-2.6.42.2-1.fc15.armv7hl.rpm
> > > >> which boots without either issue.
> > > >
> > > > Thanks.
> > > >
> > > > How do people install this in the rootfs?  yum segfaulted when I ran
> > > > it in the chroot (no debug tools so I couldn't tell why).  Do you do
> > > > 'rpm2cpio' and then run the %post script by hand?
> > > 
> > > Needs to be running on an ARM platform to install on a rootfs. On any
> > > ARM (untuntu or what ever) mount it then "chroot /mnt/rootfs/" then
> > > either yum or rpm.
> > 
> > Of course :-)
> > 
> > However I'm running it on the F15 that I have installed on the Trim
> > Slice currently, so perhaps there is something missing in that kernel.
> > Without any gdb/strace/etc in the rootfs it's a bit hard to tell ...
> > 
> > I'll try rpm directly, that's a good idea.
> 
> Direct installation with 'rpm -i --oldpackage' was ok, and I got an
> initramfs which at least looks like it's the right size.

A few more problems with the rootfs:

- For some reason, the root filesystem comes up read-only (or rather,
  it is not remounted rw).  I can 'mount -o remount,rw /' just fine
  after boot, and it is 'defaults' in /etc/fstab, so I'm not sure
  exactly what is going wrong.

- The same error I had with F15: Because the Trim Slice has no hardware
  clock, it boots as 1970-01-01, which means https connections don't
  work, which breaks yum (because it defaults to an https URL).

- ssh access is broken, and the error is mysterious:

  Mar  2 17:16:16 fedora-arm sshd[704]: selinux sandbox not useful [preauth]
  Mar  2 17:16:16 fedora-arm sshd[704]: fatal: No supported key exchange algorithms [preauth]

  Doesn't appear to be related to the date/https problem, but the
  rootfs has selinux disabled (in /etc/selinux/config).

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/


More information about the arm mailing list