[gentoo-user] Can't log into KDE desktop

2011-12-18 Thread Lavender
Finally, finally I have the Xorg-server worked correctly and installde
KDE Meta. I wanna say it is so difficult to have done these !
Now , I can start KDE, but after I input username and password,
it only showed a panel with four icons( I think you guys who use KDE
will see this everytime when KDE starts), then it did not show the desktop.
Here is my kdm.log:

Note that your system uses syslog. All of kdm's internally generated messages
(i.e., not from libraries and external programs/scripts it uses) go to the
daemon.* syslog facility; check your syslog configuration to find out to which
file(s) it is logged. PAM logs messages related to authentication to authpriv.*.



klauncher(6561) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(6555)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(6555)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(1979) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(1973)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(1973)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2014) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2008)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2008)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2088) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2082)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2082)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2141) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2135)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2135)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2010) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2003)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2003)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2061) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2055)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2055)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 
klauncher(2072) kdemain: No DBUS session-bus found. Check if you have started 
the DBUS server. 
kdeinit4: Communication error with launcher. Exiting!
kdmgreet(2066)/kdecore (K*TimeZone*): KSystemTimeZones: ktimezoned initialize() 
D-Bus call failed:  Not connected to D-Bus server 


kdmgreet(2066)/kdecore (K*TimeZone*): No time zone information obtained from 
ktimezoned 


 As you can see, it reported that it can't connect to dbus service, so I  
/etc/init.d/dbus status
the result showed that dbus service had started.
I really hope you can help me, I can't wait to see a beautiful KDE desktop :-)

Re:Re: [gentoo-user] Can't log into KDE desktop

2011-12-18 Thread Lavender


Does this help?

http://forums.gentoo.org/viewtopic-t-889262-view-next.html?sid=362067832d51d0cad5d2e8bd2199b84b

I afraid it is not so much helpful.

Re:Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Lavender
At 2011-12-15 03:24:20,Michael Schreckenbauer grim...@gmx.de wrote:
Am Mittwoch, 14. Dezember 2011, 14:22:47 schrieb Lavender:
 Now I'm totally confused, I can't find helpful information from Internet.
 I know mesa is a open source implementation of OpenGL, obviously
 mesa will afford OpenGL API. DRI is short for Direct Rendering
 Infrastructure, I have chosen options like:
 Device Drivers ---
   Graphics support ---
   *  Direct Rendering Manager ---

this is DRM. This one manages allocation of memory for video devices.

   *ATI Radeon
   [*]  Enable modesetting on radeon by default
 
 Does this mean that DRI libraries are built into kernel? 

No.

 If not, who
 contains DRI? Also who affords GLX libraries? Mesa or Xorg?

DRI is part of mesa. Mesa also provides the GLX libraries.

Best,
Michael

Thanks and  I wish you could help answer this question.Now I know Mesa provides 
DRI and GLX, when I installed xorg-server,there're also libraries named like 
libdri.so and libglx.so in /etc/X11/(somewhere).What I don't understand is, 
why Xorg-server still provides its own DRI and GLX while Mesahas done this 
already?

Re:Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Lavender
About Mesa:
http://www.mesa3d.org/intro.html



About DRI:

http://dri.freedesktop.org/wiki/





--
  Andrés Becerra Sandoval


Thanks, the web pages you provided I have already read before, these don't seem 
to provide helpful issues for my questions.

Re:Re: [gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-15 Thread Lavender
libglx can also be provided by driver packages. You can select the
xorg one or others via eselect;

proxy adam # eselect opengl list
Available OpenGL implementations:
  [1]   ati *
  [2]   xorg-x11

Also, I imagine those kernel options supply an interface for the DRM/DRI 
driver.

Thank you very much ! I think I worked it out :)

[gentoo-user] Who can tell me relationship among dri,glx,mesa,xorg?

2011-12-13 Thread Lavender
Now I'm totally confused, I can't find helpful information from Internet.
I know mesa is a open source implementation of OpenGL, obviously
mesa will afford OpenGL API. DRI is short for Direct Rendering Infrastructure,
I have chosen options like:
Device Drivers ---
  Graphics support ---
  *  Direct Rendering Manager ---
  *ATI Radeon
  [*]  Enable modesetting on radeon by default

Does this mean that DRI libraries are built into kernel? If not, who contains 
DRI?
Also who affords GLX libraries? Mesa or Xorg?



Re:Re: [gentoo-user] Can't build firmware into kernel

2011-12-10 Thread Lavender

See if you can access it using ssh from another PC.  Then check 
/var/log/Xorg.0.log for any error messages.
-- 

I have checked my Xorg.0.log, there is no error message. I have a question,I 
read xorg.conf , I didn't find any area about Window Manage, so how xorg-server 
knowswhich WM to invoke when I use X -config /etc/X11/xorg.conf ?BTW, among 
my class I am the only one who uses Linux, so it's impossible to use ssh.

Re:Re: [gentoo-user] Can't build firmware into kernel

2011-12-09 Thread Lavender
No it's the gpu family.  Did you look at this link on James' page:

  http://en.wikipedia.org/wiki/Comparison_of_AMD_graphics_processing_units

Above each table it tells you which RXXX you should use, if your card is 
listed below.

Oh, I should use RV710, that is really a long distance from R600/R700.So should 
I add RV710_rlc.bin into External firmware blobs ?

Re:[gentoo-user] Lynx, Links, or Elinks?

2011-12-09 Thread Lavender
At 2011-12-09 19:38:06,Pandu Poluan pa...@poluan.info wrote:
As the subject says: Which text browser do you recommend?

( I just want to read some documentations in HTML. )

I'm using lynx, I feel it is great ! Lynx is small but efficient, I think it is 
totally enough for your demand, :-)

Re:Re: Re: [gentoo-user] Can't build firmware into kernel

2011-12-09 Thread Lavender
At 2011-12-10 10:42:03,Claudio Roberto França Pereira spide...@gmail.com 
wrote:
Yes, exactly. The first time you were missing
CONFIG_EXTRA_FIRMWARE_DIR, it should point to /lib/firmware if you've
emerged radeon-ucode.

Yes,that's right, when I checked my .config file I found that 
CONFIG_EXTRA_FIRMWARE_DIRis /firmware, then I corrected it and emerge 
xorg-server and twm.Command X -configure executed successfully , it did 
generate /root/xorg.conf.new.After that I used X -config  /root/xorg.conf.new 
, then screen turned black andOS can't response to any input.Then I cp 
/root/xorg.conf.new  /etc/X11/xorg.conf and startx,but the result didn't 
change, was OS crashed?


[gentoo-user] Can't build firmware into kernel

2011-12-08 Thread Lavender
I'm being working out with building KDE environment recently. 
Now I need installing Xorg first. As the The X Server Configuration HOWTO 
says,
if I use radeon card ,then I need emerge radeon-ucode or linux-firmware package.
Then I need rebuild my kernel with External firmware blobs . My video card 
belongs
to radeon 4000 series, so I should add radeon/R600_rlc.bin 
radeon/R700_rlc.bin as
it says into  External firmware blobs . But when I make, it says that it can't 
find files that I specific..
Can anyone help?

Re:Re: [gentoo-user] Can't build firmware into kernel

2011-12-08 Thread Lavender
I maintain http://en.gentoo-wiki.com/wiki/Radeon , which should sort you out.

If not, please post again  I'll update the article to be more helpful.

I'm sorry, cause the policy of  Internet in my country, I can't open the 
webpage.Could you send it to me or use other methods?

Re:Re: Re: [gentoo-user] Can't build firmware into kernel

2011-12-08 Thread Lavender
 I'm sorry, cause the policy of  Internet in my country, I can't open the
 webpage.

 Could you send it to me or use other methods?

Please see my off-list reply.

Thanks a lot ! But I used lspci -v | less, it printed vebose information, then 
I looked up carefullyfor my video card, but I did not find anything about 
R600,R700 or other like, I'm still not clearabout R*** things , is it chipset 
name?

Re: [gentoo-user] Can't build firmware into kernel

2011-12-08 Thread Lavender


Thanks a lot ! But I used lspci -v | less, it printed vebose information, then 
I looked up carefully
for my video card, but I did not find anything about R600,R700 or other like, 
I'm still not clear
about R*** things , is it chipset name?
Hmm, I re-installed radeon-ucode package and I'm sure that I have R600_rlc.bin 
cause I canlocate it in /lib/firmware/ and /usr/src/linux/somewhere. But when 
I use make , the error message like:make[1]: *** No rule to make target 
`firmware/radeon/R600_rlc.bin', needed by 
`firmware/radeon/R600_rlc.bin.gen.o'.  Stop.make: *** [firmware] Error 2
It's weird, because I think I have done all the Prerequisite correctly, so how 
could I 
fix it out ?



Re:Re: [gentoo-user] Can't build firmware into kernel

2011-12-08 Thread Lavender

I think you need:


CONFIG_PREVENT_FIRMWARE_BUILD=y

Configured into your kernel.

Have a look at your dmesg output. It should have your Radeon card
version listed. Mine is a Radeon REDWOOD chip.

Here's my kernel config relating to building firmware into the kernel:

Thank you, I'll try.  Hope it will be success...
(ignore the fact that I wastefully build in all the chip versions other
than the REDWOOD)

CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FIRMWARE_IN_KERNEL=y
CONFIG_EXTRA_FIRMWARE=radeon/REDWOOD_pfp.bin radeon/REDWOOD_rlc.bin \
radeon/REDWOOD_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin \
radeon/CEDAR_me.bin radeon/CYPRESS_me.bin radeon/CYPRESS_pfp.bin \
radeon/CYPRESS_rlc.bin radeon/JUNIPER_me.bin radeon/JUNIPER_pfp.bin \
radeon/JUNIPER_rlc.bin carl9170-1.fw
CONFIG_EXTRA_FIRMWARE_DIR=/lib/firmware

-- 
Regards,
Gregory.



[gentoo-user] Configure xorg Failed

2011-12-05 Thread Lavender
After xorg-server installed, I follow the description in the handbook using 
Xorg -configre. Unfortunately , it failed . The message is below:


[   621.762] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[   621.762] _XSERVTransOpen: transport open failed for inet6/Matrix:0
[   621.762] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for 
inet6
[   621.764] 
X.Org X Server 1.10.4
Release Date: 2011-08-19
[   621.764] X Protocol Version 11, Revision 0
[   621.764] Build Operating System: Linux 2.6.39-gentoo-r3 i686 Gentoo
[   621.765] Current Operating System: Linux Matrix 2.6.39-gentoo-r3 #2 SMP Tue 
Oct 25 17:47:50 HKT 2011 i686
[   621.765] Kernel command line: root=/dev/sda6 video=vesafb:mtrr,ywrap 
vga=0x317
[   621.765] Build Date: 06 December 2011  05:54:36PM
[   621.765]  
[   621.766] Current version of pixman: 0.22.2
[   621.766] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[   621.766] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   621.767] (==) Log file: /var/log/Xorg.0.log, Time: Tue Dec  6 18:02:07 
2011
[   621.767] (II) Loader magic: 0x81f2d80
[   621.767] (II) Module ABI versions:
[   621.767] X.Org ANSI C Emulation: 0.4
[   621.767] X.Org Video Driver: 10.0
[   621.767] X.Org XInput driver : 12.2
[   621.767] X.Org Server Extension : 5.0
[   621.770] (--) PCI:*(0:1:0:0) 1002:9552:103c:3644 rev 0, Mem @ 
0x8000/268435456, 0x9030/65536, I/O @ 0x3000/256, BIOS @ 
0x/131072
[   621.770] Missing output drivers.  Configuration failed.



Re:Re: [gentoo-user] Configure xorg Failed

2011-12-05 Thread Lavender
At 2011-12-06 10:52:35,Claudio Roberto França Pereira spide...@gmail.com 
wrote:
Did you try to build a kernel without network facilities?

What's that meaning? I built kernel with necessary drivers, of course I have a 
work-fine networkafter Gentoo built up . Does it have anything to do with X ?

Re:Re: Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-13 Thread Lavender

I don't think that has anything to do with KDE.

Maybe this forum thread is part of the answer?

http://forums.gentoo.org/viewtopic-t-886248-start-0.html

- Mark

This problem has solved,but I got another one.When I use startx , it says 
that modules ati vesa fbdev don't existand no screens found .-_-||  
Alright, how to get it done?

Re:Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-13 Thread Lavender

It seems that you have not installed the correct drivers for your card and/or 
have not defined these correctly in /etc/X11/xorg.conf, if indeed you have 
created such a file (it may not be necessary to create it unless there is a 
particular configuration need for your hardware).

I suggest you go back to the Gentoo instructions on how to install Xorg and 
retrace your steps.

I have already read it , it's not complicated just few steps to follow. I just 
don'tknow where the problem is.

Re:Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Lavender
I have recompiled the kernel as The X server configuration howto says.But 
when I emerge xorg-server  it had errors:!!!Error: The xorg-x11 OpenGL 
implementation doesn't seem to provide!!!Error: libGL.so file. This might be an 
effect of breakage introducedby a prioprietary driver installer. Please 
re-merge the package!!!Error: providing your OpenGL implementation!!!Error: 
Selected OpenGL implementation incompleteHmm, installing KDE is not that 
easy.So what's wrong with this?

[gentoo-user] Cannot start up KDE desktop Environment

2011-11-11 Thread Lavender
I have cost eight hours and forty minutes in installing KDE Meta.
When I wake up this morning it has done. But when I startx,
it can't work, output messages are below:
xauth: file /root/.serverauth. ( is changed each time
I use startx) does not exist
/etc/X11/xinit/xserverrc : line2 : /usr/bin/X  No such file or directory
/etc/X11/xinit/xserverrc : line2 : exec /usr/bin/X : Cannot execute : No such 
file or directory
xinit : giving up
xinit: unable to connect to X server : Connection refused
xinit : server error


I gotta to tell you that I'm not going to recompile whole package in order
to solve it.
So if anyone could afford simple methods, I would appreciate him .



Re:Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-11 Thread Lavender

Install kdm, modify /etc/conf.d/xdm, test it using /etc/init.d.xdm
start and turn kdm on permanently with rc-update

good luck,
Mark

Ah,thank you ! It seems that what I worried about would not happen :-)

Re:Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-11 Thread Lavender

The problem is that X is not installed. to install X, edit
/etc/make.conf and add VIDEO_CARDS=your video card here and emerge
xorg-server or emerge xorg-x11 to get X


Thanks, I hope it is all right  without errors .

[gentoo-user] Where is the souce code of software?

2011-11-10 Thread Lavender
Could anyone tell me that where I can find the source
code of software on my system? Such as ls, cd .etc.

Re:Re: [gentoo-user] Where is the souce code of software?

2011-11-10 Thread Lavender
At 2011-11-10 21:06:21,Michael Schreckenbauer grim...@gmx.de wrote:
Hi,

first you have to find out to  which package the binary you are interested in 
belongs to, eg
~ $ equery b /bin/ls
 * Searching for /bin/ls ... 
sys-apps/coreutils-8.14 (/bin/ls)

