Requested output below:

On Tue, 16 Aug 2011 20:51:32 +0200
Laurent Pinchart <laurent.pinch...@ideasonboard.com> wrote:

> Hi Jonathan and Daniel,
> 
> On Sunday 14 August 2011 18:31:31 Jonathan Nieder wrote:
> > Daniel Dickinson wrote[1]:
> > > New in 3.0.0:
> > > 
> > > webcam oopses and then spams syslog.  Didn't happen in .39 so is a
> > > regression.
> > > 
> > > uvcvideo: Found UVC 1.00 device HP Webcam-101 (0bda:58e0)
> > > 
> > > From syslog:
> > > 
> > > [  428.117889] Linux video capture interface: v2.00
> > > [  428.161164] uvcvideo: Found UVC 1.00 device HP Webcam-101
> > > (0bda:58e0) [  428.167520] ------------[ cut here ]------------
> > > [  428.167562] kernel BUG at
> > > [...]/drivers/media/media-entity.c:346! [  428.167605] invalid
> > > opcode: 0000 [#1] SMP [  428.167705] CPU 1
> > > [  428.167739] Modules linked in: uvcvideo(+) snd_seq_midi joydev
> > > videodev media v4l2_compat_ioctl32 snd_rawmidi snd_seq_midi_event
> > > snd_seq arc4 snd_timer snd_seq_device ath9k radeon(+) mac80211
> > > ath9k_common ath9k_hw ttm ath drm_kms_helper drm snd hp_wmi
> > > cfg80211 sparse_keymap sp5100_tco edac_core soundcore rfkill
> > > i2c_algo_bit evdev snd_page_alloc edac_mce_amd psmouse k10temp
> > > shpchp i2c_piix4 serio_raw ac battery video i2c_core power_supply
> > > pci_hotplug pcspkr wmi button processor ext4 mbcache jbd2 crc16
> > > sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt dm_mod
> > > raid10 raid456 async_raid6_recov async_pq raid6_pq async_xor xor
> > > async_memcpy async_tx raid1 raid0 multipath linear md_mod usbhid
> > > hid sg sr_mod sd_mod cdrom crc_t10dif ohci_hcd thermal
> > > thermal_sys ahci libahci r8169 ehci_hcd mii libata scsi_mod
> > > usbcore [last unloaded: scsi_wait_scan] [  428.170836]
> > > [  428.170872] Pid: 659, comm: modprobe Not tainted 3.0.0-1-amd64
> > > #1 Hewlett-Packard Presario CQ56 Notebook PC/1604 [  428.171010]
> > > RIP: 0010:[<ffffffffa04d0d18>]  [<ffffffffa04d0d18>]
> > > media_entity_create_link+0x2c/0xd4 [media] [  428.171088] RSP:
> > > 0018:ffff8801093c5c28  EFLAGS: 00010246 [  428.171125] RAX:
> > > ffff88010861f800 RBX: ffff88010861f870 RCX: 0000000000000000
> > > [  428.171163] RDX: ffff880108603870 RSI: 0000000000000000 RDI:
> > > ffff88010861f870 [  428.171201] RBP: ffff880108603870 R08:
> > > 0000000000000003 R09: ffffffff81756440 [ 428.171238] R10:
> > > 0000000000012800 R11: 0000000000015670 R12: 0000000000000000
> > > [  428.171276] R13: ffff880108603870 R14: 0000000000000000 R15:
> > > 0000000000000000 [  428.171315] FS: 00007f6831cb3700(0000)
> > > GS:ffff88010fc80000(0000) knlGS:0000000000000000 [  428.171355]
> > > CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 428.171360]
> > > CR2: 0000000001858008 CR3: 0000000109eaa000 CR4: 00000000000006e0
> > > [  428.171360] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
> > > 0000000000000000 [  428.171360] DR3: 0000000000000000 DR6:
> > > 00000000ffff0ff0 DR7: 0000000000000400 [ 428.171360] Process
> > > modprobe (pid: 659, threadinfo ffff8801093c4000, task
> > > ffff880107a70300) [  428.171360] Stack: [  428.171360]
> > > 0000000000000002 0000000000000002 0000000000000000
> > > ffff880108603800 [  428.171360]  ffff88010a0eac40
> > > 0000000000000000 ffff880108603870 ffff88010a0eac58
> > > [  428.171360]  0000000000000000 ffffffffa04fefb1
> > > ffff8801099c1408 ffff88010a0eac48 [  428.171360] Call Trace:
> > > [  428.171360]  [<ffffffffa04fefb1>] ?
> > > uvc_mc_register_entities+0x160/0x1eb [uvcvideo] [  428.171360]
> > > [<ffffffffa04f9793>] ? uvc_probe+0x1ee7/0x1f18 [uvcvideo]
> > > [  428.171360] [<ffffffffa006c79d>] ?
> > > usb_probe_interface+0xfc/0x16f [usbcore] [ 428.171360]
> > > [<ffffffff81249a37>] ? driver_probe_device+0xb2/0x142
> > > [ 428.171360]  [<ffffffff81249b16>] ? __driver_attach+0x4f/0x6f
> > > [ 428.171360]  [<ffffffff81249ac7>] ?
> > > driver_probe_device+0x142/0x142 [ 428.171360]
> > > [<ffffffff81248d22>] ? bus_for_each_dev+0x47/0x72 [ 428.171360]
> > > [<ffffffff812493a9>] ? bus_add_driver+0xa2/0x1f2 [ 428.171360]
> > > [<ffffffff81249fb0>] ? driver_register+0x8d/0xf5 [ 428.171360]
> > > [<ffffffffa006ba66>] ? usb_register_driver+0x80/0x128 [usbcore]
> > > [  428.171360]  [<ffffffffa0508000>] ? 0xffffffffa0507fff
> > > [  428.171360]  [<ffffffffa050801b>] ? uvc_init+0x1b/0x1000
> > > [uvcvideo] [  428.171360]  [<ffffffff81002172>] ?
> > > do_one_initcall+0x78/0x132 [  428.171360]  [<ffffffff81076703>] ?
> > > sys_init_module+0xbc/0x245 [  428.171360]  [<ffffffff8133ba92>] ?
> > > system_call_fastpath+0x16/0x1b [  428.171360] Code: 57 41 89 cf
> > > 41 56 41 89 f6 41 55 41 54 55 48 89 d5 53 48 89 fb 48 83 ec 18 48
> > > 85 d2 74 05 48 85 ff 75 02 0f 0b 66 3b 77 3c 72 02 <0f> 0b 66 3b
> > > 4a 3c 72 02 0f 0b 44 89 44 24 08 41 bd f4 ff ff ff [ 428.171360]
> > > RIP  [<ffffffffa04d0d18>] media_entity_create_link+0x2c/0xd4
> > > [media] [  428.171360]  RSP <ffff8801093c5c28> [  428.175002]
> > > ---[ end trace 3db524e10ad1aec0 ]---
> > > 
> > > and then:
> > > 
> > > udevd[420]: timeout: killing 'usb_id --export
> > > /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/video4linux/video0'
> > > [712]
> > 
> > Known problem?  Any hints for tracking it down?
> 
> No it's not a know issue. I've answered (or at least tried to answer)
> the original bug report. Daniel, could you please send me the output
> of
> 
> lsusb -v -d 0bda:58e0
> 
> (running as root if possible) ?
> 

