Trouble compiling kernel for G5.
When trying to compile the latest rsynced kernel (checked today, 2004-01-09) from source.mvista.com::linuxppc-2.5-benh (2.6.1-rc1-ben1) for my G5, I run into the following message with SATA:
CC drivers/scsi/sata_svw.odrivers/scsi/sata_svw.c:236: error: request for member bios_param' in something not a structure or union drivers/scsi/sata_svw.c:236: error: initializer element is not constant drivers/scsi/sata_svw.c:236: error: (near initialization for k2_sata_sht.proc_info') drivers/scsi/sata_svw.c: In function `k2_sata_init_one':drivers/scsi/sata_svw.c:369: warning: label `err_out_unmap' defined but not used make[2]: *** [drivers/scsi/sata_svw.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
My .config can be found at http://stefan.nocrew.org/config-g5.txt
GCC version is 3.3.3, currently running kernel 2.6.0-test10.
Anything else needed from me?
/Stefan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 3 lines · Stefan Berndtsson
When trying to compile the latest rsynced kernel (checked today, 2004-01-09) from source.mvista.com::linuxppc-2.5-benh (2.6.1-rc1-ben1) for my G5, I run into the following message with SATA:
rsync again
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Benjamin Herrenschmidt
Quoted 3 lines · Stefan Berndtsson
When trying to compile the latest rsynced kernel (checked today, 2004-01-09) from source.mvista.com::linuxppc-2.5-benh (2.6.1-rc1-ben1) for my G5, I run into the following message with SATA:
rsync again
Figured from the other mails that mvista wasn't up to date at the point, so with a 2.6.1-ben1 it compiled and booted fine. Thanks.
Any news on when DVD-writing will be possible with DMA turned on?
/Stefan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Stefan Berndtsson
Quoted 5 lines · Benjamin Herrenschmidt
Quoted 3 lines · Stefan Berndtsson
When trying to compile the latest rsynced kernel (checked today, 2004-01-09) from source.mvista.com::linuxppc-2.5-benh (2.6.1-rc1-ben1) for my G5, I run into the following message with SATA:
Quoted 6 lines
Quoted 1 line
rsync again
Figured from the other mails that mvista wasn't up to date at the point, so with a 2.6.1-ben1 it compiled and booted fine. Thanks.
Any news on when DVD-writing will be possible with DMA turned on?
It doesn't work at the moment ?
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 7 lines · Stefan Berndtsson
Quoted 5 lines · Benjamin Herrenschmidt
Quoted 3 lines · Stefan Berndtsson
When trying to compile the latest rsynced kernel (checked today, 2004-01-09) from source.mvista.com::linuxppc-2.5-benh (2.6.1-rc1-ben1) for my G5, I run into the following message with SATA:
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
rsync again
Figured from the other mails that mvista wasn't up to date at the point, so with a 2.6.1-ben1 it compiled and booted fine. Thanks.
Any news on when DVD-writing will be possible with DMA turned on?
It doesn't work at the moment ?
When I, on the G5, run:
growisofs -Z /dev/hda -dvd-video dvddir
I get:
ide0, timeout waiting for dbdma command stop
ide-cd: dma error
hda: DMA disabled
hda: dma error: status=0x50 { DriveReady SeekComplete }
hda: dma error: error=0x00cdrom_newpc_intr: 4 residual after xfercdrom_newpc_intr: 4 residual after xfer
And hdparm shows the drive to no longer have DMA turned on, which it did before running growisofs.
The same command on a B&W G3 runs fine with DMA (2.4.23 kernel).
So, to answer your question, it seems it does not work, no.
/Stefan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines
ide0, timeout waiting for dbdma command stop
ide-cd: dma error
hda: DMA disabled
hda: dma error: status=0x50 { DriveReady SeekComplete }
hda: dma error: error=0x00cdrom_newpc_intr: 4 residual after xfercdrom_newpc_intr: 4 residual after xfer
Quoted 6 lines
And hdparm shows the drive to no longer have DMA turned on, which it did before running growisofs.
The same command on a B&W G3 runs fine with DMA (2.4.23 kernel).
So, to answer your question, it seems it does not work, no.
Look like an underrun again, or an alignement problem as there seem to be something weird with the DBDMA on the G5 at least (there is some "workaround" code in darwin that I haven't been able to understand fully yet).
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 12 lines · Benjamin Herrenschmidt
Quoted 12 lines
ide0, timeout waiting for dbdma command stop
ide-cd: dma error
hda: DMA disabled
hda: dma error: status=0x50 { DriveReady SeekComplete }
hda: dma error: error=0x00cdrom_newpc_intr: 4 residual after xfercdrom_newpc_intr: 4 residual after xferAnd hdparm shows the drive to no longer have DMA turned on, which it did before running growisofs.
Quoted 8 lines
Quoted 3 lines
The same command on a B&W G3 runs fine with DMA (2.4.23 kernel).
So, to answer your question, it seems it does not work, no.
Look like an underrun again, or an alignement problem as there seem to be something weird with the DBDMA on the G5 at least (there is some "workaround" code in darwin that I haven't been able to understand fully yet).
Ok, I'll just sit tight and wait a bit then. :)
/Stefan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/