RTL8139: ioctl(SIOCGIFHWADDR): No such device

RTL8139: ioctl(SIOCGIFHWADDR): No such device

Post by Axel Siebenwirt » Wed, 03 Jul 2002 05:30:06



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
-
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/

 
 
 

RTL8139: ioctl(SIOCGIFHWADDR): No such device

Post by Jeff Garzi » Wed, 03 Jul 2002 05:40:05



> 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

-
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/

 
 
 

RTL8139: ioctl(SIOCGIFHWADDR): No such device

Post by Axel Siebenwirt » Thu, 04 Jul 2002 01:10:08


Hi Jeff!


> >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
-
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/

 
 
 

RTL8139: ioctl(SIOCGIFHWADDR): No such device

Post by Axel Siebenwirt » Thu, 04 Jul 2002 03:40:06


Hi Jeff!



> >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 ...


        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
-
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/

 
 
 

1. RTL8139: ioctl(SIOCGIFHWADDR): No such device

Hi!

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

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

Regards,
Axel
-
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/

2. Which script sets the environment variables?

3. Newbie: RH8.0 ADSL problem ioctl(SIOCGIFHWADDR): No such device

4. new.host.name

5. MAC ADDRESS/ioctl(siocgifhwaddr)

6. how to differentiate inside PAM "login using ssh" vs. "file transfer via scp" ?

7. Gated failure in ioctl SIOCGIFHWADDR?!

8. Both IDE channels os PC164 with SRM

9. dm-ioctl.h - device-mapper ioctl packet fixes

10. getting 'ioctl failed: Inappropriate ioctl for device'

11. Error: ftp: ioctl I_FIND ttcompat: Inappropriate ioctl for device

12. getting - "ioctl failed: Inappropriate ioctl for device"

13. about rtl8139 device driver.