From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754107AbZBGUBA (ORCPT ); Sat, 7 Feb 2009 15:01:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752885AbZBGUAv (ORCPT ); Sat, 7 Feb 2009 15:00:51 -0500 Received: from fg-out-1718.google.com ([72.14.220.158]:59155 "EHLO fg-out-1718.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752704AbZBGUAv (ORCPT ); Sat, 7 Feb 2009 15:00:51 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=eauy53rqZrgfHSvsLzus1pgpemGtzPfQZs1H8mRQKGpsucdGLagbOpKISPV1PIOwzf iE8NvRsP/lMuBqX0pZR/uo8e5gzjTPyyIyx/8rEdYvD+5SdzlrANjwNGyfhDonI8YCJR a/G9wjiFf8iXyTXc3zH6pzk/KfkSIVy5D4MTA= Date: Sat, 7 Feb 2009 23:06:52 +0300 From: Alexey Dobriyan To: wixor Cc: JosephChan@via.com.tw, linux-kernel@vger.kernel.org Subject: Re: viafb triggers BUG at mm/vmalloc.c:294 [kernel 2.6.28.3] Message-ID: <20090207200652.GA3255@x200.localdomain> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Feb 07, 2009 at 08:44:35PM +0100, wixor wrote: > The following happens regularly when trying to modprobe viafb module > on p4m900 chip (amilo pro v3515 laptop). > > VIA Graphics Intergration Chipset framebuffer 2.4 initializing > ------------[ cut here ]------------ > kernel BUG at mm/vmalloc.c:294! > invalid opcode: 0000 [#1] > last sysfs file: /sys/devices/virtual/block/loop7/range > Modules linked in: viafb(+) fb i2c_algo_bit cfbcopyarea cfbimgblt > cfbfillrect af_packet p4_clockmod speedstep_lib loop sr_mod arc4 ecb > cdrom cryptomgr aead crypto_blkcipher crypto_algapi ath5k mac80211 > rtc_cmos rtc_core rtc_lib crypto snd_hda_intel led_class ehci_hcd > uhci_hcd pcspkr snd_pcm snd_timer snd_page_alloc i2c_viapro snd_hwdep > snd psmouse evdev cfg80211 via_rhine mii i2c_core soundcore usbcore > pata_via fan thermal battery ac button processor thermal_sys via_agp > agpgart hwmon unix > > Pid: 1689, comm: modprobe Not tainted (2.6.28.3 #6) AMILO PRO V3515 > EIP: 0060:[] EFLAGS: 00010207 CPU: 0 > EIP is at __insert_vmap_area+0x90/0xc0 > EAX: 00701000 EBX: f0700000 ECX: ef9ceacc EDX: ef85460c > ESI: ee9f3a00 EDI: 00080000 EBP: 10001000 ESP: ee8b1d34 > DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 > Process modprobe (pid: 1689, ti=ee8b0000 task=ef965ea0 task.ti=ee8b0000) > Stack: > f0700000 f0700000 c0161f18 00000005 00701000 ee9f3a00 00000000 ee9f3a00 > 0007ffff fff80000 ee166c4c 00000000 ee1df160 00080000 ee1df160 10001000 > c016205d ff7fe000 ffffffff 000000d0 f0690000 00000001 ff7fe000 00000573 > Call Trace: > [] snd_interval_ratnum+0x1b0/0x2a0 [snd_pcm] > [] snd_interval_ratnum+0x1b0/0x2a0 [snd_pcm] > [] alloc_vmap_area+0x178/0x210 > [] __get_vm_area_node+0xad/0x160 > [] get_vm_area_caller+0x48/0x50 > [] viafb_init+0x23e/0xe67 [viafb] > [] __ioremap_caller+0x15f/0x2d0 > [] ioremap_nocache+0x14/0x20 > [] viafb_init+0x23e/0xe67 [viafb] > [] viafb_init+0x23e/0xe67 [viafb] > [] viafb_init+0x0/0xe67 [viafb] > [] do_one_initcall+0x36/0x1b0 > [] sysfs_ilookup_test+0x0/0x10 > [] __sysfs_add_one+0x11/0xa0 > [] sysfs_addrm_finish+0x14/0x1b0 > [] __vunmap+0xb0/0xe0 > [] load_module+0x128a/0x13f0 > [] sys_init_module+0x8b/0x1b0 > [] sysenter_do_call+0x12/0x25 > Code: 8b 5a 18 8d 4e 18 89 46 1c 89 5e 18 89 4a 18 89 4b 04 5b 5e c3 > 8d b6 00 00 00 00 8b 46 04 3b 42 f4 76 08 8d 42 04 89 d1 eb 9d 90 <0f> > 0b eb fe a1 04 2c 37 c0 8d 56 18 c7 46 1c 04 2c 37 c0 89 46 > EIP: [] __insert_vmap_area+0x90/0xc0 SS:ESP 0068:ee8b1d34 > ---[ end trace a37be145f08b1116 ]--- > > After that screen is totally rubbished and flickering, however rmmod > and vbetool post return it back to working vga console. the module > would not load again ever after (modprobe hangs, nothing in dmesg) > > The chip is > 01:00.0 VGA compatible controller: VIA Technologies, Inc. > CN896/VN896/P4M900 [Chrome 9 HC] (rev 01) (pciid: 1106:3371) > > Kernel version is 2.6.28.3. It is compiled with 8KB stack. In drivers/video/via/debug.h change define VIAFB_DEBUG and VIAFB_WARN to 1, recompile, reboot with ignore_loglevel boot option, post new oops and most importantly new messages (dmesg) before it. Looking further.