[kvm-devel] Windows XP activation regression in KVM-60

2008-02-25 Thread Adam Majer
Hi,

Original bug was submitted at http://bugs.debian.org/467043. The summary
is that installs of Windows XP from pre-kvm-60 (pre-59?), then upgrading
to kvm-60 or 61 causes Windows to trigger activation due to "computer
changed too much". Downgrading to kvm-58 or previous resolves the issue.

Haven't tested kvm-59 yet.

The kernel module is not part of the problem. Using kvm-60 kernel
modules with kvm-58 user part works.

CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+

I'm not quite sure what these changes can be, but is it possible revert
any changes that are causing this?

- Adam


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


Re: [kvm-devel] Windows XP activation regression in KVM-60

2008-02-26 Thread Adam Majer
Pelle wrote:
> I THINK this is due to the fact that kvm-60+ uses a realtek nic as 
> default and not the old ne2000.
> You could try specifying -nic,model=ne2k_pci

Yes, this is *part* of the solution. A clean install that was activated
on some old KVM, had some software installed on more recent one only
required the nic to be specified to avoid re-activation.

On a more used image though, it did not help. Reactivation was requested.

Avi Kivity may be right that most of the problem rests with qemu changes...

- Adam


-- 
Mail Etiquette
==
* Quote properly or not at all. Top posters, this applies to you!
* When replying to posts on mailing lists, only address the mailing list
  unless poster explicitly requested you include them in CC

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] OOPS in kernel driver

2007-05-16 Thread Adam Majer
Hi,

I'm using a somewhat "old" kernel with KVM (KVM included in the kernel).
I think it may be KVM-17 or something like that. Anyway, I got an OOPS
in the module while attempting to install Windows Server 2003 Standard
Edition 32-bit.

I just started it with
  kvm -no-acpi -cdrom w2k3.iso w2k3.img

w2k3.img is just a 5G raw image disk.

Linux mira 2.6.21-rc6 #3 SMP Fri Apr 6 02:04:27 CDT 2007 i686 GNU/Linux

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 75
model name  : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping: 2

The OOPS is attached as you probably do not want it reformatted by the
email client.

- Adam

PS. I know. I probably should have used more than 128M ram for the w2k3
server. But KVM shouldn't cause an oops regardless.


KVM version included in that kernel.

kvm: emulating exchange as write
task_switch_interception: task swiche is unsupported
BUG: unable to handle kernel paging request at virtual address 8f9a4f0c
 printing eip:
f8cc729d
*pde = 
Oops:  [#1]
SMP 
Modules linked in: kvm_amd kvm binfmt_misc nvidia(P) agpgart button ac battery 
ipv6 deflate zlib_deflate twofish twofish_common camellia serpent blowfish des 
cbc ecb blkcipher aes xcbc sha256 sha1 crypto_null af_key ext2 mbcache 
dm_snapshot dm_mirror dm_mod it87 hwmon_vid i2c_isa eeprom snd_hda_intel 
snd_hda_codec snd_pcm_oss snd_pcm snd_mixer_oss snd_seq_dummy snd_seq_oss 
snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device 
snd rtc i2c_nforce2 k8temp soundcore snd_page_alloc pcspkr tsdev eth1394 evdev 
i2c_core xfs raid1 md_mod ide_cd sd_mod cdrom pata_amd ata_generic usbhid hid 
sata_nv ohci1394 ieee1394 forcedeth ohci_hcd ehci_hcd generic usbcore amd74xx 
ide_core thermal processor fan
CPU:0
EIP:0060:[]Tainted: P   VLI
EFLAGS: 00010a96   (2.6.21-rc6 #3)
EIP is at kvm_mmu_pre_write+0x133/0x17f [kvm]
eax: c100   ebx: 4d279067   ecx: f4cbe000   edx: ce9a4f00
esi: f4cbe000   edi: e4a2cf04   ebp: e4a2c464   esp: f53ddb40
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process kvm (pid: 5590, ti=f53dc000 task=f76a0540 task.ti=f53dc000)
Stack: 06ab e4a2f508 03fe   c1751380 06ab  
   0002 f8cc44f2 0002 e4a2c464 006ab3fe    
    f8cd0ee0  f53ddc9c f8ccbb21 f53ddc9c e4a2c464 f8cc4a61 
Call Trace:
 [] emulator_write_emulated+0xb4/0x197 [kvm]
 [] x86_emulate_memop+0x23a5/0x3020 [kvm]
 [] set_cr3+0x7c/0x85 [kvm]
 [] x86_emulate_memop+0x2f17/0x3020 [kvm]
 [] safe_gpa_to_hpa+0xa/0x38 [kvm]
 [] emulate_instruction+0xc9/0x23d [kvm]
 [] pf_interception+0xa9/0xff [kvm_amd]
 [] svm_vcpu_run+0x470/0x4f7 [kvm_amd]
 [] __mod_timer+0x90/0x9a
 [] cfq_arm_slice_timer+0xad/0xbc
 [] kvm_vcpu_ioctl+0x0/0x913 [kvm]
 [] kvm_vcpu_ioctl+0x13c/0x913 [kvm]
 [] scsi_run_queue+0x17a/0x189
 [] __scsi_put_command+0x48/0x53
 [] elv_queue_empty+0x1d/0x1e
 [] blk_run_queue+0x1f/0x63
 [] scsi_next_command+0x25/0x2f
 [] scsi_end_request+0x9e/0xa8
 [] scsi_io_completion+0x184/0x35d
 [] clocksource_get_next+0x39/0x3f
 [] do_timer+0x4f6/0x6e1
 [] ata_altstatus+0x1c/0x20
 [] ata_hsm_move+0x70d/0x71d
 [] __activate_task+0x1c/0x29
 [] try_to_wake_up+0x3a1/0x3ab
 [] __sched_text_start+0x6cf/0x781
 [] core_sys_select+0x283/0x2a0
 [] convert_fxsr_to_user+0xef/0x143
 [] find_extend_vma+0x12/0x49
 [] get_futex_key+0x3a/0xe3
 [] find_extend_vma+0x12/0x49
 [] futex_wake+0xa2/0xac
 [] do_futex+0x205/0xb50
 [] default_wake_function+0x0/0xc
 [] kvm_vcpu_ioctl+0x0/0x913 [kvm]
 [] do_ioctl+0x1f/0x62
 [] vfs_ioctl+0x24c/0x25e
 [] sys_futex+0x99/0xac
 [] sys_ioctl+0x4c/0x64
 [] sysenter_past_esp+0x5d/0x81
 ===
Code: 0b 89 f2 89 e8 e8 9d f9 ff ff eb 2a 89 c8 89 da 89 f1 81 e2 ff ff 0f 00 
25 00 f0 ff ff 0f ac d0 0c 89 c2 a1 80 e3 3c c0 c1 e2 05 <8b> 54 02 0c 89 e8 e8 
2f fb ff ff c7 06 00 00 00 00 c7 46 04 00 
EIP: [] kvm_mmu_pre_write+0x133/0x17f [kvm] SS:ESP 0068:f53ddb40
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel