Reading Kernel Bug messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am currently fiddling with some bug messages that I get using my
module extensions. I'm glad that my system does not freeze at this
stage, but I'm not clear how to read the certainly helpful output
correctly. Especially the part »Fixing recursive fault but reboot is
needed!« sounds like I am using a recursive call, but I am not aware of
any such recursive call.
I am working only on the files net/bluetooth/l2cap.c and
include/net/bluetooth/l2cap.h -- you can find the files here:
http://studwww.ira.uni-karlsruhe.de/~s_roehr/ for reference.
Perhaps anybody has some helpful hints for me where I should look at
primarily -- currently I'm a bit stuck.

Here is the relevant part of the output:

------------------------------------8<---------------------------------------
Aug 31 12:56:33 bart kernel: [17179750.896000] l2cap_sock_sendmsg: sock
cd960200, sk cd6e7a00
Aug 31 12:56:33 bart kernel: [17179750.896000] l2cap_segment_sdu: sk
cd6e7a00 len 20
Aug 31 12:56:33 bart kernel: [17179750.896000] l2cap_do_send_rfc: sk
cd6e7a00 occ 1 frames 1
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_recv_acldata: conn
cea80900 len 16 flags 0x2
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_recv_frame: len 12,
cid 0x0001
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_raw_recv: conn
cea80900
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_sig_channel: code
0x04 len 8 id 0x0f
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_config_req: dcid
0x0040 flags 0x00
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_parse_conf_req: sk
cd6e7a00 len 4
Aug 31 12:56:33 bart kernel: [17179750.904000] 01 02 FF 7F 
Aug 31 12:56:33 bart kernel: [17179750.904000] -> configure MTU
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_build_conf_rsp: sk
cd6e7a00 complete 1
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_add_conf_opt: type
0x01 len 2
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_add_conf_opt: type
0x04 len 9
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_build_cmd: conn
cea80900, code 0x05, ident 0x0f, len 21
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_send_cmd: code 0x05
Aug 31 12:56:33 bart kernel: [17179750.904000] 40 00 00 00 00 00 01 02
FF 7F 04 09 02 20 20 E8 03 E8 03 FB FF 
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_build_conf_req: sk
cd6e7a00
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_build_cmd: conn
cea80900, code 0x04, ident 0x05, len 4
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_send_cmd: code 0x04
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_recv_acldata: conn
cea80900 len 14 flags 0x2
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_recv_frame: len 10,
cid 0x0001
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_raw_recv: conn
cea80900
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_sig_channel: code
0x05 len 6 id 0x04
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_config_rsp: scid
0x0040 flags 0x00 result 0x00
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_chan_ready: sk
cd6e7a00, parent 00000000
Aug 31 12:56:33 bart kernel: [17179750.904000] l2cap_sock_clear_timer:
sock cd6e7a00 state 1
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_recv_acldata: conn
cea80900 len 12 flags 0x2
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_recv_frame: len 8,
cid 0x0001
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_raw_recv: conn
cea80900
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_sig_channel: code
0x06 len 4 id 0x11
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_disconnect_req:
scid 0x0040 dcid 0x0040
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_build_cmd: conn
cea80900, code 0x07, ident 0x11, len 4
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_send_cmd: code 0x07
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_sock_clear_timer:
sock cd6e7a00 state 1
Aug 31 12:56:33 bart kernel: [17179750.908000] l2cap_chan_del: sk
cd6e7a00, conn cea80900, err 104
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_sock_release: sock
cd960200, sk cd6e7a00
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_sock_shutdown: sock
cd960200, sk cd6e7a00
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_sock_kill: sk
cd6e7a00 state 9
Aug 31 12:56:33 bart kernel: [17179750.916000] BUG: warning at
include/net/sock.h:329/sk_del_node_init()
Aug 31 12:56:33 bart kernel: [17179750.916000]  <e0a0e37c>
bt_sock_unlink+0x6c/0x70 [bluetooth]  <e0cab21f> l2cap_sock_kill
+0x4f/0x70 [l2cap]
Aug 31 12:56:33 bart kernel: [17179750.916000]  <e0cae307>
l2cap_sock_release+0x77/0x90 [l2cap]  <c02562b4> sock_release+0x14/0x70
Aug 31 12:56:33 bart kernel: [17179750.916000]  <c025656e> sock_close
+0x1e/0x50  <c015adf9> __fput+0x99/0x180
Aug 31 12:56:33 bart kernel: [17179750.916000]  <c01580fe> filp_close
+0x3e/0x80  <c01596de> sys_close+0x4e/0x60
Aug 31 12:56:33 bart kernel: [17179750.916000]  <c0102dbb>
sysenter_past_esp+0x54/0x79 
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_recv_acldata: conn
cea80900 len 10 flags 0x2
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_recv_frame: len 6,
cid 0x0001
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_raw_recv: conn
cea80900
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_sig_channel: code
0x01 len 2 id 0x05
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_command_rej: reason
0x0002
Aug 31 12:56:33 bart kernel: [17179750.916000] l2cap_command_rej:
invalid channel 0x0040 0x0000
Aug 31 12:56:34 bart kernel: [17179751.792000] c0259ae1
Aug 31 12:56:34 bart kernel: [17179751.792000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:34 bart kernel: [17179751.792000] EIP:    0060:[skb_dequeue
+17/64]    Not tainted VLI
Aug 31 12:56:34 bart kernel: [17179751.792000] EFLAGS: 00010087
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179751.792000]  <1>Fixing recursive
fault but reboot is needed!
Aug 31 12:56:35 bart kernel: [17179751.804000] c0259adc
Aug 31 12:56:35 bart kernel: [17179751.804000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:35 bart kernel: [17179751.804000] EIP:    0060:[skb_dequeue
+12/64]    Not tainted VLI
Aug 31 12:56:35 bart kernel: [17179751.804000] EFLAGS: 00010086
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179751.804000]  <1>BUG: unable to handle
kernel NULL pointer dereference at virtual address 00000000
Aug 31 12:56:35 bart kernel: [17179751.836000] c0259adc
Aug 31 12:56:35 bart kernel: [17179751.836000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:35 bart kernel: [17179751.836000] EIP:    0060:[skb_dequeue
+12/64]    Not tainted VLI
Aug 31 12:56:35 bart kernel: [17179751.836000] EFLAGS: 00010086
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179751.836000]  <1>Fixing recursive
fault but reboot is needed!
Aug 31 12:56:35 bart kernel: [17179751.884000] c02ba070
Aug 31 12:56:35 bart kernel: [17179751.884000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:35 bart kernel: [17179751.884000] EIP:    0060:[unix_ioctl
+128/208]    Not tainted VLI
Aug 31 12:56:35 bart kernel: [17179751.884000] EFLAGS: 00010246
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179751.884000]  <1>BUG: unable to handle
kernel NULL pointer dereference at virtual address 00000000
Aug 31 12:56:35 bart kernel: [17179751.912000] c0259b7f
Aug 31 12:56:35 bart kernel: [17179751.912000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:35 bart kernel: [17179751.912000] EIP:
0060:[skb_queue_tail+15/32]    Not tainted VLI
Aug 31 12:56:35 bart kernel: [17179751.912000] EFLAGS: 00010006
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179751.912000]  <1>BUG: unable to handle
kernel NULL pointer dereference at virtual address 00000000
Aug 31 12:56:35 bart kernel: [17179752.056000] c0259adc
Aug 31 12:56:35 bart kernel: [17179752.056000] Modules linked in: rfcomm
l2cap crc16 radeonfb i2c_algo_bit ipv6 speedstep_centrino
cpufreq_userspace cpufreq_stats freq_table cpufreq_powersave
cpufreq_ondemand cpufreq_conservative video tc1100_wmi sony_acpi
pcc_acpi hotkey dev_acpi container button acpi_sbs battery ac
i2c_acpi_ec i2c_core sbp2 scsi_mod lp af_packet snd_intel8x0
snd_ac97_codec snd_ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_timer
joydev shpchp pci_hotplug ipw2100 intel_agp b44 mii tsdev evdev pcmcia
ieee80211 ieee80211_crypt snd soundcore snd_page_alloc hci_usb bluetooth
agpgart parport_pc parport yenta_socket rsrc_nonstatic pcmcia_core
serio_raw pcspkr psmouse rtc usbhid ext3 jbd ehci_hcd uhci_hcd usbcore
ohci1394 ieee1394 ide_generic ide_cd cdrom ide_disk piix generic thermal
processor fan fbcon tileblit font bitblit softcursor vesafb capability
commoncap
Aug 31 12:56:35 bart kernel: [17179752.056000] EIP:    0060:[skb_dequeue
+12/64]    Not tainted VLI
Aug 31 12:56:35 bart kernel: [17179752.056000] EFLAGS: 00010086
(2.6.17-5-386 #3) 
Aug 31 12:56:35 bart kernel: [17179752.056000]  <1>Fixing recursive
fault but reboot is needed!
Aug 31 12:56:35 bart kernel: [17179752.944000] l2cap_disconn_ind: hcon
d565f5c0 reason 22
Aug 31 12:56:35 bart kernel: [17179752.944000] l2cap_conn_del: hcon
d565f5c0 conn cea80900, err 103

------------------------------------8<---------------------------------------

Thanks in advance for any helpful suggestions,
Martin


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux