Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: How to register manually an unregistered pci network card

  1. #1
    Join Date
    May 2009
    Beans
    265

    How to register manually an unregistered pci network card

    After booting, a wifi card is not registered, but its driver: ipw2200, is loaded. How can I manually register the net card? with setpci ?

    The following lines are extracted from the output of dmesg:

    Code:
    [    0.101562] PCI: Using ACPI for IRQ routing
    [    0.101649] PCI: pci_cache_line_size set to 64 bytes
    [    0.101696] pci 0000:05:06.0: address space collision: [mem 0x13000000-0x13000fff] conflicts with System RAM [mem 0x00100000-0x7f7dfffb]
    [    0.101761] reserve RAM buffer: 000000000009fc00 - 000000000009ffff 
    [    0.101765] reserve RAM buffer: 000000007f7dfffc - 000000007fffffff 
    ....
    [    2.361793] udev: starting version 151
    [    2.377119] udevd (83): /proc/83/oom_adj is deprecated, please use /proc/83/oom_score_adj instead.
    [    2.477446] input: Video Bus as /devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input4
    [    2.485923] sky2: driver version 1.30
    [    2.542530] ACPI: Video Device [GFX0] (multi-head: yes  rom: yes  post: no)
    [    2.561248] sky2 0000:01:00.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
    [    2.573845] sky2 0000:01:00.0: setting latency timer to 64
    [    2.573882] sky2 0000:01:00.0: Yukon-2 FE chip revision 1
    [    2.578973] sky2 0000:01:00.0: irq 18 for MSI/MSI-X
    [    2.676037] sky2 0000:01:00.0: No interrupt generated using MSI, switching to INTx mode.
    [    2.681755] sky2 0000:01:00.0: eth0: addr 00:a0:d1:bb:ae:17
    [    5.064691] aufs 3.2-20120109
    ......
    [   68.912204] udev: starting version 151
    [   72.639990] intel_rng: FWH not detected
    [   73.845070] lib80211: common routines for IEEE802.11 drivers
    [   73.845076] lib80211_crypt: registered algorithm 'NULL'
    .....
    [   78.469978] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
    [   78.720198] ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
    [   78.720206] ipw2200: Unable to load firmware: -2
    [   78.720214] ipw2200: failed to register network device
    [   78.724318] ipw2200 0000:05:04.0: PCI INT A disabled
    [   78.724378] ipw2200: probe of 0000:05:04.0 failed with error -5
    [   80.007877] cfg80211: World regulatory domain updated:
    [   80.007884] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   80.007889] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   80.007894] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   80.007898] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   80.007902] cfg80211:     (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   80.007906] cfg80211:     (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   82.261353] sky2 0000:01:00.0: eth0: enabling interface
    [   82.265825] ADDRCONF(NETDEV_UP): eth0: link is not ready
    Last edited by HotForLinux; April 12th, 2012 at 01:54 AM.

  2. #2
    Join Date
    Jan 2008
    Location
    Manchester UK
    Beans
    13,638
    Distro
    Ubuntu

    Re: How to register manually an unregistered pci network card

    Thread moved to Networking & Wireless.

  3. #3
    Join Date
    Dec 2011
    Location
    The Netherlands
    Beans
    1,090
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How to register manually an unregistered pci network card

    It ain't unregisterd,
    it's broken.

    Linux can't read firmware info from it and it's useless if it can't.

    EDIT: Try pulling the card out (after turning off!), blow in the slot and reinstall it.
    There may be some dust in the socket causing communication failures.
    "Everything that has a beginning, has an end." --an unexpectedly wise wallpaper

  4. #4
    Join Date
    May 2009
    Beans
    265

    Re: How to register manually an unregistered pci network card

    Quote Originally Posted by roelforg View Post
    It ain't unregisterd,
    it's broken.

    Linux can't read firmware info from it and it's useless if it can't.

    EDIT: Try pulling the card out (after turning off!), blow in the slot and reinstall it.
    There may be some dust in the socket causing communication failures.
    Broken? broken what? the wifi netcard? ... It works perfectly well!. It has been working well and continues working well with dozens of systems. It is not a USB wifi, it is inside a laptop. I ignore if it is integrated in the MB but it has an external switch.

  5. #5
    Join Date
    May 2009
    Beans
    265

    Re: How to register manually an unregistered pci network card

    I have booted thousand of times and dozens of times after this post.
    It has only failed with two distros based on ubuntu: always with these ones and only with these ones. Come on! How do you want me to think that the wifi card is broken?
    There must be a walk around this problem!
    Can anyone help?

    Code:
    [   82.194884] mmc1: SDHCI controller on PCI [0000:05:06.4] using PIO
    [   82.194914] mmc2: no vmmc regulator found
    [   82.195015] Registered led device: mmc2::
    [   82.196416] mmc2: SDHCI controller on PCI [0000:05:06.4] using PIO
    [   82.369126] cfg80211: Calling CRDA to update world regulatory domain
    [   82.834656] libipw: 802.11 data/management/control stack, git-1.1.13
    [   82.834662] libipw: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
    [   83.812504] ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.2.2kmprq
    [   83.812511] ipw2200: Copyright(c) 2003-2006 Intel Corporation
    [   83.812651] ipw2200 0000:05:04.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
    [   83.812683] ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
    [   83.975448] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: excluding 0x170-0x177 0x1f0-0x1f7 0x300-0x377
    [   83.985653] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x3f0-0x3f7 0x4d0-0x4d7
    [   83.986408] pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
    [   83.987031] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
    [   83.987716] pcmcia_socket pcmcia_socket0: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xc7fff 0xe0000-0xfffff
    [   83.987784] pcmcia_socket pcmcia_socket0: cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
    [   83.987849] pcmcia_socket pcmcia_socket0: cs: memory probe 0x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
    [   83.987917] pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
    [   84.843653] ipw2200: ipw2200-bss.fw request_firmware failed: Reason -2
    [   84.843661] ipw2200: Unable to load firmware: -2
    [   84.843665] ipw2200: failed to register network device
    [   84.843716] ipw2200 0000:05:04.0: PCI INT A disabled
    [   84.843766] ipw2200: probe of 0000:05:04.0 failed with error -5
    [   87.167149] cfg80211: World regulatory domain updated:
    [   87.167155] cfg80211:     (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    [   87.167160] cfg80211:     (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    [   87.167164] cfg80211:     (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    [   87.167168] cfg80211:     (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
    Last edited by HotForLinux; April 18th, 2012 at 09:33 PM.

  6. #6
    Join Date
    May 2010
    Location
    uk
    Beans
    9,324
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: How to register manually an unregistered pci network card

    Hi

    After booting, a wifi card is not registered, but its driver: ipw2200, is loaded. How can I manually register the net card? with setpci ?
    I don't think that will fix this. setpci is use to set pci configuration space values.

    It looks like the issue is with the firmware udev loads for the wireless device.

    This is from the firmware documentation.
    2. The following error appears in the dmesg kernel ring buffer output:
    ipw2200: ipw-2.4-boot.fw load failed: Reason -2
    ipw2200: Unable to load firmware: -2
    ipw2200: failed to register network device
    ipw2200: probe of 0000:02:03.0 failed with error -5

    CAUSE: this may be due to any one of the following reasons:
    - firmware in wrong location or wrong firmware version. Follow the
    instructions in the section LOADING FIRMWARE VIA HOT-PLUG above.
    - sysfs may not be mounted. Follow the instructions in the SYSFS section
    above.

    What exact card and model of card do you have ? Is it an
    Intel PRO/Wireless 2200BG ?

    Have a read of this. If you have the same card then this fixed it for them.

    http://www.jukie.net/bart/blog/ipw2200-firmware

    EDIT: You edited your post while i was typing this one. Your card is different but it still think it's loading the wrong firmware for your card.

    Kind regards

    Last edited by matt_symes; April 18th, 2012 at 10:09 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  7. #7
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,995
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: How to register manually an unregistered pci network card

    Matt, I'd be interested to see if OP has the firmware at all and if it's in any way corrupted:
    Code:
    ls /lib/firmware | grep ipw2200
    md5sum /lib/firmware/ipw2200-bss.fw
    Here is my result, for comparison:
    $ md5sum /lib/firmware/ipw2200-bss.fw
    045a46163341514ef17490c76bd0c858 /lib/firmware/ipw2200-bss.fw
    OK, back to our regularly scheduled Jedi, Matt.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

  8. #8
    Join Date
    May 2009
    Beans
    265

    Re: How to register manually an unregistered pci network card

    What exact card and model of card do you have ? Is it an Intel PRO/Wireless 2200BG ?

    Quote Originally Posted by matt_symes View Post
    Hi

    I don't think that will fix this. setpci is use to set pci configuration space values.

    It looks like the issue is with the firmware udev loads for the wireless device.
    Do you know where does it loads it from?


    Quote Originally Posted by matt_symes View Post
    What exact card and model of card do you have ? Is it an Intel PRO/Wireless 2200BG ?
    That's what dmesg, as well as other commands say.


    Quote Originally Posted by matt_symes View Post
    Have a read of this. If you have the same card then this fixed it for them.

    http://www.jukie.net/bart/blog/ipw2200-firmware
    I'll do that as soon as we clear out what is my card. Shouldn't I?


    Quote Originally Posted by matt_symes View Post
    EDIT: You edited your post while i was typing this one. Your card is different but it still think it's loading the wrong firmware for your card.
    Now I am puzzled. Do you mean that it might not be an Intel PRO/Wireless 2200BG?
    Do you want me to post the output of other commands? or what do we need?
    Thanks
    Last edited by HotForLinux; April 19th, 2012 at 05:47 PM.

  9. #9
    Join Date
    May 2009
    Beans
    265

    Re: How to register manually an unregistered pci network card

    Chili555:
    What does OP mean?

    Look these outputs after booting Ubuntu Hardy, in the same PC, where this wifi card can be used with no problem:

    Code:
    $ ls /lib/firmware/2.6.24-31-generic/ipw*
    /lib/firmware/2.6.24-31-generic/ipw2100-1.3.fw
    /lib/firmware/2.6.24-31-generic/ipw2100-1.3-i.fw
    /lib/firmware/2.6.24-31-generic/ipw2100-1.3-p.fw
    /lib/firmware/2.6.24-31-generic/ipw2200-bss.fw
    /lib/firmware/2.6.24-31-generic/ipw2200-ibss.fw
    /lib/firmware/2.6.24-31-generic/ipw2200-sniffer.fw
    
    $ md5sum /lib/firmware/2.6.24-31-generic/ipw*
    dc1cece9f906f57a98f5a3859dba3e28  /lib/firmware/2.6.24-31-generic/ipw2100-1.3.fw
    b956daaa9e59be94ebdf6df0b3365cb6  /lib/firmware/2.6.24-31-generic/ipw2100-1.3-i.fw
    a03e4e0a85242356b1d5a1d489fa3a7f  /lib/firmware/2.6.24-31-generic/ipw2100-1.3-p.fw
    f0216818744e31f769098c7310688e97  /lib/firmware/2.6.24-31-generic/ipw2200-bss.fw
    8bd8a347b63aa732eb36d6b00ab660b4  /lib/firmware/2.6.24-31-generic/ipw2200-ibss.fw
    d57c836007d5245522ddbb030e21749c  /lib/firmware/2.6.24-31-generic/ipw2200-sniffer.fw
    
    from $ sudo lshw -class network:
    *-network
        description: Wireless interface
        product: PRO/Wireless 2200BG Network Connection
        vendor: Intel Corporation
        physical id: 4
        bus info: pci@0000:05:04.0
        logical name: eth1
        version: 05
        serial: 00:0e:35:e4:21:84
        width: 32 bits
        clock: 33MHz
        capabilities: bus_master cap_list ethernet physical wireless
        configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.2.6 (Mar 22 2005) ip=192.168.1.128 latency=128 maxlatency=24 mingnt=3 module=ipw2200 promiscuous=yes wireless=IEEE 802.11g
    
    from $ lspci -vv:
     Network controller: Intel Corporation PRO/Wireless 2200BG Network Connection (rev 05)
        Subsystem: Intel Corporation Unknown device 2741
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 128 (750ns min, 6000ns max)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at b800b000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2
            Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
            Status: D0 PME-Enable- DSel=0 DScale=1 PME-
    Last edited by HotForLinux; April 19th, 2012 at 06:37 PM.

  10. #10
    Join Date
    Aug 2005
    Location
    South Carolina, USA
    Beans
    22,995
    Distro
    Ubuntu 16.10 Yakkety Yak

    Re: How to register manually an unregistered pci network card

    Chili555:
    What does OP mean?
    Original Poster; i.e. you.
    I'll do that as soon as we clear out what is my card. Shouldn't I?
    I'm pretty sure it's an Intel 2200 or 2915. Check:
    Code:
    lspci -nn | grep 0280
    look this outputs using Ubuntu Hardy where this wifi card can be used with no problem:
    Are you dual-booting with Hardy? Do you have another identical computer?? What is the md5sum where it is NOT working?

    Here is my result, running 12.04:
    $ md5sum /lib/firmware/ipw*
    dc1cece9f906f57a98f5a3859dba3e28 /lib/firmware/ipw2100-1.3.fw
    b956daaa9e59be94ebdf6df0b3365cb6 /lib/firmware/ipw2100-1.3-i.fw
    a03e4e0a85242356b1d5a1d489fa3a7f /lib/firmware/ipw2100-1.3-p.fw
    045a46163341514ef17490c76bd0c858 /lib/firmware/ipw2200-bss.fw
    44cdedc8d5a0eb727466ed982db97a53 /lib/firmware/ipw2200-ibss.fw
    ebc70dce66f876695fa8852b8ff757ee /lib/firmware/ipw2200-sniffer.fw
    Notice the md5sum is different; I take that to mean either yours is an older version or it's corrupted. I'm hoping Matt will chime in with his thoughts. He or I can provide our copies for you to replace.
    "Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, Ph.D.

Page 1 of 2 12 LastLast

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
  •