From sime@data.home.hr Sun Oct 5 03:23:18 2003 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B906016A4B3 for ; Sun, 5 Oct 2003 03:23:18 -0700 (PDT) Received: from data.home.hr (zg04-222.dialin.iskon.hr [213.191.137.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 300A243F75 for ; Sun, 5 Oct 2003 03:23:17 -0700 (PDT) (envelope-from sime@data.home.hr) Received: from data.home.hr (localhost.home.hr [127.0.0.1]) by data.home.hr (Postfix) with ESMTP id CEF911B1BE for ; Sun, 5 Oct 2003 12:23:33 +0200 (CEST) Received: (from sime@localhost) by data.home.hr (8.12.10/8.12.10/Submit) id h95ANWpb002935; Sun, 5 Oct 2003 12:23:32 +0200 (CEST) (envelope-from sime) Message-Id: <200310051023.h95ANWpb002935@data.home.hr> Date: Sun, 5 Oct 2003 12:23:32 +0200 (CEST) From: Simun Mikecin Reply-To: Simun Mikecin To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: new bktr driver: freeze on SMP machine X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 57603 >Category: kern >Synopsis: [bktr] bktr driver: freeze on SMP machine >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 05 03:30:21 PDT 2003 >Closed-Date: >Last-Modified: Thu Nov 04 08:18:29 GMT 2004 >Originator: Simun Mikecin >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD data.home.hr 5.1-CURRENT FreeBSD 5.1-CURRENT #1: Sat Oct 4 11:10:39 CEST 2003 root@data.home.hr:/usr/obj/usr/src.20031002/sys/DATA i386 Using 5.1-CURRENT kernel as of Oct 2 2003. Kernel compiled with: device bktr device iicbus device iicbb device smbus options BROOKTREE_SYSTEM_DEFAULT=BROOKTREE_PAL options BKTR_NEW_MSP34XX_DRIVER bktr driver TV-card detection in dmesg: bktr0: mem 0xf4100000-0xf4100fff irq 16 at device 1.0 on pci3 bktr0: Hauppauge Model 44354 A321 bktr0: Detected a MSP3415D-B3 at 0x80 bktr0: Hauppauge WinCast/TV, Philips FR1216 PAL FM tuner, msp3400c stereo, remote control. >Description: Computer freezes if using SMP on HT-enabled uniprocessor with enabled 2 logical cpus. If I disable logical processors (but still use SMP kernel) it works OK. I haven't tested it on a real multiprocessor machine. >How-To-Repeat: you can reproduce a system freeze like this: 1. start fxtv (port multimedia/fxtv) 2. close fxtv 3. start fxtv for the second time >Fix: None that I know of. >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->alex Responsible-Changed-By: alex Responsible-Changed-When: Sun Oct 5 14:59:09 PDT 2003 Responsible-Changed-Why: I'm aware of this problem. The driver currently lacks all of the important locking woodoo for smp-safeness. It's on my TODO-list, so I'll take care of this. http://www.freebsd.org/cgi/query-pr.cgi?pr=57603 Responsible-Changed-From-To: alex->roger Responsible-Changed-By: linimon Responsible-Changed-When: Thu Sep 9 18:43:02 GMT 2004 Responsible-Changed-Why: alex has given up his commit bit. Reset Responsible to roger, since he is listed as the bktr maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=57603 Responsible-Changed-From-To: roger->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Thu Nov 4 08:18:08 GMT 2004 Responsible-Changed-Why: Assignee is currently away from doing FreeBSD work at the moment, so at his request, return this one to the pool. http://www.freebsd.org/cgi/query-pr.cgi?pr=57603 >Unformatted: