From madd@tecdigital.net  Thu Aug 29 14:10:32 2002
Return-Path: <madd@tecdigital.net>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8E36B37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Aug 2002 14:10:32 -0700 (PDT)
Received: from mail.tecdigital.net (midgar.tecdigital.net [67.29.135.15])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 305CD43E42
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Aug 2002 14:10:32 -0700 (PDT)
	(envelope-from madd@tecdigital.net)
Received: from bender.tecdigital.net (unknown [132.254.99.161])
	by mail.tecdigital.net (Postfix) with ESMTP id 063E122505
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 29 Aug 2002 16:10:20 -0500 (CDT)
Received: by bender.tecdigital.net (Postfix, from userid 1000)
	id 361A51F; Thu, 29 Aug 2002 16:07:55 -0500 (CDT)
Message-Id: <20020829210755.361A51F@bender.tecdigital.net>
Date: Thu, 29 Aug 2002 16:07:55 -0500 (CDT)
From: Mario Doria <madd@tecdigital.net>
Reply-To: Mario Doria <madd@tecdigital.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Sony VAIO FXA 53 (or FXA 679 in Mexico) won't cold boot.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42173
>Category:       kern
>Synopsis:       [sound] Sony VAIO FXA 53 (or FXA 679 in Mexico) hangs in sound driver on boot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-multimedia
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 29 14:20:01 PDT 2002
>Closed-Date:    Wed Dec 28 18:01:42 GMT 2005
>Last-Modified:  Wed Dec 28 18:01:42 GMT 2005
>Originator:     Mario A. Doria
>Release:        FreeBSD 4.6-STABLE i386
>Organization:
>Environment:
System: FreeBSD wark 4.6-STABLE FreeBSD 4.6-STABLE #0: Thu Aug 29 02:49:13 CDT 2002 root@wark:/usr/obj/usr/src/sys/WARK i386
	CVSUPed on August 29,2002 @ 01:00 CDT

	
>Description:

	The machine will freeze when booting FreeBSD 4-STABLE if it has just
	been turned on. It freezes when detecting the parallel port.

	If I boot Windows XP (or 2000) and then warm boot the machine, 
	FreeBSD boots just fine. I tested this machine with 5-CURRENT and 
	there was no problem at all.
>How-To-Repeat:
	Cold boot the machine.

	
>Fix:
	Attached in /var/run/dmesg.boot
	

--- dmesg.boot begins here ---
Copyright (c) 1992-2002 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 4.6-STABLE #0: Thu Aug 29 02:49:13 CDT 2002
    root@wark:/usr/obj/usr/src/sys/WARK
Timecounter "i8254"  frequency 1193182 Hz
CPU: mobile AMD Athlon(tm) XP 1500+   (1300.06-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x680  Stepping = 0
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480000<<b19>,AMIE,DSP,3DNow!>
real memory  = 536870912 (524288K bytes)
avail memory = 518328320 (506180K bytes)
Preloaded elf kernel "kernel" at 0xc03e6000.
netsmb_dev: loaded
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00fdf60
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mobility-1 graphics accelerator> at 0.0 irq 5
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0x1c40-0x1c4f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0x1c00-0x1c1f irq 9 at device 7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0x1c20-0x1c3f irq 9 at device 7.3 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viapropm0: SMBus I/O base at 0x8100
viapropm0: <VIA VT82C686A Power Management Unit> port 0x8100-0x810f at device 7.4 on pci0
viapropm0: SMBus revision code 0x40
smb0: <SMBus general purpose I/O> on smbus0
pcm0: <VIA VT82C686A> port 0x1c50-0x1c53,0x1c54-0x1c57,0x1000-0x10ff irq 5 at device 7.5 on pci0
chip1: <VIA 82C686 AC97 Modem> port 0x1400-0x14ff irq 5 at device 7.6 on pci0
pcic0: <TI PCI-1420 PCI-CardBus Bridge> irq 9 at device 10.0 on pci0
pcic0: PCI Memory allocated: 0x88000000
pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard0: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1420 PCI-CardBus Bridge> irq 10 at device 10.1 on pci0
pcic1: PCI Memory allocated: 0x88001000
pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][FUNC pci int + CSC serial isa irq]
pccard1: <PC Card bus (classic)> on pcic1
pci0: <unknown card> (vendor=0x104c, dev=0x8020) at 14.0 irq 9
rl0: <RealTek 8139 10/100BaseTX> port 0x1800-0x18ff mem 0xe8004800-0xe80048ff irq 10 at device 16.0 on pci0
rl0: Ethernet address: 08:00:46:6e:58:6e
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc0000-0xcffff,0xd0000-0xd3fff,0xdc000-0xdffff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model GlidePoint, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0

< machine freezes here >

IP Filter: v3.4.27 initialized.  Default = pass all, Logging = disabled
ata1-slave: ATAPI identify retries exceeded
ad0: 28615MB <HITACHI_DK23DA-30> [58140/16/63] at ata0-master UDMA100
acd0: CD-RW <UJDA720 DVD/CDRW> at ata1-master PIO4
Mounting root from ufs:/dev/ad0s3a
--- dmesg.boot ends here ---


>Release-Note:
>Audit-Trail:

From: "Roger Hardiman" <roger@telepresence.dmem.strath.ac.uk>
To: <freebsd-gnats-submit@FreeBSD.org>, <madd@tecdigital.net>
Cc:  
Subject: Re: i386/42173: Sony VAIO FXA 53 (or FXA 679 in Mexico) won't cold boot.
Date: Thu, 5 Sep 2002 21:45:06 +0100

 This is a multi-part message in MIME format.
 
 ------=_NextPart_000_0003_01C25525.7FB05A50
 Content-Type: text/plain;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 Exactly the same problem happens on the Sony Vaio FX-605 (UK model)
 cold boot - locks up. Warm boot after windows - OK.
 
 I am using 4.6-RELEASE and I noticed the Generic kernel boots fine from =
 cold
 but a kernel with
   device pcm
 added for the onboard VIA VT82C686A will hang in exactly the same place.
 
 In the sound drivers, snd_setup_intr() is the last function called =
 before it hangs.
 This calls bus_setup_intr() which is calling nexus_setup_intr() in =
 sys/i386/i386/nexus.c
 
 The machine feeezes when nexus_setup_intr() calls inthand_add().
 
 
 One clue from searching the net.
 Linux users of the 686A reported that they needed to initialise the chip =
 in sound blaster
 compatible mode, otherwise it would hang their boxes.
 Perhaps the Windows driver does this, and we need to do this too.
 
 Roger
 --
 roger@freebsd.org
 
 
 ------=_NextPart_000_0003_01C25525.7FB05A50
 Content-Type: text/html;
 	charset="iso-8859-1"
 Content-Transfer-Encoding: quoted-printable
 
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <HTML><HEAD>
 <META http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Diso-8859-1">
 <META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
 <STYLE></STYLE>
 </HEAD>
 <BODY bgColor=3D#ffffff>
 <DIV><FONT face=3DArial size=3D2>Exactly the same problem happens on the =
 Sony Vaio=20
 FX-605 (UK model)</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>cold boot - locks up. Warm boot after =
 windows -=20
 OK.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>I am using 4.6-RELEASE and I noticed =
 the Generic=20
 kernel boots fine from cold</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>but a kernel with</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>&nbsp; device pcm</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>added for the onboard VIA VT82C686A =
 will hang in=20
 exactly the same place.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>In the sound =
 drivers,&nbsp;snd_setup_intr() is the=20
 last function called before it hangs.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>This calls bus_setup_intr() which is =
 calling=20
 </FONT><FONT face=3DArial size=3D2>nexus_setup_intr() in=20
 sys/i386/i386/nexus.c</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>The machine feeezes when=20
 nexus_setup_intr()&nbsp;calls&nbsp;inthand_add().</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>One clue from searching the =
 net.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Linux users of the 686A reported that =
 they needed=20
 to initialise the chip in sound blaster</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>compatible mode, otherwise it would =
 hang their=20
 boxes.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>Perhaps the Windows driver does this, =
 and we need=20
 to do this too.</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
 <DIV><FONT face=3DArial size=3D2>Roger</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
 <DIV><FONT face=3DArial size=3D2><A=20
 href=3D"mailto:roger@freebsd.org">roger@freebsd.org</A></FONT></DIV>
 <DIV>&nbsp;</DIV></BODY></HTML>
 
 ------=_NextPart_000_0003_01C25525.7FB05A50--
 
Responsible-Changed-From-To: freebsd-bugs->sound 
Responsible-Changed-By: kris 
Responsible-Changed-When: Thu Jul 17 17:42:42 PDT 2003 
Responsible-Changed-Why:  
Assign to sound maintainers 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42173 
State-Changed-From-To: open->feedback 
State-Changed-By: netchild 
State-Changed-When: Sun Sep 11 10:00:08 GMT 2005 
State-Changed-Why:  
Do you still have this problem with 5.[34] or -current? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42173 

From: Mario Doria <mariodoria@yahoo.com>
To: bug-followup@freebsd.org,
 madd@tecdigital.net
Cc:  
Subject: Re: kern/42173: [sound] Sony VAIO FXA 53 (or FXA 679 in Mexico) hangs in sound driver on boot
Date: Sun, 11 Sep 2005 11:35:14 -0500

 I do not have the machine anymore, I cannot test this again.
 
 Sorry,
 
 Mario
State-Changed-From-To: feedback->closed 
State-Changed-By: netchild 
State-Changed-When: Wed Dec 28 18:01:29 UTC 2005 
State-Changed-Why:  
Originator can't reproduce anymore. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42173 
>Unformatted:
