[Bugme-new] [Bug 9150] New: usb_id segfaults since 2.6.23

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Fri Oct 12 08:05:48 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=9150

           Summary: usb_id segfaults since 2.6.23
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.23
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: high
          Priority: P1
         Component: USB
        AssignedTo: greg at kroah.com
        ReportedBy: patrick.matthaei at web.de


Most recent kernel where this bug did not occur: 2.6.22.9
Distribution: Debian Sid
Hardware Environment: Motherboard: MSI K8N Neo4-F
Software Environment: 32 bit
Problem Description:

Hello,
since I installed the 2.6.23 kernel, I get following in my dmesg:


me at exez:~$ dmesg|grep usb_id
usb_id[891]: segfault at 00000000 eip b7f087b4 esp bf9dcc10 error 4
usb_id[1748]: segfault at 00000000 eip b7e667b4 esp bfc2d660 error 4
usb_id[1751]: segfault at 00000000 eip b7edf7b4 esp bf8abad0 error 4
usb_id[1753]: segfault at 00000000 eip b7e797b4 esp bf93c360 error 4
usb_id[1755]: segfault at 00000000 eip b7e2a7b4 esp bfd3e770 error 4
usb_id[1816]: segfault at 00000000 eip b7eeb7b4 esp bfddb000 error 4
usb_id[1819]: segfault at 00000000 eip b7e8c7b4 esp bfd0c740 error 4

Here are some informations about my system:


exez:~# uname -a
Linux exez 2.6.23-exez #1 PREEMPT Fri Oct 12 16:46:26 CEST 2007 i686 GNU/Linux
exez:~# lspci
00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM
Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL-8139/8139C/8139C+ (rev 10)
01:08.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
01:09.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000
Controller (PHY/Link)
05:00.0 VGA compatible controller: ATI Technologies Inc RV530LE [Radeon X1600]
05:00.1 Display controller: ATI Technologies Inc Unknown device 71e6
exez:~# dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_OS=linux
DEB_BUILD_ARCH_CPU=i386
DEB_BUILD_GNU_CPU=i486
DEB_BUILD_GNU_SYSTEM=linux-gnu
DEB_BUILD_GNU_TYPE=i486-linux-gnu
DEB_HOST_ARCH=i386
DEB_HOST_ARCH_OS=linux
DEB_HOST_ARCH_CPU=i386
DEB_HOST_GNU_CPU=i486
DEB_HOST_GNU_SYSTEM=linux-gnu
DEB_HOST_GNU_TYPE=i486-linux-gnu
exez:~# lsusb -v

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0        64
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.23-exez ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:00:02.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts            10
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
   Port 3: 0000.0100 power
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0100 power
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
Device Status:     0x0001
  Self Powered

Bus 001 Device 004: ID 0566:3107 Monterey International Corp.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0566 Monterey International Corp.
  idProduct          0x3107
  bcdDevice            1.00
  iManufacturer           0
  iProduct                0
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      54
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0003  1x 3 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 003: ID 046d:c21a Logitech, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc21a
  bcdDevice            0.04
  iManufacturer           1 Logitech
  iProduct                2 Logitech(R) Precision(TM) Gamepad
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower               50mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      61
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 002: ID 046d:c01e Logitech, Inc. MX518 Optical Mouse
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x046d Logitech, Inc.
  idProduct          0xc01e MX518 Optical Mouse
  bcdDevice           22.00
  iManufacturer           1 Logitech
  iProduct                2 USB-PS/2 Optical Mouse
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower               98mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      77
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
Device Status:     0x0000
  (Bus Powered)

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.23-exez ohci_hcd
  iProduct                2 OHCI Host Controller
  iSerial                 1 0000:00:02.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength              11
  bDescriptorType      41
  nNbrPorts            10
  wHubCharacteristic 0x0002
    No power switching (usb 1.0)
    Ganged overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00 0x00
  PortPwrCtrlMask    0xff 0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0303 lowspeed power enable connect
   Port 3: 0000.0100 power
   Port 4: 0000.0303 lowspeed power enable connect
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power
   Port 7: 0000.0303 lowspeed power enable connect
   Port 8: 0000.0100 power
   Port 9: 0000.0100 power
   Port 10: 0000.0100 power
Device Status:     0x0001
  Self Powered
