[alsa-devel] Boot failure with 2.6.21 with snd-maestro3

Giridhar Pemmasani pgiri at yahoo.com
Sun Apr 29 23:09:29 CEST 2007


--- Adrian Bunk <bunk at stusta.de> wrote:

> On Sun, Apr 29, 2007 at 09:55:18AM -0700, Giridhar Pemmasani wrote:
> > When snd-maestro3 (ESS Maestro 3 driver) is enabled, kernel 2.6.21 fails
> to
> > boot - it seems to stop at various points depending on what other modules
> are
> > enabled. Disabling snd-maestro3 fixes all issues. Moreover, with
> everything
> > else being same, using maestro3.c from 2.6.20 kernel and using it in
> 2.6.21
> > kernel also works - i.e., system boots fine. I will try to isolate the
> issue
> > and follow up.
> 
> There were only the two attached patches between 2.6.20 and 2.6.21 to 
> this driver:
> - maestro3: add request_firmware()
> - maestro3 - Use quirk list helper function
> 
> 2.6.21 + 2.6.20 maestro3.c works for you.
> 
> Does 2.6.21 + 2.6.20 maestro3.c + patch-maestro3-1 work?

2.6.21 with 2.6.20's maestro3.c with patch-maestro3-1 exhibited the same
issue. However, I identified the cause: maestro3 driver in 2.6.21 (even just
patch-maestro3-1) tries to load firmware file from user space. But each time
request_firmware is called it takes about 1 minute to timeout (because I
don't have the firmware installed?). If I let the system take its time, even
with maestro3.c from 2.6.21, it boots after timing out twice. So after about
2 minutes of no activity, system does boot. Following are trace messages I
added to identify the issue:

[   17.004000] input: TPPS/2 IBM TrackPoint as /class/input/input5
[   70.904000] sound/pci/maestro3.c (snd_m3_create:2763): -2
[   70.920000] sound/pci/maestro3.c (snd_m3_create:2774): -2
[  130.940000] sound/pci/maestro3.c (snd_m3_create:2777): -2
[  130.956000] sound/pci/maestro3.c (snd_m3_create:2788): -2
[  130.972000] sound/pci/maestro3.c (snd_m3_create:2794): 0
[  130.992000] sound/pci/maestro3.c (snd_m3_create:2797): 0
[  131.012000] sound/pci/maestro3.c (snd_m3_create:2802): 0
[  131.044000] sound/pci/maestro3.c (snd_m3_create:2804): 0
[  131.580000] sound/pci/maestro3.c (snd_m3_create:2807): 0
[  131.596000] sound/pci/maestro3.c (snd_m3_create:2810): 0
[  131.612000] sound/pci/maestro3.c (snd_m3_create:2814): 0
[  131.628000] sound/pci/maestro3.c (snd_m3_create:2821): 0
[  132.364000] device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised:
dm-d
evel at redhat.com


Giri

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Alsa-devel mailing list