At least the new version provides a new error.Code:error: implicit declaration of function ‘eth_copy_and_sum’
At least the new version provides a new error.Code:error: implicit declaration of function ‘eth_copy_and_sum’
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
eth_copy_and_sum() was removed from the kernel in 2.6.22. The L2 driver obviously hasn't kept up.
I have no way to test it, but if you edit at_main.c and replace the eth_copy_and_sum() statement with this, it might work. (It at least compiles.)
skb_copy_from_linear_data(skb, rxd->packet, rx_size);
I've attached a patch that makes the change for you. Copy it to your home directory, then do this.
Code:$ cd l2-linux-v1.0.40.4/src $ cp at_main.c at_main.c.orig $ patch < ~/atl2-skb-patch.txt $ sudo -c 'make install' $ sudo -c '/usr/bin/system-config-network'
The patched file will not compile here either. Though for a different reason.Code:at_ethtool.c:426: error: unknown field ‘get_perm_addr’ specified in initializer at_ethtool.c:426: error: ‘ethtool_op_get_perm_addr’ undeclared here (not in a function)
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
Copy the attached patch to your home directory, then execute these steps.
Code:$ cd l2-linux-v1.0.40.4/src $ cp at_ethtool.c at_ethtool.c.orig $ patch < ~/atl2-ethtool-patch.txt $ su -c 'make install' $ su -c '/usr/bin/system-config-network'
It compiles now.
I'll rpm it and post that here.
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
I can't get this thing to build as a rpm. It's so annoying.
S.C.O.U.R.G.E. Heroes of lesser renown, contributor.
I installed Attansic L2:
Check /lib/modules/`uname -r`/kernel/drivers/net/atl2/atl2.koCode:tar xzf l2-linux-v1.0.40.4.tar.gz cd l2-linux-v1.0.40.4/src cp at_main.c at_main.c.orig patch < ~/atl2-skb-patch.txt cp at_ethtool.c at_ethtool.c.orig patch < ~/atl2-ethtool-patch.txt make install
add to the file /etc/modprobe.conf alias eth0 atl2Code:depmod
But it doesn't work properly.Code:modprobe eth0 ifconfig eth0 192.168.28.70 netmask 255.255.0.0 up /usr/bin/system-config-network
ping 192.168.0.1
/etc/sysconfig/networking/devices/ifcfg-eth0Code:PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. From 192.168.28.70 icmp_seq=2 Destination Host Unreachable From 192.168.28.70 icmp_seq=3 Destination Host Unreachable From 192.168.28.70 icmp_seq=4 Destination Host Unreachable From 192.168.28.70 icmp_seq=6 Destination Host Unreachable From 192.168.28.70 icmp_seq=7 Destination Host Unreachable From 192.168.28.70 icmp_seq=8 Destination Host Unreachable From 192.168.28.70 icmp_seq=10 Destination Host Unreachable From 192.168.28.70 icmp_seq=11 Destination Host Unreachable From 192.168.28.70 icmp_seq=12 Destination Host Unreachable From 192.168.28.70 icmp_seq=14 Destination Host Unreachable From 192.168.28.70 icmp_seq=15 Destination Host Unreachable From 192.168.28.70 icmp_seq=16 Destination Host Unreachable --- 192.168.0.1 ping statistics --- 16 packets transmitted, 0 received, +12 errors, 100% packet loss, time 14999ms, pipe 3
ifconfig eth0Code:GATEWAY=192.168.0.1 TYPE=Ethernet DEVICE=eth0 HWADDR=00:1b:fc:30:f6:2c BOOTPROTO=none NETMASK=255.255.0.0 DHCP_HOSTNAME=hostname IPADDR=192.168.28.70 ONBOOT=yes USERCTL=no IPV6INIT=no PEERDNS=yes NOZEROCONF=yes
netstat -rnCode:eth0 Link encap:Ethernet HWaddr 00:1B:FC:30:F6:2C inet addr:192.168.28.70 Bcast:192.168.255.255 Mask:255.255.0.0 inet6 addr: fe80::21b:fcff:fe30:f62c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:606 errors:0 dropped:0 overruns:0 frame:0 TX packets:105 errors:0 dropped:0 overruns:0 carrier:1 collisions:0 txqueuelen:1000 RX bytes:59729 (58.3 KiB) TX bytes:0 (0.0 b) Memory:dffc0000-e0000000
cat /etc/sysctl.confCode:Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
What still I should make?Code:# Kernel sysctl configuration file for Red Hat Linux # # For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and # sysctl.conf(5) for more details. # Controls IP packet forwarding net.ipv4.ip_forward = 1 # Controls source route verification net.ipv4.conf.default.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 # Controls the System Request debugging functionality of the kernel kernel.sysrq = 0 # Controls whether core dumps will append the PID to the core filename. # Useful for debugging multi-threaded applications. kernel.core_uses_pid = 1 # Controls the use of TCP syncookies net.ipv4.tcp_syncookies = 1
TIA
Last edited by Ex_Soft; 16th December 2007 at 08:33 PM.
Hi,
I hope this helps. I had exactly the same problems you describe. I found some really useful pointers at : http://karbownicki.com/2007/11/02/ka...-jadro-2-6-23/
(I don't speak any of the language so just guessed what some of the meaning must be)
Put this together with the rest of the info fro this thread and the latest version of the drivers I could fing and came up with the the following zip.
For me, a simple 'make install' created the .ko and it works! (for me at any rate). I am using a 2.6.23-r3 kernel if that helps.
Very many thanks to the other people who really solved the problems (I just stuck it together!)
Stephen
hi all
I have got the attansic.zip file on a floppy disk in my drive.
How do I install it from my fedora core 7 KDE so I can use the internet to upgrade.
I am using Ubuntu at moment and am quite happy with it but fedora is my favourita since i had it back in 2004 version 2 i think it was, anyway enough of memories, can somebody please help .
TIA
Last edited by bradley; 6th January 2008 at 02:26 PM. Reason: typo
Hi,
It should be as simple as unzipping to a directory (any should so, including on the floppy). Change to the 'src' directory and then do a 'make install'. That should build the driver and copy it to the 'ls /lib/modules/<YOUR KERNEL VER>/kernel/drivers/net/atl2'. It should be called atl2.ko.
Obviously you will need to load the module and configure the network details before you can use it.
Stephen
at the moment I have not the knowledge to access the floppy from the terminal
can you provide me the terminal commands to do all this please or at least get me started
TIA
Code:$ su -c 'mount -t vfat /dev/fd0 /mnt' $ cd $ cp /mnt/attansic.zip . $ su -c 'umount /mnt' $ unzip attansic.zip $ cd attansic/src $ su -c 'make install'
hi
The make install failed because of missing kernel sources
Where can I get these from and how do I install these from floppy or cd
My kernel is 2.6.21-1.3194.fc7
BTW I am using root because the keyboard auto-repeat is too fast me in KDE and i cannot get the password in for su as i cannot see how many characters i have typed
Last edited by bradley; 7th January 2008 at 10:31 AM. Reason: correcting a word
The necessary rpm packages will be on your installation CDs. Insert the CDs one at a time until you find these two files. (They may or may not be on the same CD.)
kernel-devel-2.6.21-1.3194.fc7.i586.rpm
kernel-headers-2.6.21-1.3194.fc7.i386.rpm
Copy both of them to your home directory, then execute these steps.
Code:$ cd $ su -c 'rpm -Uvh kernel*rpm' $ cd attansic/src $ su -c 'make install'
hi
i installed from a live cd they are not on it
Can anyone point me to website (repository) for FC7 kernel-headers and -devel. I found them for FC6 but not for FC7.
I'll need them for the FC8 kernel when I upgrade won't I
Surely FC9 should have the attansic l2 driver on board
Last edited by bradley; 8th January 2008 at 08:40 AM. Reason: a further comment