Skip to contentSkip to conversation

-kernel-kqemu issue? hwclock w/ libc6-i686: segmentation fault on reboot

Qemu-devel J M Cerqueira Esteves 3 participants 3 messages Aug 19, 2006 – Aug 20, 2006

lore
Share & tools
lore
#0 lore raw

I submited the attached report to the Debian bug tracking system, but just now I noticed that that segfault of hwclock with libc6-i686 (in a guest Debian testing system) only occurs if the virtual machine is started with -kernel-kqemu. Could this be related to some kqemu bug?

Best regards
J Esteves

Signature · 1 line
+351 939838775   Skype:jmcerqueira   http://del.icio.us/jmce

Package: util-linux
Version: 2.12r-10
Severity: normal

Additional system information: This occurred inside a QEMU virtual machine running Debian testing (etch) i386, under the following

QEMU HOST SETUP:
host CPU: AMD Athlon 64 3500+
host operating system: Ubuntu 6.06 LTS,

        kernel: Ubuntu 2.6.15-26-amd64-k8
   kqemu: 1.3.0pre9
   QEMU: 0.8.2, configured with -cc=gcc-3.4 --enable-alsa
         invoked with 
            qemu-system-x86_64 ... -kernel-kqemu ...

In the Debian etch guest system, When libc6-i686 is installed hwclock segfaults on reboots:
/etc/rc6.d/K25hwclock.sh: line 58: 3584 Segmentation fault /sbin/hwclock --systohc $GMT $HWCLOCKPARS $BADYEAR

This does not occur when libc6-i686 is not installed.

-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages util-linux depends on:

ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libncurses5                   5.5-2      Shared libraries for terminal hand
ii  libslang2                     2.0.6-2    The S-Lang programming library - r
ii  libuuid1                      1.39-1     universally unique id library
ii  lsb-base                      3.1-10     Linux Standard Base 3.1 init scrip
ii  zlib1g                        1:1.2.3-13 compression library - runtime

util-linux recommends no packages.

-- no debconf information

#1 lore raw
Quoted 4 lines · J M Cerqueira Esteves

I submited the attached report to the Debian bug tracking system, but just now I noticed that that segfault of hwclock with libc6-i686 (in a guest Debian testing system) only occurs if the virtual machine is started with -kernel-kqemu. Could this be related to some kqemu bug?

Obviously, yes.

Paul

#2 lore raw

[Qemu-devel] Asking about testing new added device

Hi all,
I use Qemu to simulate ARM system. I add a simple LED device at IO port address 0x1b000000 (because this address is marqued "reserved" in IntegratorCP documentation).
So to test this LED device, I write an application and also a driver which use the function:
outb(0x1b000000, 65);
But I can not execute this function.
I also found that to execute this function, I must execute the function iopl() or ioperm() ; but I think that there is not these function for ARM target because I try to include sys/io.h , but the compiler for ARM target did not find these included files.
Do you have any ideas?
Thanks a lot for your responses.
Tieu

---------------------------------
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail Beta.