QEMU fails with 2.6.0-test3-bk9 ...
Hi Fabrice!
qemu 0.4.3 and the CVS version, both fail on
linux 2.6.0-test3-bk9 ...
the cvs version:
Program received signal SIGSEGV, Segmentation fault. 0xa801e76a in disas_insn (s=Cannot access memory at address 0x100050 ) at /home/qemu/qemu.cvs/cpu-all.h:26
26 return *(uint8_t *)ptr;
(gdb) where
#0 0xa801e76a in disas_insn (s=Cannot access memory at address 0x100050 ) at /home/qemu/qemu.cvs/cpu-all.h:26
#1 0xbffff2e0 in ?? ()
Cannot access memory at address 0x100000
and the 0.4.3 release:
Program received signal SIGSEGV, Segmentation fault. 0xa83a86c0 in code_gen_buffer ()
(gdb) where
#0 0xa83a86c0 in code_gen_buffer () #1 0xa8004fac in cpu_x86_exec (env1=0x0) at cpu-exec.c:338 #2 0x00023800 in ?? () #3 0x1b7e847f in ?? ()
Cannot access memory at address 0xab1e93e2
kernel config:
CONFIG_X86=yCONFIG_MMU=yCONFIG_UID16=yCONFIG_GENERIC_ISA_DMA=yCONFIG_EXPERIMENTAL=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_EMBEDDED=yCONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_MODULES=yCONFIG_OBSOLETE_MODPARM=yCONFIG_KMOD=yCONFIG_X86_PC=yCONFIG_MPENTIUMII=yCONFIG_QEMU=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_TSC=yCONFIG_X86_MCE=yCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=yCONFIG_LBD=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IPV6_SCTP__=yCONFIG_NETDEVICES=yCONFIG_DUMMY=yCONFIG_NET_ETHERNET=yCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_SOUND_GAMEPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_JBD=yCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=yCONFIG_JFS_FS=yCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=yCONFIG_XFS_POSIX_ACL=yCONFIG_QUOTA=yCONFIG_QFMT_V1=yCONFIG_QFMT_V2=yCONFIG_QUOTACTL=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_DEBUG_SPINLOCK_SLEEP=yCONFIG_X86_BIOS_REBOOT=y
sorry, false alarm, although qemu/vl error reporting could be a little bit more informative ;)
arch/i386/vmlinux.lds.S was moved to arch/i386/kernel/vmlinux.lds.S between 2.6.0-test3-bk6 and 2.6.0-test3-bk7 and Rusty's patch needed an update ...
now everything is fine again ...
am I still subscribed to the qemu mailing list? is the list down? didn't get a message since Aug 11 ...
best,
Herbert
Quoted 126 lines · Herbert Pötzl
Hi Fabrice!
qemu 0.4.3 and the CVS version, both fail on
linux 2.6.0-test3-bk9 ...the cvs version:
Program received signal SIGSEGV, Segmentation fault.
0xa801e76aindisas_insn(s=Cannot access memory at address0x100050) at/home/qemu/qemu.cvs/cpu-all.h:26
26 return *(uint8_t *)ptr;
(gdb) where
#00xa801e76aindisas_insn(s=Cannot access memory at address0x100050) at/home/qemu/qemu.cvs/cpu-all.h:26
#10xbffff2e0in ?? ()
Cannot access memory at address0x100000and the 0.4.3 release:
Program received signal SIGSEGV, Segmentation fault.
0xa83a86c0incode_gen_buffer()
(gdb) where#0 0xa83a86c0 in code_gen_buffer () #1 0xa8004fac in cpu_x86_exec (env1=0x0) at cpu-exec.c:338 #2 0x00023800 in ?? () #3 0x1b7e847f in ?? ()Cannot access memory at address
0xab1e93e2kernel config:
CONFIG_X86=yCONFIG_MMU=yCONFIG_UID16=yCONFIG_GENERIC_ISA_DMA=yCONFIG_EXPERIMENTAL=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_EMBEDDED=yCONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_MODULES=yCONFIG_OBSOLETE_MODPARM=yCONFIG_KMOD=yCONFIG_X86_PC=yCONFIG_MPENTIUMII=yCONFIG_QEMU=yCONFIG_X86_CMPXCHG=yCONFIG_X86_XADD=yCONFIG_X86_L1_CACHE_SHIFT=5CONFIG_RWSEM_XCHGADD_ALGORITHM=yCONFIG_X86_WP_WORKS_OK=yCONFIG_X86_INVLPG=yCONFIG_X86_BSWAP=yCONFIG_X86_POPAD_OK=yCONFIG_X86_GOOD_APIC=yCONFIG_X86_INTEL_USERCOPY=yCONFIG_X86_USE_PPRO_CHECKSUM=yCONFIG_X86_TSC=yCONFIG_X86_MCE=yCONFIG_NOHIGHMEM=yCONFIG_MTRR=yCONFIG_KCORE_ELF=yCONFIG_BINFMT_ELF=yCONFIG_BLK_DEV_LOOP=mCONFIG_BLK_DEV_RAM=yCONFIG_BLK_DEV_RAM_SIZE=4096CONFIG_BLK_DEV_INITRD=yCONFIG_LBD=yCONFIG_IDE=yCONFIG_BLK_DEV_IDE=yCONFIG_BLK_DEV_IDEDISK=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IP_MULTICAST=yCONFIG_IPV6_SCTP__=yCONFIG_NETDEVICES=yCONFIG_DUMMY=yCONFIG_NET_ETHERNET=yCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=yCONFIG_INPUT_MOUSEDEV_SCREEN_X=1024CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768CONFIG_SOUND_GAMEPORT=yCONFIG_INPUT_KEYBOARD=yCONFIG_SERIAL_8250=yCONFIG_SERIAL_8250_CONSOLE=yCONFIG_SERIAL_CORE=yCONFIG_SERIAL_CORE_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_EXT2_FS=yCONFIG_EXT2_FS_XATTR=yCONFIG_EXT2_FS_POSIX_ACL=yCONFIG_EXT3_FS=yCONFIG_EXT3_FS_XATTR=yCONFIG_EXT3_FS_POSIX_ACL=yCONFIG_JBD=yCONFIG_FS_MBCACHE=yCONFIG_REISERFS_FS=yCONFIG_JFS_FS=yCONFIG_FS_POSIX_ACL=yCONFIG_XFS_FS=yCONFIG_XFS_POSIX_ACL=yCONFIG_QUOTA=yCONFIG_QFMT_V1=yCONFIG_QFMT_V2=yCONFIG_QUOTACTL=yCONFIG_PROC_FS=yCONFIG_DEVPTS_FS=yCONFIG_TMPFS=yCONFIG_RAMFS=yCONFIG_MSDOS_PARTITION=yCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_DEBUG_SPINLOCK_SLEEP=yCONFIG_X86_BIOS_REBOOT=y
[Qemu-devel] QEMU config
Quoted 3 lines
am I still subscribed to the qemu mailing
list? is the list down? didn't get a
message since Aug 11 ...
I made commits the last few days - you should have received them by the mailing list.
BTW, I plan to rename qemu to qemu-user[-i386] and vl to qemu before releasing 0.4.4. I also plan to remove most command line options to 'vl' and to force the use of a configuration file such as:
vl linux.qemu
with linux.qemu containing:
kernel=xxxx
hda=xxxx
It is needed now to have enough flexibility for full PC simulation and also to simplify vl usage for novice users.
Fabrice.
[Qemu-devel] Re: QEMU config
Quoted 6 lines · Fabrice Bellard
Quoted 3 lines
am I still subscribed to the qemu mailing
list? is the list down? didn't get a
message since Aug 11 ...I made commits the last few days - you should have received them by the mailing list.
L Aug 11 Fabrice Bellard 20 [Qemu-devel] qemu README L Aug 11 Fabrice Bellard 20 [Qemu-devel] qemu Makefile L Aug 20 Fabrice Bellard 29 [Qemu-devel] qemu cpu-exec.c cpu-i386.h e 138 N F Aug 22 Herbert Pötzl 133 [Qemu-devel] QEMU fails with 2.6.0-test3-
thats all I got recently ...
Quoted 3 lines
BTW, I plan to rename qemu to qemu-user[-i386] and vl to qemu before releasing 0.4.4. I also plan to remove most command line options to 'vl' and to force the use of a configuration file such as:
no problem with that, but could you make the
qemu-doc.html optional, as I had to comment
it out several times in a no-texi2html env?
Quoted 9 lines
vl linux.qemu
with linux.qemu containing:
kernel=xxxx
hda=xxxxIt is needed now to have enough flexibility for full PC simulation and also to simplify vl usage for novice users.
what about gdb ;) ... and ... :| ... breakpoints .... :(
best,
Herbert
Quoted 1 line
Fabrice.
Re: [Qemu-devel] QEMU config
In reply to Fabrice BellardIn message <[email protected]> you write:
Quoted 9 lines
releasing 0.4.4. I also plan to remove most command line options to 'vl' and to force the use of a configuration file such as:
vl linux.qemu
with linux.qemu containing:
kernel=xxxx
hda=xxxx
Please don't. Writing YA config file is always a PITA, and just invites you to add thousands of options in the future. I'd really prefer a .qemurc which gets overridden by cmdline options, though.
Or at least allow "vl -" so I can echo the options in...
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
Re: [Qemu-devel] QEMU config
On Mon, Aug 25, 2003 at 01:57:41PM +1000, Rusty Russell wrote:
[reply to original posting, covered as follow up] ]In-reply-to: Your message of "Fri, 22 Aug 2003 08:45:15 +0200."
] <[email protected]>
so even Rusty Russel does not honor threaded mailing? maybe this is a sign, but I do not know for what yet ...
best,
Herbert
A message that is not in the archive (sent off-list or not yet received): [email protected]
Re: [Qemu-devel] QEMU config
Hi Rusty!
Quoted 11 lines · Rusty Russell
In message <[email protected]> you write:
Quoted 8 lines · Rusty Russell
[reply to original posting, covered as follow up] ]In-reply-to: Your message of "Fri, 22 Aug 2003 08:45:15 +0200."
] <[email protected]>so even Rusty Russel does not honor threaded mailing? maybe this is a sign, but I do not know for what yet ...
Please explain? I use mh under emacs, BTW.
I have to apologize, it seems that my mail system or mua got confused, or something strange happened ...
your reply referenced <[email protected]> where my thread started as <[email protected]>, <[email protected]>, and here is the strange change <[email protected]> and <[email protected]>, this is the point where both threads seem to overlap, I have no explanation, but I'm sorry that I misinterpreted this fact ...
asking for forgiveness,
Herbert
Quoted 4 lines
Thanks,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.