Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[kernel] mon premier kernel bug !
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
TTK
Guru
Guru


Joined: 02 Mar 2004
Posts: 523

PostPosted: Sun Sep 17, 2006 9:27 pm    Post subject: [kernel] mon premier kernel bug ! Reply with quote

Yes !

Je branche ma carte TV pcmcia (ADS Tech instant TV), je modprobe yenta_socket et bizarrement je ne vois pas le /dev/video0 haituel se créer.
Un coup de dmesg:
Quote:

------------[ cut here ]------------
kernel BUG at fs/sysfs/symlink.c:88!
invalid opcode: 0000 [#1]
Modules linked in: tuner saa7134 compat_ioctl32 v4l2_common v4l1_compat ir_kbd_i 2c ir_common video_buf videodev yenta_socket rsrc_nonstatic pcmcia_core wlan_sca n_sta ath_pci ath_rate_sample wlan ath_hal psmouse ntfs nvidia i2c_core snd_pcm_ oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_inte l8x0 snd_ac97_codec snd_ac97_bus snd_pcm snd_timer snd soundcore snd_page_alloc xfs
CPU: 0
EIP: 0060:[<c01972dd>] Tainted: P VLI
EFLAGS: 00010202 (2.6.16-suspend2-r8 #2)
EIP is at sysfs_create_link+0x58/0x62
eax: e13fff01 ebx: c156a6a0 ecx: d7abc3c8 edx: c03e7601
esi: 00000000 edi: c9a7c0a0 ebp: c156a6a0 esp: cafb1dd4
ds: 007b es: 007b ss: 0068
Process modprobe (pid: 29708, threadinfo=cafb0000 task=d43af030)
Stack: <0>ddefce28 c03af1c9 e11bcf28 e11bcec0 c9a7c098 c028e083 e11bcf28 c9a7c0a 0
c156a6a0 00000000 00000000 e0876420 c9a7c098 c9a7c000 c9a7c11c 00000000
e087555f c9a7c098 c9a7c05c 00000014 00000000 e0875710 c9a7c008 00000020
Call Trace:
[<c028e083>] class_device_add+0x285/0x28a
[<e087555f>] video_register_device+0x13e/0x20d [videodev]
[<e11a4d11>] saa7134_initdev+0x429/0x811 [saa7134]
[<c021efee>] __pci_device_probe+0x5f/0x6d
[<c021f02b>] pci_device_probe+0x2f/0x59
[<c028cdaa>] driver_probe_device+0x93/0xe5
[<c03789dc>] klist_dec_and_del+0x1a/0x1e
[<c028ce6a>] __driver_attach+0x0/0x83
[<c028ceeb>] __driver_attach+0x81/0x83
[<c028c276>] bus_for_each_dev+0x58/0x78
[<c028cf13>] driver_attach+0x26/0x2a
[<c028ce6a>] __driver_attach+0x0/0x83
[<c028c7e9>] bus_add_driver+0x83/0xd1
[<c028d3c7>] driver_register+0x61/0x8f
[<c028d352>] klist_devices_get+0x0/0xa
[<c028d35c>] klist_devices_put+0x0/0xa
[<c021f274>] __pci_register_driver+0x54/0x7c
[<c011ad9b>] printk+0x17/0x1b
[<e11a53d5>] saa7134_init+0x4f/0x53 [saa7134]
[<c0134415>] sys_init_module+0x121/0x1a4
[<c0102de7>] sysenter_past_esp+0x54/0x75
Code: 1e 00 8b 44 24 1c 89 5c 24 04 89 34 24 89 44 24 08 e8 c1 fe ff ff 89 c3 8b
46 08 83 c0 70 e8 ee 28 1e 00 89 d8 83 c4 0c 5b 5e c3 <0f> 0b 58 00 cf b9 39 c0
eb c2 8b 44 24 04 8b 40 30 89 44 24 04


Et là je suis scié ! C'est le symlink qui plante ? Dans un noyau stable ?
Le 2.6.16 r8 des gentoo sources, compilé avec le bon vieux gcc 3.4.6, sur un pentium 4 tout ce qu'il y a de banal.

Blague à part, j'envoie tout ça à qui moi ?
Back to top
View user's profile Send private message
Alexis
Developer
Developer


Joined: 25 Jun 2004
Posts: 241

PostPosted: Sun Sep 17, 2006 9:51 pm    Post subject: Reply with quote

Salut,

si tu veux "bug-reporter" tu peux toujours tenter le bugzilla gentoo, mais je doute que les devs aient le temps de se pencher sur le problème en détails, tu devrais plutot tenter directement aux devs du kernel :

http://kernel.org/pub/linux/docs/lkml/reporting-bugs.html

Mais avant, tu devras enlever le module nvidia (kernel tainted) et de préférence tous les modules externes.
Avant d'envoyer ça, tente avec le dernier noyau stable de kernel.org aussi, à savoir le 2.6.17.13 à l'heure où j'écris, pour voir si ça n'a pas déjà été corrigé.
Back to top
View user's profile Send private message
TTK
Guru
Guru


Joined: 02 Mar 2004
Posts: 523

PostPosted: Mon Sep 18, 2006 6:31 am    Post subject: Reply with quote

En fait j'utilise les suspend2-sources, donc je doute que les devs du kernel regardent mon bug. En rebootant en 2.6.15 ça a remarché nickel, comme avant. A l'occasion je referai des tests mais là j'ai pas le temps.
En tout cas ça fait drôle: planter linux 8O j'en reviens pas.
Back to top
View user's profile Send private message
guilc
Bodhisattva
Bodhisattva


Joined: 15 Nov 2003
Posts: 3326
Location: Paris - France

PostPosted: Mon Sep 18, 2006 7:37 am    Post subject: Reply with quote

La, c'est plutôt l'initialisation de ton tuner TV qui plante.

Essaye comme te l'as dis Alexis le dernier noyau vanilla, sans patchs externes. Si ça plante => report aux devs kernel, si ça plante pas => report aux devs de suspend2.

Je vois pas pourquoi linux ne pourrait pas planter ?! les devs du kernel peuvent aussi faire des erreurs ;)
_________________
Merci de respecter les règles du forum.

Mon site perso : https://www.xwing.info
Mon PORTDIR_OVERLAY : https://gentoo.xwing.info ou layman -a xwing
Back to top
View user's profile Send private message
TTK
Guru
Guru


Joined: 02 Mar 2004
Posts: 523

PostPosted: Mon Sep 18, 2006 9:38 am    Post subject: Reply with quote

Oui, au départ c'est le pilote saa qui fout la m***, mais au final le kernel est HS. D'ailleurs, ça s'est fini par un hard reboot et y'avait un paquet de messages moches qui passaient sur la console.

Certes il y a toujours des bugs qui traînent partout, mais c'est la première fois que je plante le noyau sans me faire aider par nvidia.
Back to top
View user's profile Send private message
dapsaille
Advocate
Advocate


Joined: 02 Aug 2004
Posts: 2366
Location: Paris

PostPosted: Mon Sep 18, 2006 9:47 am    Post subject: Reply with quote

Il faut avouer aussi que c'est très dur de développer les drivers dvb et consorts ..

du au différentes spécificités des tuners analogiques/numeriques.

Il n'y as pas si longtemps in modprobe bt848 m'envoyait dans les choux et ceci sur kernel stock ou pas donc ....


Comme dit précedemment teste en kernel officiel sans patches et sans drivers proprios et reportbug le tout ^^

NOTA=J'offre une license windows millenium à quiquonque feras fonctionner ma tnt/analogique usb ads tech ^^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum