Skip to contentSkip to conversation

Redhat 9, 2.6.5 Kernel, and kqemu

Qemu-devel Scott Dudley 2 participants 3 messages Oct 31, 2005 – Nov 4, 2005

lore
Share & tools
lore
#0 lore raw

I'm trying to build/install kqemu on Redhat 9 running a 2.6.5 kernel. Grabbed latest sources (0.7.2) for qemu and kqemu. Build doesn't appear to generate the .ko module.

Here's my config:

scottspc.sunbelt.com: /usr/local/src/qemu-0.7.2 # sh CONFIGURE

   Install prefix    /usr/local
   BIOS directory    /usr/local/share/qemu
   binary directory  /usr/local/bin
   Manual directory  /usr/local/share/man
   ELF interp prefix /usr/gnemul/qemu-%M
   Source path       /usr/local/src/qemu-0.7.2
   C compiler        gcc
   Host C compiler   gcc
   make              make
   host CPU          i386
   host big endian   no
   target list       i386-user
   gprof enabled     no
   static build      no
   SDL support       yes
   SDL static link   yes
   mingw32 support   no
   Adlib support     no
   FMOD support      no
   kqemu support     yes

KQEMU Linux module configuration:
kernel sources /usr/src/linux-2.6.5
kbuild type 2.6

Here's the output of the make:

   scottspc.sunbelt.com: /usr/local/src/qemu-0.7.2 # make install
   for d in i386-user; do \
   make -C $d all || exit 1 ; \
           done
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/i386-user'
   make[1]: Nothing to be done for `all'.
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/i386-user'
   make -C kqemu
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/kqemu'
   make -C /usr/src/linux-2.6.5 M=`pwd` modules
   make[2]: Entering directory `/usr/src/linux-2.6.5'
   make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
     CHK     include/asm-i386/asm_offsets.h
     Building modules, stage 2.
     MODPOST
   make[2]: Leaving directory `/usr/src/linux-2.6.5'
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/kqemu'
   mkdir -p "/usr/local/bin"
   install -m 755 -s qemu-img "/usr/local/bin"
   mkdir -p "/usr/local/share/qemu"
   install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
                          pc-bios/vgabios-cirrus.bin \
                          pc-bios/ppc_rom.bin pc-bios/video.x \
                          pc-bios/proll.elf \
                          pc-bios/linux_boot.bin "/usr/local/share/qemu"
   mkdir -p "/usr/local/share/doc/qemu"
   install -m 644 qemu-doc.html  qemu-tech.html "/usr/local/share/doc/qemu"
   mkdir -p "/usr/local/share/man/man1"
   install qemu.1 qemu-img.1 "/usr/local/share/man/man1"
   mkdir -p "/usr/local/share/qemu/keymaps"
   install -m 644 keymaps/da keymaps/en-gb keymaps/et keymaps/fr
   keymaps/fr-ch keymaps/is keymaps/lt keymaps/modifiers keymaps/no
   keymaps/pt-br keymaps/sv keymaps/ar keymaps/de keymaps/en-us
   keymaps/fi keymaps/fr-be keymaps/hr keymaps/it keymaps/lv keymaps/nl
   keymaps/pl keymaps/ru keymaps/th keymaps/common keymaps/de-ch
   keymaps/es keymaps/fo keymaps/fr-ca keymaps/hu keymaps/ja keymaps/mk
   keymaps/nl-be keymaps/pt keymaps/sl keymaps/tr
   "/usr/local/share/qemu/keymaps"
   for d in i386-user; do \
   make -C $d install || exit 1 ; \
           done
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/i386-user'
   install -m 755 -s qemu-i386 "/usr/local/bin"
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/i386-user'
   cd kqemu ; ./install.sh
   cp: cannot stat `kqemu.o': No such file or directory

What am I missing?

Signature · 3 lines
Regards,

Scott Dudley
#1 lore raw

Hello...

Quoted 3 lines

I'm trying to build/install kqemu on Redhat 9 running a 2.6.5 kernel. Grabbed latest sources (0.7.2) for qemu and kqemu. Build doesn't appear to generate the .ko module.

You're missing the kqemu package itself. Grab it from Qemu website and put it inside the Qemu directory (result of extraction) Follow the instruction on Qemu website for further direction :)

