Le 07.10.2006 19:27, matthieu castet a écrit :
Hi,
Laurent Riffard wrote:
usb 1-1: reset full speed USB device using uhci_hcd and address 3
BUG: unable to handle kernel paging request at virtual address 74617473
printing eip:
c0183a10
*pde = 00000000
Oops: 0000 [#1]
last sysfs file: /devices/pci0000:00/0000:00:04.2/usb1/bDeviceClass
Modules linked in: ueagle_atm firmware_class usbatm atm ne2k_pci 8390
snd_seq_oss snd_seq_midi_event snd_seq snd_pcm_oss snd_mixer_oss
snd_ens1371 gameport snd_rawmidi snd_seq_device af_packet
snd_ac97_codec snd_ac97_bus snd_pcm via686a snd_timer snd_page_alloc
snd soundcore hwmon_vid i2c_isa i2c_viapro binfmt_misc loop
nls_iso8859_15 nls_cp850 vfat fat reiser4 reiserfs via_agp agpgart lp
parport_pc parport 8250 serial_core pcspkr rtc ohci1394 ieee1394
uhci_hcd usbcore sr_mod cdrom dm_mirror dm_mod sd_mod pata_via libata
scsi_mod
CPU: 0
EIP: 0060:[<c0183a10>] Not tainted VLI
EFLAGS: 00010246 (2.6.18-mm3 #164)
EIP is at sysfs_dirent_exist+0x27/0x64
eax: e141e073 ebx: dc791a94 ecx: 00000000 edx: 00000004
esi: e141e03b edi: 74617473 ebp: dd0f1cc0 esp: dd0f1cac
ds: 007b es: 007b ss: 0068
Process usb-probe-<NULL (pid: 2181, ti=dd0f0000 task=de5d6ac0
task.ti=dd0f0000)
Stack: 74617473 dc16cacc e141df64 dc0a4c28 ffffffef dd0f1cec c0183203
00000004 dd0f7574 00000286 0000000f dddbaac0 dc16cacc dc0a4c28
00000000 e1420588 dd0f1d0c c0184ca3 e14204ac e141df64 dc0a4c28
dddbaac0 00000000 dde100bc Call Trace:
[<c0103955>] show_trace_log_lvl+0x12/0x25
[<c01039f2>] show_stack_log_lvl+0x8a/0x95
[<c0103d64>] show_registers+0x155/0x1e6
[<c0103ed9>] die+0xe4/0x1ec
[<c01126c5>] do_page_fault+0x422/0x4f1
[<c02918c9>] error_code+0x39/0x40
[<c0183203>] sysfs_add_file+0x39/0x73
[<c0184ca3>] sysfs_create_group+0x67/0xac
[<e141cef0>] uea_bind+0x4c0/0x4d0 [ueagle_atm]
[<e1403187>] usbatm_usb_probe+0x12c/0x6f0 [usbatm]
[<e141d02e>] uea_probe+0x12e/0x13a [ueagle_atm]
[<e0dc23ba>] usb_probe_interface+0x92/0xc9 [usbcore]
[<c021d13f>] really_probe+0x3b/0xb9
[<c021d23e>] driver_probe_device+0x81/0x8d
[<c021d252>] __device_attach+0x8/0xa
[<c021c77f>] bus_for_each_drv+0x3a/0x65
[<c021d2b6>] device_attach+0x62/0x79
[<c021c6ee>] bus_attach_device+0x21/0x45
[<c021b8b1>] device_add+0x360/0x4f0
[<e0dc1064>] usb_set_configuration+0x31f/0x395 [usbcore]
[<e0dc7046>] generic_probe+0x15b/0x18d [usbcore]
[<e0dc20f3>] usb_probe_device+0x35/0x3b [usbcore]
[<c021d13f>] really_probe+0x3b/0xb9
[<c021d23e>] driver_probe_device+0x81/0x8d
[<c021d252>] __device_attach+0x8/0xa
[<c021c77f>] bus_for_each_drv+0x3a/0x65
[<c021d2b6>] device_attach+0x62/0x79
[<c021c6ee>] bus_attach_device+0x21/0x45
[<c021b8b1>] device_add+0x360/0x4f0
[<e0dbcf91>] __usb_new_device+0x131/0x17d [usbcore]
[<c0127086>] kthread+0xb0/0xde
[<c010386f>] kernel_thread_helper+0x7/0x10
=======================
Code: 83 e0 f4 c3 55 89 e5 57 56 53 83 ec 08 89 45 f0 89 55 ec 8b 58
0c eb 30 83 7b 14 00 74 27 89 d8 e8 39 f0 ff ff 8b 7d ec 89 c6 ac <ae>
75 08 84 c0 75 f8 31 c0 eb 04 19 c0 0c 01 85 c0 75 07 b8 ef EIP:
[<c0183a10>] sysfs_dirent_exist+0x27/0x64 SS:ESP 0068:dd0f1cac
<6>usb 1-1: [ueagle-atm] (re)booting started
AFAIC, last working kernel was 2.6.18-rc5-mm1.
.config attached.
ok I found where it comes from : somebody patch ueagle-atm and broke it
:
http://www.kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=e7ccdfec087f02930c5cdc81143d4a045ae8d361
I have to investigate why this patch is need, but it is nice to see that
it wasn't forwarded to the maintainers...
Matthieu
Good catch! Here is a patch (against --mm tree) to fix that:
---
ueagle-atm: fix oops in sysfs_create_group()
The array of attribute passed to sysfs_create_group() must be
NULL-terminated.
Signed-off-by: Laurent Riffard <[EMAIL PROTECTED]>
---
drivers/usb/atm/ueagle-atm.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6-mm/drivers/usb/atm/ueagle-atm.c
===================================================================
--- linux-2.6-mm.orig/drivers/usb/atm/ueagle-atm.c
+++ linux-2.6-mm/drivers/usb/atm/ueagle-atm.c
@@ -1639,6 +1639,7 @@ static struct attribute *attrs[] = {
&dev_attr_stat_dscorr.attr,
&dev_attr_stat_usunc.attr,
&dev_attr_stat_dsunc.attr,
+ NULL
};
static struct attribute_group attr_grp = {
.attrs = attrs,
_______________________________________________
Ueagleatm-dev mailing list
Ueagleatm-dev@gna.org
https://mail.gna.org/listinfo/ueagleatm-dev