Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1734 - kernel hangs when loading module snd-nm256

Attached to Project: Arch Linux
Opened by David Rosenstrauch (darose) - Thursday, 04 November 2004, 14:45 GMT
Last edited by Judd Vinet (judd) - Thursday, 04 November 2004, 18:31 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

This is actually an upstream bug, but it might require a new build of the 2.6.9 kernel to fix.

My Arch laptop hangs on "Loading Modules". Just goes into never-never land and never comes back.

Apparently problem is with the snd-nm256 driver (NeoMagic audio - used on many (older?) Dell laptops) in kernel 2.6.9. Other people have reported this as a bug - just Google on "kernel 2.6.9 nm256".

However, I'm not sure when/if this has been fixed yet. I don't quite understand the inner workings of the kernel and modules - and the kernel build release process (-mm1, -rc2, etc.) to understand which version of the kernel source will solve this problem. I assume Judd would be able to figure this out easier than I.

Anyway, if there's a way to fix this via a kernel patch and/or a new kernel release, I'd definitely appreciate it. Currently I've had to remove that module from my MODULES section in order to be able to boot, and then modprobe it manually later. A bit of a PITA.
This task depends upon

Closed by  Judd Vinet (judd)
Thursday, 13 January 2005, 05:27 GMT
Reason for closing:  Fixed
Additional comments about closing:  thanks David
Comment by David Rosenstrauch (darose) - Friday, 05 November 2004, 22:25 GMT
Looks like maybe fixed via nm256-module_parm_array-fix.patch in v2.6.9-mm1? See: ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9/2.6.9-mm1/announce.txt
Comment by David Rosenstrauch (darose) - Monday, 08 November 2004, 04:58 GMT
Maybe this doesn't fix it after all. All it seems to do is add a new parm reset_workaround.

Really hard to get any info on this bug. There's just not much info available at all. Definitely a 2.6.9 thing, though. I wasn't having this problem with 2.6.8. If you've got any idea how to fix this, I'll be psyched. I can't use the sound on my notebook anymore.

Thanks!

DR
Comment by David Rosenstrauch (darose) - Wednesday, 10 November 2004, 13:56 GMT
FYI - I filed kernel bug on this, if you're interested in following the progress: http://bugzilla.kernel.org/show_bug.cgi?id=3719
Comment by David Rosenstrauch (darose) - Thursday, 18 November 2004, 23:11 GMT
OK - forget the mm1 release. I think this might be fixed in 2.6.10-rc2.

From http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.10-rc2:

<perex@suse.cz>
[ALSA] Add reset_workaround module option

Documentation,NM256 driver
- The workaround for some laptops like Dell Latitude LS can be
specified via reset_workaround module option, too.
- The check of reset_workaround is merged into the quirk table.
- The spinlock in AC97 reset callback is removed.

Signed-off-by: Takashi Iwai <tiwai@suse.de>


I guess I'll try to build an experimental 2.6.10 kernel when I get a chance and see how it goes. (Unless you might want one up in TESTING for some reason.)
Comment by David Rosenstrauch (darose) - Wednesday, 12 January 2005, 22:29 GMT
As indicated in the corresponding kernel bug report (http://bugzilla.kernel.org/show_bug.cgi?id=3719), this is now fixed as of kernel 2.6.10. Load the module using the "reset_workaround" option and the kernel hang goes away. e.g., in your rc.conf, do something like:

MODULES=(!usbserial !ide-scsi "snd-nm256 reset_workaround=1" snd-pcm-oss uhci-hcd)

Loading...