Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2015 11:32:48 -0800
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Building Kyua inside qemu mips VM
Message-ID:  <CAG=rPVc-VfkyDfFhzo9xEo=TTJv3hgGj4M=W2Dx8sU2GLTfVxQ@mail.gmail.com>
In-Reply-To: <CAJ-VmomfqcRx0L2S-7M1eyfND%2B064PHqdXSzaxLcoxAQmTbFtw@mail.gmail.com>
References:  <CAG=rPVe5Ot1uEpgkmDQsMoU2OEB49EHpc%2B13_tz0NQtrQj4rMw@mail.gmail.com> <CAJ-VmomfAKoR4whx4qdV_34suaXVh%2Bdvj3fcX_pBvs8_zMYrOQ@mail.gmail.com> <CAG=rPVfkxAq8YZn4Pm7ZkCHbsNGdL9u6UL8eXvkzXfTCzXFK=A@mail.gmail.com> <CAG=rPVexKhjx-YLaOJcKj0rjyfViz0NwXKCqMKkw6gpc4zrv%2BA@mail.gmail.com> <CAJ-VmonTXAC3WsfGgV10%2BvwppEcT7LooK-k9==eEX2n73gy2nw@mail.gmail.com> <CAG=rPVdgQ3Loq9Ow6BafVgEdpQvk=%2ByeBrjYW10cFpr6xXk7gw@mail.gmail.com> <CAJ-VmomD6bJosfm-VeXfWeZR6nsCCN7RwV6kV%2B4WjVVWXh_7Ag@mail.gmail.com> <CAJ-VmomfqcRx0L2S-7M1eyfND%2B064PHqdXSzaxLcoxAQmTbFtw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Oh OK, I do have it.  I guess I missed it:

ifconfig
le0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8<VLAN_MTU>
        ether 52:54:00:12:34:56
        media: Ethernet autoselect
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
        inet 127.0.0.1 netmask 0xff000000
        groups: lo


On Sun, Feb 15, 2015 at 11:11 AM, Adrian Chadd <adrian@freebsd.org> wrote:

> I run qemu-devel, and:
>
> adrian      3361 101.2  9.7 639416 381572  1  S+    9:13PM  986:02.93
> qemu-system-mips -M malta -kernel /tftpboot/kernel.MALTA -hda
> ../fullroot-malta.img -hdb ../malta-swap.img -nographic -m 256
>
>
>
> -adrian
>
>
> On 15 February 2015 at 11:10, Adrian Chadd <adrian@freebsd.org> wrote:
> > It should just work by default. are you using qemu-devel ? If not, you
> > should be.
> >
> >
> >
> > -adrian
> >
> > On 15 February 2015 at 11:08, Craig Rodrigues <rodrigc@freebsd.org>
> wrote:
> >> Can you to https://wiki.freebsd.org/FreeBSD/MipsEmulation the
> command-line
> >> flags to QEMU
> >> that allow usage of this NIC?
> >>
> >> Thanks.
> >>
> >>
> >>
> >> On Sun, Feb 15, 2015 at 11:03 AM, Adrian Chadd <adrian@freebsd.org>
> wrote:
> >>>
> >>> Yeah, it does:
> >>>
> >>> le0: <AMD PCnet-PCI> irq 10 at device 11.0 on pci0
> >>> le0: Lazy allocation of 0x20 bytes rid 0x10 type 4 at 0x120
> >>> le0: 16 receive buffers, 4 transmit buffers
> >>> le0: bpf attached
> >>> le0: Ethernet address: 52:54:00:12:34:56
> >>>
> >>> (I'm doing a buildworld right now inside it.)
> >>>
> >>>
> >>> -adrian
> >>>
> >>>
> >>> On 15 February 2015 at 10:55, Craig Rodrigues <rodrigc@freebsd.org>
> wrote:
> >>> > Also, can the MALTA kernel config support any network drivers
> compatible
> >>> > with QEMU?
> >>> > I didn't see anything compiled into the default kernel config, but I
> >>> > might
> >>> > have missed it.
> >>> >
> >>> > --
> >>> > Craig
> >>> >
> >>> > On Sun, Feb 15, 2015 at 10:51 AM, Craig Rodrigues <
> rodrigc@freebsd.org>
> >>> > wrote:
> >>> >>
> >>> >> Hi,
> >>> >>
> >>> >> Have you tried any of these options to cross-build ports:
> >>> >>
> >>> >> https://wiki.freebsd.org/QemuUserModeHowTo
> >>> >>
> >>> >> Those options look complicated, but workable.
> >>> >> --
> >>> >> Craig
> >>> >>
> >>> >>
> >>> >> On Sun, Feb 15, 2015 at 10:26 AM, Adrian Chadd <adrian@freebsd.org>
> >>> >> wrote:
> >>> >>>
> >>> >>> ... ask the ports people to support cross-building as a "thing" one
> >>> >>> can
> >>> >>> do?
> >>> >>>
> >>> >>> All of those ports you've mentioned should be a perfectly good
> target
> >>> >>> for cross-building; I've done them before individually.
> >>> >>>
> >>> >>>
> >>> >>>
> >>> >>> -adrian
> >>> >>>
> >>> >>>
> >>> >>> On 15 February 2015 at 10:23, Craig Rodrigues <rodrigc@freebsd.org
> >
> >>> >>> wrote:
> >>> >>> > Adrian,
> >>> >>> >
> >>> >>> > I am continuing on the work started in the Hackathon which
> >>> >>> > you organized in January.  I have this Jenkins job which
> >>> >>> > builds a UFS image built for mips using the MALTA kernel config:
> >>> >>> >
> >>> >>> > https://jenkins.freebsd.org/job/FreeBSD_HEAD_mips32_be/
> >>> >>> >
> >>> >>> > I am using this invocation of QEMU to boot the image with 256MB
> RAM:
> >>> >>> >
> >>> >>> > https://wiki.freebsd.org/FreeBSD/MipsEmulation#Configuring_QEMU
> >>> >>> >
> >>> >>> > I am now trying to build /usr/ports/devel/kyua
> >>> >>> > inside the VM, so that I can do "cd /usr/tests ; kyua test" to
> run
> >>> >>> > all the tests.
> >>> >>> >
> >>> >>> > However, building kyua and all its dependencies (atf, sqlite,
> lua,
> >>> >>> > lutok)
> >>> >>> > is taking a really long time inside this VM, on the order of many
> >>> >>> > hours.
> >>> >>> >
> >>> >>> > Is there something I can do to boost performance so I can at
> least
> >>> >>> > build
> >>> >>> > kyua faster in this VM?
> >>> >>> >
> >>> >>> > --
> >>> >>> > Craig
> >>> >>
> >>> >>
> >>> >
> >>
> >>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVc-VfkyDfFhzo9xEo=TTJv3hgGj4M=W2Dx8sU2GLTfVxQ>