Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192411 - atl1 driver cause kernel oops IF ram > 4Gyte and a lot of network load
Summary: atl1 driver cause kernel oops IF ram > 4Gyte and a lot of network load
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-13 11:38 UTC by Michele Schiavo
Modified: 2007-09-22 14:07 UTC (History)
0 users

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


Attachments
patch to disable data-corrupting 64-bit DMA on atl1 (atl1-disable-broken-64-bit-dma.patch,1.78 KB, patch)
2007-09-13 13:12 UTC, Mike Pagano
Details | Diff
my .config (config,45.30 KB, text/plain)
2007-09-13 14:37 UTC, Michele Schiavo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2007-09-13 11:38:34 UTC
http://marc.info/?l=linux-mm-commits&m=118764750020317&w=2

Ref 1 : http://bugzilla.kernel.org/show_bug.cgi?id=8996
Ref 2 : https://bugzilla.redhat.com/show_bug.cgi?id=249511


Only ask if it's possible to apply this patch to gentoo-sources.

Thank's



Reproducible: Always

Steps to Reproduce:
1. In a system with atl1 network card and more of 4 GByte of ram, kernel oops with a lot of network traffic.
Comment 1 Mike Pagano gentoo-dev 2007-09-13 13:12:14 UTC
Created attachment 130814 [details, diff]
patch to disable data-corrupting 64-bit DMA on atl1

Can you attach your .config for me?

Can you apply this patch to gentoo-sources-2.6.22-r6, test it and post the results here?
Comment 2 Michele Schiavo 2007-09-13 14:37:44 UTC
Created attachment 130831 [details]
my .config
Comment 3 Michele Schiavo 2007-09-13 14:38:58 UTC
...i'm trying to apply this patch.....

it's a lot of time i didn't apply a patch :-)

Comment 4 Mike Pagano gentoo-dev 2007-09-13 15:15:16 UTC
(In reply to comment #3)
> ...i'm trying to apply this patch.....

copy the patch to /usr/src/linux or wherever you compile the 2.6.22-r6 kernel and type:

patch -p1 < atl1-disable-broken-64-bit-dma.patch

then make and install the kernel as you normally do
Comment 5 Michele Schiavo 2007-09-13 16:49:19 UTC
patch -p1 < ../atl1-disable-broken-64-bit-dma.patch
patching file drivers/net/atl1/atl1_main.c
Hunk #1 succeeded at 2097 (offset -105 lines).
Hunk #2 succeeded at 2171 (offset -105 lines).
Hunk #3 succeeded at 2187 (offset -105 lines).

make clean
make -j2
....


Thank's

After 30' I'll back home and I will let you know.
Comment 6 Michele Schiavo 2007-09-13 17:46:27 UTC
I think it's ok

 ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1B:FC:97:03:95  
          inet addr:192.168.75.200  Bcast:192.168.75.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:63713 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1228240 errors:0 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000 
          RX bytes:21297998 (20.3 Mb)  TX bytes:1784561705 (1701.8 Mb)




 ifconfig 
eth0      Link encap:Ethernet  HWaddr 00:1B:FC:97:03:93  
          inet addr:192.168.75.201  Bcast:192.168.75.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1341289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60936 errors:0 dropped:0 overruns:0 carrier:2
          collisions:0 txqueuelen:1000 
          RX bytes:1960935531 (1870.0 Mb)  TX bytes:12898455 (12.3 Mb)
Comment 7 Mike Pagano gentoo-dev 2007-09-13 18:00:55 UTC
Thanks for testing. This is targeted for inclusion in the next genpatches release.

If any problems manifest themselves, please notify us via this bug.

Bug will be closed once the gentoo-sources revision containing the patch is
released.
Comment 8 Daniel Drake (RETIRED) gentoo-dev 2007-09-22 14:07:43 UTC
fixed in genpatches-2.6.22-8 / gentoo-sources-2.6.22-r7