All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Rfcomm kernel crashes (2.6.18.2)
@ 2006-11-19  2:27 Axel Ruder
  2006-11-20  8:28 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Axel Ruder @ 2006-11-19  2:27 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 5967 bytes --]

Hi,

please help me!
I have the following problem with Bluez/RFcomm:
- I use a shell script that calls 'rfcomm listen rfcomm0 3' repeatedly to
wait for a client to connect.
- Everything works fine, except that every once in a while (unfortunately
pretty often, like twice a day), the linux kernel crashes with the following
message in syslog:

Nov 18 20:31:48 localhost hcid[23340]: link_key_request
(sba=00:02:72:C5:88:A1, dba=00:12:37:8D:A3:D5)
Nov 18 20:32:28 localhost kernel: BUG: unable to handle kernel NULL pointer
dereference at virtual address 0000003c
Nov 18 20:32:28 localhost kernel:  printing eip:
Nov 18 20:32:28 localhost kernel: e1ce8e85
Nov 18 20:32:28 localhost kernel: *pde = 00000000
Nov 18 20:32:28 localhost kernel: Oops: 0000 [#1]
Nov 18 20:32:28 localhost kernel: SMP
Nov 18 20:32:28 localhost kernel: Modules linked in: dv1394 ohci1394 eth1394
nvidia rfcomm l2cap lirc_serial cx8800 cx88xx bttv video_buf ir_common
compat_ioctl32 btcx_risc lirc_i2c lirc_dev ipv6 dm_mod sd_mod hci_usb
bluetooth raw1394 msp3400 mousedev saa7127 tsdev saa7115 usb_storage
snd_intel8x0 tuner snd_ac97_codec snd_ac97_bus scsi_mod snd_pcm_oss ivtv
snd_mixer_oss firmware_class snd_pcm i2c_algo_bit snd_timer ide_cd cdrom
tveeprom videodev rtc sis_agp psmouse v4l1_compat v4l2_common ohci_hcd snd
evdev parport_pc parport i2c_sis96x 8250_pnp ns558 i2c_core serio_raw sis900
mii ehci_hcd agpgart shpchp pci_hotplug analog usbcore ieee1394 pcspkr
gameport soundcore snd_page_alloc ext3 jbd mbcache ide_disk ide_generic
via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000
piix pdc202xx_old pdc202xx_new opti621 ns87415 it821x hpt366 hpt34x generic
cy82c693 cs5535 cs5530 cs5520 cmd64x atiixp amd74xx alim15x3 aec62xx
ide_core
Nov 18 20:32:28 localhost kernel: CPU:    0
Nov 18 20:32:28 localhost kernel: EIP:    0060:[<e1ce8e85>]    Tainted: PF
M  VLI
Nov 18 20:32:28 localhost kernel: EFLAGS: 00010246   (2.6.18.2 #1)
Nov 18 20:32:28 localhost kernel: EIP is at
rfcomm_tty_chars_in_buffer+0x6/0x19 [rfcomm]
Nov 18 20:32:28 localhost kernel: eax: 00000000   ebx: c4591000   ecx:
00000000   edx: dda3bc00
Nov 18 20:32:28 localhost kernel: esi: 00000000   edi: c6c54a40   ebp:
c459100c   esp: cd6bdc00
Nov 18 20:32:28 localhost kernel: ds: 007b   es: 007b   ss: 0068
Nov 18 20:32:28 localhost kernel: Process rfcomm (pid: 23351, ti=cd6bc000
task=ca605570 task.ti=cd6bc000)
Nov 18 20:32:28 localhost kernel: Stack: b01fb6e7 00124d5e c4591000 b01fb5f2
c6c54a40 b01f7943 00000000 00000000
Nov 18 20:32:28 localhost kernel:        00000000 cd6bdea0 c6c54a40 cd6bde98
b0167131 cd6bdfb0 afc02110 afc02118
Nov 18 20:32:28 localhost kernel:        00000000 cd6bde98 cd6bde98 cd6bde98
cd6bdea8 00000000 b0167bdf 00000000
Nov 18 20:32:28 localhost kernel: Call Trace:
Nov 18 20:32:28 localhost kernel:  [<b01fb6e7>] normal_poll+0xf5/0x11a
Nov 18 20:32:28 localhost kernel:  [<b01fb5f2>] normal_poll+0x0/0x11a
Nov 18 20:32:28 localhost kernel:  [<b01f7943>] tty_poll+0x48/0x60
Nov 18 20:32:28 localhost kernel:  [<b0167131>] do_sys_poll+0x1a7/0x341
Nov 18 20:32:28 localhost kernel:  [<b0167bdf>] __pollwait+0x0/0xb2
Nov 18 20:32:28 localhost kernel:  [<b0117295>]
default_wake_function+0x0/0xc
Nov 18 20:32:28 localhost kernel:  [<b0117295>]
default_wake_function+0x0/0xc
Nov 18 20:32:28 localhost kernel:  [<b016b0ed>] dput+0x1a/0x117
Nov 18 20:32:28 localhost kernel:  [<b016489e>] __link_path_walk+0xb95/0xcce
Nov 18 20:32:28 localhost kernel:  [<b0159351>]
__find_get_block_slow+0xfb/0x105
Nov 18 20:32:28 localhost kernel:  [<b014490d>]
blockable_page_cache_readahead+0x46/0x99
Nov 18 20:32:28 localhost kernel:  [<b016ad20>] __d_lookup+0x2f/0xd7
Nov 18 20:32:28 localhost kernel:  [<b011728b>] try_to_wake_up+0x355/0x35f
Nov 18 20:32:28 localhost kernel:  [<b01431e7>]
get_page_from_freelist+0x74/0x328
Nov 18 20:32:28 localhost kernel:  [<b0115d79>] __wake_up_common+0x2f/0x53
Nov 18 20:32:28 localhost kernel:  [<b016ad89>] __d_lookup+0x98/0xd7
Nov 18 20:32:28 localhost kernel:  [<b01629b2>] do_lookup+0x4f/0x135
Nov 18 20:32:28 localhost kernel:  [<b016b0ed>] dput+0x1a/0x117
Nov 18 20:32:28 localhost kernel:  [<b016489e>] __link_path_walk+0xb95/0xcce
Nov 18 20:32:28 localhost kernel:  [<b016e6df>] mntput_no_expire+0x11/0x68
Nov 18 20:32:28 localhost kernel:  [<b0164a7e>] link_path_walk+0xa7/0xb1
Nov 18 20:32:28 localhost kernel:  [<b01b774e>] memmove+0xe/0x22
Nov 18 20:32:28 localhost kernel:  [<b02019d2>] scrup+0x8c/0xb9
Nov 18 20:32:28 localhost kernel:  [<b011cde5>]
release_console_sem+0x17b/0x1b5
Nov 18 20:32:28 localhost kernel:  [<b02045de>] do_con_write+0x1462/0x1493
Nov 18 20:32:28 localhost kernel:  [<b01100ff>] __cpu_disable+0x1d/0xee
Nov 18 20:32:28 localhost kernel:  [<b01f9c91>] tty_open+0x179/0x2f0
Nov 18 20:32:28 localhost kernel:  [<b011cde5>]
release_console_sem+0x17b/0x1b5
Nov 18 20:32:28 localhost kernel:  [<b013f453>] find_get_page+0x18/0x38
Nov 18 20:32:28 localhost kernel:  [<b01419bf>] filemap_nopage+0x191/0x30a
Nov 18 20:32:28 localhost kernel:  [<b0149d94>]
__handle_mm_fault+0x3fa/0x72e
Nov 18 20:32:28 localhost kernel:  [<b01f692e>] tty_ldisc_deref+0x14/0x59
Nov 18 20:32:28 localhost kernel:  [<b0115026>] do_page_fault+0x184/0x460
Nov 18 20:32:28 localhost kernel:  [<b0167300>] sys_poll+0x35/0x38
Nov 18 20:32:28 localhost kernel:  [<b0102c73>] syscall_call+0x7/0xb
Nov 18 20:32:28 localhost kernel: Code: 88 84 01 00 00 8b 59 3c 8b 53 5c 85
d2 b8 01 00 00 00 0f 44 d0 8b 49 64 0f af 53 50 30 c0 29 ca 0f 49 c2 5b c3
8b 80 84 01 00 00 <8b> 50 3c 8d 42 0c 31 c9 39 42 0c 74 03 8b 4a 50 89 c8 c3
c3 c3
Nov 18 20:32:28 localhost kernel: EIP: [<e1ce8e85>]
rfcomm_tty_chars_in_buffer+0x6/0x19 [rfcomm] SS:ESP 0068:cd6bdc00
Nov 18 20:32:28 localhost sdpd[23342]: terminating...


- I use kernel version 2.6.18.2
- I use debian unstable
- bluez-utils version 3.7-1
- the communication between client and bluez uses 9600 Baud and standard
parameters

Any help would be highly appreciated!

Thanks,
Axel

[-- Attachment #1.2: Type: text/html, Size: 6924 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [Bluez-devel] Rfcomm kernel crashes (2.6.18.2)
@ 2006-11-24  4:09 Axel Ruder
  0 siblings, 0 replies; 10+ messages in thread
From: Axel Ruder @ 2006-11-24  4:09 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 216 bytes --]

Hi Marcel,

thanks a lot for the patch. I just applied and installed it.
I will know in a couple of days if it worked, I'll take some time this
weekend to test it.
Thanks again! I'll let you know if it worked.

Axel

[-- Attachment #1.2: Type: text/html, Size: 288 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Re: [Bluez-devel] Rfcomm kernel crashes (2.6.18.2)
@ 2006-11-28  2:06 Axel Ruder
  2006-11-28  4:18 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Axel Ruder @ 2006-11-28  2:06 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 6010 bytes --]

Hi Marcel,
thanks again for your patch. It seems to have fixed the problem partially.
I get a lot less frequent crashes, but unfortunately I now got this new
error:

Nov 26 21:57:58 localhost kernel: BUG: unable to handle kernel NULL pointer
dereference at virtual address 0000003c
Nov 26 21:57:58 localhost kernel:  printing eip:
Nov 26 21:57:58 localhost kernel: e1cebe5f
Nov 26 21:57:58 localhost kernel: *pde = 00000000
Nov 26 21:57:58 localhost kernel: Oops: 0000 [#1]
Nov 26 21:57:58 localhost kernel: SMP
Nov 26 21:57:58 localhost kernel: Modules linked in: nvidia rfcomm l2cap
lirc_serial cx8800 cx88xx bttv video_buf ir_common compat_ioctl32 btcx_risc
lirc_i2c lirc_dev ipv6 dm_mod it87 hwmon_vid i2c_isa eeprom sd_mod eth1394
dv1394 raw1394 hci_usb bluetooth usb_storage scsi_mod msp3400 saa7127
mousedev saa7115 tsdev tuner snd_intel8x0 snd_ac97_codec snd_ac97_bus
snd_pcm_oss snd_mixer_oss snd_pcm shpchp ivtv ohci1394 ide_cd cdrom
firmware_class ehci_hcd ieee1394 pci_hotplug i2c_sis96x i2c_algo_bit
ohci_hcd snd_timer sis900 ns558 snd 8250_pnp tveeprom i2c_core psmouse
usbcore mii analog sis_agp agpgart videodev v4l1_compat v4l2_common evdev
soundcore snd_page_alloc serio_raw pcspkr rtc gameport parport_pc parport
ext3 jbd mbcache ide_disk ide_generic via82cxxx trm290 triflex slc90e66
sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old pdc202xx_new
opti621 ns87415 it821x hpt366 hpt34x generic cy82c693 cs5535 cs5530 cs5520
cmd64x atiixp amd74xx alim15x3 aec62xx ide_core
Nov 26 21:57:58 localhost kernel: CPU:    1
Nov 26 21:57:58 localhost kernel: EIP:    0060:[<e1cebe5f>]    Tainted:
PF     VLI
Nov 26 21:57:58 localhost kernel: EFLAGS: 00010293   (2.6.18.2 #1)
Nov 26 21:57:58 localhost kernel: EIP is at rfcomm_tty_write_room+0x7/0x27
[rfcomm]
Nov 26 21:57:58 localhost kernel: eax: c297a000   ebx: c297a000   ecx:
00000000   edx: deeb8200
Nov 26 21:57:58 localhost kernel: esi: 00000000   edi: d6b1c8c0   ebp:
c297a00c   esp: c554fbfc
Nov 26 21:57:58 localhost kernel: ds: 007b   es: 007b   ss: 0068
Nov 26 21:57:58 localhost kernel: Process rfcomm (pid: 20250, ti=c554e000
task=dfceeab0 task.ti=c554e000)
Nov 26 21:57:58 localhost kernel: Stack: c297a000 b01fb6f9 00124d5e c297a000
b01fb5f2 d6b1c8c0 b01f7943 00000000
Nov 26 21:57:58 localhost kernel:        00000000 00000000 c554fea0 d6b1c8c0
c554fe98 b0167131 c554ffb0 afcd69e0
Nov 26 21:57:58 localhost kernel:        afcd69e8 00000000 c554fe98 c554fe98
c554fe98 c554fea8 00000000 b0167bdf
Nov 26 21:57:58 localhost kernel: Call Trace:
Nov 26 21:57:58 localhost kernel:  [<b01fb6f9>] normal_poll+0x107/0x11a
Nov 26 21:57:58 localhost kernel:  [<b01fb5f2>] normal_poll+0x0/0x11a
Nov 26 21:57:58 localhost kernel:  [<b01f7943>] tty_poll+0x48/0x60
Nov 26 21:57:58 localhost kernel:  [<b0167131>] do_sys_poll+0x1a7/0x341
Nov 26 21:57:58 localhost kernel:  [<b0167bdf>] __pollwait+0x0/0xb2
Nov 26 21:57:58 localhost kernel:  [<b0117295>]
default_wake_function+0x0/0xc
Nov 26 21:57:58 localhost kernel:  [<b0117295>]
default_wake_function+0x0/0xc
Nov 26 21:57:58 localhost kernel:  [<e2374249>] _nv005245rm+0xa9/0xe8
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e2374249>] _nv005245rm+0xa9/0xe8
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e21fe10a>] _nv002668rm+0x26/0x2c
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e24336d2>] _nv000984rm+0x1a/0x20
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e243203f>] _nv000986rm+0x33/0x68
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e2432051>] _nv000986rm+0x45/0x68
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e21fe053>] _nv002682rm+0x53/0x84
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e23748b1>] _nv005436rm+0x15/0x1c
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e21fe101>] _nv002668rm+0x1d/0x2c
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<e21fe10a>] _nv002668rm+0x26/0x2c
[nvidia]
Nov 26 21:57:58 localhost kernel:  [<b020ed34>] dma_pool_alloc+0x16e/0x178
Nov 26 21:57:58 localhost kernel:  [<e093fe8c>] ohci_urb_enqueue+0x61d/0x6d1
[ohci_hcd]
Nov 26 21:57:58 localhost kernel:  [<b0115f3e>] __activate_task+0x1c/0x29
Nov 26 21:57:58 localhost kernel:  [<b011728b>] try_to_wake_up+0x355/0x35f
Nov 26 21:57:58 localhost kernel:  [<e0965e40>] hcd_submit_urb+0x67d/0x727
[usbcore]
Nov 26 21:57:58 localhost kernel:  [<b012d1f2>]
autoremove_wake_function+0xd/0x2d
Nov 26 21:57:58 localhost kernel:  [<b0115d79>] __wake_up_common+0x2f/0x53
Nov 26 21:57:58 localhost kernel:  [<b01161ca>] __wake_up+0x2a/0x3d
Nov 26 21:57:58 localhost kernel:  [<b0141c58>] mempool_free+0x5f/0x63
Nov 26 21:57:58 localhost kernel:  [<b015bc9c>] bio_put+0x22/0x23
Nov 26 21:57:58 localhost kernel:  [<b017500c>] mpage_end_io_read+0x5e/0x66
Nov 26 21:57:58 localhost kernel:  [<b0124dfb>] __mod_timer+0x93/0x9d
Nov 26 21:57:58 localhost kernel:  [<b01aec85>] as_antic_waitnext+0x25/0x31
Nov 26 21:57:58 localhost kernel:  [<b01afa43>]
as_dispatch_request+0x176/0x30e
Nov 26 21:57:58 localhost kernel:  [<b01a896f>] elv_next_request+0x106/0x113
Nov 26 21:57:58 localhost kernel:  [<e083630f>] ide_do_request+0x249/0x6bf
[ide_core]
Nov 26 21:57:58 localhost kernel:  [<b01aa2b7>] freed_request+0x1d/0x37
Nov 26 21:57:58 localhost kernel:  [<e0836095>] ide_end_request+0xc1/0xc9
[ide_core]
Nov 26 21:57:58 localhost kernel:  [<e0836a0a>] ide_intr+0x183/0x18f
[ide_core]
Nov 26 21:57:58 localhost kernel:  [<b013d8bf>] handle_IRQ_event+0x23/0x49
Nov 26 21:57:58 localhost kernel:  [<b0106758>] enable_8259A_irq+0xd/0x42
Nov 26 21:57:58 localhost kernel:  [<b013d9bb>] __do_IRQ+0xd6/0xe6
Nov 26 21:57:58 localhost kernel:  [<b0167300>] sys_poll+0x35/0x38
Nov 26 21:57:58 localhost kernel:  [<b0102c73>] syscall_call+0x7/0xb
Nov 26 21:57:58 localhost kernel: Code: 5f 5d c3 90 89 c1 a1 c0 16 cf e1 eb
07 39 48 18 74 11 89 d0 8b 10 0f 18 02 90 3d c0 16 cf e1 75 ec 31 c0 c3 53
8b 88 84 01 00 00 <8b> 59 3c 8b 53 5c 85 d2 b8 01 00 00 00 0f 44 d0 8b 49 64
0f af
Nov 26 21:57:58 localhost kernel: EIP: [<e1cebe5f>]
rfcomm_tty_write_room+0x7/0x27 [rfcomm] SS:ESP 0068:c554fbfc


Thanks for your help!
Axel

[-- Attachment #1.2: Type: text/html, Size: 6979 bytes --]

[-- Attachment #2: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-12-04 23:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-19  2:27 [Bluez-devel] Rfcomm kernel crashes (2.6.18.2) Axel Ruder
2006-11-20  8:28 ` Marcel Holtmann
2006-11-20  9:26   ` Stefan Seyfried
2006-11-20  9:35     ` Marcel Holtmann
2006-11-20 10:25       ` Stefan Seyfried
  -- strict thread matches above, loose matches on Subject: below --
2006-11-24  4:09 Axel Ruder
2006-11-28  2:06 Axel Ruder
2006-11-28  4:18 ` Marcel Holtmann
2006-11-28  4:21   ` Marcel Holtmann
2006-12-04 23:19     ` Axel Ruder

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.