"pand -nc BAddr" is failed with segmentation fault.<br>When I run the script provided, after replacing the bluetooth address, the terminal was hung up.<br>following are the dmesg:<br><1>Unable to handle kernel NULL pointer dereference at virtual address 00000018<br>
<1>pgd = c417c000<br><1>[00000018] *pgd=34216031, *pte=00000000, *ppte=00000000<br><4>Internal error: Oops: 817 [#1] PREEMPT<br><4>Modules linked in: sco bnep snd_soc_neo1973_wm8753 snd_soc_s3c24xx_i2s snd_soc_s3c24xx snd_soc_wm8753 snd_soc_core snd_pcm snd_timer snd_page_alloc snd rfcomm ohci_hcd hidp l2cap hci_usb bluetooth<br>
<4>CPU: 0 Not tainted (2.6.22.5-moko11 #2)<br><4>PC is at memcpy+0x8c/0x29c<br><4>LR is at 0x146e0600<br><4>pc : [<c01474cc>] lr : [<146e0600>] psr: 00000013<br><4>sp : c41b9e3c ip : 0000001c fp : c41b9e94<br>
<4>r10: 00000000 r9 : c41b9ebc r8 : c4133000<br><4>r7 : c41b9e62 r6 : c40905e0 r5 : 00000000 r4 : 00000018<br><4>r3 : bf073da4 r2 : ffffffe6 r1 : c41b9e60 r0 : 00000018<br><4>Flags: nzcv IRQs on FIQs on Mode SVC_32 Segment user<br>
<4>Control: c000717f Table: 3417c000 DAC: 00000015<br><4>Process pand (pid: 1148, stack limit = 0xc41b8260)<br><4>Stack: (0xc41b9e3c to 0xc41ba000)<br><4>9e20: 00000000 <br>
<4>9e40: c40905e0 c41b9e62 c4133000 00000018 00000018 bf071360 c41b9e7c 146e0600 <br><4>9e60: 1600174c 5bcae7cf c41b9eec bef0e424 c40905e0 c41b9ebc 400442c8 c00270c8 <br><4>9e80: c41b8000 00000000 c41b9f0c c41b9e98 bf072234 bf0712cc c44d08a0 0000069b <br>
<4>9ea0: bef0e455 c41b9ec0 c41b8000 00000000 c41b9f8c c41b9ec0 c01d0fc0 00000006 <br><4>9ec0: 00000006 6e621115 64257065 00000000 00000000 bef00000 c40905e0 0000000a <br><4>9ee0: c41b9f00 c00270c8 c41b8000 00000000 c41b9fa4 bef0e424 400442c8 bef0e424 <br>
<4>9f00: c41b9f2c c41b9f10 c01cf898 bf072164 c0046c44 bef0e424 c4644a68 c44d0300 <br><4>9f20: c41b9f4c c41b9f30 c0099e7c c01cf6c0 c44d0300 c4644a68 bef0e424 00000036 <br><4>9f40: c41b9f7c c41b9f50 c009a1d0 c0099e54 00000000 00000000 00000000 c44d0300 <br>
<4>9f60: fffffff7 400442c8 00000036 c00270c8 c41b9fa4 c41b9f80 c009a240 c0099f2c <br><4>9f80: c41b9fa4 00000000 c01d1038 00000006 00001115 00014250 00000000 c41b9fa8 <br><4>9fa0: c0026f20 c009a210 00000006 00001115 00000003 400442c8 bef0e424 00014944 <br>
<4>9fc0: 00000006 00001115 00014250 00000036 00014250 00000003 00014934 00015008 <br><4>9fe0: fffff965 bef0e420 0000abf0 400f0ecc 60000010 00000003 00000000 00000000 <br><4>Backtrace: <br><4>[<bf0712bc>] (bnep_add_connection+0x0/0x304 [bnep]) from [<bf072234>] (bnep_sock_ioctl+0xe0/0x2e4 [bnep])<br>
<4>[<bf072154>] (bnep_sock_ioctl+0x0/0x2e4 [bnep]) from [<c01cf898>] (sock_ioctl+0x1e8/0x240)<br><4> r6:bef0e424 r5:400442c8 r4:bef0e424<br><4>[<c01cf6b0>] (sock_ioctl+0x0/0x240) from [<c0099e7c>] (do_ioctl+0x38/0xd8)<br>
<4> r6:c44d0300 r5:c4644a68 r4:bef0e424<br><4>[<c0099e44>] (do_ioctl+0x0/0xd8) from [<c009a1d0>] (vfs_ioctl+0x2b4/0x2e4)<br><4> r7:00000036 r6:bef0e424 r5:c4644a68 r4:c44d0300<br><4>[<c0099f1c>] (vfs_ioctl+0x0/0x2e4) from [<c009a240>] (sys_ioctl+0x40/0x60)<br>
<4> r8:c00270c8 r7:00000036 r6:400442c8 r5:fffffff7 r4:c44d0300<br><4>[<c009a200>] (sys_ioctl+0x0/0x60) from [<c0026f20>] (ret_fast_syscall+0x0/0x2c)<br><4> r6:00014250 r5:00001115 r4:00000006<br>
<4>Code: e4805004 e4806004 e4807004 e4808004 (e480e004) <br><br><br><br><br><div class="gmail_quote">On Wed, Feb 20, 2008 at 9:47 PM, Bobby Martin <<a href="mailto:bobbymartin2@gmail.com">bobbymartin2@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="gmail_quote"><div>I had the same problem. It seemed that sometimes the pand -c command on the neo would fail, but subsequent tries would work.<br>
<br>I created a script to handle connecting to my linux machine to do bluetooth networking. I have put it on the wiki at <a href="http://wiki.openmoko.org/wiki/Bt-net-script" target="_blank">http://wiki.openmoko.org/wiki/Bt-net-script</a><br>
<br>Don't forget to change the XX:XX... to your linux PC's bluetooth id.<br><br>Bobby<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
Hi,<br>I followed the steps given in wiki and I could able to scan the bluethooth devices and connect to the servers using "pand -c MAC".<br>But I couldn't see any bluetooth interface like bnep0 on phone.<br>
</div>
Can anyone help me to get ride of this. I am using <a href="http://2.6.22.5" target="_blank">2.6.22.5</a> kernel with Qtopia image.<br><br>-Phani<br></blockquote></div><br>
<br>_______________________________________________<br>
OpenMoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
<br></blockquote></div><br>