Author Topic: CF Issues  (Read 2850 times)

corster

  • Newbie
  • *
  • Posts: 38
    • View Profile
CF Issues
« on: August 01, 2004, 11:37:06 am »
Well I'm not sure if this is related to my earlier post about sandisk SD cards, but I am having a strange problem. If I put my Z in the cradle, insert the wifi card (WCF12), telnet to it, tinker around in the shell (i had been trying to setup samba, which worked fine) exit the remote shell, and safely remove the wifi card. My CF card will no longer be recognized when i reinsert it. It sees that a CF card is inserted and it will eject vi the taskbar icon, but it's as if it will no longer mount it. Rebooting doesn't help and so I have to perform another hard reset (luckily I now have everything backed up) The only things that I can think could possibly be contributing factors to this are:

a. the Z doesn't like having a wifi card attached while being in the cradle at the same time?
b. in my smb.conf file I remove usbd0 and just have eth0?
c. the Z doesn't like being configured via telnet where services are restarted?

Suggestions?

-cor-

corster

  • Newbie
  • *
  • Posts: 38
    • View Profile
CF Issues
« Reply #1 on: August 01, 2004, 08:32:05 pm »
Oh yeah, I guess I probably should mention that it's an sl-5500 using the sharp 3.10 ROM

-cor-

corster

  • Newbie
  • *
  • Posts: 38
    • View Profile
CF Issues
« Reply #2 on: August 01, 2004, 09:23:32 pm »
Ok, I've been playing around and I think I isolated the problem and am able to workaround it. If the WiFi Card is inserted and I have nmbd and smbd running, it will not allow me to shutdown the network service. Instead, a message appears suggesting shutting the Z down and removing the card afterwards, which I did originally and seems to have been the cause of the Z not mounting the CF card because it may have been in some kind of locked state.. who knows. To workaround this, I simply killed the nmbd and smbd services. I really don't need them anyway if I have no network card attached  

I am, however, interested in hearing any suggestions or stories of other people that have been through this. I still love my Z and wouldn't trade it for any other PDA

-cor-

MtnMichael

  • Newbie
  • *
  • Posts: 40
    • View Profile
CF Issues
« Reply #3 on: August 06, 2004, 06:10:34 pm »
Cor,

Just a couple of quick thoughts:

A) the hard reset might be due to a bug in the Sharp ROM.  If you don't suspend before doing a another reboot (after the last reboot), then during the shutdown process it will hang.  So typically what I do after a reboot, is to immediately suspend my Z and turn it back on.  This gets you around the hard reset and you don't have to remember to do a suspend prior to a full shutdown.  :-P  You can restart Qtopia to your heart's content.

 It's possible that the Z is getting confused when you have the WiFi card enabled while in the cradle.  I don't have a WiFi, so can't say for certain.  :-(  Since effectively this would act a double nic, it's quite possible the Z doesn't have the ability to handle this.  Again, I have no way of knowing for sure without testing.

C) I've never had issues with stopping/starting services while telnet'd in.  Usually "kill -HUP service" should work just fine.

D) In lieu of rebooting, you might consider using the "cardctl" function to eject/insert your card.  This can be done from the command line.  So for the CF slot (socket zero), you can do: cardctl eject 0.  This will eject the CF card.  To start it back up, simply "cardctl insert 0".  Double check my commands by simply typing "cardctl" at the command line.  It will give you the list of commands.

Lastly, be sure to scan through the FAQ and How-To's.  Most of your ground has probably been covered there or maybe might yield another nugget of info.  :-)

Hope that helps.

- Michael

xamindar

  • Hero Member
  • *****
  • Posts: 803
    • View Profile
    • http://www.radnimax.com
CF Issues
« Reply #4 on: August 10, 2004, 01:52:06 am »
also, you could go to a terminal and, as root, type this:
bash-2.05# ifconfig eth0 down  

that will shut down your wifi connection if you can't do it because the "device is busy".

That works for me when I have an internet program activly running (shoutcast stream for example) and I just want to disconnect.
SL-C3100 happily Dualbooting Japanese Rom 1.02 and Debian Eabi
Replaced internal CF with 8gb seagate cf hard drive
Ambicom CF GPS
CyberPower battery powered USB hub
D-link DCF-650W (MAN THIS THING IS HUGE!!)