Can't Mount CF-Card on boot of 2.6.15 Kernel on EPIA motherboard
Markus Biermaier
mbier at office-m.at
Fri Jun 2 03:53:03 EDT 2006
Am 02.06.2006 um 08:50 schrieb Dominik Brodowski:
> Hi,
>
> On Fri, Jun 02, 2006 at 08:27:25AM +0200, Markus Biermaier wrote:
>> PCIC="i82365 yenta_socket pcmcia pcmcia_core rsrc_nonstatic"
>
> Try adding ide_cs here... and you're using the new module-init-
> tools, I
> assume?
>
>> #echo cardmgr $V -q -o -c /etc -m /lib -s /tmp/stab -p /tmp/pid
>> #cardmgr $V -q -o -c /etc -m /lib -s /tmp/stab -p /tmp/pid
>> pcmcia-socket-startup
>
> It can read a /etc/pcmcia/config.opts, I assume? Did you build it
> statically? Else it needs access to the libsysfs library.
------------------------------ [ BEGIN lib ]
------------------------------
-rwxr-xr-x 1 root root 63381 Jan 19 2001 libz.so.1.1.3
-rwxr-xr-x 1 root root 85755 Jan 19 2001 libext2fs.so.2
-rwxr-xr-x 1 root root 8234 Jan 19 2001 libcom_err.so.2
-rwxr-xr-x 1 root root 13434 Jan 19 2001 libuuid.so.1
-rw-r--r-- 1 root users 1397203 Nov 26 2003 libgcc_s.so.1
-rw-r--r-- 1 root root 1307200 Okt 19 2004 libc.so.6
-rwxr-xr-x 1 root root 106242 Okt 19 2004 ld-linux.so.2
lrwxrwxrwx 1 root root 13 Okt 20 2004 libz.so.1 ->
libz.so.1.1.3
-rwxr-xr-x 1 root users 175724 Feb 22 17:34 libsysfs.so.
2.0.0
-rwxr-xr-x 1 root users 799 Feb 22 17:34 libsysfs.la
-rw-r--r-- 1 root users 203398 Feb 22 17:34 libsysfs.a
drwxr-xr-x 4 mbier users 1024 Mai 31 19:10 modules
lrwxrwxrwx 1 root users 17 Jun 1 14:12 libsysfs.so.2
-> libsysfs.so.2.0.0
lrwxrwxrwx 1 root users 17 Jun 1 14:12 libsysfs.so -
> libsysfs.so.2.0.0
lrwxrwxrwx 1 root users 13 Jun 1 14:17 libgcc_s.so -
> libgcc_s.so.1
drwxr-xr-x 3 root root 1024 Jun 1 14:17 .
drwxr-xr-x 14 root root 1024 Jun 1 17:32 ..
------------------------------ [ END lib ]
------------------------------
> Thirdly, do you
> actually _use_ udev? It doesn't seem to me you run udevstart, for
> instance.
Right, I didn't run "udevstart". Before when I had no "/etc/udev" I
got a lot of warnings...
> Therefore, doing everything "by hand" might be the best option: so,
> please
> try adding
>
> echo -n "42" > /sys/bus/pcmcia/devices/0.0/allow_func_id_match;
> sleep 5;
>
> to the boot script before trying to mount hde1.
The tree is only populated to "/sys/bus/pcmcia/devices" :-(
> Hope something of this helps, if not, I'd be interested in what the
> last few
> lines of the console output are before the "unable to mount ..."
> line. If
> you got a digital camera, that's ideal for capturing it.
>
> Dominik
>
Super idea.
More information about the linux-pcmcia
mailing list