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





------- Comment #18 from [EMAIL PROTECTED]  2007-08-02 14:35 -------
(In reply to comment #17)
> The second patch applies _ontop_ of the first one, both are needed.
> Did you revert the first one by chance?
> 
> Thanks
> 

Now patching worked, thanks.

I changed the kernel config so that sony-laptop is built as a module and I also
turned ACPI debug on.

To my surprise, the sony-laptop module gets loaded at startup (probably due to
the fact that I modprobe meye ?). Here are the relevant portions of dmesg:

----------------------
sony-laptop: Sony Programmable IO Control Driver v0.5.
sony-laptop: detected Type1 model
sony-laptop: device allocated minor is 63
sony-laptop: Sony Notebook Control Driver v0.5.
meye: using 32 buffers with 600k (19200k total)for capture
meye: unable to power on the camera
meye: did you enable the camera in sonypi using the module options ?
meye: probe of 0000:00:0b.0 failed with error -5
-----------------------

I manually removed meye and sony-laptop and tried to load the module again with
full ACPI debug. I got a segfault ! Here is the transcript:

-----------------------
[EMAIL PROTECTED]:/home/stefan# modprobe -r meye
[EMAIL PROTECTED]:/home/stefan# modprobe -r sony-laptop
[EMAIL PROTECTED]:/home/stefan# echo 0xffffff >/proc/acpi/debug_level ; modprobe
sony-laptop ; echo 0x000007 >/proc/acpi/debug_level
Segmentation fault
[EMAIL PROTECTED]:/home/stefan# 
Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:32 2007 ...
stefan4 kernel: Oops: 0000 [#1]

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: CPU:    0

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: EIP:    0060:[<cb9b80cf>]    Not tainted VLI

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: EFLAGS: 00210246   (2.6.22.1-20070715-crusoe #7)

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: EIP is at sony_pic_add+0x29f/0x680 [sony_laptop]

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: eax: 00000000   ebx: c11a9c00   ecx: c67abe00   edx: 00000000

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: esi: c67ab960   edi: c11a9c8d   ebp: 00000000   esp: c75f9e04

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: ds: 007b   es: 007b   fs: 0000  gs: 0033  ss: 0068

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: Process modprobe (pid: 5297, ti=c75f8000 task=c3d07900
task.ti=c75f8000)

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: Stack: cb9b998f 00000001 cb9b9930 c019fdaf 00000020 c11a9c00
cb9bd060 c11a9e0c 

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:        ffffffda c023137e 00000000 cb9bd138 c7d10b60 c11aa300
00000000 c11a9e0c 

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:        c11a9e74 c11a9eb0 c11a9e0c 00000000 cb9bd130 c11a9eb0
c02608fd cb9bd130 

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [sysfs_make_dirent+47/80] sysfs_make_dirent+0x2f/0x50

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [acpi_device_probe+62/272] acpi_device_probe+0x3e/0x110

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [driver_probe_device+141/400] driver_probe_device+0x8d/0x190

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [__driver_attach+154/160] __driver_attach+0x9a/0xa0

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [bus_for_each_dev+58/96] bus_for_each_dev+0x3a/0x60

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [driver_attach+22/32] driver_attach+0x16/0x20

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [__driver_attach+0/160] __driver_attach+0x0/0xa0

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [bus_add_driver+138/432] bus_add_driver+0x8a/0x1b0

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [<cb872062>] sony_laptop_init+0x62/0x76 [sony_laptop]

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [sys_init_module+329/5840] sys_init_module+0x149/0x16d0

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  [syscall_call+7/11] syscall_call+0x7/0xb

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel:  =======================

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: Code: b8 dc c1 38 c0 c7 04 24 8f 99 9b cb e8 cb 79 76 f4 85 c0
0f 85 15 01 00 00 a1 50 d8 9b cb 85 c0 0f 85 83 00 00 00 a1 f4 d1 9b cb <0f> b6
48 02 0f b7 50 03 b8 dc c1 38 c0 e8 8f 78 76 f4 8b 76 14 

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: EIP: [<cb9b80cf>] sony_pic_add+0x29f/0x680 [sony_laptop] SS:ESP
0068:c75f9e04

Message from [EMAIL PROTECTED] at Thu Aug  2 23:10:33 2007 ...
stefan4 kernel: Call Trace:
---------------------------

Any ideas ?

Stefan


-- 
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to