exez:~# lsmod
Module                  Size  Used by
w83627ehf              18628  0
hwmon_vid               2688  1 w83627ehf
snd_cmipci             29376  0
gameport               10760  1 snd_cmipci
snd_pcm_oss            36064  0
snd_mixer_oss          13952  1 snd_pcm_oss
snd_pcm                62344  2 snd_cmipci,snd_pcm_oss
snd_page_alloc          7496  1 snd_pcm
snd_opl3_lib            8064  1 snd_cmipci
snd_hwdep               6724  1 snd_opl3_lib
snd_mpu401_uart         6400  1 snd_cmipci
snd_seq_dummy           2692  0
snd_seq_oss            28608  0
snd_seq_midi            5920  0
snd_seq_midi_event      6080  2 snd_seq_oss,snd_seq_midi
snd_seq                45008  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18820  3 snd_pcm,snd_opl3_lib,snd_seq
snd_rawmidi            18912  2 snd_mpu401_uart,snd_seq_midi
snd_seq_device          6348  6
snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq,snd_rawmidi
snd                    43108  12
snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_hwdep,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device
i2c_nforce2             4992  0
button                  5840  0
soundcore               5920  1 snd
i2c_core               19280  1 i2c_nforce2
rtc                    10264  0
psmouse                35472  0
joydev                  8128  0
evdev                   7680  4
ext3                   94468  3
jbd                    50344  1 ext3
ide_cd                 34080  0
cdrom                  33504  1 ide_cd
ide_disk               10816  5
sd_mod                 21072  2
sata_nv                14916  1
ata_generic             4804  0
libata                105264  2 sata_nv,ata_generic
scsi_mod               84360  2 sd_mod,libata
usbhid                 17764  0
hid                    25280  1 usbhid
ohci1394               28336  0
8139too                20544  0
mii                     4480  1 8139too
amd74xx                 9040  0 [permanent]
ehci_hcd               28300  0
ieee1394               79224  1 ohci1394
generic                 4228  0 [permanent]
ide_core               92448  4 ide_cd,ide_disk,amd74xx,generic
ohci_hcd               19460  0
usbcore               120788  4 usbhid,ehci_hcd,ohci_hcd
thermal                12188  0
fan                     3524  0
exez:~# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [5]
    2 ?        S<     0:00 [kthreadd]
    3 ?        S<     0:00 [ksoftirqd/0]
    4 ?        S<     0:00 [events/0]
    5 ?        S<     0:00 [khelper]
   28 ?        S<     0:00 [kblockd/0]
   31 ?        S<     0:00 [kacpid]
   32 ?        S<     0:00 [kacpi_notify]
  165 ?        S<     0:00 [kseriod]
  193 ?        S      0:00 [pdflush]
  194 ?        S      0:00 [pdflush]
  195 ?        S<     0:00 [kswapd0]
  246 ?        S<     0:00 [aio/0]
  348 ?        S<     0:00 [kondemand/0]
  694 ?        S<     0:00 [ksuspend_usbd]
  698 ?        S<     0:00 [khubd]
  725 ?        S<     0:00 [khpsbpkt]
  864 ?        S<     0:00 [ata/0]
  865 ?        S<     0:00 [ata_aux]
  868 ?        S<     0:00 [knodemgrd_0]
  872 ?        S<     0:00 [scsi_eh_0]
  873 ?        S<     0:00 [scsi_eh_1]
 1199 ?        S<     0:00 [kjournald]
 1370 ?        S<s    0:00 udevd --daemon
 1786 ?        S<     0:00 [kpsmoused]
 1875 ?        S<     0:00 [kgameportd]
 2129 ?        S<     0:00 [kjournald]
 2130 ?        S<     0:00 [kjournald]
 2436 ?        Ss     0:00 /sbin/syslogd
 2443 ?        Ss     0:00 /sbin/klogd -x
 2455 ?        Ss     0:00 /usr/sbin/sshd
 2497 ?        Ss     0:00 /usr/sbin/cupsd
 2502 ?        Ss     0:00 /usr/bin/dbus-daemon --system
 2510 ?        Ss     0:00 /usr/sbin/atieventsd -d -l /var/log/ati.log
 2538 ?        Ss     0:00 /usr/sbin/hald
 2539 ?        S      0:00 hald-runner
 2543 ?        S      0:00 /usr/lib/hal/hald-addon-cpufreq
 2544 ?        S      0:00 /usr/lib/hal/hald-addon-acpi
 2545 ?        S      0:00 hald-addon-keyboard: listening on /dev/input/event2
 2546 ?        S      0:00 hald-addon-keyboard: listening on /dev/input/event3
 2547 ?        S      0:00 hald-addon-keyboard: listening on /dev/input/event4
 2548 ?        S      0:00 hald-addon-keyboard: listening on /dev/input/event5
 2568 ?        Ss     0:00 /usr/sbin/cron
 2577 ?        Ss     0:00 /usr/bin/kdm
 2598 tty1     Ss+    0:00 /sbin/getty 38400 tty1
 2599 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 2618 ?        Ss     0:00 sshd: me [priv]
 2622 ?        S      0:00 sshd: me at pts/0
 2623 pts/0    Ss     0:00 -bash
 2641 pts/0    S      0:00 su
 2642 pts/0    S      0:00 bash
 2652 pts/0    R+     0:00 ps ax
exez:~#


Steps to reproduce:
Nothing, I just booted my system.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list