From: John Beardmore <wookie@wookie.demon.co.uk>
Subject: Re: Debian v3r3 - How do I find what is in the default kernel ?
Date: Fri, 28 Jan 2005 00:01:58 +0000 [thread overview]
Message-ID: <$Hemw9P2DY+BFwp8@wookie.demon.co.uk> (raw)
In-Reply-To: pgz4qh3glfx.fsf@kruuna.helsinki.fi
In message <pgz4qh3glfx.fsf@kruuna.helsinki.fi>, Atro Tossavainen
<Atro.Tossavainen+news@helsinki.finland.invalid> writes
>John Beardmore <wookie@wookie.demon.co.uk> 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
next prev parent reply other threads:[~2005-01-28 0:01 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-23 1:36 Debian v3r3 - How do I find what is in the default kernel ? John Beardmore
2005-01-23 8:07 ` Moores family
2005-01-23 10:16 ` John Beardmore
2005-01-24 20:43 ` Lamar Owen
2005-01-24 22:26 ` John Beardmore
2005-01-25 12:15 ` Atro Tossavainen
2005-01-26 10:13 ` John Beardmore
2005-01-26 13:29 ` Atro Tossavainen
2005-01-26 18:51 ` John Beardmore
2005-01-27 18:03 ` Lamar Owen
2005-01-27 21:47 ` John Beardmore
2005-01-27 8:45 ` Atro Tossavainen
2005-01-27 9:33 ` John Beardmore
2005-01-27 11:28 ` Atro Tossavainen
2005-01-28 0:01 ` John Beardmore [this message]
2005-01-28 9:41 ` Atro Tossavainen
2005-01-28 22:37 ` John Beardmore
2005-01-29 22:21 ` Atro Tossavainen
2005-01-29 23:03 ` John Beardmore
2005-02-07 10:38 ` Atro Tossavainen
2005-02-08 10:46 ` alexiss
2005-01-25 20:08 ` Lamar Owen
2005-01-26 9:14 ` John Beardmore
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox