Date: Sat, 8 Dec 2007 21:00:05 GMT From: "Andy Kosela" <andy.kosela@gmail.com> To: freebsd-multimedia@FreeBSD.org Subject: Re: kern/111767: [pcm] ATI SB450 High Definition Audio Controller sound card doesn't work Message-ID: <200712082100.lB8L05Ex095253@freefall.freebsd.org>
index | next in thread | raw e-mail
The following reply was made to PR kern/111767; it has been noted by GNATS. From: "Andy Kosela" <andy.kosela@gmail.com> To: cokane@freebsd.org Cc: "Nate Lawson" <nate@root.org>, bug-followup@freebsd.org Subject: Re: kern/111767: [pcm] ATI SB450 High Definition Audio Controller sound card doesn't work Date: Sat, 8 Dec 2007 21:28:46 +0100 On Dec 7, 2007 12:28 AM, Coleman Kane <cokane@freebsd.org> wrote: > I think that I've isolated the problem: > > atapci0: <ATI IXP600 SATA300 controller> port > 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f > mem 0xd0609000-0xd06093ff irq 16 at device 18.0 on pci0 > ... > pcm0: <ATI SB600 High Definition Audio Controller> mem > 0xd0608000-0xd060bfff irq 16 at device 20.2 on pci0 > > The ATI Audio controller seems to be attempting to lock down a range of > memory. The memory allocated for the SATA controller in the same > southbridge has already taken a chunk of that space for itself. This > might also explain some weirdness when the AHCI system is attempting to > interact with the MMIO space... > > Andy, can you check your dmesg and verify this is also true on your > machine? I looked at what you sent to me and it looks like this is the > case (though your mem ranges are in 0xd04xxxxx). > > What to do about this? plotinus:~> dmesg | grep 'pcm0\|atapci' atapci0: <\^B> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0 atapci0: [ITHREAD] ata2: <ATA channel 0> on atapci0 ata3: <ATA channel 1> on atapci0 atapci1: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0 ata0: <ATA channel 0> on atapci1 pcm0: <ATI SB600 High Definition Audio Controller> mem 0xd0408000-0xd040bfff irq 16 at device 20.2 on pci0 pcm0: hdac_mem_alloc: Unable to allocate memory resource device_attach: pcm0 attach returned 6 atapci0: <\^B> port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0 atapci0: [ITHREAD] ata2: <ATA channel 0> on atapci0 ata3: <ATA channel 1> on atapci0 atapci1: <ATI IXP600 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0 ata0: <ATA channel 0> on atapci1 pcm0: <ATI SB600 High Definition Audio Controller> mem 0xd0408000-0xd040bfff irq 16 at device 20.2 on pci0 pcm0: hdac_mem_alloc: Unable to allocate memory resource device_attach: pcm0 attach returned 6 I tried to play with /boot/device.hints but with no success. Is it possible to force memory allocation for pcm0? We could change the memory range and possibly get rid of the problem. Andy Koselahome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712082100.lB8L05Ex095253>
