Re: download 2.6.11 ver.

2011-09-25 Thread esmaeil mirzaee
thank you for your reply
but when I try git clone
https://github.com/torvalds/linux/tree/v2.6.12 i found below error
fatal: https://github.com/torvalds/linux/tree/v2.6.12/info/refs not
found: did you run git update-server-info on the server?

On Sun, Sep 25, 2011 at 11:59 PM, rohan puri  wrote:
>
>
> On Mon, Sep 26, 2011 at 9:17 AM, esmaeil mirzaee 
> wrote:
>>
>> Hi
>> apologize for weak English.
>>
>> I'm reading the Understand Linux Kernel 3rd edition, according to that
>> book for accomplishment understand I need 2.6.11 version of linux. How
>> can I download it?
>> As you know the kernel.org is under maintain.
>>
>> --
>> Best
>> Esmaeil
>> https://sites.google.com/site/esmaeilmirzaee
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
> Hi,
>
> You can get it from following link : -
>
> https://github.com/torvalds/linux/tree/v2.6.12 This is for 2.6.12 as 2.6.11
> link is present but not accessible.
>
> You may use 2.6.12 kernel and can get started.
>
> Regards,
> Rohan Puri
>



-- 
Best
Esmaeil
https://sites.google.com/site/esmaeilmirzaee

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


download 2.6.11 ver.

2011-09-25 Thread esmaeil mirzaee
Hi
apologize for weak English.

I'm reading the Understand Linux Kernel 3rd edition, according to that
book for accomplishment understand I need 2.6.11 version of linux. How
can I download it?
As you know the kernel.org is under maintain.

-- 
Best
Esmaeil
https://sites.google.com/site/esmaeilmirzaee

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: maintenance time and git error

2011-09-12 Thread esmaeil mirzaee
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 of the web page www.kernel.org
>> will be finish?
>> and when I try this "git clone
>> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux2.6.git
>> linux
>>
>> I got below error
>> "Initialized empty Git repository in /home/esmaeil/fixbug/krl/linux/.git/"
>> "fatal: Unable to look up git.kernel.org (port 9418) (Name or service
>> not known)"
>>
>
> It will be back in few days.
>
> If you wanna get updated, you can:
unfortunetly I don't want update it, This is my first time and I wanna get it.
and I try below but I think because I don't have the primary package
I got below error
> $ git remote add github git://github.com/torvalds/linux.git
fatal: Not a git repository (or any of the parent directories): .git
> $ git fetch github
fatal: Not a git repository (or any of the parent directories): .git
> $ git checkout -b github github/master
fatal: Not a git repository (or any of the parent directories): .git
> and you will get a branch named "github" with github remote.
> --
> Regards,
>        Adam Lee
>        --
>        E-mail: adam8...@gmail.com
>        Website: http://www.adam8157.info
>        --
>



-- 
Best
Esmaeil
https://sites.google.com/site/esmaeilmirzaee

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


maintenance time and git error

2011-09-12 Thread esmaeil mirzaee
Hi
apologize in weak English and unrelated send.
does anyone know when the maintaining of the web page www.kernel.org
will be finish?
and when I try this "git clone
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux2.6.git
linux

I got below error
"Initialized empty Git repository in /home/esmaeil/fixbug/krl/linux/.git/"
"fatal: Unable to look up git.kernel.org (port 9418) (Name or service
not known)"

-- 
Best
Esmaeil
https://sites.google.com/site/esmaeilmirzaee

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: compile kernel

2011-09-09 Thread esmaeil mirzaee
Thank you for reply

On Fri, Sep 9, 2011 at 4:55 AM, Pelle Windestam  wrote:
>>
>> $ gcc acct.c -o ac
>> acct.c:46: fatal error: linux/mm.h: No such file or directory
>> compilation terminated.
>>
>
> That is because gcc does not know where to look for the included
> mm.h-file, the gcc compiler needs to be specifically told where to
> look for include files if they are not in the standard directories.
> You can do that by passing it the -I option followed by the directory
> to look in.

You mean I must put the address of library when I try to compile if yes.
~/linux-2.6.39.3/kernel the file is in this place (acct.c).
Could you give me form of compile command it can be like this
gcc -i ~/linux-2.6.39.3/kernel acct.c -o acct

esmaeil

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


compile kernel

2011-09-09 Thread esmaeil mirzaee
Hi all
I apologize for weak English and speaking ambiguously.

I download Linux kernel and I love to learn about it.
I try to compile a file like ~/kernel/acct.c but I've got error anyone
can help me.

$ gcc acct.c -o ac
acct.c:46: fatal error: linux/mm.h: No such file or directory
compilation terminated.

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: Reading debug/tracing info

2011-08-20 Thread esmaeil mirzaee
Hi

