From owner-freebsd-i386@FreeBSD.ORG Sun Jan 30 03:00:34 2005 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5264716A4CE for ; Sun, 30 Jan 2005 03:00:34 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C939A43D31 for ; Sun, 30 Jan 2005 03:00:33 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j0U30Xa4060541 for ; Sun, 30 Jan 2005 03:00:33 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j0U30XmS060537; Sun, 30 Jan 2005 03:00:33 GMT (envelope-from gnats) Resent-Date: Sun, 30 Jan 2005 03:00:33 GMT Resent-Message-Id: <200501300300.j0U30XmS060537@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-i386@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vasily Korytov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22D4216A4CE for ; Sun, 30 Jan 2005 02:53:26 +0000 (GMT) Received: from home.relline.ru (home.relline.ru [195.146.64.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC77243D2F for ; Sun, 30 Jan 2005 02:53:24 +0000 (GMT) (envelope-from deskpot@myrealbox.com) Received: from abox.home.local (d202-70.dialup.relline.ru [195.146.70.202]) by home.relline.ru (8.12.11/8.12.11) with ESMTP id j0U2rG5H017314 for ; Sun, 30 Jan 2005 05:53:17 +0300 Received: from dub.home.local (dub.home.local [10.0.0.2]) by abox.home.local (8.13.1/8.13.1) with ESMTP id j0U2p9ZY008638 for ; Sun, 30 Jan 2005 05:51:09 +0300 (MSK) Received: from dub.home.local (deskpot@localhost [127.0.0.1]) by dub.home.local (8.13.1/8.13.1) with ESMTP id j0U2p8Wd000835 for ; Sun, 30 Jan 2005 05:51:08 +0300 (MSK) (envelope-from deskpot@dub.home.local) Received: (from deskpot@localhost) by dub.home.local (8.13.1/8.13.1/Submit) id j0U2p8eG000834; Sun, 30 Jan 2005 05:51:08 +0300 (MSK) (envelope-from deskpot) Message-Id: <200501300251.j0U2p8eG000834@dub.home.local> Date: Sun, 30 Jan 2005 05:51:08 +0300 (MSK) From: Vasily Korytov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: i386/76840: aureal-kmod locks the STABLE snapshot of 30.01.05 X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Vasily Korytov List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Jan 2005 03:00:34 -0000 >Number: 76840 >Category: i386 >Synopsis: aureal-kmod locks the STABLE snapshot of 30.01.05 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-i386 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jan 30 03:00:33 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Vasily Korytov >Release: FreeBSD 5.3-STABLE i386 >Organization: Good morning, Jah! >Environment: System: FreeBSD dub.home.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Sun Jan 30 05:17:44 MSK 2005 root@dub.home.local:/usr/src/sys/i386/compile/DUB i386 I have a workstation with AMD CPU, NForce motherboard, Radeon video card, 3Com NIC and and Aureal sound card. For the sound board I have the aureal-kmod-1.5_4 port installed. Until now it has been working okay (since 5.2.1). After loading the module, the kernel prints this: pcm0: port 0xc400-0xc407,0xc000-0xc007 mem 0xeb000000-0xeb03ffff irq 10 at device 7.0 on pci1 pcm0: failed: rid 0x14 is ioport, requested 3 pcm0: failed: rid 0x18 is ioport, requested 3 The whole dmesg, shown after boot, is below: Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-STABLE #0: Sun Jan 30 05:17:44 MSK 2005 root@dub.home.local:/usr/src/sys/i386/compile/DUB Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Duron(tm) processor (2029.61-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc0400000 real memory = 536805376 (511 MB) avail memory = 519819264 (495 MB) mptable_probe: MP Config Table has bad signature: \^O8\^O npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe0000000-0xe7ffffff at device 0.0 on pci0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xec000000-0xec000fff irq 11 at devic e 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ums0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ohci1: mem 0xec001000-0xec001fff irq 3 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered pci0: at device 2.2 (no driver attached) pcib1: at device 8.0 on pci0 pci1: on pcib1 pci1: at device 7.0 (no driver attached) xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xc800-0xc87f mem 0xeb040000-0xeb04 007f irq 11 at device 8.0 on pci1 miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: Ethernet address: 00:10:5a:a3:61:97 atapci0: port 0xf000-0xf00f,0x376,0x170-0x17 7,0x3f6,0x1f0-0x1f7 at device 9.0 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pcib2: at device 30.0 on pci0 pci2: on pcib2 pci2: at device 0.0 (no driver attached) pci2: at device 0.1 (no driver attached) fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A ppc0: port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on ac pi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/16 bytes threshold ppbus0: on ppc0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: at iomem 0xd0000-0xd3fff,0xc0000-0xccfff on isa0 pmtimer0 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2029612428 Hz quality 800 Timecounters tick every 10.000 msec ad0: 114473MB [232581/16/63] at ata0-master UDMA100 cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Mounting root from ufs:/dev/ad0s2a pcm0: port 0xc400-0xc407,0xc000-0xc007 mem 0xeb000000-0xeb03ffff irq 10 at device 7.0 on pci1 pcm0: failed: rid 0x14 is ioport, requested 3 pcm0: failed: rid 0x18 is ioport, requested 3 >Description: After loading the module the sound board works OK. But -- only if the kernel source from 5-STABLE is dated before 2005.01.29.12.00.00, the snapshot of 2005.01.30 breaks everything. When the module is loading it pauses for several seconds, no additional diagnostics are printed on the console or in the syslog. This isn't the problem. The problem appears after that -- if user wants to play a sound file -- say, starts a xmms -- the system is immediately locked, without producing any sound. No additional information is displayed, the display locks and the machine stops responding to everything. The same is done, when nothing is played, but the machine is turning over and the aureal-kmod is unloaded. >How-To-Repeat: I don't know, on what hardware is it reproduceable. Anyway, if you get an Aureal Vortex sound card, try compiling the kernel of 30 January 05 (or later), reboot, load aureal-kmod and try to unload it. If you meet the same problem, your computer will lock. >Fix: I did try compiling kernels from 25 january to 30 january. The kernel of 12:00 of 29 january doesn't have the lock, the kernel from 30 january haves it. cvsup output when downgrading src-sys from 30.01 kernel to 29.01 kernel is shown below: Connected to cvsup4.ru.FreeBSD.org Updating collection src-sys/cvs Edit src/sys/dev/acpica/acpi.c Edit src/sys/dev/acpica/acpi_if.m Edit src/sys/dev/bge/if_bge.c Edit src/sys/dev/lge/if_lge.c Edit src/sys/dev/nge/if_nge.c Edit src/sys/dev/pci/pci.c Edit src/sys/kern/kern_mib.c Edit src/sys/kern/kern_mtxpool.c Edit src/sys/kern/kern_prot.c Edit src/sys/kern/kern_xxx.c Edit src/sys/libkern/strvalid.c Edit src/sys/net/bridge.c Edit src/sys/net/if.h Edit src/sys/net/if_sl.c Edit src/sys/net/if_vlan.c Edit src/sys/netgraph/bluetooth/drivers/h4/ng_h4.c Edit src/sys/netgraph/bluetooth/drivers/h4/ng_h4_var.h Edit src/sys/netgraph/ng_base.c Edit src/sys/netgraph/ng_bridge.c Edit src/sys/netgraph/ng_ether.c Edit src/sys/netgraph/ng_l2tp.c Edit src/sys/netgraph/ng_ppp.c Edit src/sys/netgraph/ng_pppoe.c Edit src/sys/netgraph/ng_pptpgre.c Edit src/sys/netinet/ip_input.c Edit src/sys/pci/agp_ali.c Edit src/sys/pci/agp_intel.c Edit src/sys/pci/if_de.c Edit src/sys/security/mac/mac_internal.h Edit src/sys/security/mac/mac_label.c Edit src/sys/security/mac/mac_vfs.c Edit src/sys/security/mac_biba/mac_biba.c Edit src/sys/security/mac_bsdextended/mac_bsdextended.c Edit src/sys/security/mac_bsdextended/mac_bsdextended.h Edit src/sys/security/mac_lomac/mac_lomac.c Edit src/sys/security/mac_mls/mac_mls.c Edit src/sys/security/mac_stub/mac_stub.c Edit src/sys/security/mac_test/mac_test.c Finished successfully And I was not able to track this problem further. If there is some additional diagnostics I can share, I would be glad to help. >Release-Note: >Audit-Trail: >Unformatted: