Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

SIOCSIFFLAGS: Invalid argument [Solved]

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
mynameistaken
n00b
n00b
Posts: 24
Joined: Wed Jun 20, 2007 3:58 pm

SIOCSIFFLAGS: Invalid argument [Solved]

  • Quote

Post by mynameistaken » Thu Jul 10, 2008 8:27 am

Hi,
I'm trying to put gentoo on my laptop. The install went really well (or so I thought) until the reboot when the following happens:

Code: Select all

* Starting eth0
SIOCSIFFLAGS: Invalid argument
SIOCSIFFLAGS: Invalid argument
SIOCSIFFLAGS: Invalid argument
*   Brining up eth0
*      dhcp
*          Running dhcpcd
err, eth0: ioctl SIOCSIFFLAGS: Invalid argument
Then when I log in there is no internet.

The same device, eth0, worked without any problems when I was running it off of the minimal cd so I thought it might be that I hadn't included the right stuff in the kernel.

Googling tells me that SIOCSIFFLAGS are module problems.

I did an lsmod and then rmmod on the module I thought was the eth0 one. The error message on restarting the connection is:

Code: Select all

* Starting eth0
*    Bringing up eth0
*       dhcp
*           network interface eth0 does not exist
*           Please verify hardware or kernel module (driver)
The same thing happens in the live cd enviroment so I'm pretty sure that sis900 is the correct module but it works with the live cd and not in the install.

What should I try next?

Taken
Last edited by mynameistaken on Fri Jul 11, 2008 3:12 pm, edited 1 time in total.
Top
mimosinnet
l33t
l33t
User avatar
Posts: 720
Joined: Thu Aug 10, 2006 4:20 pm
Location: Barcelona, Spain
Contact:
Contact mimosinnet
Website

  • Quote

Post by mimosinnet » Thu Jul 10, 2008 10:34 am

This is a thread with the same issue that may be of interest.

Cheers!
Top
mynameistaken
n00b
n00b
Posts: 24
Joined: Wed Jun 20, 2007 3:58 pm

  • Quote

Post by mynameistaken » Thu Jul 10, 2008 10:49 am

Ok,
It is a fresh install so I don't think the problem can be that I'm using the wrong module version for the kernel.
I have no problem running "modprobe sis900", the module is loaded but doesn't work. It is the sis900 module that does the networking on the live cd so I know this is the right module.

Sounds like the guy in the linked thread was just trying to use the wrong module for his ethernet card but that isn't my problem as the sis900 module works off of the install cd.

lspci:

Code: Select all

00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 90)
Which confirms the above.

What is the live cd doing that the install isn't?
Top
mimosinnet
l33t
l33t
User avatar
Posts: 720
Joined: Thu Aug 10, 2006 4:20 pm
Location: Barcelona, Spain
Contact:
Contact mimosinnet
Website

  • Quote

Post by mimosinnet » Thu Jul 10, 2008 12:19 pm

What options do you have in your kernel? I have a sis190, and this is what I have:

Code: Select all

# grep SIS190 .config
CONFIG_SIS190=y
Actually, I have a sis191 and I had different issues with the card (see, for example, this thread). Because there may be some specific issues with the card (like in my case) some user could share the configuration parameters. I am happy to give details of how I configured my card.

Cheers!
Top
mynameistaken
n00b
n00b
Posts: 24
Joined: Wed Jun 20, 2007 3:58 pm

  • Quote

Post by mynameistaken » Thu Jul 10, 2008 2:11 pm

Here is everything in the kernel .config to do with SiS:

Code: Select all

CONFIG_BLK_DEV_SIS5513=y
CONFIG_SIS900=m
CONFIG_SIS190=m
CONFIG_SENSORS_SIS5595=m
# CONFIG_AGP_SIS is not set
CONFIG_DRM_SIS=y
CONFIG_FB_SIS=y
CONFIG_FB_SIS_300=y
CONFIG_FB_SIS_315=y
There is also some usb stuff in there but I think that is irrelevant (grep picking up things like perSISt).

Any more ideas?[/quote]
Top
mynameistaken
n00b
n00b
Posts: 24
Joined: Wed Jun 20, 2007 3:58 pm

  • Quote

Post by mynameistaken » Thu Jul 10, 2008 2:42 pm

More googling reveals that some one else has had the same/similar problem using the yum package manager: http://bugzilla.kernel.org/show_bug.cgi?id=10201.

It seems like the MAC address isn't specified or something like that.
They mention editing /etc/sysconfig/network-scripts/ifcfg-eth0 which doesn't exit on gentoo. Anyone know what the gentoo equivalent is?

Another solution which would seem to work would be to downgrade kernel to a version below 2.6.24.3.
Top
krinn
Watchman
Watchman
User avatar
Posts: 7476
Joined: Fri May 02, 2003 6:14 am

  • Quote

Post by krinn » Thu Jul 10, 2008 9:06 pm

ifconfig eth0 hw ether 00:33:00:33:33:33:33

will assign a mac address to your eth0, try to see if it's really that.

edit: gentoo network config file is /etc/conf.d/net
and network script is /etc/init.d/net.eth0 (witch is a symlink to net.lo)
Top
mynameistaken
n00b
n00b
Posts: 24
Joined: Wed Jun 20, 2007 3:58 pm

  • Quote

Post by mynameistaken » Fri Jul 11, 2008 3:11 pm

I tried specifying a MAC address in /etc/conf.d/net but that gave me the same error.

Downgrading to gentoo-sources-2.6.24-r3 solved the problem though
Top
Post Reply

8 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic