* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:14 ` Russell King
@ 2001-11-26 17:07 ` Marcelo Tosatti
2001-11-26 18:37 ` Tom Rini
2001-11-27 21:29 ` Paul Mackerras
2 siblings, 0 replies; 10+ messages in thread
From: Marcelo Tosatti @ 2001-11-26 17:07 UTC (permalink / raw)
To: Russell King; +Cc: war, linux-kernel
On Mon, 26 Nov 2001, Russell King wrote:
> On Mon, Nov 26, 2001 at 01:01:28PM -0500, war wrote:
> > Bug still resides in 2.4.16 still, even after the PPC fixes that were
> > applied to 2.4.16-pre1.
>
> Looking at the MAINTAINERS file, it appears that PPC is missing a person
> to look after it. I suppose you need to produce a patch that fixes the
> problem and submit it to the relevant people/mailing list for inclusion
> in the kernel.
Not really: The PPC people have patches to do that. I'll probably get them
into 2.4.17-pre1.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Linux 2.4.16 Bug (PPC)
@ 2001-11-26 18:01 war
2001-11-26 18:07 ` Rik van Riel
` (4 more replies)
0 siblings, 5 replies; 10+ messages in thread
From: war @ 2001-11-26 18:01 UTC (permalink / raw)
To: linux-kernel
Bug still resides in 2.4.16 still, even after the PPC fixes that were
applied to 2.4.16-pre1.
If nobody cares about PPC updates, I guess I should put the box back on
the shelf.
The video driver (plat) is the framebuffer for a few macs, without it,
I cannot do anything.
Any plans to fix this?
// default_vmode = nvram_read_byte(NV_VMODE);
// default_cmode = nvram_read_byte(NV_CMODE);
Commenting the two undefined functions out in drivers/video/platinumfb.c
allows for a successful compile.
It also allows for the video driver to be brought up succesfully.
Now will this bug be fixed in 2.4.17 for PPC or should I just put my PPC
back on the shelf? :)
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux/arch/ppc/lib'
make[1]: Leaving directory `/usr/src/linux/arch/ppc/lib'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o init/main.o init/version.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pci/driver.o
drivers/macintosh/macintosh.o drivers/video/video.o \
net/network.o \
/usr/src/linux/lib/lib.a \
--end-group \
-o vmlinux
nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw]
\)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
make[2]: Leaving directory `/usr/src/linux/arch/ppc/lib'
make[1]: Leaving directory `/usr/src/linux/arch/ppc/lib'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o init/main.o init/version.o \
--start-group \
arch/ppc/kernel/kernel.o arch/ppc/mm/mm.o arch/ppc/lib/lib.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/pci/driver.o
drivers/macintosh/macintosh.o drivers/video/video.o \
net/network.o \
/usr/src/linux/lib/lib.a \
--end-group \
-o vmlinux
drivers/video/video.o: In function `init_platinum':
drivers/video/video.o(.text.init+0x1350): undefined reference to
`nvram_read_byte'
drivers/video/video.o(.text.init+0x1350): relocation truncated to fit:
R_PPC_REL24 nvram_read_byte
drivers/video/video.o(.text.init+0x13d0): undefined reference to
`nvram_read_byte'
drivers/video/video.o(.text.init+0x13d0): relocation truncated to fit:
R_PPC_REL24 nvram_read_byte
make: *** [vmlinux] Error 1
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
@ 2001-11-26 18:07 ` Rik van Riel
2001-11-26 18:14 ` Russell King
` (3 subsequent siblings)
4 siblings, 0 replies; 10+ messages in thread
From: Rik van Riel @ 2001-11-26 18:07 UTC (permalink / raw)
To: war; +Cc: linux-kernel
On Mon, 26 Nov 2001, war wrote:
> Bug still resides in 2.4.16 still, even after the PPC fixes that were
> applied to 2.4.16-pre1.
>
> If nobody cares about PPC updates, I guess I should put the box back
> on the shelf.
I think the PPC maintainers care about PPC fixes;
most likely they're even forwarding patches to
marcelo ;)
Rik
--
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/
http://www.surriel.com/ http://distro.conectiva.com/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
2001-11-26 18:07 ` Rik van Riel
@ 2001-11-26 18:14 ` Russell King
2001-11-26 17:07 ` Marcelo Tosatti
` (2 more replies)
2001-11-26 18:34 ` Tom Rini
` (2 subsequent siblings)
4 siblings, 3 replies; 10+ messages in thread
From: Russell King @ 2001-11-26 18:14 UTC (permalink / raw)
To: war; +Cc: linux-kernel
On Mon, Nov 26, 2001 at 01:01:28PM -0500, war wrote:
> Bug still resides in 2.4.16 still, even after the PPC fixes that were
> applied to 2.4.16-pre1.
Looking at the MAINTAINERS file, it appears that PPC is missing a person
to look after it. I suppose you need to produce a patch that fixes the
problem and submit it to the relevant people/mailing list for inclusion
in the kernel.
--
Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
2001-11-26 18:07 ` Rik van Riel
2001-11-26 18:14 ` Russell King
@ 2001-11-26 18:34 ` Tom Rini
2001-11-26 18:35 ` Brian Gerst
2001-11-27 21:33 ` Paul Mackerras
4 siblings, 0 replies; 10+ messages in thread
From: Tom Rini @ 2001-11-26 18:34 UTC (permalink / raw)
To: war; +Cc: linux-kernel
On Mon, Nov 26, 2001 at 01:01:28PM -0500, war wrote:
> Bug still resides in 2.4.16 still, even after the PPC fixes that were
> applied to 2.4.16-pre1.
Didn't see this one reported before...
> The video driver (plat) is the framebuffer for a few macs, without it,
> I cannot do anything.
>
> Any plans to fix this?
>
> // default_vmode = nvram_read_byte(NV_VMODE);
> // default_cmode = nvram_read_byte(NV_CMODE);
>
> Commenting the two undefined functions out in drivers/video/platinumfb.c
> allows for a successful compile.
Is CONFIG_NVRAM on?
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
` (2 preceding siblings ...)
2001-11-26 18:34 ` Tom Rini
@ 2001-11-26 18:35 ` Brian Gerst
2001-11-27 21:33 ` Paul Mackerras
4 siblings, 0 replies; 10+ messages in thread
From: Brian Gerst @ 2001-11-26 18:35 UTC (permalink / raw)
To: war; +Cc: linux-kernel
war wrote:
>
> Bug still resides in 2.4.16 still, even after the PPC fixes that were
> applied to 2.4.16-pre1.
>
> If nobody cares about PPC updates, I guess I should put the box back on
> the shelf.
>
> The video driver (plat) is the framebuffer for a few macs, without it,
> I cannot do anything.
>
> Any plans to fix this?
>
> // default_vmode = nvram_read_byte(NV_VMODE);
> // default_cmode = nvram_read_byte(NV_CMODE);
>
> Commenting the two undefined functions out in drivers/video/platinumfb.c
> allows for a successful compile.
> It also allows for the video driver to be brought up succesfully.
>
> Now will this bug be fixed in 2.4.17 for PPC or should I just put my PPC
> back on the shelf? :)
Is CONFIG_NVRAM built in to the kernel?
--
Brian Gerst
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:14 ` Russell King
2001-11-26 17:07 ` Marcelo Tosatti
@ 2001-11-26 18:37 ` Tom Rini
2001-11-27 21:29 ` Paul Mackerras
2 siblings, 0 replies; 10+ messages in thread
From: Tom Rini @ 2001-11-26 18:37 UTC (permalink / raw)
To: Russell King; +Cc: war, linux-kernel
On Mon, Nov 26, 2001 at 06:14:07PM +0000, Russell King wrote:
> On Mon, Nov 26, 2001 at 01:01:28PM -0500, war wrote:
> > Bug still resides in 2.4.16 still, even after the PPC fixes that were
> > applied to 2.4.16-pre1.
>
> Looking at the MAINTAINERS file, it appears that PPC is missing a person
> to look after it. I suppose you need to produce a patch that fixes the
> problem and submit it to the relevant people/mailing list for inclusion
> in the kernel.
Well, not for that driver in particular but Paul Mackerras is listed
under 'LINUX FOR POWERPC' and Ben Herrenschmidt for 'LINUX FOR POWER
MACINTOSH'. The file itself lists a few names, but no email address
however..
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:14 ` Russell King
2001-11-26 17:07 ` Marcelo Tosatti
2001-11-26 18:37 ` Tom Rini
@ 2001-11-27 21:29 ` Paul Mackerras
2 siblings, 0 replies; 10+ messages in thread
From: Paul Mackerras @ 2001-11-27 21:29 UTC (permalink / raw)
To: Russell King; +Cc: war, linux-kernel
Russell King writes:
> Looking at the MAINTAINERS file, it appears that PPC is missing a person
> to look after it. I suppose you need to produce a patch that fixes the
> problem and submit it to the relevant people/mailing list for inclusion
> in the kernel.
LINUX FOR POWERPC
P: Paul Mackerras
M: paulus@samba.org
W: http://www.fsmlabs.com/linuxppcbk.html
S: Supported
Is that problem that it isn't apparent that PPC == PowerPC == POWERPC?
(Hmmm, I need to update that URL too.)
Paul.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
` (3 preceding siblings ...)
2001-11-26 18:35 ` Brian Gerst
@ 2001-11-27 21:33 ` Paul Mackerras
2001-11-27 22:02 ` war
4 siblings, 1 reply; 10+ messages in thread
From: Paul Mackerras @ 2001-11-27 21:33 UTC (permalink / raw)
To: war; +Cc: linux-kernel
war writes:
> Bug still resides in 2.4.16 still, even after the PPC fixes that were
> applied to 2.4.16-pre1.
>
> If nobody cares about PPC updates, I guess I should put the box back on
> the shelf.
Gratuitous rudeness will usually get you an answer. :)
> The video driver (plat) is the framebuffer for a few macs, without it,
> I cannot do anything.
>
> Any plans to fix this?
>
> // default_vmode = nvram_read_byte(NV_VMODE);
> // default_cmode = nvram_read_byte(NV_CMODE);
>
> Commenting the two undefined functions out in drivers/video/platinumfb.c
> allows for a successful compile.
> It also allows for the video driver to be brought up succesfully.
Have you reported this before, on this list or anywhere else?
The problem is that your config is slightly unusual in that you have
turned off CONFIG_NVRAM. We can put some ifdefs in so that it
compiles without CONFIG_NVRAM. For now, just turn on CONFIG_NVRAM.
Paul.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Linux 2.4.16 Bug (PPC)
2001-11-27 21:33 ` Paul Mackerras
@ 2001-11-27 22:02 ` war
0 siblings, 0 replies; 10+ messages in thread
From: war @ 2001-11-27 22:02 UTC (permalink / raw)
To: paulus; +Cc: linux-kernel
Already learned how to fix this earlier, had to have nvram compiled in.
Paul Mackerras wrote:
> war writes:
>
> > Bug still resides in 2.4.16 still, even after the PPC fixes that were
> > applied to 2.4.16-pre1.
> >
> > If nobody cares about PPC updates, I guess I should put the box back on
> > the shelf.
>
> Gratuitous rudeness will usually get you an answer. :)
>
> > The video driver (plat) is the framebuffer for a few macs, without it,
> > I cannot do anything.
> >
> > Any plans to fix this?
> >
> > // default_vmode = nvram_read_byte(NV_VMODE);
> > // default_cmode = nvram_read_byte(NV_CMODE);
> >
> > Commenting the two undefined functions out in drivers/video/platinumfb.c
> > allows for a successful compile.
> > It also allows for the video driver to be brought up succesfully.
>
> Have you reported this before, on this list or anywhere else?
>
> The problem is that your config is slightly unusual in that you have
> turned off CONFIG_NVRAM. We can put some ifdefs in so that it
> compiles without CONFIG_NVRAM. For now, just turn on CONFIG_NVRAM.
>
> Paul.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2001-11-27 22:02 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-26 18:01 Linux 2.4.16 Bug (PPC) war
2001-11-26 18:07 ` Rik van Riel
2001-11-26 18:14 ` Russell King
2001-11-26 17:07 ` Marcelo Tosatti
2001-11-26 18:37 ` Tom Rini
2001-11-27 21:29 ` Paul Mackerras
2001-11-26 18:34 ` Tom Rini
2001-11-26 18:35 ` Brian Gerst
2001-11-27 21:33 ` Paul Mackerras
2001-11-27 22:02 ` war
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox