Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128962 - eth1394 loaded instead of via-rhine
Summary: eth1394 loaded instead of via-rhine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: Low minor (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
: 132774 132775 (view as bug list)
Depends on: 130766
Blocks: udev-meta
  Show dependency tree
 
Reported: 2006-04-05 13:57 UTC by Pascal Bodin
Modified: 2007-05-02 15:19 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Bodin 2006-04-05 13:57:03 UTC
With LiveCD 2006.0, for a VIA EPIA ME6000 mother board, the boot sequence loads the eth1394 module instead of via-rhine module, for the network. This prevents the network from being configured correctly later on, with net-setup eth0 (in my configuration, the network cable is plugged into the ethernet connector, there is nothing connected to the firewire connector).

Workaround :
modprobe -r eth1394
modprobe via-rhine
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-10 13:25:13 UTC
Ehh... both should have been loaded, as the CD checks eth0 through eth1.  Are you sure you aren't connected on another ethernet interface?  Also, by LiveCD you mean the Installer LiveCD, correct?
Comment 2 Pascal Bodin 2006-04-11 14:35:10 UTC
I guess that's the Installer LiveCD. The file name of the ISO image is : install-x86-minimal-2006.0.iso.
I have one ethernet interface only.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-11 14:53:04 UTC
OK, so you aren't using the LiveCD, but the InstallCD... no problem...

Now, I understand that you have one *physical* interface, but how many are you seeing when running "ifconfig -a | grep eth" ?
Comment 4 Pascal Bodin 2006-04-16 14:35:45 UTC
ifconfig just after boot returns eth1 and lo. A few seconds later, it returns only lo. Then, ifconfig -a returns eth0 (with Link encap: UNSPEC and HWaddr quite long (16 bytes)), eth1 (with Link encap : Ethernet and HWaddr 6 byte-long), and lo.
So it appears that the physical ethernet interface is mapped to eth1. If I perform a net-setup on eth1, network works OK (I can ping an internet site name). So, the only point is perhaps to add a few lines to documentation, to explain that such a configuration may happen ?
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-19 06:13:38 UTC
Greg: do you have a problem with us adding "eth1394" to the hotplug blacklist by default?  We've gotten quite a few reports of this problem, and the eth1394 stuff is more of a special case for a network device.
Comment 6 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-04-19 12:55:41 UTC
No objection from me, blacklist away.

While you are at it, you might want to also add the shpchp driver to the list,
as almost no one has that device...
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-19 16:59:47 UTC
OK... I've added a new revision of hotplug that adds these two to blacklist.  I'm leaving this open until we get a new release out with this in it.
Comment 8 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-04-20 13:59:19 UTC
Woah, the blacklist in the hotplug package isn't going to help out much,
now that udev does the module loading :(

This needs to go into the module config file package instead.
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-20 14:50:44 UTC
D'oh!

Which package?
Comment 10 Steffen Jobbagy-Felso 2006-04-21 01:43:07 UTC
Are you sure this is the best way? I haven't read any other reports on this "problem", but if they all refer to the interface being eth1 instead of eth0 I have to admit I can't see how that is a problem. It seems to me that the docu should simply be updated to tell people to not just look at eth0 but look at all interfaces?

Just my 2 cents :)
Comment 11 Chris Gianelloni (RETIRED) gentoo-dev 2006-04-21 06:42:47 UTC
Honestly, the documentation covers it pretty well.  Nowhere does it tell you that your ethernet will necessarily be eth0, you (and others) simply assumed that.  However, I think the best solution would be to resolve the problem from happening in the first place, as anyone using eth1394 for network connectivity will have to do manual steps anyway, since it is point-to-point.  I still plan on having documentaion updates done, so we're solving this on multiple fronts.
Comment 12 Jakub Moc (RETIRED) gentoo-dev 2006-05-09 04:34:50 UTC
*** Bug 132774 has been marked as a duplicate of this bug. ***
Comment 13 Andrew Gaffney (RETIRED) gentoo-dev 2006-05-09 05:11:12 UTC
*** Bug 132775 has been marked as a duplicate of this bug. ***
Comment 14 Chris Gianelloni (RETIRED) gentoo-dev 2006-09-01 13:32:45 UTC
This should be fixed on 2006.1, as we're still using udev 089.
Comment 15 Stefan Richter 2007-01-06 13:04:14 UTC
Seems like you also need to add
    blacklist eth1394
to /etc/modprobe.conf (or to whatever raw material this is generated from) in order to prevent eth1394 to be loaded by hotplug. I don't know though if this is relevant in the context of the installer CDs.

BTW, the _real_ fix is to allow linux/drivers/ieee1394 to be compiled without the IP-over-1394 ROM entry and have this entry added by eth1394 itself when it is loaded manually. I'll look into this eventually.
Comment 16 Stefan Richter 2007-01-08 22:43:17 UTC
I am tracking what I mentioned in the last comment as http://bugzilla.kernel.org/show_bug.cgi?id=7793
Comment 17 Stefan Richter 2007-03-27 00:07:30 UTC
I proposed a patch for upstream Linux 2.6.22-rc which lets eth1394 behave like most people would expect: Loading ohci1394 will not automatically load eth1394 per hotplug anymore. (With one exception: If there is already an external IP-over-1394 capable device connected, the ieee1394 core will still trigger a respective hotplug event.)

Patch is located at http://bugzilla.kernel.org/show_bug.cgi?id=7793 or http://lkml.org/lkml/2007/3/26/298 .
Comment 18 Matthias Schwarzott gentoo-dev 2007-05-02 13:59:52 UTC
Will, nevertheless it will be fixed at some time in the kernel, I added "blacklist eth1394" to udev-110.
Comment 19 Stefan Richter 2007-05-02 15:19:19 UTC
Upstream bug http://bugzilla.kernel.org/show_bug.cgi?id=7793 was closed, fix went into mainline for 2.6.22-rc1.

Note, after that fix ieee1394 will still generate a hotplug event to let userspace load eth1394 if it detects an external IP-over-1394 capable device.