Sunny Jp wrote: > Dear All, > > I am porting new linux 2.6.16.14 on IXP425 processor ,ADI COYOTE board. > As Ethernet driver and access library v2.4 from intel supprot > 2.6.16.X, i am going to build buildroot using 2.6.16.14 but the problem is i > am unable to select kernel header for 2.6.16.X. > > So i have compiled buildroot with kernel 2.4.16.14 and kernel header > 2.6.22.10 and generate kernel and ramdisk image for that , but while running > on board, it give error following errir while inserting ixp400_eth.ko module, > More of a buildroot question (rather than a uclibc question), but if you mix two completely different releases for a feature that is very dependent on the kernel, I'd expect it to fail at best, cause subtle hard to find behaviour that becomes impossible to pin point at worst. > does this following error due to different version of kernel and kernel > header or i am doing some other things wrong? > > > > > $ Unable to handle kernel NULL pointer dereference at virtual address > 00000000 > pgd = c0004000 > [00000000] *pgd=00000000 > Internal error: Oops: 17 [#1] > Modules linked in: ixp400_eth ixp400 > CPU: 0 > PC is at tcp_v4_rcv+0x240/0x8f4 > LR is at 0xa76 > pc : [<c01d17c8>] lr : [<00000a76>] Tainted: P > sp : c0261b58 ip : 00000016 fp : c0261b84 > r10: c0a80aa4 r9 : 00000003 r8 : c0a80a8d > r7 : c18bf834 r6 : c18b9740 r5 : 00000a43 r4 : 00000000 > r3 : 00000000 r2 : 00000000 r1 : c18ccc60 r0 : 0a760016 > Flags: nZCv IRQs on FIQs on Mode SVC_32 Segment kernel > Control: 39FF Table: 01A5C000 DAC: 00000017 > Process swapper (pid: 0, stack limit = 0xc0260198) > Stack: (0xc0261b58 to 0xc0262000) > 1b40: 00000000 c18b9740 > 1b60: c02779d8 00000000 00000000 c02c4d28 c02c31d8 c02c2bdc c0261bc0 c0261b88 > 1b80: c01b5e50 c01d1594 bf08d144 c0261bc4 c0261b9c c18b9740 c18b9740 c18b9740 > 1ba0: c18bf820 c02c14f4 c0260000 00000001 c18d8000 c0261bf8 c0261bc4 c01b5bc4 > 1bc0: c01b5c94 c18d8000 018e17a0 c18e17a0 00000000 c18e1760 c18b9740 c02c14e4 > 1be0: 00000800 c18d8000 c02c14f4 c0261c1c c0261bfc c0198f00 c01b5698 c18b9740 > 1c00: c18b9740 c18b9800 c18e1760 c18d8260 c0261c50 c0261c20 bf0f8eac c0198c98 > 1c20: 0000003e 00000014 00000000 00000000 c18e1760 00000000 c0261c60 bf08be08 > 1c40: 00000000 00000001 c0261c54 bf018520 bf0f8b8c 00000020 bf08bcd0 018e17a1 > 1c60: 00000000 00000020 bf08bcd4 018e1721 00000000 c0121e9c 00000000 00000000 > 1c80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 1ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 1cc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 > 1ce0: 00000000 00000000 00000000 00000000 c0266480 c0261d4c c0261d04 c005b6b4 > 1d00: c005a864 00000044 00000001 00000000 c026600c c0266000 00000044 00020020 > 1d20: 00000000 c0266480 00000000 bf08d150 c0261d68 c0261d40 bf003d40 bf000554 > 1d40: c0261d9c bf08d150 c0261d68 c0261d58 bf003cc4 00000000 bf08d150 bf08bee8 > 1d60: c0261d6c bf017314 bf003cdc 018dbd20 00000000 bf08b94c c18dbce0 00000000 > 1d80: bf0180c4 c002d668 bf0fe46c 00000000 bf0fe46c 00000000 00000000 00000000 > 1da0: c18ae6e0 c18d8260 c18dbce0 c18d8000 00000000 c1715804 c0261de4 bf0f9848 > 1dc0: c18d8000 c0a80aa4 c0261df4 c0261dd8 c01a76a8 bf0f8074 3b9aca00 c0261e0c > 1de0: c0261dec c00345c8 c0261e20 c0261df8 c002645c c002d668 c0261e60 c0261e60 > 1e00: c02b8ab0 c02b8a9c 000001d8 1ad28bf0 c0265b54 c0261e3c c0261e24 c003c85c > 1e20: c0026430 000001d8 0006ddd8 000170f0 c0261e5c c0261e40 c004ecb0 c003c6c8 > 1e40: c0261e7c 00000001 c0261e80 c0261e58 c002645c c002d668 c18d8000 c18d80bc > 1e60: c18d8000 c18d80bc c18d80bc c0261eb4 c0261e84 00000020 c02c1268 c0261eb0 > 1e80: bf0f9468 00000000 c18d8000 c18d80bc c02c1268 c0261eb4 0000435d c02657a8 > 1ea0: c02c1278 c0261ee0 c0261eb4 c019ad60 bf0f9420 0000012c c02b8880 00000001 > 1ec0: 0000000a c02b8840 00000001 c02ba364 00000000 c0261f0c c0261ee4 c003d52c > 1ee0: c019acdc ffffffff 0000001f 00000008 c0261f50 0001de58 690541f1 0001dd98 > 1f00: c0261f1c c0261f10 c003d844 c003d4d4 c0261f4c c0261f20 c002332c c003d80c > 1f20: c0261f5c c0261f30 ffffffff 0000001f 00000008 c02b2f48 0001de58 0001dd98 > 1f40: c0261fa4 c0261f50 c0021944 c002322c c001eae0 00000000 c0260000 00000000 > 1f60: c0023cac c0260000 c0023cac c02b2f48 0001de58 690541f1 0001dd98 c0261fa4 > 1f80: c0261fa8 c0261f98 c0023b18 c0023ccc 60000013 ffffffff c0261fc4 c0261fa8 > 1fa0: c0023b18 c0023cb8 c02bb028 c02b247c c0263c94 c02cc9bc c0261fd4 c0261fc8 > 1fc0: c0021270 c0023ae8 c0261ff4 c0261fd8 c0008998 c0021258 c0008500 c02b3028 > 1fe0: 000039fd c02b2fbc 00000000 c0261ff8 00008094 c0008838 00000000 00000000 > Backtrace: > [<c01d1588>] (tcp_v4_rcv+0x0/0x8f4) from [<c01b5e50>] > (ip_local_deliver+0x1c8/0x2e4) > [<c01b5c88>] (ip_local_deliver+0x0/0x2e4) from [<c01b5bc4>] > (ip_rcv+0x538/0x5fc) > [<c01b568c>] (ip_rcv+0x0/0x5fc) from [<c0198f00>] > (netif_receive_skb+0x274/0x2d4) > r7 = C02C14F4 r6 = C18D8000 r5 = 00000800 r4 = C02C14E4 > [<c0198c8c>] (netif_receive_skb+0x0/0x2d4) from [<bf0f8eac>] > (rx_cb+0x32c/0x3b4 [ixp400_eth]) > r7 = C18D8260 r6 = C18E1760 r5 = C18B9800 r4 = C18B9740 > [<bf0f8b80>] (rx_cb+0x0/0x3b4 [ixp400_eth]) from [<bf018520>] > (ixEthAccRxPriorityPoll+0x190/0x254 [ixp400]) > Backtrace aborted due to bad frame pointer <00000001> > Code: 0a000009 e1530009 0a000007 e1a02001 (e5921000) > <0>Kernel panic - not syncing: Aiee, killing interrupt handler! > > > > > does this error due to different version of kernel and kernel header or i am > doing some other things wrong? > > and plz anybody advice me how to select 2.6.16.14 kernel header in latest > buildroot Make file, bcoz its shows only 2.4.20 , 2.4.21, 2.4.22 and 2.4.23 . > Buildroot changes daily, but in general check the options again. Check the buildroot mailing list. Download buildroot and try again. Write to buildroot at uclibc.org. The kernel has a policy of not keeping module APIs constant, that means use the headers when compiling for the kernel that you're using. Anything else could be trouble. > can anyone please help me out, > > i really appriciate your help, > > Regard, > Sunny >
_______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
