Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

SuSE9.2 on AMD64/ASUS A4764KLP

RaeTheGit
2004-12-16
2013-04-08
  • RaeTheGit
    RaeTheGit
    2004-12-16

    Hi,
    after about 2 days of struggling to get the pcmcia-connector to work on the above configuration, I hope to get some help here...

    lspci says the following about the cardbus-controller:
    0000:02:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)

    Installed version of pcmcia-cs is 3.2.8-3 (from yast-onlineupdate). Kernel is 2.6.9 with some additional laptop-specific patches and built for generic 64bit-arch (x86_64).
    if needed, i can provide the applied config- and patchfile for download or view.

    I have tried a few approaches so far to get pcmcia to work, as the built-in WLAN-chip is not supported by linux due to the 64bit-arch, so one could at least connect a pcmcia-WLAN-card.

    Current status:

    - added the following lines to /etc/pcmcia/config.opts:
       include memory 0xf8a00000-0xfeafffff
       include port 0x0000b000-0x0000dfff
      (see http://tuxmobil.org/asus_l5800df.html which uses the same chip)
      this got rid of the message, that the kernel is unable to map card-memory

    - excluded all used IRQs (according to /proc/interrupts) one after the other to get rid of the following error:
          Dec 16 10:45:30 localhost kernel: pcnet_cs: RequestIRQ: Resource in use
       But this didn't work.

    - I also tried the hint from http://portal.suse.com/sdb/en/1997/03/pcmcia_irq.html and set the variable PCMCIA_PCIC_OPTS in /etc/sysconfig/pcmcia but this also brought no change according to the symptoms.

    This is the full error-message reported by /var/log/messages:

    Dec 16 10:45:30 localhost cardmgr[3528]: socket 0: Kingston CIO10T Ethernet
    Dec 16 10:45:30 localhost kernel: cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xfffff
    Dec 16 10:45:30 localhost kernel: cs: memory probe =x60000000-0x60ffffff: excluding 0x60000000-0x60ffffff
    Dec 16 10:45:30 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: excluding 0xa0000000-0xa0ffffff
    Dec 16 10:45:30 localhost kernel: cs: memory probe 0xf8a00000-0xfeafffff: excluding 0xf8a00000-0xfd2bffff 0xfdee0000-0xfeafffff
    Dec 16 10:45:30 localhost cardmgr[3528]: get dev info on socket 0 failed: No such device
    Dec 16 10:45:30 localhost kernel: pcnet_cs: RequestIRQ: Resource in use

    Any help is appreciated.
    Thanks in advance,
    Sven

     
    • David Hinds
      David Hinds
      2004-12-20

      The "RequestIRQ: Resource in use" message meant that there were apparently NO available interrupts.  So you need  to free up an interrupt that is currently in-use, not reserve additional interrupts.

      The default /etc/pcmcia/config.opts file reserves irq's 4 and 7 so you might want to un-reserve one of those.

      - Dave

       
    • RaeTheGit
      RaeTheGit
      2004-12-21

      Ok, ran up the wrong way there, thanks a lot.

      Now, I commented out all IRQ-exclusions, but still I get  the same error.

      Unfortunately, I can't spend any more time on this issue, but maybe someone has a hint for any users who run into the same problem (if you ask me: unlikely - but murphy is everywhere...).

       
      • David Hinds
        David Hinds
        2004-12-29

        Can you show your /proc/interrupts?

        If /proc/interrupts appears to show SOME free interrupts, then my other question would be whether you configured your kernel with CONFIG_ISA turned on?  I think that you need to do that to tell the PCMCIA drivers that you do have ISA interrupts.

        -- Dave

         
    • RaeTheGit
      RaeTheGit
      2005-02-07

      Ok, different machine, same distro and same problem with the IRQs...

      Here's /proc/interrupts:

      #-------------------------
      # cat /proc/interrupts
                 CPU0      
        0:    1649410          XT-PIC  timer
        1:       1150          XT-PIC  i8042
        2:          0          XT-PIC  cascade
        5:      14940          XT-PIC  uhci_hcd, ohci1394, eth0, i915@pci:0000:00:02.0
        7:        361          XT-PIC  hsfmc97ich, Intel 82801DB-ICH4
        9:       1066          XT-PIC  acpi
      10:     100000          XT-PIC  uhci_hcd, uhci_hcd, ehci_hcd
      12:      35691          XT-PIC  i8042
      14:       8655          XT-PIC  ide0
      15:         38          XT-PIC  ide1
      NMI:          0
      ERR:          0
      #---------------------

      Funny enough, as soon as I insert a pcmcia-card, i get the following message:

      #--------------------
      Feb  7 21:03:33 localhost kernel: irq 10: nobody cared!
      Feb  7 21:03:33 localhost kernel:  [<c010916a>] __report_bad_irq+0x2a/0x90
      Feb  7 21:03:33 localhost kernel:  [<c0109285>] note_interrupt+0x95/0xc0
      Feb  7 21:03:33 localhost kernel:  [<c01094a5>] do_IRQ+0xe5/0x110
      Feb  7 21:03:33 localhost kernel:  [<c010727c>] common_interrupt+0x18/0x20
      Feb  7 21:03:33 localhost kernel:  [<c011f33e>] __do_softirq+0x2e/0x90
      Feb  7 21:03:33 localhost kernel:  [<c011f3c7>] do_softirq+0x27/0x30
      Feb  7 21:03:33 localhost kernel:  [<c01094ac>] do_IRQ+0xec/0x110
      Feb  7 21:03:33 localhost kernel:  [<c010727c>] common_interrupt+0x18/0x20
      Feb  7 21:03:33 localhost kernel:  [<c0105053>] default_idle+0x23/0x40
      Feb  7 21:03:33 localhost kernel:  [<c01050dd>] cpu_idle+0x2d/0x40
      Feb  7 21:03:33 localhost kernel:  [<c04007ca>] start_kernel+0x18a/0x1d0
      Feb  7 21:03:33 localhost kernel:  [<c0400380>] unknown_bootoption+0x0/0x180
      Feb  7 21:03:33 localhost kernel: handlers:
      Feb  7 21:03:33 localhost kernel: [<e00607b0>] (usb_hcd_irq+0x0/0x70 [usbcore])
      Feb  7 21:03:33 localhost last message repeated 2 times
      Feb  7 21:03:33 localhost kernel: Disabling IRQ #10
      Feb  7 21:03:33 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
      Feb  7 21:03:33 localhost cardmgr[3696]: socket 1: ATA/IDE Fixed Disk
      Feb  7 21:03:33 localhost cardmgr[3696]: get dev info on socket 1 failed: No such device
      Feb  7 21:03:33 localhost kernel: ide-cs: RequestIRQ: Resource in use
      #------------------

      Oh, and CONFIG_ISA is on.

      Sven

       
    • RaeTheGit
      RaeTheGit
      2005-02-08

      Update:

      When booting the SuSE-Kernel, USB doesnt work, but PCMCIA does - as opposed to the self-built kernel.

      Here, IRQ 5 instead of 10 gets disabled.
      (same PCMCIA-configuration).

      I doubt, if this is much help though, as SuSE patches their kernels as if there was no tomorrow with god knows which sort of stuff...