i think, the dosemu devel list is the better place to discuss this -> done.

dosemu does not work on x86_64 systems with a cpu like this:

---  /proc/cpuinfo:
processor       : 7
vendor_id       : AuthenticAMD
cpu family      : 16
model           : 2
model name      : Quad-Core AMD Opteron(tm) Processor 2350
stepping        : 3
cpu MHz         : 1000.000
cache size      : 512 KB
physical id     : 1
siblings        : 4
core id         : 3
cpu cores       : 4
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb 
rdtscp lm 3dnowext 3dnow constant_tsc pni cx16 popcnt lahf_lm cmp_legacy svm 
extapic cr8legacy abm sse4a misalignsse 3dnowprefetch osvw ibs ts ttp tm stc 
100mhzsteps hwpstate
bogomips        : 2001.81

a Message "Unknown CPU type!" will happens on ervery new cpu family, followed 
by different messages...

adding this patch in dosemu-1.4.0/src/base/init/config.c will support the 
current AMD CPUs on x86_64 systems.
 483d482
<       case 16: // support AMD Phenom X3 X4, AMD Athlon II, AMD Opteron 
23xx/83xx

But how about evaluating the cpu flag needed by dosemu?
this prevents dosemu from carrying a list of cpu families.
Currently i have no patch - i dont know the cpu flags needed by dosemu.
Is there someone who can do this?

bye,
Bernd Singer
> > > > CFLAGS="-march=k8 -O2 -pipe
> > >
> > > I have no solution to your problem, but I see that you've
> > got a Phenom
> > > processor
> >
> > I had a similar problem with my Phenom X4 ... on dosemu 1.4.0
> >
> > pleas check if your "cpu family" type from /proc/cpuinfo is
> > listed in  /dosemu-1.4.0/src/base/init/config.c , function
> > read_cpu_info().
> >
> > valid "cpu family" types for dosemu 1.4.0 (from
> > http://dosemu.sourceforge.net/stable/):
> > 5,6,15:
> >     switch (get_proc_intvalue_by_key(
> >           kernel_version_code > 0x20100+74 ? "cpu family" : 
> "cpu" )) {
> >       case 5: case 586:
> >       case 6: case 686:
> >       case 15:
> >
> > If your cpu family is not listed, dosemu tries a fallback to
> > a 386 .. > "Unknown CPU type"
> >
> > Phenom X4, Opteron 23xx, 83xx are family 16, maybe your cpu, too
> >
> Then do I have to manage it to for Gentoo emerge to make it 
> so it works with
> put some patch into so it will work for my system, or someone 
> here can give
> a solution to it works.
> AMD Athlon II X2 245 Processor Family 16 - (works only with 
> --march=k8)
> 
> --- /proc/cpuinfo
>  processor    : 0
> vendor_id     : AuthenticAMD
> cpu family    : 16
> model         : 6
> model name    : AMD Athlon(tm) II X2 245 Processor
> stepping      : 2
> cpu MHz               : 2906.206
> cache size    : 1024 KB
> physical id   : 0
> siblings      : 2
> core id               : 0
> cpu cores     : 2
> apicid                : 0
> initial apicid        : 0
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 5
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep 
> mtrr pge mca
> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
> pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni 
> monitor cx16
> lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
> 3dnowprefetch osvw ibs skinit wdt
> bogomips      : 5812.40
> TLB size      : 1024 4K pages
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 48 bits physical, 48 bits virtual
> power management: ts ttp tm stc 100mhzsteps hwpstate
> 
> processor     : 1
> vendor_id     : AuthenticAMD
> cpu family    : 16
> model         : 6
> model name    : AMD Athlon(tm) II X2 245 Processor
> stepping      : 2
> cpu MHz               : 2906.206
> cache size    : 1024 KB
> physical id   : 0
> siblings      : 2
> core id               : 1
> cpu cores     : 2
> apicid                : 1
> initial apicid        : 1
> fpu           : yes
> fpu_exception : yes
> cpuid level   : 5
> wp            : yes
> flags         : fpu vme de pse tsc msr pae mce cx8 apic sep 
> mtrr pge mca
> cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
> pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni 
> monitor cx16
> lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
> 3dnowprefetch osvw ibs skinit wdt
> bogomips      : 5813.23
> TLB size      : 1024 4K pages
> clflush size  : 64
> cache_alignment       : 64
> address sizes : 48 bits physical, 48 bits virtual
> power management: ts ttp tm stc 100mhzsteps hwpstate
> 
> Can this give a show it it is in the diff file and the listed cpu's.
> 
> I is then need a update way for Gentoo portage and ebuilds to it.

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to