The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: wixor <wixorpeek@gmail.com>
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]
Date: Sat, 7 Feb 2009 23:06:52 +0300	[thread overview]
Message-ID: <20090207200652.GA3255@x200.localdomain> (raw)
In-Reply-To: <c43b2e150902071144j4f01e754y83205ad8d734fd95@mail.gmail.com>

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:[<c0161d70>] 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:
>  [<f0700000>] snd_interval_ratnum+0x1b0/0x2a0 [snd_pcm]
>  [<f0700000>] snd_interval_ratnum+0x1b0/0x2a0 [snd_pcm]
>  [<c0161f18>] alloc_vmap_area+0x178/0x210
>  [<c016205d>] __get_vm_area_node+0xad/0x160
>  [<c01621a8>] get_vm_area_caller+0x48/0x50
>  [<f0ac523e>] viafb_init+0x23e/0xe67 [viafb]
>  [<c0116ccf>] __ioremap_caller+0x15f/0x2d0
>  [<c0116f54>] ioremap_nocache+0x14/0x20
>  [<f0ac523e>] viafb_init+0x23e/0xe67 [viafb]
>  [<f0ac523e>] viafb_init+0x23e/0xe67 [viafb]
>  [<f0ac5000>] viafb_init+0x0/0xe67 [viafb]
>  [<c0101126>] do_one_initcall+0x36/0x1b0
>  [<c01af450>] sysfs_ilookup_test+0x0/0x10
>  [<c01af891>] __sysfs_add_one+0x11/0xa0
>  [<c01afbf4>] sysfs_addrm_finish+0x14/0x1b0
>  [<c0162340>] __vunmap+0xb0/0xe0
>  [<c014160a>] load_module+0x128a/0x13f0
>  [<c01418cb>] sys_init_module+0x8b/0x1b0
>  [<c0103261>] 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: [<c0161d70>] __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.

  reply	other threads:[~2009-02-07 20:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-07 19:44 viafb triggers BUG at mm/vmalloc.c:294 [kernel 2.6.28.3] wixor
2009-02-07 20:06 ` Alexey Dobriyan [this message]
2009-02-07 20:17   ` wixor
2009-02-07 20:56     ` Alexey Dobriyan
2009-02-07 21:45       ` wixor
2009-02-07 22:46         ` Alexey Dobriyan
2009-02-07 22:52           ` wixor
2009-02-08  0:40       ` Arjan van de Ven
2009-02-08 10:09         ` wixor
2009-02-08 10:25           ` wixor
2009-02-09  5:59             ` Nick Piggin
2009-02-09 10:06               ` wixor
2009-02-09 10:54                 ` Nick Piggin
2009-02-09 11:48                   ` wixor
2009-02-09 12:34                     ` Nick Piggin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090207200652.GA3255@x200.localdomain \
    --to=adobriyan@gmail.com \
    --cc=JosephChan@via.com.tw \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wixorpeek@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox