Re: Can't compile a kernel ...
All fixed ...
a) Chris, you gave me a clue: I needed to make /usr/include/{asm,linux}
symlinks.
b) I had to do a `make config' and just hold down enter to get it to
remake include/linux/autoconf.h ... I woulnd have thought `make dep' or
something should do that but ...
That allowed me to compile the kernel with alpha-patches.
I then had a go at Nikita's stuff. Two changes needed: first reverse the
patch to include/linux/types.h, then add a patch to drivers/scsi/aic7xxx.c
(see below). BTW, no trouble with ide-cd now ...
I haven't tried running these two new kernels yet ... I'll try the latest
(from Nikita's patches) on Monday, when I'm physically at the machine.
BTW there's a 2.0.30-pre10 now, as of Thursday. I don't know how much has
changed ...
Cheers,
Nikhil.
--
Nikhil Nair
Trinity College, Cambridge, England
Tel.: +44 1223 368353
Email: nn201@cus.cam.ac.uk
nnair@debian.org
---------------------------------------
Date: Wed, 17 Sep 1997 08:07:33 -0500 (EST)
From: "Leslie F. Donaldson" <donaldlf@cs.rose-hulman.edu>
Reply-To: axp-list@redhat.com
To: axp-list@redhat.com
Cc: atrottmann@aart.ch
Subject: RE: linux-pre-2.0.31-9
Resent-Date: 17 Sep 1997 13:42:24 -0000
Resent-From: axp-list@redhat.com
Resent-cc: recipient list not shown: ;
Try this for fixing the driver.
(comes from my 2.1.55) patch.
Note: this fuction isn't actually used yet.
*** linux/drivers/scsi/aic7xxx.c.old Fri Sep 5 18:58:42 1997
--- linux/drivers/scsi/aic7xxx.c Sat Sep 13 11:15:09 1997
***************
*** 992,997 ****
--- 992,998 ----
{
if (p->maddr != NULL)
{
+ #ifdef 0
__asm __volatile("
cld;
1: lodsb;
***************
*** 1001,1006 ****
--- 1002,1014 ----
"r" ((p)->maddr + (port)),
"S" ((valp)), "c" ((size)) :
"%esi", "%ecx", "%eax");
+ #else
+ unsigned char *iop = ((p)->maddr + (port));
+ const unsigned char *dp = (valp);
+ int xferlen = (size);
+ for (; xferlen; --xferlen)
+ *iop = *dp++;
+ #endif
}
else
{
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-alpha-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: