* [parisc-linux] Kernel 2.4.20 help?
@ 2003-01-23 1:19 Sir Ace
2003-01-23 1:30 ` Randolph Chung
0 siblings, 1 reply; 4+ messages in thread
From: Sir Ace @ 2003-01-23 1:19 UTC (permalink / raw)
To: parisc-linux
I've been playing with the 2.4.20 on my box {debian 3.0 parisc}
I've found a few problems, tried a couple of fixes and got chewed out by a
kernel deveolper so I saw you mentioned on the debian site and thought I
should ask you.
What I get is this:
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-D__linux__ -pipe -fno-strength-reduce -mno-space-regs
-mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7200 -nostdinc -iwithprefix include
-DKBUILD_BASENAME=scsi_merge -c -o scsi_merge.o scsi_merge.c
scsi_merge.c: In function `__count_segments':
scsi_merge.c:226: warning: implicit declaration of function `page_to_phys'
scsi_merge.c: In function `initialize_merge_fn':
scsi_merge.c:1199: `PCI_DMA_BUS_IS_PHYS' undeclared (first use in this
function)scsi_merge.c:1199: (Each undeclared identifier is reported only
once
scsi_merge.c:1199: for each function it appears in.)
make[3]: *** [scsi_merge.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20/drivers/scsi'
make[1]: *** [_subdir_scsi] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2
What I did first to fix it was add:
#ifndef PCI_DMA_BUS_IS_PHYS
#define PCI_DMA_BUS_IS_PHYS 1
#endif
I asked the linux-scsi list if that was the proper fix and promptly got
yelled at. I was told the problem was that asm/pci.h was not included and
that was the fix I should use. Even though the defines would work...
So I reverted the code back and added the include, now I get the original
error and nothing seems to be resolved.
After adding my defines back I still get errors, just much farther along:
trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-D__linux__ -pipe -fno-strength-reduce -mno-space-regs
-mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
-mschedule=7200 -nostdinc -iwithprefix include -DKBUILD_BASENAME=traps
-c -o traps.o traps.c
traps.c:125: conflicting types for `dump_stack'
/usr/src/linux-2.4.20/include/linux/kernel.h:111: previous declaration of
`dump_stack'
make[1]: *** [traps.o] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.20/arch/parisc/kernel'
make: *** [_dir_arch/parisc/kernel] Error 2
Um, help?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Kernel 2.4.20 help?
2003-01-23 1:19 [parisc-linux] Kernel 2.4.20 help? Sir Ace
@ 2003-01-23 1:30 ` Randolph Chung
2003-01-23 1:44 ` Sir Ace
0 siblings, 1 reply; 4+ messages in thread
From: Randolph Chung @ 2003-01-23 1:30 UTC (permalink / raw)
To: Sir Ace; +Cc: parisc-linux
In reference to a message from Sir Ace, dated Jan 22:
>
> I've been playing with the 2.4.20 on my box {debian 3.0 parisc}
> I've found a few problems, tried a couple of fixes and got chewed out by a
> kernel deveolper so I saw you mentioned on the debian site and thought I
> should ask you.
where did you get your kernel tree? you need to use a tree downloaded
from parisc-linux.org, instead of an "official" linux tree,
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Kernel 2.4.20 help?
2003-01-23 1:30 ` Randolph Chung
@ 2003-01-23 1:44 ` Sir Ace
2003-01-23 2:47 ` Randolph Chung
0 siblings, 1 reply; 4+ messages in thread
From: Sir Ace @ 2003-01-23 1:44 UTC (permalink / raw)
To: Randolph Chung; +Cc: parisc-linux
I'm using Linus's Tree/Marcelo's Tree 2.4
How much difference is there between the custom one on hppa-linux.org, and
2.4.20?
On Wed, 22 Jan 2003, Randolph Chung wrote:
> In reference to a message from Sir Ace, dated Jan 22:
> >
> > I've been playing with the 2.4.20 on my box {debian 3.0 parisc}
> > I've found a few problems, tried a couple of fixes and got chewed out by a
> > kernel deveolper so I saw you mentioned on the debian site and thought I
> > should ask you.
>
> where did you get your kernel tree? you need to use a tree downloaded
> from parisc-linux.org, instead of an "official" linux tree,
>
> randolph
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [parisc-linux] Kernel 2.4.20 help?
2003-01-23 1:44 ` Sir Ace
@ 2003-01-23 2:47 ` Randolph Chung
0 siblings, 0 replies; 4+ messages in thread
From: Randolph Chung @ 2003-01-23 2:47 UTC (permalink / raw)
To: Sir Ace; +Cc: parisc-linux
> How much difference is there between the custom one on hppa-linux.org, and
> 2.4.20?
Go to http://ftp.parisc-linux.org/cvs/ and look at the patch-* files.
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-01-23 2:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-23 1:19 [parisc-linux] Kernel 2.4.20 help? Sir Ace
2003-01-23 1:30 ` Randolph Chung
2003-01-23 1:44 ` Sir Ace
2003-01-23 2:47 ` Randolph Chung
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.