* 2.6.0-test5 vs. Ethernet cards @ 2003-09-14 3:51 Norman Diamond 2003-09-14 8:17 ` Russell King 0 siblings, 1 reply; 7+ messages in thread From: Norman Diamond @ 2003-09-14 3:51 UTC (permalink / raw) To: linux-kernel When trying to do a shutdown or reboot while an Ethernet card is present, 2.6.0-test5 continues to have problems which earlier 2.6.0-test versions had, which can be solved by booting 2.4.19. Shutdown messages appear on the text console as follows: [...] Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 unregister_netdevice: waiting for eth0 to become free. Usage count = 1 [...] The only way to shut down at this point is to turn off the power. An alternative workaround is to manually type "ifconfig eth0 down" before trying to shut down or reboot. This takes a certain amount of activation of human memory at the moment just before shutting down, and I have not been up to the task. Since this step was not necessary under 2.4.19, it is easier to boot 2.4.19 instead. Command "/etc/rc.d/pcmcia restart" suffers the same as a shutdown or reboot. Again similarly, in 2.4.19 it works. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-14 3:51 2.6.0-test5 vs. Ethernet cards Norman Diamond @ 2003-09-14 8:17 ` Russell King 2003-09-14 10:45 ` Norman Diamond 2003-09-16 16:49 ` Greg KH 0 siblings, 2 replies; 7+ messages in thread From: Russell King @ 2003-09-14 8:17 UTC (permalink / raw) To: Norman Diamond, Greg KH; +Cc: linux-kernel On Sun, Sep 14, 2003 at 12:51:29PM +0900, Norman Diamond wrote: > Shutdown messages appear on the text console as follows: > [...] > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. > Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > [...] > > The only way to shut down at this point is to turn off the power. IIRC the problem is your hotplug scripts. Maybe the hotplug folk can tell you the minimum version for 2.6. -- Russell King (rmk@arm.linux.org.uk) http://www.arm.linux.org.uk/personal/ Linux kernel maintainer of: 2.6 ARM Linux - http://www.arm.linux.org.uk/ 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-14 8:17 ` Russell King @ 2003-09-14 10:45 ` Norman Diamond 2003-09-14 23:07 ` Russell King 2003-09-16 16:49 ` Greg KH 1 sibling, 1 reply; 7+ messages in thread From: Norman Diamond @ 2003-09-14 10:45 UTC (permalink / raw) To: Russell King, Greg KH; +Cc: linux-kernel "Russell King" <rmk@arm.linux.org.uk> replied to me: > > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > [...] > > The only way to shut down at this point is to turn off the power. > > IIRC the problem is your hotplug scripts. Maybe the hotplug folk can tell > you the minimum version for 2.6. Then I wonder why the interface came up automatically when the card was inserted. By the way the relevant module is pcnet_cs, which is 16-bit PCMCIA. I didn't guess that the hotplug scripts were used for that. But I'll try to find time to test it with new hotplug scripts some weekend. (Can't do it now, I'm in the middle of installing SuSE 8.2 on that machine.) ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-14 10:45 ` Norman Diamond @ 2003-09-14 23:07 ` Russell King 0 siblings, 0 replies; 7+ messages in thread From: Russell King @ 2003-09-14 23:07 UTC (permalink / raw) To: Norman Diamond; +Cc: Greg KH, linux-kernel, linux-net On Sun, Sep 14, 2003 at 07:45:14PM +0900, Norman Diamond wrote: > "Russell King" <rmk@arm.linux.org.uk> replied to me: > > > > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > [...] > > > The only way to shut down at this point is to turn off the power. > > > > IIRC the problem is your hotplug scripts. Maybe the hotplug folk can tell > > you the minimum version for 2.6. > > Then I wonder why the interface came up automatically when the card was > inserted. By the way the relevant module is pcnet_cs, which is 16-bit > PCMCIA. I didn't guess that the hotplug scripts were used for that. But > I'll try to find time to test it with new hotplug scripts some weekend. > > (Can't do it now, I'm in the middle of installing SuSE 8.2 on that machine.) I'll "remind" the linux-net mailing list about this outstanding problem. It would be nice if some of the net people looked into this bug which, according to my mailbox, has been hanging around since 16th June... There comes a point when one guy has to say "I've dealt enough with this problem" and that time is now. linux-net - please investigate this weird usage count bug. Thanks. -- Russell King (rmk@arm.linux.org.uk) http://www.arm.linux.org.uk/personal/ Linux kernel maintainer of: 2.6 ARM Linux - http://www.arm.linux.org.uk/ 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-14 8:17 ` Russell King 2003-09-14 10:45 ` Norman Diamond @ 2003-09-16 16:49 ` Greg KH 2003-09-16 17:20 ` Russell King 1 sibling, 1 reply; 7+ messages in thread From: Greg KH @ 2003-09-16 16:49 UTC (permalink / raw) To: Norman Diamond, linux-kernel On Sun, Sep 14, 2003 at 09:17:02AM +0100, Russell King wrote: > On Sun, Sep 14, 2003 at 12:51:29PM +0900, Norman Diamond wrote: > > Shutdown messages appear on the text console as follows: > > [...] > > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. > > Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > [...] > > > > The only way to shut down at this point is to turn off the power. > > IIRC the problem is your hotplug scripts. Maybe the hotplug folk can tell > you the minimum version for 2.6. The last release version is the best for 2.6, but this doesn't look like a hotplug script issue at all. thanks, greg k-h ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-16 16:49 ` Greg KH @ 2003-09-16 17:20 ` Russell King 2003-09-17 14:27 ` Norman Diamond 0 siblings, 1 reply; 7+ messages in thread From: Russell King @ 2003-09-16 17:20 UTC (permalink / raw) To: Greg KH; +Cc: Norman Diamond, linux-kernel On Tue, Sep 16, 2003 at 09:49:41AM -0700, Greg KH wrote: > On Sun, Sep 14, 2003 at 09:17:02AM +0100, Russell King wrote: > > On Sun, Sep 14, 2003 at 12:51:29PM +0900, Norman Diamond wrote: > > > Shutdown messages appear on the text console as follows: > > > [...] > > > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to become free. > > > Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > unregister_netdevice: waiting for eth0 to become free. Usage count = 1 > > > [...] > > > > > > The only way to shut down at this point is to turn off the power. > > > > IIRC the problem is your hotplug scripts. Maybe the hotplug folk can tell > > you the minimum version for 2.6. > > The last release version is the best for 2.6, but this doesn't look > like a hotplug script issue at all. Hmm, ok. However, in the past when people have upgraded their hotplug scripts, the problem goes away. Whatever, it's certainly not a PCMCIA issue either, so I'm at a loss what to do about these reports. I can only think that the right answer is to bat them all at the netdev list, since it is a network device issue. -- Russell King (rmk@arm.linux.org.uk) http://www.arm.linux.org.uk/personal/ Linux kernel maintainer of: 2.6 ARM Linux - http://www.arm.linux.org.uk/ 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/ 2.6 Serial core ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: 2.6.0-test5 vs. Ethernet cards 2003-09-16 17:20 ` Russell King @ 2003-09-17 14:27 ` Norman Diamond 0 siblings, 0 replies; 7+ messages in thread From: Norman Diamond @ 2003-09-17 14:27 UTC (permalink / raw) To: Russell King, Greg KH; +Cc: linux-kernel "Russell King" wrote: > On Tue, Sep 16, 2003 at 09:49:41AM -0700, Greg KH wrote: > > On Sun, Sep 14, 2003 at 09:17:02AM +0100, Russell King wrote: > > > On Sun, Sep 14, 2003 at 12:51:29PM +0900, Norman Diamond wrote: > > > > Shutdown messages appear on the text console as follows: > > > > [...] > > > > Shutting down PCMCIA unregister_netdevice: waiting for eth0 to > > > > become free. Usage count = 1 > > > > unregister_netdevice: waiting for eth0 to become free. Usage count = > > > > 1 > > > > [...] > > > > The only way to shut down at this point is to turn off the power. > > > > > > IIRC the problem is your hotplug scripts. Maybe the hotplug folk can > > > tell you the minimum version for 2.6. > > > > The last release version is the best for 2.6, but this doesn't look > > like a hotplug script issue at all. > > Hmm, ok. However, in the past when people have upgraded their hotplug > scripts, the problem goes away. It will be a while before I have time to try it, sorry. SuSE 8.2 is partially installed on that machine now and one day next weekend will probably finish just that. > Whatever, it's certainly not a PCMCIA issue either, so I'm at a loss what > to do about these reports. > I can only think that the right answer is to bat them all at the netdev > list, since it is a network device issue. Stephen Hemminger sent private e-mail guessing that IPV6 bugs might be the cause. I did select a number of IPV6 options when building 2.6.0-test[1..5]. Sorry I don't remember if my 2.4.19 included any IPV6 support, and I'm not planning to try a regression test to that one. I'll try to find time some weekend to experiment with 2.6.0-test5 and 2.4.20-SuSE8.2 with and without IPV6. I don't have access to IPV6 at present but figure I will someday, and if I ever have time to experiment with it then the experimentation time will not be wasted. Most of the world (except for North America) will not be able to survive without IPV6. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-09-17 14:29 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2003-09-14 3:51 2.6.0-test5 vs. Ethernet cards Norman Diamond 2003-09-14 8:17 ` Russell King 2003-09-14 10:45 ` Norman Diamond 2003-09-14 23:07 ` Russell King 2003-09-16 16:49 ` Greg KH 2003-09-16 17:20 ` Russell King 2003-09-17 14:27 ` Norman Diamond
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox