From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 111c93,b1ea679f343925db X-Google-Attributes: gid111c93,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!newsfeed.stueberl.de!ecngs!feeder.ecngs.de!195.40.0.165.MISMATCH!easynet-monga!easynet.net!news-peer-lilac.gradwell.net!not-for-mail Message-ID: <$Hemw9P2DY+BFwp8@wookie.demon.co.uk> Date: Fri, 28 Jan 2005 00:01:58 +0000 From: John Beardmore Newsgroups: comp.os.linux.alpha Subject: Re: Debian v3r3 - How do I find what is in the default kernel ? References: Organization: the Saab graveyard ! MIME-Version: 1.0 Content-Type: text/plain;charset=us-ascii;format=flowed User-Agent: Turnpike/6.04-U () NNTP-Posting-Date: 28 Jan 2005 00:11:28 GMT NNTP-Posting-Host: 81.187.247.166 X-Trace: 1106871088 news.aaisp.net.uk 23053 81.187.247.166 X-Complaints-To: aaispnews-abuse@gradwell.net Xref: g2news1.google.com comp.os.linux.alpha:602 In message , Atro Tossavainen writes >John Beardmore writes: >> OK. I took "Error 1" to mean something should be fixed. > >Yes, it is something to be fixed, if the compilation didn't result in >an .o file of 100 or so kilobytes. > >> OK, forgive my utter ignorance, but where is it writing the output >> files, and what should I expect ? I was assuming iteraid.o, but I can't >> see a new one. > >Your assumption is correct and you are in fact getting a fatal error. >I can't tell you why, but I managed to compile 2.4.29 and the module >just fine. OK, that's reassuring. > The stuff I've built is for the XL266, so it probably >wouldn't work on your machine, but if you send me your .config in >e-mail (remove the obvious garbage from the address above) I can try >to build you a kernel for your machine if you'd like me to. Let's set aside that very kind offer for a moment. My first problem is that although I can build 2.4.29 SMP, it still bombs out and I don't know why. Come to think of it, I don't really know where to start looking. As my most immediate need is to get access to the big new disk, I'm now trying a single processor build of 2.4.29, so I'll see how I get on with that, i.e. will it boot, will it access the disk with the generic ATA drivers. The odd thing is that as it compiles, I can see the switches to gcc include -mcpu=ev4 and -mev6. Man gcc doesn't explicitly describe -mev6, but it does say "-m68040 Generate output for a 68040. This is the default when the compiler is configured for 68040-based systems." Man gcc doesn't refer to -mcpu=cpu-type for the Alpha, but re MIPS, it also says: "-mcpu=cpu-type Assume the defaults for the machine type cpu-type when scheduling instructions. The default cpu-type is default, which picks the longest cycles times for any of the machines, in order that the code run at reasonable rates on all MIPS cpu's. Other choices for cpu-type are r2000, r3000, r4000, and r6000. While picking a specific cpu-type will schedule things appropriately for that particular chip, the compiler will not generate any code that does not meet level 1 of the MIPS ISA (instruction set architecture) without the -mips2 or -mips3 switches being used." so by extrapolation, I'd assume that this would generate code for EV6, but schedule instructions for EV4. The installed CPUs are all EV4s, so why is it compiling for anything other than that ? I don't see where I can configure the particular CPU it generates code for, but will generating instructions for EV6 result in incompatible code being produced, or just in some loss of optimisation ? Maybe this is the root cause of my problem ? .config says the CPU is EV4, so where might the EV6 reference be coming from ? Cheers, J/. -- John Beardmore