View previous topic :: View next topic |
Author |
Message |
quis3.50 n00b
Joined: 10 Dec 2005 Posts: 38 Location: Germany.BW.Baden
|
Posted: Tue Apr 04, 2006 7:24 pm Post subject: udev and pcmcia compactFlash card; no /dev/hdc1 |
|
|
Hi List,
i know there is another post with this problem, but i thought i open a new threat with some
more information about this problem.
Okay know to the problem:
i have troubles mounting my CompactFlash Card with a pcmcia (ide-cs) adapter
to my System.
'udevmonitor' gives me
UEVENT[1144174675.290766] add@/devices/pci0000:00/0000:00:1e.0/0000:06:01.0/0.0
UDEV [1144174675.315459] add@/devices/pci0000:00/0000:00:1e.0/0000:06:01.0/0.0
UEVENT[1144174676.354138] add@/devices/pci0000:00/0000:00:1e.0/0000:06:01.0/0.0/ide1/1.0
UEVENT[1144174676.354569] add@/block/hdc
UEVENT[1144174676.359629] add@/block/hdc/hdc1
UDEV [1144174676.387067] add@/devices/pci0000:00/0000:00:1e.0/0000:06:01.0/0.0/ide1/1.0
UEVENT[1144174676.388010] remove@/block/hdc/hdc1
UEVENT[1144174676.392894] add@/block/hdc/hdc1
[..] <- removed (almost redundant) entries of remove@.. and add@..
UDEV [1144174676.775449] remove@/block/hdc/hdc1
UDEV [1144174676.784186] add@/block/hdc/hdc1
and 'dmesg' give me
pccard: PCMCIA card inserted into slot 0
pcmcia: registering new device pcmcia0.0
Probing IDE interface ide1...
hdc: Hitachi XXM2.3.0, CFA DISK drive
ide1 at 0x4100-0x4107,0x410e on irq 3
hdc: max request size: 128KiB
hdc: 500400 sectors (256 MB) w/1KiB Cache, CHS=695/15/48
hdc: cache flushes not supported
hdc: hdc1
ide-cs: hdc: Vcc = 3.3, Vpp = 0.0
hdc: hdc1
[..] <- removed (almost redundant) entries of hdc: hdc1
hdc: hdc1
If i
udevinfo -q all -n /dev/hdc1
i get "no record for 'hdc1' in database"
Processing the same steps with a usb memory stick adds the flash memory
accessable via /dev/sd[a-z]1 and also gives (in my eyes) valid output on udevinfo.
The really strange thing is:
if i do a simple
cat /dev/hdc1
my console gets filled with binary translated characters and no
"file or directory not found" -> the disk is readable?!
and also if i
mount /dev/hdc1 /mnt/ide-cs
i get "mount: devicefile /dev/hdc1 does not exist"
I read some other messages about a driver (modules <> in-kernel drivers) related issue, but i
don't believe changeing driver modules to in-kernel drivers does solve anything about it.
(am i right?)
Does anyone know how to solve this? |
|
Back to top |
|
|
tboloo Guru
Joined: 20 Jan 2006 Posts: 403 Location: Grodzisq, Poland
|
Posted: Fri Jun 16, 2006 10:43 am Post subject: |
|
|
Hi.
I got it almost working. Here is my kernel config
I have all pcmcia related stuff compiled as modules and loaded via /etc/modules/autoload.d/kernel-2.6 :
Code: |
pcmcia
yenta-socket
ide-cs
|
(I've heard that order in which one loads the mosules is relevant).
Everything works fine, exept for the fact that udev does not create autamticallymount point for card. I have to create one and mount card via mount /dev/hde1 /mnt/cf everything works fine (of course I adden appropriate entry in fstab).
Compare your config with mine - maybe you've got something missing?
And if you find a way to automount CF card without altering fstab let me know. _________________ The clock is ticking, brothers and sisters, counting down to Armageddon. |
|
Back to top |
|
|
quis3.50 n00b
Joined: 10 Dec 2005 Posts: 38 Location: Germany.BW.Baden
|
Posted: Sat Jun 17, 2006 9:47 am Post subject: |
|
|
Hi tboloo,
by now i am at the same point like you and also hope that autocreation of the mountpoint will work soon.
I am so lazy and like mounting my devices with the "Storage-Media-Applet" from KDE, but for the CF-card
i have to open up a console.
Thank you for your reply and have a nice weekend. |
|
Back to top |
|
|
tboloo Guru
Joined: 20 Jan 2006 Posts: 403 Location: Grodzisq, Poland
|
Posted: Mon Jun 19, 2006 7:58 am Post subject: |
|
|
I've found a solution thanks to folks from Polish forum.
Emerge pmount (if you haven't done it before) and add /dev/hde1 (or whatever is your card) to /etc/pmount.allow. This works for me. _________________ The clock is ticking, brothers and sisters, counting down to Armageddon. |
|
Back to top |
|
|
quis3.50 n00b
Joined: 10 Dec 2005 Posts: 38 Location: Germany.BW.Baden
|
Posted: Fri Jun 23, 2006 11:54 am Post subject: [solved] udev and pcmcia compactFlash card; no /dev/hdc1 |
|
|
Hi tboloo,
thanks for the hint. pmount finally makes me able to mount the CF-Card by
KDE Kickers Storage-Media Util.
Thank you and hava a nice weekend. |
|
Back to top |
|
|
|