logo       

2.6.13-hh1 and IDE: msg#00014

handhelds.linux.kernel

Subject: 2.6.13-hh1 and IDE

Hi!

I have a problem with the hh.org 2.6.13-hh1 20051206 kernel on an ipaq hx4700.
When I plug in a CF card I get the following messages in logread -f:

Jan 3 19:37:32 ipaq-pxa270 user.debug kernel: Probing IDE interface ide0...
Jan 3 19:37:33 ipaq-pxa270 user.warn kernel: CFA DISK drive
Jan 3 19:37:33 ipaq-pxa270 user.warn kernel:
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: hda: max request size: 128KiB
Jan 3 19:37:34 ipaq-pxa270 user.info kernel:
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: hda: cache flushes not supported
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: hda1
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: ide-cs: hda: Vcc = 3.3, Vpp = 0.0
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: hda1
Jan 3 19:37:34 ipaq-pxa270 user.info kernel: hda1
...
Jan 3 19:38:47 ipaq-pxa270 user.info kernel: hda1
Jan 3 19:38:47 ipaq-pxa270 user.info kernel: hda1
Jan 3 19:38:48 ipaq-pxa270 user.info kernel: hda1
...

Those "hda1" messages keep coming, once per second, three at a time, until
I remove the card.

1) The problem seems to be that /etc/udev/scripts/mount.sh is
called to mount the card upon the add kernel event. When I start it manually
instead:

ACTION=add DEVNAME=/dev/hda1 /etc/udev/scripts/mount.sh

it mounts the card correctly, but at the same time the kernel emits remove
and add events for hda1 again, as watched with udevmon:

UEVENT[243961] remove@/block/hda/hda1
UEVENT[243961] add@/block/hda/hda1
UEVENT[243961] mount@/block/hda/hda1

This of course causes udev to call the mount.sh script again to
unmount and remount
the cf card ==> start from 1)

Any idea what could be wrong?

thanks
Philipp


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise