Re: [gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-13 Thread Alan McKinnon
On Wed, 12 Oct 2011 13:34:52 +0100
Neil Bothwick  wrote:

> On Wed, 12 Oct 2011 02:00:31 +0200, Alan McKinnon wrote:
> 
> > Ah, not so. Until you work with foreign cultures you won't believe
> > the many varied ways communication can veer off course. In some
> > cultures it's considered rude for a junior to respond in any way to
> > a senior (replies have to go through intermediaries). 
> 
> Is this the culture in Alanland? ;-)
> 
> 

Some of the citizens in AlansUserland believe that's the culture.

Honest guv, I swear, it wasn't my doing!



-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-12 Thread Neil Bothwick
On Wed, 12 Oct 2011 02:00:31 +0200, Alan McKinnon wrote:

> Ah, not so. Until you work with foreign cultures you won't believe the
> many varied ways communication can veer off course. In some cultures
> it's considered rude for a junior to respond in any way to a senior
> (replies have to go through intermediaries). 

Is this the culture in Alanland? ;-)


-- 
Neil Bothwick

Despite the cost of living, have you noticed how it remains so popular?


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Alan McKinnon
On Tue, 11 Oct 2011 19:16:56 -0400
Matthew Finkel  wrote:

> I understand why you would think the OP is a spammer, but the topic
> just seems too genuine (to me at least) for this to actually be spam.
> It definitely would have been more polite if Lavender had replied to
> the other suggestions, but (assuming the thread is not spam) you
> don't know what is going on in their life and it may take a few days
> to respond. Just because the person is from China, doesn't mean we
> should assume they're a spammer (following Alan's last reply).

Dealing with foreign users can be interesting, triply so if they are
not European/Caucasian.

I have about 150 or so technical users throughout Africa (Nigerians are
especially interesting) and their Support requests routinely end up in
spam folders. These are ISP employees, you'd think the mail lines would
work smoothly. 

Ah, not so. Until you work with foreign cultures you won't believe the
many varied ways communication can veer off course. In some cultures
it's considered rude for a junior to respond in any way to a senior
(replies have to go through intermediaries). 

-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Matthew Finkel
On Tue, Oct 11, 2011 at 11:08 AM, Jonas de Buhr wrote:

