Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: DSL (and marvell yukon) disconnects

  1. #11
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DSL (and marvell yukon) disconnects

    Try updating the built-in network card drivers. Run the following command:
    Code:
    gksudo software-properties-gtk
    and check the "Unsupported updates (backports)" box if it isn't already selected.

    Then run:
    Code:
    sudo apt-get install linux-backports-modules-net-$(lsb_release -cs)-generic

  2. #12
    Join Date
    Sep 2010
    Location
    Germany
    Beans
    52
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: DSL (and marvell yukon) disconnects

    Hi Snisarg,
    sorry for delay. I was in vacation for few days.
    You use the linux kernel version 2.6.35. The sk98lin driver v10.85.9.3 does not support this kernel. Here is the workaround:

    1) use ./install.sh -> 3) generate makefile -> follow the commands on display:
    $ export ...
    $ make ...
    it will fail.
    2) in DriverInstall/src/skge.c file do as follows:
    Replace the lines with (-) to (+)

    - struct dev_mc_list *pMcList;*/
    + struct netdev_hw_addr *ha;
    int i;
    ............

    ("Number of MC entries: %d ", dev->mc_count));

    - pMcList = dev->mc_list;
    - for (i=0; i<dev->mc_count; i++, pMcList = pMcList->next) {
    - SkAddrMcAdd(pAC, pAC->IoBase, PortIdx,
    - (SK_MAC_ADDR*)pMcList->dmi_addr, 0);
    - SK_DBG_MSG(NULL, SK_DBGMOD_DRV, SK_DBGCAT_DRV_MCA,
    - ("%02x:%02x:%02x:%02x:%02x:%02x\n",
    - pMcList->dmi_addr[0],
    - pMcList->dmi_addr[1],
    - pMcList->dmi_addr[2],
    - pMcList->dmi_addr[3],
    - pMcList->dmi_addr[4],
    - pMcList->dmi_addr[5]));
    - }

    + i=0;
    + netdev_for_each_mc_addr (ha, dev){
    + SkAddrMcAdd(pAC, pAC->IoBase, PortIdx,
    + (SK_MAC_ADDR*)ha->addr, 0);
    + SK_DBG_MSG(NULL, SK_DBGMOD_DRV, SK_DBGCAT_DRV_MCA,
    + ("%02x:%02x:%02x:%02x:%02x:%02x\n"));
    + i++;
    + }

    SkAddrMcUpdate(pAC, pAC->IoBase, PortIdx)

    3) use make command again to bulid the driver (sk98lin.ko)
    4) load the driver with:
    $ insmod src/sk98lin.ko

    Please let me know if it works.
    Last edited by mathia; January 13th, 2011 at 02:35 PM.

  3. #13
    Join Date
    Dec 2010
    Location
    India
    Beans
    37
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DSL (and marvell yukon) disconnects

    Thank you for your replies...

    can you please explain the process of 'make' and even the next step. I really don't know how to use the terminal commands.

  4. #14
    Join Date
    Dec 2010
    Location
    India
    Beans
    37
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DSL (and marvell yukon) disconnects

    @PatchesTheCaveman

    i did what you requested and it worked successfully.
    -------------------------------------------------------------
    nisarg@nisarg-VPCEB14EN:~$ gksudo software-properties-gtk
    nisarg@nisarg-VPCEB14EN:~$ sudo apt-get install linux-backports-modules-net-$(lsb_release -cs)-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    linux-backports-modules-net-2.6.35-24-generic
    The following NEW packages will be installed:
    linux-backports-modules-net-2.6.35-24-generic
    linux-backports-modules-net-maverick-generic
    0 upgraded, 2 newly installed, 0 to remove and 39 not upgraded.
    Need to get 82.6kB of archives.
    After this operation, 274kB of additional disk space will be used.
    Do you want to continue [Y/n]? Y
    Get:1 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main linux-backports-modules-net-2.6.35-24-generic i386 2.6.35-24.15 [77.5kB]
    Get:2 http://in.archive.ubuntu.com/ubuntu/ maverick-updates/main linux-backports-modules-net-maverick-generic i386 2.6.35.24.28 [5,092B]
    Fetched 82.6kB in 7s (10.5kB/s)
    Selecting previously deselected package linux-backports-modules-net-2.6.35-24-generic.
    (Reading database ... 148327 files and directories currently installed.)
    Unpacking linux-backports-modules-net-2.6.35-24-generic (from .../linux-backports-modules-net-2.6.35-24-generic_2.6.35-24.15_i386.deb) ...
    Selecting previously deselected package linux-backports-modules-net-maverick-generic.
    Unpacking linux-backports-modules-net-maverick-generic (from .../linux-backports-modules-net-maverick-generic_2.6.35.24.28_i386.deb) ...
    Setting up linux-backports-modules-net-2.6.35-24-generic (2.6.35-24.15) ...
    update-initramfs: Generating /boot/initrd.img-2.6.35-24-generic
    Setting up linux-backports-modules-net-maverick-generic (2.6.35.24.28) ...
    nisarg@nisarg-VPCEB14EN:~$
    --------------------------------------------------------

    so now what? is it done?

  5. #15
    Join Date
    Oct 2009
    Location
    Tucson, AZ
    Beans
    782
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DSL (and marvell yukon) disconnects

    Yeah. Reboot and see if it's any better. If not you will need to try mathia's solution.

  6. #16
    Join Date
    Dec 2010
    Location
    India
    Beans
    37
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: DSL (and marvell yukon) disconnects

    Okay. I can now safely say my problem is solved!
    thank you for helping me considering you had to explain even the baby steps to me in detail.
    however, i have tried both your suggestions, so i cannot say what exactly helped(ie, what the prolbems was exactly and how was it solved.) For those who have such similar problems, just try both
    thank you once again.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

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