NetBSD Problem Report #40338

From www@NetBSD.org  Wed Jan  7 17:27:49 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id AE7B263B938
	for <gnats-bugs@gnats.netbsd.org>; Wed,  7 Jan 2009 17:27:49 +0000 (UTC)
Message-Id: <20090107172749.56D9C63B8B6@narn.NetBSD.org>
Date: Wed,  7 Jan 2009 17:27:49 +0000 (UTC)
From: AndreasBurghardt@gmx.de
Reply-To: AndreasBurghardt@gmx.de
To: gnats-bugs@NetBSD.org
Subject: No sound with www/nsflash on amd64
X-Send-Pr-Version: www-1.0

>Number:         40338
>Category:       kern
>Synopsis:       No sound with www/nsflash on amd64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 07 17:30:00 +0000 2009
>Last-Modified:  Sun Feb 15 13:10:03 +0000 2009
>Originator:     Andreas Burghardt
>Release:        NetBSD-5.0_Beta
>Organization:
>Environment:
NetBSD cool 5.0_BETA NetBSD 5.0_BETA (GENERIC) #0: Wed Jan  7 15:37:50 CET 2009  root@cool:/usr/obj/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
Hello,

I switched to NetBSD-5.0_Beta today and noticed that there's no sound available using www/ns-flash and native firefox.

Sound in general works fine, except that it's also not possible to play a cd using cdplay - the sound is also missing.

> cat $HOME/.cshrc >> /dev/audio                   makes noise
> cat $HOME/.cshrc >> /emul/linux32/dev/audio      makes noise

So sound itself is working. Following my dmesg:

> dmesg 
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 5.0_BETA (GENERIC) #0: Wed Jan  7 15:37:50 CET 2009
        root@cool:/usr/obj/obj/sys/arch/amd64/compile/GENERIC
total memory = 1013 MB
avail memory = 966 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.5 @ 0xf0000 (36 entries)
Shuttle Inc SG31 (V10)
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 2502MHz, id 0x10676
cpu0: Enhanced SpeedStep (1116 mV) 1200 MHz
cpu0: Enhanced SpeedStep frequencies available (MHz): 7600 6500 5300 4200 3000 1800 700
cpu1 at mainbus0 apid 1: Intel 686-class, 2502MHz, id 0x10676
ioapic0 at mainbus0 apid 4: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId <Shuttl,Shuttle ,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
attimer1 at acpi0 (TMR, PNP0100): AT Timer
attimer1: io 0x40-0x43
hpet0 at acpi0 (HPET, PNP0103)
hpet0: mem 0xfed00000-0xfed003ff irq 0,8
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
pcppi1 at acpi0 (SPKR, PNP0800)
pcppi1: io 0x61
midi0 at pcppi1: PC speaker (CPU-intensive output)
sysbeep0 at pcppi1
FDC0 (PNP0700) at acpi0 not configured
ECP1 (PNP0401) at acpi0 not configured
pckbc1 at acpi0 (PS2K, PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
FWH (INT0800) at acpi0 not configured
FAN (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (THRM): active cooling level 0: 73.0C critical 75.0C passive -273.-3C
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x29c0 (rev. 0x02)
agp0 at pchb0: detected 7164k stolen memory
agp0: aperture at 0xd0000000, size 0x10000000
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x29c2 (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x8086 product 0x29c3 (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 16
azalia0: host: 0x8086/0x27d8 (rev. 1), HDA rev. 1.0
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x01)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x27d2 (rev. 0x01)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
mskc0 at pci2 dev 0 function 0mskc0: interrupt moderation is 0 us
, Yukon-2 EC Ultra rev. B0 (0x3): ioapic0 pin 17
msk0 at mskc0 port A: Ethernet address 00:30:1b:a0:71:30
ukphy0 at msk0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x01)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x01)
uhci1: interrupting at ioapic0 pin 19
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x01)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x01)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x01)
ehci0: interrupting at ioapic0 pin 23
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb2 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xe1)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled
fwohci0 at pci3 dev 10 function 0: vendor 0x104c product 0x8023 (rev. 0x00)
fwohci0: interrupting at ioapic0 pin 18
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochfwohci0: EUI64 00:30:1b:a0:00:00:72:30
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: vendor 0x8086 product 0x27b8 (rev. 0x01)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
piixide1 at pci0 dev 31 function 2
ronous channels is 4.
piixide1: Intel 82801GB/GR Serial ATA/Raid Controller (ICH7) (rev. 0x01)
piixide1: bus-master DMA support present
piixide1: primary channel configured to native-PCI mode
piixide1: using ioapic0 pin 19 for native-PCI interrupt
atabus1 at piixide1 channel 0
piixide1: secondary channel configured to native-PCI mode
atabus2 at piixide1 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x01)
ichsmb0: interrupting at ioapic0 pin 19
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
lpt0 at isa0 port 0x378-0x37b irq 7
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fwohci0: BUS reset
fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
ieee1394if0: bus manager 0 (me)
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
azalia0: codec[0]: Realtek ALC888 (rev. 0.1), HDA rev. 1.0
audio0 at azalia0: full duplex, independent
atapibus0 at atabus0: 2 targets
cd0 at atapibus0 drive 0: <TSSTcorpCD/DVDW SH-S182D, , SB04> cdrom removable
uhub0 at usb0: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x8086 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
umass0 at uhub4 port 8 configuration 1 interface 0
umass0: Kingston DataTraveler 2.0, rev 2.00/2.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Kingston, DataTraveler 2.0, 1.00> disk removable
sd0: 1919 MB, 3936 cyl, 16 head, 32 sec, 512 bytes/sect x 3930112 sectors
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: vendor 0x0d3d USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
ukbd0 at uhidev0
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub2 port 2 configuration 1 interface 1
uhidev1: vendor 0x0d3d USBPS2, rev 1.10/0.01, addr 2, iclass 3/1
uhidev1: 3 report ids
ums0 at uhidev1 reportid 1: 5 buttons and Z dir.
wsmouse0 at ums0 mux 0
uhid0 at uhidev1 reportid 2: input=2, output=0, feature=0
uhid1 at uhidev1 reportid 3: input=1, output=0, feature=0
wd0 at atabus1 drive 0: <WDC WD1600AAJS-00B4A0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(piixide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
mskc0: interrupt moderation is 1000 us
cd0(piixide0:0:0):  Check Condition on CDB: 0x28 00 00 00 00 00 00 00 01 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Mode For This Track

cd0: dos partition I/O error


Do you need more informations?

Best regards,

   Andreas
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sat, 14 Feb 2009 22:41:08 +0000

 On Wed, Jan 07, 2009 at 05:30:01PM +0000, AndreasBurghardt@gmx.de wrote:
  > >Synopsis:       No sound with www/nsflash on amd64
  > 
  > I switched to NetBSD-5.0_Beta today and noticed that there's no
  > sound available using www/ns-flash and native firefox.
  > 
  > Sound in general works fine,

 Does sound work fine from a simple program run in Linux emulation?

 E.g. does "tee < $HOME/.cshrc /dev/audio" using a Linux copy of tee
 (so the device is opened from Linux emulation) make noise?

 If so, and I'd expect it would, this is a firefox issue and not a
 kernel problem.

  > except that it's also not possible to
  > play a cd using cdplay - the sound is also missing.

 I think that's a known and unrelated issue, which should now be fixed.

 -- 
 David A. Holland
 dholland@netbsd.org

From: Cem Kayali <cemkayali@eticaret.com.tr>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org, AndreasBurghardt@gmx.de
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sun, 15 Feb 2009 01:05:03 +0200

 Hi,

 I confirm this bug, and following command produces sound - while flash not:

 /emul/linux32/bin/cat /emul/linux32/1.wav > /dev/audio

 Regards,


From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sun, 15 Feb 2009 08:36:27 +0100

 On Sat, Feb 14, 2009 at 10:45:02PM +0000, David Holland wrote:
 > The following reply was made to PR kern/40338; it has been noted by GNATS.
 > 
 > From: David Holland <dholland-bugs@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: kern/40338: No sound with www/nsflash on amd64
 > Date: Sat, 14 Feb 2009 22:41:08 +0000
 > 
 >  On Wed, Jan 07, 2009 at 05:30:01PM +0000, AndreasBurghardt@gmx.de wrote:
 >   > >Synopsis:       No sound with www/nsflash on amd64
 >   > 
 >   > I switched to NetBSD-5.0_Beta today and noticed that there's no
 >   > sound available using www/ns-flash and native firefox.
 >   > 
 >   > Sound in general works fine,
 >  
 >  Does sound work fine from a simple program run in Linux emulation?

 It is a known problem that ns-flash doesn't produce audio output on NetBSD.

 Please try multimedia/adobe-flash-plugin with nspluginwrapper, which works
 on i386.

 Bernd

From: Bernd Ernesti <netbsd@lists.veego.de>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sun, 15 Feb 2009 09:43:58 +0100

 On Sun, Feb 15, 2009 at 08:17:52AM +0000, David Holland wrote:
 > On Sun, Feb 15, 2009 at 07:40:04AM +0000, Bernd Ernesti wrote:
 >  > It is a known problem that ns-flash doesn't produce audio output on NetBSD.
 >  >  
 >  > Please try multimedia/adobe-flash-plugin with nspluginwrapper, which works
 >  > on i386.
 > 
 > Assuming that works, should I convert this PR to a pkg PR on ns-flash?

 IMHO the ns-flash plugin should be updated with the changes from adobe-flash-plugin
 or removed.

 It is also confusing to have more flash packages in www. Maybe they could be
 removed and then people will use the multimedia plugin with nspluginwrapper, which
 is better for the browser since flash would not crash the browser if it is being
 used with nspluginwrapper

 Bernd

From: Andreas Burghardt <AndreasBurghardt@gmx.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sun, 15 Feb 2009 10:26:53 +0100

 On Sun, Feb 15, 2009 at 07:40:04AM +0000, Bernd Ernesti wrote:
 > The following reply was made to PR kern/40338; it has been noted by GNATS.
 > 
 > From: Bernd Ernesti <netbsd@lists.veego.de>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: kern/40338: No sound with www/nsflash on amd64
 > Date: Sun, 15 Feb 2009 08:36:27 +0100
 > 
 >  On Sat, Feb 14, 2009 at 10:45:02PM +0000, David Holland wrote:
 >  > The following reply was made to PR kern/40338; it has been noted by GNATS.
 >  > 
 >  > From: David Holland <dholland-bugs@netbsd.org>
 >  > To: gnats-bugs@netbsd.org
 >  > Cc: 
 >  > Subject: Re: kern/40338: No sound with www/nsflash on amd64
 >  > Date: Sat, 14 Feb 2009 22:41:08 +0000
 >  > 
 >  >  On Wed, Jan 07, 2009 at 05:30:01PM +0000, AndreasBurghardt@gmx.de wrote:
 >  >   > >Synopsis:       No sound with www/nsflash on amd64
 >  >   > 
 >  >   > I switched to NetBSD-5.0_Beta today and noticed that there's no
 >  >   > sound available using www/ns-flash and native firefox.
 >  >   > 
 >  >   > Sound in general works fine,
 >  >  
 >  >  Does sound work fine from a simple program run in Linux emulation?
 >  
 >  It is a known problem that ns-flash doesn't produce audio output on NetBSD.
 >  
 >  Please try multimedia/adobe-flash-plugin with nspluginwrapper, which works
 >  on i386.
 >  

 Hello David,

 actually I wanted to point to the situation that on _amd64_ sound isn't working.
 On i386 it just works fine. This is the same on NetBSD-4 amd64, where I read
 in src/doc/CHANGES-4.1 (Ticket #1051) that it should work, but at least on my
 computer it isn't.

 By the way, in pkgsrc-2008Q4 www/nsplugginwrapper isn't building on netbsd-4
 amd64.

    Andreas

From: "Jared D. McNeill" <jmcneill@invisible.ca>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@netbsd.org, gnats-admin@netbsd.org, 
 netbsd-bugs@netbsd.org, AndreasBurghardt@gmx.de
Subject: Re: kern/40338: No sound with www/nsflash on amd64
Date: Sun, 15 Feb 2009 08:09:00 -0500

 Bernd Ernesti wrote:

 >  It is a known problem that ns-flash doesn't produce audio output on NetBSD.

 It is? It works for me.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.