regards

Mulyadi

#2 lore raw
In reply to Scott Dudley

No responses to my quandary so tried again today. Was able to build/install on same platform against my 2.4.20 kernel but not against 2.6.5. Does anyone know why I would get no error but yet it fails to build the .ko module?

Thanks.

Quoted 85 lines · Scott Dudley

I'm trying to build/install kqemu on Redhat 9 running a 2.6.5 kernel. Grabbed latest sources (0.7.2) for qemu and kqemu. Build doesn't appear to generate the .ko module.

Here's my config:

scottspc.sunbelt.com: /usr/local/src/qemu-0.7.2 # sh CONFIGURE

   Install prefix    /usr/local
   BIOS directory    /usr/local/share/qemu
   binary directory  /usr/local/bin
   Manual directory  /usr/local/share/man
   ELF interp prefix /usr/gnemul/qemu-%M
   Source path       /usr/local/src/qemu-0.7.2
   C compiler        gcc
   Host C compiler   gcc
   make              make
   host CPU          i386
   host big endian   no
   target list       i386-user
   gprof enabled     no
   static build      no
   SDL support       yes
   SDL static link   yes
   mingw32 support   no
   Adlib support     no
   FMOD support      no
   kqemu support     yes

KQEMU Linux module configuration:
kernel sources /usr/src/linux-2.6.5
kbuild type 2.6

Here's the output of the make:

   scottspc.sunbelt.com: /usr/local/src/qemu-0.7.2 # make install
   for d in i386-user; do \
   make -C $d all || exit 1 ; \
           done
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/i386-user'
   make[1]: Nothing to be done for `all'.
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/i386-user'
   make -C kqemu
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/kqemu'
   make -C /usr/src/linux-2.6.5 M=`pwd` modules
   make[2]: Entering directory `/usr/src/linux-2.6.5'
   make[3]: `arch/i386/kernel/asm-offsets.s' is up to date.
     CHK     include/asm-i386/asm_offsets.h
     Building modules, stage 2.
     MODPOST
   make[2]: Leaving directory `/usr/src/linux-2.6.5'
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/kqemu'
   mkdir -p "/usr/local/bin"
   install -m 755 -s qemu-img "/usr/local/bin"
   mkdir -p "/usr/local/share/qemu"
   install -m 644 pc-bios/bios.bin pc-bios/vgabios.bin \
                          pc-bios/vgabios-cirrus.bin \
                          pc-bios/ppc_rom.bin pc-bios/video.x \
                          pc-bios/proll.elf \
                          pc-bios/linux_boot.bin "/usr/local/share/qemu"
   mkdir -p "/usr/local/share/doc/qemu"
   install -m 644 qemu-doc.html  qemu-tech.html 

"/usr/local/share/doc/qemu"
mkdir -p "/usr/local/share/man/man1"
install qemu.1 qemu-img.1 "/usr/local/share/man/man1" mkdir -p "/usr/local/share/qemu/keymaps"
install -m 644 keymaps/da keymaps/en-gb keymaps/et keymaps/fr keymaps/fr-ch keymaps/is keymaps/lt keymaps/modifiers keymaps/no keymaps/pt-br keymaps/sv keymaps/ar keymaps/de keymaps/en-us keymaps/fi keymaps/fr-be keymaps/hr keymaps/it keymaps/lv keymaps/nl keymaps/pl keymaps/ru keymaps/th keymaps/common keymaps/de-ch keymaps/es keymaps/fo keymaps/fr-ca keymaps/hu keymaps/ja keymaps/mk keymaps/nl-be keymaps/pt keymaps/sl keymaps/tr "/usr/local/share/qemu/keymaps"

   for d in i386-user; do \
   make -C $d install || exit 1 ; \
           done
   make[1]: Entering directory `/usr/local/src/qemu-0.7.2/i386-user'
   install -m 755 -s qemu-i386 "/usr/local/bin"
   make[1]: Leaving directory `/usr/local/src/qemu-0.7.2/i386-user'
   cd kqemu ; ./install.sh
   cp: cannot stat `kqemu.o': No such file or directory

What am I missing?

Signature · 4 lines
Regards,

Scott Dudley
(602) 308-1115