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