(If you don't have equery, install gentoolkit)

Use the command
emerge -f =cat/package-version
to download the sources to your distfiles.
(if they are already there, the command above downloads nothing)

Unpack them to somewhere in your $HOME, done.

Best,
Michael

Thank you ,I think I misunderstood.

Re:Re: [gentoo-user] Where is the souce code of software?

2011-11-10 Thread Lavender

Humm , I guess  he just want to look for the source code of gnu coreutils,

just download the gnu coreutils. http://ftp.cn.debian.org/gnu/coreutils/

uncompress it , then you can find them all .
 
Ha, you're right.  I don't know how to call them as you call them coreutils.
I just want to study simple codes at beginning. So, thanks a lot !


Re:[gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
Where can I get it ? I think it might have a English name cause I
didn't find it when I used name 飞天豹补丁 :-)
Also how to use it ? Directly install or build into kernel ?



在 2011-11-07 15:37:41,Blackdream W blackdream1...@gmail.com 写道:


We called 飞天豹补丁”


Re:Re: [gentoo-user] Re: Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender





:) 这家伙比较忙, 用到新内核上可能需要费点功夫。我是个闲人,我修改过补丁
会及时跟进最新的内核的。 ^_^

repo.or.cz/w/linux-2.6/cjktty.git

Er , I'm not very clear about what you said. These stuffs in the webpage
that you gave, which should be picked and how to use ?

Re:Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
I have created file named 00locale in directory /etc/env.d/ 
The content of 00locale is like below:
LANG=zh_CN.UTF-8
LC_CTYPE=zh_CN.UTF-8
the rest variables are all en_US.UTF-8
 
Then I used commands below:
#locale-gen
#env-update  source /etc/profile
But it still can't show Chinese, you said that a console font that displays 
double byte
also needed,so which font should I choose? 


At 2011-11-07 13:10:03,bill.long...@gmail.com wrote:
On Nov 6, 2011 8:01 PM, Lavender lavender_mat...@163.com wrote:


Lavender,

You should look into changing your locale, as a start. You can start here

http://www.gentoo.org/doc/en/guide-localization.xml

but for chinese you will also need to choose a console font that displays 
double byte.




在 2011-11-07 11:20:04,aca.jingru aca.jin...@gmail.com 写道:

zhcon
 
aca.jingru
 
Someone told me that zhcon is not stable, it may result in system crash.
I think safe method may be needed.




Re:[gentoo-user] Re: Re: Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-07 Thread Lavender
在 2011-11-07 22:28:34,microcai micro...@fedoraproject.org 写道:
merge the utf8 branch ,  enable CJK font , recompile your kernel. enjoy it.

Thank you very much !


[gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-06 Thread Lavender
As the subject shows, I want to show Chinese on console.
Even if it is possible I also wish to write Chinese on console.
I'm not very clear about how to manipulate it. Appreciate to
any help, thank you !

Re:[gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-06 Thread Lavender





在 2011-11-07 11:20:04,aca.jingru aca.jin...@gmail.com 写道:

zhcon
 
aca.jingru
 
Someone told me that zhcon is not stable, it may result in system crash.
I think safe method may be needed.

Re:Re: [gentoo-user] 回复: [gentoo-user] How to show Chinese or write Chinese on console ?

2011-11-06 Thread Lavender
在 2011-11-07 13:10:16,microcai micro...@fedoraproject.org 写道:

show 可以,有内核级别的中文补丁。

要 write 的话可以使用 zhcon 或者 fbterm 配合 ibus-fbterm

其实我只要show就可以了,补丁叫啥名字,是不是直接安装就行了?
PS:原来这里还有Chinese啊,平时都不见冒泡。


Re:[gentoo-user] Re:Re: Problem with sound card

2011-10-25 Thread Lavender
You have to have the the correct drivers and alsa-utils emerge.
Good luck

Yeah, I rebuilt my kernel according to documentation which relative
to ALSA . FInally I have configured all of them perfectly , ha,
it's really not easy :-)

[gentoo-user] Problem with sound card

2011-10-24 Thread Lavender
I have asked the question in gentoo forum , but
it seems that very few people like hanging around
in forums , I didn't get useful method.
My sound card can't work normally , when I use music
player there is no sound .
Someone said that I need low-level codec support , I'm not
sure whether it is. Here is the information in sysfs, I really
hope you can know where the problem is.
 
# ls /sys/class/sound
audio  card0 card1  controlC0  controlC1
dsp  hwC0D0  hwC1D0 mixer  mixer1
pcmC0D0c  pcmC0D0p  pcmC1D3p
seq  sequencer  sequencer2  timer
 
# ls -l /sys/class/sound/card0
lrwxrwxrwx 1 root root 0 Oct 25 03:37 card0 - 
../../devices/pci:00/:00:14.2/sound/card0
 
# ls /sys/class/sound/card0/
audio  controlC0  device  dsp
hwC0D0  id  mixer  number
pcmC0D0c  pcmC0D0p  power
subsystem  uevent
Regards
Lavender

Re:[gentoo-user] Re: Problem with sound card

2011-10-24 Thread Lavender
Er, if you have one sound card and one audio controller, then doesn't 
that make two sound cards? :-/  (One actual sound card (PCI or PCIe) and 
one integrated into the mainboard?)

Ha, I'm not comprehend with hardware .

You didn't install it then.  It's in the media-sound/alsa-utils package.

Also, if you want to know which sound drivers you need, look up the 
specs of your mainboard (or post your mainboard's brand and model here.)

OK , here is my mainborad information:
Brand and model :   HP 3644
Chip Set: AMD 760G/780G/780V/785G/790GX/880G/890GX
SN:   CND9501XTP
 
Er, can't I ask why you need this information? If the driver I built is not 
enough ?

[gentoo-user] Why I can't play music?

2011-10-23 Thread Lavender
When I modifed USE to USE=-X -gnome -kde -gtk ,
I finally successed in installing mplayer without graphical
desktop. But I got another problem.
 
# mplayer  christmas\ in\ my\ heart.mp3
 
It printed some error messages though mplayer could played mp3 file
without sound.
 
Error Message:
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat 
returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer 
returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand) Evaluate error: No such 
file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO_ALSA] Playback open error: No such file or directory
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO_ALSA] alsa-lib: confmisc.c:768:(parse_card) cannot find card '0'
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function 
snd_func_card_driver returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:392:(snd_func_concat) error evaluating strings
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_concat 
returned error: No such file or directory
[AO_ALSA] alsa-lib: confmisc.c:1251:(snd_func_refer) error evaluating name
[AO_ALSA] alsa-lib: conf.c:4184:(_snd_config_evaluate) function snd_func_refer 
returned error: No such file or directory
[AO_ALSA] alsa-lib: conf.c:4663:(snd_config_expand)
Evaluate error: No such file or directory
[AO_ALSA] alsa-lib: pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM default
[AO SDL] Unable to open audio: No available audio device
DVB card number must be between 1 and 4
AO: [null] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
 
The sound card driver I have built into kernel . When I used lspci,
I can see that hda_intel is the driver for sound card.
So what's wrong with it ?

Re:Re: [gentoo-user] Why I can't play music?

2011-10-23 Thread Lavender
First use modules. This post [1] from the forum is about the mic but
it walks you through the process of setting up sound pretty well.
HTH David

[1] http://forums.gentoo.org/viewtopic-t-869451-start-0.html


Thanks , I hope I can listen music when I finish reading this article.

Re:Re: [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work?

2011-10-22 Thread Lavender

Who told you that?
I searched information though internal search engine,
all I got was that wpa_supplicant don't support AES and
once I had tried it just like the configuration you gave ,
it failed ,so I thought wpa_supplicant  still don't support AES .
Sorry, I made a mistake :-( , but finally I make it ,I can connect
 the Internet .

 

[gentoo-user] Can I send email under linux terminal?

2011-10-22 Thread Lavender
Actually the subject is not correct . The emails
I sent before were writtern on a web page , not on 
linux system , because I haven't install a KDE
desktop which means I only can work under linux
terminal.
So whenever I want to write a email I have to reboot
my computer and boot the windows system. I'm thinking that
if I can send or receive mails just under terminal, no
need web pages or windows. Also at the same time could
I send mails though the mail server what I use right now under
terminal?




Re:Re: [gentoo-user] Can I send email under linux terminal?

2011-10-22 Thread Lavender
Well, there's more than one ways to achieve the same result.

You can continue to use a webmail account with a text mode web browser.  There 
are a few to choose from - some will work better than others:

 www-client/elinks

 www-client/links

 www-client/lynx
 
Ha , the language I use is Chinese ,although I can install some kinds
of software to show Chinese under console I wouldn't like do it .

Alternatively, you can use a mail client from within a console or an X 
terminal like:

 mail-client/mutt

 mail-client/alpine

 mail-client/pine

Most of these require that you learn their respective key-binding commands, 
but have extensive documentation.  mutt is probably used more widely these 
days and there are a few users in this M/L familiar with it.

So I think I should read documentation about  mutt.
Thank you very much !

Re:Re: [gentoo-user] Can I send email under linux terminal?

2011-10-22 Thread Lavender
Take a look at mail-client/mutt.
http://wiki.mutt.org/index.cgi?MuttGuide

Regards,
Florian Philipp

 Thanks a lot , I will try it out.


[gentoo-user] How to install music player without graphic ?

2011-10-22 Thread Lavender
I added USE=-KDE to /etc/make.conf ,
but when I use emerge like below :
# sudo emerge mplayer
OR
#sudo emerge amorok
I found that the emerge always download
something which contact with X11/lib .
I don't know why the USE I set have no effect.
I only want to listem music under console , no
more fuither , so how to figure this out ?

Re:Re: [gentoo-user] How to install music player without graphic ?

2011-10-22 Thread Lavender
Try installing  mpg123


Ha, I think I'd better solve this problem first
Thank you all the same :-)

Re:[gentoo-user] Re: How to install music player without graphic ?

2011-10-22 Thread Lavender
Well, these are X applications (and Amarok is a KDE application.) 
Obviously they need X to work.  USE flags are there to configure 
*optional* dependencies and behaviors.  For mplayer and Amarok, these 
dependencies are not optional.

As others mentioned, you should install a command line player.  There 
are a few.  mpg123 is not really a media player though.  You might want 
to look at this:

http://tuxarena.blogspot.com/2009/04/several-powerful-console-music-players.html


Thank you ! No wonder it didn't work . Maybe I indeed need to install a KDE 
desktop .


Re:[gentoo-user] Re: How to install music player without graphic ?

2011-10-22 Thread Lavender
Well, these are X applications (and Amarok is a KDE application.) 
Obviously they need X to work.  USE flags are there to configure 
*optional* dependencies and behaviors.  For mplayer and Amarok, these 
dependencies are not optional.

As others mentioned, you should install a command line player.  There 
are a few.  mpg123 is not really a media player though.  You might want 
to look at this:

http://tuxarena.blogspot.com/2009/04/several-powerful-console-music-players.html


Wait ! I remember once when I used Federa , I also installed mplayer from 
source code .
Mplayer afforded an option looked like --without-graphic , Then I could use 
mplayer under
console and it didn't contact with graphical desktop.
 
It seems that documentation about mplayer is needed . 

[gentoo-user] 回复: [gentoo-user] Why can't I set the resolution of console ?

2011-10-21 Thread Lavender
I rebuild my kernel ,I chose extra options which are contact 
 with VESA :
  
 [*]VESA  VGA graphics support
 [*]Userspace VESA VGA graphics support
 [*]ATI Radeon display support
  
 I'm sure that the vesa frame buffer support option was 
 chosen by default.
 Then I write grub.conf like this:
  
 root=/dev/sda6  video=1024x768M@60m
  
 It is what the document in source tree exactly shows. The 
 system can start up and there is no error message ,but resolution
 no changed .
 Why it would be this? How can I figure it out?
   
  

  -- 原始邮件 --
  发件人: Andrey Moshbearandrey@gmail.com;
 发送时间: 2011年10月20日(星期四) 下午2:06
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Why can't I set the resolution of console ?

  
On Thu, Oct 20, 2011 at 02:05, Lavender 448463...@qq.com wrote:
 I edit the command line of grub at boot time .
 I passed some parametres to kernel like below:

 root=/dev/sda6 video=atyfb:1024x768@60m

 and I also tried another one:

 root=/dev/sda6 video=aty128fb:1024x768@60m

 Both of them didn't show any error messages and the system
 can start up, but the resolution still no changed.

 There is an issue happened in my buiding kernel : I hadn't found
 the driver for my video card. I'm not sure whether it has anything
 to do with this issue?

 BTW, my video card information is below:

 ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

[gentoo-user] Why iwconfig wlan0 enc can't work?

2011-10-21 Thread Lavender
The essid of my dormitory wireless netword is Rebellion
 and its password is I'll leave it up to you(It's OK to tell
 you this private information :-) ) .
 I typed command below
 #iwconfig wlan0 up
 #iwconfig wlan0 essid Rebellion
 Commands above worked normally, then
  
 #iwconfig wlan0 mode master
  
 Our AP mode which iwlist shows is master,
 but the command above failed. Error message was
 Invalid argument.
 Then I typed
 #iwconfig wlan0 mode managed 
 This worked , then
 #iwconfig wlan0 enc I'll leave it up to you
 This failed with error message Invalid argument
  
 I have searched the internet , but I didn't find 
 useful information .  The password is right , it 
 can work on windows system .So what's wrong
 with it?

[gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work?

2011-10-21 Thread Lavender
What!!!  I know wpa_supplicant don't support
 AES encryption method ,so I use wireless tools..
 So it seems that I have to use wpa_supplicant and 
 change AES encryption method into TKIP.
  I feel a little depressed :-(
  
   
  
  -- 原始邮件 --
  发件人: Michael Molmike...@gmail.com;
 发送时间: 2011年10月21日(星期五) 晚上10:08
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Why iwconfig wlan0 enc can't work?

  
On Fri, Oct 21, 2011 at 10:03 AM, Lavender 448463...@qq.com wrote:
 The essid of my dormitory wireless netword is Rebellion
 and its password is I'll leave it up to you(It's OK to tell
 you this private information :-) ) .
 I typed command below
 #iwconfig wlan0 up
 #iwconfig wlan0 essid Rebellion
 Commands above worked normally, then

 #iwconfig wlan0 mode master

 Our AP mode which iwlist shows is master,
 but the command above failed. Error message was
 Invalid argument.
 Then I typed
 #iwconfig wlan0 mode managed
 This worked , then
 #iwconfig wlan0 enc I'll leave it up to you
 This failed with error message Invalid argument

 I have searched the internet , but I didn't find
 useful information .  The password is right , it
 can work on windows system .So what's wrong
 with it?

What encryption method is used by the AP? The method you described
only kinda works for WEP. If the AP is using WPA or WPA2, you need a
WPA supplicant.

-- 
:wq

