Skip to contentSkip to conversation

Problem with Realtime Kernel and Ethernet Card

DISCUSSION Matthias Söllner 3 participants 9 messages Jan 16, 2012 – Feb 9, 2012 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,
I installed a RT-Preempt Kernel in Debian 6
as shown on
http://pengutronix.de/software/linux-rt/debian_en.html

I have a DELL Precision T1600 with onboard network card and additional PCI network-card.

The onboard card is a Intel® 82579LM Gigabit-LAN.

I used linux-image-2.6-rt-686 from Pengutronix APT repository.

Installation worked fine, I can boot my debian with both kernels.

If I boot normal debian kernel i have eth0 and eth1. both cards work fine.

But if I boot RT-Preempt-Kernel the internal network card is not shown and I only have eth0.

With normal debian kernel intel e1000e driver is loaded.

What can I do to make my internal network card function properly with realtime kernel ?

I tried to compile the intel network driver myself. But where to I get the right kernel-headers for my RT-Preempt-Kernel?

Any hints?
Thanks a lot
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

It looks like you're using an old version of the realtime kernel, and the maintainer has neglected to package headers for it. (see:
http://debian.pengutronix.de/debian/pool/contrib/l/linuxrt-latest/ ). If your CPU will support a 64-bit kernel, I suggest trying one of the 3.0 kernels. It's more likely to have your network driver built in, and there's a matching linux-headers package if you need it.

-Austin

2012/1/16 Matthias Söllner <[email protected]>

Quoted 29 lines

Hello,
I installed a RT-Preempt Kernel in Debian 6
as shown on
http://pengutronix.de/software/linux-rt/debian_en.html

I have a DELL Precision T1600 with onboard network card and additional PCI network-card.

The onboard card is a Intel® 82579LM Gigabit-LAN.

I used linux-image-2.6-rt-686 from Pengutronix APT repository.

Installation worked fine, I can boot my debian with both kernels.

If I boot normal debian kernel i have eth0 and eth1. both cards work fine.

But if I boot RT-Preempt-Kernel the  internal network card is not shown and I only have eth0.

With normal debian kernel intel e1000e driver is loaded.

What can I do to make my internal network card function properly with realtime kernel ?

I tried to compile the intel network driver myself. But where to I get the right kernel-headers for my RT-Preempt-Kernel?

Quoted 7 lines

Any hints?
Thanks a lot
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw
In reply to Matthias Söllner
Quoted 11 lines · Matthias Söllner

Hello,
I installed a RT-Preempt Kernel in Debian 6
as shown on
http://pengutronix.de/software/linux-rt/debian_en.html

I have a DELL Precision T1600 with onboard network card and additional PCI network-card.

The onboard card is a Intel® 82579LM Gigabit-LAN.

I used linux-image-2.6-rt-686 from Pengutronix APT repository.

That's an 2.6.33.7.2-rt30 kernel. For amd64 there are also newer kernels available on debian.pengutronix.de (3.0 series) and Debian experimental (3.2 series). If possible I'd recommend the newer versions.

Quoted 3 lines

Installation worked fine, I can boot my debian with both kernels.

If I boot normal debian kernel i have eth0 and eth1. both cards work fine.

Normal Debian kernel means 2.6.32 I guess? 2.6.32-36 added a backport of the e1000e driver from 2.6.38 and this backport is not included in the 2.6.33.7.2-rt30 package because it branched from the Debian kernel before 2.6.32-36.

Quoted 10 lines

But if I boot RT-Preempt-Kernel the internal network card is not shown and I only have eth0.

With normal debian kernel intel e1000e driver is loaded.

What can I do to make my internal network card function properly with realtime kernel ?

I tried to compile the intel network driver myself. But where to I get the right kernel-headers for my RT-Preempt-Kernel?

They should be available on debian.pengutronix.de, too. Just install the matching headers package, in your case probably linux-headers-2.6.33.7.2-rt30-1-686.

Best regards
Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): CAOY97VZGuFz=txi1HnXjh_WqK+UVNiqRCifrnSxin7x2osbP5g@mail.gmail.com

#4 lore raw

Ok.
Where do I get a 3.0 Kernel with included preempt-Patch for installing in Debian 6.0?

By the way, is there any package which includes a Kernel with included Preempt-Patch for use in Ubuntu 11.10 as it was available for ubuntu 8.04 (linux-rt)?

Thanks

Matthias

Quoted 49 lines · Austin Hendrix

It looks like you're using an old version of the realtime kernel, and the maintainer has neglected to package headers for it. (see:
http://debian.pengutronix.de/debian/pool/contrib/l/linuxrt-latest/ ). If your CPU will support a 64-bit kernel, I suggest trying one of the 3.0 kernels. It's more likely to have your network driver built in, and there's a matching linux-headers package if you need it.

-Austin

2012/1/16 Matthias Söllner <[email protected]>

Quoted 37 lines

Hello,
I installed a RT-Preempt Kernel in Debian 6
as shown on
http://pengutronix.de/software/linux-rt/debian_en.html

I have a DELL Precision T1600 with onboard network card and additional PCI network-card.

The onboard card is a Intel® 82579LM Gigabit-LAN.

I used linux-image-2.6-rt-686 from Pengutronix APT repository.

