chris:b Posted August 29, 2007 Report Share Posted August 29, 2007 Paolo, the link you gave describe the old way of initializing pcmcia. Newer kenels with udev use this: PCMCIA cards (also known as PC Cards) are handled at hotplug on the PCMCIA and PCI buses, using udev rules and utilities from the pcmciautils package. The PCMCIA controller module is detected by the installer or by the harddrake service, and is configured in the /etc/modprobe.preload.d/pcmcia file. Some udev rules run /sbin/pcmcia-socket-startup to setup resource database for sockets that require it. The system resources can be configured in the /etc/pcmcia/config.opts file. The PCMCIA devices can be listed using the lspcmcia and pccardctl tools. If a card isn't binded to the correct driver, its device IDs should be added to the matching kernel module (the /etc/pcmcia/config file isn't used anymore). This works when our live system is fully up and running. My problem is, I don't know what to put into the initial ramdisk. I can't find an udev rule, I don't know if we need additional user space tools, if we need a special directory in /etc ... We would need a kernel and udev and MDV expert, who is familiar with the exact process. Quote Link to comment Share on other sites More sharing options...
pilotaviola Posted August 29, 2007 Author Report Share Posted August 29, 2007 Ok, I got it. Still I don't understand why with toronto I can see the CF partitons without reinsert it.... BTW, is too late to ask you to add mozilla thunderbird and synce to the pilota.iso? Thank you so much! Quote Link to comment Share on other sites More sharing options...
chris:b Posted August 29, 2007 Report Share Posted August 29, 2007 (edited) On the test pilota.iso all pcmcia modules are pre-loaded in the early boot stage, and udev is called as well in this early stage. So, the basic detection is done, but it fails somehow. When we are entering the full system, the detection does not start over again. When you take out the card, the kernel says: ACTION. You re-insert it and the kernel says: ACTION. And udev and stuff does it right this time. You can make it visible by opening a terminal and type: tail -f /var/log/messages before you do something with the card. On the running MCNLive. Maybe we even can see what we are missing. It is not too late for your wishes. Shoot! :D Edited August 29, 2007 by chris:b Quote Link to comment Share on other sites More sharing options...
chris:b Posted August 29, 2007 Report Share Posted August 29, 2007 pcmciauitils ...rpm package: "PCMCIAutils contains hotplug scripts and initialization tools necessary to allow the PCMCIA subsystem to behave (almost) as every other hotpluggable bus system (e.g. USB, IEEE1394)." Okay, what are they doing. B) I can at least all files that are installed with this package add to the initrd. It is kind of funny to find something for hardware you never used. When in early 2005 I started developing the first LiveUSB I had no computer which was able to boot from usb, and I had no usb stick. At mandrivaclub.nl we developped everything 'online', while I was preparing the code and implement it into mklivecd, two crew members made tests. Bad news: it took forever. Good news: this was soooo much fun. The best things, with Linux, for me personally is: working together with folks on a problem and the solution. Quote Link to comment Share on other sites More sharing options...
pilotaviola Posted August 30, 2007 Author Report Share Posted August 30, 2007 You can make it visible by opening a terminal and type:tail -f /var/log/messages before you do something with the card. On the running MCNLive. Maybe we even can see what we are missing. Ok, I will do It is not too late for your wishes. Shoot! :D Great :D Quote Link to comment Share on other sites More sharing options...
pilotaviola Posted August 30, 2007 Author Report Share Posted August 30, 2007 pcmciauitils ...rpm package:...... I can at least all files that are installed with this package add to the initrd. Looks like you found the solution...I am crossing the fingers! When in early 2005 I started developing the first LiveUSB...... The best things, with Linux, for me personally is: working together with folks on a problem and the solution. The collaboration between motivated and expert people is the key of the opensource software success, and with your MCNlive you made a wonderful job. Quote Link to comment Share on other sites More sharing options...
chris:b Posted August 30, 2007 Report Share Posted August 30, 2007 I had a look at the pcmciautils. Seems that there is even more involved in configuring these cards. I'd need to write some special scripts - but I am unsure. I admit that this is above my head if I need to do this without the hardware at hand. Sorry, Paolo. And the OO version will delay a bit ... Quote Link to comment Share on other sites More sharing options...
pilotaviola Posted August 30, 2007 Author Report Share Posted August 30, 2007 I had a look at the pcmciautils.Seems that there is even more involved in configuring these cards. I'd need to write some special scripts - but I am unsure. I admit that this is above my head if I need to do this without the hardware at hand. Sorry, Paolo. BTW, if you have a CF I can send you a PCMCIA adapter. And the OO version will delay a bit ... Obviously, take your time! Quote Link to comment Share on other sites More sharing options...
Recommended Posts