> Am Tue, 11 Oct 2011 13:54:06 +0100
> schrieb Mick :
>
> > On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
> > > Am Tue, 11 Oct 2011 13:03:27 +0200
> > >
> > > schrieb Jonas de Buhr :
> > > > it's nice how much many people on this this list are willing to
> > > > help in spite of all this. but am i really the only one who finds
> > > > the behavior described above at least confusing?
> > > > anyway, i'm quite convinced it is fake.
> > >
> > > no, apparently i am not the only one thinking that:
> > > http://www.stopforumspam.com/ipcheck/58.243.95.123
> >
> >
> > Interesting!
> >
> > Well, the broken English is not an insurmountable problem as long as
> > we understand the question asked.  Not everyone is blessed with good
> > knowledge of the English language.
>
> i totally agree to that given any effort on the other end i would do my
> best to help as well.
>
> > The questions seem genuine, so it may help the OP or others that have
> > similar problems.
>
> right, the replies probably gave the thread some value ;)
> but there was *no* reaction at all to the proposed solutions, hints and
> info requests. why ask for help if you don't even try the suggestions?
> it takes you about ten minutes of reading this list to realize that the
> usual way of solving problems is a cycle of "i am trying to do X
> and receive error Y"->"hey, try Z"->"oh, now A happens"->"try B too"
> etc.
>
> > Now, if as you say it is indeed spam, what escapes me is why would
> > someone spam the list in this manner?  It doesn't make sense.
>
> my point exactly! i don't get it - this intially led me to post
> this comment in the first place.
> what really points into the direction of spam in my opinion is using
> the different names mentioned of stopforumspam. and that others went as
> far as reporting it.
>
> > So I
> > am led to believe that the peculiarities you mention are probably a
> > cultural (or personal) issue.
>
> possible. but what makes it even more confusing is that this doesn't
> go well with my experience of chinese people having a hard time with
> english (i can't really put my finger on it, but it doesn't feel right)
> and how they react to "hey, you're doing X wrong, thats rude".
> not meaning to stereotype, it just made it more suspicious.
>
>
>
I understand why you would think the OP is a spammer, but the topic just
seems too genuine (to me at least) for this to actually be spam. It
definitely would have been more polite if Lavender had replied to the other
suggestions, but (assuming the thread is not spam) you don't know what is
going on in their life and it may take a few days to respond. Just because
the person is from China, doesn't mean we should assume they're a spammer
(following Alan's last reply).

-- 
Matthew Finkel


Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Alan McKinnon
On Tue, 11 Oct 2011 17:08:19 +0200
Jonas de Buhr  wrote:

> what really points into the direction of spam in my opinion is using
> the different names mentioned of stopforumspam. and that others went
> as far as reporting it.

Simplest possible answer:

Chinese internet cafe's that use NAT.

It only takes one regular to discover a halfway decent
Chinese<->English translation site that does mail, and suddenly the
cafe's entire regular customer base uses it.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Michael Mol
On Tue, Oct 11, 2011 at 11:38 AM, Jonas de Buhr  wrote:
> Am Tue, 11 Oct 2011 08:54:37 -0400
> schrieb Michael Mol :
>
>> On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr
>>  wrote:
>> > hey guys,
>> >
>> > please don't get me wrong on this one, i mean no offense.
>> > can anyone explain to me what this is? are these lavender threads
>> > some kind of trolling i don't get?
>> >
>> > it (apparently on purpose, since hints in that direction are
>> > ignored) combines loads of annoying qualities:
>> >
>> > - nondescriptive titles
>> > - doing everything to rip apart threads: no In-Reply-To and even
>> >  subject changes
>> > - no line-breaks
>> > - difficult to read incorrect punctuation (plenk)
>> > - problem details are kept nebulous and info requests are ignored
>> > - none of the proposed solutions are ever tried or commented
>>
>> To me, the "Lavender's" messages read like someone is going through an
>> automated translation tool to get between English and their native
>> language. (In this case, Chinese)
>>
>> "Anyone can afford ... ?" sounds like bad forced translation between
>> semantic idioms.
>>
>> "Anyone can afford information about build kernel"
>> "Can anyone afford information about build kernel"
>> "Can anyone spend time helping about build kernel"
>> "Can anyone spend time helping me build my kernel"
>>
>> That explains the punctuation (poor translation tool(!)) and nebulous
>> requests.
>
>> His responses indicated he was reading what had been sent in
>> reply.
>> His first reply and his second reply were closely related, and
>> when commands were offered that allowed him to find the exact
>> information he needed, he gave his third reply indicating he had what
>> he needed.
>>
>> I'm using GMail as my email client, and threading and subject lines
>> showed intact for me until your "this is spam" message following the
>> one I'm replying to.
>
> interesting, so gmail is aware of the chinese equivalent of "Re" (回复)
> but doesn't use the In-Reply-To: header correctly?

The two replies I saw from him have these lines in their original headers:

Subject: Re: [gentoo-user] Anyone can afford information about build kernel?
Subject: [gentoo-user] =?gbk?B?u9i4tKO6IFtnZW50b28tdXNlcl0gQW55b25lIGNh?=
 =?gbk?B?biBhZmZvcmQgaW5mb3JtYXRpb24gYWJvdXQgYnVp?=
 =?gbk?B?bGQga2VybmVsPw==?=

So the second one definitely came through worse than the first, but
(for whatever reason), GMail didn't signal a topic change. (Usually,
it's pretty good about that)

Maybe GMail was clever enough to pick up on something like
X-Reply-Hash and tie it to a thread. Dunno.

-- 
:wq



Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 08:54:37 -0400
schrieb Michael Mol :

> On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr
>  wrote:
> > hey guys,
> >
> > please don't get me wrong on this one, i mean no offense.
> > can anyone explain to me what this is? are these lavender threads
> > some kind of trolling i don't get?
> >
> > it (apparently on purpose, since hints in that direction are
> > ignored) combines loads of annoying qualities:
> >
> > - nondescriptive titles
> > - doing everything to rip apart threads: no In-Reply-To and even
> >  subject changes
> > - no line-breaks
> > - difficult to read incorrect punctuation (plenk)
> > - problem details are kept nebulous and info requests are ignored
> > - none of the proposed solutions are ever tried or commented
> 
> To me, the "Lavender's" messages read like someone is going through an
> automated translation tool to get between English and their native
> language. (In this case, Chinese)
> 
> "Anyone can afford ... ?" sounds like bad forced translation between
> semantic idioms.
> 
> "Anyone can afford information about build kernel"
> "Can anyone afford information about build kernel"
> "Can anyone spend time helping about build kernel"
> "Can anyone spend time helping me build my kernel"
> 
> That explains the punctuation (poor translation tool(!)) and nebulous
> requests. 

> His responses indicated he was reading what had been sent in
> reply. 
> His first reply and his second reply were closely related, and
> when commands were offered that allowed him to find the exact
> information he needed, he gave his third reply indicating he had what
> he needed.
> 
> I'm using GMail as my email client, and threading and subject lines
> showed intact for me until your "this is spam" message following the
> one I'm replying to.

interesting, so gmail is aware of the chinese equivalent of "Re" (回复)
but doesn't use the In-Reply-To: header correctly?

> As for line endings, I can think of two possible reasons. The first
> (and, I suspect, more likely) would be that Lavender is using an email
> gateway that automatically translates between English and Chinese, and
> the email gateway did not implement line wrapping (or did so poorly).
> The second might be that Chinese email clients, frequently operating
> with an ideogram langauge, don't need to line-wrap so frequently, so
> Lavender's email client might be buggy in that regard.
> 
> >
> > it's nice how much many people on this this list are willing to
> > help in spite of all this. but am i really the only one who finds
> > the behavior described above at least confusing?
> > anyway, i'm quite convinced it is fake.
> 
> I have no reason to believe it's fake. I'm reasonably sure it was
> machine-processed, but I expect there was a human at the far end.

i agree that there is definitely a human at the other end. 
you raise some good points. the automated translation might even
trigger automated entries in the spam database.

but why use three names at the same time? still there might be an
explanation for it. 

as said before i meant no offense. im not 100% convinced, but your
explanation sounds reasonable, let's not make a lengthy discussion out
of it :)

thx for your insightful reply!


Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 13:54:06 +0100
schrieb Mick :

> On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
> > Am Tue, 11 Oct 2011 13:03:27 +0200
> > 
> > schrieb Jonas de Buhr :
> > > it's nice how much many people on this this list are willing to
> > > help in spite of all this. but am i really the only one who finds
> > > the behavior described above at least confusing?
> > > anyway, i'm quite convinced it is fake.
> > 
> > no, apparently i am not the only one thinking that:
> > http://www.stopforumspam.com/ipcheck/58.243.95.123
> 
> 
> Interesting!
> 
> Well, the broken English is not an insurmountable problem as long as
> we understand the question asked.  Not everyone is blessed with good
> knowledge of the English language.

i totally agree to that given any effort on the other end i would do my
best to help as well.

> The questions seem genuine, so it may help the OP or others that have
> similar problems.

right, the replies probably gave the thread some value ;)
but there was *no* reaction at all to the proposed solutions, hints and
info requests. why ask for help if you don't even try the suggestions?
it takes you about ten minutes of reading this list to realize that the
usual way of solving problems is a cycle of "i am trying to do X
and receive error Y"->"hey, try Z"->"oh, now A happens"->"try B too"
etc.

> Now, if as you say it is indeed spam, what escapes me is why would
> someone spam the list in this manner?  It doesn't make sense.  

my point exactly! i don't get it - this intially led me to post
this comment in the first place.
what really points into the direction of spam in my opinion is using
the different names mentioned of stopforumspam. and that others went as
far as reporting it.

> So I
> am led to believe that the peculiarities you mention are probably a
> cultural (or personal) issue.

possible. but what makes it even more confusing is that this doesn't
go well with my experience of chinese people having a hard time with
english (i can't really put my finger on it, but it doesn't feel right)
and how they react to "hey, you're doing X wrong, thats rude".
not meaning to stereotype, it just made it more suspicious.




[gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Michael Mol
On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr  wrote:
> hey guys,
>
> please don't get me wrong on this one, i mean no offense.
> can anyone explain to me what this is? are these lavender threads some
> kind of trolling i don't get?
>
> it (apparently on purpose, since hints in that direction are ignored)
> combines loads of annoying qualities:
>
> - nondescriptive titles
> - doing everything to rip apart threads: no In-Reply-To and even
>  subject changes
> - no line-breaks
> - difficult to read incorrect punctuation (plenk)
> - problem details are kept nebulous and info requests are ignored
> - none of the proposed solutions are ever tried or commented

To me, the "Lavender's" messages read like someone is going through an
automated translation tool to get between English and their native
language. (In this case, Chinese)

"Anyone can afford ... ?" sounds like bad forced translation between
semantic idioms.

"Anyone can afford information about build kernel"
"Can anyone afford information about build kernel"
"Can anyone spend time helping about build kernel"
"Can anyone spend time helping me build my kernel"

That explains the punctuation (poor translation tool(!)) and nebulous
requests. His responses indicated he was reading what had been sent in
reply. His first reply and his second reply were closely related, and
when commands were offered that allowed him to find the exact
information he needed, he gave his third reply indicating he had what
he needed.

I'm using GMail as my email client, and threading and subject lines
showed intact for me until your "this is spam" message following the
one I'm replying to.

As for line endings, I can think of two possible reasons. The first
(and, I suspect, more likely) would be that Lavender is using an email
gateway that automatically translates between English and Chinese, and
the email gateway did not implement line wrapping (or did so poorly).
The second might be that Chinese email clients, frequently operating
with an ideogram langauge, don't need to line-wrap so frequently, so
Lavender's email client might be buggy in that regard.

>
> it's nice how much many people on this this list are willing to help in
> spite of all this. but am i really the only one who finds the behavior
> described above at least confusing?
> anyway, i'm quite convinced it is fake.

I have no reason to believe it's fake. I'm reasonably sure it was
machine-processed, but I expect there was a human at the far end.

-- 
:wq



Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Mick
On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote:
> Am Tue, 11 Oct 2011 13:03:27 +0200
> 
> schrieb Jonas de Buhr :
> > it's nice how much many people on this this list are willing to help
> > in spite of all this. but am i really the only one who finds the
> > behavior described above at least confusing?
> > anyway, i'm quite convinced it is fake.
> 
> no, apparently i am not the only one thinking that:
> http://www.stopforumspam.com/ipcheck/58.243.95.123


Interesting!

Well, the broken English is not an insurmountable problem as long as we 
understand the question asked.  Not everyone is blessed with good knowledge of 
the English language.

The questions seem genuine, so it may help the OP or others that have similar 
problems.

The lack of netiqutte, well ... if I only I had a penny for every time that we 
have collectively or singularly asked people to respect it.  ;-)

Now, if as you say it is indeed spam, what escapes me is why would someone 
spam the list in this manner?  It doesn't make sense.  So I am led to believe 
that the peculiarities you mention are probably a cultural (or personal) 
issue.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)

2011-10-11 Thread Jonas de Buhr
Am Tue, 11 Oct 2011 13:03:27 +0200
schrieb Jonas de Buhr :

> it's nice how much many people on this this list are willing to help
> in spite of all this. but am i really the only one who finds the
> behavior described above at least confusing?
> anyway, i'm quite convinced it is fake.

no, apparently i am not the only one thinking that:
http://www.stopforumspam.com/ipcheck/58.243.95.123

> 
> /jonas
> 
> Am Sun, 9 Oct 2011 21:44:28 +0800
> schrieb "Lavender" <448463...@qq.com>:
> 
> > Thank you all ! Thanks for helping , now I know which things I
> > should do . 
> >   
> >   -- 原始邮件 --
> >   发件人: "Michael Mol";
> >  发送时间: 2011年10月9日(星期天) 晚上9:40
> >  收件人: "gentoo-user"; 
> >  
> >  主题: Re: [gentoo-user] Anyone can afford information about build
> > kernel?
> > 
> >   
> > On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol 
> > wrote:
> > > On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463...@qq.com>
> > > wrote:
> > >> Yeah, your reply is exact what I mean , but I'm really confused
> > >> by those modules' names, I can't find any contact between the
> > >> hard device name and its module name . For example,  there is a
> > >> module named 3c59x.ko , I totally don't know what device it
> > >> present for ,
> > >
> > > This got a *lot* easier back when sysfs was added.
> > >
> > > cd /sys/module//drivers/
> > >
> > > And go from there
> > >
> > > lspci will help you see the 'text' name for the device in
> > > question.
> > >
> > > For example, let's say I don't know what the 'ahci' module is for.
> > >
> > > $ cd /sys/module/ahci/drivers
> > > $ ls
> > > pci:ahci
> > > $ cd pci\:ahci/
> > > $ ls
> > > :00:11.0  bind  module  new_id  remove_id  uevent  unbind
> > > $ sudo lspci|grep 11.0
> > > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> > > Controller [AHCI mode]
> > > $
> > >
> > > So now I know the ahci module manages my SATA controller.
> > 
> > Came up with something possibly a little handier. This command
> > should tell you what driver is associated with every device on the
> > system.
> > 
> > find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
> > -f10-|sed -e 's/\.\.\///g'
> > 
> > Output could probably still be a bit better cleaned up, but it
> > should help.
> > 


Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-11 Thread Jonas de Buhr
hey guys,

please don't get me wrong on this one, i mean no offense.
can anyone explain to me what this is? are these lavender threads some
kind of trolling i don't get?

it (apparently on purpose, since hints in that direction are ignored)
combines loads of annoying qualities:

- nondescriptive titles
- doing everything to rip apart threads: no In-Reply-To and even
  subject changes
- no line-breaks
- difficult to read incorrect punctuation (plenk)
- problem details are kept nebulous and info requests are ignored
- none of the proposed solutions are ever tried or commented

it's nice how much many people on this this list are willing to help in
spite of all this. but am i really the only one who finds the behavior
described above at least confusing?
anyway, i'm quite convinced it is fake.

/jonas

Am Sun, 9 Oct 2011 21:44:28 +0800
schrieb "Lavender" <448463...@qq.com>:

> Thank you all ! Thanks for helping , now I know which things I should
> do . 
>   
>   -- 原始邮件 --
>   发件人: "Michael Mol";
>  发送时间: 2011年10月9日(星期天) 晚上9:40
>  收件人: "gentoo-user"; 
>  
>  主题: Re: [gentoo-user] Anyone can afford information about build
> kernel?
> 
>   
> On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol  wrote:
> > On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463...@qq.com> wrote:
> >> Yeah, your reply is exact what I mean , but I'm really confused by
> >> those modules' names, I can't find any contact between the hard
> >> device name and its module name . For example,  there is a module
> >> named 3c59x.ko , I totally don't know what device it present for ,
> >
> > This got a *lot* easier back when sysfs was added.
> >
> > cd /sys/module//drivers/
> >
> > And go from there
> >
> > lspci will help you see the 'text' name for the device in question.
> >
> > For example, let's say I don't know what the 'ahci' module is for.
> >
> > $ cd /sys/module/ahci/drivers
> > $ ls
> > pci:ahci
> > $ cd pci\:ahci/
> > $ ls
> > :00:11.0  bind  module  new_id  remove_id  uevent  unbind
> > $ sudo lspci|grep 11.0
> > 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> > Controller [AHCI mode]
> > $
> >
> > So now I know the ahci module manages my SATA controller.
> 
> Came up with something possibly a little handier. This command should
> tell you what driver is associated with every device on the system.
> 
> find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
> -f10-|sed -e 's/\.\.\///g'
> 
> Output could probably still be a bit better cleaned up, but it should
> help.
> 


Re: 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-10 Thread James
Lavender <448463782  qq.com> writes:


> Thank you all ! Thanks for helping , now I know which things I should do .