Installation worked fine, I can boot my debian with both kernels.

If I boot normal debian kernel i have eth0 and eth1. both cards work fine.

But if I boot RT-Preempt-Kernel the internal network card is not shown and I only have eth0.

With normal debian kernel intel e1000e driver is loaded.

What can I do to make my internal network card function properly with realtime kernel ?

I tried to compile the intel network driver myself. But where to I get the right kernel-headers for my RT-Preempt-Kernel?

Any hints?
Thanks a lot
Matthias
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 14 lines
Matthias Söllner, M.Sc.
Laboringenieur
Hochschule Amberg - Weiden (HAW)
Fakultät für Elektro- und Informationstechnik
Kaiser-Wilhelm-Ring 23
92224 Amberg

Tel. 09621 482-3709
Fax. 09621 482-4709
e-mail [email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#5 lore raw
Quoted 3 lines · Matthias Söllner

Ok.
Where do I get a 3.0 Kernel with included preempt-Patch for installing in Debian 6.0?

if you're on amd64 install linux-image-3.0.0-2-rt-amd64 from
http://debian.pengutronix.de/debian sid main. That is what was in Debian while it had 3.0 and updated to 3.0.12-rt30 and 3.0.14 which IIRC matches 3.0.14-rt31.

Quoted 3 lines

By the way, is there any package which includes a Kernel with included Preempt-Patch for use in Ubuntu 11.10 as it was available for ubuntu 8.04 (linux-rt)?

Nothing I'm aware of. Maybe the debian kernels just work?!

Best regards
Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#6 lore raw
Quoted 6 lines · Uwe Kleine-König
Quoted 3 lines · Matthias

Ok.
Where do I get a 3.0 Kernel with included preempt-Patch for installing in Debian 6.0?

if you're on amd64 install linux-image-3.0.0-2-rt-amd64 from
http://debian.pengutronix.de/debian sid main.

I can't find the package in
http://debian.pengutronix.de/debian sid main

Added it to /etc/apt/sources.list, and made a sudo apt-get update. But the package is not there.

What am I doing wrong?

Thanks
Matthias

--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#7 lore raw
Quoted 8 lines · Matthias Söllner
Quoted 6 lines · Uwe Kleine-König
Quoted 3 lines · Matthias

Ok.
Where do I get a 3.0 Kernel with included preempt-Patch for installing in Debian 6.0?

if you're on amd64 install linux-image-3.0.0-2-rt-amd64 from
http://debian.pengutronix.de/debian sid main.

Quoted 7 lines

I can't find the package in
http://debian.pengutronix.de/debian sid main

Added it to /etc/apt/sources.list, and made a sudo apt-get update. But the package is not there.

What am I doing wrong?

What is the output of $(dpkg --print-architecture)? debian.pengutronix.de only has the 3.x-rt kernels for amd64. The same is true for Debian itself BTW.

Best regards
Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#8 lore raw

Ok, this was the problem to see the package. I installed a fresh debian-squeeze 6.04 stable for amd64 and now I can find the package.

But if i do an sudo apt-get install I get the following error:

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
linux-image-3.0.0-2-rt-amd64 : Hängt ab von: linux-base (>= 3~) aber
2.6.32-41 soll installiert werden
Empfiehlt: firmware-linux-free (>= 3~)
soll aber nicht installiert werden

                                Beschädigt: initramfs-tools (< 0.99~)

aber 0.98.8 soll installiert werden

Any suggestions?

Thanks
Best Regards
Matthias

Quoted 23 lines · Uwe Kleine-König
Quoted 8 lines · Matthias Söllner
Quoted 6 lines · Uwe Kleine-König
Quoted 3 lines · Matthias

Ok.
Where do I get a 3.0 Kernel with included preempt-Patch for installing in Debian 6.0?

if you're on amd64 install linux-image-3.0.0-2-rt-amd64 from
http://debian.pengutronix.de/debian sid main.

Quoted 7 lines

I can't find the package in
http://debian.pengutronix.de/debian sid main

Added it to /etc/apt/sources.list, and made a sudo apt-get update. But the package is not there.

What am I doing wrong?

What is the output of $(dpkg --print-architecture)? debian.pengutronix.de only has the 3.x-rt kernels for amd64. The same is true for Debian itself BTW.

Best regards
Uwe

Signature · 4 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#9 lore raw
Quoted 5 lines · Matthias Söllner

Ok, this was the problem to see the package. I installed a fresh debian-squeeze 6.04 stable for amd64 and now I can find the package.

But if i do an sudo apt-get install I get the following error:

Quoted 7 lines

Die folgenden Pakete haben unerfüllte Abhängigkeiten:
linux-image-3.0.0-2-rt-amd64 : Hängt ab von: linux-base (>= 3~) aber
2.6.32-41 soll installiert werden
Empfiehlt: firmware-linux-free (>= 3~)
soll aber nicht installiert werden

                                Beschädigt: initramfs-tools (< 0.99~)

aber 0.98.8 soll installiert werden

You need to install linux-base and initramfs-tools from wheezy.

That is add

deb http://cdn.debian.net/debian/ wheezy main

to your sources list and install/upgrade the needed packages.

Uwe

Signature · 6 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html