public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device
@ 2002-07-01 20:20 Axel Siebenwirth
  2002-07-01 20:28 ` Jeff Garzik
  0 siblings, 1 reply; 5+ messages in thread
From: Axel Siebenwirth @ 2002-07-01 20:20 UTC (permalink / raw)
  To: linux-kernel; +Cc: jgarzik

Hi,

Environment: Kernel 2.5.24, SuSE Linux 7.2, Intel Chipset 440FX

NIC: RTL1839 connected to ADSL Modem

When trying to connect to ADSL, I get the following error msgs (I guess the
"ioctl(SIOCGIFHWADDR): No such device" is the important part):

pppd[823]: pppd 2.4.1 started by root, uid 0
pppd[823]: Using interface ppp0
pppd[823]: Connect: ppp0 <--> /dev/pts/0
pppoe[824]: ioctl(SIOCGIFHWADDR): No such device
pppd[823]: Modem hangup
pppd[823]: Connection terminated.
pppd[823]: Exit.


Have not tried 2.5.23 but 2.5.22 works fine. Since there have been changes to 
the 8139too driver I guess thats it. Unfortunately I do not know where to fix
this.

Regards,
Axel

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

* Re: [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device
  2002-07-01 20:20 [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device Axel Siebenwirth
@ 2002-07-01 20:28 ` Jeff Garzik
  2002-07-02 16:07   ` Axel Siebenwirth
  2002-07-02 18:33   ` Axel Siebenwirth
  0 siblings, 2 replies; 5+ messages in thread
From: Jeff Garzik @ 2002-07-01 20:28 UTC (permalink / raw)
  To: Axel Siebenwirth; +Cc: linux-kernel

Axel Siebenwirth wrote:
> Have not tried 2.5.23 but 2.5.22 works fine. Since there have been changes to 
> the 8139too driver I guess thats it. Unfortunately I do not know where to fix
> this.


None that should affect this, however.

Can you please copy your 2.5.22 drivers/net/8139too.c into 2.5.24, and 
test 2.5.24 with the older driver?

	Jeff





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

* Re: [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device
  2002-07-01 20:28 ` Jeff Garzik
@ 2002-07-02 16:07   ` Axel Siebenwirth
  2002-07-02 18:33   ` Axel Siebenwirth
  1 sibling, 0 replies; 5+ messages in thread
From: Axel Siebenwirth @ 2002-07-02 16:07 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

Hi Jeff!

On Mon, 01 Jul 2002, Jeff Garzik wrote:

> >Have not tried 2.5.23 but 2.5.22 works fine. Since there have been changes 
> >to the 8139too driver I guess thats it. Unfortunately I do not know where 
> >to fix
> >this.
> 
> None that should affect this, however.
> 
> Can you please copy your 2.5.22 drivers/net/8139too.c into 2.5.24, and 
> test 2.5.24 with the older driver?

Ok. I copied 8139too driver of 2.5.22 to 2.5.24 and it it was still the same.

I attached output of "lspci -vvv" and "dmesg".

"ifconfig eth1 up" returns with something like "device not found".

Regards,
Axel

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

* Re: [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device
  2002-07-01 20:28 ` Jeff Garzik
  2002-07-02 16:07   ` Axel Siebenwirth
@ 2002-07-02 18:33   ` Axel Siebenwirth
  1 sibling, 0 replies; 5+ messages in thread
From: Axel Siebenwirth @ 2002-07-02 18:33 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: linux-kernel

Hi Jeff!

On Mon, 01 Jul 2002, Jeff Garzik wrote:

> Axel Siebenwirth wrote:
> >Have not tried 2.5.23 but 2.5.22 works fine. Since there have been changes 
> >to the 8139too driver I guess thats it. Unfortunately I do not know where 
> >to fix
> >this.

Kai made some changes about net_dev_init ...

<kai@tp1.ruhr-uni-bochum.de>
        Make net_dev_init() an __initcall

        If you were looking to find where net_dev_init() is called, you
wouldn'
t
        have guessed it's in drivers/block/genhd.c, would you?

        Nothing should break if the __initcall net_dev_init is called too
late
        now, since register_netdevice() will call it for us in that case.

With my poor knowledge I guess this could be it?! If you are sure it's not
the 8139too driver.

Regards,
Axel

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

* Re: [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device
       [not found] ` <Pine.LNX.4.44.0207040341040.8135-100000@chaos.physics.uiowa.edu>
@ 2002-07-09 12:55   ` Axel Siebenwirth
  0 siblings, 0 replies; 5+ messages in thread
From: Axel Siebenwirth @ 2002-07-09 12:55 UTC (permalink / raw)
  To: Kai Germaschewski; +Cc: linux-kernel

Hi!

Kai Germaschewski schrieb am Donnerstag, den 04. Juli 2002:

> On Tue, 2 Jul 2002, Axel Siebenwirth wrote:
> 
> > Since I cannot initialize the network device eth1 for the RTL8139 card, I
> > thought your changes about net_dev_init
> > 
> > <kai@tp1.ruhr-uni-bochum.de>
> >         Make net_dev_init() an __initcall
> > 
> > may have caused this.
> 
> Yes, that seems quite possible. I'll submit a patch which fixes this 
> shortly. In the mean time, you could try to find the __initcall line
> in net/core/dev.c, and replace __initcall by subsys_initcall.
> 
> If you do so, please let me know if it fixes the problem for you.
> 

Still the same problem in 2.5.25. Replacing __initcall with subsys_initcall
fixes it.

Regards,
Axel

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

end of thread, other threads:[~2002-07-09 13:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-01 20:20 [2.5.24] RTL8139: ioctl(SIOCGIFHWADDR): No such device Axel Siebenwirth
2002-07-01 20:28 ` Jeff Garzik
2002-07-02 16:07   ` Axel Siebenwirth
2002-07-02 18:33   ` Axel Siebenwirth
     [not found] <20020702182820.GA12117@neon.hh59.org>
     [not found] ` <Pine.LNX.4.44.0207040341040.8135-100000@chaos.physics.uiowa.edu>
2002-07-09 12:55   ` Axel Siebenwirth

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