Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: DEC PWS433a and 2.1.61VGER don't match...
@ 1997-11-11 19:14 David S. Miller
  1997-11-11 20:17 ` Matti Aarnio
  0 siblings, 1 reply; 5+ messages in thread
From: David S. Miller @ 1997-11-11 19:14 UTC (permalink / raw)


Date: 	Mon, 10 Nov 1997 21:45:35 +0200 (EET)
   From: Matti Aarnio <matti.aarnio@tele.fi>

	   I have been wondering, why my test kernels of VGER series
	   have rather consistently failed to boot with AIC7XXX SCSI 
	   controller, and today I finally found a small difference
	   between working arch/alpha/kernel/pyxis.c, and failing one
	   (on VGER series):

   #define vuip  volatile unsigned int *

   Ok:   *((vuip)SOME_ADDRESS) = ...
   Fail: *(viup)SOME_ADDRESS = ...

This smells of a GCC bug, but it is very strange.  What does CPP
pre-processed output of these two cases look like btw?

	   Does any portable way exist for doing this type
	   of architecture specific linkages on modules, or should we just
	   yield, and add things like this on  net/ipv6/Makefile:

   ifeq ($(ARCH),alpha)
   IPV6_OBJS += ../../arch/alpha/lib/csum_ipv6_magic.o
   endif

No this is horrible.  Can we find some other way to deal with this?
I really think maybe that csum_ipv6_magic code should be in the other
checksum.c code, #ifdef'd out when IPv6 is not compiled in.  Would
this work?

Later,
David S. Miller
davem@dm.cobaltmicro.com

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <19971111124626.31896@dot.cygnus.com>]
* DEC PWS433a and 2.1.61VGER don't match...
@ 1997-11-10 19:45 Matti Aarnio
  0 siblings, 0 replies; 5+ messages in thread
From: Matti Aarnio @ 1997-11-10 19:45 UTC (permalink / raw)


Hi,

	Apparently I am one of the rare people running 2.1 series
	kernels on Alpha, as all questions we see are about 2.0 ...

	That said, I have DEC PWS 433a which system is also known
	as MIATA and the chipset is PYXIS.

	Linus' 2.1.61 does not (so far) contain support for this
	model, but luckily the so called VGER series has included
	patches for it.

	I have been wondering, why my test kernels of VGER series
	have rather consistently failed to boot with AIC7XXX SCSI 
	controller, and today I finally found a small difference
	between working arch/alpha/kernel/pyxis.c, and failing one
	(on VGER series):

#define vuip  volatile unsigned int *

Ok:   *((vuip)SOME_ADDRESS) = ...
Fail: *(viup)SOME_ADDRESS = ...

	Having done that change the system boots fine, but then I found
	out that there is something amiss in top-level Makefile/Rules.make
	and generated modules don't load due to mismatched symbols...
	Namely on Alpha the file  <linux/modversions.h>  does not get
	<linux/modules/alpha_ksyms.ver> into it automatically.
	Removing  include/linux/modversions.h  and doing:
		make clean boot modules modules_install
	regenerates the file with missing entry, and generates working
	ksyms.

	Anybody with good ideas to get that to work without that manual
	intervention ?

	The reason why I want to use 2.1.X series is IPv6, and there
	too is something amiss.  Module ipv6 is missing  csum_ipv6_magic
	which is defined in arch/alpha/lib/, but never linked in with
	the module.  Does any portable way exist for doing this type
	of architecture specific linkages on modules, or should we just
	yield, and add things like this on  net/ipv6/Makefile:

ifeq ($(ARCH),alpha)
IPV6_OBJS += ../../arch/alpha/lib/csum_ipv6_magic.o
endif

	Oh yes, syslogd is throwing exceptions at  __copy_user
	(copy_user.S, line 55, or line 69, depending which address
	 you refer to at the exception message):

syslogd: Exception at [<fffffc000041b860>] (fffffc000041b91c)

	I am way too tired to figure this one out today..

/Matti Aarnio <matti.aarnio@tele.fi>

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-11-11 23:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-11 19:14 DEC PWS433a and 2.1.61VGER don't match David S. Miller
1997-11-11 20:17 ` Matti Aarnio
1997-11-11 20:46   ` Richard Henderson
     [not found] <19971111124626.31896@dot.cygnus.com>
1997-11-11 23:23 ` Matti Aarnio
  -- strict thread matches above, loose matches on Subject: below --
1997-11-10 19:45 Matti Aarnio

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox