* kbuild 2.5.26 - arch/alpha
@ 2002-07-20 8:41 Martin Brulisauer
0 siblings, 0 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-20 8:41 UTC (permalink / raw)
To: linux-kernel
Is the kernel arch tree for alphas not maintained anymore? If I download
the vanilla 2.5.26 I can't build it at all. Even a make clean fails
due to missing directives in arch/alpha/kernel/Makefile.
Has anybody any idea?
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
@ 2002-07-21 13:54 Martin Brulisauer
[not found] ` <001101c230d7$c5973c40$1211a8c0@pitzeier.priv.at>
2002-07-23 23:54 ` Oliver Pitzeier
0 siblings, 2 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-21 13:54 UTC (permalink / raw)
To: thunder; +Cc: linux-kernel
>>On Sat, 20 Jul 2002, Martin Brulisauer wrote:
>> Is the kernel arch tree for alphas not maintained anymore? If I download
>> the vanilla 2.5.26 I can't build it at all. Even a make clean fails
>> due to missing directives in arch/alpha/kernel/Makefile.
>
>On Sat, 20 Jul 2002, Thunder from the hill wrote:
>What exactly are you experiencing?
>
make mrproper: ok.
make defconfig: ok.
make dep:
make[1]: Entering directory `/usr/src/linux-2.5.27'
make[1]: Nothing to be done for `include/linux/modversions.h'.
make[1]: Leaving directory `/usr/src/linux-2.5.27'
make boot:
make[1]: Entering directory `/usr/src/linux-2.5.27/scripts'
gcc -Wp,-MD,./.split-include.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o split-include split-include.c
In file included from /usr/include/linux/errno.h:4,
from /usr/include/bits/errno.h:25,
from /usr/include/errno.h:36,
from split-include.c:26:
/usr/include/asm/errno.h:4: asm-generic/errno-base.h: No such file or directory
make[1]: *** [split-include] Error 1
make[1]: Leaving directory `/usr/src/linux-2.5.27/scripts'
make: *** [scripts] Error 2
make clean:
make[1]: Entering directory `/usr/src/linux-2.5.27/arch/alpha/kernel'
make[1]: *** No rule to make target `clean'. Stop.
make[1]: Leaving directory `/usr/src/linux-2.5.27/arch/alpha/kernel'
make: *** [archclean] Error 2
Looks to me like noone ever tried to compile this
kernel on this platform. That is why I asked my
silly question.
Regards,
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
[not found] ` <001101c230d7$c5973c40$1211a8c0@pitzeier.priv.at>
@ 2002-07-23 12:42 ` Martin Brulisauer
2002-07-23 13:28 ` Jan-Benedict Glaw
` (2 more replies)
0 siblings, 3 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-23 12:42 UTC (permalink / raw)
To: Oliver Pitzeier; +Cc: linux-kernel
On 21 Jul 2002, at 18:57, Oliver Pitzeier wrote:
> Oh... I did... :o( :o) But it's currently a mission
> impossible. The last kernel running fine for my alpha
> is 2.5.18 (with a lot of patches...)
>
> I'm also currently not sure that kernel 2.6.X will
> ever run on alpha. There are not very much alpha-users.
> And there are lesser alpha kernel maintainers.
> Ivan Kokshaysky and "Thunder from the hill" are two
> persons who often work an the Alpha Code. And me
> as well (a bit....). But it's currently not easy
> to fix the new errors (for alpha) in every kernel
> release, because they are growing...
Do you think it's worth the time to patch the current
version? Will Linus apply the patch so we will hopefully
have a 2.6.x kernel that compiles (at least) on alpha's?
Is there anybody who is willing to test such a patch
on different alpha's (I only have some XLT's, an AS800
and one AS250, so all alcor based systems with
ISA and PCI but without EISA and all are using sys_alcor.c)?
Further I can't test SMP with this _very_ old hardware.
Regards,
Martin Brulisauer
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 12:42 ` Martin Brulisauer
@ 2002-07-23 13:28 ` Jan-Benedict Glaw
2002-07-23 23:34 ` Oliver Pitzeier
2002-07-26 9:47 ` [alpha 2.5.28] " Ivan Kokshaysky
2002-07-23 15:05 ` George France
2002-07-23 23:35 ` Oliver Pitzeier
2 siblings, 2 replies; 27+ messages in thread
From: Jan-Benedict Glaw @ 2002-07-23 13:28 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
On Tue, 2002-07-23 14:42:03 +0200, Martin Brulisauer <martin@uceb.org>
wrote in message <3D3D6B3B.25754.1392D3FD@localhost>:
> On 21 Jul 2002, at 18:57, Oliver Pitzeier wrote:
> > Oh... I did... :o( :o) But it's currently a mission
> > impossible. The last kernel running fine for my alpha
> > is 2.5.18 (with a lot of patches...)
There was a quite good patch sent to l-k some weeks ago which
(basically) still applies. I'm using this one (with watering eyes
waiting for a compileable Linus-Kernel...).
> Is there anybody who is willing to test such a patch
> on different alpha's (I only have some XLT's, an AS800
> and one AS250, so all alcor based systems with
> ISA and PCI but without EISA and all are using sys_alcor.c)?
> Further I can't test SMP with this _very_ old hardware.
I cannot test SMP either (I've not got a SMP alpha), but I can test on
Miata, Avanit and NoName.
MfG, JBG
--
Jan-Benedict Glaw . jbglaw@lug-owl.de . +49-172-7608481
-- New APT-Proxy written in shell script --
http://lug-owl.de/~jbglaw/software/ap2/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 12:42 ` Martin Brulisauer
2002-07-23 13:28 ` Jan-Benedict Glaw
@ 2002-07-23 15:05 ` George France
2002-07-23 16:24 ` Ghozlane Toumi
2002-07-23 17:01 ` Martin Brulisauer
2002-07-23 23:35 ` Oliver Pitzeier
2 siblings, 2 replies; 27+ messages in thread
From: George France @ 2002-07-23 15:05 UTC (permalink / raw)
To: Martin Brulisauer, Oliver Pitzeier; +Cc: linux-kernel
On Tuesday 23 July 2002 08:42, Martin Brulisauer wrote:
> On 21 Jul 2002, at 18:57, Oliver Pitzeier wrote:
> > I'm also currently not sure that kernel 2.6.X will
> > ever run on alpha. There are not very much alpha-users.
> > And there are lesser alpha kernel maintainers.
> > Ivan Kokshaysky and "Thunder from the hill" are two
> > persons who often work an the Alpha Code. And me
> > as well (a bit....). But it's currently not easy
> > to fix the new errors (for alpha) in every kernel
> > release, because they are growing...
2.6.x will run on alpha. There are still a handfull of people that still
activly maintian Linux on Alpha. Since there is only a few people that
activly work on Alpha, they tend to chose a kernel versions, then work with
that version for a while until it is stable. In the past few months most of
the efforts have been spent on 2.4.9. Currently there have been discussions
in regard to:
1) porting all those patches for 2.4.9 forward to 2.4.[18-19] and 2.5.x.
2) taking a look at the latest 2.5.x in the next few weeks, as we are aware
that 2.5.x does not compile on Alpha.
>
> Do you think it's worth the time to patch the current
> version? Will Linus apply the patch so we will hopefully
> have a 2.6.x kernel that compiles (at least) on alpha's?
It is certainly worth the time. It is not too difficult to get any sane
patch applied to the kernel for Alpha.
>
> Is there anybody who is willing to test such a patch
> on different alpha's (I only have some XLT's, an AS800
> and one AS250, so all alcor based systems with
> ISA and PCI but without EISA and all are using sys_alcor.c)?
> Further I can't test SMP with this _very_ old hardware.
I have access to a Lab that is filled with Alpha systems. I would be happy
to test any patch as I have time.
Please let me know if I can be of further assistence.
Best Regards,
--George.
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 15:05 ` George France
@ 2002-07-23 16:24 ` Ghozlane Toumi
2002-07-23 17:01 ` Martin Brulisauer
1 sibling, 0 replies; 27+ messages in thread
From: Ghozlane Toumi @ 2002-07-23 16:24 UTC (permalink / raw)
To: George France, Martin Brulisauer, Oliver Pitzeier; +Cc: linux-kernel
On Tuesday 23 July 2002 11:05, George France wrote:
> 2.6.x will run on alpha. There are still a handfull of people that still
> activly maintian Linux on Alpha. Since there is only a few people that
> activly work on Alpha, they tend to chose a kernel versions, then work with
> that version for a while until it is stable. In the past few months most
> of the efforts have been spent on 2.4.9. Currently there have been
> discussions in regard to:
Just out of curiosity, on what mailing lists discussions are taking place ?
I'm subscribed to some alpha mailing lists, but still, most of the kernel
patches for alpha I see are comming from LKML ...
Thanks,
ghoz
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 15:05 ` George France
2002-07-23 16:24 ` Ghozlane Toumi
@ 2002-07-23 17:01 ` Martin Brulisauer
2002-07-23 19:00 ` George France
1 sibling, 1 reply; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-23 17:01 UTC (permalink / raw)
To: George France; +Cc: linux-kernel
On 23 Jul 2002, at 11:05, George France wrote:
> that version for a while until it is stable. In the past few months most of
> the efforts have been spent on 2.4.9. Currently there have been discussions
> in regard to:
>
> 1) porting all those patches for 2.4.9 forward to 2.4.[18-19] and 2.5.x.
I am currently running 2.4.18 from SuSE without any (major)
problems. I found it here:
ftp://ftp.suse.com/pub/people/sf/axp/7.1/RPMS/kernel-source-
2.4.18.SuSE-0.alpha.rpm.
Then I took arch/alpha/kernel/core_cia.c from version 2.4.12
(the current version does not run on XLT's booting with MILO;
the latest one is 2.4.12).
> 2) taking a look at the latest 2.5.x in the next few weeks, as we are aware
> that 2.5.x does not compile on Alpha.
Hopefully I can fix core_cia.c to run on XLT's (it's hard to find any
documentation on this toppic) and arch/alpha/kernel/setup.c for
machines booting with linload.exe/MILO because the hwrpb
struct is built by MILO and does not match the one booting from
SRM (eg. empty percpu struct resulting in a cpucount of zero
in /proc/cpuinfo).
Regards,
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 17:01 ` Martin Brulisauer
@ 2002-07-23 19:00 ` George France
2002-07-23 19:08 ` Sven Koch
` (2 more replies)
0 siblings, 3 replies; 27+ messages in thread
From: George France @ 2002-07-23 19:00 UTC (permalink / raw)
To: Martin Brulisauer; +Cc: linux-kernel, Jay Estabrook
On Tuesday 23 July 2002 13:01, Martin Brulisauer wrote:
> On 23 Jul 2002, at 11:05, George France wrote:
> > that version for a while until it is stable. In the past few months most
> > of the efforts have been spent on 2.4.9. Currently there have been
> > discussions in regard to:
> >
> > 1) porting all those patches for 2.4.9 forward to 2.4.[18-19] and 2.5.x.
>
> I am currently running 2.4.18 from SuSE without any (major)
> problems. I found it here:
> ftp://ftp.suse.com/pub/people/sf/axp/7.1/RPMS/kernel-source-
> 2.4.18.SuSE-0.alpha.rpm.
> Then I took arch/alpha/kernel/core_cia.c from version 2.4.12
> (the current version does not run on XLT's booting with MILO;
> the latest one is 2.4.12).
I have not tried Stefan's 2.4.18 kernel. I am glad to hear that it works for
you. I will give it a try.
> > 2) taking a look at the latest 2.5.x in the next few weeks, as we are
> > aware that 2.5.x does not compile on Alpha.
>
> Hopefully I can fix core_cia.c to run on XLT's (it's hard to find any
> documentation on this toppic) and arch/alpha/kernel/setup.c for
> machines booting with linload.exe/MILO because the hwrpb
> struct is built by MILO and does not match the one booting from
> SRM (eg. empty percpu struct resulting in a cpucount of zero
> in /proc/cpuinfo).
I am not very familiar with the XLT systems. Maybe Jay can help. He has been
working on Alpha systems for a very long time.
Jay, do you have any suggestions???
Best Regards,
--George
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 19:00 ` George France
@ 2002-07-23 19:08 ` Sven Koch
2002-07-23 21:24 ` Jay Estabrook
2002-07-23 20:18 ` Jay Estabrook
2002-07-23 23:44 ` Oliver Pitzeier
2 siblings, 1 reply; 27+ messages in thread
From: Sven Koch @ 2002-07-23 19:08 UTC (permalink / raw)
To: George France; +Cc: Martin Brulisauer, linux-kernel, Jay Estabrook
On Tue, 23 Jul 2002, George France wrote:
> On Tuesday 23 July 2002 13:01, Martin Brulisauer wrote:
> > Hopefully I can fix core_cia.c to run on XLT's (it's hard to find any
> > documentation on this toppic) and arch/alpha/kernel/setup.c for
> > machines booting with linload.exe/MILO because the hwrpb
> > struct is built by MILO and does not match the one booting from
> > SRM (eg. empty percpu struct resulting in a cpucount of zero
> > in /proc/cpuinfo).
>
> I am not very familiar with the XLT systems. Maybe Jay can help. He has been
> working on Alpha systems for a very long time.
I am using Stock 2.4.19-rc2 with the following simple patch on an xl-300
with milo:
(without it, it breaks while initalizing the ncr-scsi-controller)
--- linux/arch/alpha/kernel/core_cia.c.orig Sun Oct 21 19:30:58 2001
+++ linux/arch/alpha/kernel/core_cia.c Fri Jul 19 16:11:46 2002
@@ -382,10 +382,10 @@
for (i = 0; i < CIA_BROKEN_TBIA_SIZE / sizeof(unsigned long); ++i)
ppte[i] = pte;
- *(vip)CIA_IOC_PCI_W1_BASE = CIA_BROKEN_TBIA_BASE | 3;
- *(vip)CIA_IOC_PCI_W1_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
+ *(vip)CIA_IOC_PCI_W3_BASE = CIA_BROKEN_TBIA_BASE | 3;
+ *(vip)CIA_IOC_PCI_W3_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
& 0xfff00000;
- *(vip)CIA_IOC_PCI_T1_BASE = virt_to_phys(ppte) >> 2;
+ *(vip)CIA_IOC_PCI_T3_BASE = virt_to_phys(ppte) >> 2;
}
static void __init
I've got the patch from Alexander Stokman, who was kind to send it to me
~3 month after sending my question to lkml
c'ya
sven
--
The Internet treats censorship as a routing problem, and routes around it.
(John Gilmore on http://www.cygnus.com/~gnu/)
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 19:00 ` George France
2002-07-23 19:08 ` Sven Koch
@ 2002-07-23 20:18 ` Jay Estabrook
2002-07-23 23:44 ` Oliver Pitzeier
2 siblings, 0 replies; 27+ messages in thread
From: Jay Estabrook @ 2002-07-23 20:18 UTC (permalink / raw)
To: George France; +Cc: Martin Brulisauer, linux-kernel
On Tue, Jul 23, 2002 at 03:00:50PM -0400, George France wrote:
> On Tuesday 23 July 2002 13:01, Martin Brulisauer wrote:
> >
> > Hopefully I can fix core_cia.c to run on XLT's (it's hard to find any
> > documentation on this toppic) and arch/alpha/kernel/setup.c for
> > machines booting with linload.exe/MILO because the hwrpb
> > struct is built by MILO and does not match the one booting from
> > SRM (eg. empty percpu struct resulting in a cpucount of zero
> > in /proc/cpuinfo).
>
> I am not very familiar with the XLT systems. Maybe Jay can help. He
> has been working on Alpha systems for a very long time.
>
> Jay, do you have any suggestions???
Yup, use the following patches, based on pre8-2.4.19, to fix the
DMA windowing problem with the early (read: 300MHz) XLT boxes.
As for the CPU count being zero, well, aside from looking bad, what
seems to be the problem? ;-}
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@hp.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-07-23 19:08 ` Sven Koch
@ 2002-07-23 21:24 ` Jay Estabrook
0 siblings, 0 replies; 27+ messages in thread
From: Jay Estabrook @ 2002-07-23 21:24 UTC (permalink / raw)
To: Sven Koch; +Cc: George France, Martin Brulisauer, linux-kernel
On Tue, Jul 23, 2002 at 09:08:26PM +0200, Sven Koch wrote:
>
> I am using Stock 2.4.19-rc2 with the following simple patch on an xl-300
> with milo:
> (without it, it breaks while initalizing the ncr-scsi-controller)
>
> --- linux/arch/alpha/kernel/core_cia.c.orig Sun Oct 21 19:30:58 2001
> +++ linux/arch/alpha/kernel/core_cia.c Fri Jul 19 16:11:46 2002
> @@ -382,10 +382,10 @@
> for (i = 0; i < CIA_BROKEN_TBIA_SIZE / sizeof(unsigned long); ++i)
> ppte[i] = pte;
>
> - *(vip)CIA_IOC_PCI_W1_BASE = CIA_BROKEN_TBIA_BASE | 3;
> - *(vip)CIA_IOC_PCI_W1_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
> + *(vip)CIA_IOC_PCI_W3_BASE = CIA_BROKEN_TBIA_BASE | 3;
> + *(vip)CIA_IOC_PCI_W3_MASK = (CIA_BROKEN_TBIA_SIZE*1024 - 1)
> & 0xfff00000;
> - *(vip)CIA_IOC_PCI_T1_BASE = virt_to_phys(ppte) >> 2;
> + *(vip)CIA_IOC_PCI_T3_BASE = virt_to_phys(ppte) >> 2;
> }
>
> static void __init
Yes, this will help on XLT-300.
What this patch does is revert the code to an older version which uses
PCI DMA window #3 for the scatter/gather operations, thus avoiding the
use of window #1 for that operation.
On older machines like the XLT-300 and EB164, their core logic, CIA
Rev 1, appears to have a bug in that PCI DMA windows #1 and #2 cannot
be used for scatter/gather. Boxes based on CIA rev 2, and PYXIS, do
not have the same problem.
The patches I attached to an earlier posting essentially do this for
the rev 1 CIA machines, but leave active the code for dual-address
cycle (DAC) support for the CIA rev 2 and PYXIS based machines.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook HPTC - LINUX support
Hewlett-Packard Company - MRO1-2/K15 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@hp.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
[not found] ` <001a01c2329d$6d588fd0$1211a8c0@pitzeier.priv.at>
@ 2002-07-23 23:21 ` Martin Brulisauer
0 siblings, 0 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-23 23:21 UTC (permalink / raw)
To: 'Ghozlane Toumi', 'George France',
Oliver Pitzeier
Cc: linux-kernel
On 24 Jul 2002, at 1:05, Oliver Pitzeier wrote:
> > On 23 Jul 2002, at 18:29, George France wrote:
> > > site or mailing list. It is probably better to utilize
> > what exist. Either
> > > the debian-alpha@lists.debian.org, axp-list@redhat.com,
> > > axp-hardware@talisman.alphalinux.org or suse-axp@suse.com. In the
> > > worst
> >
> > As long as these lists are kernel (?) and not user oriented
> > and not too distribution specific.
>
> That's why I think it would be the best to setup a new one. But you'll
> never be able to lock out distribution specify questions and so
> replies... :o(
>
All these mailing lists are used to have kind of a "virtual" team,
are they? If we move the linux/alpha discussions away from
linux-kernel and/or vger.kernel.org how big is the risk that we
solve problems in this list others have already done?
In my oppinion linux/alpha should not be treated as a separate
task, offline from other kernel discussions. Too much information
could get lost - and as we can see now - linux/alpha is way
behind the current tree Linus maintains.
If Linus will participate in a linux/alpha mailing list, then it would
be a good idea - If not ... (guess if he will ;-}).
Regards,
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
[not found] ` <001701c2329b$a812f6d0$1211a8c0@pitzeier.priv.at>
@ 2002-07-23 23:26 ` Martin Brulisauer
0 siblings, 0 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-23 23:26 UTC (permalink / raw)
To: 'Ghozlane Toumi', 'George France',
'Martin Brulisauer', Oliver Pitzeier
Cc: linux-kernel
On 24 Jul 2002, at 0:52, Oliver Pitzeier wrote:
> (Maybe an CVS tree for alpha-kernel developers. Those people
> must be trusted you can imagine...)
As I can see in the kernel howto, there is only one
linux version _all_ patches have to go to at least -
that's the one Linus maintains. And this makes
all sense to me - it keeps the kernel alive and
avoids falling apart over the time.
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-23 13:28 ` Jan-Benedict Glaw
@ 2002-07-23 23:34 ` Oliver Pitzeier
2002-07-24 6:53 ` Thunder from the hill
2002-07-26 9:47 ` [alpha 2.5.28] " Ivan Kokshaysky
1 sibling, 1 reply; 27+ messages in thread
From: Oliver Pitzeier @ 2002-07-23 23:34 UTC (permalink / raw)
To: 'Jan-Benedict Glaw', linux-kernel
Jan-Benedict Glaw wrote:
> On Tue, 2002-07-23 14:42:03 +0200, Martin Brulisauer
> <martin@uceb.org> wrote in message
> <3D3D6B3B.25754.1392D3FD@localhost>:
> > On 21 Jul 2002, at 18:57, Oliver Pitzeier wrote:
> > > Oh... I did... :o( :o) But it's currently a mission
> impossible. The
> > > last kernel running fine for my alpha is 2.5.18 (with a lot of
> > > patches...)
>
> There was a quite good patch sent to l-k some weeks ago which
> (basically) still applies. I'm using this one (with watering
> eyes waiting for a compileable Linus-Kernel...).
I go and search it...
> > Is there anybody who is willing to test such a patch
> > on different alpha's (I only have some XLT's, an AS800
> > and one AS250, so all alcor based systems with
> > ISA and PCI but without EISA and all are using
> sys_alcor.c)? Further I
> > can't test SMP with this _very_ old hardware.
>
> I cannot test SMP either (I've not got a SMP alpha), but I
> can test on Miata, Avanit and NoName.
I've got a AS1000. Noritake. But I do only have _one_ processor.
I don't believe that anybody buys me a second... :o(
Our Dual-Processor Machine (a DS20e) has been moved back to
Compaq a few month ago... On our seconds DS20e are running postgresql
databases which cannot be stopped. Not even for a few minutes while
rebooting...
-Oliver
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-23 12:42 ` Martin Brulisauer
2002-07-23 13:28 ` Jan-Benedict Glaw
2002-07-23 15:05 ` George France
@ 2002-07-23 23:35 ` Oliver Pitzeier
2 siblings, 0 replies; 27+ messages in thread
From: Oliver Pitzeier @ 2002-07-23 23:35 UTC (permalink / raw)
To: 'Martin Brulisauer'; +Cc: linux-kernel
Martin Brulisauer wrote:
[ ... ]
> Do you think it's worth the time to patch the current
> version? Will Linus apply the patch so we will hopefully
> have a 2.6.x kernel that compiles (at least) on alpha's?
I hope linus joins this thread some day... :o)
[ ... ]
-Oliver
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-23 19:00 ` George France
2002-07-23 19:08 ` Sven Koch
2002-07-23 20:18 ` Jay Estabrook
@ 2002-07-23 23:44 ` Oliver Pitzeier
2 siblings, 0 replies; 27+ messages in thread
From: Oliver Pitzeier @ 2002-07-23 23:44 UTC (permalink / raw)
To: 'George France', 'Martin Brulisauer'
Cc: linux-kernel, 'Jay Estabrook'
George France wrote:
[ ... ]
> > I am currently running 2.4.18 from SuSE without any (major)
> > problems. I found it here:
> > ftp://ftp.suse.com/pub/people/sf/axp/7.1/RPMS/kernel-source-
> > 2.4.18.SuSE-0.alpha.rpm.
> > Then I took arch/alpha/kernel/core_cia.c from version 2.4.12
> > (the current version does not run on XLT's booting with MILO;
> > the latest one is 2.4.12).
>
> I have not tried Stefan's 2.4.18 kernel. I am glad to hear
> that it works for you. I will give it a try.
For 2.4.18 I have a very good experience. It's running on
our mailserver (as well an alpha-machine [ds10]) with ext3.
Without patches it worked well. Now I have a few patches
(most of them are from l-k list)...
> > > 2) taking a look at the latest 2.5.x in the next few
> weeks, as we are
> > > aware that 2.5.x does not compile on Alpha.
[ ... ]
Just a comment:
2.5.26/27 doesn't create a modversions.h on my machine... So
make dep/clean and so on doesn't work for me...
-Oliver
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-21 13:54 kbuild 2.5.26 - arch/alpha Martin Brulisauer
[not found] ` <001101c230d7$c5973c40$1211a8c0@pitzeier.priv.at>
@ 2002-07-23 23:54 ` Oliver Pitzeier
2002-07-24 3:51 ` Thunder from the hill
1 sibling, 1 reply; 27+ messages in thread
From: Oliver Pitzeier @ 2002-07-23 23:54 UTC (permalink / raw)
To: 'Martin Brulisauer', thunder; +Cc: linux-kernel
Martin Brulisauer wrote:
> >>On Sat, 20 Jul 2002, Martin Brulisauer wrote:
> >> Is the kernel arch tree for alphas not maintained anymore? If I
> >>download the vanilla 2.5.26 I can't build it at all. Even a make
> >>clean fails due to missing directives in
> arch/alpha/kernel/Makefile.
As I saw it... There is no modversions.h created while trying to
compile the kernel on an alpha... I'll take a look at this in
a few hours (after sleeping... :-) ).
> >On Sat, 20 Jul 2002, Thunder from the hill wrote:
> >What exactly are you experiencing?
[ ... ]
> Looks to me like noone ever tried to compile this
> kernel on this platform. That is why I asked my
> silly question.
Have you ever ended this discussion??? I only mean
you two. Because I havn't found a reply from Thunder
to Martin...
However... Let me know...
-Oliver
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-23 23:54 ` Oliver Pitzeier
@ 2002-07-24 3:51 ` Thunder from the hill
0 siblings, 0 replies; 27+ messages in thread
From: Thunder from the hill @ 2002-07-24 3:51 UTC (permalink / raw)
To: Oliver Pitzeier; +Cc: 'Martin Brulisauer', thunder, linux-kernel
Hi,
On Wed, 24 Jul 2002, Oliver Pitzeier wrote:
> Have you ever ended this discussion??? I only mean
> you two. Because I havn't found a reply from Thunder
> to Martin...
IIRC, no.
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-23 23:34 ` Oliver Pitzeier
@ 2002-07-24 6:53 ` Thunder from the hill
2002-07-24 7:07 ` Thunder from the hill
2002-07-24 7:13 ` Martin Brulisauer
0 siblings, 2 replies; 27+ messages in thread
From: Thunder from the hill @ 2002-07-24 6:53 UTC (permalink / raw)
To: Oliver Pitzeier; +Cc: 'Jan-Benedict Glaw', linux-kernel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 604 bytes --]
Hi,
On Wed, 24 Jul 2002, Oliver Pitzeier wrote:
> > There was a quite good patch sent to l-k some weeks ago which
> > (basically) still applies. I'm using this one (with watering
> > eyes waiting for a compileable Linus-Kernel...).
>
> I go and search it...
Possibly this one?
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 2454 bytes --]
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-24 6:53 ` Thunder from the hill
@ 2002-07-24 7:07 ` Thunder from the hill
2002-07-24 7:13 ` Martin Brulisauer
1 sibling, 0 replies; 27+ messages in thread
From: Thunder from the hill @ 2002-07-24 7:07 UTC (permalink / raw)
To: Thunder from the hill
Cc: Oliver Pitzeier, 'Jan-Benedict Glaw', linux-kernel
Hi,
On Wed, 24 Jul 2002, Thunder from the hill wrote:
> Possibly this one?
No, I can't find it any more, either. It was a big fat file labeled
alpha-2.5.20.bz2 or such, IIRC. I've used it until 2.5.24 or so.
Unfortunately, it never ended up in the patches directories (wonder why).
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-24 6:53 ` Thunder from the hill
2002-07-24 7:07 ` Thunder from the hill
@ 2002-07-24 7:13 ` Martin Brulisauer
2002-07-24 7:45 ` Thunder from the hill
1 sibling, 1 reply; 27+ messages in thread
From: Martin Brulisauer @ 2002-07-24 7:13 UTC (permalink / raw)
To: Thunder from the hill; +Cc: 'Jan-Benedict Glaw', linux-kernel
On 24 Jul 2002, at 0:53, Thunder from the hill wrote:
> Hi,
>
> On Wed, 24 Jul 2002, Oliver Pitzeier wrote:
> > > There was a quite good patch sent to l-k some weeks ago which
> > > (basically) still applies. I'm using this one (with watering
> > > eyes waiting for a compileable Linus-Kernel...).
> >
> > I go and search it...
>
> Possibly this one?
Don't waste our time. If you have to say anything
constructive do it. If not - keep out of the thread.
Best Regards,
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* RE: kbuild 2.5.26 - arch/alpha
2002-07-24 7:13 ` Martin Brulisauer
@ 2002-07-24 7:45 ` Thunder from the hill
0 siblings, 0 replies; 27+ messages in thread
From: Thunder from the hill @ 2002-07-24 7:45 UTC (permalink / raw)
To: Martin Brulisauer; +Cc: 'Jan-Benedict Glaw', Linux Kernel Mailing List
[-- Attachment #1: Type: TEXT/PLAIN, Size: 583 bytes --]
Hi,
On Wed, 24 Jul 2002, Martin Brulisauer wrote:
> Don't waste our time. If you have to say anything
> constructive do it. If not - keep out of the thread.
Instead of complaining, could you please try out this one? I'm seriously
trying to be constructive.
Regards,
Thunder
--
(Use http://www.ebb.org/ungeek if you can't decode)
------BEGIN GEEK CODE BLOCK------
Version: 3.12
GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$
N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G
e++++ h* r--- y-
------END GEEK CODE BLOCK------
[-- Attachment #2: Type: APPLICATION/octet-stream, Size: 4579 bytes --]
^ permalink raw reply [flat|nested] 27+ messages in thread
* [alpha 2.5.28] Re: kbuild 2.5.26 - arch/alpha
2002-07-23 13:28 ` Jan-Benedict Glaw
2002-07-23 23:34 ` Oliver Pitzeier
@ 2002-07-26 9:47 ` Ivan Kokshaysky
1 sibling, 0 replies; 27+ messages in thread
From: Ivan Kokshaysky @ 2002-07-26 9:47 UTC (permalink / raw)
To: Jan-Benedict Glaw; +Cc: Oliver Pitzeier, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
On Tue, Jul 23, 2002 at 03:28:11PM +0200, Jan-Benedict Glaw wrote:
> There was a quite good patch sent to l-k some weeks ago which
> (basically) still applies. I'm using this one (with watering eyes
> waiting for a compileable Linus-Kernel...).
Fortunately there is not so much new "breakage" introduced since 2.5.24
(last kernel I checked). Updated patch attached. By now tested only
on sx164. SMP is still broken, sorry.
I'm planning to split this in a reasonable fashion and start
feeding it to Linus/Richard. Hopefully early in August...
Ivan.
[-- Attachment #2: axp-2528.patch --]
[-- Type: text/plain, Size: 25967 bytes --]
--- 2.5.28/drivers/char/rtc.c Thu Jul 25 01:03:26 2002
+++ linux/drivers/char/rtc.c Thu Jul 25 15:28:26 2002
@@ -870,7 +870,9 @@ no_irq:
if (misc_register(&rtc_dev))
{
+#if RTC_IRQ
free_irq(RTC_IRQ, NULL);
+#endif
release_region(RTC_PORT(0), RTC_IO_EXTENT);
return -ENODEV;
}
--- 2.5.28/drivers/serial/8250_pci.c Thu Jul 25 01:03:30 2002
+++ linux/drivers/serial/8250_pci.c Thu Jul 25 19:21:36 2002
@@ -30,6 +30,7 @@
#include <asm/bitops.h>
#include <asm/byteorder.h>
#include <asm/serial.h>
+#include <asm/io.h>
#include "8250.h"
--- 2.5.28/include/asm-alpha/page.h Thu Jul 25 01:03:30 2002
+++ linux/include/asm-alpha/page.h Thu Jul 25 15:28:26 2002
@@ -15,10 +15,10 @@
#define STRICT_MM_TYPECHECKS
extern void clear_page(void *page);
-#define clear_user_page(page, vaddr) clear_page(page)
+#define clear_user_page(page, vaddr, pg) clear_page(page)
extern void copy_page(void * _to, void * _from);
-#define copy_user_page(to, from, vaddr) copy_page(to, from)
+#define copy_user_page(to, from, vaddr, pg) copy_page(to, from)
#ifdef STRICT_MM_TYPECHECKS
/*
@@ -95,8 +95,12 @@ extern __inline__ int get_order(unsigned
#define __pa(x) ((unsigned long) (x) - PAGE_OFFSET)
#define __va(x) ((void *)((unsigned long) (x) + PAGE_OFFSET))
#ifndef CONFIG_DISCONTIGMEM
-#define virt_to_page(kaddr) (mem_map + (__pa(kaddr) >> PAGE_SHIFT))
-#define VALID_PAGE(page) (((page) - mem_map) < max_mapnr)
+#define pfn_to_page(pfn) (mem_map + (pfn))
+#define page_to_pfn(page) ((unsigned long)((page) - mem_map))
+#define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
+
+#define pfn_valid(pfn) ((pfn) < max_mapnr)
+#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
#endif /* CONFIG_DISCONTIGMEM */
#define VM_DATA_DEFAULT_FLAGS (VM_READ | VM_WRITE | VM_EXEC | \
--- 2.5.28/include/asm-alpha/pgtable.h Thu Jul 25 01:03:24 2002
+++ linux/include/asm-alpha/pgtable.h Thu Jul 25 15:28:26 2002
@@ -179,11 +179,12 @@ extern unsigned long __zero_page(void);
#endif
#if defined(CONFIG_ALPHA_GENERIC) || \
(defined(CONFIG_ALPHA_EV6) && !defined(USE_48_BIT_KSEG))
-#define PHYS_TWIDDLE(phys) \
- ((((phys) & 0xc0000000000UL) == 0x40000000000UL) \
- ? ((phys) ^= 0xc0000000000UL) : (phys))
+#define KSEG_PFN (0xc0000000000UL >> PAGE_SHIFT)
+#define PHYS_TWIDDLE(pfn) \
+ ((((pfn) & KSEG_PFN) == (0x40000000000UL >> PAGE_SHIFT)) \
+ ? ((pfn) ^= KSEG_PFN) : (pfn))
#else
-#define PHYS_TWIDDLE(phys) (phys)
+#define PHYS_TWIDDLE(pfn) (pfn)
#endif
/*
@@ -199,12 +200,13 @@ extern unsigned long __zero_page(void);
#endif
#ifndef CONFIG_DISCONTIGMEM
+#define pte_pfn(pte) (pte_val(pte) >> 32)
+#define pte_page(pte) pfn_to_page(pte_pfn(pte))
#define mk_pte(page, pgprot) \
({ \
pte_t pte; \
\
- pte_val(pte) = ((unsigned long)(page - mem_map) << 32) | \
- pgprot_val(pgprot); \
+ pte_val(pte) = (page_to_pfn(page) << 32) | pgprot_val(pgprot); \
pte; \
})
#else
@@ -219,10 +221,20 @@ extern unsigned long __zero_page(void);
\
pte; \
})
+#define pte_page(x) \
+({ \
+ unsigned long kvirt; \
+ struct page * __xx; \
+ \
+ kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \
+ __xx = virt_to_page(kvirt); \
+ \
+ __xx; \
+})
#endif
-extern inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
-{ pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpage) << (32-PAGE_SHIFT)) | pgprot_val(pgprot); return pte; }
+extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot)
+{ pte_t pte; pte_val(pte) = (PHYS_TWIDDLE(physpfn) << 32) | pgprot_val(pgprot); return pte; }
extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
{ pte_val(pte) = (pte_val(pte) & _PAGE_CHG_MASK) | pgprot_val(newprot); return pte; }
@@ -233,20 +245,6 @@ extern inline void pmd_set(pmd_t * pmdp,
extern inline void pgd_set(pgd_t * pgdp, pmd_t * pmdp)
{ pgd_val(*pgdp) = _PAGE_TABLE | ((((unsigned long) pmdp) - PAGE_OFFSET) << (32-PAGE_SHIFT)); }
-#ifndef CONFIG_DISCONTIGMEM
-#define pte_page(x) (mem_map+(unsigned long)((pte_val(x) >> 32)))
-#else
-#define pte_page(x) \
-({ \
- unsigned long kvirt; \
- struct page * __xx; \
- \
- kvirt = (unsigned long)__va(pte_val(x) >> (32-PAGE_SHIFT)); \
- __xx = virt_to_page(kvirt); \
- \
- __xx; \
-})
-#endif
extern inline unsigned long
pmd_page_kernel(pmd_t pmd)
--- 2.5.28/include/asm-alpha/tlb.h Thu Jul 25 01:03:26 2002
+++ linux/include/asm-alpha/tlb.h Thu Jul 25 15:28:26 2002
@@ -1 +1,15 @@
+#ifndef _ALPHA_TLB_H
+#define _ALPHA_TLB_H
+
+#define tlb_start_vma(tlb, vma) do { } while (0)
+#define tlb_end_vma(tlb, vma) do { } while (0)
+#define tlb_remove_tlb_entry(tlb, pte, addr) do { } while (0)
+
+#define tlb_flush(tlb) flush_tlb_mm((tlb)->mm)
+
#include <asm-generic/tlb.h>
+
+#define pte_free_tlb(tlb,pte) pte_free(pte)
+#define pmd_free_tlb(tlb,pmd) pmd_free(pmd)
+
+#endif
--- 2.5.28/include/asm-alpha/bitops.h Thu Jul 25 01:03:28 2002
+++ linux/include/asm-alpha/bitops.h Thu Jul 25 15:28:26 2002
@@ -315,6 +315,20 @@ static inline int ffs(int word)
return word ? result+1 : 0;
}
+/*
+ * fls: find last bit set.
+ */
+#if defined(__alpha_cix__) && defined(__alpha_fix__)
+static inline int fls(int word)
+{
+ long result;
+ __asm__("ctlz %1,%0" : "=r"(result) : "r"(word & 0xffffffff));
+ return 64 - result;
+}
+#else
+#define fls generic_fls
+#endif
+
/* Compute powers of two for the given integer. */
static inline int floor_log2(unsigned long word)
{
--- 2.5.28/include/asm-alpha/regdef.h Thu Jan 1 00:00:00 1970
+++ linux/include/asm-alpha/regdef.h Thu Jul 25 15:28:26 2002
@@ -0,0 +1,44 @@
+#ifndef __alpha_regdef_h__
+#define __alpha_regdef_h__
+
+#define v0 $0 /* function return value */
+
+#define t0 $1 /* temporary registers (caller-saved) */
+#define t1 $2
+#define t2 $3
+#define t3 $4
+#define t4 $5
+#define t5 $6
+#define t6 $7
+#define t7 $8
+
+#define s0 $9 /* saved-registers (callee-saved registers) */
+#define s1 $10
+#define s2 $11
+#define s3 $12
+#define s4 $13
+#define s5 $14
+#define s6 $15
+#define fp s6 /* frame-pointer (s6 in frame-less procedures) */
+
+#define a0 $16 /* argument registers (caller-saved) */
+#define a1 $17
+#define a2 $18
+#define a3 $19
+#define a4 $20
+#define a5 $21
+
+#define t8 $22 /* more temps (caller-saved) */
+#define t9 $23
+#define t10 $24
+#define t11 $25
+#define ra $26 /* return address register */
+#define t12 $27
+
+#define pv t12 /* procedure-variable register */
+#define AT $at /* assembler temporary */
+#define gp $29 /* global pointer */
+#define sp $30 /* stack pointer */
+#define zero $31 /* reads as zero, writes are noops */
+
+#endif /* __alpha_regdef_h__ */
--- 2.5.28/include/asm-alpha/hardirq.h Thu Jul 25 01:03:20 2002
+++ linux/include/asm-alpha/hardirq.h Thu Jul 25 18:52:20 2002
@@ -7,91 +7,91 @@
/* entry.S is sensitive to the offsets of these fields */
typedef struct {
unsigned long __softirq_pending;
- unsigned int __local_irq_count;
- unsigned int __local_bh_count;
unsigned int __syscall_count;
+ unsigned long idle_timestamp;
struct task_struct * __ksoftirqd_task;
} ____cacheline_aligned irq_cpustat_t;
#include <linux/irq_cpustat.h> /* Standard mappings for irq_cpustat_t above */
/*
- * Are we in an interrupt context? Either doing bottom half
- * or hardware interrupt processing?
+ * We put the hardirq and softirq counter into the preemption
+ * counter. The bitmask has the following meaning:
+ *
+ * - bits 0-7 are the preemption count (max preemption depth: 256)
+ * - bits 8-15 are the softirq count (max # of softirqs: 256)
+ * - bits 16-23 are the hardirq count (max # of hardirqs: 256)
+ *
+ * - ( bit 26 is the PREEMPT_ACTIVE flag. )
+ *
+ * PREEMPT_MASK: 0x000000ff
+ * HARDIRQ_MASK: 0x0000ff00
+ * SOFTIRQ_MASK: 0x00ff0000
*/
-#define in_interrupt() \
-({ \
- int __cpu = smp_processor_id(); \
- (local_irq_count(__cpu) + local_bh_count(__cpu)) != 0; \
-})
+#define PREEMPT_BITS 8
+#define SOFTIRQ_BITS 8
+#define HARDIRQ_BITS 8
+
+#define PREEMPT_SHIFT 0
+#define SOFTIRQ_SHIFT (PREEMPT_SHIFT + PREEMPT_BITS)
+#define HARDIRQ_SHIFT (SOFTIRQ_SHIFT + SOFTIRQ_BITS)
+
+#define __MASK(x) ((1UL << (x))-1)
+
+#define PREEMPT_MASK (__MASK(PREEMPT_BITS) << PREEMPT_SHIFT)
+#define HARDIRQ_MASK (__MASK(HARDIRQ_BITS) << HARDIRQ_SHIFT)
+#define SOFTIRQ_MASK (__MASK(SOFTIRQ_BITS) << SOFTIRQ_SHIFT)
+
+#define hardirq_count() (preempt_count() & HARDIRQ_MASK)
+#define softirq_count() (preempt_count() & SOFTIRQ_MASK)
+#define irq_count() (preempt_count() & (HARDIRQ_MASK | SOFTIRQ_MASK))
+
+#define PREEMPT_OFFSET (1UL << PREEMPT_SHIFT)
+#define SOFTIRQ_OFFSET (1UL << SOFTIRQ_SHIFT)
+#define HARDIRQ_OFFSET (1UL << HARDIRQ_SHIFT)
-#define in_irq() (local_irq_count(smp_processor_id()) != 0)
-
-#ifndef CONFIG_SMP
+/*
+ * The hardirq mask has to be large enough to have
+ * space for potentially all IRQ sources in the system
+ * nesting on a single CPU:
+ */
+#if (1 << HARDIRQ_BITS) < NR_IRQS
+#error HARDIRQ_BITS is too low!
+#endif
-extern unsigned long __irq_attempt[];
-#define irq_attempt(cpu, irq) ((void)(cpu), __irq_attempt[irq])
+/*
+ * Are we doing bottom half or hardware interrupt processing?
+ * Are we in a softirq context? Interrupt context?
+ */
+#define in_irq() (hardirq_count())
+#define in_softirq() (softirq_count())
+#define in_interrupt() (irq_count())
-#define hardirq_trylock(cpu) (local_irq_count(cpu) == 0)
-#define hardirq_endlock(cpu) ((void) 0)
-#define irq_enter(cpu, irq) (local_irq_count(cpu)++)
-#define irq_exit(cpu, irq) (local_irq_count(cpu)--)
+#define hardirq_trylock() (!in_interrupt())
+#define hardirq_endlock() do { } while (0)
-#define synchronize_irq() barrier()
+#define irq_enter() (preempt_count() += HARDIRQ_OFFSET)
+#if CONFIG_PREEMPT
+# define IRQ_EXIT_OFFSET (HARDIRQ_OFFSET-1)
#else
+#define IRQ_EXIT_OFFSET HARDIRQ_OFFSET
+# endif
+#define irq_exit() \
+do { \
+ preempt_count() -= IRQ_EXIT_OFFSET; \
+ if (!in_interrupt() && \
+ softirq_pending(smp_processor_id())) \
+ do_softirq(); \
+ preempt_enable_no_resched(); \
+} while (0)
-#define irq_attempt(cpu, irq) (cpu_data[cpu].irq_attempt[irq])
-
-#include <asm/atomic.h>
-#include <linux/spinlock.h>
-#include <asm/smp.h>
-
-extern int global_irq_holder;
-extern spinlock_t global_irq_lock;
-
-static inline int irqs_running (void)
-{
- int i;
-
- for (i = 0; i < smp_num_cpus; i++)
- if (local_irq_count(i))
- return 1;
- return 0;
-}
-
-static inline void release_irqlock(int cpu)
-{
- /* if we didn't own the irq lock, just ignore.. */
- if (global_irq_holder == cpu) {
- global_irq_holder = NO_PROC_ID;
- spin_unlock(&global_irq_lock);
- }
-}
-
-static inline void irq_enter(int cpu, int irq)
-{
- ++local_irq_count(cpu);
-
- while (spin_is_locked(&global_irq_lock))
- barrier();
-}
-
-static inline void irq_exit(int cpu, int irq)
-{
- --local_irq_count(cpu);
-}
-
-static inline int hardirq_trylock(int cpu)
-{
- return !local_irq_count(cpu) && !spin_is_locked(&global_irq_lock);
-}
-
-#define hardirq_endlock(cpu) do { } while (0)
-
-extern void synchronize_irq(void);
-
+#ifndef CONFIG_SMP
+# define synchronize_irq(irq) barrier()
+#else
+ extern void synchronize_irq(unsigned int irq);
#endif /* CONFIG_SMP */
+
#endif /* _ALPHA_HARDIRQ_H */
--- 2.5.28/include/asm-alpha/mmu_context.h Thu Jul 25 01:03:28 2002
+++ linux/include/asm-alpha/mmu_context.h Thu Jul 25 15:28:26 2002
@@ -227,8 +227,9 @@ init_new_context(struct task_struct *tsk
{
int i;
- for (i = 0; i < smp_num_cpus; i++)
- mm->context[cpu_logical_map(i)] = 0;
+ for (i = 0; i < NR_CPUS; i++)
+ if (cpu_online(i))
+ mm->context[i] = 0;
tsk->thread_info->pcb.ptbr
= ((unsigned long)mm->pgd - IDENT_ADDR) >> PAGE_SHIFT;
return 0;
--- 2.5.28/include/asm-alpha/smp.h Thu Jul 25 01:03:25 2002
+++ linux/include/asm-alpha/smp.h Thu Jul 25 18:52:38 2002
@@ -30,7 +30,6 @@ struct cpuinfo_alpha {
int need_new_asn;
int asn_lock;
unsigned long ipi_count;
- unsigned long irq_attempt[NR_IRQS];
unsigned long prof_multiplier;
unsigned long prof_counter;
unsigned char mcheck_expected;
@@ -41,15 +40,6 @@ struct cpuinfo_alpha {
extern struct cpuinfo_alpha cpu_data[NR_CPUS];
#define PROC_CHANGE_PENALTY 20
-
-/* Map from cpu id to sequential logical cpu number. This will only
- not be idempotent when cpus failed to come on-line. */
-extern int __cpu_number_map[NR_CPUS];
-#define cpu_number_map(cpu) __cpu_number_map[cpu]
-
-/* The reverse map from sequential logical cpu number to cpu id. */
-extern int __cpu_logical_map[NR_CPUS];
-#define cpu_logical_map(cpu) __cpu_logical_map[cpu]
#define hard_smp_processor_id() __hard_smp_processor_id()
#define smp_processor_id() (current_thread_info()->cpu)
--- 2.5.28/include/asm-alpha/system.h Thu Jul 25 01:03:29 2002
+++ linux/include/asm-alpha/system.h Thu Jul 25 17:18:12 2002
@@ -130,8 +130,10 @@ struct el_common_EV6_mcheck {
extern void halt(void) __attribute__((noreturn));
#define __halt() __asm__ __volatile__ ("call_pal %0 #halt" : : "i" (PAL_halt))
-#define prepare_to_switch() do { } while(0)
-#define switch_to(prev,next) \
+#define prepare_arch_schedule(prev) do { } while(0)
+#define finish_arch_schedule(prev) do { } while(0)
+
+#define switch_to(prev,next,last) \
do { \
alpha_switch_to(virt_to_phys(&(next)->thread_info->pcb), (prev)); \
check_mmu_context(); \
--- 2.5.28/include/asm-alpha/softirq.h Thu Jul 25 01:03:24 2002
+++ linux/include/asm-alpha/softirq.h Thu Jul 25 15:51:13 2002
@@ -1,35 +1,21 @@
#ifndef _ALPHA_SOFTIRQ_H
#define _ALPHA_SOFTIRQ_H
-#include <linux/stddef.h>
-#include <asm/atomic.h>
+#include <linux/preempt.h>
#include <asm/hardirq.h>
-extern inline void cpu_bh_disable(int cpu)
-{
- local_bh_count(cpu)++;
- barrier();
-}
-
-extern inline void __cpu_bh_enable(int cpu)
-{
- barrier();
- local_bh_count(cpu)--;
-}
-
-#define __local_bh_enable() __cpu_bh_enable(smp_processor_id())
-#define local_bh_disable() cpu_bh_disable(smp_processor_id())
+#define local_bh_disable() \
+ do { preempt_count() += SOFTIRQ_OFFSET; barrier(); } while (0)
+#define __local_bh_enable() \
+ do { barrier(); preempt_count() -= SOFTIRQ_OFFSET; } while (0)
#define local_bh_enable() \
do { \
- int cpu; \
- \
- barrier(); \
- cpu = smp_processor_id(); \
- if (!--local_bh_count(cpu) && softirq_pending(cpu)) \
+ __local_bh_enable(); \
+ if (unlikely(!in_interrupt() && \
+ softirq_pending(smp_processor_id()))) \
do_softirq(); \
+ preempt_check_resched(); \
} while (0)
-
-#define in_softirq() (local_bh_count(smp_processor_id()) != 0)
#endif /* _ALPHA_SOFTIRQ_H */
--- 2.5.28/include/asm-alpha/pgalloc.h Thu Jul 25 17:24:12 2002
+++ linux/include/asm-alpha/pgalloc.h Thu Jul 25 17:24:17 2002
@@ -2,6 +2,7 @@
#define _ALPHA_PGALLOC_H
#include <linux/config.h>
+#include <linux/mm.h>
/*
* Allocate and free page tables. The xxx_kernel() versions are
--- 2.5.28/include/asm-alpha/param.h Thu Jul 25 01:03:26 2002
+++ linux/include/asm-alpha/param.h Thu Jul 25 17:26:59 2002
@@ -15,6 +15,8 @@
# endif
#endif
+#define USER_HZ HZ
+
#define EXEC_PAGESIZE 8192
#ifndef NGROUPS
--- 2.5.28/arch/alpha/lib/stxcpy.S Thu Jul 25 01:03:22 2002
+++ linux/arch/alpha/lib/stxcpy.S Thu Jul 25 15:28:26 2002
@@ -20,7 +20,7 @@
* Furthermore, v0, a3-a5, t11, and t12 are untouched.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noat
.set noreorder
--- 2.5.28/arch/alpha/lib/ev6-stxcpy.S Thu Jul 25 01:03:17 2002
+++ linux/arch/alpha/lib/ev6-stxcpy.S Thu Jul 25 15:28:26 2002
@@ -30,7 +30,7 @@
* Try not to change the actual algorithm if possible for consistency.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noat
.set noreorder
--- 2.5.28/arch/alpha/lib/ev6-stxncpy.S Thu Jul 25 01:03:31 2002
+++ linux/arch/alpha/lib/ev6-stxncpy.S Thu Jul 25 15:28:26 2002
@@ -38,7 +38,7 @@
* Try not to change the actual algorithm if possible for consistency.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noat
.set noreorder
--- 2.5.28/arch/alpha/lib/strncpy_from_user.S Thu Jul 25 01:03:19 2002
+++ linux/arch/alpha/lib/strncpy_from_user.S Thu Jul 25 15:28:26 2002
@@ -12,7 +12,7 @@
#include <asm/errno.h>
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
/* Allow an exception for an insn; exit if we get one. */
--- 2.5.28/arch/alpha/lib/stxncpy.S Thu Jul 25 01:03:32 2002
+++ linux/arch/alpha/lib/stxncpy.S Thu Jul 25 15:28:26 2002
@@ -28,7 +28,7 @@
* Furthermore, v0, a3-a5, t11, t12, and $at are untouched.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noat
.set noreorder
--- 2.5.28/arch/alpha/lib/ev67-strlen_user.S Thu Jul 25 01:03:27 2002
+++ linux/arch/alpha/lib/ev67-strlen_user.S Thu Jul 25 15:28:26 2002
@@ -23,7 +23,7 @@
* Try not to change the actual algorithm if possible for consistency.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
/* Allow an exception for an insn; exit if we get one. */
--- 2.5.28/arch/alpha/lib/strchr.S Thu Jul 25 01:03:27 2002
+++ linux/arch/alpha/lib/strchr.S Thu Jul 25 15:28:26 2002
@@ -6,7 +6,7 @@
* string, or null if it is not found.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noreorder
.set noat
--- 2.5.28/arch/alpha/lib/strlen_user.S Thu Jul 25 01:03:28 2002
+++ linux/arch/alpha/lib/strlen_user.S Thu Jul 25 15:28:26 2002
@@ -12,7 +12,7 @@
* boundary when doing so.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
/* Allow an exception for an insn; exit if we get one. */
--- 2.5.28/arch/alpha/lib/ev67-strrchr.S Thu Jul 25 01:03:28 2002
+++ linux/arch/alpha/lib/ev67-strrchr.S Thu Jul 25 15:28:26 2002
@@ -19,7 +19,7 @@
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noreorder
.set noat
--- 2.5.28/arch/alpha/lib/ev67-strchr.S Thu Jul 25 01:03:29 2002
+++ linux/arch/alpha/lib/ev67-strchr.S Thu Jul 25 15:28:26 2002
@@ -16,7 +16,7 @@
* Try not to change the actual algorithm if possible for consistency.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noreorder
.set noat
--- 2.5.28/arch/alpha/lib/strrchr.S Thu Jul 25 01:03:31 2002
+++ linux/arch/alpha/lib/strrchr.S Thu Jul 25 15:28:26 2002
@@ -6,7 +6,7 @@
* within a null-terminated string, or null if it is not found.
*/
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
.set noreorder
.set noat
--- 2.5.28/arch/alpha/lib/ev6-strncpy_from_user.S Thu Jul 25 01:03:32 2002
+++ linux/arch/alpha/lib/ev6-strncpy_from_user.S Thu Jul 25 15:28:26 2002
@@ -27,7 +27,7 @@
#include <asm/errno.h>
-#include <alpha/regdef.h>
+#include <asm/regdef.h>
/* Allow an exception for an insn; exit if we get one. */
--- 2.5.28/arch/alpha/kernel/pci.c Thu Jul 25 01:03:19 2002
+++ linux/arch/alpha/kernel/pci.c Thu Jul 25 15:28:26 2002
@@ -190,12 +190,12 @@ pcibios_align_resource(void *data, struc
#undef MB
#undef GB
-static void __init
+static int __init
pcibios_init(void)
{
- if (!alpha_mv.init_pci)
- return;
- alpha_mv.init_pci();
+ if (alpha_mv.init_pci)
+ alpha_mv.init_pci();
+ return 0;
}
subsys_initcall(pcibios_init);
--- 2.5.28/arch/alpha/kernel/signal.c Thu Jul 25 01:03:27 2002
+++ linux/arch/alpha/kernel/signal.c Thu Jul 25 15:28:26 2002
@@ -18,6 +18,7 @@
#include <linux/smp_lock.h>
#include <linux/stddef.h>
#include <linux/tty.h>
+#include <linux/binfmts.h>
#include <asm/bitops.h>
#include <asm/uaccess.h>
--- 2.5.28/arch/alpha/kernel/osf_sys.c Thu Jul 25 01:03:17 2002
+++ linux/arch/alpha/kernel/osf_sys.c Thu Jul 25 18:19:46 2002
@@ -33,6 +33,7 @@
#include <linux/file.h>
#include <linux/types.h>
#include <linux/ipc.h>
+#include <linux/namei.h>
#include <asm/fpu.h>
#include <asm/io.h>
@@ -956,6 +957,13 @@ static inline long put_it32(struct itime
__put_user(i->it_value.tv_usec, &o->it_value.tv_usec)));
}
+static inline void
+jiffies_to_timeval32(unsigned long jiffies, struct timeval32 *value)
+{
+ value->tv_usec = (jiffies % HZ) * (1000000L / HZ);
+ value->tv_sec = jiffies / HZ;
+}
+
asmlinkage int osf_gettimeofday(struct timeval32 *tv, struct timezone *tz)
{
if (tv) {
@@ -1163,32 +1171,24 @@ asmlinkage int osf_getrusage(int who, st
memset(&r, 0, sizeof(r));
switch (who) {
case RUSAGE_SELF:
- r.ru_utime.tv_sec = CT_TO_SECS(current->times.tms_utime);
- r.ru_utime.tv_usec = CT_TO_USECS(current->times.tms_utime);
- r.ru_stime.tv_sec = CT_TO_SECS(current->times.tms_stime);
- r.ru_stime.tv_usec = CT_TO_USECS(current->times.tms_stime);
+ jiffies_to_timeval32(current->utime, &r.ru_utime);
+ jiffies_to_timeval32(current->stime, &r.ru_stime);
r.ru_minflt = current->min_flt;
r.ru_majflt = current->maj_flt;
r.ru_nswap = current->nswap;
break;
case RUSAGE_CHILDREN:
- r.ru_utime.tv_sec = CT_TO_SECS(current->times.tms_cutime);
- r.ru_utime.tv_usec = CT_TO_USECS(current->times.tms_cutime);
- r.ru_stime.tv_sec = CT_TO_SECS(current->times.tms_cstime);
- r.ru_stime.tv_usec = CT_TO_USECS(current->times.tms_cstime);
+ jiffies_to_timeval32(current->cutime, &r.ru_utime);
+ jiffies_to_timeval32(current->cstime, &r.ru_stime);
r.ru_minflt = current->cmin_flt;
r.ru_majflt = current->cmaj_flt;
r.ru_nswap = current->cnswap;
break;
default:
- r.ru_utime.tv_sec = CT_TO_SECS(current->times.tms_utime +
- current->times.tms_cutime);
- r.ru_utime.tv_usec = CT_TO_USECS(current->times.tms_utime +
- current->times.tms_cutime);
- r.ru_stime.tv_sec = CT_TO_SECS(current->times.tms_stime +
- current->times.tms_cstime);
- r.ru_stime.tv_usec = CT_TO_USECS(current->times.tms_stime +
- current->times.tms_cstime);
+ jiffies_to_timeval32(current->utime + current->cutime,
+ &r.ru_utime);
+ jiffies_to_timeval32(current->stime + current->cstime,
+ &r.ru_stime);
r.ru_minflt = current->min_flt + current->cmin_flt;
r.ru_majflt = current->maj_flt + current->cmaj_flt;
r.ru_nswap = current->nswap + current->cnswap;
--- 2.5.28/arch/alpha/kernel/alpha_ksyms.c Thu Jul 25 15:26:41 2002
+++ linux/arch/alpha/kernel/alpha_ksyms.c Thu Jul 25 15:28:26 2002
@@ -214,7 +214,6 @@ EXPORT_SYMBOL(flush_tlb_page);
EXPORT_SYMBOL(smp_imb);
EXPORT_SYMBOL(cpu_data);
EXPORT_SYMBOL(__cpu_number_map);
-EXPORT_SYMBOL(smp_num_cpus);
EXPORT_SYMBOL(smp_call_function);
EXPORT_SYMBOL(smp_call_function_on_cpu);
EXPORT_SYMBOL(global_irq_holder);
--- 2.5.28/arch/alpha/kernel/setup.c Thu Jul 25 15:26:41 2002
+++ linux/arch/alpha/kernel/setup.c Thu Jul 25 15:28:26 2002
@@ -1118,7 +1118,7 @@ show_cpuinfo(struct seq_file *f, void *s
#ifdef CONFIG_SMP
seq_printf(f, "cpus active\t\t: %d\n"
"cpu active mask\t\t: %016lx\n",
- smp_num_cpus, cpu_present_mask);
+ num_online_cpus(), cpu_present_mask);
#endif
return 0;
--- 2.5.28/arch/alpha/kernel/irq_smp.c Thu Jul 25 01:03:19 2002
+++ linux/arch/alpha/kernel/irq_smp.c Thu Jul 25 15:38:52 2002
@@ -220,7 +220,7 @@ __global_restore_flags(unsigned long fla
#define DEBUG_SYNCHRONIZE_IRQ 0
void
-synchronize_irq(void)
+synchronize_irq(unsigned int irq)
{
#if 0
/* Joe's version. */
--- 2.5.28/arch/alpha/kernel/irq.c Thu Jul 25 01:03:30 2002
+++ linux/arch/alpha/kernel/irq.c Thu Jul 25 19:05:09 2002
@@ -75,13 +75,7 @@ int
handle_IRQ_event(unsigned int irq, struct pt_regs *regs,
struct irqaction *action)
{
- int status;
- int cpu = smp_processor_id();
-
- kstat.irqs[cpu][irq]++;
- irq_enter(cpu, irq);
-
- status = 1; /* Force the "do bottom halves" bit */
+ int status = 1; /* Force the "do bottom halves" bit */
do {
if (!(action->flags & SA_INTERRUPT))
@@ -97,8 +91,6 @@ handle_IRQ_event(unsigned int irq, struc
add_interrupt_randomness(irq);
local_irq_disable();
- irq_exit(cpu, irq);
-
return status;
}
@@ -130,12 +122,7 @@ void
disable_irq(unsigned int irq)
{
disable_irq_nosync(irq);
-
- if (!local_irq_count(smp_processor_id())) {
- do {
- barrier();
- } while (irq_desc[irq].status & IRQ_INPROGRESS);
- }
+ synchronize_irq(irq);
}
void
@@ -610,7 +597,8 @@ handle_irq(int irq, struct pt_regs * reg
return;
}
- irq_attempt(cpu, irq)++;
+ irq_enter();
+ kstat.irqs[cpu][irq]++;
spin_lock_irq(&desc->lock); /* mask also the higher prio events */
desc->handler->ack(irq);
/*
@@ -669,8 +657,7 @@ out:
desc->handler->end(irq);
spin_unlock(&desc->lock);
- if (softirq_pending(cpu))
- do_softirq();
+ irq_exit();
}
/*
@@ -702,7 +689,7 @@ probe_irq_on(void)
/* Wait for longstanding interrupts to trigger. */
for (delay = jiffies + HZ/50; time_after(delay, jiffies); )
- /* about 20ms delay */ synchronize_irq();
+ /* about 20ms delay */ synchronize_irq(0);
/* enable any unassigned irqs (we must startup again here because
if a longstanding irq happened in the previous stage, it may have
@@ -723,7 +710,7 @@ probe_irq_on(void)
* Wait for spurious interrupts to trigger
*/
for (delay = jiffies + HZ/10; time_after(delay, jiffies); )
- /* about 100ms delay */ synchronize_irq();
+ /* about 100ms delay */ synchronize_irq(0);
/*
* Now filter out any obviously spurious interrupts
--- 2.5.28/arch/alpha/kernel/irq_alpha.c Thu Jul 25 01:03:22 2002
+++ linux/arch/alpha/kernel/irq_alpha.c Thu Jul 25 18:54:10 2002
@@ -14,10 +14,6 @@
#include "proto.h"
#include "irq_impl.h"
-#ifndef CONFIG_SMP
-unsigned long __irq_attempt[NR_IRQS];
-#endif
-
/* Hack minimum IPL during interrupt processing for broken hardware. */
#ifdef CONFIG_ALPHA_BROKEN_IRQ_MASK
int __min_ipl;
@@ -63,7 +59,6 @@ do_entInt(unsigned long type, unsigned l
smp_percpu_timer_interrupt(®s);
cpu = smp_processor_id();
if (cpu != boot_cpuid) {
- irq_attempt(cpu, RTC_IRQ)++;
kstat.irqs[cpu][RTC_IRQ]++;
} else {
handle_irq(RTC_IRQ, ®s);
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
[not found] ` <02072318292300.02533@shadowfax.middleearth>
@ 2002-08-09 10:00 ` Martin Brulisauer
2002-08-09 14:23 ` George France
` (2 more replies)
0 siblings, 3 replies; 27+ messages in thread
From: Martin Brulisauer @ 2002-08-09 10:00 UTC (permalink / raw)
To: o.pitzeier, ghoz, france, Jay.Estabrook, pollard; +Cc: linux-kernel
On 23 Jul 2002, at 18:29, George France wrote:
> On Tuesday 23 July 2002 14:48, Oliver Pitzeier wrote:
> >
> > [ ... ]
> >
> > > You have made me aware that we have unintentionally created a
> > > private sort of club. I apologize. This will have to be corrected.
> >
> > That's not what I expected to read...
> > I think that this "private club" is not wrong at all... It just would
> > be nicer if there would be some kind of batch every week where all
> > alpha users/developers get a mail...
>
> I agree. We should send a weekly e-mail with the current status.
I did not see any news on the alpha/linux topic in lkml lately.
What is the way to keep in touch with the "private club" to help/
assist in getting further to a running 2.5.x kernel on alpha? I
am still on 2.4.18 on my test system.
Did anybody use gcc-3.0.x or gcc-3.1? With gcc-3.0.4 I
successfully built 2.4.18 but some applications don't run
correctly (eg. MySQL -> Parser). Is the kernel compilable
with gcc-3.1? Today I am using gcc-2.95.3 and I think is
ok; better than egcs (generates less unaligned traps at
runtime without changing the source).
Greetings,
Martin
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-08-09 10:00 ` Martin Brulisauer
@ 2002-08-09 14:23 ` George France
2002-08-09 17:51 ` Måns Rullgård
2002-08-09 21:03 ` Thunder from the hill
2 siblings, 0 replies; 27+ messages in thread
From: George France @ 2002-08-09 14:23 UTC (permalink / raw)
To: Martin Brulisauer, o.pitzeier, ghoz, Jay.Estabrook, pollard
Cc: linux-kernel, 'Bryce', Christopher C. Chimelis, Harry,
Jeff.Wiedemeier, Peter Petrakis, Rich Payne,
Christopher C. Chimelis
Hello Martin,
I am glad to have received your e-mail. I was just thinking about
you. For a quick update, as I am attempting to get demos out the
door for LWE:
Bryce has convinced me to setup a daily diary on advantgo.
http://www.advogato.org/person/France
which I plan on updating this afternoon. In short for me on alpha this
week:
Monday: I worked on the usb-uhci.c driver which has a few
32 bitisms. I will not have time to submit a tested
patch until after LWE. The problem appears to be
unsigned int io_addr = pci_resource_start()
and possibly
unsigned int io_size = pci_resource_len()
putting a 64bit address into a 32bit slot just does not
work very well. :-) Even after changes the 'int' to 'long',
the USB device worked extremely well, but upon inserting or
removing a USB device, the SCSI controller on my system
hangs for about 30 secs while it resets due to receiving
an invalid instruction. I suspect that there is corruption
of some kind on the PCI bus, but I do not have time this
week to track this down.
Tuesday: My Binutils patch was accepted for adding
-mev67, -mev68, -m21264a and -m21264b
Chatted with Bryce on several Alpha related issues.
Wed: Meet with Jay, Jeff, John and Harry in Nashua.
Jeff has 2.5.x (x=29 IIRC) working with smp and non smp systems.
after some testing the patches should make it to the kernel soon.
I pushed out updates for RH7.2 (Alpha) for gcc, util-linux, glibc
and openssl.
I worked on the RSS patches for the autobuild system.
Thur: I chatted (e-mail) with Peter Petrakis today. He would like me to upgrade
the system which hosts alphanews.net and linuxalpha.org to use RH7.2
I hope to have time on Friday (today, yikes!), before I leave for LWE.
As for gcc 3.1 in the kernel, most Alpha kernel hackers use egcs or 2.95.
Personally I tend to use 2.95 for my kernels.
I have UNH students that build several complete toolchains everyday
for alpha including 2.95.x, 3.0.x, 3.1.x and gcc-head. By complete tool
chain I mean binutils, gcc, gdb, glibc and all the support programs.
http://handhelds.org/projects/toolchain/autobuild/build-results.php3
I am certain that they would like to chat with you in great detail about
toolchain issues related to the Alpha architecture.
I agree that communications in regard to Alpha could and should be better.
We should probably setup a wiki or webpage to help keep track of Alpha
issues or maybe just use one of the existing alpha mailing lists or I could
setup something on alpha.crl.dec.com next week.
I hope this helps.
Best Regards,
--George
On Friday 09 August 2002 06:00, Martin Brulisauer wrote:
> On 23 Jul 2002, at 18:29, George France wrote:
> > On Tuesday 23 July 2002 14:48, Oliver Pitzeier wrote:
> > > [ ... ]
> > >
> > > > You have made me aware that we have unintentionally created a
> > > > private sort of club. I apologize. This will have to be corrected.
> > >
> > > That's not what I expected to read...
> > > I think that this "private club" is not wrong at all... It just would
> > > be nicer if there would be some kind of batch every week where all
> > > alpha users/developers get a mail...
> >
> > I agree. We should send a weekly e-mail with the current status.
>
> I did not see any news on the alpha/linux topic in lkml lately.
>
> What is the way to keep in touch with the "private club" to help/
> assist in getting further to a running 2.5.x kernel on alpha? I
> am still on 2.4.18 on my test system.
>
> Did anybody use gcc-3.0.x or gcc-3.1? With gcc-3.0.4 I
> successfully built 2.4.18 but some applications don't run
> correctly (eg. MySQL -> Parser). Is the kernel compilable
> with gcc-3.1? Today I am using gcc-2.95.3 and I think is
> ok; better than egcs (generates less unaligned traps at
> runtime without changing the source).
>
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-08-09 10:00 ` Martin Brulisauer
2002-08-09 14:23 ` George France
@ 2002-08-09 17:51 ` Måns Rullgård
2002-08-09 21:03 ` Thunder from the hill
2 siblings, 0 replies; 27+ messages in thread
From: Måns Rullgård @ 2002-08-09 17:51 UTC (permalink / raw)
To: martin; +Cc: o.pitzeier, ghoz, france, Jay.Estabrook, pollard, linux-kernel
"Martin Brulisauer" <martin@bruli.net> writes:
> Did anybody use gcc-3.0.x or gcc-3.1? With gcc-3.0.4 I
> successfully built 2.4.18 but some applications don't run
> correctly (eg. MySQL -> Parser). Is the kernel compilable
> with gcc-3.1? Today I am using gcc-2.95.3 and I think is
> ok; better than egcs (generates less unaligned traps at
> runtime without changing the source).
I've been using gcc 3.1 to compile kernel for a while (since it was
released). I don't have any problems with 2.4.18 and upward. I don't
remember which compiler I used previously.
--
Måns Rullgård
mru@users.sf.net
^ permalink raw reply [flat|nested] 27+ messages in thread
* Re: kbuild 2.5.26 - arch/alpha
2002-08-09 10:00 ` Martin Brulisauer
2002-08-09 14:23 ` George France
2002-08-09 17:51 ` Måns Rullgård
@ 2002-08-09 21:03 ` Thunder from the hill
2 siblings, 0 replies; 27+ messages in thread
From: Thunder from the hill @ 2002-08-09 21:03 UTC (permalink / raw)
To: Martin Brulisauer
Cc: o.pitzeier, ghoz, france, Jay.Estabrook, pollard, linux-kernel
Hi,
On Fri, 9 Aug 2002, Martin Brulisauer wrote:
> Is the kernel compilable with gcc-3.1?
Works with me. I didn't have problems on Alpha for now...
Well, yes, I did have problems compiling the stock kernels. But that's a
different page.
Thunder
--
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-
^ permalink raw reply [flat|nested] 27+ messages in thread
end of thread, other threads:[~2002-08-09 21:00 UTC | newest]
Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-21 13:54 kbuild 2.5.26 - arch/alpha Martin Brulisauer
[not found] ` <001101c230d7$c5973c40$1211a8c0@pitzeier.priv.at>
2002-07-23 12:42 ` Martin Brulisauer
2002-07-23 13:28 ` Jan-Benedict Glaw
2002-07-23 23:34 ` Oliver Pitzeier
2002-07-24 6:53 ` Thunder from the hill
2002-07-24 7:07 ` Thunder from the hill
2002-07-24 7:13 ` Martin Brulisauer
2002-07-24 7:45 ` Thunder from the hill
2002-07-26 9:47 ` [alpha 2.5.28] " Ivan Kokshaysky
2002-07-23 15:05 ` George France
2002-07-23 16:24 ` Ghozlane Toumi
2002-07-23 17:01 ` Martin Brulisauer
2002-07-23 19:00 ` George France
2002-07-23 19:08 ` Sven Koch
2002-07-23 21:24 ` Jay Estabrook
2002-07-23 20:18 ` Jay Estabrook
2002-07-23 23:44 ` Oliver Pitzeier
2002-07-23 23:35 ` Oliver Pitzeier
2002-07-23 23:54 ` Oliver Pitzeier
2002-07-24 3:51 ` Thunder from the hill
[not found] <002b01c23279$84be70a0$1211a8c0@pitzeier.priv.at>
[not found] ` <02072318292300.02533@shadowfax.middleearth>
2002-08-09 10:00 ` Martin Brulisauer
2002-08-09 14:23 ` George France
2002-08-09 17:51 ` Måns Rullgård
2002-08-09 21:03 ` Thunder from the hill
[not found] <20020723202538.NYJJ13064.tomts23-srv.bellnexxia.net@there>
[not found] ` <001701c2329b$a812f6d0$1211a8c0@pitzeier.priv.at>
2002-07-23 23:26 ` Martin Brulisauer
[not found] <3D3DF93C.16904.30BF311@localhost>
[not found] ` <001a01c2329d$6d588fd0$1211a8c0@pitzeier.priv.at>
2002-07-23 23:21 ` Martin Brulisauer
-- strict thread matches above, loose matches on Subject: below --
2002-07-20 8:41 Martin Brulisauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox