Re: Re: [gentoo-user] error after update
From: Richard Fish [EMAIL PROTECTED] To: gentoo-user@lists.gentoo.org Date: Wed, 12 Apr 2006 02:01:57 +0800 (CST) Subject: Re: [gentoo-user] error after update On 4/11/06, wcw84 [EMAIL PROTECTED] wrote: Then I updated in my second gentoo to gcc 4.0.2 and glibc2.4,and emerge -e system emerge -e world and etc-update and update all the file.And when i reboot,error occured:udev-event[1731]:find_free_number:%e is deprecated will be removed and is unlikely to work correctly.Don't use it.This is expected with the ~x86 udev, as the CD-ROM rules still use %e to figure out the device name. Hopefully it goes away in a future udev release, and we will all learn how to update our own rules that use %e and network unreachable. After i logined,i typed:ifconfig,it showed: eth0 Link encap:Ethernet HWaddr 00:E0:4C:8C:B8:C9 inet addr:0.0.0.255 Bcast:255.255.255.255 Mask:0.0.0.0Ok so the driver is loaded and working. Looks like something is wrong with your configuration though.What does grep -v '^#' /etc/conf.d/net show? And the system don't have any sound now ,i can't find the file dsp in the /dev.Do you have alsasound set to start in the default runlevel (check rc-update -s)? Do you use the in-kernel modules or the external alsa-driver package? If external, have you tried rebuildling it? What does lsmod | grep snd report?BTW, /dev/dsp is the legacy oss device, and will only appear if you have the snd_pcm_oss module loaded. The standard alsa interfaces show up under /dev/snd/, with information at /proc/asound/.-Richard-- gentoo-user@gentoo.org mailing list I so appreciated the help from Richard!Thank you for telling me to add the alsasound to starting in default level.Now i have sound! But i still don't know how to deal with my network problem. This is my /etc/con.d/net: # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( 222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255 ) routes_eth0=( default gw 222.20.45.254 ) #config_eth0=( 192.168.1.31 netmask 255.255.255.0 broadcast 192.168.1.255 ) #routes_eth0=( default gw 192.168.1.1 ) This file is just as it is before i update,and it can work before updating. Now when i start my system,it says: Start eth0 Bringing up eth0 222.20.45.71 Add routes default gw 222.20.45 254 SIOCADDRT: Netwoik is unreachable Mounting network filesystems Starting local Can anybody tell me how to do that? Thanks advanced! 中 国 每 年 用 掉 多 少 双 一 次 性 筷 子 ? 450亿双。这会耗费170万立方米的木材,需要砍伐大约2500万棵大树! <网易邮箱公益宣传>
Re: [gentoo-user] error after update
Hi, On Wed, 12 Apr 2006 23:03:39 +0800 (CST) wcw84 [EMAIL PROTECTED] wrote: config_eth0=( 222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255 ) There's a dot missing right before the last 255. -hwh -- gentoo-user@gentoo.org mailing list
Re: Re: [gentoo-user] error after update
On 4/12/06, wcw84 [EMAIL PROTECTED] wrote: I so appreciated the help from Richard!Thank you for telling me to add the alsasound to starting in default level.Now i have sound! My pleasure. But i still don't know how to deal with my network problem. This is my /etc/con.d/net: # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( 222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255 ) routes_eth0=( default gw 222.20.45.254 ) According to /etc/conf.d/net.example, this should how be: routes_eth0=( default via 222.20.45.254 ) Start eth0 Bringing up eth0 222.20.45.71 Ok, so do you now see this address when you do ifconfig? Before you were getting something completely different. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] error after update
On 4/12/06, Hans-Werner Hilse [EMAIL PROTECTED] wrote: Hi, On Wed, 12 Apr 2006 23:03:39 +0800 (CST) wcw84 [EMAIL PROTECTED] wrote: config_eth0=( 222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255 ) There's a dot missing right before the last 255. Nice catch! -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] error after update
On 12 April 2006 16:03, wcw84 wrote: # This blank configuration will automatically use DHCP for any net.* # scripts in /etc/init.d. To create a more complete configuration, # please review /etc/conf.d/net.example and save your configuration # in /etc/conf.d/net (this file :]!). config_eth0=( 222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255 ) routes_eth0=( default gw 222.20.45.254 ) Is this a verbatim copy from your config? There is a . missing in your broadcast between 45 and 255. Anyway, isn't this a rather old syntax? Have a look int net.example. It's much easier now. Uwe -- Why do consumers keep buying products they will live to curse? -- gentoo-user@gentoo.org mailing list
[gentoo-user] error after update
Hi everybody!Last time,my first gentoo could not have any sound.And I think i had tried every way .At last I had a new gentoo system,and it was OK with sound.Then i copy the /etc in my second system with sound to the fist system which is without sound ,and then my first gentoo is Ok with sound!Then I updated in my second gentoo to gcc 4.0.2 and glibc2.4,and "emerge -e system emerge -e world" and "etc-update" and update all the file.And when i reboot,error occured:"udev-event[1731]:find_free_number:%e is deprecated will be removed and is unlikely to work correctly.Don't use it." and "network unreachable".After i logined,i typed:"ifconfig",it showed:eth0 Link encap:Ethernet HWaddr 00:E0:4C:8C:B8:C9 inet addr:0.0.0.255 Bcast:255.255.255.255 Mask:0.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:4712 errors:0 dropped:0 overruns:0 frame:0 TX packets:2 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:392339 (383.1 Kb) TX bytes:120 (120.0 b) Interrupt:11 Base address:0xc400 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)But i checked the file resolve.conf,hosts,net ,it's OK!And the system don't have any sound now ,i can't find the file "dsp" in the /dev.Don't you think is so weird!I think maybe there is some bug with the init script. 中 国 每 年 用 掉 多 少 双 一 次 性 筷 子 ? 450亿双。这会耗费170万立方米的木材,需要砍伐大约2500万棵大树! <网易邮箱公益宣传>
Re: [gentoo-user] error after update
On 4/11/06, wcw84 [EMAIL PROTECTED] wrote: Then I updated in my second gentoo to gcc 4.0.2 and glibc2.4,and emerge -e system emerge -e world and etc-update and update all the file.And when i reboot,error occured:udev-event[1731]:find_free_number:%e is deprecated will be removed and is unlikely to work correctly.Don't use it. This is expected with the ~x86 udev, as the CD-ROM rules still use %e to figure out the device name. Hopefully it goes away in a future udev release, and we will all learn how to update our own rules that use %e and network unreachable. After i logined,i typed:ifconfig,it showed: eth0 Link encap:Ethernet HWaddr 00:E0:4C:8C:B8:C9 inet addr:0.0.0.255 Bcast:255.255.255.255 Mask:0.0.0.0 Ok so the driver is loaded and working. Looks like something is wrong with your configuration though. What does grep -v '^#' /etc/conf.d/net show? And the system don't have any sound now ,i can't find the file dsp in the /dev. Do you have alsasound set to start in the default runlevel (check rc-update -s)? Do you use the in-kernel modules or the external alsa-driver package? If external, have you tried rebuildling it? What does lsmod | grep snd report? BTW, /dev/dsp is the legacy oss device, and will only appear if you have the snd_pcm_oss module loaded. The standard alsa interfaces show up under /dev/snd/, with information at /proc/asound/. -Richard -- gentoo-user@gentoo.org mailing list