On .39 I get the output below.  On 3.0.0, the lsusb process hangs.
lsusb -v with no device shows other devices, but hangs on this one.
Also, no other usb devices work in 3.0.0 (e.g. no USB mouse)

P.S. Thanks for the *fast* response (Jonathan thought he was slow to
respond).  This isn't a critical system for me, and I can back down to
a previous version, so it's not crunch (in fact because it's for my
mother I'm thinking of tring Squeeze with only an updated alsa libs
(apparently the version of alsa in squeeze doesn't work with at least
some intel hda sound which is why I was experiment with wheezy for her
in the first place), for the stability.

Bus 001 Device 002: ID 0bda:58e0 Realtek Semiconductor Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  idVendor           0x0bda Realtek Semiconductor Corp.
  idProduct          0x58e0 
  bcdDevice           20.04
  iManufacturer           3 DB08701LOA4AFF
  iProduct                1 HP Webcam-101
  iSerial                 2 200901010001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          529
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB Camera
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Association:
      bLength                 8
      bDescriptorType        11
      bFirstInterface         0
      bInterfaceCount         2
      bFunctionClass         14 Video
      bFunctionSubClass       3 Video Interface Collection
      bFunctionProtocol       0 
      iFunction               5 HP Webcam-101
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      1 Video Control
      bInterfaceProtocol      0 
      iInterface              5 HP Webcam-101
      VideoControl Interface Descriptor:
        bLength                13
        bDescriptorType        36
        bDescriptorSubtype      1 (HEADER)
        bcdUVC               1.00
        wTotalLength          107
        dwClockFrequency       15.000000MHz
        bInCollection           1
        baInterfaceNr( 0)       1
      VideoControl Interface Descriptor:
        bLength                18
        bDescriptorType        36
        bDescriptorSubtype      2 (INPUT_TERMINAL)
        bTerminalID             1
        wTerminalType      0x0201 Camera Sensor
        bAssocTerminal          0
        iTerminal               0 
        wObjectiveFocalLengthMin      0
        wObjectiveFocalLengthMax      0
        wOcularFocalLength            0
        bControlSize                  3
        bmControls           0x00000002
          Auto-Exposure Mode
      VideoControl Interface Descriptor:
        bLength                11
        bDescriptorType        36
        bDescriptorSubtype      5 (PROCESSING_UNIT)
      Warning: Descriptor too short
        bUnitID                 2
        bSourceID               1
        wMaxMultiplier          0
        bControlSize            2
        bmControls     0x0000177f
          Brightness
          Contrast
          Hue
          Saturation
          Sharpness
          Gamma
          White Balance Temperature
          Backlight Compensation
          Gain
          Power Line Frequency
          White Balance Temperature, Auto
        iProcessing             0 
        bmVideoStandards     0x 9
          None
          SECAM - 625/50
      VideoControl Interface Descriptor:
        bLength                 9
        bDescriptorType        36
        bDescriptorSubtype      3 (OUTPUT_TERMINAL)
        bTerminalID             3
        wTerminalType      0x0101 USB Streaming
        bAssocTerminal          0
        bSourceID               2
        iTerminal               0 
      VideoControl Interface Descriptor:
        bLength                27
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 4
        guidExtensionCode         {8ca72912-b447-9440-b0ce-db07386fb938}
        bNumControl             2
        bNrPins                 1
        baSourceID( 0)          1
        bControlSize            2
        bmControls( 0)       0x00
        bmControls( 1)       0x06
        iExtension              0 
      VideoControl Interface Descriptor:
        bLength                29
        bDescriptorType        36
        bDescriptorSubtype      6 (EXTENSION_UNIT)
        bUnitID                 7
        guidExtensionCode         {c385b80f-c268-4745-90f7-8f47579d95fc}
        bNumControl             0
        bNrPins                 1
        baSourceID( 0)          3
        bControlSize            4
        bmControls( 0)       0x0f
        bmControls( 1)       0x00
        bmControls( 2)       0x00
        bmControls( 3)       0x00
        iExtension              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0010  1x 16 bytes
        bInterval               6
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      VideoStreaming Interface Descriptor:
        bLength                            14
        bDescriptorType                    36
        bDescriptorSubtype                  1 (INPUT_HEADER)
        bNumFormats                         1
        wTotalLength                      263
        bEndPointAddress                  129
        bmInfo                              0
        bTerminalLink                       3
        bStillCaptureMethod                 2
        bTriggerSupport                     1
        bTriggerUsage                       0
        bControlSize                        1
        bmaControls( 0)                    27
      VideoStreaming Interface Descriptor:
        bLength                            27
        bDescriptorType                    36
        bDescriptorSubtype                  4 (FORMAT_UNCOMPRESSED)
        bFormatIndex                        1
        bNumFrameDescriptors                5
        guidFormat
{59555932-0000-1000-8000-00aa00389b71}
bBitsPerPixel                      16
bDefaultFrameIndex                  1
bAspectRatioX                       0
bAspectRatioY                       0 bmInterlaceFlags
0x00 Interlaced stream or variable: No
          Fields per frame: 2 fields
          Field 1 first: No
          Field pattern: Field 1 only
          bCopyProtect                      0
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         1
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            640
        wHeight                           480
        dwMinBitRate                 98304000
        dwMaxBitRate                147456000
        dwMaxVideoFrameBufferSize      614400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         2
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            160
        wHeight                           120
        dwMinBitRate                  6144000
        dwMaxBitRate                  9216000
        dwMaxVideoFrameBufferSize       38400
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         3
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            176
        wHeight                           144
        dwMinBitRate                  8110080
        dwMaxBitRate                 12165120
        dwMaxVideoFrameBufferSize       50688
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         4
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            320
        wHeight                           240
        dwMinBitRate                 24576000
        dwMaxBitRate                 36864000
        dwMaxVideoFrameBufferSize      153600
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
      VideoStreaming Interface Descriptor:
        bLength                            38
        bDescriptorType                    36
        bDescriptorSubtype                  5 (FRAME_UNCOMPRESSED)
        bFrameIndex                         5
        bmCapabilities                   0x00
          Still image unsupported
        wWidth                            352
        wHeight                           288
        dwMinBitRate                 32440320
        dwMaxBitRate                 48660480
        dwMaxVideoFrameBufferSize      202752
        dwDefaultFrameInterval         333333
        bFrameIntervalType                  3
        dwFrameInterval( 0)            333333
        dwFrameInterval( 1)            400000
        dwFrameInterval( 2)            500000
      VideoStreaming Interface Descriptor:
        bLength                            26
        bDescriptorType                    36
        bDescriptorSubtype                  3 (STILL_IMAGE_FRAME)
        bEndpointAddress                    0
        bNumImageSizePatterns               5
        wWidth( 0)                        640
        wHeight( 0)                       480
        wWidth( 1)                        160
        wHeight( 1)                       120
        wWidth( 2)                        176
        wHeight( 2)                       144
        wWidth( 3)                        320
        wHeight( 3)                       240
        wWidth( 4)                        352
        wHeight( 4)                       288
        bNumCompressionPatterns             5
      VideoStreaming Interface Descriptor:
        bLength                             6
        bDescriptorType                    36
        bDescriptorSubtype                 13 (COLORFORMAT)
        bColorPrimaries                     1 (BT.709,sRGB)
        bTransferCharacteristics            1 (BT.709)
        bMatrixCoefficients                 4 (SMPTE 170M (BT.601))
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       2
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       3
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       4
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0b00  2x 768 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       5
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x0c00  2x 1024 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       6
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1380  3x 896 bytes
        bInterval               1
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       7
      bNumEndpoints           1
      bInterfaceClass        14 Video
      bInterfaceSubClass      2 Video Streaming
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            5
          Transfer Type            Isochronous
          Synch Type               Asynchronous
          Usage Type               Data
        wMaxPacketSize     0x1400  3x 1024 bytes
        bInterval               1
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)

Hope that helps!

Regards,

Daniel

-- 
<erno> hm. I've lost a machine.. literally _lost_. it responds to ping, 
it works completely, I just can't figure out where in my apartment it
is. GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C      http://gnupg.org

Attachment: signature.asc
Description: PGP signature

Reply via email to