Latest working kernel version:2.6.24 Earliest failing kernel version: Distribution:Mandriva 2009 Hardware Environment: Three different computers; Laptop Fujitsu Siemens Lifebook c1410, HP 6715s, desktop asus m2n-sli de luxe Software Environment: KDE4 Problem Description:When Sony ericsson w 380 or w710 are pluged in over USB, the Phone card does not mount. This worked with kernel 2.6.24 in Mandriva 2008.1 Steps to reproduce: usb 2-1: new full speed USB device using uhci_hcd and address 2 usb 2-1: configuration #2 chosen from 1 choice usb 2-1: New USB device found, idVendor=0fce, idProduct=d0b5 usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 2-1: Product: Sony Ericsson W380 usb 2-1: Manufacturer: Sony Ericsson usb 2-1: SerialNumber: 3545260216541200 cdc_acm 2-1:2.1: ttyACM0: USB ACM device usbcore: registered new interface driver cdc_acm cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters BUG: unable to handle kernel NULL pointer dereference at 00000003 IP: [<f92b955f>] :cdc_wdm:wdm_probe+0x12f/0x3c0 *pde = 00000000 Oops: 0000 [#1] Modules linked in: cdc_wdm(+) cdc_acm xt_time xt_connlimit xt_realm iptable_raw xt_comment xt_policy ipt_ULOG ipt_TTL ipt_ttl ipt_REJECT ipt_REDIRECT ipt_recent ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_ECN ipt_ecn ipt_CLUSTERIP ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE xt_NFLOG xt_multiport xt_MARK xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper xt_hashlimit xt_DSCP xt_dscp xt_dccp xt_conntrack xt_CONNMARK xt_connmark xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables fuse i915 drm arc4 ecb crypto_blkcipher ath5k mac80211 led_class cfg80211 ipv6 coretemp binfmt_misc loop dm_mirror dm_log dm_mod cpufreq_ondemand cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table nvram pcmcia ppdev sdhci_pci sdhci serio_raw yenta_socket iTCO_wdt i2c_i801 rtc_cmos rsrc_nonstatic iTCO_vendor_support mmc_core i2c_core pcmcia_core sr_mod sg snd_hda_intel snd_hwdep parport_pc parport video snd_seq_dummy output snd_seq_oss snd_seq_midi_event usbhid snd_seq snd_seq_device snd_pcm_oss snd_pcm ff_memless snd_timer snd_page_alloc battery snd_mixer_oss snd intel_agp thermal fujitsu_laptop agpgart button processor ac joydev sky2 soundcore evdev sbp2 ohci1394 ieee1394 ata_piix ahci libata dock sd_mod scsi_mod crc_t10dif reiserfs uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: scsi_wait_scan] Pid: 7077, comm: modprobe Not tainted (2.6.27.10-1mdv #1) EIP: 0060:[<f92b955f>] EFLAGS: 00010286 CPU: 0 EIP is at wdm_probe+0x12f/0x3c0 [cdc_wdm] EAX: 00000000 EBX: 00000800 ECX: f92bb380 EDX: f2058c00 ESI: 00000000 EDI: f20460c0 EBP: f2e53df8 ESP: f2e53dbc DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 Process modprobe (pid: 7077, ti=f2e52000 task=f5b98000 task.ti=f2e52000) Stack: f2e53de4 c01d733a f2e53df0 00000000 f2e53dd8 f2058c00 00000000 f2e53df0 fffffff4 08009310 f5b8905c f2058c00 00000000 f2058c00 f92bb0e0 f2e53e2c f8a60448 00000000 f2058c1c f2058c84 f2058c1c f92bb060 f5b89000 f92bb090 Call Trace: [<c01d733a>] ? sysfs_addrm_finish+0x3a/0x1c0 [<f8a60448>] ? usb_probe_interface+0xa8/0x180 [usbcore] [<c0283545>] ? driver_sysfs_add+0x55/0x70 [<c0283651>] ? driver_probe_device+0x81/0x190 [<c01d76bb>] ? sysfs_create_dir+0x2b/0x50 [<c02837d1>] ? __driver_attach+0x71/0x80 [<c0282f83>] ? bus_for_each_dev+0x53/0x80 [<c02834e9>] ? driver_attach+0x19/0x20 [<c0283760>] ? __driver_attach+0x0/0x80 [<c028291f>] ? bus_add_driver+0x1af/0x230 [<c0283979>] ? driver_register+0x69/0x140 [<f8a60745>] ? usb_register_driver+0x75/0xf0 [usbcore] [<c0123bf4>] ? __enqueue_entity+0xd4/0x100 [<f9292000>] ? wdm_init+0x0/0x19 [cdc_wdm] [<f9292017>] ? wdm_init+0x17/0x19 [cdc_wdm] [<c010111b>] ? _stext+0x2b/0x150 [<c0122b2e>] ? check_preempt_wakeup+0xbe/0x130 [<c014e3d8>] ? sys_init_module+0x88/0x1b0 [<c012e65a>] ? irq_exit+0x2a/0x80 [<c0114801>] ? smp_apic_timer_interrupt+0x41/0x80 [<c0103cbb>] ? sysenter_do_call+0x12/0x2f ======================= Code: 00 00 00 c7 87 88 00 00 00 b0 9a 2b f9 66 89 47 34 8d 87 80 00 00 00 89 87 80 00 00 00 89 87 84 00 00 00 8b 02 8b 40 0c 89 45 dc <0f> b6 40 03 83 e0 03 83 f8 03 74 3d c7 45 e4 ea ff ff ff 89 f8 EIP: [<f92b955f>] wdm_probe+0x12f/0x3c0 [cdc_wdm] SS:ESP 0068:f2e53dbc ---[ end trace 07c964e414c79d56 ]--- usb 2-1: USB disconnect, address 2
Reply-To: akpm@linux-foundation.org (switched to email. Please respond via emailed reply-to-all, not via the bugzilla web interface). cdc-acm went oops. A regression. On Tue, 30 Dec 2008 09:26:09 -0800 (PST) bugme-daemon@bugzilla.kernel.org wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=12332 > > Summary: sony ericsson phone card not recognized > Product: Drivers > Version: 2.5 > KernelVersion: 2.6.27.10 > Platform: All > OS/Version: Linux > Tree: Mainline > Status: NEW > Severity: normal > Priority: P1 > Component: USB > AssignedTo: greg@kroah.com > ReportedBy: matjaz.kase@telemach.net > > > Latest working kernel version:2.6.24 > Earliest failing kernel version: > Distribution:Mandriva 2009 > Hardware Environment: Three different computers; Laptop Fujitsu Siemens > Lifebook c1410, HP 6715s, desktop asus m2n-sli de luxe > Software Environment: KDE4 > Problem Description:When Sony ericsson w 380 or w710 are pluged in over USB, > the Phone card does not mount. This worked with kernel 2.6.24 in Mandriva > 2008.1 > > Steps to reproduce: > usb 2-1: new full speed USB device using uhci_hcd and address 2 > usb 2-1: configuration #2 chosen from 1 choice > usb 2-1: New USB device found, idVendor=0fce, idProduct=d0b5 > usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > usb 2-1: Product: Sony Ericsson W380 > usb 2-1: Manufacturer: Sony Ericsson > usb 2-1: SerialNumber: 3545260216541200 > cdc_acm 2-1:2.1: ttyACM0: USB ACM device > usbcore: registered new interface driver cdc_acm > cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN > adapters > BUG: unable to handle kernel NULL pointer dereference at 00000003 > IP: [<f92b955f>] :cdc_wdm:wdm_probe+0x12f/0x3c0 > *pde = 00000000 > Oops: 0000 [#1] > Modules linked in: cdc_wdm(+) cdc_acm xt_time xt_connlimit xt_realm > iptable_raw > xt_comment xt_policy ipt_ULOG ipt_TTL ipt_ttl ipt_REJECT ipt_REDIRECT > ipt_recent ipt_NETMAP ipt_MASQUERADE ipt_LOG ipt_ECN ipt_ecn ipt_CLUSTERIP > ipt_ah ipt_addrtype nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp > nf_nat_proto_gre nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda ts_kmp > nf_conntrack_amanda nf_conntrack_sane nf_conntrack_tftp nf_conntrack_sip > nf_conntrack_proto_sctp nf_conntrack_pptp nf_conntrack_proto_gre > nf_conntrack_netlink nf_conntrack_netbios_ns nf_conntrack_irc > nf_conntrack_h323 > nf_conntrack_ftp xt_tcpmss xt_pkttype xt_physdev xt_owner xt_NFQUEUE xt_NFLOG > xt_multiport xt_MARK xt_mark xt_mac xt_limit xt_length xt_iprange xt_helper > xt_hashlimit xt_DSCP xt_dscp xt_dccp xt_conntrack xt_CONNMARK xt_connmark > xt_CLASSIFY xt_tcpudp xt_state iptable_nat nf_nat nf_conntrack_ipv4 > nf_conntrack iptable_mangle nfnetlink iptable_filter ip_tables x_tables fuse > i915 drm arc4 ecb crypto_blkcipher ath5k mac80211 led_class cfg80211 ipv6 > coretemp binfmt_misc loop dm_mirror dm_log dm_mod cpufreq_ondemand > cpufreq_conservative cpufreq_powersave acpi_cpufreq freq_table nvram pcmcia > ppdev sdhci_pci sdhci serio_raw yenta_socket iTCO_wdt i2c_i801 rtc_cmos > rsrc_nonstatic iTCO_vendor_support mmc_core i2c_core pcmcia_core sr_mod sg > snd_hda_intel snd_hwdep parport_pc parport video snd_seq_dummy output > snd_seq_oss snd_seq_midi_event usbhid snd_seq snd_seq_device snd_pcm_oss > snd_pcm ff_memless snd_timer snd_page_alloc battery snd_mixer_oss snd > intel_agp > thermal fujitsu_laptop agpgart button processor ac joydev sky2 soundcore > evdev > sbp2 ohci1394 ieee1394 ata_piix ahci libata dock sd_mod scsi_mod crc_t10dif > reiserfs uhci_hcd ohci_hcd ehci_hcd usbcore [last unloaded: scsi_wait_scan] > > Pid: 7077, comm: modprobe Not tainted (2.6.27.10-1mdv #1) > EIP: 0060:[<f92b955f>] EFLAGS: 00010286 CPU: 0 > EIP is at wdm_probe+0x12f/0x3c0 [cdc_wdm] > EAX: 00000000 EBX: 00000800 ECX: f92bb380 EDX: f2058c00 > ESI: 00000000 EDI: f20460c0 EBP: f2e53df8 ESP: f2e53dbc > DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 0068 > Process modprobe (pid: 7077, ti=f2e52000 task=f5b98000 task.ti=f2e52000) > Stack: f2e53de4 c01d733a f2e53df0 00000000 f2e53dd8 f2058c00 00000000 > f2e53df0 > fffffff4 08009310 f5b8905c f2058c00 00000000 f2058c00 f92bb0e0 > f2e53e2c > f8a60448 00000000 f2058c1c f2058c84 f2058c1c f92bb060 f5b89000 > f92bb090 > Call Trace: > [<c01d733a>] ? sysfs_addrm_finish+0x3a/0x1c0 > [<f8a60448>] ? usb_probe_interface+0xa8/0x180 [usbcore] > [<c0283545>] ? driver_sysfs_add+0x55/0x70 > [<c0283651>] ? driver_probe_device+0x81/0x190 > [<c01d76bb>] ? sysfs_create_dir+0x2b/0x50 > [<c02837d1>] ? __driver_attach+0x71/0x80 > [<c0282f83>] ? bus_for_each_dev+0x53/0x80 > [<c02834e9>] ? driver_attach+0x19/0x20 > [<c0283760>] ? __driver_attach+0x0/0x80 > [<c028291f>] ? bus_add_driver+0x1af/0x230 > [<c0283979>] ? driver_register+0x69/0x140 > [<f8a60745>] ? usb_register_driver+0x75/0xf0 [usbcore] > [<c0123bf4>] ? __enqueue_entity+0xd4/0x100 > [<f9292000>] ? wdm_init+0x0/0x19 [cdc_wdm] > [<f9292017>] ? wdm_init+0x17/0x19 [cdc_wdm] > [<c010111b>] ? _stext+0x2b/0x150 > [<c0122b2e>] ? check_preempt_wakeup+0xbe/0x130 > [<c014e3d8>] ? sys_init_module+0x88/0x1b0 > [<c012e65a>] ? irq_exit+0x2a/0x80 > [<c0114801>] ? smp_apic_timer_interrupt+0x41/0x80 > [<c0103cbb>] ? sysenter_do_call+0x12/0x2f > ======================= > Code: 00 00 00 c7 87 88 00 00 00 b0 9a 2b f9 66 89 47 34 8d 87 80 00 00 00 89 > 87 80 00 00 00 89 87 84 00 00 00 8b 02 8b 40 0c 89 45 dc <0f> b6 40 03 83 e0 > 03 > 83 f8 03 74 3d c7 45 e4 ea ff ff ff 89 f8 > EIP: [<f92b955f>] wdm_probe+0x12f/0x3c0 [cdc_wdm] SS:ESP 0068:f2e53dbc > ---[ end trace 07c964e414c79d56 ]--- > usb 2-1: USB disconnect, address 2 >
Reply-To: oliver@neukum.org Am Dienstag, 30. Dezember 2008 20:56:55 schrieb Andrew Morton: > (switched to email.
Reply-To: oliver@neukum.org Am Dienstag, 30. Dezember 2008 20:56:55 schrieb Andrew Morton: > > (switched to email. Please respond via emailed reply-to-all, not via the > bugzilla web interface). > > cdc-acm went oops. A regression. Please provide the output of "lsusb -v" for your device. Regards Oliver
Quick note -this issue was originally reported in the Mandriva forums, at http://forum.mandriva.com/viewtopic.php?p=614638 . As you can see I asked the reporter to test with kernel-linus and report here if it broke. kernel-linus is a package we keep in Mandriva for exactly this purpose - it's an unmodified build of the official upstream kernel, no MDV patches or configuration tweaks. This lets us identify if the issue is in the upstream kernel or unique to use. Since the reporter experienced this issue with kernel-linus-2.6.27.10-1mdv , this means the bug almost certainly exists in the upstream kernel, version 2.6.27.10.
I think I have a similar issue under ubuntu's 2.6.27-11-generic - see https://bugs.launchpad.net/ubuntu/+source/linux/+bug/316098 I can't provide lsusb output because lsusb hangs if run after the oops happens.
Created attachment 20516 [details] lsusb -v of Sony Ericsson Z310i lsusb output of Sony Ericsson Z310i which causes the same oops. @Simon: you can temporarily blacklist cdc_wdm before plugging the phone to get the output from lsusb (be sure to re-enable it for further testing).
Still present in Ubuntu's 2.6.28-11-generic kernel. @Danielle: Thanks, here it is: Bus 002 Device 002: ID 0fce:e0d0 Sony Ericsson Mobile Communications AB Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.00 bDeviceClass 0 (Defined at Interface level) bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 8 idVendor 0x0fce Sony Ericsson Mobile Communications AB idProduct 0xe0d0 bcdDevice 0.00 iManufacturer 1 Sony Ericsson iProduct 2 Memory Stick iSerial 3 3577440237309730 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 32 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 4 MSC Device bmAttributes 0x80 (Bus Powered) MaxPower 500mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk (Zip) iInterface 5 Sony Ericsson Memory Stick Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x03 EP 3 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0040 1x 64 bytes bInterval 0 Device Status: 0x0000 (Bus Powered)
I think this bug was fixed by commit http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.35.y.git;a=commit;h=577045c0a76e34294f902a7d5d60e90b04d094d0 It doesn't crash for me with kernel 2.6.35-24-generic #42-Ubuntu
All USB bugs should be sent to the linux-usb@vger.kernel.org mailing list, and not entered into bugzilla. Please bring this issue up there, if it is still a problem in the latest kernel release.