http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml#livecd-kernel

Hello Lavender,

At the end of your last thread, I mentioned how to copy a kernel
from the boot/install media. The link about should get right
there (Section 2.8).

Once you get a booted kernel, then is just a matter of time
and effort until you get a target kernel to work. I always
keep at least 2 bootable kernels on any given system.


hth,
James






Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-10 Thread Neil Bothwick
On Mon, 10 Oct 2011 05:26:45 -0300, Spidey wrote:

> Just read the HELP pages (I use make menuconfig for configuration, but
> xconfig and gconfig should give you the help pages too) and when in
> doubt set the default option.

The search function is useful too, press / in menuconfig.


-- 
Neil Bothwick

Documentation: (n.) a novel sold with software, designed to entertain the
   operator during episodes of bugs or glitches.


signature.asc
Description: PGP signature


Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-10 Thread Spidey
I ended up learning how to build my own kernel with Google, basically. I've
learned about timers (HPET), chipset, sata controllers, the sata/pata
drivers in linux, sound architecture (alsa/oss/pulseaudio), debugging file
systems and messages, about the serial terminal (stty0), about kexec, DRM +
KMS...

Just read the HELP pages (I use make menuconfig for configuration, but
xconfig and gconfig should give you the help pages too) and when in doubt
set the default option.


Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Volker Armin Hemmann
Am Sonntag 09 Oktober 2011, 17:49:25 schrieb Lavender:
> Thanks a lot ! The e-book is nice ! Hmm,  , I
> haven't heard it before , would you like to recommend more books about
> linux kernel ? 

no, I don't know any other book (well.. one - linux/unix Kurzreferenz - all 
the commands, comaprism of shells, plus how to get out of vi(m) without going 
insanse, awk etc pp.. in one nice book).

 
>   -- Original --
>   From:  "Volker Armin Hemmann";
>  Date:  Sun, Oct 9, 2011 02:21 PM
>  To:  "gentoo-user"; 
>  
>  Subject:  Re: [gentoo-user] Anyone can afford information about build
> kernel?
 
>   
> Am Sonntag 09 Oktober 2011, 08:55:55 schrieb Lavender:
> 
> > It seems that no matter I build gentoo manually or with genkernel I
> > can't
 have a fine-working kernel finally. Obviously I must solve it by
> > myself , so I determined to build entire kernel all manually , it
> > requests a lot of linux knowlege . All for that, I hope someone could
> > tell me where to get this information , I haven't found them on
> > gentoo.org , so please lead me to the correct direction, thank you for
> > you all !
> 
> 
> http://www.kroah.com/lkn/
> 
> there. 
> 
> You can download it there. It helps you with building.
> 
> btw:
> make -jX && make modules_install install
> 
> With make all modules_install install
> or
> make && make modules_install
> 
> you only have one make instance. Which is very slow.
> 
> -- 
> #163933
-- 
#163933



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Dale

Michael Mol wrote:

find /sys/devices -name driver \
   -print0|xargs -0 ls -l|cut -d' ' \
   -f10-|sed -e 's/\.\.\///g'


That worked better.  I did have to copy it from the email to kwrite, 
because of the word wrapping, then to a Konsole.  It would be nice if we 
could disable that in plain text emails sometimes.  Word wrapping that is.


I was really looking forward to the book thing too.  Bummer.  Life's a 
biscuit then you get burned in the oven.  lol


Dale

:-)  :-)



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Michael Mol
On Sun, Oct 9, 2011 at 10:02 AM, Dale  wrote:
> Michael Mol wrote:
>>
>> Came up with something possibly a little handier. This command should tell
>> you what driver is associated with every device on the system. find
>> /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' -f10-|sed -e
>> 's/\.\.\///g' Output could probably still be a bit better cleaned up, but it
>> should help.
>
> Hmm:
>
> root@fireball / # find /sys/devices -name driver -print0|xargs -0 ls -l|cut
> -d' '-f10-|sed -e 's/\.\.\///g'
> cut: the delimiter must be a single character
> Try `cut --help' for more information.
> xargs: ls: terminated by signal 13
> root@fireball / #

Your -f got stuck attached to the -d argument.

Wordwrap reconstruction fail. :-|

Try this for an alternate representation:

find /sys/devices -name driver \
  -print0|xargs -0 ls -l|cut -d' ' \
  -f10-|sed -e 's/\.\.\///g'
-- 
:wq



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread meino . cramer
Lavender <448463...@qq.com> [11-10-09 03:07]:
> It seems that no matter I build gentoo manually or with genkernel I can't 
> have a fine-working kernel finally. Obviously I must solve it by myself , so 
> I determined to build entire kernel all manually , it requests a lot of linux 
> knowlege . All for that, I hope someone could tell me where to get this 
> information , I haven't found them on gentoo.org , so please lead me to the 
> correct direction, thank you for you all !

Hi,

when I am setup a new system for example after changing the
motherboard and CPU for some reason, I normally boot into
a live sysrtem like ubuntoo or such, check whether the most
things are running and do a lsmod. Then I mount the tmp dir rw 
of my hd, which is on a separate filesystem, and paste all
valuable info on that like the output of lsmod, lsusb and such.

Then I use this infos for setting up a new kernel.

Only ashot in the dark...

HTH!
Best regards,
mcc




Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Michael Mol
On Sun, Oct 9, 2011 at 9:59 AM, Dale  wrote:
> Michael Mol wrote:
>
> Let's not fail to mention lspci -k either.  That is a handy tool.

Heh. Now if only I'd known...

-- 
:wq



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Dale

Michael Mol wrote:
Came up with something possibly a little handier. This command should 
tell you what driver is associated with every device on the system. 
find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' 
-f10-|sed -e 's/\.\.\///g' Output could probably still be a bit better 
cleaned up, but it should help. 


Hmm:

root@fireball / # find /sys/devices -name driver -print0|xargs -0 ls 
-l|cut -d' '-f10-|sed -e 's/\.\.\///g'

cut: the delimiter must be a single character
Try `cut --help' for more information.
xargs: ls: terminated by signal 13
root@fireball / #

