From: "Mars G. Miro" <marsgmiro@gmail.com>
To: Jung-uk Kim <jkim@freebsd.org>
Cc: freebsd-emulation@freebsd.org,
Juergen Lock <nox@jelal.kn-bremen.de>,
qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: ata devices on emulated amd64 on qemu
Date: Mon, 1 Aug 2005 17:30:47 +0800 [thread overview]
Message-ID: <28edec3c0508010230226b4ae@mail.gmail.com> (raw)
In-Reply-To: <28edec3c050731203069f7c4a8@mail.gmail.com>
On 8/1/05, Mars G. Miro <marsgmiro@gmail.com> wrote:
> On 8/1/05, Mars G. Miro <marsgmiro@gmail.com> wrote:
> > On 7/30/05, Mars G. Miro <marsgmiro@gmail.com> wrote:
> > > On 7/30/05, Jung-uk Kim <jkim@freebsd.org> wrote:
> > > > Okay. I finally found a fix. It was actually quite simple. Newer
> > > > FreeBSD and Linux ATA drivers check whether the PCI ATA controller is
>
> > > > in legacy ATA mode (aka PATA mode). The test failed and it was
> > > > treated like a SATA controller. Of course, IRQ failed to map. ;-)
> > > > Try the attached patch. Tested with FreeBSD/amd64 6.0-BETA1 guest on
>
> > > > FreeBSD/amd64 host.
> > > >
> > >
> > >
> > > You rock dude! This patch fixes it. FreeBSD54/amd64 Guest on
> > > FreeBSD54/amd64 Host.
> > >
> > > Any thoughts of including this patch in the ports?
> > >
> > >
> >
> >
> > Oops. I noticed only now that this time, it's the emulated NE2000 NIC
> > that's not detected. This is for a FreeBSD/amd64 guest on
> > FreeBSD/amd64 Host.
> >
>
>
> Scratch that.
>
> This is only because there's no ed in the GENERIC kernel for AMD64.
>
because we dropped support for it?
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -Wall
-Wredundant-decls -Wnested-externs -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-
arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc
-I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/a
ltq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf
-I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd
-I/usr/src/sys/con
trib/ngatm -D_KERNEL -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mcmodel
=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow -msoft-float -fno-asynchronous-unwind-tables
-ffreestanding -Werror /usr/
src/sys/dev/ed/if_ed.c
/usr/src/sys/dev/ed/if_ed.c: In function `ed_probe_WD80x3_generic':
/usr/src/sys/dev/ed/if_ed.c:508: warning: implicit declaration of
function `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:521: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c:532: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c:539: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c:547: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c:570: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c: In function `ed_probe_3Com':
/usr/src/sys/dev/ed/if_ed.c:905: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
/usr/src/sys/dev/ed/if_ed.c: In function `ed_probe_SIC':
/usr/src/sys/dev/ed/if_ed.c:998: warning: nested extern declaration of `kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: redundant redeclaration of 'kvtop'
/usr/src/sys/dev/ed/if_ed.c:508: warning: previous implicit
declaration of 'kvtop' was here
*** Error code 1
ugh :-(
> Thanks.
>
>
>
> > Thanks.
> >
> >
> > > > Cheers,
> > > >
> > > > Jung-uk Kim
> > > >
> > > >
> > >
> > >
> >
>
>
>
>
cheers
mars
next prev parent reply other threads:[~2005-08-01 9:35 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <28edec3c0507290000415a350d@mail.gmail.com>
[not found] ` <200507291540.52889.jkim@niksun.com>
[not found] ` <200507291647.49230.jkim@niksun.com>
2005-07-30 0:22 ` [Qemu-devel] Re: ata devices on emulated amd64 on qemu Jung-uk Kim
2005-07-30 11:57 ` Mars G. Miro
2005-08-01 2:57 ` Mars G. Miro
2005-08-01 3:30 ` Mars G. Miro
2005-08-01 9:30 ` Mars G. Miro [this message]
2005-08-01 21:54 ` Juergen Lock
2005-08-02 6:53 ` Mars G. Miro
2005-08-02 21:22 ` Juergen Lock
2005-08-02 21:55 ` Jung-uk Kim
2005-08-03 2:07 ` Mars G. Miro
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28edec3c0508010230226b4ae@mail.gmail.com \
--to=marsgmiro@gmail.com \
--cc=freebsd-emulation@freebsd.org \
--cc=jkim@freebsd.org \
--cc=nox@jelal.kn-bremen.de \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.