From owner-freebsd-questions@FreeBSD.ORG Tue Dec 16 12:53:57 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 567CB16A4CE; Tue, 16 Dec 2003 12:53:57 -0800 (PST) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFAE043D3F; Tue, 16 Dec 2003 12:53:54 -0800 (PST) (envelope-from mi@aldan.algebra.com) Received: from aldan.algebra.com (mi@localhost [127.0.0.1]) by aldan.algebra.com (8.12.10/8.12.10) with ESMTP id hBGKrksJ087279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 16 Dec 2003 15:53:48 -0500 (EST) (envelope-from mi@aldan.algebra.com) Received: by aldan.algebra.com (8.12.10/8.12.10/Submit) id hBGKrkLw087278; Tue, 16 Dec 2003 15:53:46 -0500 (EST) (envelope-from mi) From: Mikhail Teterin To: questions@FreeBSD.org Date: Tue, 16 Dec 2003 15:53:41 -0500 User-Agent: KMail/1.5.4 X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" cc: sam@FreeBSD.org Subject: problems with device detection on Vaio laptop X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Dec 2003 20:53:57 -0000 Hello! I have some problems with this rather "loaded" laptop (dmesg.boot attached). As can be seen from dmesg.boot, neither the FireWire nor the WiFi are enabled at boot: fwohci0: mem 0xe0211000-0xe02117ff at device 5.1 on pci2 fwohci0: latency timer 1 -> 32. fwohci0: cache size 12 -> 12. fwohci0: failed to enable memory mapping! fwohci0: Could not map memory device_probe_and_attach: fwohci0 attach returned 6 [...] ath0: mem 0xe0200000-0xe020ffff irq 9 at device 11.0 on pci2 pcib1: device ath0 requested decoded memory range 0xe0200000-0xe020ffff ath0: cannot map register space However, kldunload-ing the snd_ich module and then kldload-ing it back leads to the following "reprobing", which finds the firewire device(s), but, unfortunately, still leaves ath0 disabled: pcm0: detached pcm0: port 0x18c0-0x18ff,0x1c00-0x1cff mem 0xe0100800-0xe01008ff,0xe0100c00-0xe0100dff irq 9 at device 31.5 on pci0 pcm0: pcm0: Codec features headphone, 20 bit DAC, 5 bit master volume, no 3D Stereo Enhancement pcm0: Primary codec extended features variable rate PCM, AMAP, reserved 4 pcm0: sndbuf_setmap 27b000, 4000; 0xd6c9c000 -> 27b000 pcm0: sndbuf_setmap 29b000, 4000; 0xd6ca0000 -> 29b000 pcm0: measured ac97 link rate at 48003 Hz, will use 48000 Hz fwohci0: mem 0xe0211000-0xe02117ff at device 5.1 on pci2 fwohci0: latency timer 32 -> 32. fwohci0: cache size 0 -> 8. pcib1: device fwohci0 requested decoded memory range 0xe0211000-0xe02117ff pcib1: matched entry for 2.5.INTB (source \\_SB_.PCI0.LPCB.LNKG) pcib1: slot 5 INTB is routed to irq 9 fwohci0: OHCI version 1.0 (ROM=1) fwohci0: No. of Isochronous channel is 4. fwohci0: EUI64 08:00:46:03:01:7a:95:99 fwohci0: resetting OHCI...done (loop=0) fwohci0: fwphy_rddata: 0x2 loop=29, retry=0 fwohci0: fwphy_rddata: 0x3 loop=1, retry=0 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: fwphy_rddata: 0x5 loop=1, retry=0 fwohci0: Enable 1394a Enhancements fwohci0: fwphy_rddata: 0x5 loop=1, retry=0 fwohci0: fwphy_rddata: 0x2 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: fwphy_rddata: 0x4 loop=1, retry=0 fwohci0: Link S400, max_rec 2048 bytes. fwohci0: BUS_OPT 0xf064a022 -> 0xf864a022 fwohci0: fwohci_set_intr: 1 firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 0a:00:46:7a:95:99 fwe0: bpf attached sbp0: on firewire0 sbp_attach (cold=0) fwohci0: Initiate bus reset fwohci0: fwphy_rddata: 0x1 loop=1, retry=0 fwohci0: fwphy_rddata: 0x1 loop=1, retry=0 fwohci0: BUS reset sbp_post_busreset fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) fwohci0: fw_set_bus_manager: 0->0 (loop=0) firewire0: bus manager 0 (me) send phy_config root_node=-1 gap_count=5 fwohci0: maxdesc: 2 fwohci0: start AT DMA status=0 ath0: mem 0xe0200000-0xe020ffff irq 9 at device 11.0 on pci2 pcib1: device ath0 requested decoded memory range 0xe0200000-0xe020ffff ath0: cannot map register space device_probe_and_attach: ath0 attach returned 6 Current DB 0 ch = 0 Current OP KEY INT BR len Addr Depend Stat: Cnt 0c725000 OUTL ST2 ALL ALL 12 00000000 0c725080 8411:0001 RUN,ACTIVE, ack complete(11) 0x000000e0 0x00450000 0xffbaffff 0x00000000 bus_explore done sbp_post_explore (sbp_cold=1) Why is it neccessary to reload snd_ich to enable FW? What other animal/bird to shake to enable the Atheros card? Not as important, but no sound ever comes out, despite seemingly reassuring detection and the content of the /dev/sndstat: FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0x534 irq 5 drq 1:0 bufsz 4096 (1p/1r/0v channels duplex default) Thanks a lot for any clues! -mi