Dear members,

This involves devfsd, the PCMCIA subsystem and the Mandrake-specific (I
believe) tool "dynamic", so I chose to write here. Please correct me if
you think this is the wrong place.

I use a laptop and Flash card connected through the laptop PCMCIA
connector.

It used to work with Mandrake 8.2 well.
When I inserted a PCMCIA Flash card, nothing bad happened.
I could use transitmount http://transitmount.sf.net/ which basically is
a generic automatic way to mount a newcoming partition-like device in 
/mnt/transit/devicename. Very handy for Flash cards, USB keys, photo 
camera.

I even modified the /etc/pcmcia/ scripts so that transitmount is called 
automatically. So, when I inserted a PCMCIA Flash card it got mounted.
In only had to issue a "cardctl eject" before removing it.

Now I upgraded to Mandrake Linux 9.1 (because there are a lot of
interesting new things. Mostly for me, KDE is becoming usable and
useful.)

Now, when I insert a card, the logs (shown by the very useful xconsole
tool, that should be launched by default on Mandrake Linux, too, unless
maybe at the lowest security level) show that something goes in an
endless loop (complete message at end of mail).

Jun  5 17:25:34 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:34 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:34 paca kernel: devfs_do_symlink(disc0): could not append
to parent, err: -17
(...three same lines repeated and so on...)

I don't know precisely where this happens not what it means. I have
tried to comment the lines in /etc/devfs/conf.d/dynamic.conf:

REGISTER        .*/part.*       EXECUTE /etc/dynamic/scripts/part.script 
add $devpath
UNREGISTER      .*/part.*       EXECUTE /etc/dynamic/scripts/part.script 
del $devpath

But this doesn't change anything.

The workaround I have for now is to kill (or not launch) devfsd. This
way I can do as before. I can read and write the flash card normally. I
issue a cardctl eject (*not* a "service pcmcia stop" as before, this
doesn't unmount the partition nor stops the ide device in the kernel, as
it used to do on Mandrake 8.2).

I thought it would be nice to tell you, so that something can be
corrected. I can experiment a bit if you need some more information.
Thanks for all the fish.


Jun  5 17:25:29 paca cardmgr[28855]: socket 0: ATA/IDE Fixed Disk
Jun  5 17:25:29 paca cardmgr[28855]: executing: 'modprobe ide-cs'
Jun  5 17:25:30 paca kernel: hdg: Flash Card, CFA DISK drive
Jun  5 17:25:30 paca kernel: ide3 at 0x110-0x117,0x11e on irq 5
Jun  5 17:25:30 paca kernel: hdg: task_no_data_intr: status=0x51 { 
DriveReady SeekComplete Error }
Jun  5 17:25:30 paca kernel: hdg: task_no_data_intr: error=0x04 { 
DriveStatusError }
Jun  5 17:25:30 paca kernel: hdg: 511056 sectors (262 MB) w/0KiB Cache, 
CHS=507/16/63
Jun  5 17:25:30 paca kernel: devfs_dealloc_unique_number(): number 0 was 
already free
Jun  5 17:25:30 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:30 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:30 paca kernel: ide_cs: hdg: Vcc = 3.3, Vpp = 0.0
Jun  5 17:25:30 paca cardmgr[28855]: executing: './ide start hdg'
Jun  5 17:25:31 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:31 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:31 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:32 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:32 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:32 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:32 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:32 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:32 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:33 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:33 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:33 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:34 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:34 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:34 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:34 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:34 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:34 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:35 paca kernel: VFS: Disk change detected on device 22:00
Jun  5 17:25:35 paca kernel:  /dev/ide/host3/bus0/target0/lun0: p1
Jun  5 17:25:35 paca kernel: devfs_do_symlink(disc0): could not append 
to parent, err: -17
Jun  5 17:25:36 paca kernel: VFS: Disk change detected on device 22:00

Reply via email to