Kernel panic with Logitech Fusion Vidcam

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Kernel panic with Logitech Fusion Vidcam

Postby ggendel » Thu Jul 05, 2007 4:24 pm

I have a thinkpad z61 that I installed OSS4 on. Sound is great and it works fine, but when I plug in my Logitech Fusion VidCam, I get a kernel panic and crash. This is on Opensolaris b64a

Here is the output from the kernel core dump

#mdb 0
Loading modules: [ unix genunix specfs dtrace uppc pcplusmp scsi_vhci ufs ip hook neti sctp arp usba uhci s1394 nca fctl lofs zfs random audiosup md cpc fcip crypto ptm sppp ipc ]
> $C
d69c9b48 strlen+0xc(d2502d88, 0)
d69c9b88 ossusb_device_attach+0x19f(d5e68f08, d2502d88)
d69c9be0 udi_attach_usbdriver+0x3a1(d2502d88, f9998a1c, d55b000c)
d69c9bf8 ossusb_attach+0x57(d2502d88)
d69c9c14 ossdrv_attach+0xf8(d3585248, 0)
d69c9c44 devi_attach+0x6c(d3585248, 0)
d69c9c68 genunix`attach_node+0x81(d3585248)
d69c9c88 i_ndi_config_node+0x86(d3585248, 6, 0)
d69c9ca8 i_ddi_attachchild+0x35(d3585248)
d69c9cc4 devi_attach_node+0x6c(d3585248, 1020008)
d69c9cf0 config_immediate_children+0xc9(d3585368, 1020008, ffffffff)
d69c9d24 ndi_busop_bus_config+0x70(d3585368, 1020008, 2, ffffffff, 0, 0)
d69c9d68 usb_ia_bus_config+0x68(d3585368, 1020008, 2, ffffffff, 0, 0)
d69c9d90 devi_config_common+0x6b(d3585368, 1020008, ffffffff)
d69c9dc8 mt_config_thread+0x40(d5c019a8, 0)
d69c9dd8 thread_start+8()

Anything I can do to help track this down?

Thanks,
Gary
ggendel
New Member
 
Posts: 2
Joined: Thu Jul 05, 2007 4:18 pm

Postby dev » Thu Jul 05, 2007 5:46 pm

Please apply this patch to oss-4.0/kernel/drv/ossusb/ossusb.c:

Code: Select all
diff -c -r oss-4.0.old/kernel/drv/ossusb/ossusb.c oss-4.0/kernel/drv/ossusb/ossusb.c
*** oss-4.0.old/kernel/drv/ossusb/ossusb.c   Tue Jun 12 15:22:36 2007
--- oss-4.0/kernel/drv/ossusb/ossusb.c   Wed Jun 27 22:12:27 2007
***************
*** 2235,2241 ****
        strcpy (devc->devpath, udi_usbdev_get_devpath (usbdev));
        devc->num_settings = 2;
        devc->act_setting = 1;
-       oss_register_device (osdev, devc->dev_name);
 
        devc_list[ndevs++] = devc;
      }
--- 2235,2240 ----
***************
*** 2244,2250 ****
--- 2243,2252 ----
        devc->osdev = osdev;
      }
 
+   if (devc->dev_name == NULL)
+      devc->dev_name="Generic USB device";
    oss_register_device (osdev, devc->dev_name);
+
    devc->disabled = 0;
 
    if (old)




A new version of OSS will be release this week and should have the above fix.


regards
Dev
dev
Developer
 
Posts: 580
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Postby ggendel » Fri Jul 06, 2007 10:45 am

Thank you.

Gary
ggendel
New Member
 
Posts: 2
Joined: Thu Jul 05, 2007 4:18 pm


Return to Solaris

Who is online

Users browsing this forum: Majestic-12 [Bot] and 1 guest

cron