From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp2.linux-foundation.org (smtp2.linux-foundation.org [207.189.120.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.linux-foundation.org", Issuer "CA Cert Signing Authority" (verified OK)) by ozlabs.org (Postfix) with ESMTP id B0158DDE08 for ; Wed, 1 Aug 2007 18:14:18 +1000 (EST) Date: Wed, 1 Aug 2007 01:13:23 -0700 From: Andrew Morton To: Mariusz Kozlowski , Ingo Molnar Subject: Re: 2.6.23-rc1-mm2 Message-Id: <20070801011323.6e8d8259.akpm@linux-foundation.org> In-Reply-To: <200708011002.30962.m.kozlowski@tuxland.pl> References: <20070731230932.a9459617.akpm@linux-foundation.org> <200708011002.30962.m.kozlowski@tuxland.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Cc: linuxppc-dev@ozlabs.org, gregkh@suse.de, paulus@samba.org, linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, 1 Aug 2007 10:02:30 +0200 Mariusz Kozlowski wrote: > Hello, > > I get this warning. Looking at the comment in kernel/irq/resend.c > it's harmless. Is it? > > WARNING: at kernel/irq/resend.c:69 check_irq_resend() > [] show_trace_log_lvl+0x1a/0x30 > [] show_trace+0x12/0x14 > [] dump_stack+0x15/0x17 > [] check_irq_resend+0x91/0xa0 > [] enable_irq+0xb1/0xb3 > [] ide_config_drive_speed+0xda/0x269 > [] ali15x3_tune_chipset+0xcc/0x161 > [] ide_tune_dma+0x43/0x4d > [] ali15x3_config_drive_for_dma+0xf/0x2a > [] ide_set_dma+0x11/0x40 > [] set_using_dma+0x84/0xd1 > [] generic_ide_ioctl+0xb9/0x3fb > [] idedisk_ioctl+0x3f/0x10c > [] blkdev_driver_ioctl+0x55/0x5e > [] blkdev_ioctl+0x2bc/0x83e > [] block_ioctl+0x1b/0x21 > [] do_ioctl+0x22/0x71 > [] vfs_ioctl+0x55/0x28a > [] sys_ioctl+0x33/0x51 > [] sysenter_past_esp+0x5f/0x85 > ======================= Ingo debug stuff. > Then reattaching a usb mouse caused this (only once) > > usb 2-1: USB disconnect, address 2 > BUG: atomic counter underflow at: > [] show_trace_log_lvl+0x1a/0x30 > [] show_trace+0x12/0x14 > [] dump_stack+0x15/0x17 > [] __free_pages+0x50/0x52 > [] free_pages+0x1f/0x21 > [] dma_free_coherent+0x43/0x9c > [] hcd_buffer_free+0x43/0x6a > [] usb_buffer_free+0x23/0x29 > [] hid_free_buffers+0x23/0x71 > [] hid_disconnect+0xb0/0xc8 > [] usb_unbind_interface+0x30/0x72 > [] __device_release_driver+0x6a/0x92 > [] device_release_driver+0x20/0x36 > [] bus_remove_device+0x62/0x85 > [] device_del+0x16d/0x27c > [] usb_disable_device+0x7a/0xe2 > [] usb_disconnect+0x94/0xde > [] hub_thread+0x2fe/0xc1b > [] kthread+0x36/0x58 > [] kernel_thread_helper+0x7/0x14 > ======================= > uhci_hcd 0000:00:0c.0: dma_pool_free buffer-32, 6b6b6b6b/6b6b6b6b (bad dma) whoa. huuuuuuuuuuge USB bug! > Every new try shows: > > usb 2-1: new low speed USB device using uhci_hcd and address 3 > usb 2-1: new device found, idVendor=046d, idProduct=c00e > usb 2-1: new device strings: Mfr=1, Product=2, SerialNumber=0 > usb 2-1: Product: USB-PS/2 Optical Mouse > usb 2-1: Manufacturer: Logitech > usb 2-1: configuration #1 chosen from 1 choice > input: Logitech USB-PS/2 Optical Mouse as /class/input/input9 > input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:0c.0-1 > usb 2-1: USB disconnect, address 3 > uhci_hcd 0000:00:0c.0: dma_pool_free buffer-32, 6b6b6b6b/6b6b6b6b (bad dma) > > But mouse works ok. > ok.. > > Second issue as reported earilier allmodconfig fails to build on imac g3. > > CC arch/powerpc/kernel/lparmap.s > AS arch/powerpc/kernel/head_64.o > lparmap.c: Assembler messages: > lparmap.c:84: Error: file number 1 already allocated > make[1]: *** [arch/powerpc/kernel/head_64.o] Blad 1 > make: *** [arch/powerpc/kernel] Blad 2 hm, someone is working that, I think?