Skip to content
Snippets Groups Projects
  1. Jun 23, 2008
  2. Jun 16, 2008
  3. Jun 09, 2008
  4. Jun 06, 2008
    • Jaroslav Franek's avatar
      sound: emu10k1 - fix system hang with Audigy2 ZS Notebook PCMCIA card · 868e15db
      Jaroslav Franek authored
      When the Linux kernel is compiled with CONFIG_DEBUG_SHIRQ=y,
      the Soundblaster Audigy2 ZS Notebook PCMCIA card causes the
      system hang during boot (udev stage) or when the card is hot-plug.
      The CONFIG_DEBUG_SHIRQ flag is by default 'y' with all Fedora
      kernels since 2.6.23. The problem was reported as
      https://bugzilla.redhat.com/show_bug.cgi?id=326411
      
      
      
      The issue was hunted down to the snd_emu10k1_create() routine:
      
      /* pseudo-code */
      snd_emu10k1_create(...) {
      	...
      	request_irq(... IRQF_SHARED ...) {
      		register the irq handler
      		#ifdef CONFIG_DEBUG_SHIRQ
      		call the irq handler: snd_emu10k1_interrupt() {
      			poll I/O port   // <---- !! system hangs
      			...
      		}
      		#endif
      	}
      	...
      	snd_emu10k1_cardbus_init(...) {
      		initialize I/O ports
      	}
      	...
      }
      
      The early access to I/O port in the interrupt handler causes
      the freeze. Obviously it is necessary to init the I/O ports
      before accessing them. This patch moves the registration of
      the irq handler after the initialization of the I/O ports.
      
      Signed-off-by: default avatarJaroslav Franek <jarin.franek@post.cz>
      Acked-by: default avatarJames Courtier-Dutton <James@superbug.co.uk>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      868e15db
  5. Jun 04, 2008
  6. Jun 03, 2008
  7. May 30, 2008
  8. May 25, 2008
  9. May 24, 2008
  10. May 21, 2008
  11. May 20, 2008
  12. May 19, 2008
  13. May 13, 2008
  14. May 08, 2008
  15. May 07, 2008
  16. May 05, 2008
Loading