SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Rep:
No Eth0 under raid 5 setup on new server.
So, just built a new server and set it up as raid5 for / /boot and swap.
During the setup (which was an adventure in itself due to the Slackware documentation having errors) I noticed that I had both eth0 and eth1 available. However, when complete, upon booting the new server, using an initrd, I only get Eth1. Eth0 is now showing as 'rename2' when probing using ifconfig. 'rename2' is unable to be setup.
Also, even though I have set up Eth1 for a static ip, it fails to connect to the network with an error of 'network unreachable' I got round it by first doing a dhcpcd on it, then downing it and bringing it back up with the static ip I need in rc.local. But that is a bit of a cludge really.
So, all in all, a successful server build, but just a couple of small issues to address.
So, just built a new server and set it up as raid5 for / /boot and swap.
During the setup (which was an adventure in itself due to the Slackware documentation having errors)
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
Yeah, sorry, should have been more succinct.
Followed the rather excellent Slackware guide for setting up a raid array, but ended up with a kernel panic as it turns out that booting from a raid array doesn't allow udev to create the device nodes until it has mounted the raid array which it can't do until udev has created the device nodes which it........ Well you get the picture.
Any way, turned out to be an error in the guide which fails to mention that you need to create an /etc/mkinitrd.conf file which contains the line "UDEV"="1" as per this guide https://sites.google.com/site/pincza...at-4kb-sectors. (based off of the Slackware one)
The other error was to do with sfdisk, which doesn't seem able to copy a partition table from one drive to another if the recipient drive has no existing part table, so really just lacking info on that score.
Anyhow sorted all that and up and running, but now still stuck with the weird network interfaces issue.
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781
Original Poster
Rep:
More info,
Doing a
Code:
dmesg | grep eth
gives this response
Quote:
[ 10.994666] r8169 0000:06:00.0 eth0: RTL8168d/8111d at 0xffffc900103f8000, 00:0b:e0:f0:00:ed, XID 083000c0 IRQ 46
[ 11.004843] r8169 0000:06:00.0 eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 11.015349] r8169 0000:05:00.0 eth1: RTL8168d/8111d at 0xffffc900103fe000, 00:0b:e0:f0:00:ed, XID 083000c0 IRQ 48
[ 11.015350] r8169 0000:05:00.0 eth1: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[ 50.077423] r8169 0000:05:00.0 eth1: link down
[ 50.077432] r8169 0000:05:00.0 eth1: link down
[ 51.802367] r8169 0000:05:00.0 eth1: link up
It seems that both eth0 and eth1 are recognised at boot time but they both seem to have the same MAC address, which is wierd. I have checked all the logs I can find and see no reason why this should be.
It would explain why I am having some networking issues and probably why eth0 is getting wrongly identified as rename2, but not why the boot/install cd sees both IF's with different MACs.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.