Skip to contentSkip to conversation

xen 2.0/2.0.1 reboots silently on via C3-cpu

DISCUSSION Rupert Schlick 3 participants 6 messages Dec 3, 2004 – Dec 4, 2004 Kbuild

lore
Share & tools
lore
#0 lore raw

On my lex mainboard with a Via C3 cpu, xen 2.0(.1) reboots (nearly) immediately without any outputs.

The same setup/version boots without problems on a via epia M board with a Via C3-2 cpu (Nehemia), having a rather different chipset.

Starting with option noreboot, nobiostables doesn't change anything visible.

Is this a known problem? Or just a knowingly unsupported chipset?

Have you any hints how to track down this problem?

thanks

Rupert

----
output from lspci, slightly reformetted for readability:
0000:00:00.0
Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)

0000:00:01.0
PCI bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP]

0000:00:07.0
ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev
40)

0000:00:07.1
IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)

0000:00:07.2
USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)

0000:00:07.3
USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1a)

0000:00:07.4
Bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)

0000:00:07.5
Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 50)

0000:00:08.0
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

0000:00:09.0
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

0000:00:0b.0
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

0000:01:00.0
VGA compatible controller: Trident Microsystems CyberBlade/i1 (rev 6a)

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#1 lore raw
Quoted 2 lines · Rupert Schlick

On my lex mainboard with a Via C3 cpu, xen 2.0(.1) reboots (nearly) immediately without any outputs.

Adam Sulmicki has been working this problem. Take a look at the logs if there are any to see what he is doing.

It is a C3 limitation coupled with Xen's dependence on 4M page tables, among other things.

ron

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#2 lore raw
Quoted 8 lines · Ronald G. Minnich
Quoted 2 lines

On my lex mainboard with a Via C3 cpu, xen 2.0(.1) reboots (nearly) immediately without any outputs.

Adam Sulmicki has been working this problem. Take a look at the logs if there are any to see what he is doing.

It is a C3 limitation coupled with Xen's dependence on 4M page tables, among other things.

that is probably correct but .. just for sake of completeness.. which exactly C3 cpu is this ? Pasting /proc/cpuinfo would give good information.

I also expect to send updated patch to the list on Monday which should address all know in issues. FWIW, the issues I ran so far and fixed were:

1) lack of 4mb page tables
2) lack of support for CMOVE

also, I have this weird problem where the /etc/init.d/xend does not seem to work anymore with 4kb pages (as tested on pentium 3 with PAE disabled). That seems quie weird. any ideas?

Adam,
who ponders if there exists 686 python version with cmove support... me goes off to check.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

#3 lore raw

Am Sam, den 04.12.2004 schrieb Adam Sulmicki um 1:24:

Quoted 8 lines · Ronald G. Minnich
Quoted 7 lines
Quoted 3 lines

On my lex mainboard with a Via C3 cpu, xen 2.0(.1) reboots (nearly) immediately without any outputs.

Adam Sulmicki has been working this problem. Take a look at the logs if there are any to see what he is doing.

Quoted 6 lines
Quoted 2 lines

It is a C3 limitation coupled with Xen's dependence on 4M page tables, among other things.

that is probably correct but .. just for sake of completeness.. which exactly C3 cpu is this ? Pasting /proc/cpuinfo would give good information.

cpuinfo of the rebooting machine:

processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 7
model name : VIA Samuel 2
stepping : 3
cpu MHz : 531.930
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow
bogomips : 1044.48

Maybe of some use too, cpuinfo of the _working_ machine:

processor : 0
vendor_id : CentaurHauls
cpu family : 6
model : 9
model name : VIA Nehemiah
stepping : 5
cpu MHz : 999.858
cache size : 64 KB
fdiv_bug : no
hlt_bug : yes
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu tsc msr cx8 cmov mmx sse rng rng_en
bogomips : 1992.29

Review

Quoted 6 lines

I also expect to send updated patch to the list on Monday which should address all know in issues. FWIW, the issues I ran so far and fixed were:

(quoted diff) +0 -0
 	1) lack of 4mb page tables
 	2) lack of support for CMOVE

So there is hope, at least. :-)

Rupert

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#4 lore raw
Quoted 2 lines · Rupert Schlick

vendor_id : CentaurHauls
model name : VIA Samuel 2

yeah, that's the "bad" one.

Quoted 10 lines

vendor_id : CentaurHauls
model name : VIA Nehemiah

Review

Quoted 6 lines

I also expect to send updated patch to the list on Monday which should address all know in issues. FWIW, the issues I ran so far and fixed were:

(quoted diff) +0 -0
 	1) lack of 4mb page tables
 	2) lack of support for CMOVE

So there is hope, at least. :-)

if you are up to experimenting:

1) find the patch I posted on list, apply it (note that the email had two attachements, you want only one)

http://article.gmane.org/gmane.comp.emulators.xen.devel/3669
http://sourceforge.net/mailarchive/message.php?msg_id=10116333

2) edit Rules.mk

usr/src/cm/xen/xen-2.0.bk-old/xen/arch/x86/Rules.mk 2004-12-03 11:40:52.000000000 -0700 renamed from usr/src/cm/xen/xen-2.0.bk-old/xen/arch/x86/Rules.mk-backup 2004-11-15 11:00:51.000000000 -0700 +1 -1
@@ -12,7 +12,7 @@
 CFLAGS  += -msoft-float
 
 ifeq ($(TARGET_SUBARCH),x86_32)
-CFLAGS  += -m32 -march=i686
+CFLAGS  += -m32 -march=i586
 LDFLAGS := --oformat elf32-i386
 endif
 

3) add "nosmp" and "noacpi" to xen boot params,

... and see how far you get.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

#5 lore raw

Am Sam, den 04.12.2004 schrieb Adam Sulmicki um 19:37:

Quoted 11 lines · Rupert Schlick
Quoted 3 lines

vendor_id : CentaurHauls
model name : VIA Samuel 2

yeah, that's the "bad" one.

Quoted 2 lines

vendor_id : CentaurHauls
model name : VIA Nehemiah

if you are up to experimenting:

<snipped out>

Quoted 1 line

... and see how far you get.

It may take me some days to find the time - so I think it makes more sense to try with the updated patch which you plan to send on Monday (as you mentioned in your second last message).

Rupert

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/