Re: cdc_ether.c incompatible with Nokia 6110 Navigator: Where's the problem?

Hadmut Danisch <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
Oliver Neukum wrote:
> Have you tried whitelisting it
> in the cdc_ether driver?
>
> 	


I have put that into the whitelist:



{
  .match_flags = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_PRODUCT,
    .idVendor = 0x0421,
    .idProduct = 0x046e,
    .driver_info = (unsigned long) &cdc_info,
},


and what I got is

BUG: unable to handle kernel NULL pointer dereference at virtual address
00000003
 printing eip:
fe730880
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: cdc_ether usbnet mii cdc_acm binfmt_misc wacom rfcomm
l2cap bluetooth ib_iser rdma_cm ib_cm iw_cm ib_sa ib_mad ib_core ib_addr
iscsi_tcp libiscsi scsi_transport_iscsi nfsd exportfs lockd nfs_acl
auth_rpcgss sunrpc nbd ppdev lp autofs4 battery ipt_MASQUERADE
iptable_nat ip6t_LOG nf_conntrack_ipv6 ip6table_filter ip6_tables
ipt_ULOG xt_multiport xt_state xt_conntrack xt_tcpudp iptable_filter
ip_tables x_tables deflate zlib_deflate twofish twofish_common camellia
serpent blowfish des cbc ecb blkcipher aes xcbc sha256 sha1 crypto_null
af_key reiserfs fuse lm92 max6650 adm1021 capidrv capi capifs kernelcapi
snd_pcm_oss snd_mixer_oss nf_nat_ftp nf_nat nf_conntrack_ftp
nf_conntrack_ipv4 nf_conntrack nfnetlink ipv6 cpufreq_ondemand
cpufreq_powersave cpufreq_userspace powernow_k8 freq_table ac loop
ide_cd firewire_sbp2 hisax_fcpcipnp hisax_isac hisax crc_ccitt isdn
ns558 slhc snd_mpu401 snd_mpu401_uart gameport parport_pc parport
rtc_cmos rtc_core rtc_lib snd_rawmidi snd_seq_device k8temp
snd_hda_intel snd_pcm snd_timer snd soundcore button snd_page_alloc
nvidiafb fb_ddc i2c_algo_bit vgastate i2c_nforce2 i2c_core tsdev evdev
ext3 jbd mbcache usbhid hid dm_snapshot usb_storage ide_generic
dm_mirror dm_mod firewire_ohci firewire_core crc_itu_t ehci_hcd r8169
ide_disk forcedeth floppy ohci_hcd usbcore sg sr_mod cdrom sd_mod
thermal processor fan raid1 md_mod amd74xx ide_core sata_nv libata scsi_mod
CPU:    1
EIP:    0060:[<fe730880>]    Not tainted VLI
EFLAGS: 00010286   (2.6.23.1 #1)
EIP is at cdc_bind+0x33/0xef [cdc_ether]
eax: 00000000   ebx: 00000000   ecx: d6cd5da3   edx: e531bfc0
esi: f584b480   edi: 00000000   ebp: f584b548   esp: d6cd5d84
ds: 007b   es: 007b   fs: 00d8  gs: 0033  ss: 0068
Process modprobe (pid: 10225, ti=d6cd4000 task=c3287000 task.ti=d6cd4000)
Stack: f37ccb40 00000282 eebe8000 00000480 00000480 eebe8000 f584b480
c0178e74
       c02595e6 eebe8000 fffffff4 f584b480 fe730ac0 f584b000 fe730b8f
fe726e8b
       c2d60d04 c0178d66 f7fb0828 c01a10ce 00000000 f4d0a170 f7fb089c
c030bd99
Call Trace:
 [<c0178e74>] find_inode+0x1b/0x56
 [<c02595e6>] ether_setup+0x0/0x94
 [<fe726e8b>] usbnet_probe+0x1e1/0x531 [usbnet]
 [<c0178d66>] iput+0x39/0x62
 [<c01a10ce>] sysfs_addrm_finish+0x4a/0x1b1
 [<f8928aea>] usb_match_one_id+0x1c/0x71 [usbcore]
 [<f8929a28>] usb_probe_interface+0x8b/0xcb [usbcore]
 [<c0230b0e>] driver_probe_device+0xe9/0x174
 [<c0230c2b>] __driver_attach+0x0/0x79
 [<c0230c71>] __driver_attach+0x46/0x79
 [<c02300e8>] bus_for_each_dev+0x37/0x59
 [<c023096a>] driver_attach+0x16/0x18
 [<c0230c2b>] __driver_attach+0x0/0x79
 [<c02303cc>] bus_add_driver+0x6d/0x16d
 [<f8929549>] usb_register_driver+0x6d/0xd4 [usbcore]
 [<c013ffb8>] __link_module+0x0/0x1f
 [<c014258e>] sys_init_module+0x1576/0x16c1
 [<c01560c2>] vma_prio_tree_insert+0x17/0x2a
 [<c0103e86>] syscall_call+0x7/0xb
 =======================
Code: 44 24 18 89 54 24 14 e8 2a f9 ff ff 85 c0 89 c7 0f 88 c7 00 00 00
8b 6c 24 18 8b 74 24 18 8d 4c 24 1f 81 c5 c8 00 00 00 8b 5d 08 <0f> b6
53 03 c7 04 24 0d 00 00 00 8b 06 e8 9e 71 1f fa 83 f8 0c
EIP: [<fe730880>] cdc_bind+0x33/0xef [cdc_ether] SS:ESP 0068:d6cd5d84


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.