Re: status of u32 type in 2.6.29.4 ?

2009-08-06 Thread Pei Lin
why not use KDB which has merged into linux kernel? BRs Lin 2009/8/6 Microbit_Ubuntu micro...@virginbroadband.com.au: Hi Lin ! On Tue, 2009-08-04 at 21:54 +0800, Pei Lin wrote: Do u notice the macro #ifdef __KERNEL__ in these headers? u compile the kernel it will declare this macro.

Perplexed with a compilation problem.

2009-08-06 Thread Prasad Joshi
Hi All, I am porting a Windows device driver to Linux. I defined a macro for CONTANING_RECORD like #define CONTAINING_RECORD(ptr, type, member) list_entry((ptr), (type), (member)) When i compiled my module, i got following errors *$ make 21 | grep 1132* alloc.c:1132: error: expected

Re: Perplexed with a compilation problem.

2009-08-06 Thread Belisko Marek
Hi, On Thu, Aug 6, 2009 at 1:04 PM, Prasad Joshiprasadjoshi...@gmail.com wrote: Hi All, I am porting a Windows device driver to Linux. I defined a macro for CONTANING_RECORD  like #define CONTAINING_RECORD(ptr, type, member) list_entry((ptr), (type), (member)) When i compiled my module,

a couple questions about kernel debugging with plain gdb

2009-08-06 Thread Robert P. J. Day
(side note: i finally figured out the intricacies of seq files. i'd explain them, but then you wouldn't read my column about them when it came out. :-) as a followup to my current kernel newbie column over at linux.com, next week, i'm going to cover how to use stock gdb to debug both the

Re: Questions about updating hisax drivers that use pci_find_device()

2009-08-06 Thread kevin granade
On Wed, Aug 5, 2009 at 9:39 PM, kevin granade kevin.gran...@gmail.comwrote: I noticed a comment calling for converting drivers from pci_find_device() to pci_get_device() as a beginner kernel project on lkml and started looking into it. What I have been able to discern about the issue is the

debugging loadable modules with simple gdb

2009-08-06 Thread Robert P. J. Day
the second part of that earlier post. again, following the theme from LDD3, ch 4: http://lwn.net/Kernel/LDD3/ Q1: if i'm just debugging the kernel, i can see the kernel ELF section breakdown with: (gdb) info files after i run add-symbol-file for a loaded module, is there a similar

Re: Netlink packet alignment purpose

2009-08-06 Thread Łukasz Jachymczyk
?ukasz Jachymczyk wrote: Can you explain me the purpose of using alignments in packets (i.e. Netlink packets)? I found the answer: http://c-faq.com/struct/padding.html -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to ecar...@nl.linux.org Please read the FAQ

what about $(Q)@ in toplevel Makefile??? A resent mail..

2009-08-06 Thread yihect
Hi all: Sorry, everybody. I sent the same mail in HTML-FORMAT, so maybe there presented disorderly characters in your mail client program. It's time waste to open that mail. So sorry, and I resend this mail with same content... I'm reading top-level makefile of kernel version of

Re: what about $(Q)@ in toplevel Makefile??? A resent mail..

2009-08-06 Thread Pei Lin
2009/8/7 yihect yih...@163.com: Hi all: Sorry, everybody. I sent the same mail in HTML-FORMAT, so maybe there presented disorderly characters in your mail client program. It's time waste to open that mail. So sorry, and I resend this mail with same content... I'm reading top-level