Dale

:-)  :-)



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Dale

Michael Mol wrote:

On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol  wrote:

On Sun, Oct 9, 2011 at 12:53 AM, Lavender<448463...@qq.com>  wrote:

Yeah, your reply is exact what I mean , but I'm really confused by those
modules' names, I can't find any contact between the hard device name and
its module name . For example,  there is a module named 3c59x.ko , I totally
don't know what device it present for ,

This got a *lot* easier back when sysfs was added.

cd /sys/module//drivers/

And go from there

lspci will help you see the 'text' name for the device in question.

For example, let's say I don't know what the 'ahci' module is for.

$ cd /sys/module/ahci/drivers
$ ls
pci:ahci
$ cd pci\:ahci/
$ ls
:00:11.0  bind  module  new_id  remove_id  uevent  unbind
$ sudo lspci|grep 11.0
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode]
$

So now I know the ahci module manages my SATA controller.

Came up with something possibly a little handier. This command should
tell you what driver is associated with every device on the system.

find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
-f10-|sed -e 's/\.\.\///g'

Output could probably still be a bit better cleaned up, but it should help.



Let's not fail to mention lspci -k either.  That is a handy tool.

Dale

:-)  :-)



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Dale

Volker Armin Hemmann wrote:

Am Sonntag 09 Oktober 2011, 08:55:55 schrieb Lavender:

It seems that no matter I build gentoo manually or with genkernel I can't
have a fine-working kernel finally. Obviously I must solve it by myself ,
so I determined to build entire kernel all manually , it requests a lot of
linux knowlege . All for that, I hope someone could tell me where to get
this information , I haven't found them on gentoo.org , so please lead me
to the correct direction, thank you for you all !

http://www.kroah.com/lkn/

there.

You can download it there. It helps you with building.

btw:
make -jX&&  make modules_install install

With make all modules_install install
or
make&&  make modules_install

you only have one make instance. Which is very slow.



I get 404 errors on the links on the page.  Is there some secret to 
getting them?


Dale

:-)  :-)



[gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Lavender
Thank you all ! Thanks for helping , now I know which things I should do .
   
  
  -- 原始邮件 --
  发件人: "Michael Mol";
 发送时间: 2011年10月9日(星期天) 晚上9:40
 收件人: "gentoo-user"; 
 
 主题: Re: [gentoo-user] Anyone can afford information about build kernel?

  
On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol  wrote:
> On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463...@qq.com> wrote:
>> Yeah, your reply is exact what I mean , but I'm really confused by those
>> modules' names, I can't find any contact between the hard device name and
>> its module name . For example,  there is a module named 3c59x.ko , I totally
>> don't know what device it present for ,
>
> This got a *lot* easier back when sysfs was added.
>
> cd /sys/module//drivers/
>
> And go from there
>
> lspci will help you see the 'text' name for the device in question.
>
> For example, let's say I don't know what the 'ahci' module is for.
>
> $ cd /sys/module/ahci/drivers
> $ ls
> pci:ahci
> $ cd pci\:ahci/
> $ ls
> :00:11.0  bind  module  new_id  remove_id  uevent  unbind
> $ sudo lspci|grep 11.0
> 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> Controller [AHCI mode]
> $
>
> So now I know the ahci module manages my SATA controller.

Came up with something possibly a little handier. This command should
tell you what driver is associated with every device on the system.

find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
-f10-|sed -e 's/\.\.\///g'

Output could probably still be a bit better cleaned up, but it should help.

-- 
:wq

Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Michael Mol
On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol  wrote:
> On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463...@qq.com> wrote:
>> Yeah, your reply is exact what I mean , but I'm really confused by those
>> modules' names, I can't find any contact between the hard device name and
>> its module name . For example,  there is a module named 3c59x.ko , I totally
>> don't know what device it present for ,
>
> This got a *lot* easier back when sysfs was added.
>
> cd /sys/module//drivers/
>
> And go from there
>
> lspci will help you see the 'text' name for the device in question.
>
> For example, let's say I don't know what the 'ahci' module is for.
>
> $ cd /sys/module/ahci/drivers
> $ ls
> pci:ahci
> $ cd pci\:ahci/
> $ ls
> :00:11.0  bind  module  new_id  remove_id  uevent  unbind
> $ sudo lspci|grep 11.0
> 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
> Controller [AHCI mode]
> $
>
> So now I know the ahci module manages my SATA controller.

Came up with something possibly a little handier. This command should
tell you what driver is associated with every device on the system.

find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' '
-f10-|sed -e 's/\.\.\///g'

Output could probably still be a bit better cleaned up, but it should help.

-- 
:wq



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Michael Mol
On Sun, Oct 9, 2011 at 12:53 AM, Lavender <448463...@qq.com> wrote:
> Yeah, your reply is exact what I mean , but I'm really confused by those
> modules' names, I can't find any contact between the hard device name and
> its module name . For example,  there is a module named 3c59x.ko , I totally
> don't know what device it present for ,

This got a *lot* easier back when sysfs was added.

cd /sys/module//drivers/

And go from there

lspci will help you see the 'text' name for the device in question.

For example, let's say I don't know what the 'ahci' module is for.

$ cd /sys/module/ahci/drivers
$ ls
pci:ahci
$ cd pci\:ahci/
$ ls
:00:11.0  bind  module  new_id  remove_id  uevent  unbind
$ sudo lspci|grep 11.0
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA
Controller [AHCI mode]
$

So now I know the ahci module manages my SATA controller.

> I mean I can't figure out that which
> module correspond to which device though I know the hard devices consisted
> of my PC. So I need information about contact between them so that I could
> know what modules need to be chosen in kernel ,  also the options of kernel
> are quiet a lot , there're many features that I  never heard , I want to
> find them out .
> May be you think these problems are too easy , but I have never contacted
> them before .

Pretty sure we've all been there before. It helps to have some
foreknowledge about hardware standards and the like, but it's not
strictly necessary. As long as you're interested in *how* to find
information, and use that knowledge once you find it, I don't doubt
people will be interested in helping.

-- 
:wq



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-09 Thread Lavender
Thanks a lot ! The e-book is nice ! Hmm,  , I 
haven't heard it before , would you like to recommend more books about linux 
kernel ? 
   
  -- Original --
  From:  "Volker Armin Hemmann";
 Date:  Sun, Oct 9, 2011 02:21 PM
 To:  "gentoo-user"; 
 
 Subject:  Re: [gentoo-user] Anyone can afford information about build kernel?

  
Am Sonntag 09 Oktober 2011, 08:55:55 schrieb Lavender:
> It seems that no matter I build gentoo manually or with genkernel I can't
> have a fine-working kernel finally. Obviously I must solve it by myself ,
> so I determined to build entire kernel all manually , it requests a lot of
> linux knowlege . All for that, I hope someone could tell me where to get
> this information , I haven't found them on gentoo.org , so please lead me
> to the correct direction, thank you for you all !

http://www.kroah.com/lkn/

there. 

You can download it there. It helps you with building.

btw:
make -jX && make modules_install install

With make all modules_install install
or
make && make modules_install

you only have one make instance. Which is very slow.

-- 
#163933

Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Volker Armin Hemmann
Am Sonntag 09 Oktober 2011, 08:55:55 schrieb Lavender:
> It seems that no matter I build gentoo manually or with genkernel I can't
> have a fine-working kernel finally. Obviously I must solve it by myself ,
> so I determined to build entire kernel all manually , it requests a lot of
> linux knowlege . All for that, I hope someone could tell me where to get
> this information , I haven't found them on gentoo.org , so please lead me
> to the correct direction, thank you for you all !

http://www.kroah.com/lkn/

there. 

You can download it there. It helps you with building.

btw:
make -jX && make modules_install install

With make all modules_install install
or
make && make modules_install

you only have one make instance. Which is very slow.

-- 
#163933



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Nilesh Govindarajan
On Sun 09 Oct 2011 10:23:50 AM IST, Lavender wrote:
> Yeah, your reply is exact what I mean , but I'm really confused by
> those modules' names, I can't find any contact between the hard device
> name and its module name . For example,  there is a module named
> 3c59x.ko , I totally don't know what device it present for , I mean I
> can't figure out that which module correspond to which device though I
> know the hard devices consisted of my PC. So I need information about
> contact between them so that I could know what modules need to be
> chosen in kernel ,  also the options of kernel are quiet a lot ,
> there're many features that I  never heard , I want to find them out .
> May be you think these problems are too easy , but I have never
> contacted them before . Forum I visited and books about Linux I readed
> are both not mentioned them ,  so I wish you all could instruct me.

Kernel module names are usually named according to a specific naming 
scheme like .ko
So here, 3c59x.ko is 3COM 59X device. 3COM ethernet cards are quite 
common.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Lavender
Yeah, your reply is exact what I mean , but I'm really confused by those 
modules' names, I can't find any contact between the hard device name and its 
module name . For example,  there is a module named 3c59x.ko , I totally don't 
know what device it present for , I mean I can't figure out that which module 
correspond to which device though I know the hard devices consisted of my PC. 
So I need information about contact between them so that I could know what 
modules need to be chosen in kernel ,  also the options of kernel are quiet a 
lot , there're many features that I  never heard , I want to find them out .
 May be you think these problems are too easy , but I have never contacted them 
before . Forum I visited and books about Linux I readed are both not mentioned 
them ,  so I wish you all could instruct me.
   -- Original --
  From:  "Nilesh Govindarajan";
 Date:  Sun, Oct 9, 2011 10:09 AM
 To:  "gentoo-user"; 
 
 Subject:  Re: [gentoo-user] Anyone can afford information about build kernel?

  
On 10/09/2011 06:25 AM, Lavender wrote:
> It seems that no matter I build gentoo manually or with genkernel I
> can't have a fine-working kernel finally. Obviously I must solve it by
> myself , so I determined to build entire kernel all manually , it
> requests a lot of linux knowlege . All for that, I hope someone could
> tell me where to get this information , I haven't found them on
> gentoo.org , so please lead me to the correct direction, thank you for
> you all !

If you're new to building kernel, it will take some time to learn what
modules you need what options you should enable, etc.
You're building gentoo on some host Linux os, so you can use that os's
lsmod utility to know what modules you require.

Also, if some modules may be compiled right into the kernel you may not
be able to see them in the lsmod produces, instead use lspci -v for that.

One important thing I learnt the hard way while building gentoo for a
server- Always compile the critical modules like disk controllers, RAID,
also don't forget to use RAID autodetection if you're not going to use
an initramfs and filesystems (involved at boot) statically.

While citing my experience about building gentoo on a server, you have
to do the things invisibly, so you can't see what the kernel emits befor
panic.

It turned out that I'd disabled RAID autodetection and wasn't using an
initramfs either (which will load the arrays using mdadm).

-- 
Nilesh Govindarajan
http://nileshgr.com

Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Nilesh Govindarajan
On 10/09/2011 06:25 AM, Lavender wrote:
> It seems that no matter I build gentoo manually or with genkernel I
> can't have a fine-working kernel finally. Obviously I must solve it by
> myself , so I determined to build entire kernel all manually , it
> requests a lot of linux knowlege . All for that, I hope someone could
> tell me where to get this information , I haven't found them on
> gentoo.org , so please lead me to the correct direction, thank you for
> you all !

If you're new to building kernel, it will take some time to learn what
modules you need what options you should enable, etc.
You're building gentoo on some host Linux os, so you can use that os's
lsmod utility to know what modules you require.

Also, if some modules may be compiled right into the kernel you may not
be able to see them in the lsmod produces, instead use lspci -v for that.

One important thing I learnt the hard way while building gentoo for a
server- Always compile the critical modules like disk controllers, RAID,
also don't forget to use RAID autodetection if you're not going to use
an initramfs and filesystems (involved at boot) statically.

While citing my experience about building gentoo on a server, you have
to do the things invisibly, so you can't see what the kernel emits befor
panic.

It turned out that I'd disabled RAID autodetection and wasn't using an
initramfs either (which will load the arrays using mdadm).

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Dale

Nick Khamis wrote:

cd /usr/src/linux
make menuconfig "select the list of modules/drivers you need for your box"
make modules_install


make && make modules_install


cp arch/i386/boot/bzImage /boot/kernel-2.6.3.
vi /boot/grub/grub.conf "nano if you have not used vi before"


title Gentoo Linux 2.6.36-r1
root (hd0,0)
kernel /boot/kernel-2.6.36-native-r3 root=/dev/sda3

reboot

If this is a fresh install, make mistakes, break your environment,
chroot into jail...This
is the only cure for your condition.

Nick.



Dale

:-)  :-)



