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(a)redhat.com>
> > > On Fri, Mar 02, 2012 at 03:45:06PM +0000, Leif Lindholm wrote:
> > >> Brendan Conoboy pointed me to
> > >> 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: selinux sandbox not useful [preauth]
Mar 2 17:16:16 fedora-arm sshd: fatal: No supported key exchange algorithms
Doesn't appear to be related to the date/https problem, but the
rootfs has selinux disabled (in /etc/selinux/config).
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.