[Home]

Summary:DAHLIN-00022: kernel oops on loading wcfxo
Reporter:Warren Volz (wvolz)Labels:
Date Opened:2008-07-19 01:23:27Date Closed:2008-08-01 15:53:34
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:wcfxo
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When trying to load the wcfxo module for SVN version 4616 I get a kernel oops. Here is the info from syslog:

Jul 18 20:20:09 magicchef kernel: BUG: unable to handle kernel NULL pointer dereference at virtual address 00000004
Jul 18 20:20:09 magicchef kernel:  printing eip:
Jul 18 20:20:09 magicchef kernel: c01ba7db
Jul 18 20:20:09 magicchef kernel: *pde = 00000000
Jul 18 20:20:09 magicchef kernel: Oops: 0002 [#1]
Jul 18 20:20:09 magicchef kernel: SMP
Jul 18 20:20:09 magicchef kernel: Modules linked in: wcfxo dahdi nfs nfsd exportfs lockd nfs_acl sunrpc appletalk button ac battery ipv6 xfrm_user xfrm4_tunnel tunnel4 ipcomp esp4 ah4 deflate zlib_deflate twofish serpent aes blowfish des sha256 sha1 crypto_null af_key eeprom lm85 hwmon_vid loop i810_audio ac97_codec hisax crc_ccitt isdn slhc snd_intel8x0 eth1394 snd_ac97_codec evdev snd_ac97_bus parport_pc psmouse snd_pcm i2c_i801 intel_agp agpgart shpchp floppy serio_raw i2c_core rtc pcspkr pci_hotplug parport i82875p_edac edac_mc snd_timer snd soundcore snd_page_alloc ext3 jbd mbcache dm_mirror dm_snapshot dm_mod ide_generic ide_cd cdrom ide_disk ata_piix ohci1394 uhci_hcd e1000 ieee1394 piix libata ehci_hcd scsi_mod generic ide_core usbcore thermal processor fan
Jul 18 20:20:09 magicchef kernel: CPU:    1
Jul 18 20:20:09 magicchef kernel: EIP:    0060:[<c01ba7db>]    Not tainted VLI
Jul 18 20:20:09 magicchef kernel: EFLAGS: 00010a83   (2.6.18-6-686 #1)
Jul 18 20:20:09 magicchef kernel: EIP is at vsnprintf+0x9c/0x457
Jul 18 20:20:09 magicchef kernel: eax: f8baa157   ebx: 00000020   ecx: f8baa1bd   edx: 7fffffff
Jul 18 20:20:09 magicchef kernel: esi: 00000004   edi: df89fe34   ebp: 00000000   esp: df89fdec
Jul 18 20:20:09 magicchef kernel: ds: 007b   es: 007b   ss: 0068
Jul 18 20:20:09 magicchef kernel: Process modprobe (pid: 13025, ti=df89e000 task=d08b3aa0 task.ti=df89e000)
Jul 18 20:20:09 magicchef kernel: Stack: 7fffffff 00000004 00000002 f8baa1bc 80000003 e565c000 00000000 f8baa1bd
Jul 18 20:20:09 magicchef kernel:        00000020 e565c000 f8baa177 00000000 c01babfc df89fe34 df89fe34 f8ba9377
Jul 18 20:20:09 magicchef kernel:        00000004 f8baa1bd 00000000 00000000 00000000 dff01800 f8bab99c e565c010
Jul 18 20:20:09 magicchef kernel: Call Trace:
Jul 18 20:20:09 magicchef kernel:  [<c01babfc>] sprintf+0x1d/0x20
Jul 18 20:20:09 magicchef kernel:  [<f8ba9377>] wcfxo_init_one+0x1bc/0x75e [wcfxo]
Jul 18 20:20:09 magicchef kernel:  [<c01c1aec>] pci_match_device+0x10/0xac
Jul 18 20:20:09 magicchef kernel:  [<c0210ea8>] __driver_attach+0x0/0x5d
Jul 18 20:20:09 magicchef kernel:  [<c01c1bd4>] pci_device_probe+0x36/0x57
Jul 18 20:20:09 magicchef kernel:  [<c0210e09>] driver_probe_device+0x42/0x8b
Jul 18 20:20:09 magicchef kernel:  [<c0210ee0>] __driver_attach+0x38/0x5d
Jul 18 20:20:09 magicchef kernel:  [<c021092a>] bus_for_each_dev+0x33/0x55
Jul 18 20:20:09 magicchef kernel:  [<c0210d73>] driver_attach+0x11/0x13
Jul 18 20:20:09 magicchef kernel:  [<c0210ea8>] __driver_attach+0x0/0x5d
Jul 18 20:20:09 magicchef kernel:  [<c0210643>] bus_add_driver+0x64/0xfd
Jul 18 20:20:09 magicchef kernel:  [<c01c1d10>] __pci_register_driver+0x47/0x63
Jul 18 20:20:09 magicchef kernel:  [<f8bad048>] wcfxo_init+0x48/0x58 [wcfxo]
Jul 18 20:20:09 magicchef kernel:  [<c01358f9>] sys_init_module+0x16c3/0x1846
Jul 18 20:20:09 magicchef kernel:  [<c0102c11>] sysenter_past_esp+0x56/0x79
Jul 18 20:20:09 magicchef kernel: Code: 00 00 8b 44 24 04 c7 44 24 10 ff ff ff ff f7 d0 89 04 24 eb e4 3c 25 c7 44 24 18 00 00 00 00 74 11 3b 74 24 10 0f 83 e0 02 00 00 <88> 06 e9 d9 02 00 00 8b 4c 24 1c 41 89 4c 24 1c 8a 11 80 fa 2b
Jul 18 20:20:09 magicchef kernel: EIP: [<c01ba7db>] vsnprintf+0x9c/0x457 SS:ESP 0068:df89fdec

This is kernel 2.6.18-6-686 on Debian 4.
Comments:By: Digium Subversion (svnbot) 2008-07-21 10:31:37

Repository: dahdi
Revision: 4618

U   linux/trunk/drivers/dahdi/wcfxo.c

------------------------------------------------------------------------
r4618 | sruffell | 2008-07-21 10:31:33 -0500 (Mon, 21 Jul 2008) | 4 lines

Fixed typo where chan is cleared out accidentally.

(Related to issue ASTERISK-1303112)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=4618

By: Shaun Ruffell (sruffell) 2008-07-21 10:33:15

wvolz, would you be so kind as to try again?  I just committed a potential fix.

By: Warren Volz (wvolz) 2008-07-30 10:17:24

Tried again, this patch/change fixes my kernel oops. Thanks!