i386/94279: snd_neomagic crashes on FreeBSD 5.4 and 6.0

Elisa Bastianello liladude at aruba.it
Thu Mar 9 16:10:06 UTC 2006


>Number:         94279
>Category:       i386
>Synopsis:       snd_neomagic crashes on FreeBSD 5.4 and 6.0
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 09 16:10:04 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Elisa Bastianello
>Release:        FreeBSD 6.0
>Organization:
>Environment:
FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov  3 09:36:13 UTC 2005
    root at x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386
>Description:
When I try to load snd_neomagic on my Omnibook 900 I see (in verbose mode)

pcm0: <NeoMagic 256AV> mem 0xfe700000-0xfe7fffff,0xfe00000-0xfe3fffff irq 10 at device 0.1 on pci1

than laptop frozes.

I tried adding hints for pcm0 as was suggested for my laptop before relase 5.X, turned on verbose and got:  (there may be typos in my report, since I copied it from screen)

pci1: driver added
found-> vendor=0x10c8, dev0x0005, revid=0x20
	bus=1, slot=0, func=0
	class=03-00-00, hdrtype=0x00, mfdev=1
	cmdreg=0x0207, statreg=0x0290, cachelnsz=0 (dwords)
	lattertime=0x80 (3840 ns), mingnt=0x10 (4000 ns), 
	intpin=a, irq=9
	powerspec 1 supports D0 D1 D2 D3 current D0
pci1:0:0 reprobing on driver added
found-> vendor=0x10c8, dev0x0005, revid=0x20
	bus=1, slot=0, func=1
	cmdreg=0x0202, statreg=0x0290, cachelnsz=0 (dwords)
	lattertime=0x00 (0 ns), mingnt=0x00 (0 ns), 
	intpin=b, irq=10
	powerspec 1 supports D0 D3 current D0
pci1:0:1 reprobing on driver added
pcm1: Reserved 0x100000 bytes for rid 0x10 type 3 at 0xfe70000
pcm1: <NeoMagic 256AV> mem 0xfe700000-0xfe7fffff,0xfe00000-0xfe3fffff irq 10 at device 0.1 on pci1
pcm1: Reserved 0x400000 bytes for rid 0x10 type 3 at 0xfe00000-0xfe7fffff
pcm1: buftop is 0x0027ec00
pcm1: buftop is changed to 0x0027ec00 

I had this problem with my first intallation (5.4 RELEASE), than, afer last crash corrupted my kernel dir, I installed 6.0 and had the same problem again.
I surfed the mailing lists, found this problem already asked once with a differed laptop, but the only answer was "this must be a bug" and non solution, nor bug report here, so I'm without any clue on how to fix this.
I should add that my laptop is reported as "FreeBSD compliant" since 3.1 and this was my main reason for trying to install freebsd on it.
Also I notice that each time snd_neomagic appears on a dmesg report it is preceded by snd_pcm.ko , while I could only load sound.ko.
>How-To-Repeat:
On FreeBSD 5.4 I tested:
kldload snd_neomagic

set sound and snd_neomagic modules to yes in /boot/defaults/loader.conf

boot a kernel with sound and snd_neomagic

On FreeBSD 6.0 I tried
kldload snd_neomagic


>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list