Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 18 Oct 2002 09:04:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 18 Oct 2002 09:04:20 -0400 Received: from wilma1.suth.com ([207.127.128.4]:28687 "EHLO wilma1.suth.com") by vger.kernel.org with ESMTP id ; Fri, 18 Oct 2002 09:04:14 -0400 Subject: [BUG] VIA vt8233 ide_iomio_dma kerel oops From: Jason Williams To: linux-kernel@vger.kernel.org Content-Type: multipart/mixed; boundary="=-MDuOYUFO+VTkVhhbgmIU" X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) Date: 18 Oct 2002 09:12:38 -0400 Message-Id: <1034946763.26201.6.camel@cermanius.suth.com> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 7496 Lines: 176 --=-MDuOYUFO+VTkVhhbgmIU Content-Type: text/plain Content-Transfer-Encoding: 7bit So, I can't get my via82cxxx module to load and I can't build via82cxxx into the kernel because it causes a kernel panic. I am attaching the ksymoops output and a snippet of the section of the dissassemble of the function with gdb. I am still going to play with this more to see if I can track it down but if someone wants to lend a hand, it would be most helpful as I am not the advanced kernel coders that most everyone else on this list is. Jason --=-MDuOYUFO+VTkVhhbgmIU Content-Description: Content-Disposition: inline; filename=ksymoops.viaoops Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 ksymoops -v /usr/src/linux/vmlinux -k /root/ksyms -l /root/mods -o /lib/mod= ules/2.5.43 -m /boot/System.map viasegfault=20 ksymoops 2.4.5 on i686 2.5.43. Options used -v /usr/src/linux/vmlinux (specified) -k /root/ksyms (specified) -l /root/mods (specified) -o /lib/modules/2.5.43 (specified) -m /boot/System.map (specified) Unable to handle kernel NULL pointer dereference at virtual address 0000065= 0 c02bc44d *pde =3D 00000000 Oops: 0000 CPU: 0 EIP: 0060:[] Not tainted Using defaults from ksymoops -t elf32-i386 -a i386 EFLAGS: 00010202 eax: 00000000 ebx: c05a9a14 ecx: 00000001 edx: 00000001 esi: c05a9a24 edi: 00009008 ebp: 00000008 esp: db32fd7c ds: 0068 es: 0068 ss: 0068 Stack: c03f5915 00009008 00000008 c05a9a24 c1526000 c05a9a14 e4c42f70 c05a9= a14=20 c02bc597 c05a9a14 00009008 00000008 00000089 c048c89d c1526000 00009= 008=20 e4c41d88 c05a9a14 00009008 00000008 c02ba7fe c05a9a14 00009008 00000= 004=20 [] via82cxxx_chipsets+0x30/0xa0 [via82cxxx] [] ide_setup_dma+0x27/0x370 [] init_dma_via82cxxx+0x38/0x40 [via82cxxx] [] ide_hwif_setup_dma+0x10e/0x150 [] via82cxxx_chipsets+0x30/0xa0 [via82cxxx] [] via82cxxx_chipsets+0x51/0xa0 [via82cxxx] [] do_ide_setup_pci_device+0x16e/0x330 [] via82cxxx_chipsets+0x30/0xa0 [via82cxxx] [] driver+0x0/0x80 [via82cxxx] [] ide_setup_pci_device+0x2b/0x80 [] via82cxxx_chipsets+0x30/0xa0 [via82cxxx] [] alloc_inode+0x17e/0x1b0 [] via_init_one+0x38/0x50 [via82cxxx] [] via82cxxx_chipsets+0x30/0xa0 [via82cxxx] [] pci_device_probe+0x5e/0x70 [] via_pci_tbl+0x1c/0x60 [via82cxxx] [] driver+0x28/0x80 [via82cxxx] [] probe+0x23/0x30 [] found_match+0x2d/0x70 [] driver+0x28/0x80 [via82cxxx] [] driver+0x28/0x80 [via82cxxx] [] do_driver_attach+0x5c/0x60 [] driver+0x28/0x80 [via82cxxx] [] bus_for_each_dev+0x81/0x120 [] driver+0x28/0x80 [via82cxxx] [] driver+0x38/0x80 [via82cxxx] [] driver+0x28/0x80 [via82cxxx] [] driver_attach+0x1e/0x30 [] driver+0x28/0x80 [via82cxxx] [] do_driver_attach+0x0/0x60 [] driver_register+0x76/0xb0 [] driver+0x28/0x80 [via82cxxx] [] driver+0x0/0x80 [via82cxxx] [] pci_register_driver+0x3b/0x50 [] driver+0x28/0x80 [via82cxxx] [] ide_pci_register_driver+0x44/0x60 [] driver+0x0/0x80 [via82cxxx] [] via_ide_init+0xf/0x20 [via82cxxx] [] driver+0x0/0x80 [via82cxxx] [] sys_init_module+0x4e1/0x630 [] E __insmod_via82cxxx_O/lib/modules/2.5.43/kernel/drivers/ide/= pci/via82cxxx.o_M3DB0015C_V132395+0x60/0x [via82cxxx] [] E __insmod_via82cxxx_O/lib/modules/2.5.43/kernel/drivers/ide/= pci/via82cxxx.o_M3DB0015C_V132395+0x60/0x80[via82cxxx] [] syscall_call+0x7/0xb Code: 8b 80 50 06 00 00 89 83 4c 06 00 00 8b 83 68 06 00 00 85 c0 >>EIP; c02bc44d <=3D=3D=3D=3D=3D >>ebx; c05a9a14 >>esi; c05a9a24 >>edi; 00009008 Before first symbol >>esp; db32fd7c <_end+1ad7be3c/2468c140> Code; c02bc44d 00000000 <_EIP>: Code; c02bc44d <=3D=3D=3D=3D=3D 0: 8b 80 50 06 00 00 mov 0x650(%eax),%eax <=3D=3D=3D=3D= =3D Code; c02bc453 6: 89 83 4c 06 00 00 mov %eax,0x64c(%ebx) Code; c02bc459 c: 8b 83 68 06 00 00 mov 0x668(%ebx),%eax Code; c02bc45f 12: 85 c0 test %eax,%eax --=-MDuOYUFO+VTkVhhbgmIU Content-Description: Content-Disposition: inline; filename=ide_iomio_dma.S Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 0xc02bc3b0 : push %ebp 0xc02bc3b1 : push %edi 0xc02bc3b2 : push %esi 0xc02bc3b3 : push %ebx 0xc02bc3b4 : sub $0x10,%esp 0xc02bc3b7 : mov 0x28(%esp,1),%edi 0xc02bc3bb : mov 0x2c(%esp,1),%ebp 0xc02bc3bf : movl $0xc03e2da0,(%esp,1) 0xc02bc3c6 : mov 0x24(%esp,1),%ebx 0xc02bc3ca : lea 0xffffffff(%ebp,%edi,1),%eax 0xc02bc3ce : mov %edi,0x8(%esp,1) 0xc02bc3d2 : lea 0x10(%ebx),%esi 0xc02bc3d5 : mov %eax,0xc(%esp,1) 0xc02bc3d9 : mov %esi,0x4(%esp,1) 0xc02bc3dd : call 0xc011a220 0xc02bc3e2 : movl $0xc041f154,(%esp,1) 0xc02bc3e9 : mov %esi,0xc(%esp,1) 0xc02bc3ed : mov %ebp,0x8(%esp,1) 0xc02bc3f1 : mov %edi,0x4(%esp,1) 0xc02bc3f5 : call 0xc0120080 <__request_region> 0xc02bc3fa : test %eax,%eax 0xc02bc3fc : je 0xc02bc523 0xc02bc402 : mov 0x558(%ebx),%edx 0xc02bc408 : mov %edi,0x650(%ebx) 0xc02bc40e : mov 0x28(%edx),%ecx 0xc02bc411 : test %ecx,%ecx 0xc02bc413 : je 0xc02bc422 0xc02bc415 : cmpb $0x0,0x546(%ebx) 0xc02bc41c : je 0xc02bc4ee 0xc02bc422 : mov 0x4(%ebx),%eax 0xc02bc425 : test %eax,%eax 0xc02bc427 : je 0xc02bc4dd 0xc02bc42d : mov 0x64c(%ebx),%eax 0xc02bc433 : test %eax,%eax 0xc02bc435 : je 0xc02bc4cc 0xc02bc43b : movzbl 0x546(%ebx),%eax 0xc02bc442 : test %al,%al 0xc02bc444 : je 0xc02bc4b4 0xc02bc446 : test %al,%al 0xc02bc448 : je 0xc02bc4b0 0xc02bc44a : mov 0x4(%ebx),%eax 0xc02bc44d : mov 0x650(%eax),%eax 0xc02bc453 : mov %eax,0x64c(%ebx) 0xc02bc459 : mov 0x668(%ebx),%eax --=-MDuOYUFO+VTkVhhbgmIU-- - 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/