public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: Re: [gentoo-user] error after update
@ 2006-04-12 15:03 wcw84
  2006-04-12 15:14 ` Hans-Werner Hilse
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: wcw84 @ 2006-04-12 15:03 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2873 bytes --]

From: "Richard Fish" <bigfish@asmallpond.org> 
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 <wcw84@163.com> 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 
>  
>  
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! 

[-- Attachment #2: Type: text/html, Size: 3890 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [gentoo-user] error after update
@ 2006-04-11 13:52 wcw84
  2006-04-11 18:01 ` Richard Fish
  0 siblings, 1 reply; 7+ messages in thread
From: wcw84 @ 2006-04-11 13:52 UTC (permalink / raw
  To: gentoo-user@gentoo.o... 

[-- Attachment #1: Type: text/plain, Size: 1698 bytes --]

 
 
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.
 

[-- Attachment #2: Type: text/html, Size: 3034 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-04-12 15:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-12 15:03 Re: [gentoo-user] error after update wcw84
2006-04-12 15:14 ` Hans-Werner Hilse
2006-04-12 15:27   ` Richard Fish
2006-04-12 15:15 ` Richard Fish
2006-04-12 15:47 ` Uwe Thiem
  -- strict thread matches above, loose matches on Subject: below --
2006-04-11 13:52 wcw84
2006-04-11 18:01 ` Richard Fish

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox