All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble compiling kernel for G5.
@ 2004-01-09 17:24 Stefan Berndtsson
  2004-01-10 23:44 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Berndtsson @ 2004-01-09 17:24 UTC (permalink / raw)
  To: linuxppc-dev


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.o
drivers/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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-09 17:24 Trouble compiling kernel for G5 Stefan Berndtsson
@ 2004-01-10 23:44 ` Benjamin Herrenschmidt
  2004-01-11  0:17   ` Stefan Berndtsson
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2004-01-10 23:44 UTC (permalink / raw)
  To: Stefan Berndtsson; +Cc: linuxppc-dev list


On Sat, 2004-01-10 at 04:24, Stefan Berndtsson wrote:
> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-10 23:44 ` Benjamin Herrenschmidt
@ 2004-01-11  0:17   ` Stefan Berndtsson
  2004-01-11  0:36     ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Berndtsson @ 2004-01-11  0:17 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list


Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

> On Sat, 2004-01-10 at 04:24, Stefan Berndtsson wrote:
>> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-11  0:17   ` Stefan Berndtsson
@ 2004-01-11  0:36     ` Benjamin Herrenschmidt
  2004-01-11  1:16       ` Stefan Berndtsson
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2004-01-11  0:36 UTC (permalink / raw)
  To: Stefan Berndtsson; +Cc: linuxppc-dev list


On Sun, 2004-01-11 at 11:17, Stefan Berndtsson wrote:
> Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
>
> > On Sat, 2004-01-10 at 04:24, Stefan Berndtsson wrote:
> >> 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?

It doesn't work at the moment ?

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-11  0:36     ` Benjamin Herrenschmidt
@ 2004-01-11  1:16       ` Stefan Berndtsson
  2004-01-11  1:30         ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Berndtsson @ 2004-01-11  1:16 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list


Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

> On Sun, 2004-01-11 at 11:17, Stefan Berndtsson wrote:
>> Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
>>
>> > On Sat, 2004-01-10 at 04:24, Stefan Berndtsson wrote:
>> >> 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?
>
> 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=0x00
cdrom_newpc_intr: 4 residual after xfer
cdrom_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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-11  1:16       ` Stefan Berndtsson
@ 2004-01-11  1:30         ` Benjamin Herrenschmidt
  2004-01-11  1:58           ` Stefan Berndtsson
  0 siblings, 1 reply; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2004-01-11  1:30 UTC (permalink / raw)
  To: Stefan Berndtsson; +Cc: linuxppc-dev list, Jens Axboe


>
> 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=0x00
> cdrom_newpc_intr: 4 residual after xfer
> cdrom_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.

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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Trouble compiling kernel for G5.
  2004-01-11  1:30         ` Benjamin Herrenschmidt
@ 2004-01-11  1:58           ` Stefan Berndtsson
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Berndtsson @ 2004-01-11  1:58 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, Jens Axboe


Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

>>
>> 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=0x00
>> cdrom_newpc_intr: 4 residual after xfer
>> cdrom_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.
>
> 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/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-11  1:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-09 17:24 Trouble compiling kernel for G5 Stefan Berndtsson
2004-01-10 23:44 ` Benjamin Herrenschmidt
2004-01-11  0:17   ` Stefan Berndtsson
2004-01-11  0:36     ` Benjamin Herrenschmidt
2004-01-11  1:16       ` Stefan Berndtsson
2004-01-11  1:30         ` Benjamin Herrenschmidt
2004-01-11  1:58           ` Stefan Berndtsson

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.