1 |
From: "Richard Fish" <bigfish@××××××××××.org> |
2 |
To: gentoo-user@l.g.o |
3 |
Date: Wed, 12 Apr 2006 02:01:57 +0800 (CST) |
4 |
Subject: Re: [gentoo-user] error after update |
5 |
|
6 |
|
7 |
|
8 |
> |
9 |
> On 4/11/06, wcw84 <wcw84@×××.com> wrote: |
10 |
> > Then I updated in my second gentoo to gcc 4.0.2 and glibc2.4,and "emerge -e |
11 |
> > system && emerge -e world" and "etc-update" and update all the file.And when |
12 |
> > i reboot,error |
13 |
> > occured:"udev-event[1731]:find_free_number:%e is deprecated |
14 |
> > will be removed and is unlikely to work correctly.Don't use it." |
15 |
> |
16 |
> This is expected with the ~x86 udev, as the CD-ROM rules still use %e |
17 |
> to figure out the device name. Hopefully it goes away in a future |
18 |
> udev release, and we will all learn how to update our own rules that |
19 |
> use %e.... |
20 |
> |
21 |
> > and |
22 |
> > "network unreachable". |
23 |
> > |
24 |
> > After i logined,i typed:"ifconfig",it showed: |
25 |
> > eth0 Link encap:Ethernet HWaddr 00:E0:4C:8C:B8:C9 |
26 |
> > inet addr:0.0.0.255 Bcast:255.255.255.255 Mask:0.0.0.0 |
27 |
> |
28 |
> Ok so the driver is loaded and working. Looks like something is wrong |
29 |
> with your configuration though. |
30 |
> |
31 |
> What does "grep -v '^#' /etc/conf.d/net" show? |
32 |
> |
33 |
> > And the system don't have any sound now ,i can't find the file "dsp" in the |
34 |
> > /dev. |
35 |
> |
36 |
> Do you have alsasound set to start in the default runlevel (check |
37 |
> "rc-update -s")? Do you use the in-kernel modules or the external |
38 |
> alsa-driver package? If external, have you tried rebuildling it? |
39 |
> What does "lsmod | grep snd" report? |
40 |
> |
41 |
> BTW, /dev/dsp is the legacy oss device, and will only appear if you |
42 |
> have the snd_pcm_oss module loaded. The standard alsa interfaces show |
43 |
> up under /dev/snd/, with information at /proc/asound/. |
44 |
> |
45 |
> -Richard |
46 |
> |
47 |
> -- |
48 |
> gentoo-user@g.o mailing list |
49 |
> |
50 |
> |
51 |
I so appreciated the help from Richard!Thank you for telling me to add the alsasound to |
52 |
starting in default level.Now i have sound! |
53 |
But i still don't know how to deal with my network problem. |
54 |
This is my /etc/con.d/net: |
55 |
|
56 |
# This blank configuration will automatically use DHCP for any net.* |
57 |
# scripts in /etc/init.d. To create a more complete configuration, |
58 |
# please review /etc/conf.d/net.example and save your configuration |
59 |
# in /etc/conf.d/net (this file :]!). |
60 |
config_eth0=( "222.20.45.71 netmask 255.255.255.0 broadcast 222.20.45 255" ) |
61 |
routes_eth0=( "default gw 222.20.45.254" ) |
62 |
|
63 |
#config_eth0=( "192.168.1.31 netmask 255.255.255.0 broadcast 192.168.1.255" ) |
64 |
#routes_eth0=( "default gw 192.168.1.1" ) |
65 |
|
66 |
This file is just as it is before i update,and it can work before updating. |
67 |
Now when i start my system,it says: |
68 |
|
69 |
Start eth0 |
70 |
Bringing up eth0 |
71 |
222.20.45.71 |
72 |
Add routes |
73 |
default gw 222.20.45 254 |
74 |
SIOCADDRT: Netwoik is unreachable |
75 |
Mounting network filesystems |
76 |
Starting local |
77 |
|
78 |
Can anybody tell me how to do that? |
79 |
Thanks advanced! |