public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Pavel Machek <pavel@ucw.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	perex@perex.cz, "Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: Null pointer dereference when accessing /dev/dsp1 with USB speakers
Date: Mon, 21 Jan 2013 09:26:08 +0100	[thread overview]
Message-ID: <s5h622ryman.wl%tiwai@suse.de> (raw)
In-Reply-To: <20130119171936.GA4275@amd.pavel.ucw.cz>

At Sat, 19 Jan 2013 18:19:36 +0100,
Pavel Machek wrote:
> 
> Hi!
> 
> > > I have USB speakers 
> > > 
> > > Bus 004 Device 002: ID 04fa:4201 Dallas Semiconductor DS4201 Audio DAC
> > > 
> > > ... which make problems again
> > > (https://lkml.org/lkml/2008/3/20/274). They refuse to produce sound,
> > > so I updated to 3.8.0-rc2 in hope that would help... and tried testing
> > > them by "cat /bin/bash > /dev/dsp1". Instant crash :-(.
> > > 
> > > I guess this will happen in more than one config...?
> > 
> > This Oops should have been fixed recently.  Please try 3.8-rc4.
> > 
> > commit 31be5425d795585251a3ee970319c37643e0cda2
> >     ALSA: usb-audio: Fix NULL dereference by access to non-existing
> >     substream
> 
> 
> It is fixed in 3.8-rc4. But... I still get this: (it happened at least
> once with 3.8-rc2 and once with 3.8-rc4).
> 
> > > Jan 18 21:23:00 amd kernel: Slab corruption (Tainted: G        W   ):
> > > size-128 start=edd71b40, len=128
> > > Jan 18 21:23:00 amd kernel: 070: 6b 6b 6b 6b 6b 6b 6b 6b 00 6b 6b 6b
> > > 6b 6b 6b a5  kkkkkkkk.kkkkkk.
> > > Jan 18 21:23:00 amd kernel: Prev obj: start=edd71ac0, len=128
> > > Jan 18 21:23:00 amd kernel: 000: 00 7f e9 e9 c8 2f 40 f0 00 00 00 00
> > > 00 00 00 00  ...../@.........
> > > Jan 18 21:23:00 amd kernel: 010: 00 00 00 00 00 00 00 00 00 6c 94 e9
> > > 00 00 00 00  .........l......
> > > Jan 18 21:23:00 amd kernel: Next obj: start=edd71bc0, len=128
> > > Jan 18 21:23:00 amd kernel: 000: 40 12 d7 ed 40 11 d7 ed 02 00 00 00
> > > 02 00 00 00  @...@...........
> > > Jan 18 21:23:00 amd kernel: 010: 00 00 00 00 00 00 00 00 20 53 77 69
> > > 74 63 68 00  ........ Switch.

Hm, the slab corruption is new to me.  Is this a regression since 3.8
kernel?


> > > Jan 18 21:23:00 amd kernel: 8:0: cannot get min/max values for control
> > > 5 (id 8)
> > > Jan 18 21:23:00 amd kernel: 8:0: cannot get min/max values for control
> > > 6 (id 8)
> > > Jan 18 21:23:00 amd kernel: 8:0: cannot get min/max values for control
> > > 1 (id 8)
> > > Jan 18 21:23:00 amd kernel: 8:0: cannot get min/max values for control
> > > 2 (id 8)

These are usually harmless unless you get them endlessly.

Some devices don't report back the proper value at the first query
during the device probing by some reason.  These error messages show
that.  The driver tries to ask again when necessary, so if the mixer
looks working, it is OK.


Takashi

> > > Jan 18 21:23:00 amd kernel: usb 4-1: adding 4-1:1.1 (config #1,
> > > interface 1)
> > > Jan 18 21:23:00 amd kernel: hub 4-0:1.0: state 7 ports 2 chg 0000 evt
> > > 0002
> 
> Any ideas? Any similar reports?
> 
> (Hmm, and maybe "SLAB corruption" messages should have higher
> severity? KERN_ALERT or something, so that it is broadcast to all
> consoles?)
> 
> Thanks,
> 									Pavel
> -- 
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
> 

      reply	other threads:[~2013-01-21  8:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 20:36 Null pointer dereference when accessing /dev/dsp1 with USB speakers Pavel Machek
2013-01-19 11:05 ` Takashi Iwai
2013-01-19 17:19   ` Pavel Machek
2013-01-21  8:26     ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5h622ryman.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pavel@ucw.cz \
    --cc=perex@perex.cz \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox