Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-12 Thread Jamie Lokier
[EMAIL PROTECTED] wrote: > > Sounds like you got caught by the conditional move instruction that is > > generated for 686. It causes oops on 586, and somewhere in the oops or > > printk code you hit another cmove. Double fault, kernel hang. > > Ah yes, it all comes back to me now :) > Also

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-12 Thread davej
On Thu, 12 Oct 2000, Keith Owens wrote: > Sounds like you got caught by the conditional move instruction that is > generated for 686. It causes oops on 586, and somewhere in the oops or > printk code you hit another cmove. Double fault, kernel hang. Ah yes, it all comes back to me now :) Also

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-12 Thread davej
On Thu, 12 Oct 2000, Keith Owens wrote: Sounds like you got caught by the conditional move instruction that is generated for 686. It causes oops on 586, and somewhere in the oops or printk code you hit another cmove. Double fault, kernel hang. Ah yes, it all comes back to me now :) Also

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-12 Thread Jamie Lokier
[EMAIL PROTECTED] wrote: Sounds like you got caught by the conditional move instruction that is generated for 686. It causes oops on 586, and somewhere in the oops or printk code you hit another cmove. Double fault, kernel hang. Ah yes, it all comes back to me now :) Also explains why

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Michael Meissner
On Wed, Oct 11, 2000 at 02:26:08PM +0100, [EMAIL PROTECTED] wrote: > I actually thought that the i686 target was the same as the i586 target > with different instruction scheduling rules. Seems my judgement was off. > /me goes to read gcc docs i686 has conditional integer move and conditional

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Keith Owens
On Wed, 11 Oct 2000 14:26:08 +0100 (BST), [EMAIL PROTECTED] wrote: >I actually thought that the i686 target was the same as the i586 target >with different instruction scheduling rules. Seems my judgement was off. >/me goes to read gcc docs Sounds like you got caught by the conditional move

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread davej
On Wed, 11 Oct 2000, Frank de Lange wrote: > Solved the problem with Winchip not booting. It turns out they do not like the > code generated by gcc (gcc version 2.95.2 19991024 (release)) when the > -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot > like it should.

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Alan Cox
> code generated by gcc (gcc version 2.95.2 19991024 (release)) when the > -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot > like it should. Thats the correct fix. > gcc does bad things to these processors. Anyway, included is a small patch to > solve these problems

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Mikael Pettersson
On Wed, 11 Oct 2000, Frank de Lange wrote: >Solved the problem with Winchip not booting. It turns out they do not like the >code generated by gcc (gcc version 2.95.2 19991024 (release)) when the >-march=i686 flag is set. Changing this flag to -march=i586 makes to box boot >like it should. That

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Mikael Pettersson
On Wed, 11 Oct 2000, Frank de Lange wrote: Solved the problem with Winchip not booting. It turns out they do not like the code generated by gcc (gcc version 2.95.2 19991024 (release)) when the -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot like it should. That

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Alan Cox
code generated by gcc (gcc version 2.95.2 19991024 (release)) when the -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot like it should. Thats the correct fix. gcc does bad things to these processors. Anyway, included is a small patch to solve these problems with

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread davej
On Wed, 11 Oct 2000, Frank de Lange wrote: Solved the problem with Winchip not booting. It turns out they do not like the code generated by gcc (gcc version 2.95.2 19991024 (release)) when the -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot like it should. Makes

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Keith Owens
On Wed, 11 Oct 2000 14:26:08 +0100 (BST), [EMAIL PROTECTED] wrote: I actually thought that the i686 target was the same as the i586 target with different instruction scheduling rules. Seems my judgement was off. /me goes to read gcc docs Sounds like you got caught by the conditional move

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-11 Thread Michael Meissner
On Wed, Oct 11, 2000 at 02:26:08PM +0100, [EMAIL PROTECTED] wrote: I actually thought that the i686 target was the same as the i586 target with different instruction scheduling rules. Seems my judgement was off. /me goes to read gcc docs i686 has conditional integer move and conditional

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread davej
On Wed, 11 Oct 2000, Frank de Lange wrote: > Oops... looks like I was too quick to cry success... Argh! > It does NOT work, even with the patch. I tried it again and again, and > could not get it to boot. I probably put a wrong (Pentium MMX) kernel > on the flashdisk when I first tested your

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
Hi'all, Solved the problem with Winchip not booting. It turns out they do not like the code generated by gcc (gcc version 2.95.2 19991024 (release)) when the -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot like it should. I do not have a working egcs 1.1.x or gcc

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
OK, some more info on the hang with the Winchip2A: it seems to hang in arch/i386/kernel/setup.c, function print_memory_map, on the first iteration of the loop. If I target to Pentium MMX and run it on the same (Win)chip, all's well. There's something wrong here, but it is not in that piece of

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Alan Cox
> Ok, I've narrowed it down to the changes to mtrr.c in test8 > Looks like the Cyrix III changes broke things. > Didn't something similar happen when these changes made it into > a 2.2.18pre ? Alan? 2.2.18pre12 or so had a bug with Winchip but its fixed in pre15 I believe, at least my winchip is

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
On Tue, Oct 10, 2000 at 06:10:48PM -0700, James Simmons wrote: > > Dave, > > > > This patch fixed the problems, for now. The system now boots OK, and seems to > > run OK (have not hit it very hard yet since it currently runs without a > > heatsink). Tnanks... > > > > Cheers//Frank Oops...

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
James, The patch I referred to can be found in Dave's message... I gave him some feedback on the problems with Winchips... Cheers//Frank -- W ___ ## o o\/ Frank de Lange \ }# \| / \ ##---# _/ \ \

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread James Simmons
Either you forgot to attach the patch for it was bigger than 40K. On Tue, 10 Oct 2000, Frank de Lange wrote: > Dave, > > This patch fixed the problems, for now. The system now boots OK, and seems to > run OK (have not hit it very hard yet since it currently runs without a > heatsink).

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
Dave, This patch fixed the problems, for now. The system now boots OK, and seems to run OK (have not hit it very hard yet since it currently runs without a heatsink). Tnanks... Cheers//Frank -- W ___ ## o o\/ Frank de Lange \ }# \| /

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread davej
> I tried the patch, but the result is the same... Uncompressing Linux..., > now booting the kernel..., NOTHING > These Winchips need all the help they can get, so if you know something > else I might try... Ok, I've narrowed it down to the changes to mtrr.c in test8 Looks like the Cyrix

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread davej
I tried the patch, but the result is the same... Uncompressing Linux..., now booting the kernel..., NOTHING These Winchips need all the help they can get, so if you know something else I might try... Ok, I've narrowed it down to the changes to mtrr.c in test8 Looks like the Cyrix III

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
Dave, This patch fixed the problems, for now. The system now boots OK, and seems to run OK (have not hit it very hard yet since it currently runs without a heatsink). Tnanks... Cheers//Frank -- W ___ ## o o\/ Frank de Lange \ }# \| /

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread James Simmons
Either you forgot to attach the patch for it was bigger than 40K. On Tue, 10 Oct 2000, Frank de Lange wrote: Dave, This patch fixed the problems, for now. The system now boots OK, and seems to run OK (have not hit it very hard yet since it currently runs without a heatsink). Tnanks...

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
James, The patch I referred to can be found in Dave's message... I gave him some feedback on the problems with Winchips... Cheers//Frank -- W ___ ## o o\/ Frank de Lange \ }# \| / \ ##---# _/ Hacker for Hire \

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
On Tue, Oct 10, 2000 at 06:10:48PM -0700, James Simmons wrote: Dave, This patch fixed the problems, for now. The system now boots OK, and seems to run OK (have not hit it very hard yet since it currently runs without a heatsink). Tnanks... Cheers//Frank Oops... looks like I was

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Alan Cox
Ok, I've narrowed it down to the changes to mtrr.c in test8 Looks like the Cyrix III changes broke things. Didn't something similar happen when these changes made it into a 2.2.18pre ? Alan? 2.2.18pre12 or so had a bug with Winchip but its fixed in pre15 I believe, at least my winchip is

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
OK, some more info on the hang with the Winchip2A: it seems to hang in arch/i386/kernel/setup.c, function print_memory_map, on the first iteration of the loop. If I target to Pentium MMX and run it on the same (Win)chip, all's well. There's something wrong here, but it is not in that piece of

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread Frank de Lange
Hi'all, Solved the problem with Winchip not booting. It turns out they do not like the code generated by gcc (gcc version 2.95.2 19991024 (release)) when the -march=i686 flag is set. Changing this flag to -march=i586 makes to box boot like it should. I do not have a working egcs 1.1.x or gcc

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-10 Thread davej
On Wed, 11 Oct 2000, Frank de Lange wrote: Oops... looks like I was too quick to cry success... Argh! It does NOT work, even with the patch. I tried it again and again, and could not get it to boot. I probably put a wrong (Pentium MMX) kernel on the flashdisk when I first tested your

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-09 Thread Frank de Lange
Hi Dave, I tried the patch, but the result is the same... Uncompressing Linux..., now booting the kernel..., NOTHING These Winchips need all the help they can get, so if you know something else I might try... Cheers//Frank -- W ___ ## o o\/ Frank de

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-09 Thread davej
[EMAIL PROTECTED] (Frank de Lange) wrote.. > Subject says it all... If I select 'Winchip 2' or 'Winchip 2A/Winchip 3' > for 'Processor Family' and try to boot the kernel on an iopener with a > Winchip 2A, the show stops right after the 'decompressing the > kernel...' line is displayed.

2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-09 Thread Frank de Lange
Hiya, Subject says it all... If I select 'Winchip 2' or 'Winchip 2A/Winchip 3' for 'Processor Family' and try to boot the kernel on an iopener with a Winchip 2A, the show stops right after the 'decompressing the kernel...' line is displayed. Nothing happens. It just freezes... Cheers//Frank

2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-09 Thread Frank de Lange
Hiya, Subject says it all... If I select 'Winchip 2' or 'Winchip 2A/Winchip 3' for 'Processor Family' and try to boot the kernel on an iopener with a Winchip 2A, the show stops right after the 'decompressing the kernel...' line is displayed. Nothing happens. It just freezes... Cheers//Frank

Re: 2.4.0-test9 + Winchip2/2A processor family == hang on boot

2000-10-09 Thread davej
[EMAIL PROTECTED] (Frank de Lange) wrote.. Subject says it all... If I select 'Winchip 2' or 'Winchip 2A/Winchip 3' for 'Processor Family' and try to boot the kernel on an iopener with a Winchip 2A, the show stops right after the 'decompressing the kernel...' line is displayed. Nothing