Re: [gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Nick Khamis
cd /usr/src/linux
make menuconfig "select the list of modules/drivers you need for your box"
make modules_install
cp arch/i386/boot/bzImage /boot/kernel-2.6.3.
vi /boot/grub/grub.conf "nano if you have not used vi before"


title Gentoo Linux 2.6.36-r1
root (hd0,0)
kernel /boot/kernel-2.6.36-native-r3 root=/dev/sda3

reboot

If this is a fresh install, make mistakes, break your environment,
chroot into jail...This
is the only cure for your condition.

Nick.


On Sat, Oct 8, 2011 at 8:55 PM, Lavender <448463...@qq.com> wrote:
> It seems that no matter I build gentoo manually or with genkernel I can't
> have a fine-working kernel finally. Obviously I must solve it by myself , so
> I determined to build entire kernel all manually , it requests a lot of
> linux knowlege . All for that, I hope someone could tell me where to get
> this information , I haven't found them on gentoo.org , so please lead me to
> the correct direction, thank you for you all !



[gentoo-user] Anyone can afford information about build kernel?

2011-10-08 Thread Lavender
It seems that no matter I build gentoo manually or with genkernel I can't have 
a fine-working kernel finally. Obviously I must solve it by myself , so I 
determined to build entire kernel all manually , it requests a lot of linux 
knowlege . All for that, I hope someone could tell me where to get this 
information , I haven't found them on gentoo.org , so please lead me to the 
correct direction, thank you for you all !