All of lore.kernel.org
 help / color / mirror / Atom feed
* kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module
@ 2015-06-16  7:58 Marcus lu
  2015-06-16  8:11 ` Uwe Kleine-König
  0 siblings, 1 reply; 3+ messages in thread
From: Marcus lu @ 2015-06-16  7:58 UTC (permalink / raw)
  To: linux-rt-users

Hi Sir :

I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI 
AM335x EVM(Cortex A8), I find out a problem. 

My test steps as below :

1. In pure linux directory, I use zcat ../../patch-3.2-rt10.patch.gz | 
patch -p1 command. (pure means I install TI’s SDK : ti-sdk-am335x-evm-
0.6.00.00.00-linux-x86-install.bin without changing anything) 

In linux directory : 
2. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
gnueabihf- tisdk_am335x-evm_defconfig 
3. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
gnueabihf- menuconfig 
4. Select kernel Features and preemption Model Fully Preemptible 
Kernel(RT) 
5. Save .config 
6. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
gnueabihf- uImage 
7. After building successfully, copy uImage to SD card and power on the 
EVM board.

8. Executing iperf -s on linux platform and execute iperf.exe –c 
10.0.0.180 –w 100M –t 1200 –I 10 on win 7 platform. 
9. Ethernet module on linux platform hangs up.(I can’t ping my PC in 
linux platform even though I use ipconfig eth0 down and ipconfig eth0 up 
command) 

Could you give me some suggestion?

I have tried not to enable RT support and use iperf to test, the testing 
result is good.

Best regard,

Marcus

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module
  2015-06-16  7:58 kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module Marcus lu
@ 2015-06-16  8:11 ` Uwe Kleine-König
  2015-06-16 16:32   ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 3+ messages in thread
From: Uwe Kleine-König @ 2015-06-16  8:11 UTC (permalink / raw)
  To: Marcus lu; +Cc: linux-rt-users

Hello,

On Tue, Jun 16, 2015 at 07:58:06AM +0000, Marcus lu wrote:
> I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI 
> AM335x EVM(Cortex A8), I find out a problem. 
Is there a reason you're not using the latest and greatest 3.2-stable
plust the matching lates -rt patch? Also 3.2 is already old and the
am335x support in mainline is good, so better use a more recent release.

> My test steps as below :
> 
> 1. In pure linux directory, I use zcat ../../patch-3.2-rt10.patch.gz | 
> patch -p1 command. (pure means I install TI’s SDK : ti-sdk-am335x-evm-
> 0.6.00.00.00-linux-x86-install.bin without changing anything) 
> 
> In linux directory : 
> 2. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
> 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
> gnueabihf- tisdk_am335x-evm_defconfig 
> 3. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
> 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
> gnueabihf- menuconfig 
> 4. Select kernel Features and preemption Model Fully Preemptible 
> Kernel(RT) 
> 5. Save .config 
> 6. make ARCH=arm CROSS_COMPILE=/home/marcus/ti-sdk-am335x-evm-
> 06.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-
> gnueabihf- uImage 
> 7. After building successfully, copy uImage to SD card and power on the 
> EVM board.
> 
> 8. Executing iperf -s on linux platform and execute iperf.exe –c 
> 10.0.0.180 –w 100M –t 1200 –I 10 on win 7 platform. 
> 9. Ethernet module on linux platform hangs up.(I can’t ping my PC in 
> linux platform even though I use ipconfig eth0 down and ipconfig eth0 up 
> command) 
> 
> Could you give me some suggestion?
Try a vanilla kernel. Vendor kernel tend to use non-optimal stuff that
stands in your way when you start to do things.

Best regards
Uwe

-- 
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module
  2015-06-16  8:11 ` Uwe Kleine-König
@ 2015-06-16 16:32   ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2015-06-16 16:32 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: Marcus lu, linux-rt-users

* Uwe Kleine-König | 2015-06-16 10:11:58 [+0200]:

>Hello,
>
>On Tue, Jun 16, 2015 at 07:58:06AM +0000, Marcus lu wrote:
>> I try kernel version 3.2.0 and RT patch patch-3.2-rt10.patch.gz on TI 
>> AM335x EVM(Cortex A8), I find out a problem. 
>Is there a reason you're not using the latest and greatest 3.2-stable
>plust the matching lates -rt patch? Also 3.2 is already old and the
>am335x support in mainline is good, so better use a more recent release.

exactly. I remember fixing the driver for v3.8-RT. And v3.2 should have
no support for am335x so there is no way to backport that stuff. Use
something more recent.

>Best regards
>Uwe

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-16 16:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16  7:58 kernel 3.2.0 with rt patch-3.2-rt10.patch.gz hangs up Ethernet module Marcus lu
2015-06-16  8:11 ` Uwe Kleine-König
2015-06-16 16:32   ` Sebastian Andrzej Siewior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.