pcm0: unable to initialize the card (YMF724)
Munehiro Matsuda
haro at kgt.co.jp
Tue Apr 15 22:00:54 PDT 2003
Hi Simokawa-san,
Yes, it's fixed with your patch.
Thank you very much for your quick response.
Regards,
Haro
From: Hidetoshi Shimokawa <simokawa at sat.t.u-tokyo.ac.jp>
Date: Wed, 16 Apr 2003 13:35:14 +0900
::Could you try the following patch?
::
::/\ Hidetoshi Shimokawa
::\/ simokawa at sat.t.u-tokyo.ac.jp
::PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
::
::Index: ds1.c
::===================================================================
::RCS file: /home/ncvs/src/sys/dev/sound/pci/ds1.c,v
::retrieving revision 1.31
::diff -u -r1.31 ds1.c
::--- ds1.c 20 Feb 2003 17:31:11 -0000 1.31
::+++ ds1.c 16 Apr 2003 04:34:08 -0000
::@@ -828,7 +828,7 @@
::
:: if (sc->regbase == NULL) {
:: if (bus_dma_tag_create(NULL, 2, 0, BUS_SPACE_MAXADDR_32BIT, BUS_SPACE_MAXADDR,
::- NULL, NULL, memsz, 1, 1, 0, &sc->control_dmat))
::+ NULL, NULL, memsz, 1, memsz, 0, &sc->control_dmat))
:: return -1;
:: if (bus_dmamem_alloc(sc->control_dmat, &buf, BUS_DMA_NOWAIT, &sc->map))
:: return -1;
::
::At Wed, 16 Apr 2003 13:26:13 +0900,
::Hidetoshi Shimokawa wrote:
::>
::> Thanks for letting me know. I'll look into the problem.
::>
::> /\ Hidetoshi Shimokawa
::> \/ simokawa at sat.t.u-tokyo.ac.jp
::> PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
::>
::> At Wed, 16 Apr 2003 13:04:59 +0900 (JST),
::> Munehiro Matsuda wrote:
::> >
::> > Hi all,
::> >
::> > From: Vladimir Kushnir <vkushnir at alfacom.net>
::> > Date: Wed, 16 Apr 2003 00:27:15 +0300 (EEST)
::> > ::pcm0: <Yamaha DS-1E (YMF724F)> mem 0xeb000000-0 xeb007fff irq 10 at device
::> > ::16.0 on pci0
::> > ::ds1: setmap (502000, 1000), nseg=0, error=27
::> > ::pcm0: pcs=120, rcs=16, ecs=16, ws=0, memsz=1584 4
::> > ::pcm0: unable to initialize the card
::> > ::device_probe_and_attach: pcm0 attac returned 6
::> >
::> > I also get similar problem, here too.
::> > dmesg NG:
::> > pcm0: <Yamaha DS-1E (YMF744)> port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0
::> > pcm0: pcs=120, rcs=16, ecs=16, ws=0, memsz=15844
::> > pcm0: unable to initialize the card
::> > device_probe_and_attach: pcm0 attach returned 6
::> >
::> > dmesg OK:
::> > pcm0: <Yamaha DS-1E (YMF744)> port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0
::> > pcm0: <Asahi Kasei AK4543 AC97 Codec>
::> >
::> >
::> > I have tracked down that, problem started with rev 1.41 of
::> > src/sys/i386/i386/busdma_machdep.c and still happens with rev 1.43.
::> > If I go back to rev 1.40, the problem goes a way.
=------------------------------------------------------------------------------
_ _ Munehiro (haro) Matsuda
-|- /_\ |_|_| Network Solution Dept., Kubota Graphics Technologies Inc.
/|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan
Tel: +81-3-3225-0373 Fax: +81-3-3225-0740
Email: haro at kgt.co.jp
More information about the freebsd-current
mailing list