Problems with eepro100 and kernel 2.4.6

Problems with eepro100 and kernel 2.4.6

Post by Mike Crawfor » Thu, 12 Jul 2001 09:00:09



I have just upgraded from Linux Kernel 2.4.5 to 2.4.6 and I have a small annoying problem with the eepro100 driver.  Every time I put my system into an APM suspend and then resume the machine, the driver stops working and will not let me bring up the interface until I remove the module and reinstall it.  I am using the exact same config as I did in 2.4.5.  Computer is a Compaq Armada M700.  I inserted in this message what I do at the command line and my syslog.  It's not a big issue, just something that is a little annoying.

Mike Crawford

--- Stuff I do at the command line ---

[0] ryo-ohki:~# lsmod
Module                  Size  Used by
eepro100               16464   0  (autoclean)
printer                 5088   0
vfat                    9424   0  (autoclean)
fat                    32224   0  (autoclean) [vfat]
maestro                27104   2  (autoclean)
vmnet                  18912   3
vmmon                  18768   0  (unused)
md                     42112   0  (unused)
uhci                   23200   0  (unused)
usbcore                50064   1  [printer uhci]
[0] ryo-ohki:~# ifconfig eth0 172.18.228.21 netmask 255.255.0.0
SIOCSIFFLAGS: No such device
[0] ryo-ohki:~# ifconfig
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:6581 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6581 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

vmnet1    Link encap:Ethernet  HWaddr 00:50:56:01:00:00
          inet addr:172.16.203.1  Bcast:172.16.203.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  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:100

[0] ryo-ohki:~# rmmod eepro100
[0] ryo-ohki:~# modprobe eepro100
[0] ryo-ohki:~# ifconfig eth0 172.18.228.21 netmask 255.255.0.0
[0] ryo-ohki:~# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:D0:59:17:9A:69
          inet addr:172.18.228.21  Bcast:172.18.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:11 Base address:0x8000

--- Syslog ---
--- Right after resume ---
Jul 10 06:59:04 ryo-ohki kernel: apm: set display: Interface not engaged
Jul 10 06:59:06 ryo-ohki sysctl: net.ipv4.ip_forward = 0
Jul 10 06:59:06 ryo-ohki sysctl: net.ipv4.conf.all.rp_filter = 1
Jul 10 06:59:06 ryo-ohki sysctl: kernel.sysrq = 0
Jul 10 06:59:06 ryo-ohki network: Setting network parameters:  succeeded
Jul 10 06:59:07 ryo-ohki network: Bringing up interface lo:  succeeded
Jul 10 06:59:07 ryo-ohki ifup: SIOCSIFFLAGS: No such device
Jul 10 06:59:07 ryo-ohki ifup: SIOCADDRT: Network is down
Jul 10 06:59:07 ryo-ohki ifup: SIOCADDRT: Network is unreachable
Jul 10 06:59:08 ryo-ohki network: Bringing up interface eth0:  succeeded
Jul 10 06:59:10 ryo-ohki netfs: Mounting other filesystems:  succeeded
Jul 10 06:59:15 ryo-ohki apmd[607]: Normal Resume after 09:13:52 (90%
unknown) Battery power

Jul 10 07:14:22 ryo-ohki apmd[607]: Now using AC Power
Jul 10 07:14:22 ryo-ohki apmd[607]: Battery: 0.926130 (0:15) 1:22 (76%
unknown)
Jul 10 07:58:02 ryo-ohki su(pam_unix)[5975]: session opened for user root
by mike(uid=500)
Jul 10 07:58:03 ryo-ohki su(pam_unix)[5975]: session closed for user root
Jul 10 07:58:03 ryo-ohki su(pam_unix)[5982]: session opened for user root
by mike(uid=500)
Jul 10 08:06:22 ryo-ohki su(pam_unix)[5982]: session closed for user root
Jul 10 08:35:22 ryo-ohki su(pam_unix)[6242]: session opened for user root
by mike(uid=500)

--- This is when I started trying to get the interface up, all the syslog
    shows is the mod being loaded ---

Jul 10 08:49:13 ryo-ohki kernel: eepro100.c:v1.09j-t 9/29/99 Donald Becker
http://cesdis.gsfc.nasa.gov/linux/drivers/eepro100.html
Jul 10 08:49:13 ryo-ohki kernel: eepro100.c: $Revision: 1.36 $ 2000/11/17

Jul 10 08:49:13 ryo-ohki kernel: PCI: Found IRQ 11 for device 00:09.0
Jul 10 08:49:13 ryo-ohki kernel: PCI: Sharing IRQ 11 with 00:08.0
Jul 10 08:49:13 ryo-ohki kernel: PCI: Sharing IRQ 11 with 00:09.1
Jul 10 08:49:13 ryo-ohki kernel: eth0: OEM i82557/i82558 10/100 Ethernet,
00:D0:59:17:9A:69, IRQ 11.
Jul 10 08:49:13 ryo-ohki kernel:   Board assembly 98003c-000, Physical
connectors present: RJ45
Jul 10 08:49:13 ryo-ohki kernel:   Primary interface chip i82555 PHY #1.
Jul 10 08:49:13 ryo-ohki kernel:   General self-test: passed.
Jul 10 08:49:13 ryo-ohki kernel:   Serial sub-system self-test: passed.
Jul 10 08:49:13 ryo-ohki kernel:   Internal registers self-test: passed.
Jul 10 08:49:13 ryo-ohki kernel:   ROM checksum self-test: passed
(0xdbd8681d).
Jul 10 08:49:14 ryo-ohki modprobe: modprobe: Can't locate module net-pf-4
Jul 10 08:49:14 ryo-ohki modprobe: modprobe: Can't locate module net-pf-5
Jul 10 08:49:14 ryo-ohki /etc/hotplug/net.agent: register event not
handled

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Problems with eepro100 and kernel 2.4.6

Post by Martin Knoblauc » Thu, 12 Jul 2001 18:50:07


Quote:>I have just upgraded from Linux Kernel 2.4.5 to 2.4.6 and I have a small annoying problem with >the eepro100 driver. Every time I put my system into an APM suspend and
>then resume the machine, the driver stops working and will not let me bring up the interface >until I remove the module and reinstall it. I am using the exact same config as I
>did in 2.4.5. Computer is a Compaq Armada M700. I inserted in this message what I do at the >command line and my syslog. It's not a big issue, just something that is a little
>annoying.

>Mike Crawford

Mike,

 this one maybe related to the report I did on Monday (2.4.6.-ac2:
Problems with eepro100), although my problems only started (surfaced)
when going from 2.4.6-ac1 to -ac2. What kind of system do you have?
Laptop? Which make?

Martin
--
------------------------------------------------------------------

TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Problems with eepro100 and kernel 2.4.6

Post by Martin Knoblauc » Thu, 12 Jul 2001 20:50:08



> >I have just upgraded from Linux Kernel 2.4.5 to 2.4.6 and I have a small annoying problem with >the eepro100 driver. Every time I put my system into an APM suspend and
> >then resume the machine, the driver stops working and will not let me bring up the interface >until I remove the module and reinstall it. I am using the exact same config as I
> >did in 2.4.5. Computer is a Compaq Armada M700. I inserted in this message what I do at the >command line and my syslog. It's not a big issue, just something that is a little
> >annoying.

> >Mike Crawford
> Mike,

>  this one maybe related to the report I did on Monday (2.4.6.-ac2:
> Problems with eepro100), although my problems only started (surfaced)
> when going from 2.4.6-ac1 to -ac2. What kind of system do you have?
> Laptop? Which make?

> Martin

Mike,

 could you just check out this small patch? It disables putting the
eepro100 into D2 mode at all. Not a solution, but maybe a hint if it
scares away the problem.

% linux-2.4.6-ac2/drivers/net > diff -rc1 eepro100.c-orig eepro100.c***
eepro100.c-orig     Wed Jul 11 13:39:40 2001
--- eepro100.c  Wed Jul 11 13:27:43 2001
***************
*** 1854,1856 ****

!       pci_set_power_state(sp->pdev, 2);

--- 1854,1856 ----

!       pci_set_power_state(sp->pdev, 0); /* MKN */

Martin
--
------------------------------------------------------------------

TeraPort GmbH            |    Phone:  +49-89-510857-309
C+ITS                    |    Fax:    +49-89-510857-111
http://www.teraport.de   |    Mobile: +49-170-4904759
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/