<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/pcmcia-cs/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/pcmcia-cs/bugs/</id><updated>2006-05-11T13:35:46Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>pcinitrd tries to copy /dev/ram but I only have /dev/ram0</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/384/" rel="alternate"/><published>2006-05-11T13:35:46Z</published><updated>2006-05-11T13:35:46Z</updated><author><name>Björn Lindqvist</name><uri>https://sourceforge.net/u/sonderblade/</uri></author><id>https://sourceforge.net4bd70c97215213bf3e58d63ecef0ded31873aa28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There's a line looking like this in pcinitrd:&lt;/p&gt;
&lt;p&gt;DEV="/dev/console /dev/null /dev/ram /dev/tty1&lt;br /&gt;
/dev/tty2 /dev/tty3 /dev/tty4"&lt;/p&gt;
&lt;p&gt;It doesn't work on my computer because I don't have a&lt;br /&gt;
/dev/ram device. I only have /dev/ram0. It was trivial&lt;br /&gt;
for me to fix the problem by changing "ram" to "ram0,"&lt;br /&gt;
but maybe it is something that should be fixed in a&lt;br /&gt;
better way in future versions of pcinitrd?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Patch to allow compiling with KBUILD_OUTPUT and kernel-2.6.x</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/383/" rel="alternate"/><published>2006-01-11T00:02:34Z</published><updated>2006-01-11T00:02:34Z</updated><author><name>Kalin KOZHUHAROV</name><uri>https://sourceforge.net/u/thinrope/</uri></author><id>https://sourceforge.net1850eeb57397d10c16319a3b609112267019b8ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I filed this originally as a Gentoo bug, see&lt;br /&gt;
&lt;a href="https://bugs.gentoo.org/show_bug.cgi?id=118557" rel="nofollow"&gt;https://bugs.gentoo.org/show_bug.cgi?id=118557&lt;/a&gt; but it&lt;br /&gt;
was suggested to file upstream instead.&lt;/p&gt;
&lt;p&gt;At the moment pcmcia-cs does not compile (Configure&lt;br /&gt;
script is broken) on systems that have compiled the&lt;br /&gt;
kenrel in other directory than the source (using&lt;br /&gt;
KBUILD_OUTPUT). The attached patch fixes that, although&lt;br /&gt;
I am not very confident in it.&lt;/p&gt;
&lt;p&gt;The patch is also available at my portage-overlay&lt;br /&gt;
(Gentoo specific, under&lt;br /&gt;
rsync://rsync.tar.bz/gentoo-portage-pkalin/sys-apps/pcmcia-cs/files/pcmcia-cs-3.2.9_pre20050614-KBUILD_OUTPUT.patch&lt;br /&gt;
).&lt;/p&gt;
&lt;p&gt;The patch is based on brix's overlay (&lt;br /&gt;
&lt;a href="http://dev.gentoo.org/~brix/files/overlay/" rel="nofollow"&gt;http://dev.gentoo.org/~brix/files/overlay/&lt;/a&gt; ).&lt;/p&gt;
&lt;p&gt;The patch started with trying to get better VERSION&lt;br /&gt;
PATCHLEVEL etc, because the&lt;br /&gt;
Configure script was using sed to parse the Makefile...&lt;br /&gt;
I reworked it ot use make (similar to linux-info.eclass)&lt;/p&gt;
&lt;p&gt;This was not enough, so some other things got fixed.&lt;/p&gt;
&lt;p&gt;Not sure about /proc/kallsyms, if anybody is more&lt;br /&gt;
knowledgeble, plese check it.&lt;/p&gt;
&lt;p&gt;One more FIXME: in the patch as there are no such&lt;br /&gt;
CONFIG_1GB in the current linux-2.6.15 source.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Netgear WG511 - insertion not detected</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/382/" rel="alternate"/><published>2005-11-15T19:03:35Z</published><updated>2005-11-15T19:03:35Z</updated><author><name>Axel Braun</name><uri>https://sourceforge.net/u/docb/</uri></author><id>https://sourceforge.nete43a7b748a114ebc296debeb2e304bf29a1a9e13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have SuSE 9.3 running on two different Laptops: On&lt;br /&gt;
the ThinkPad A30, everything works fine, including the&lt;br /&gt;
a.m. card (prism-chipset)&lt;br /&gt;
On the Thinkpad 770, the pcmcia-subsystem works&lt;br /&gt;
(network card 3com 589 ethernet) works fine, but the&lt;br /&gt;
Netgear card is not even detected:&lt;br /&gt;
cardctl status&lt;br /&gt;
Socket 0: &lt;br /&gt;
3,3V CardBus card -&amp;gt; OK so far!&lt;/p&gt;
&lt;p&gt;cardctl ident -&amp;gt; no product info&lt;/p&gt;
&lt;p&gt;On the same laptop, the Netgear works fine under W98 :-|&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>endless loop on card insert</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/381/" rel="alternate"/><published>2005-11-12T23:25:09Z</published><updated>2005-11-12T23:25:09Z</updated><author><name>nightfrost</name><uri>https://sourceforge.net/u/nightfrost/</uri></author><id>https://sourceforge.net39359d10efec9f9f889e12be9f1171f1c7171130</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have been attempting to use a sandisk 6-in-1 card&lt;br /&gt;
reader on a fujitsu-siemens lifebook p7010. The card&lt;br /&gt;
doesn't use any special driver under Windows.&lt;/p&gt;
&lt;p&gt;I have been trying this with various 2.6.13 and 2.6.14&lt;br /&gt;
kernels. My distro of choice is ArchLinux, but I've&lt;br /&gt;
been trying this under other distros as well. I start&lt;br /&gt;
the pcmcia services with /etc/rc.d/pcmcia start, after&lt;br /&gt;
which dmesg gives this:&lt;/p&gt;
&lt;p&gt;------------------------------------------&lt;br /&gt;
Yenta: CardBus bridge found at 0000:01:0a.0 [10cf:1254]&lt;br /&gt;
Yenta: ISA IRQ mask 0x04b8, PCI irq 11&lt;br /&gt;
Socket status: 30000006&lt;br /&gt;
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff&lt;br /&gt;
pcmcia: parent PCI bridge Memory window: 0xd0200000 -&lt;br /&gt;
0xd02fffff&lt;br /&gt;
pcmcia: parent PCI bridge Memory window: 0x30000000 -&lt;br /&gt;
0x33ffffff&lt;br /&gt;
ACPI: PCI Interrupt 0000:01:0a.1[B] -&amp;gt; Link [LNKB] -&amp;gt;&lt;br /&gt;
GSI 11 (level, low) -&amp;gt; IRQ 11&lt;br /&gt;
Yenta: CardBus bridge found at 0000:01:0a.1 [10cf:1254]&lt;br /&gt;
Yenta: ISA IRQ mask 0x04b8, PCI irq 11&lt;br /&gt;
Socket status: 30000006&lt;br /&gt;
pcmcia: parent PCI bridge I/O window: 0x3000 - 0x3fff&lt;br /&gt;
pcmcia: parent PCI bridge Memory window: 0xd0200000 -&lt;br /&gt;
0xd02fffff&lt;br /&gt;
pcmcia: parent PCI bridge Memory window: 0x30000000 -&lt;br /&gt;
0x33ffffff&lt;br /&gt;
---------------------------------------------&lt;/p&gt;
&lt;p&gt;Now, if I would insert a card (I have only tried this&lt;br /&gt;
with SD-cards, as those are the only ones I have at the&lt;br /&gt;
moment), I get this:&lt;/p&gt;
&lt;p&gt;---------------------------------------------&lt;br /&gt;
Probing IDE interface ide2...&lt;br /&gt;
hde: Memory Card Adapter, CFA DISK drive&lt;br /&gt;
ide2 at 0x3100-0x3107,0x310e on irq 11&lt;br /&gt;
hde: max request size: 128KiB&lt;br /&gt;
hde: 29120 sectors (14 MB) w/1KiB Cache, CHS=455/2/32&lt;br /&gt;
hde: cache flushes not supported&lt;br /&gt;
hde:hde: status error: status=0x7f { DriveReady&lt;br /&gt;
DeviceFault SeekComplete DataRequest CorrectedError&lt;br /&gt;
Index Error }&lt;br /&gt;
hde: status error: error=0x00 { }&lt;br /&gt;
ide: failed opcode was: unknown&lt;br /&gt;
hde: drive not ready for command&lt;br /&gt;
ide2: reset: master: ECC circuitry error&lt;/p&gt;
&lt;p&gt;ide-cs: hde: Vcc = 3.3, Vpp = 0.0&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde:&lt;br /&gt;
hde: &lt;br /&gt;
-------------------------------------------------&lt;/p&gt;
&lt;p&gt;and 'hde:' continues endlessly, sometimes causing a&lt;br /&gt;
very noticeable overall slowdown of the entire system.&lt;br /&gt;
Rarely, it even causes a kernel crash and a forced cold&lt;br /&gt;
reboot.&lt;/p&gt;
&lt;p&gt;If there's any additional information I can give to&lt;br /&gt;
help out, please tell me.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Asix card bound to pcnet_cs</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/380/" rel="alternate"/><published>2005-11-06T21:18:38Z</published><updated>2005-11-06T21:18:38Z</updated><author><name>Joel K</name><uri>https://sourceforge.net/u/joeker/</uri></author><id>https://sourceforge.netfa8981811a2c8621d02ded71e4172e906a4109b4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Near line 1070, the Asix AX88190 Fast Ethernet card, with &lt;br /&gt;
version "PCMCIA", "FastEthernet", "V", "1.0"&lt;br /&gt;
is bound to "pcnet_cs".&lt;br /&gt;
This works for some models (Cadmus LNA-100C2, for&lt;br /&gt;
example), but not for all.&lt;br /&gt;
When bound to "axnet_cs", seems to work better on&lt;br /&gt;
different models (Cadmus LNA-100C and LNA-100C2 for me).&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bad driver assignment</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/379/" rel="alternate"/><published>2005-09-20T15:30:26Z</published><updated>2005-09-20T15:30:26Z</updated><author><name>Imre Péntek</name><uri>https://sourceforge.net/u/imi1984/</uri></author><id>https://sourceforge.net1fd55cd31106106f956b1df902c36aae10a63b8a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I managed to buy a hot-swappable SMC EZ PC card 10&lt;br /&gt;
(yes, 10mbit only) tcp/udb pcmcia card. The box states&lt;br /&gt;
that this one is SMC2022BT. by default my Linux loads&lt;br /&gt;
pcnet_cs but this driver doesn't even works with this&lt;br /&gt;
card, but if rebooting and modprobe-ing smc91c92_cs by&lt;br /&gt;
hand this card works perfectly.&lt;br /&gt;
Thanks for providing this wonderful driver.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PCMCIA on HP ZV6000 with FC4 don't work</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/378/" rel="alternate"/><published>2005-09-13T03:18:56Z</published><updated>2005-09-13T03:18:56Z</updated><author><name>Frederico Madeira</name><uri>https://sourceforge.net/u/userid-1343636/</uri></author><id>https://sourceforge.net71b6b3a8f4db3296f0f4a709fb536b53014d955e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a HP ZV6000 with fedora core 4. I try to&lt;br /&gt;
configure a orinoco gold and i download the driver,&lt;br /&gt;
load the module, restart the pcmcia service, and it&lt;br /&gt;
don't work.&lt;/p&gt;
&lt;p&gt;When i insert or remove the pcmcia the daemon don't&lt;br /&gt;
sinalize this inertion or removal.&lt;/p&gt;
&lt;p&gt;I've tried to configure a pcmcia modem model XJ1560&lt;br /&gt;
from ibm and it don't work. It work in other notebook.&lt;/p&gt;
&lt;p&gt;So, i think that the pcmcia not work in this plataform.&lt;br /&gt;
How i can send to you more debg info from my system ??&lt;/p&gt;
&lt;p&gt;Tanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multipartition IDE (Improved)</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/377/" rel="alternate"/><published>2005-05-24T08:59:51Z</published><updated>2005-05-24T08:59:51Z</updated><author><name>dunsalen</name><uri>https://sourceforge.net/u/dunsalen/</uri></author><id>https://sourceforge.netdad4dda4de5ce7ee8b467ee82febd7f905b2a482</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is a working /etc/pcmcia/ide.opts script built to&lt;br /&gt;
handle multipartitioned memory cards as well as ones&lt;br /&gt;
unpartitioned and mounting without a partition number&lt;br /&gt;
such as /dev/hde rather than /dev/hde0&lt;/p&gt;
&lt;p&gt;Included here for examination (it's not that big) and&lt;br /&gt;
attached for use in an editor&lt;/p&gt;
&lt;p&gt;# ATA/IDE drive adapter configuration&lt;/p&gt;
&lt;p&gt;# This is sourced first by /etc/pcmcia/ide with three&lt;br /&gt;
arguments and&lt;br /&gt;
# ACTION=start to get a partition list in the variable&lt;br /&gt;
PARTS as a&lt;br /&gt;
# space separated list of partition numbers&lt;br /&gt;
#&lt;br /&gt;
# Subsequent calls provide a four part ADDRESS bearing&lt;br /&gt;
the partition&lt;br /&gt;
# number as the last argument.  Mounting is done by&lt;br /&gt;
/etc/pcmcia/ide&lt;br /&gt;
# &lt;br /&gt;
# The format of ADDRESS was once&lt;br /&gt;
scheme,socket,serial_no[,parts]&lt;br /&gt;
# but the current function file /etc/pcmcia/shared sets&lt;br /&gt;
the third&lt;br /&gt;
# parameter to something called NEW_SCHEME, which is&lt;br /&gt;
probably empty&lt;/p&gt;
&lt;p&gt;# This was entirely rewritten by J.M. Hinkle to&lt;br /&gt;
properly accomodate&lt;br /&gt;
# multipartition PCMCIA cards&lt;/p&gt;
&lt;p&gt;#&lt;br /&gt;
# HISTORY:&lt;br /&gt;
#&lt;br /&gt;
# 24-May-2005    Facility for drives without partitions&lt;br /&gt;
#                        and more adept sed use&lt;br /&gt;
# 20-May-2005    Initial version of ide.opts by Joseph&lt;br /&gt;
M. Hinkle&lt;br /&gt;
#&lt;br /&gt;
# $Id: ide.opts,v 1.3 2005/05/24 08:45:50 jmh Exp $&lt;br /&gt;
#&lt;/p&gt;
&lt;p&gt;case $ACTION in&lt;br /&gt;
start)&lt;br /&gt;
case $ADDRESS in&lt;br /&gt;
*,*,*,*)&lt;br /&gt;
# Sourced by add_parts() for each partition to set&lt;br /&gt;
options&lt;br /&gt;
INFO="ATA/IDE: $PRODID_1"&lt;br /&gt;
# DO_FSTAB="y"    # Adds an entry for this device in&lt;br /&gt;
/etc/fstab&lt;br /&gt;
# DO_FSCK="y" # Requests a filesystem check on mounting&lt;br /&gt;
# FSTYPE="msdos"   # -t option to the mount command;&lt;br /&gt;
auto is better&lt;br /&gt;
# OPTS=""      # -o options to the mount command&lt;br /&gt;
DO_MOUNT="y"&lt;br /&gt;
MOUNTPT=/mnt/ide/$SOCKET/${ADDRESS##*,}&lt;br /&gt;
if [ ! -d $MOUNTPT ]; then mkdir -p $MOUNTPT; fi&lt;br /&gt;
# Trick add_parts() into mounting /dev/hde and not&lt;br /&gt;
/dev/hde0&lt;br /&gt;
if [ $PART == "0" ]; then PART=""; fi&lt;br /&gt;
;;&lt;br /&gt;
*,*,*)&lt;br /&gt;
# Sourced first to obtain a space separated partition&lt;br /&gt;
list&lt;br /&gt;
# ADDRESS can be scheme,socket or scheme,socket,unknown&lt;br /&gt;
SED="sed 's|/dev/$DEVICE\([^ ]*\)[^/]*|\1 |g'"&lt;br /&gt;
PARTS=`fdisk -l /dev/$DEVICE | grep ^/dev | grep -iv Ext`&lt;br /&gt;
# This should be handled in shared.add_parts()&lt;br /&gt;
if [ ! $PARTS ]; then&lt;br /&gt;
# Give the loop something to work on&lt;br /&gt;
PARTS=0&lt;br /&gt;
else&lt;br /&gt;
PARTS=`echo $PARTS | eval $SED`&lt;br /&gt;
fi&lt;br /&gt;
;;&lt;br /&gt;
esac &lt;br /&gt;
;;&lt;br /&gt;
stop)&lt;br /&gt;
# umounting is taken care of in /etc/pcmcia/shared&lt;br /&gt;
# rm_parts() and rm_blockdev() from /etc/pcmcia/ide&lt;br /&gt;
# umounting logical partitions can take as much as a&lt;br /&gt;
minute&lt;br /&gt;
# but primary partitions are umounted immediately on&lt;br /&gt;
some cards&lt;br /&gt;
;;&lt;br /&gt;
check)&lt;br /&gt;
NO_CHECK=no&lt;br /&gt;
NO_FUSER=no&lt;br /&gt;
;;&lt;br /&gt;
esac&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Preventing loss of a builtin modem</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/376/" rel="alternate"/><published>2005-05-20T19:42:55Z</published><updated>2005-05-20T19:42:55Z</updated><author><name>dunsalen</name><uri>https://sourceforge.net/u/dunsalen/</uri></author><id>https://sourceforge.net87fdcd0122baffb22f0bb944cec570752cd3c4ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Laptops quite commonly have a built in modem, the&lt;br /&gt;
device node of which&lt;br /&gt;
is usually /dev/modem.  The /etc/pcmcia/serial script&lt;br /&gt;
replaces this link&lt;br /&gt;
when a modem card is inserted, then removes it when the&lt;br /&gt;
card is&lt;br /&gt;
removed.  A desktop user is unlikely to remember that&lt;br /&gt;
the link has to be&lt;br /&gt;
reconstructed and point to some obscure device like&lt;br /&gt;
/dev/tts/LT0.&lt;/p&gt;
&lt;p&gt;This simple patch preserves an existing /dev/modem link&lt;br /&gt;
and restores&lt;br /&gt;
it on card removal, thereby preventing tears and great&lt;br /&gt;
agonies of a&lt;br /&gt;
frustrated user:&lt;/p&gt;
&lt;p&gt;--- /etc/pcmcia-3.2.8/serial   2005-05-19&lt;br /&gt;
19:51:43.000000000 -0700&lt;br /&gt;
+++ /etc/pcmcia/serial  2005-05-20 11:49:51.000000000 -0700&lt;br /&gt;
@@ -42,7 +42,7 @@&lt;br /&gt;
cd /dev ; log ./MAKEDEV $DEVICE&lt;br /&gt;
fi&lt;br /&gt;
if [ -n "$LINK" ] ; then&lt;br /&gt;
-  if [ -L $LINK ] ; then rm $LINK ; fi&lt;br /&gt;
+  mv $LINK /var/tmp/pcmcia$SOCKET&lt;br /&gt;
if match `uname -r` "2.[2-9].*" ; then&lt;br /&gt;
ln -s /dev/$DEVICE $LINK&lt;br /&gt;
else&lt;br /&gt;
@@ -85,7 +85,10 @@&lt;br /&gt;
telinit q&lt;br /&gt;
fi&lt;br /&gt;
do_fuser -k /dev/$DEVICE /dev/$CALLOUT $LINK &amp;gt;&lt;br /&gt;
/dev/null&lt;br /&gt;
-    if [ -L "$LINK" ] ; then rm $LINK ; fi&lt;br /&gt;
+    if [ -L "$LINK" ] ; then&lt;br /&gt;
+      rm $LINK&lt;br /&gt;
+  mv /var/tmp/pcmcia$SOCKET $LINK&lt;br /&gt;
+    fi&lt;br /&gt;
stop_fn $DEVICE&lt;br /&gt;
;;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multipartition IDE</title><link href="https://sourceforge.net/p/pcmcia-cs/bugs/375/" rel="alternate"/><published>2005-05-20T19:35:37Z</published><updated>2005-05-20T19:35:37Z</updated><author><name>dunsalen</name><uri>https://sourceforge.net/u/dunsalen/</uri></author><id>https://sourceforge.net86fccdc107a22bfd75fa6b8b0802a949beacc2b3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The script /etc/pcmcia/ide.opts currently supplied&lt;br /&gt;
(pcmcia-cs-3.2.8) is&lt;br /&gt;
just a minimal demonstration script.&lt;/p&gt;
&lt;p&gt;The attached script is a replacement which mounts and&lt;br /&gt;
unmounts IDE&lt;br /&gt;
cards having arbitrary numbers of partitions.  Since it&lt;br /&gt;
is small it is&lt;br /&gt;
presented here as well as being attached for pickup by&lt;br /&gt;
a text editor:&lt;/p&gt;
&lt;p&gt;# ATA/IDE drive adapter configuration&lt;/p&gt;
&lt;p&gt;# This is sourced first by /etc/pcmcia/ide to get a&lt;br /&gt;
partition list&lt;br /&gt;
# in the variable PARTS as a space separated list of&lt;br /&gt;
partition numbers&lt;br /&gt;
#&lt;br /&gt;
# Subsequent calls provide a partition number and&lt;br /&gt;
expect to obtain&lt;br /&gt;
# &lt;br /&gt;
# The format of ADDRESS was once&lt;br /&gt;
scheme,socket,serial_no[,parts]&lt;br /&gt;
# but the current function file /etc/pcmcia/shared sets&lt;br /&gt;
the third&lt;br /&gt;
# parameter to something called NEW_SCHEME, which is&lt;br /&gt;
probably empty&lt;/p&gt;
&lt;p&gt;# This was entirely rewritten by J.M. Hinkle to&lt;br /&gt;
properly accomodate&lt;br /&gt;
# multipartition PCMCIA cards&lt;/p&gt;
&lt;p&gt;#&lt;br /&gt;
# HISTORY:&lt;br /&gt;
#&lt;br /&gt;
# 20-May-2005     Initial version of ide.opts by Joseph&lt;br /&gt;
M. Hinkle&lt;br /&gt;
#&lt;/p&gt;
&lt;p&gt;case $ACTION in&lt;br /&gt;
start)&lt;br /&gt;
case $ADDRESS in&lt;br /&gt;
*,*,*,*)&lt;br /&gt;
# Sourced for each partition to set options&lt;br /&gt;
INFO="ATA/IDE card"&lt;br /&gt;
# DO_FSTAB="y"    # Adds an entry for this device in&lt;br /&gt;
/etc/fstab&lt;br /&gt;
# DO_FSCK="y" # Requests a filesystem check on mounting&lt;br /&gt;
# FSTYPE="msdos"   # -t option to the mount command;&lt;br /&gt;
auto is better&lt;br /&gt;
# OPTS=""      # -o options to the mount command&lt;br /&gt;
DO_MOUNT="y"&lt;br /&gt;
MOUNTPT=/mnt/ide/$SOCKET/${ADDRESS##*,}&lt;br /&gt;
if [ ! -d $MOUNTPT ]; then mkdir -p $MOUNTPT; fi&lt;br /&gt;
;;&lt;br /&gt;
*,*,*)&lt;br /&gt;
# Sourced first to obtain a space separated partition&lt;br /&gt;
list&lt;br /&gt;
# ADDRESS can be scheme,socket or scheme,socket,unknown&lt;br /&gt;
SED="sed 's/\/dev\/$DEVICE\([^ ]*\).*/\1/'"&lt;br /&gt;
PARTS=`fdisk -l /dev/$DEVICE | grep ^/dev | grep -iv Ext`&lt;br /&gt;
PARTS=`echo "$PARTS" | eval $SED`&lt;br /&gt;
PARTS=`echo $PARTS | { while read n; do p="$p $n";&lt;br /&gt;
done; echo $p; }`&lt;br /&gt;
;;&lt;br /&gt;
esac &lt;br /&gt;
;;&lt;br /&gt;
stop)&lt;br /&gt;
# umounting is taken care of in /etc/pcmcia/shared&lt;br /&gt;
# rm_blockdev() and rm_parts()&lt;br /&gt;
# umounting logical partitions can take as much as a&lt;br /&gt;
minute&lt;br /&gt;
# but primary partitions are umounted immediately on&lt;br /&gt;
some cards&lt;br /&gt;
;;&lt;br /&gt;
check)&lt;br /&gt;
NO_CHECK=no&lt;br /&gt;
NO_FUSER=no&lt;br /&gt;
;;&lt;br /&gt;
esac&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>