Login
Username:

Password:


Lost Password?

Register now!
Main Menu
Linux Projects Forum Index
   Users - SN9C1xx
     0c45:613a Microdia + sn9c1xx-1.48 = kernel panic
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Mrakus
Posted on: 2007/7/25 22:13
Just popping in
Joined: 2007/7/25
From:
Posts: 2
0c45:613a Microdia + sn9c1xx-1.48 = kernel panic
Debian unstable

linuxz:~# uname -a
Linux linuxz 2.6.22-1-k7 #1 SMP Mon Jul 23 14:02:09 UTC 2007 i686 GNU/Linux

lsusb
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 0c45:613a Microdia
Bus 001 Device 001: ID 0000:0000

I downloaded and install the latest driver sn9c1xx-1.48.tar.gz then make, make install, modprobe compat_ioctl32, modprobe sn9c102 and connect my webcam by usb. After that i have kernel panic:

sn9c102: V4L2 driver for SN9C1xx PC Camera Controllers v1:1.48
usbcore: registered new interface driver sn9c102
usb 1-1: new full speed USB device using ohci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
usb 1-1: SN9C120 PC Camera Controller detected (vid:pid 0x0C45:0x613A)
usb 1-1: OV7648 image sensor detected
usb 1-1: Initialization succeeded
usb 1-1: V4L2 device registered as /dev/video0
BUG: unable to handle kernel paging request at virtual address 05100074
printing eip:
c02a7bc6
*pde = 00000000
Oops: 0002 [#1]
SMP
Modules linked in: sn9c102 compat_ioctl32 nvidia(P) ppp_async crc_ccitt ppp_generic slhc rfcomm l2cap bluetooth button ac battery ipv6 nls_utf8 nls_cp866 vfat fat dm_snapshot dm_mirror dm_mod w83627hf hwmon_vid eeprom i2c_isa gspca videodev v4l2_common v4l1_compat fuse ide_generic snd_mpu401 snd_mpu401_uart snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_pcm_oss snd_mixer_oss firmware_class snd_ac97_codec tsdev ac97_bus snd_seq_dummy snd_seq_oss snd_seq_midi snd_pcm snd_page_alloc snd_util_mem snd_seq_midi_event snd_hwdep snd_seq snd_timer snd_rawmidi snd_seq_device analog snd emu10k1_gp i2c_nforce2 i2c_core parport_pc parport shpchp pci_hotplug gameport psmouse soundcore pcspkr serio_raw rtc nvidia_agp agpgart evdev ext3 jbd mbcache ide_cd cdrom ide_disk ata_generic libata scsi_mod generic floppy forcedeth amd74xx ide_core ehci_hcd ohci_hcd usbcore thermal processor fan
CPU: 0
EIP: 0060:[<c02a7bc6>] Tainted: P VLI
EFLAGS: 00010206 (2.6.22-1-k7 #1)
EIP is at mutex_lock+0x1/0xb
eax: 05100074 ebx: f8f9816c ecx: 00000004 edx: f8f9816c
esi: f3e06e08 edi: ffffffef ebp: 00000000 esp: dff35cc4
ds: 007b es: 007b fs: 00d8 gs: 0000 ss: 0068
Process khubd (pid: 700, ti=dff34000 task=c19bd580 task.ti=dff34000)
Stack: c01a1a22 f8cac2c6 f3e06e48 00000004 f3e001a4 00000000 00000000 f6ea4000
f3e06dd0 00000000 00000000 f6ea4000 f8f7e685 f8f934ee f886aa48 f3e06910
00000000 0000613a f8f834f4 f8860832 f193ba00 f6ea625c f193ba00 00000000
Call Trace:
[<c01a1a22>] sysfs_add_file+0x2a/0x70
[<f8cac2c6>] video_register_device+0x1ab/0x21c [videodev]
[<f8f7e685>] sn9c102_usb_probe+0x57b/0x754 [sn9c102]
[<f8860832>] usb_match_one_id+0x1c/0x71 [usbcore]
[<f8861691>] usb_probe_interface+0x81/0xb2 [usbcore]
[<c022fa6a>] driver_probe_device+0xe9/0x174
[<c02a65a9>] klist_next+0x4b/0x71
[<c022faf5>] __device_attach+0x0/0x5
[<c022ef1f>] bus_for_each_drv+0x37/0x5e
[<c022fb73>] device_attach+0x5e/0x72
[<c022faf5>] __device_attach+0x0/0x5
[<c022ee9b>] bus_attach_device+0x26/0x73
[<c022deff>] device_add+0x342/0x517
[<f885fd92>] usb_set_configuration+0x37d/0x3f4 [usbcore]
[<f886668a>] generic_probe+0x199/0x1e7 [usbcore]
[<f88613c2>] usb_probe_device+0x32/0x37 [usbcore]
[<c022fa6a>] driver_probe_device+0xe9/0x174
[<c02a65a9>] klist_next+0x4b/0x71
[<c022faf5>] __device_attach+0x0/0x5
[<c022ef1f>] bus_for_each_drv+0x37/0x5e
[<c022fb73>] device_attach+0x5e/0x72
[<c022faf5>] __device_attach+0x0/0x5
[<c022ee9b>] bus_attach_device+0x26/0x73
[<c022deff>] device_add+0x342/0x517
[<f885bc73>] usb_new_device+0xa0/0xed [usbcore]
[<f885c7e5>] hub_thread+0x6fc/0xa73 [usbcore]
[<c0133375>] autoremove_wake_function+0x0/0x35
[<f885c0e9>] hub_thread+0x0/0xa73 [usbcore]
[<c01332af>] kthread+0x38/0x5d
[<c0133277>] kthread+0x0/0x5d
[<c01049b7>] kernel_thread_helper+0x7/0x10
=======================
Code: 20 8b 4c 24 38 64 8b 15 00 d0 38 c0 8b 44 24 04 89 54 24 14 8d 54 24 08 89 0c 24 89 e9 e8 45 ff ff ff 83 c4 24 5b 5e 5f 5d c3 90 <ff> 08 79 05 e8 fd 00 00 00 c3 90 ff 00 7f 05 e8 c8 00 00 00 c3
EIP: [<c02a7bc6>] mutex_lock+0x1/0xb SS:ESP 0068:dff35cc4

This driver not support my webcam or it is bug?
luca
Posted on: 2007/7/27 6:41
Webmaster
Joined: 2003/1/9
From:
Posts: 172
Re: 0c45:613a Microdia + sn9c1xx-1.48 = kernel panic
Your bug looks like this one:
http://www.linux-projects.org/modules/newbb/viewtopic.php?topic_id=270&forum=3

I suspect there's a bug in the kernel (sysfs).

Mrakus
Posted on: 2007/7/27 9:33
Just popping in
Joined: 2007/7/25
From:
Posts: 2
Re: 0c45:613a Microdia + sn9c1xx-1.48 = kernel panic
Do you send bug report on kernel.org? :)
luca
Posted on: 2007/7/27 10:14
Webmaster
Joined: 2003/1/9
From:
Posts: 172
Re: 0c45:613a Microdia + sn9c1xx-1.48 = kernel panic
I have no time to report this bug, sorry :) If you want, you can disable the SYSFS support in the driver, read the doc in case.
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Donations
Support Our Site!
Make donations with PayPal!
Donat-o-Meter Stats
May's Goal: $150.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Surplus: $-150.00

Donations