Skip to contentSkip to conversation

unable to boot systemrescuecd with tcg only?

Qemu-devel Michael S. Tsirkin 4 participants 10 messages Apr 15, 2013 – Apr 17, 2013

lore
Share & tools
lore
#0 lore raw

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Try to boot:

./x86_64-softmmu/qemu-system-x86_64 -net user -net nic -snapshot -cdrom \
~/images/systemrescuecd-x86-2.8.0.iso

Select option: all files cached to memory.

Error: XZ compressed data is corrupt.

Try version 1.2.2 (in F18)

qemu-system-x86_64 -net user -net nic -snapshot -cdrom \
~/images/systemrescuecd-x86-2.8.0.iso

Boots fine, gets to keyboard prompt.

Try with kvm:

./x86_64-softmmu/qemu-system-x86_64 -enable-kvm -net user -net nic -snapshot -cdrom \
~/images/systemrescuecd-x86-2.8.0.iso

Boots fine, gets to keyboard prompt.

Didn't try bisecting yet.

Signature · 1 line
MST
#1 lore raw
Quoted 4 lines · Michael S. Tsirkin

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

#2 lore raw

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 10 lines · Michael S. Tsirkin
Quoted 4 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Paolo

#3 lore raw

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 5 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me. No XZ error and it boots fine in 3-4 minutes.

BTW, the cache option fails to cache things for me due to lack of memory (requires 512M). I also tried with "-m 1024", but it still succeeds.

Paolo

#4 lore raw
Quoted 13 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 12 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 10 lines · Michael S. Tsirkin
Quoted 4 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Quoted 9 lines
Quoted 1 line

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me. No XZ error and it boots fine in 3-4 minutes.

BTW, the cache option fails to cache things for me due to lack of memory (requires 512M). I also tried with "-m 1024", but it still succeeds.

I am also not able to reproduce the problem, neither with 1.4.0 nor with current master.

Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#5 lore raw
In reply to Paolo Bonzini
Quoted 13 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 12 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 10 lines · Michael S. Tsirkin
Quoted 4 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Quoted 4 lines
Quoted 1 line

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me.

2.0.8?

Hmm maybe the issue is I'm on a 32 bit host ...

Quoted 7 lines

No XZ
error and it boots fine in 3-4 minutes.

BTW, the cache option fails to cache things for me due to lack of memory (requires 512M). I also tried with "-m 1024", but it still succeeds.

Paolo

#6 lore raw
Quoted 14 lines · Michael S. Tsirkin
Quoted 13 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 12 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 10 lines · Michael S. Tsirkin
Quoted 4 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Quoted 9 lines
Quoted 4 lines
Quoted 1 line

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me.

2.0.8?

Hmm maybe the issue is I'm on a 32 bit host ...

It's an important information. With it I am able to reproduce the issue.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#7 lore raw
Quoted 20 lines · Aurelien Jarno
Quoted 19 lines · Michael S. Tsirkin
Quoted 17 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 5 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me.

Quoted 7 lines
Quoted 4 lines

2.0.8?

Hmm maybe the issue is I'm on a 32 bit host ...

It's an important information. With it I am able to reproduce the issue.

I have bisected the issue to:

| f437d0a3c24e471a855da33a086fe529e09a06af is the first bad commit
| commit f437d0a3c24e471a855da33a086fe529e09a06af
| Author: Richard Henderson <[email protected]>
| Date:   Tue Feb 19 21:06:31 2013 -0800
| 
|     target-i386: Use movcond to implement shiftd.
| 
|     With this being all straight-line code, it can get deleted
|     when the cc variables die.
| 
|     Signed-off-by: Richard Henderson <[email protected]>
Signature · 2 lines
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net
#8 lore raw
Quoted 31 lines · Aurelien Jarno
Quoted 20 lines · Aurelien Jarno
Quoted 19 lines · Michael S. Tsirkin
Quoted 17 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 5 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me.

Quoted 7 lines
Quoted 4 lines

2.0.8?

Hmm maybe the issue is I'm on a 32 bit host ...

It's an important information. With it I am able to reproduce the issue.

I have bisected the issue to:

Quoted 12 lines
| f437d0a3c24e471a855da33a086fe529e09a06af is the first bad commit
| commit f437d0a3c24e471a855da33a086fe529e09a06af
| Author: Richard Henderson <[email protected]>
| Date:   Tue Feb 19 21:06:31 2013 -0800
|
|     target-i386: Use movcond to implement shiftd.
|
|     With this being all straight-line code, it can get deleted
|     when the cc variables die.
|
|     Signed-off-by: Richard Henderson <[email protected]>

Ah. I'll see what I can do. Downloading 350M might not be possible while I'm traveling though, so any help producing a reduced test case would be appreciated.

r~

#9 lore raw
Quoted 45 lines · Richard Henderson
Quoted 31 lines · Aurelien Jarno
Quoted 20 lines · Aurelien Jarno
Quoted 19 lines · Michael S. Tsirkin
Quoted 17 lines · Paolo Bonzini

Il 15/04/2013 17:02, Paolo Bonzini ha scritto:

Quoted 5 lines

Il 15/04/2013 11:18, Michael S. Tsirkin ha scritto:

Quoted 4 lines · Michael S. Tsirkin
Quoted 3 lines

Get system rescue CD version 2.8.0 here:
http://www.sysresccd.org/Sysresccd-versions

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Verify md5 checksum: 450305b2c3ac12d5c97ff849ca178586

Note: tried version 2.1.0, that boots fine. Tried version 3.5.0, that hangs on boot
(or maybe it's just too slow? gave up after 15 min). In all cases -enable-kvm makes it work fine.

Reproduced it too (by chance :)) with Fedora 16. Trying to bisect now.

Hmm, no, must be a different thing. It was in a "seemingly innocuous" patch at the top of my tree, and system rescue CD works for me.

Quoted 7 lines
Quoted 4 lines

2.0.8?

Hmm maybe the issue is I'm on a 32 bit host ...

It's an important information. With it I am able to reproduce the issue.

I have bisected the issue to:

Quoted 12 lines
| f437d0a3c24e471a855da33a086fe529e09a06af is the first bad commit
| commit f437d0a3c24e471a855da33a086fe529e09a06af
| Author: Richard Henderson <[email protected]>
| Date:   Tue Feb 19 21:06:31 2013 -0800
|
|     target-i386: Use movcond to implement shiftd.
|
|     With this being all straight-line code, it can get deleted
|     when the cc variables die.
|
|     Signed-off-by: Richard Henderson <[email protected]>
Quoted 4 lines

Ah. I'll see what I can do. Downloading 350M might not be possible while I'm traveling though, so any help producing a reduced test case would be appreciated.

I'll try to work on that. For now I have determined the problem is on the gen_shiftd_rm_T1 side, the gen_shift_rm_T1 part is fine (at least it's not the one triggering the issue).

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net