t; Thanks,
> Hao Lee
Yep, still alive, checked.
Just send a mail to it then follow the steps in its replied mail.
--
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
has extremely
low activity.
I suggest you ask and answer in this kernelnewbies mail list. People are
nice here, simple/basic English is not a problem.
--
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
ht
>
> By the way, If someone have the problems alike, I suggest them to write some
> inline assembly and check the compiler’s assembly output.
Didn't get different outputs here, do you have updates?
--
Adam Lee
http://adam8157.info
___
5000] usb 1-1: Manufacturer: FTDI
> [ 43.585000] usb 1-1: SerialNumber: A900aMbV
>
> How do I do? Thanks in advance!
https://wiki.gentoo.org/wiki/Mdev#Notes
"mdev unlike udev does not support auto-modules loading thus you will
need to use /etc/conf.d/modules
be inserted at the most
of times too, not that picky. Also you still could extract its
dependencies(if there are) out and compile them as external modules.
--
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewb
nto your rootfs, or
compile them as external modules.
ref:
https://www.kernel.org/doc/Documentation/kbuild/modules.txt
--
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
thought
2"? The scheduler will be far too complicated, system will become very
unstable because IRQs are so not real time then.
--
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
ogram is not run"
>
Seems like you only connected console but not kgdb serial, check the
kernel parameter "kgdboc".
FYI,
https://www.kernel.org/pub/linux/kernel/people/jwessel/kdb/kgdbKernelArgs.html
--
Adam Lee
http://adam8157.info
__
ght to be the same, why we change it? "If it
ain't broke, don't fix it."
You can see that by disassembling, they both are "f3 90", "f3" is rep,
"90" is nop.
> And AFAIK, in spinlocks , PAUSE indeed replac
than executing couple of C statements together ?
>
> Is there any special purpose of doing this ??
> Sorry of such a silly question - I am just trying
> to learn kernel hacking basics.
http://kernelnewbies.org/FAQ/DoWhile0
--
Regards,
Adam Lee
http://adam8157.info
___
. but if I'd like do this in C program, how to
> do
> that, is there interface/func in some header file?
>
linux/scripts/kconfig/lkc.h and lkc_proto.h
like sym_get_tristate_value(), sym_get_string_value()...
--
Regards,
Adam Lee
http://adam8157.info
__
/en.wikipedia.org/wiki/X86-64#Canonical_form_addresses
PS, if you can read Chinese(hopeless), check my blog:
http://adam8157.info/blog/2012/07/linux-x86-64-vm/
--
Regards,
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
le and rely on tab instead.
No, you should not expand tabs. Tabs in CodingStyle mean _hard_ tabs.
Mine:
set tabstop=8
set noexpandtab
set shiftwidth=8
set cinoptions=:0,l1,t0,g0
--
Regards,
Adam Lee
http://adam8157.info
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
mpiler. And you can mix it
with other newer standards.
> 3.There must be some standard that all of us need to follow , so what are they
> ?
May be the standards followed by most people are gnu89(ANSI C with GCC
extensions) and C99.
PS, this is kind of out of topic
ss about how to do that?
You need a full system, kernel is just the core.
I suggest you using Debian stable images for QEMU at
http://people.debian.org/~aurel32/qemu
(ref: http://wiki.debian.org/QEMU)
Or, use busybox to build rootfs like what I am doing:
https://github.com/adam8157/kernel
> On Fri, Jun 8, 2012 at 6:46 PM, Adam Lee wrote:
> > On Fri, Jun 08, 2012 at 06:08:44PM +0600, Aft nix wrote:
>
> > Sure about this? Check the output of `file vmlinux`
>
> You were right then.
>
> $file vmlinux
> $vmlinux: ELF 64-bit LSB executable, x86-6
ux`
> Where i'm doing something wrong?
What's the arch of your host system, and your toolchain?
BTW, my kernel developing and debugging environment:
https://github.com/adam8157/kernel-studio
--
Regards,
Adam Lee
E-mail: adam8...@gmail.com
Webs
bin/sh
> /bin/sh
Remove the last two lines and add a line "exec /bin/sh" might works.
And, I suggest you write rcS as examples/bootfloppy/etc/inittab in
busybox src tree, and do not drop sh lines in rcS
# examples/bootfloppy/etc/inittab:
::sysinit:/etc/init.d/rcS
:
.
And, I use busybox to build the rootfs for kernel debugging:
https://github.com/adam8157/kernel-studio
the rootfs making script is at here right now:
https://github.com/adam8157/kernel-studio/blob/master/mkrootfs
Might helps.
-
na start from oldlinux, 0.11 will be a good choice,
and there is a book about this: http://mirrors.kernel.org/oldlinux/
--
Regards,
Adam Lee
--
E-mail: adam8...@gmail.com
Website: http://www.adam8157.info
-
On Tue, Sep 13, 2011 at 01:39:26AM -0400, esmaeil mirzaee wrote:
> Thank you for reply
> On Tue, Sep 13, 2011 at 1:30 AM, Adam Lee wrote:
> > On Tue, Sep 13, 2011 at 01:22:05AM -0400, esmaeil mirzaee wrote:
> >> Hi
> >> does anyone know when the maintaining
te add github git://github.com/torvalds/linux.git
$ git fetch github
$ git checkout -b github github/master
and you will get a branch named "github" with github remote.
--
Regards,
Adam Lee
--
define __bitwise __bitwise__
#else
#define __bitwise
#endif
typedef __u16 __bitwise __le16;
typedef __u16 __bitwise __be16;
--
Regards,
Adam Lee
--
E-mail: adam8...@gmail.com
Website: http://www.adam8157.info
-
e
> difference? I know there are various file notify mechanisms, but from what I
> can see, they don't handle millions of files very well.
>
> Of course I'm open to other ideas, but this was my curiosity.
>
Will Inotify help?
http://en.wikipedia.org/wiki/Inotify
ht
On Sun, Jul 24, 2011 at 09:09:55PM -0700, Dave Hylands wrote:
> Hi Adam,
>
> On Sun, Jul 24, 2011 at 8:10 PM, Adam Lee wrote:
> > Hi, all
> >
> > I'm working on a test which invoking setitimer(), and it hang in
> > ia32 and ppc, but passed in amd64, could
ot;The signal catcher never gained control\n");
else
printf("The signal catcher gained control\n");
printf("The value of count is %.0f\n", count);
return (r
NON-ASCII (LIKE CHINESE).
PS: 邮件列表有自己的礼仪, 这样发邮件很容易被说"rude"的.
--
Regards,
Adam Lee
--
E-mail: adam8...@gmail.com
Website: http://www.adam8157.info
--
___
On Mon, Dec 27, 2010 at 5:06 PM, Asha R wrote:
> Thanks Adam Lee.
> Is this mem= or memmap=?
Opps, sorry.
It should be "memmap=256M$0x1000"
--
Regards,
Adam Lee
--
E-mail: adam8...@gmail.com
Website: http://w
boot options or any other?
>
> Regards,
> Asha
try adding "mem=256M$0x1000" in arg.
via http://lxr.linux.no/source/Documentation/kernel-parameters.txt
--
Regards,
Adam Lee
--
E-mail: adam8...@gmail.com
29 matches
Mail list logo