[gentoo-user] 回复:[gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc can't work?

2011-10-21 Thread Lavender
Ha , thank you ,I will improve it :)
   
  
  -- 原始邮件 --
  发件人: Michael Molmike...@gmail.com;
 发送时间: 2011年10月22日(星期六) 凌晨0:07
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Why iwconfig wlan0 enc 
can't work?

  
2011/10/21 Lavender 448463...@qq.com:
 What!!!  I know wpa_supplicant don't support
 AES encryption method ,so I use wireless tools..
 So it seems that I have to use wpa_supplicant and
 change AES encryption method into TKIP.
  I feel a little depressed :-(

A WPA supplicant is a process which negotiates keychanges for WPA.
wpa_supplicant is not the only WPA supplicant package available;
there's also NetworkManager and wicd.

Also, while you've improved your posting form significantly, and
that's greatly appreciated, it'd be even more helpful if you learned
to bottom-post rather than top-post.

https://en.wikipedia.org/wiki/Posting_style#Bottom-posting

(interleaved posting also works nicely)

-- 
:wq

[gentoo-user] Why can't I set the resolution of console ?

2011-10-20 Thread Lavender
I edit the command line of grub at boot time .
 I passed some parametres to kernel like below:
  
 root=/dev/sda6 video=atyfb:1024x768@60m
  
 and I also tried another one:
  
 root=/dev/sda6 video=aty128fb:1024x768@60m
  
 Both of them didn't show any error messages and the system
 can start up, but the resolution still no changed. 
  
 There is an issue happened in my buiding kernel : I hadn't found
 the driver for my video card. I'm not sure whether it has anything
 to do with this issue?
  
 BTW, my video card information is below:
  
 ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

[gentoo-user] 回复: [gentoo-user] Why can't I set the resolution of console ?

2011-10-20 Thread Lavender
I just checked my system and found that there is no V86d utility.
 It is wired because I remember the vesa option was chosen
 by default  :-(  . What should I do now? Should I rebuild my kernel or
 compiled vesa into module ?
   
  
  -- 原始邮件 --
  发件人: Andrey Moshbearandrey@gmail.com;
 发送时间: 2011年10月20日(星期四) 下午2:06
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Why can't I set the resolution of console ?

  
On Thu, Oct 20, 2011 at 02:05, Lavender 448463...@qq.com wrote:
 I edit the command line of grub at boot time .
 I passed some parametres to kernel like below:

 root=/dev/sda6 video=atyfb:1024x768@60m

 and I also tried another one:

 root=/dev/sda6 video=aty128fb:1024x768@60m

 Both of them didn't show any error messages and the system
 can start up, but the resolution still no changed.

 There is an issue happened in my buiding kernel : I hadn't found
 the driver for my video card. I'm not sure whether it has anything
 to do with this issue?

 BTW, my video card information is below:

 ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

Is vesafb/uvesafb* compiled in?

*needs v86d and initrd with /sbin/v86d in it

[gentoo-user] 回复: [gentoo-user] Why can't I set the resolution of console ?

2011-10-20 Thread Lavender
I searched the parametres though the documents in kernel source tree.
 The document shows just like what I wrote .
   
  
  -- 原始邮件 --
  发件人: Bill Kenworthybi...@iinet.net.au;
 发送时间: 2011年10月20日(星期四) 下午2:52
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Why can't I set the resolution of console ?

  
On Thu, 2011-10-20 at 14:05 +0800, Lavender wrote:
 I edit the command line of grub at boot time .
 I passed some parametres to kernel like below:
  
 root=/dev/sda6 video=atyfb:1024x768@60m
  
 and I also tried another one:
  
 root=/dev/sda6 video=aty128fb:1024x768@60m
  
 Both of them didn't show any error messages and the system
 can start up, but the resolution still no changed. 
  
 There is an issue happened in my buiding kernel : I hadn't found
 the driver for my video card. I'm not sure whether it has anything
 to do with this issue?
  
 BTW, my video card information is below:
  
 ATI Technologies Inc M92 LP  (ATI Radeon 4330 series)

you have aty in the strings above - shouldnt it be ati

I dont currently have an ati card to check, but it doesnt look right ...

BillK

[gentoo-user] How to find the parameters that the kernel support?

2011-10-19 Thread Lavender
How can I find out what parametres the kernel supports when it is in bootstrap?

Re: [gentoo-user] How to find the parameters that the kernelsupport?

2011-10-19 Thread Lavender
Thanks a lot  :-)
   
  
  -- Original --
  From:  Raffaele BELARDIraffaele.bela...@st.com;
 Date:  Wed, Oct 19, 2011 05:22 PM
 To:  gentoo-user@lists.gentoo.orggentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] How to find the parameters that the kernelsupport?

  
On 10/19/2011 11:15 AM, Lavender wrote:
 How can I find out what parametres the kernel supports when it is in
 bootstrap?
 

It's documented in the kernel source tree:

/usr/src/linux/Documentation/kernel-parameters.txt

[gentoo-user] Apologize to everyone for my nonprofessional

2011-10-14 Thread Lavender
First of all I think I should apologize for my poor English , you must be very 
painful to read my letters.
I'm a Chinese student and my English is not very well , actually  it's suck. So 
I will pay attention to making
letters more clear to understand. 
 
To be honest, I'm not good at writing e-mails as most Chinese does . We almost 
don't use e-mail . I know
the letters I send don't have a clear subject and its contents are verbose , so 
I'm really sorry , I won't do that
any longer.
 
Michael Mol , you're right , I should reply in time, but you know it is 11:00 
pm here when it is 7:00 am or 8:00 am in
your place , maybe I went to bed and forgot this next morning . But it's not an 
excuse for me , so I will note it .
 
You said there're no line-breaks in my letters , I'm not very clear about this, 
can you send a screenshot for me ? 
It is all normall in my mailbox . 
 
At last I want to explain why I don't try some methods you provide . I like to 
reach the essence of one thing , I want 
to know exactly why it should be this but not that . So the letters I reply 
become more and more simple , I will control myself to reply
clearly.

[gentoo-user] 回复: [gentoo-user] Apologize to everyone for my nonprofessional

2011-10-14 Thread Lavender
It's my fault, there're no line-breaks because I wrote the letters 
exactly like what the screenshot shows . I will write just like
this letter. No more questions , good evening and tomorrow is
a nice day !
 
 
-- 原始邮件 --
发件人: Michael Molmike...@gmail.com;
发送时间: 2011年10月14日(星期五) 晚上11:52
收件人: gentoo-usergentoo-user@lists.gentoo.org; 

主题: Re: [gentoo-user] Apologize to everyone for my nonprofessional

 
On Fri, Oct 14, 82011 at 11:43 AM, Lavender 448463...@qq.com wrote:
 First of all I think I should apologize for my poor English , you must be
 very painful to read my letters.
 I'm a Chinese student and my English is not very well , actually  it's suck.
 So I will pay attention to making
 letters more clear to understand.

 To be honest, I'm not good at writing e-mails as most Chinese does . We
 almost don't use e-mail . I know
 the letters I send don't have a clear subject and its contents are verbose ,
 so I'm really sorry , I won't do that
 any longer.

Very much appreciated!


 Michael Mol , you're right , I should reply in time, but you know it
 is 11:00 pm here when it is 7:00 am or 8:00 am in
 your place , maybe I went to bed and forgot this next morning . But it's not
 an excuse for me , so I will note it .

Hey, we've all got lives outside this mailing list. Except Dale, perhaps. :)


 You said there're no line-breaks in my letters , I'm not very clear about
 this, can you send a screenshot for me ?
 It is all normall in my mailbox .

