Re: [Cooker] kernel-2.4.6-5mdk, 8139too problem
On Thursday 19 July 2001 02:49 am,Tomas Perez yclept: ... > > So, has anyone had a similar problem or know of a possible solution? > > Thanks in advance I have the realtek 8139 chip too, and I haven't had network configurability with cooker for a couple of months now. -m-
Re: [Cooker] kernel-2.4.6-5mdk, 8139too problem
On Thu, 19 Jul 2001, [iso-8859-1] Stefan Hußfeldt wrote: > |check_link_down () > |{ [snip] > |} > |... > > |[root@kilroy root]# /sbin/mii-tool eth0 > |eth0: no link > > When i disable the check_link_down function it works. Dunno, but the mii-tool doesn't work anymore with newer kernel too: [root@mobile /root]# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:02:DD:70:32:97 inet addr:192.168.1.199 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST NOTRAILERS RUNNING MTU:1500 Metric:1 RX packets:313 errors:0 dropped:0 overruns:0 frame:0 TX packets:404 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:174480 (170.3 Kb) TX bytes:39711 (38.7 Kb) Interrupt:7 Base address:0x300 [root@mobile /root]# mii-tool eth0 SIOCGMIIPHY on 'eth0' failed: Operation not supported
Re: [Cooker] kernel-2.4.6-5mdk, 8139too problem
On Thu, 19 Jul 2001, Stefan Hußfeldt wrote: > On Thu, Jul 19, 2001 at 12:49:24PM +0200, Tomas Perez wrote: > > > Well, the new kernel boots ok, but I lose network connectivity. > > Determining IP information... > > failed; no link present. Check cable? > > Still the same problem :( See my workaround: > [workaround snipped] > > Any hints? > - Wow, your workaround works indeed, thanks! However, I searched around a bit on the linux kernel mailing list and some other places and it seems like there are some other issues with newer versions of the driver (see my other followup post). In particular, the changelog for the most recent -ac kernel has this entry: Drop back to older 8139too driver from 2.4.3 (http://marc.theaimsgroup.com/?l=linux-kernel&m=99529444725518&w=2) So I think I'm going to stay with 2.4.3 for now. If I understand correctly, mii-tool sets up the interface at the media layer. I'm very curious how disabling this actually fixes the problem (but it obviously does, hmm). -- Tomas Perez aka frenetik Mail: [EMAIL PROTECTED] "Cui peccare licet peccat minus." -- Ovid, Amores
Re: [Cooker] kernel-2.4.6-5mdk, 8139too problem
On Thu, Jul 19, 2001 at 12:49:24PM +0200, Tomas Perez wrote: > Well, the new kernel boots ok, but I lose network connectivity. > Determining IP information... > failed; no link present. Check cable? Still the same problem :( See my workaround: - Date: Mon, 16 Jul 2001 20:57:31 +0200 From: =?iso-8859-1?Q?Stefan_Hu=DFfeldt?= <[EMAIL PROTECTED]> To: Cooker Mailingliste <[EMAIL PROTECTED]> Subject: Re: [Cooker] network unreachable Message-ID: <[EMAIL PROTECTED]> On Mon, Jul 16, 2001 at 01:11:34PM -0500, Vincent Meyer wrote: > Has anyone been able to work around the network problem with the > "check cable" message? I can't do much with this system without > a network, and am totally stumped. (ok, which I admit doesn't > take a whole lot to stump me.. but still :-) ) There was no reply on my last mail about this problem. I only have a workaround. - From: Stefan Hußfeldt <[EMAIL PROTECTED]> Date: Mon, 9 Jul 2001 18:42:58 +0200 Subject: no network with cooker (2001-07-09) - /sbin/mii-tool problem To: Cooker Mailingliste <[EMAIL PROTECTED]> User-Agent: Mutt/1.2.5i After updating to latest cooker (2001-07-09) my network doesn't start anymore. I think it depends on |if check_link_down ${DEVICE}; then | echo " failed; no link present. Check cable?" | exit 1 |fi from /sbin/ifup. /etc/sysconfig/network-scripts/network-functions: |... |check_link_down () |{ |if [ -x /sbin/mii-tool ]; then |output=`/sbin/mii-tool $1 2>&1` |if echo $output | grep -q "Operation not supported"; then |return 1 |elif echo $output | grep -q "link ok"; then |return 1 |else |return 0 |fi |fi |return 0 |} |... |[root@kilroy root]# /sbin/mii-tool eth0 |eth0: no link When i disable the check_link_down function it works. Any hints? - -- Und Tschüss. Stefan ### Kilroy was here ### 5481 2:00pm up 119 days
Re: [Cooker] kernel-2.4.6-5mdk, 8139too problem
Hi again, quick followup to my previous post: I dug around a bit and found some additional info regarding the 8139too module and recent linux kernels. First of all, the modules provided in the "standard" linux source are different from those in the kernel-source-2.4.6-5mdk package... kernel-source-2.4.6-5mdk: #define DRV_VERSION "0.9.18" kernel source 2.4.6 vanilla: #define DRV_VERSION "0.9.18-pre4" kernel-source-2.4.3-20mdk: #define RTL8139_VERSION "0.9.15c" Second, it seems the problem occurs in conjunction with using DHCP for IP setup. It has been discussed on the linux kernel mailing list: http://marc.theaimsgroup.com/?l=linux-kernel&m=99119889711365&w=2 http://marc.theaimsgroup.com/?l=linux-kernel&m=99450845001201&w=2 http://marc.theaimsgroup.com/?t=9884722973&w=2&r=1 And finally, a bug report seems to have been filed to Mandrakesoft already: https://qa.mandrakesoft.com/cgi-bin/show_bug.cgi?id=4040 So, it seems at present the kernel people are advising to replace the current 8139too.c with the 2.4.3 version. Maybe this information could be useful when building the next cooker rpm. -- Tomas Perez aka frenetik Mail: [EMAIL PROTECTED] "Cui peccare licet peccat minus." -- Ovid, Amores