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] I can't INSTALL vim-core!!!

2011-10-09 Thread 1990 dqgcs
.-(~)-(ayu@Freedom
)-
`--> portageq config_protect
/etc /usr/share/config /usr/share/gnupg/qualified.txt

This is the output,but it does any matter ?

2011/10/9 Neil Bothwick 

> On Sat, 8 Oct 2011 21:05:31 +0800, 1990 dqgcs wrote:
>
> > After emerge -auvDN world,Portage asks me to reinstall
> > app-editors/vim-core-7.3.266,but finaly i failed
> > it stays at "installing
> >
> /var/tmp/portage/app-editors/vim-core-7.3.266/image//usr/share/man/fr/man1/vim.1
> > " forever(in fact,i wait about half an hour)
> > what should i do?PLZ help!!!
>
> I had this happen when something added an NFS share to CONFIG_PROTECT
> in /etc/env.d.
>
> See if "portageq config_protect" shows anything that would take a long
> time to scan.
>
>
> --
> Neil Bothwick
>
> WinErr 01F: Reserved for future mistakes of our developers.
>


Re: [gentoo-user] I can't INSTALL vim-core!!!

2011-10-09 Thread 1990 dqgcs
I apply the update package.keywords and package.use ,but I still can't
install it .I will try to compile vim by myself.

2011/10/8 Jonas de Buhr 

> please run etc-update and try again
>
> Am Sat, 8 Oct 2011 21:05:31 +0800
> schrieb 1990 dqgcs :
>
> > HI
> >
> > After emerge -auvDN world,Portage asks me to reinstall
> > app-editors/vim-core-7.3.266,but finaly i failed
> > it stays at "installing
> >
> /var/tmp/portage/app-editors/vim-core-7.3.266/image//usr/share/man/fr/man1/vim.1
> > " forever(in fact,i wait about half an hour)
> > what should i do?PLZ help!!!
> > the attachement is the output of the emerge while installing gvim.
> >
> > Best Wishes
> > Nicola Eleree
>
>


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 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



[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 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

:-)  :-)



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

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 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 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 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 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] Re: tabbed x11-terms/rxvt-unicode

2011-10-09 Thread James Cloos
AM> "USE=perl" tells you squat, you don't even know what effect it will
AM> have. You'd have to read the ebuild and the source to figure that out.

AM> A MUCH better name is "USE=tabs" with a description like this "Provide
AM> multiple tabs, requires perl."

No, that is not a better name for the USE flag.

Anyone who has read the docs for rxvt-unicode knows that the perl
extension is just that, an *extension*.  It is perfectly valid to
configure rxvt-unicode with --disable-perl.  And on some smaller
boxen it may even be necessary.  (Sometimes conserving ram is more
important than extra functionality.)

perl is the right USE flag for rxvt-unciode, and should remain a
USE flag.  It enables much more functionality than just the tabbed
extension, but does so at an expense.  An expense which is easily
noticed on smaller boxen.

-JimC
-- 
James Cloos  OpenPGP: 1024D/ED7DAEA6



Re: [gentoo-user] DVB-T and "Teletext"

2011-10-09 Thread Volker Armin Hemmann
Am Sonntag 09 Oktober 2011, 08:47:09 schrieb meino.cra...@gmx.de:
> Hi,
> 
> (sorry if this may only apply to german television...)
> 
> Kaffeine/vlc are installed for watching DVB-T broadcast,
> but I cannot access Teletext.
> 
> How can I access Teletext on DVB-T ???

with alevt. Google would have told you that
or with vlc.
Google too.

>From google:
alevt -vbi /dev/dvb/adapter0/demux0

--
#163933



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] DVB-T and "Teletext"

2011-10-09 Thread meino . cramer
Volker Armin Hemmann  [11-10-09 19:00]:
> Am Sonntag 09 Oktober 2011, 08:47:09 schrieb meino.cra...@gmx.de:
> > Hi,
> > 
> > (sorry if this may only apply to german television...)
> > 
> > Kaffeine/vlc are installed for watching DVB-T broadcast,
> > but I cannot access Teletext.
> > 
> > How can I access Teletext on DVB-T ???
> 
> with alevt. Google would have told you that
> or with vlc.
> Google too.
> 
> From google:
> alevt -vbi /dev/dvb/adapter0/demux0
> 
> --
> #163933
> 

Hi Volker,

from my own experience, which lead to my posting:
It does not work that way...

Do you know of other possibilities?





Re: [gentoo-user] DVB-T and "Teletext"

2011-10-09 Thread Volker Armin Hemmann
Am Sonntag 09 Oktober 2011, 19:08:22 schrieb meino.cra...@gmx.de:
> Volker Armin Hemmann  [11-10-09 19:00]:
> > Am Sonntag 09 Oktober 2011, 08:47:09 schrieb meino.cra...@gmx.de:
> > > Hi,
> > > 
> > > (sorry if this may only apply to german television...)
> > > 
> > > Kaffeine/vlc are installed for watching DVB-T broadcast,
> > > but I cannot access Teletext.
> > > 
> > > How can I access Teletext on DVB-T ???
> > 
> > with alevt. Google would have told you that
> > or with vlc.
> > Google too.
> > 
> > From google:
> > alevt -vbi /dev/dvb/adapter0/demux0
> > 
> > --
> > #163933
> 
> Hi Volker,
> 
> from my own experience, which lead to my posting:
> It does not work that way...
> 
> Do you know of other possibilities?

nope - I am using kaffeine and do not miss teletext...

-- 
#163933



Re: [gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-09 Thread Alan McKinnon
On Sun, 09 Oct 2011 12:48:09 -0400
James Cloos  wrote:

> AM> "USE=perl" tells you squat, you don't even know what effect it
> AM> will have. You'd have to read the ebuild and the source to figure
> AM> that out.
> 
> AM> A MUCH better name is "USE=tabs" with a description like this
> AM> "Provide multiple tabs, requires perl."
> 
> No, that is not a better name for the USE flag.
> 
> Anyone who has read the docs for rxvt-unicode knows that the perl
> extension is just that, an *extension*.  It is perfectly valid to
> configure rxvt-unicode with --disable-perl.  And on some smaller
> boxen it may even be necessary.  (Sometimes conserving ram is more
> important than extra functionality.)
> 
> perl is the right USE flag for rxvt-unciode, and should remain a
> USE flag.  It enables much more functionality than just the tabbed
> extension, but does so at an expense.  An expense which is easily
> noticed on smaller boxen.


Fair enough. I suspected the flag might enable plugins and considered
finding out what it actually does. But I didn't bother because I don't
use rxvt myself and that specific wasn't the point of my post anyway.

I still maintain the "perl" is not a good name for that flag. It does
not describe what the flag accomplishes, it describes an implementation
detail of how it is used. USE="perl" communicates very little; it might
communicate a lot to you if you know the guts of the app, but very
little to the casual observer wanting to find out what rxvt is.

I run into this kind of thing all the time, and not just with USE
flags, it's endemic amongst coders. The problem is best described like
so "high level description should expose what your code does, not how it
does it". I understand why coders make this kind of mistake -
expediency. It's easier to re-use the existing perl flag than to make a
whole new one in use.local.desc

For rxvt, a suitable flag name would be "plugins"


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



Re: [gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-09 Thread Michael Orlitzky
On 10/09/11 13:53, Alan McKinnon wrote:
> 
> For rxvt, a suitable flag name would be "plugins"
> 

Or if there were some package-specific documentation that said, "perl:
enable the following plugins (written in perl): tabs, transparency, etc."

In fact, that would be my favorite solution.



Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-09 Thread Neil Bothwick
On Sat, 08 Oct 2011 19:11:11 -0500, Dale wrote:

> I might also add, some of my meds don't help either.  Is there a med 
> that doesn't make a person gain weight?  :/

Arsenic, strychnine or cyanide is large enough doses do that :)


-- 
Neil Bothwick

Give a man a fish and you have fed him for a day, but give him a case of
dynamite and soon the village will be showered with mud and seaweed and
unidentifiable chunks of fish.


signature.asc
Description: PGP signature


Re: [gentoo-user] I can't INSTALL vim-core!!!

2011-10-09 Thread Neil Bothwick
On Sun, 9 Oct 2011 20:50:50 +0800, 1990 dqgcs wrote:

> `--> portageq config_protect
> /etc /usr/share/config /usr/share/gnupg/qualified.txt
> 
> This is the output,but it does any matter ?

No, you have a different problem.

PS The convention on this list is to not top-post.


-- 
Neil Bothwick

Walking on water and writing software to specification is easy if they're
frozen.


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-09 Thread Dale

Neil Bothwick wrote:

On Sat, 08 Oct 2011 19:11:11 -0500, Dale wrote:


I might also add, some of my meds don't help either.  Is there a med
that doesn't make a person gain weight?  :/

Arsenic, strychnine or cyanide is large enough doses do that :)





LOL  That would solve a few other problems too.  Then again, it may 
solve a few other peoples problem too.  That would be when I am gone of 
course.  ;-)


Dale

:-)  :-)



Re: [gentoo-user] Re: tabbed x11-terms/rxvt-unicode

2011-10-09 Thread Pandu Poluan
On Oct 10, 2011 2:01 AM, "Michael Orlitzky"  wrote:
>
> On 10/09/11 13:53, Alan McKinnon wrote:
> >
> > For rxvt, a suitable flag name would be "plugins"
> >
>
> Or if there were some package-specific documentation that said, "perl:
> enable the following plugins (written in perl): tabs, transparency, etc."
>
> In fact, that would be my favorite solution.
>

Agree.

The current USE flags are already proper.

What's lacking is a list of consequences for disabling/enabling each
applicable flag.

Rgds,


Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-09 Thread Pandu Poluan
On Oct 10, 2011 2:52 AM, "Neil Bothwick"  wrote:
>
> On Sat, 08 Oct 2011 19:11:11 -0500, Dale wrote:
>
> > I might also add, some of my meds don't help either.  Is there a med
> > that doesn't make a person gain weight?  :/
>
> Arsenic, strychnine or cyanide is large enough doses do that :)
>

Gosh, you're extreme ... :-P

Rgds,


Re: [gentoo-user] {OT} Computers and mental/emotional health

2011-10-09 Thread Dale

Pandu Poluan wrote:



On Oct 10, 2011 2:52 AM, "Neil Bothwick" > wrote:

>
> On Sat, 08 Oct 2011 19:11:11 -0500, Dale wrote:
>
> > I might also add, some of my meds don't help either.  Is there a med
> > that doesn't make a person gain weight?  :/
>
> Arsenic, strychnine or cyanide is large enough doses do that :)
>

Gosh, you're extreme ... :-P

Rgds,



Nah, he just likes to pick on me.  ;-)

Dale

:-)  :-)