Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Ryan Bradetich <rbradetich@uswest.net>
To: christian@familieschmitt.de
Cc: Helge Deller <helge.deller@sap.com>, parisc-linux@lists.parisc-linux.org
Subject: Re: [parisc-linux] Harmony on 710 working?
Date: 29 Aug 2002 10:54:31 -0600	[thread overview]
Message-ID: <1030640071.22367.392.camel@beavis> (raw)
In-Reply-To: <3D6E258B.6010600@gmx.de>

I have a theory on this .... but will probably be dis-reguarded by
someone more knowledgable :)

I will try to explain what I believe the problem is, and provid a
quick hack/work around for you to get it working.


First can you tell me if CONFIG_IOMMU_CCIO is defined in your
kernel as this will affect my answer.

My suspicion is that it is not defined, thus my answer makes
this assumption.


Problem:
	The CONFIG_IOMMU_CCIO is not defined in your kernel,
	so the ccio_get_fake() is defined to be NULL in
	include/asm-parisc/pci.h.  This usually works fine
	if the drivers are compiled into the kernel ... but
	you are loading this as a module....  My suspicion is
	that the harmony module is trying to find the 
	ccio_get_fake() entry point and your kernel does not
	export that function. (CONFIG_IOMMU_CCIO is not 
	defined).

	What confuses my about this problem is why ccio_get_fake()
	is not defined to NULL by include/asm-parisc/pci.h.  Is
	there a mis-match between your kernel and module CONFIG_*
	options?


Solution:
	Since the 710 does not have ccio, the cico_get_fake() 
	is not needed. The ccio_get_fake() only needed for ccio
	machines on busses below the ccio that are not PCI (ie,
	PIC, GSC).  So for you temp hack, just assign
	harmony.fake_pci_dev to NULL.  Once we have a better
	picture of what is happening, we will insert a better
	fix if appropriate :)

Thanks,

- Ryan

	
On Thu, 2002-08-29 at 07:45, Christian Schmitt wrote:
> Helge Deller wrote:
> > On Wednesday 28 August 2002 16:34, Christian Schmitt wrote:
> > 
> >>I recently downloaded and compiled the latest pa-kernel. I also included
> >>harmony sound support and now I would like to know if and how I can access
> >>the sound device. Serching on the web was no success.
> > 
> > 
> > insmod harmony
> > aumix
> > mpg123 <your-favorite-mp3-file>
> > 
> 
> I recompiled the kernel with harmony as a module. I get unresolved symbols when 
> loading the harmony driver:
> 
> ccio_get_fake
> 
> Any suggestions?
> 
> Chris
> 
> 
> -- 
> Linux - Cause life is too short for reboots
> 
> 
> _______________________________________________
> parisc-linux mailing list
> parisc-linux@lists.parisc-linux.org
> http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
> 

  reply	other threads:[~2002-08-29 16:54 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-28 14:34 [parisc-linux] Harmony on 710 working? Christian Schmitt
2002-08-28 17:06 ` Helge Deller
2002-08-29 13:45   ` Christian Schmitt
2002-08-29 16:54     ` Ryan Bradetich [this message]
2002-08-29 17:05       ` Grant Grundler
2002-08-29 18:22       ` Christian Schmitt
2002-08-29 18:38         ` Ryan Bradetich
2002-08-29 18:45           ` Ryan Bradetich
2002-08-29 16:55     ` Grant Grundler
2002-08-28 20:20 ` Juergen Braukmann
2002-08-29  7:43   ` Patrick Caulfield
  -- strict thread matches above, loose matches on Subject: below --
2002-08-29 22:28 John Marvin
2002-08-30 16:02 ` Steve Pacenka
2002-08-30 16:10   ` Matthew Wilcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1030640071.22367.392.camel@beavis \
    --to=rbradetich@uswest.net \
    --cc=christian@familieschmitt.de \
    --cc=helge.deller@sap.com \
    --cc=parisc-linux@lists.parisc-linux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox