Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754422AbYKCBhS (ORCPT ); Sun, 2 Nov 2008 20:37:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754296AbYKCBgx (ORCPT ); Sun, 2 Nov 2008 20:36:53 -0500 Received: from mail.gmx.net ([213.165.64.20]:58569 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754141AbYKCBgv convert rfc822-to-8bit (ORCPT ); Sun, 2 Nov 2008 20:36:51 -0500 X-Authenticated: #428038 X-Provags-ID: V01U2FsdGVkX1+BLMkRBLqBLPLjenzx8RfqlloVpMtq+WR5vMrvCW 65urfm13I+NYf8 Date: Mon, 3 Nov 2008 02:36:47 +0100 From: Matthias Andree To: linux-scsi@vger.kernel.org Cc: matthew@wil.cx, linux-kernel@vger.kernel.org Subject: WARNING in 2.6.27.4 pci-dma::dma_free_coherent, during unload of sym53c8xx_2 Message-ID: <20081103013647.GA27549@merlin.emma.line.org> Mail-Followup-To: linux-scsi@vger.kernel.org, matthew@wil.cx, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 8BIT X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc User-Agent: Mutt/1.5.18 (2008-10-30) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3378 Lines: 55 Hi, I killall -9'ed "taper" because my SCSI hardware was going haywire, and tried to rmmod sym53c8xx, and got a nice warning from the kernel - shown below. [Please Cc: replies, I'm subscribed to linux-kernel@, but not linux-scsi@] The machine had been suspended to disk before (via /sys/power/state). ------------[ cut here ]------------ WARNING: at arch/x86/kernel/pci-dma.c:376 dma_free_coherent+0x80/0x90() Modules linked in: nls_utf8 nls_cp437 vfat fat lp tun iptable_mangle ipt_MASQUERADE iptable_nat nf_nat ipt_REJECT ipt_recent nf_conntrack_ipv4 xt_state xt_TCPMSS xt_tcpudp pppoe pppox af_packet ppp_generic slhc iptable_filter ip_tables ip6table_filter ip6_tables x_tables snd_pcm_oss snd_mixer_oss snd_seq ipv6 nf_conntrack_sip nf_conntrack_irc nf_conntrack_ftp nf_conntrack it87 hwmon_vid hwmon fuse dm_crypt ufs xfs loop dm_mod bnep rfcomm l2cap tuner tea5767 tda8290 tuner_xc2028 xc5000 tda9887 tuner_simple tuner_types mt20xx tea5761 snd_via82xx snd_via82xx_modem tvaudio snd_ac97_codec msp3400 snd_mpu401_uart ppdev ns558 rtc_cmos st bttv ohci1394 rtc_core floppy gameport snd_rawmidi rtc_lib ac97_bus snd_seq_device ieee1394 serio_raw snd_pcm videodev btusb snd_timer via_rhine snd_page_alloc v4l1_compat snd usb_storage soundcore bluetooth i2c_viapro ir_common compat_ioctl32 i2c_algo_bit v4l2_common videobuf_dma_sg usblp videobuf_core btcx_risc sr_mod tveeprom cdrom sg 3c59x i2c_core mii parport_pc parport button joydev usbhid uhci_hcd ehci_hcd usbcore sd_mod crc_t10dif via82cxxx ide_core pata_amd sata_nv edd ext3 mbcache jbd fan sym53c8xx(-) sata_via pata_via thermal processor Pid: 27228, comm: rmmod Not tainted 2.6.27.4-default #14 [] ? printk+0x18/0x1e [] warn_on_slowpath+0x54/0x80 [] ? check_preempt_wakeup+0x16d/0x1a0 [] ? try_to_wake_up+0xd6/0x1a0 [] ? enqueue_hrtimer+0x75/0x120 [] ? default_wake_function+0xb/0x10 [] ? autoremove_wake_function+0x1b/0x50 [] ? smp_call_function_mask+0x47/0x1c0 [] ? do_flush_tlb_all+0x0/0x60 [] ? free_proc_entry+0x5f/0x80 [] ? free_proc_entry+0x5f/0x80 [] dma_free_coherent+0x80/0x90 [] ___free_dma_mem_cluster+0x61/0x90 [sym53c8xx] [] __sym_mfree+0xaf/0xf0 [sym53c8xx] [] ? flush_tlb_all+0x14/0x20 [] __sym_mfree_dma+0x54/0xc0 [sym53c8xx] [] sym_hcb_free+0x74/0x1a0 [sym53c8xx] [] sym_free_resources+0x3f/0x70 [sym53c8xx] [] sym_detach+0x8c/0xa0 [sym53c8xx] [] sym2_remove+0x2c/0x50 [sym53c8xx] [] pci_device_remove+0x19/0x40 [] __device_release_driver+0x74/0xb0 [] driver_detach+0x8f/0xa0 [] bus_remove_driver+0x73/0xa0 [] driver_unregister+0x31/0x40 [] pci_unregister_driver+0x24/0x80 [] sym2_exit+0xd/0x28 [sym53c8xx] [] sys_delete_module+0x15f/0x220 [] ? do_munmap+0x1d2/0x230 [] sysenter_do_call+0x12/0x21 ======================= ---[ end trace 5fc8814f2abc34b4 ]--- ------------[ cut here ]------------ -- Matthias Andree -- 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/