Author Topic: Good Old "anonymous Memory" Message When Inserting  (Read 6803 times)

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Good Old "anonymous Memory" Message When Inserting
« on: August 16, 2005, 06:13:32 am »
Hi,
Just picked up an Argosy HD530P external pcmcia drive which I was going to use with Z and CF-> PCMCIA adapter.  The card is 16 bit and has been tested on an ancient Win98 laptop that only has 16 bit PCMCIA sockets (IBM TP 560e).
When iserted into my SL5500, OZ3.2, I get the aforementioned message pop up - this is using cardctl 3.2.3(?)
Reflashed to latest Hentges ROM (very nice work, a huge improvement), which appears to have latest pcmcia_cs build, same problem.
As I understand it, the CIS is not being read correctly.
Now, I've been programming commercially for almost a decade, so I'm quite prepared to get my hands dirty in providing as much information  as I can to solve this problem (and hopefully contribute to development efforts), but I'm a Linux/Z newbie so I'll need some pointers in how to e.g. do a dump of the card data.
Can anyone let me know what existing tools there are to do this on the Z, or provide me with some cross-compiled tools?
The next step is to install a Linux distro on the TP560 to rule out the possibility that the problem is a general one with pcmcia_cs rather than the Z specifically.

Cheers,

Arnie

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Good Old "anonymous Memory" Message When Inserting
« Reply #1 on: August 16, 2005, 12:54:46 pm »
Presumably it doesn't allow you to mount /dev/hda1 after you've inserted it?

What does 'cardctl info' show?

I can't remember off the top of my head how memory cards are recognised & handled, can someone give the name of the script which should handle them,

Cheers,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Good Old "anonymous Memory" Message When Inserting
« Reply #2 on: August 17, 2005, 09:18:08 am »
Quote
Presumably it doesn't allow you to mount /dev/hda1 after you've inserted it?

What does 'cardctl info' show?

I can't remember off the top of my head how memory cards are recognised & handled, can someone give the name of the script which should handle them,

Cheers,


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92043\"][{POST_SNAPBACK}][/a][/div]

No, I can't mount the drive.
cardctl info shows

PRODID_1=""
PRODID_1=""
PRODID_1=""
PRODID_1=""
MANFID=0000,0000
FUNCID=255
PRODID_1=""
PRODID_1=""
PRODID_1=""
PRODID_1=""
MANFID=0000,0000
FUNCID=255

...this being the problem!

After a bit of research, it seems that there is a tool called "dump_cis", which I appear to not have in my vanilla Hentges installation.  Would this help?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Good Old "anonymous Memory" Message When Inserting
« Reply #3 on: August 19, 2005, 09:11:20 am »
I think that you should see more info than that, it looks like that's just the default which would be returned with no card in there (actually give that a go and see what happens).

Are you powering the card, if not, this might be a reason why it's not responding,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Good Old "anonymous Memory" Message When Inserting
« Reply #4 on: August 25, 2005, 11:52:00 am »
Quote
I think that you should see more info than that, it looks like that's just the default which would be returned with no card in there (actually give that a go and see what happens).

Are you powering the card, if not, this might be a reason why it's not responding,


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=92483\"][{POST_SNAPBACK}][/a][/div]

It's exactly what is seen when there is no card in the socket, but what does it mean?
I get the same problem with an old Psion modem card.
Surely the system must be detecting the presence of the card in orer for the anonymous memory error to show...
What do you mean by "powering the card"?
cardctl status reports "5V 16-bit PC Card  function 0: [ready]", but then it says "5v" for the Linksys PCMPC100 ethernet card that I have just bought, which is recognised.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Good Old "anonymous Memory" Message When Inserting
« Reply #5 on: August 25, 2005, 01:12:33 pm »
Some cards are presumably less fussy about their power supply requirements.


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Good Old "anonymous Memory" Message When Inserting
« Reply #6 on: August 26, 2005, 05:16:36 am »
Quote
Some cards are presumably less fussy about their power supply requirements.


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93248\"][{POST_SNAPBACK}][/a][/div]

I suppose so, but I'd like to attempt some sort of diagnosis before giving up.
Are you aware of any tools that I can use to interrogate the card at a lower level without having to write code?  I'm not set up for coding in Linux just yet but it's on a list of things to do and I'd love to contribute when I do.

At the moment, I'm trying to get to grips with the CIS, esp. how the /etc/pcmcia/cis directory works... maybe the solution lies there?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Good Old "anonymous Memory" Message When Inserting
« Reply #7 on: August 26, 2005, 06:51:20 am »
I don't know I'm afraid, but if 'cardctl info' returns no info it would be indicative of a power problem/etc.

Does your PCMCIA-CF adaptor not have an external power plug?


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

arniel

  • Full Member
  • ***
  • Posts: 103
    • View Profile
Good Old "anonymous Memory" Message When Inserting
« Reply #8 on: August 26, 2005, 08:07:44 am »
Quote
I don't know I'm afraid, but if 'cardctl info' returns no info it would be indicative of a power problem/etc.

Does your PCMCIA-CF adaptor not have an external power plug?


Si
[div align=\"right\"][a href=\"index.php?act=findpost&pid=93330\"][{POST_SNAPBACK}][/a][/div]
I wish it did!  Been searching for ages, and the only one I could find is in the USA and costs $125 for a flexible one (that can fold so the PCMCIA card folds behind the Z).
There must be something else going on for the card insertion event to be fired, surely?

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Good Old "anonymous Memory" Message When Inserting
« Reply #9 on: August 26, 2005, 09:00:03 am »
Well yes, card presence may be detected by a different method - for example by a continuity check (though you'll want to check the overall CF/PCMCIA card spec to see) or even a mechanical switch (doubt this though), but the card must be powered to be able to return any info.

This is my guess as to why it is detected on insertion, but then returns no more info.

That said, I may be wrong, and if anyone has any other ideas then please chip in,


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva