* 'Generic' x86 build
@ 2010-07-01 22:17 Chris Tapp
2010-07-02 3:48 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Chris Tapp @ 2010-07-01 22:17 UTC (permalink / raw)
To: openembedded-devel
I've spent the past couple of weeks trying to get a build that will
work on generic pc hardware (board is alix, but 'regular' linux
distros run ok), but I've not found a combination that builds and then
runs correctly.
Can anyone point me in the direction of a distro/machine pair that
should give me this?
I've tried:
minimal / alix console-image : builds ok but /sbin/init isn't
found at boot even though it's in the image.
angstrom / x86 console-image : builds ok but the inittab in the image
doesn't work with busybox and needs to be replaced in the initrd.
Suffers from 'swapper' not going idle.
Various other distro/machine pairs that I've tried simply fail to
build - I guess because they're not designed to work together?
Any clues will be gratefully received :-)
Chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-01 22:17 'Generic' x86 build Chris Tapp
@ 2010-07-02 3:48 ` Khem Raj
2010-07-02 23:18 ` Chris Tapp
0 siblings, 1 reply; 7+ messages in thread
From: Khem Raj @ 2010-07-02 3:48 UTC (permalink / raw)
To: openembedded-devel
On Thu, Jul 1, 2010 at 3:17 PM, Chris Tapp <dokuwiki@keylevel.com> wrote:
> I've spent the past couple of weeks trying to get a build that will work on
> generic pc hardware (board is alix, but 'regular' linux distros run ok), but
> I've not found a combination that builds and then runs correctly.
>
> Can anyone point me in the direction of a distro/machine pair that should
> give me this?
how about MACHINE=i686-generic or MACHINE=i586-generic
distro could be angstrom or minimal.
-khem
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-02 3:48 ` Khem Raj
@ 2010-07-02 23:18 ` Chris Tapp
2010-07-02 23:37 ` Khem Raj
2010-07-06 7:32 ` Arjan
0 siblings, 2 replies; 7+ messages in thread
From: Chris Tapp @ 2010-07-02 23:18 UTC (permalink / raw)
To: openembedded-devel
> how about MACHINE=i686-generic or MACHINE=i586-generic
> distro could be angstrom or minimal.
Thanks - Not sure how I managed to miss that one!
Anyway, I've tried i586-generic / minimal for console-image.
- The inittab file included in the rootfs isn't valid for busybox;
- The 'swapper' process is using 100% cpu after the system has booted
and it's doing nothing.
Does anyone else have this, or is it just me?
Chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-02 23:18 ` Chris Tapp
@ 2010-07-02 23:37 ` Khem Raj
2010-07-03 0:04 ` Chris Tapp
2010-07-06 7:32 ` Arjan
1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2010-07-02 23:37 UTC (permalink / raw)
To: openembedded-devel
On Fri, Jul 2, 2010 at 4:18 PM, Chris Tapp <dokuwiki@keylevel.com> wrote:
>> how about MACHINE=i686-generic or MACHINE=i586-generic
>> distro could be angstrom or minimal.
>
> Thanks - Not sure how I managed to miss that one!
>
> Anyway, I've tried i586-generic / minimal for console-image.
>
> - The inittab file included in the rootfs isn't valid for busybox;
> - The 'swapper' process is using 100% cpu after the system has booted and
> it's doing nothing.
>
> Does anyone else have this, or is it just me?
if someone had, he would have spoken by now. I guess
you need to debug it. swapper is a kernel process.
probably your systems has all memory eaten up
or there are lot of background processes.
>
> Chris
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-02 23:37 ` Khem Raj
@ 2010-07-03 0:04 ` Chris Tapp
2010-07-03 1:56 ` Khem Raj
0 siblings, 1 reply; 7+ messages in thread
From: Chris Tapp @ 2010-07-03 0:04 UTC (permalink / raw)
To: openembedded-devel
> if someone had, he would have spoken by now. I guess
> you need to debug it. swapper is a kernel process.
> probably your systems has all memory eaten up
> or there are lot of background processes.
I don't think that's the case.
- This is a 'minimal-image' with nothing added.
- There's about 145MB RAM free
I've just worked out that if I change linuxrx from being a symlink to
busybox a file that contains:
#!/bin/sh
echo
echo "Simple initrd is active"
echo
mount -t proc /proc /proc
mount -t sysfs none /sys
/bin/sh --login
Then 'swapper' behaves itself and top shows 99.7% idle time.
And that's the only change from previously.
Chris
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-03 0:04 ` Chris Tapp
@ 2010-07-03 1:56 ` Khem Raj
0 siblings, 0 replies; 7+ messages in thread
From: Khem Raj @ 2010-07-03 1:56 UTC (permalink / raw)
To: openembedded-devel
On Fri, Jul 2, 2010 at 5:04 PM, Chris Tapp <dokuwiki@keylevel.com> wrote:
> mount -t proc /proc /proc
> mount -t sysfs none /sys
>
I wonder if linuxrc applet in busybox has bug.
you could try a different version of busybox
to verify that.
-Khem
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 'Generic' x86 build
2010-07-02 23:18 ` Chris Tapp
2010-07-02 23:37 ` Khem Raj
@ 2010-07-06 7:32 ` Arjan
1 sibling, 0 replies; 7+ messages in thread
From: Arjan @ 2010-07-06 7:32 UTC (permalink / raw)
To: openembedded-devel
On 3-7-2010 1:18, Chris Tapp wrote:
>> how about MACHINE=i686-generic or MACHINE=i586-generic
>> distro could be angstrom or minimal.
>
> Thanks - Not sure how I managed to miss that one!
>
> Anyway, I've tried i586-generic / minimal for console-image.
>
> - The inittab file included in the rootfs isn't valid for busybox;
> - The 'swapper' process is using 100% cpu after the system has booted
> and it's doing nothing.
>
> Does anyone else have this, or is it just me?
>
Just checked my build of _x11-image_ MACHINE=i686-generic DISTRO=angstrom
I don't see this happening.
Angstrom 2010.7-test-20100624
Built from branch: org.openembedded.dev
Revision: .
Busybox: v1.13.2
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-06 7:37 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-01 22:17 'Generic' x86 build Chris Tapp
2010-07-02 3:48 ` Khem Raj
2010-07-02 23:18 ` Chris Tapp
2010-07-02 23:37 ` Khem Raj
2010-07-03 0:04 ` Chris Tapp
2010-07-03 1:56 ` Khem Raj
2010-07-06 7:32 ` Arjan
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.