This one came across fine, but see the attached screenshot. (Not sure
if the list will filter it. If the attachment doesn't make it through,
I'll link to the file)


 At last I want to explain why I don't try some methods you provide . I like
 to reach the essence of one thing , I want
 to know exactly why it should be this but not that . So the letters I reply
 become more and more simple , I will control myself to reply
 clearly.

I hope your experiences on this mailing list help you refine your
language skills. Sounds like you're reasonably motivated. :)


-- 
:wq

[gentoo-user] Can't find driver for VGA in kernel source tree

2011-10-14 Thread Lavender
Hello, everyone ! I'm trying to build a kernel 
 manully and there is a problem.
 I use lspci command and it shows my
 VGA card information:
  
 01:00.0 VGA compatible controller:
 ATI Technologies Inc M92 LP 
  
 Then I type
 $ cd /sys/bus/pci/devices/:01:00.0
 $ cat vendor
 $ cat device
  
 Now I get the vendor ID 0x1002
 and the device ID 0x9552 for my VGA card
  
 Then I type
 $ grep -i 0x1002 include/linux/pci_ids.h 
 It shows #define PCI_VENDOR_ID_ATI  0x1002
  
 $grep -i 0x9552 include/linux/pci_ids.h
 It shows nothing
 $grep -Rl PCI_VENDOR_ID_ATI
 It prints a lot message, but I should notice
 files in directory drivers/media video and gpu.
 Here are the files in them:
 /drivers/media/video/cx88/cx88-card.c
 /drivers/video/aty/radeon_base.c
 /drivers/video/aty/atyfb_base.c
 /drivers/video/aty/aty128fb.c
 /drivers/drm/radeon/radeon_agp.c
  
 I have searched through these files, but I didn't
 find both 0x1002 and 0x9552 in one file which 
 means these files are not drivers I need.
 If it means that there is no driver for my VGA in 
 kernel source tree ? But my laptop is bought two
 years ago, hardware is not fashion.

[gentoo-user] 回复: [gentoo-user] Can't find driver for VGA in kernel source tree

2011-10-14 Thread Lavender
I have just tried , the output is like something below
  
 01:00.0 VGA compatible controller:  ATI Technologies Inc M92 LP
 Subsystem: Hewlett-Packard Company Device 3644
 Flags: bus master, fast devsel, latency 0, IRQ 10
 Memory at 8000 (32bit, prefetchable) [size=256M]
 I/O ports at 3000 [size=256]
 Memory at 9030 (32bit, non-prefetchable) [size=64K]
 Expansion ROM at 9032 [disabled] [size=128K]
 Capabilities: [50] Power Management version 3
 Capabilities: [58] Express Legacy Endpoint, MSI 00
 Capabilities: [a0] MSI: Enabel- Count=1/1 Maskable- 64bit+
 Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 ?
  
 How can I find the driver according to these information ?

   
  -- 原始邮件 --
  发件人: Nilesh Govindarajancont...@nileshgr.com;
 发送时间: 2011年10月15日(星期六) 中午11:43
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Can't find driver for VGA in kernel source tree

  
On Sat 15 Oct 2011 07:43:23 AM IST, Lavender wrote:
 Hello, everyone ! I'm trying to build a kernel
 manully and there is a problem.
 I use lspci command and it shows my
 VGA card information:
  
 01:00.0 VGA compatible controller:
 ATI Technologies Inc M92 LP
  
 Then I type
 $ cd /sys/bus/pci/devices/:01:00.0
 $ cat vendor
 $ cat device
  
 Now I get the vendor ID 0x1002
 and the device ID 0x9552 for my VGA card
  
 Then I type
 $ grep -i 0x1002 include/linux/pci_ids.h 
 It shows #define PCI_VENDOR_ID_ATI  0x1002
  
 $grep -i 0x9552 include/linux/pci_ids.h
 It shows nothing
 $grep -Rl PCI_VENDOR_ID_ATI
 It prints a lot message, but I should notice
 files in directory drivers/media video and gpu.
 Here are the files in them:
 /drivers/media/video/cx88/cx88-card.c
 /drivers/video/aty/radeon_base.c
 /drivers/video/aty/atyfb_base.c
 /drivers/video/aty/aty128fb.c
 /drivers/drm/radeon/radeon_agp.c
  
 I have searched through these files, but I didn't
 find both 0x1002 and 0x9552 in one file which
 means these files are not drivers I need.
 If it means that there is no driver for my VGA in
 kernel source tree ? But my laptop is bought two
 years ago, hardware is not fashion.

Have you tried lspci -v which gives verbose information about the 
device, including the modules involved?

-- 
Nilesh Govindarajan
http://nileshgr.com

[gentoo-user] Where to get the gentoo kernel?

2011-10-13 Thread Lavender
I want to download it . I have searched in the distfiles directory on the 
mirorrs , but I don't know where to get it . Anyone can tell me ?

Re: [gentoo-user] Where to get the gentoo kernel?

2011-10-13 Thread Lavender
Yeah , I know it works , but I wanna know exactly where it it , because my 
school will cut the electricity down after 11 pm . I need to get it before I 
could not .
   
  
  -- Original --
  From:  meino.cramermeino.cra...@gmx.de;
 Date:  Thu, Oct 13, 2011 09:52 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] Where to get the gentoo kernel?

  
Lavender 448463...@qq.com [11-10-13 15:48]:
 I want to download it . I have searched in the distfiles directory on the 
 mirorrs , but I don't know where to get it . Anyone can tell me ?

Hi,

try

eix gentoo-sources

and than (as superuser)

emerge gentoo-sources

HTH!

Best regards,
mcc

Re: [gentoo-user] Where to get the gentoo kernel?

2011-10-13 Thread Lavender
Suddenly I got an idea , is there great difference between gentoo kernel and 
the original kernel ? 
 I want to build linux with the original kernel , but where have gentoo 
modified based original kernel ? Security , speed or anywhere else ? If I do 
this, can the linux I built  be called gentoo ?
   
  
  -- Original --
  From:  Lavender448463...@qq.com;
 Date:  Thu, Oct 13, 2011 09:56 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] Where to get the gentoo kernel?

  
 Yeah , I know it works , but I wanna know exactly where it it , because my 
school will cut the electricity down after 11 pm . I need to get it before I 
could not .
   
  
  -- Original --
  From:  meino.cramermeino.cra...@gmx.de;
 Date:  Thu, Oct 13, 2011 09:52 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] Where to get the gentoo kernel?

  
Lavender 448463...@qq.com [11-10-13 15:48]:
 I want to download it . I have searched in the distfiles directory on the 
 mirorrs , but I don't know where to get it . Anyone can tell me ?

Hi,

try

eix gentoo-sources

and than (as superuser)

emerge gentoo-sources

HTH!

Best regards,
mcc

Re: [gentoo-user] Where to get the gentoo kernel?

2011-10-13 Thread Lavender
Thank you ,I thought it would be named gentoo-sth, no wonder I haven't found 
it .
   
  
  -- Original --
  From:  Alan McKinnonalan.mckin...@gmail.com;
 Date:  Thu, Oct 13, 2011 09:47 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] Where to get the gentoo kernel?

  
On Thu, 13 Oct 2011 21:44:05 +0800
Lavender 448463...@qq.com wrote:

 I want to download it . I have searched in the distfiles directory on
 the mirorrs , but I don't know where to get it . Anyone can tell me ?

It's called linux-something on the distfiles mirrors

You can download the master image from kernel.org

emerge gentoo-sources will do all that for you.

This is extremely basic gentoo knowledge, fully described in the
documentation. Why are you still having trouble with these concepts? 

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

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

2011-10-09 Thread Lavender
Thanks a lot ! The e-book is nice ! Hmm, Linux Kernel in a Nutshell , I 
haven't heard it before , would you like to recommend more books about linux 
kernel ? 
   
  -- Original --
  From:  Volker Armin Hemmannvolkerar...@googlemail.com;
 Date:  Sun, Oct 9, 2011 02:21 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 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

[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 Molmike...@gmail.com;
 发送时间: 2011年10月9日(星期天) 晚上9:40
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Anyone can afford information about build kernel?

  
On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol mike...@gmail.com 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/modulename/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] 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 !

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 Govindarajancont...@nileshgr.com;
 Date:  Sun, Oct 9, 2011 10:09 AM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 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

[gentoo-user] 回复: [gentoo-user] Help!

2011-10-05 Thread Lavender
I did that manually, did I lose something when I build the kernel ? But I 
really turn the options which handbook mentioned on . I don't know how to work 
out.
   
  
  -- 原始邮件 --
  发件人: Yohan Pereirayohan.pere...@gmail.com;
 发送时间: 2011年10月5日(星期三) 下午3:18
 收件人: gentoo-usergentoo-user@lists.gentoo.org; 
 
 主题: Re: [gentoo-user] Help!

  
 
On Wednesday 05 Oct 2011 12:52:41 Lavender wrote:
 
 Hi, everybody! I installed gentoo according to Gentoo Handbook , then I
 
 login gentoo . But I found that I couldn't use wpa_supplicant for scanning
 
 netcard device failed . I think that means the netcard module not loaded,
 
 so I type lsmod and the output have only one line-Modules , according to
 
 the Handbook I have written many modules to the file
 
 /etc/modules.autoload.d/kernel2.6 though I don't know those modules respond
 
 for what. 
 
Now the question is that I don't know whether gentoo loaded
 
 those modules that in file kernel2.6 which I created. Handbook said that
 
 modules in /etc/modules.autoload.d/kernel2.6 will be loaded automatically,
 
 but why there is only one line in output when I use command lsmod? I’m
 
 going to be crazy! When I use gentoo I really realize that the knowlege
 
 needed is far more than I just have, I have to acknowledge that I'm a
 
 freshman.So please help me.
 
 
 
How did you build your kernel? using genkernel or manually? 
 
 
 
 
 
-- 
 
 
 
- Yohan Pereira

[gentoo-user] Why grub can't load win kernel

2011-10-05 Thread Lavender
The configuration of win kernel in grub.conf is like below:
  
 rootnoverify (hd0,0)
 makeactive
 chainloader +1
  
 It worked yesterday , but after I rebuilding grub software, it can't work. I 
don't know why, it still can boot
 gentoo kernel, I am confused,because grub only can do operations to MBR, it 
can not influence contents on windows
 partition.
 I also tried boot manually in grub command interface, but after showing load 
stage2 it goes back to grub   I'm 
 gonna pissed. I have many important things in windows system, will someone 
 figure it out?

Re: [gentoo-user] Why grub can't load win kernel

2011-10-05 Thread Lavender
Sorry, I'm a gentoo newcomer, so I am totally not familar with this OS. Does 
USE make sense with grub ? 
 And in the building there is no error, I had grub-install done. Grub boot 
interface can show up , I can choose
 which OS to boot, but I couldn't boot win , what is the problem in your 
opinion?
   
  
  -- Original --
  From:  Alan McKinnonalan.mckin...@gmail.com;
 Date:  Wed, Oct 5, 2011 11:39 PM
 To:  gentoo-usergentoo-user@lists.gentoo.org; 
 
 Subject:  Re: [gentoo-user] Why grub can't load win kernel

  
On Wed, 5 Oct 2011 23:32:10 +0800
Lavender 448463...@qq.com wrote:

 The configuration of win kernel in grub.conf is like below:
   
  rootnoverify (hd0,0)
  makeactive
  chainloader +1
   
  It worked yesterday , but after I rebuilding grub software, it can't
 work. I don't know why, it still can boot gentoo kernel, I am
 confused,because grub only can do operations to MBR, it can not
 influence contents on windows partition. I also tried boot manually
 in grub command interface, but after showing load stage2 it goes
 back to grub   I'm gonna pissed. I have many important
 things in windows system, will someone  figure it out?

What version of grub, and what options (USE flags) was grub built with?

Any errors from the build of grub?
(check /var/log/portage/elog)

Did you run grub-install like the ebuild tells you to do at the end?

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

[gentoo-user] Help!

2011-10-04 Thread Lavender
Hi, everybody! I installed gentoo according to Gentoo Handbook , then I login 
gentoo . But I found that I couldn't use wpa_supplicant for scanning netcard 
device failed . I think that means the netcard module not loaded, so I type 
lsmod and the output have only one line-Modules , according to the Handbook I 
have written many modules to the file /etc/modules.autoload.d/kernel2.6 though 
I don't know those modules respond for what.  
 Now the question is  that I don't know whether gentoo loaded those modules 
that in file kernel2.6 which I created.
 Handbook said that modules in /etc/modules.autoload.d/kernel2.6 will be loaded 
automatically, but why there is only one line in output when I use command 
lsmod? 
 I’m going to be crazy! When I use gentoo I really realize that the knowlege 
needed is far more than I just have, I have to acknowledge that I'm a 
freshman.So please help me.