From owner-freebsd-current@FreeBSD.ORG Tue Apr 15 21:35:18 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E698937B401; Tue, 15 Apr 2003 21:35:17 -0700 (PDT) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [133.11.205.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E62D43FBD; Tue, 15 Apr 2003 21:35:16 -0700 (PDT) (envelope-from simokawa@sat.t.u-tokyo.ac.jp) Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1]) by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 565B92181B6; Wed, 16 Apr 2003 13:35:15 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) h3G4ZFnl014715; Wed, 16 Apr 2003 13:35:15 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3])2.9.3.2) with ESMTP id AIJ56827; Wed, 16 Apr 2003 13:35:14 +0900 (JST) Date: Wed, 16 Apr 2003 13:35:14 +0900 Message-ID: From: Hidetoshi Shimokawa To: Munehiro Matsuda In-Reply-To: References: <20030416001334.M17503@kushnir1.kiev.ua> <20030416.130459.74757314.haro@kgt.co.jp> User-Agent: Wanderlust/2.11.0 (Wonderwall) REMI/1.14.3 (Matsudai) FLIM/1.14.3 (=?ISO-8859-1?Q?Unebigory=F2mae?=) APEL/10.3 MULE XEmacs/21.4 (patch 8) (Honest Recruiter) (i386--freebsd) X-Face: OE([KxWyJI0r[R~S/>7ia}SJ)i%a,$-9%7{*yihQk|]gl}2p#"oXmX/fT}Bn7: #j7i14gu$jgR\S*&C3R/pJX List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Apr 2003 04:35:18 -0000 Could you try the following patch? /\ Hidetoshi Shimokawa \/ simokawa@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@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 > > Date: Wed, 16 Apr 2003 00:27:15 +0300 (EEST) > > ::pcm0: 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: 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: port 0xfc8c-0xfc8f,0xfcc0-0xfcff mem 0xfedf8000-0xfedfffff irq 9 at device 9.0 on pci0 > > pcm0: > > > > > > 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. > > > > Hope this helps, > > Haro > > =------------------------------------------------------------------------------ > > _ _ 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@kgt.co.jp > >