Linux 2.4.16 Bug (PPC)
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.okernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.odrivers/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 vmlinuxnm 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.okernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/char/char.o drivers/block/block.o drivers/misc/misc.odrivers/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 vmlinuxdrivers/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
Quoted 5 lines · war
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
Signature · 3 lines
DMCA, SSSCA, W3C? Who cares? http://thefreeworld.net/ http://www.surriel.com/ http://distro.conectiva.com/
Quoted 2 lines · war
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 ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html
Quoted 8 lines · Russell King
Quoted 2 lines · war
Bug still resides in 2.4.16 still, even after the PPC fixes that were applied to 2.4.16-pre1.
Looking at the
MAINTAINERSfile, 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.
Quoted 4 lines · Russell King
Looking at the
MAINTAINERSfile, 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: [email protected]
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.
Quoted 2 lines · war
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...
Quoted 10 lines
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.callows for a successful compile.
Is CONFIG_NVRAM on?
Signature · 2 lines
Tom Rini (TR1265) http://gate.crashing.org/~trini/
Quoted 15 lines · war
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);
Quoted 6 lines
Commenting the two undefined functions out in
drivers/video/platinumfb.callows 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
Quoted 8 lines · Russell King
Quoted 2 lines · war
Bug still resides in 2.4.16 still, even after the PPC fixes that were applied to 2.4.16-pre1.
Looking at the
MAINTAINERSfile, 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..
Signature · 2 lines
Tom Rini (TR1265) http://gate.crashing.org/~trini/
Quoted 5 lines · war
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. :)
Quoted 11 lines
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.callows 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.
Already learned how to fix this earlier, had to have nvram compiled in.
Quoted 29 lines · Paul Mackerras
Quoted 5 lines · war
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. :)
Quoted 11 lines
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.callows 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 withoutCONFIG_NVRAM. For now, just turn onCONFIG_NVRAM.Paul.