Jump to content

mcnlive.loop on ext3


pilotaviola
 Share

Recommended Posts

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.

Link to comment
Share on other sites

  • Replies 37
  • Created
  • Last Reply

Top Posters In This Topic

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 by chris:b
Link to comment
Share on other sites

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.

 

:lol2:

 

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.

Link to comment
Share on other sites

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. :thumbs:

Link to comment
Share on other sites

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 ...

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...