FedoraForum.org - Fedora Support Forums and Community
Page 2 of 5 FirstFirst 1234 ... LastLast
Results 16 to 30 of 63
  1. #16
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    42
    Posts
    2,856
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  2. #17
    Join Date
    Nov 2004
    Location
    Mississippi, USA
    Posts
    1,180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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'
    Attached Files Attached Files

  3. #18
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    42
    Posts
    2,856
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  4. #19
    Join Date
    Nov 2004
    Location
    Mississippi, USA
    Posts
    1,180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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'
    Attached Files Attached Files

  5. #20
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    42
    Posts
    2,856
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It compiles now.

    I'll rpm it and post that here.
    S.C.O.U.R.G.E. Heroes of lesser renown, contributor.

  6. #21
    Join Date
    Apr 2005
    Location
    Littleton, CO
    Age
    42
    Posts
    2,856
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

  7. #22
    Join Date
    Feb 2007
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I installed Attansic L2:
    Code:
    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
    Check /lib/modules/`uname -r`/kernel/drivers/net/atl2/atl2.ko
    Code:
    depmod
    add to the file /etc/modprobe.conf alias eth0 atl2
    Code:
    modprobe eth0
    ifconfig eth0 192.168.28.70 netmask 255.255.0.0 up
    /usr/bin/system-config-network
    But it doesn't work properly.

    ping 192.168.0.1
    Code:
    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
    /etc/sysconfig/networking/devices/ifcfg-eth0
    Code:
    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
    ifconfig eth0
    Code:
    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
    netstat -rn
    Code:
    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
    cat /etc/sysctl.conf
    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
    What still I should make?

    TIA
    Last edited by Ex_Soft; 16th December 2007 at 08:33 PM.

  8. #23
    Stephen.Rice Guest
    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
    Attached Files Attached Files

  9. #24
    bradley Guest
    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

  10. #25
    Stephen.Rice Guest
    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

  11. #26
    bradley Guest
    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

  12. #27
    Join Date
    Nov 2004
    Location
    Mississippi, USA
    Posts
    1,180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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'

  13. #28
    bradley Guest
    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

  14. #29
    Join Date
    Nov 2004
    Location
    Mississippi, USA
    Posts
    1,180
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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'

  15. #30
    bradley Guest
    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

Page 2 of 5 FirstFirst 1234 ... LastLast

Similar Threads

  1. attansic Network onboard asus p5q-pro
    By agvahi in forum Servers & Networking
    Replies: 1
    Last Post: 9th July 2008, 03:27 AM
  2. attansic l2 fedora 8
    By bradley in forum Hardware
    Replies: 4
    Last Post: 27th November 2007, 01:09 PM
  3. Asus Mb P5gc-mx - Vga
    By asusbro in forum Hardware
    Replies: 0
    Last Post: 11th August 2007, 05:26 AM
  4. Attansic L1
    By ddover in forum Hardware
    Replies: 13
    Last Post: 16th June 2007, 06:39 AM
  5. Need Attansic LI Gigabit drivers
    By pdxguy in forum Hardware
    Replies: 17
    Last Post: 25th April 2007, 12:16 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •