Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763971AbZDBQpp (ORCPT ); Thu, 2 Apr 2009 12:45:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750919AbZDBQp3 (ORCPT ); Thu, 2 Apr 2009 12:45:29 -0400 Received: from exprod7og111.obsmtp.com ([64.18.2.175]:57910 "HELO exprod7og111.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1761421AbZDBQp0 (ORCPT ); Thu, 2 Apr 2009 12:45:26 -0400 X-Greylist: delayed 1193 seconds by postgrey-1.27 at vger.kernel.org; Thu, 02 Apr 2009 12:45:25 EDT Subject: mutex_lock_slowpath warning using mxser tty driver (input/output error) From: Christophe Lermytte To: linux-kernel@vger.kernel.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Thu, 02 Apr 2009 18:26:05 +0200 Message-Id: <1238689565.14822.99.camel@thom> Mime-Version: 1.0 X-Mailer: Evolution 2.26.0 X-OriginalArrivalTime: 02 Apr 2009 16:25:21.0594 (UTC) FILETIME=[9E75D1A0:01C9B3AF] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2840 Lines: 70 Hi all, I have upgraded one of my automated test setups from 2.6.27 to 2.6.29. I now have issues with using a Moxa multiport serial device, where I had none before :-) > MOXA Smartio/Industio family driver version 2.0.4 > mxser 0000:03:02.0: found MOXA C168H/PCI series board (BusNo=3, DevNo=2) > mxser 0000:03:02.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18 > mxser: max. baud rate = 921600 bps When I cat /dev/setup3 (which is a symlink to /dev/ttyMI3), which is connected to a device that outputs data (tried it with one @ 115200bps and one @ 9600bps), I get the following kernel trace: ------------[ cut here ]------------ WARNING: at kernel/mutex.c:135 __mutex_lock_slowpath+0x50/0x211() Hardware name: OptiPlex 755 Modules linked in: i915 drm i2c_algo_bit ipv6 8021q dummy fuse arc4 ecb snd_hda_codec_analog snd_hda_intel snd_hda_codec rtl8187 mac80211 usbhid i2c_i801 snd_pcm serio_raw eeprom_93cx6 iTCO_wdt i2c_core iTCO_vendor_support cfg80211 snd_timer snd snd_page_alloc rtc_cmos rtc_core intel_agp agpgart mxser ppdev thermal uhci_hcd sg rtc_lib parport_pc processor parport button thermal_sys dcdbas Pid: 0, comm: swapper Not tainted 2.6.29-autodistro-r4 #1 Call Trace: [] warn_slowpath+0x74/0x8a [] ? get_page_from_freelist+0xc1/0x3c6 [] ? usb_hcd_submit_urb+0x88d/0x95b [] ? _spin_lock+0x8/0xb [] ? cache_alloc_refill+0x19f/0x499 [] __mutex_lock_slowpath+0x50/0x211 [] mutex_lock+0x12/0x15 [] echo_set_canon_col+0x14/0x37 [] n_tty_receive_buf+0x2f3/0xe0c [] ? _spin_lock+0x8/0xb [] ? cache_alloc_refill+0x19f/0x499 [] ? _spin_lock_irqsave+0x28/0x2f [] ? lock_timer_base+0x1f/0x3e [] ? default_spin_lock_flags+0x8/0xb [] ? default_spin_lock_flags+0x8/0xb [] flush_to_ldisc+0xe9/0x159 [] tty_flip_buffer_push+0x41/0x51 [] mxser_receive_chars+0x237/0x246 [mxser] [] mxser_interrupt+0x18e/0x228 [mxser] [] handle_IRQ_event+0x2a/0x5a [] handle_fasteoi_irq+0x7b/0xb4 [] ? handle_fasteoi_irq+0x0/0xb4 [] ? common_interrupt+0x27/0x2c [] ? mwait_idle+0x4c/0x5b [] ? cpu_idle+0x59/0x6d [] ? start_secondary+0x19f/0x1a4 ---[ end trace 433a17e91cdf059a ]--- After I break the cat, subsequent cat's result in: cat /dev/setup3 cat: /dev/setup3: Input/output error I'm not a kernel expert, so if you have any pointers or ways to provide more information, don't hesitate to ask. Regards, Christophe L. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/