Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2010-01-03 Thread Dominik Brodowski
Hey,

On Sun, Jan 03, 2010 at 06:57:27PM +0900, Komuro wrote:
> I think 3c589_cs is loaded before memory resource is ready.

I don't think so:

> pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
> pcmcia_socket pcmcia_socket0: cs: memory probe 0xd200-0xd40f: 
> excluding 0xd2e7-0xd307 0xd3ef-0xd40f

Here the mem resoures are properly checked, and some seem to return sane
values. We wouldn't even proceed further if there were no mem resources...

Best,
Dominik

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2010-01-03 Thread Komuro

Hi, 

I can't reproduce the CIS problem now. 


Below is the dmesg I got before.

I think 3c589_cs is loaded before memory resource is ready.


pcmcia_socket pcmcia_socket0: pccard: PCMCIA card inserted into slot 0
pcmcia_socket pcmcia_socket0: cs: memory probe 0xd200-0xd40f: excludin
g 0xd2e7-0xd307 0xd3ef-0xd40f
pcmcia 0.0: pcmcia: registering new device pcmcia0.0
pcmcia 0.1: pcmcia: registering new device pcmcia0.1
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x100-0x3af: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x3e0-0x4ff: excluding 0x4d0-0
x4d7
pcmcia_socket pcmcia_socket0: cs: IO port probe 0x820-0x8ff: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xc00-0xcf7: clean.
pcmcia_socket pcmcia_socket0: cs: IO port probe 0xa00-0xaff: clean.
3c589_cs 0.0: pcmcia: could not parse base and rmask0 of CIS
eth0: 3Com 3c562, io 0x300, irq 3, hw_addr ff:ff:ff:ff:ff:ff
  32K FIFO split 3:5 Rx:Tx, auto xcvr
0.1: ttyS0 at I/O 0x3f8 (irq = 3) is a 16550A


___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2010-01-01 Thread Komuro
>>This can be (and probably is) totally unrelated, but e.g. in Fedora 10 
>>somewhere in their 2.6.27.xx kernel series updates, my USB 3G modem 
>>stopped to work if it was plugged to USB port at the boot time. After 
>>booting, doing unplug->replug it started to work normally.
>>
>>I just wonder if there is something wrong in the kernel hotplug system 
>>or something.
>>
>

sorry,
I tried the Fedore11 + kernel-2.6.32 again.
My USB CDROM is detected properly.


___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2010-01-01 Thread Komuro
Hi,


>This can be (and probably is) totally unrelated, but e.g. in Fedora 10 
>somewhere in their 2.6.27.xx kernel series updates, my USB 3G modem 
>stopped to work if it was plugged to USB port at the boot time. After 
>booting, doing unplug->replug it started to work normally.
>
>I just wonder if there is something wrong in the kernel hotplug system 
>or something.
>

Yes.
Actually, if I connect the USB CDROM and boot linux,
the USB CDROM is not detected and I need to replug it.

So I think at least USB device support of udev has the bug.

Best Regards
Komuro


___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2009-12-30 Thread Dominik Brodowski
Hey,

Good to know it's reproducible... Does issuing

# pccardctl eject
# pccardctl insert

without actually ejecting and inserting the card fix the issue you're
seeing?

Best,
Dominik

___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia


Re: Re: [ANOTHER BUG? kernel 2.6.32] 3com 3c562 card can't access CIS

2009-12-30 Thread Komuro

Hi,

>
>what's the difference between "lspcmcia -vvv" when the problem exists, and
>when the problem does not appear? Can you read out the CIS via sysfs even
>when the problem exists, and is it the same as when the problem does not
>appear?

The "lspcmcia -vvv" is same between the problem appear and problem does 
not appear.


Actually, this problem appear when I connect the 3com card and boot linux.
Even if the problem appear , after replugging the card, it works well.

I can read the CIS from /sys/class/pcmcia_socket/pcmcia_socket0/cis.



Socket 0 Bridge:[yenta_cardbus] (bus ID: :04:06.0)
Configuration:  state: on   ready: yes
Voltage: 5.0V Vcc: 5.0V Vpp: 0.0V
Available IRQs: 3, 5, 7, 10, 11
Available ioports:  0x0100 - 0x03af
0x03e0 - 0x04cf
0x04d8 - 0x04ff
0x0820 - 0x08ff
0x0a00 - 0x0aff
0x0c00 - 0x0cf7
0x1000 - 0x1fff
Available iomem:0x000c - 0x000f
0xd200 - 0xd2e6
0xd308 - 0xd3ee
Socket 0 Device 0:  [3c589_cs]  (bus ID: 0.0)
Configuration:  state: on
Product Name:   3Com Corporation 3C562D/3C563D EtherLink III LAN+Modem 
PC Car
d 
Identification: manf_id: 0x0101 card_id: 0x0562
function: 6 (network)
prod_id(1): "3Com Corporation" (0xe1c0d2aa)
prod_id(2): "3C562D/3C563D" (0xaa0fba64)
prod_id(3): "EtherLink III" (0xc9a029c2)
prod_id(4): "LAN+Modem PC Card" (0x32d830f4)
Socket 0 Device 1:  [serial_cs] (bus ID: 0.1)
Configuration:  state: on
Product Name:   3Com Corporation 3C562D/3C563D EtherLink III LAN+Modem 
PC Car
d 
Identification: manf_id: 0x0101 card_id: 0x0562
function: 6 (network)
prod_id(1): "3Com Corporation" (0xe1c0d2aa)
prod_id(2): "3C562D/3C563D" (0xaa0fba64)
prod_id(3): "EtherLink III" (0xc9a029c2)
prod_id(4): "LAN+Modem PC Card" (0x32d830f4)


___
Linux PCMCIA reimplementation list
http://lists.infradead.org/mailman/listinfo/linux-pcmcia