Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48

Thread: Marvel ethernet card for Toshiba A300

  1. #1

    Default Marvel ethernet card for Toshiba A300

    I just installed OpenSUSE 11 on my Toshiba A300, and although the wireless network is up and running, the ethernet card isn't.

    I have insalled gcc, make, kernel-source and kernel-headers.

    I'm trying to install the Linux drivers for the Marvel ethernet card, but am getting a compile error:

    Code:
    +++ Install mode: User
    +++ Driver version: 10.60.2.3 (Apr-28-2008)
    +++ Kernel version 2.6.25.5-1.1-pae
    +++ smp_count=1
    +++ cpu_number=2
    +++ kernel_machine=i686
    +++ Architecture: i386
    +++ modpost available
    +++ Unpack the sources
    +++ ====================================
    +++ tar xfv sk98lin.tar
    2.4/
    2.4/skdim.c
    2.4/sky2.c
    2.4/skethtool.c
    2.4/Makefile
    2.4/skge.c
    2.4/h/
    2.4/h/skdrv1st.h
    2.4/h/skdrv2nd.h
    2.4/skproc.c
    2.6/
    2.6/skdim.c
    2.6/sky2.c
    2.6/skethtool.c
    2.6/Makefile
    2.6/skge.c
    2.6/h/
    2.6/h/skdrv1st.h
    2.6/h/skdrv2nd.h
    2.6/skproc.c
    common/
    common/skgehwt.c
    common/skgeasf.c
    common/sk98lin.htm
    common/skgeinit.c
    common/sktwsi.c
    common/skvpd.c
    common/sky2le.c
    common/sk98lin.4
    common/skfops.c
    common/skgespilole.c
    common/skgeasfconv.c
    common/skgemib.c
    common/skaddr.c
    common/skcsum.c
    common/skgepnmi.c
    common/vpdcheck.c
    common/sklm80.c
    common/skqueue.c
    common/sktimer.c
    common/skrlmt.c
    common/skgespi.c
    common/skxmac2.c
    common/skgesirq.c
    common/h/
    common/h/sktypes.h
    common/h/skpcidevid.h
    common/h/skqueue.h
    common/h/skrlmt.h
    common/h/skgepnm2.h
    common/h/skgeasfconv.h
    common/h/skaddr.h
    common/h/skdebug.h
    common/h/mvyexhw.h
    common/h/skgehw.h
    common/h/skgehwt.h
    common/h/skfops.h
    common/h/sktimer.h
    common/h/skgepnmi.h
    common/h/skvpd.h
    common/h/skgetwsi.h
    common/h/skerror.h
    common/h/sktwsi.h
    common/h/skcsum.h
    common/h/skversion.h
    common/h/xmac_ii.h
    common/h/sky2le.h
    common/h/skgeasf.h
    common/h/skgespi.h
    common/h/skgeinit.h
    common/h/skgesirq.h
    common/h/lm80.h
    common/h/skgedrv.h
    common/sk98lin.txt
    misc/
    misc/Kconfig
    misc/Configure.help
    
    +++ Compile the driver
    +++ ====================================
    make: Entering directory `/usr/src/linux-2.6.25.5-1.1'
    
      WARNING: Symbol version dump /usr/src/linux-2.6.25.5-1.1/Module.symvers
               is missing; modules will have no dependencies and modversions.
    
      CC [M]  /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.o
      CC [M]  /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.o
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c: In function ‘sk98lin_init_device’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:483: error: ‘struct net_device’ has no member named ‘poll’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:484: error: ‘struct net_device’ has no member named ‘weight’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:489: error: ‘struct net_device’ has no member named ‘poll’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:490: error: ‘struct net_device’ has no member named ‘weight’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:611: error: ‘struct net_device’ has no member named ‘poll’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:612: error: ‘struct net_device’ has no member named ‘weight’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:617: error: ‘struct net_device’ has no member named ‘poll’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:618: error: ‘struct net_device’ has no member named ‘weight’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c: In function ‘SkGeIsr’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:2342: error: too few arguments to function ‘netif_rx_schedule_prep’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:2345: error: too few arguments to function ‘__netif_rx_schedule’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c: In function ‘SkGeIsrOnePort’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:2513: error: too few arguments to function ‘netif_rx_schedule_prep’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:2518: error: too few arguments to function ‘__netif_rx_schedule’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c: In function ‘SkGePoll’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:3277: warning: type defaults to ‘int’ in declaration of ‘_y’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:3277: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:3298: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.c:3302: error: too few arguments to function ‘netif_rx_complete’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c: In function ‘SkY2Isr’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:428: error: implicit declaration of function ‘__netif_rx_schedule_prep’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:429: error: too few arguments to function ‘__netif_rx_schedule’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c: In function ‘SkY2Poll’:
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:665: warning: type defaults to ‘int’ in declaration of ‘_y’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:665: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:672: error: ‘struct net_device’ has no member named ‘quota’
    /tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.c:694: error: too few arguments to function ‘netif_rx_complete’
    make[1]: *** [/tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/skge.o] Error 1
    make[1]: *** Waiting for unfinished jobs....
    make[1]: *** [/tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all/sky2.o] Error 1
    make: *** [_module_/tmp/Sk98IpraqSrdFWGOVYEhWkmLJ/all] Error 2
    make: Leaving directory `/usr/src/linux-2.6.25.5-1.1'
    +++ Compiler error
    Does anyone know how I can resolve that? I am looking to get my ethernet card working, and not merely be able to connect to the internet wirelessly.

    Thanks

    Julianna

  2. #2
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Marvel ethernet card for Toshiba A300

    juliannay wrote:
    > I just installed OpenSUSE 11 on my Toshiba A300, and although the
    > wireless network is up and running, the ethernet card isn't.
    >
    > I have insalled gcc, make, kernel-source and kernel-headers.
    >
    > I'm trying to install the 'Linux drivers for the Marvel ethernet card'
    > (http://tinyurl.com/6yayc4), but am getting a compile error:
    >
    >
    > Does anyone know how I can resolve that? I am looking to get my
    > ethernet card working, and not merely be able to connect to the
    > internet wirelessly.


    I thought skge was the correct driver for that card. Does it not work?

    Please issue the commands '/sbin/lspci -v' and '/sbin/lspci -n' and post the
    part that describes the Marvel. You can correlate the two parts from the bus
    number - the stuff at the front.

    Larry

  3. #3

    Default Re: Marvel ethernet card for Toshiba A300

    How do I get skge? I tried searching for that package in Yast, but didn't get anything.

    When I go to configure the card, SUSE reports:
    Unable to configure the network card because the kernel device (eth0, wlan0) is not present. This is mostly caused by missing firmware (for wlan devices). See dmesg output for details.
    Here's the info from '/sbin/lspci -v' and '/sbin/lspci -n':

    Code:
    03:00.0 Ethernet controller: Marvell Technology Group Ltd. Device 4355 (rev 12)
            Subsystem: Toshiba America Info Systems Device ff50
            Flags: bus master, fast devsel, latency 0, IRQ 11
            Memory at f0200000 (64-bit, non-prefetchable) [size=16K]
            I/O ports at 2000 [size=256]
            Capabilities: [48] Power Management version 3
            Capabilities: [5c] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
            Capabilities: [c0] Express Legacy Endpoint, MSI 00
            Capabilities: [100] Advanced Error Reporting <?>
            Capabilities: [130] Device Serial Number 00-1e-68-ff-ff-42-53-5b
    
    
    03:00.0 0200: 11ab:4355 (rev 12)
    Thanks

    Julianna

  4. #4
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Marvel ethernet card for Toshiba A300

    juliannay wrote:
    > How do I get skge? I tried searching for that package in Yast, but
    > didn't get anything.
    >
    >
    > 03:00.0 0200: 11ab:4355 (rev 12)
    > --------------------


    My initial guess was wrong. By searching the kernel source, I found that this
    device uses the sky2 driver, which is not present in kernel
    2.6.25.5-1.1-default, but is in kernel 2.6.25.9-0.2-default. BTW, 11ab is the
    vendor code for Marvel, and 4355 is for the device. Those numbers are what the
    kernel uses to decide which driver to load.

    If you use YaST -> Software -> Online Update, you should be able to get the
    latest kernel. Once you do and reboot into it, your Ethernet interface will be
    golden.

    Larry

  5. #5
    Join Date
    Jul 2008
    Location
    Italy
    Posts
    14

    Default Re: Marvel ethernet card for Toshiba A300

    Thank you Larry for the information, but I have the same problem, and another one.
    My wireless is not working properly, so I can not make the online update of the kernel. My wireless is, for some reason, disabled. The device seems to be configured correctly, but I found no way to search for available networks and connect to any of them.
    Any idea on this? Can I get the update in some kind of package in another computer and transfer it to my computer?

    Thank you

  6. #6
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Marvel ethernet card for Toshiba A300

    I'm sure that you could download the update (it is an rpm) to another computer
    and install it that way, but let's try to get your wireless reworking. Does the
    output of dmesg say anything about your wireless? Are you using NetworkManager?
    If so, have you defined a connection in KNetworkManager, the applet in the
    lower-right hand corner of the screen? If not, you should click on it, select
    "Edit Connections" and edit the connection if one exists, or create a new one.

    Larry

  7. #7

    Default Re: Marvel ethernet card for Toshiba A300

    Hi, Larry.

    I upgraded the kernel and rebooted, but the ethernet card still isn't registering. In Yast, it still tells me that "Unable to configure the network card because the kernel device (eth0, wlan0) is not present...".

    After the upgrade, I tried searching for sky2, 11ab and 4355, but couldn't find anything. Is there a specific repository I need to add? Or is it not something which is installed through Yast?

    Out of curiosity, I also tried installing SUSE 10.3 and running the LiveUSB version of Ubuntu, but neither of those recognized the card either.

    Thanks.

    J

  8. #8
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,236

    Default Re: Marvel ethernet card for Toshiba A300

    What happens if you issue these commands:

    lsmod | grep sky
    /sbin/modprobe -rv sky2
    lsmod | grep sky

    Larry

  9. #9

    Default Re: Marvel ethernet card for Toshiba A300

    How can I upgrade the kernel without an internet connection? I downgraded it to try compiling the driver from Marvell again, and won't be able to get to a hotspot for a while.

    I tried downloading the rpms from Index of /update/11.0/rpm/x86_64 but SUSE tried to connect to the repo when I tried to install the rpms.

    Thanks.

    Julianna

  10. #10

    Default Re: Marvel ethernet card for Toshiba A300

    I managed to get to a hotspot this morning, and was able to update the kernel.

    However, I don't think I'm issuing the commands properly, because nothing seems to be happening. I tried to search for more help on the lsmod command, but there doesn't seem to be much out there.

    Here are the results of the different commands I tried:

    Code:
    linux-8e6d:~ # lsmod | grep sky
    linux-8e6d:~ # /sbin/modprobe -rv sky2
    linux-8e6d:~ # lsmod | grep sky
    linux-8e6d:~ # lsmod
    Module                  Size  Used by
    i915                   46464  2
    drm                    98200  3 i915
    af_packet              38656  2
    ip6t_LOG               23428  7
    xt_tcpudp              19584  2
    xt_pkttype             18304  3
    ipt_LOG                22788  8
    xt_limit               19076  15
    ip6t_REJECT            21376  3
    nf_conntrack_ipv6      33528  4
    ipt_REJECT             20352  3
    xt_state               18944  8
    iptable_mangle         19712  0
    iptable_nat            23688  0
    nf_nat                 35736  1 iptable_nat
    iptable_filter         19840  1
    ip6table_mangle        19584  0
    nf_conntrack_netbios_ns    19200  0
    nf_conntrack_ipv4      27652  7 iptable_nat,nf_nat
    nf_conntrack           79188  6 nf_conntrack_ipv6,xt_state,iptable_nat,nf_nat,nf_conntrack_netbios_ns,nf_conntrack_ipv4
    ip_tables              30224  3 iptable_mangle,iptable_nat,iptable_filter
    ip6table_filter        19712  1
    ip6_tables             31376  3 ip6t_LOG,ip6table_mangle,ip6table_filter
    x_tables               33668  11 ip6t_LOG,xt_tcpudp,xt_pkttype,ipt_LOG,xt_limit,ip6t_REJECT,ipt_REJECT,xt_state,iptable_nat,ip_tables,ip6_tables
    ipv6                  281064  19 ip6t_REJECT,nf_conntrack_ipv6,ip6table_mangle
    cpufreq_conservative    24456  0
    cpufreq_userspace      22660  0
    cpufreq_powersave      18176  0
    acpi_cpufreq           26380  2
    speedstep_lib          21508  0
    snd_pcm_oss            64256  0
    snd_mixer_oss          33408  1 snd_pcm_oss
    snd_seq                73664  0
    snd_seq_device         25100  1 snd_seq
    microcode              30608  0
    binfmt_misc            28040  1
    fuse                   66332  3
    loop                   35332  0
    dm_mod                 78676  0
    arc4                   18432  2
    ecb                    20096  2
    crypto_blkcipher       36356  1 ecb
    iwl3945               106332  0
    snd_hda_intel         386588  1
    firmware_class         25984  2 microcode,iwl3945
    sdhci                  33676  0
    snd_pcm               100100  2 snd_pcm_oss,snd_hda_intel
    snd_timer              40712  2 snd_seq,snd_pcm
    snd_page_alloc         27400  2 snd_hda_intel,snd_pcm
    sr_mod                 33320  0
    usbhid                 60260  0
    snd_hwdep              26372  1 snd_hda_intel
    i2c_i801               26128  0
    mac80211              190612  1 iwl3945
    video                  39312  0
    mmc_core               65564  1 sdhci
    ohci1394               48432  0
    intel_agp              43460  1
    rtc_cmos               27168  0
    rtc_core               37148  1 rtc_cmos
    hid                    53708  1 usbhid
    output                 20224  1 video
    ieee1394              107016  1 ohci1394
    snd                    79544  10 snd_pcm_oss,snd_mixer_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_pcm,snd_timer,snd_hwdep
    cdrom                  50588  1 sr_mod
    agpgart                50868  3 drm,intel_agp
    i2c_core               41108  1 i2c_i801
    rtc_lib                19328  1 rtc_core
    iTCO_wdt               28580  0
    cfg80211               35592  1 mac80211
    soundcore              24264  1 snd
    wmi                    24488  0
    serio_raw              23428  0
    battery                31108  0
    iTCO_vendor_support    20228  1 iTCO_wdt
    usblp                  30848  0
    joydev                 28224  0
    ff_memless             21896  1 usbhid
    ac                     22916  0
    button                 25360  0
    sg                     52020  0
    sd_mod                 45208  5
    ehci_hcd               52492  0
    uhci_hcd               40848  0
    usbcore               164812  5 usbhid,usblp,ehci_hcd,uhci_hcd
    edd                    26440  0
    ext3                  155912  2
    mbcache                25348  1 ext3
    jbd                    73504  1 ext3
    fan                    22660  0
    ata_piix               38532  0
    ahci                   46216  4
    libata                176604  2 ata_piix,ahci
    scsi_mod              168436  4 sr_mod,sg,sd_mod,libata
    dock                   27536  1 libata
    thermal                40348  0
    processor              67504  4 acpi_cpufreq,thermal
    linux-8e6d:~ # lsmod grep sky
    Usage: lsmod
    linux-8e6d:~ # /sbin/modprobe -rv sky2
    linux-8e6d:~ # lsmod grep sky
    Usage: lsmod
    linux-8e6d:~ # lsmod /sbin/modprobe -rv sky2
    Usage: lsmod
    I rebooted SUSE, but it's still showing the same "Unable to configure the network card because the kernel device (eth0, wlan0) is not present..." error.

    Thanks

    J

Page 1 of 5 123 ... LastLast

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
  •