From owner-freebsd-firewire Mon Dec 16 18:41:13 2002 Delivered-To: freebsd-firewire@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 366EB37B401; Mon, 16 Dec 2002 18:41:11 -0800 (PST) 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 6CAA243EC5; Mon, 16 Dec 2002 18:41:00 -0800 (PST) (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 CB3EA2180DC; Tue, 17 Dec 2002 11:40:53 +0900 (JST) Received: from mailhosting.itc.u-tokyo.ac.jp (IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3]) by is1.mh.itc.u-tokyo.ac.jp (8.11.3/8.11.3) with ESMTP id gBH2erJ09522; Tue, 17 Dec 2002 11:40:53 +0900 Received: from ett.sat.t.u-tokyo.ac.jp (ett.sat.t.u-tokyo.ac.jp [133.11.135.3]) by mailhosting.itc.u-tokyo.ac.jp (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AHN59476; Tue, 17 Dec 2002 11:40:52 +0900 (JST) Date: Tue, 17 Dec 2002 11:40:52 +0900 Message-ID: From: Hidetoshi Shimokawa To: Sameh Ghane Cc: freebsd-firewire@freebsd.org, freebsd-mobile@freebsd.org Subject: Re: if_fwe and interrupts weirdness in current (maybe cardbus related ?) In-Reply-To: <20021216143510.GC14230@anthologeek.net> References: <20021216143510.GC14230@anthologeek.net> 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-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At Mon, 16 Dec 2002 15:35:10 +0100, Sameh Ghane wrote: > The other problem I am seeing is interrupt storm: > > /0 /10 /20 /30 /40 /50 /60 /70 /80 /90 /100 > root irq10: cbb XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX > root idle XXXXXXXXX > XXXXX > > The laptop's dmesg is attached for more info about cbb, etc. > > Even when no network activity occur, top(1) shows : > last pid: 666; load averages: 0.02, 0.03, 0.00 up 0+01:28:15 14:25:52 > 20 processes: 1 running, 19 sleeping > CPU states: 0.0% user, 0.0% nice, 0.0% system, 90.1% interrupt, 9.9% idle > ^^^^^ > Mem: 7428K Active, 14M Inact, 19M Wired, 8800K Buf, 457M Free > Swap: 1024M Total, 1024M Free > > When there is no such problem on the workstation. > > The only things that change from a fresh -current install are: > > /boot/device.hints adds: > # FreeBSD freezes when trying to use DMA on my SiS5591 > hw.ata.ata_dma="0" > hw.ata.atapi_dma="0" > # else I get a double page fault: > hw.pcic.intr_path="1" > hw.pcic.irq="0" > > /boot/loader.conf: > snd_ich_load="YES" > acpi_load="YES" > firewire_load="YES" > if_fwe_load="YES" > vesa_load="YES" > boot_verbose="YES" > linux_load="YES" > nvidia_load="YES" > > I tried to add the DEVICE_POLLING option in order to reduce the interrupt usage, > it did not change *anything* wrt this bug. > > It does not seem to come from the fwe interface. Rather from the bus or > something. > > I would be happy to help find out a solution to these problems. Are you sure the device polling was really enabled? To enable it, you need to do 'sysctl kern.polling.enable=1', 'ifconfig fwe0 down;ifconfig fwe0 up' and make sure you get 'fwohci0: fwochi_set_intr: 0' in your dmesg. I have similar problem on my laptop. It turns out that ACPI event handler shares the IRQ(it cannot read from dmesg) and it consumes much of the interrupt time. Could you try to disable ACPI? /\ Hidetoshi Shimokawa \/ simokawa@sat.t.u-tokyo.ac.jp PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-firewire" in the body of the message