On Sat, Aug 20, 2011 at 12:10 PM, Prateek Sharma  wrote:
>
>
> On Sat, Aug 20, 2011 at 3:20 PM, Prateek Sharma 
> wrote:
>>
>> Hello all,
>>     I am learning how to add static trace points via trace_events.
>> I am seeing the trace using 'cat /sys/kernel/debug/tracing/trace' .
I am new and I try to learn trace. Can you give me how can use trace?
>> Naturally the tracing buffer size is limited. My question is, what is the
>> recommended way of reading trace data?
>> Ive looked at perf record/report, but so far, i have only managed to get
>> aggregated statistics, or complete dumps.
>> What i need is just  a way to collect all the trace output to one file.
>> Basically i am using the trace events as  a souped up printk (since i need
>> to collect large amounts of traces).
>> Do i need to use LTTng/viewer or something for this task?
>> Thanks!
>
> I've already found the solution to this, turns out there is trace_pipe as
> well.
> Sorry!
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: getting started

2011-08-19 Thread esmaeil mirzaee
Hi

On Fri, Aug 19, 2011 at 11:44 PM, Julie Sullivan
 wrote:
>> Also driver staging is always looking for more contributors and you
>> can get a good feel for what is going on on the mailing list:
>> devel.linuxdriverproject.org
This link is unavailable.
>> (de...@linuxdriverproject.org)
>>
>> Read the TODO lists for various drivers in the in the kernel tree in
>> drivers/staging/ and pick something you would like to do. Don't forget
>> to read the relevant files in Documentation/ for preparing/submitting
>> patches, etc, and make sure you cc the relevant maintainers when
>> sending patches to their drivers to the list.
>>
>> If you're not doing it already by far the easiest way is to use git to
>> manage your kernels, you will be expected to test your patches against
>> linux-next or some branch specified by a particular maintainer which
>> you can remote track (I think it's staging-next on Greg's tree for
>> staging, but it wouldn't hurt to ask the maintainer once you have the
>> patch ready).
>>
>> Cheers
>> Julie
>>
>
> Oh, and another suggestion - find out what hardware you have and find
> out what corresponding drivers cater for it in the kernel. You can
> then join the appropriate mailing lists (filtering on their throughput
> if it's large) in order to catch any new patches or bugs that appear
> there for your hardware. You can then work on testing the
> patches/helping fix the bugs, which is especially helpful when done by
> people who have the actual hardware to test with. If it's new stuff in
> staging, I think the staging people would particularly appreciate
> this.
>
> Cheers
> Julie
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


How can install gcc-3.2.tar.bz

2011-07-29 Thread esmaeil mirzaee
Apologize in advanced for interrupt and weak English.
Let me ask a question in lazy way.

I wanna install gcc-3.2.tar.bz then I download from
ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/gcc-3.2/
Could you help me.
Best
Samuel

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How can patch a bug

2011-07-29 Thread esmaeil mirzaee
Hi

On Fri, Jul 29, 2011 at 2:56 PM, Ian Lance Taylor  wrote:
> esmaeil mirzaee  writes:
>
>> I try to install gcc-3.4.6 I've search the Internet(Thank you google).
>> I found it was a bug and a best man did a patch and now I want to run
>> that patch to resolved the problem.
>
> Run the patch program.
>
> "man patch"
I wanna run this patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19985 for resolve my
problem. What patch I must to download. I need them for gcc-3.4.6
>
> Ian
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


How can patch a bug

2011-07-29 Thread esmaeil mirzaee
Hi
apologize in advance, for my interrupt.

I try to install gcc-3.4.6 I've search the Internet(Thank you google).
I found it was a bug and a best man did a patch and now I want to run
that patch to resolved the problem.

If anyone can help I can be very glad.

again thank you for your effort


Best
samuel
IRC:ronin___

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: about gcc-3.4.6

2011-07-29 Thread esmaeil mirzaee
On Fri, Jul 29, 2011 at 8:16 AM, Bernd Petrovitsch
 wrote:
> On Fre, 2011-07-29 at 08:01 -0400, esmaeil mirzaee wrote:
>> On Fri, Jul 29, 2011 at 7:46 AM, Pravin Shedage
>>  wrote:
>>         Hi Samuel,
>>
>>         check the FTP link
>>         ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/
>> Actually I have gcc-3.4.6.tar.bz2 for process of installation I did:
>> untar the file
>> ./configure
>> make but I've got error
>
> Building a compiler is - in the worst case as in "canadian cross" - much
> more complicated than some other random app
>
> For the most simplest case - a compiler for the current host+OS -, `make
> bootstrap` is the way to go.
could you explain more? I'm new.
>
>        Bernd
> --
> Bernd Petrovitsch                  Email : be...@petrovitsch.priv.at
>                     LUGA : http://www.luga.at
>
>

___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: about gcc-3.4.6

2011-07-29 Thread esmaeil mirzaee
On Fri, Jul 29, 2011 at 7:46 AM, Pravin Shedage  wrote:

> Hi Samuel,
>
> check the FTP link
> ftp://ftp.mirrorservice.org/sites/sourceware.org/pub/gcc/releases/
>
Actually I have gcc-3.4.6.tar.bz2 for process of installation I did:
untar the file
./configure
make but I've got error

some of the error is:
In function ‘open’,
inlined from ‘collect_execute’ at ./collect2.c:1537:20:
/usr/include/bits/fcntl2.h:51:24: error: call to ‘__open_missing_mode’
declared with attribute error: open with O_CREAT in second argument needs 3
arguments
make[1]: *** [collect2.o] Error 1
make[1]: Leaving directory `/home/esmaeil/Documents/software/gcc-3.4.6/gcc'
make: *** [all-gcc] Error 2


>
> @enjoy
>
>
>
>  On Fri, Jul 29, 2011 at 4:53 PM, Bernd Petrovitsch <
> be...@petrovitsch.priv.at> wrote:
>
>>  Hi!
>>
>> On Fre, 2011-07-29 at 07:14 -0400, esmaeil mirzaee wrote:
>> > apologize in advance, I know here is related the kernel but my
>>
>> Than why do you post here in the first place?
>>
>> [...]
>> > I need gcc-3.4.6 for do work with ubuntu kernel and install some stuff
>> > I needed.
>>
>> You can find the source on http.//gcc.gnu.org/ or - surpise! - via
>> Google.
>>
>> > Again I'm so sorry for interrupt.
>>
>> No, you are not.
>>Bernd
>> --
>> Bernd Petrovitsch  Email : be...@petrovitsch.priv.at
>> LUGA : http://www.luga.at
>>
>>
>> ___
>> Kernelnewbies mailing list
>> Kernelnewbies@kernelnewbies.org
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
>
>
>
>
> Thanks & Regards,
> -PraviN-
>
>
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


about gcc-3.4.6

2011-07-29 Thread esmaeil mirzaee
Hi all
apologize in advance, I know here is related the kernel but my question is
how can install gcc-3.4.6, I looked around but I could not find anything
useful.

I need gcc-3.4.6 for do work with ubuntu kernel and install some stuff I
needed.

Again I'm so sorry for interrupt.
Best
Samuel
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: how to apply patches from git ?

2011-07-13 Thread esmaeil mirzaee
On Wed, Jul 13, 2011 at 9:40 AM, Anand Arumugam wrote:

> Take a look at 'git apply' and 'git format-patch' commands.
>
> On Wed, Jul 13, 2011 at 3:22 AM, RKK  wrote:
> >  Hi all,
> >
> > Sorry if this is a basic question.
> > How do i take patches from e-mail?
> >  for example git send mail sends patches as e-mail
> >
> > if someone wants to apply that patch to his branch then how do i get
> > that in . patch format and then use
> > patch -p1 *.patch  or is there something im missing here? thanks.
> > --
> > Warm Regards,
> > Ravi .
> >
> > ___
> > Kernelnewbies mailing list
> > Kernelnewbies@kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

Hi
you can see greg video about write and submit your first kernel patch it's
really good. It can help you very much.
the link is www.youtube.com/watch?v=LLBrBBImJt4

best
samuel
PS: apologize in advance to weak english and multi times send.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Problem loading page in http://janitor.kernelnewbies.org/

2011-07-07 Thread esmaeil mirzaee
Hi
  I try to reach to link http://janitor.kernelnewbies.org/ but I've got
error Problem loading page
my connection is stable I can reach to other link but have problem with this
page.

Any suggestion is appreciate it.

Thanks in advance.
esmaeil

PS: Apologize for weak in English and two times send.
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


Re: How to write linux drivers?

2011-06-12 Thread esmaeil mirzaee
Hi
for understand kernel

linux kernel development by robert love

best
Esmaeil

On Sun, Jun 12, 2011 at 12:16 PM, Rajat Sharma  wrote:

> http://lwn.net/Kernel/LDD3/
>
> On Sun, Jun 12, 2011 at 1:11 PM, Lalit Pratap Singh
>  wrote:
> > Hi all,
> >
> > I am linux kernel newbie, I am trying to understand linux kernel since
> very
> > long.
> > Can anyone tell me how to understand drivers, How can i start working on
> > writing drivers?
> >
> > I just wanted to know that, How can i write the smallest driver and test
> it?
> > Also suggest me where to find the specification of the target hardware,
> for
> > which driver is to be written?
> > Ex. floppy drive, bluetooth etc.
> >
> > I want some basic tutorial links also.
> >
> >
> >
> > Thanks
> > Lalit Pratap
> >
> > ___
> > Kernelnewbies mailing list
> > Kernelnewbies@kernelnewbies.org
> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> >
> >
>
> ___
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies