logo       

Re: 2.6.13-hh1 and IDE: msg#00015

handhelds.linux.kernel

Subject: Re: 2.6.13-hh1 and IDE

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

pHilipp Zabel wrote:
> 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?

It's being marked as removable, while it isn't. This is a bug in the
kernel (upstream too) and fixes a while ago. See
http://lkml.org/lkml/2005/11/4/345 for a patch and more info.

regards,

Koen


>
> thanks
> Philipp
> _______________________________________________
> Kernel-discuss mailing list
> Kernel-discuss-CN5wO63fgwogsBAKwltoeQ@xxxxxxxxxxxxxxxx
> https://handhelds.org/mailman/listinfo/kernel-discuss
>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDmW/GMkyGM64RGpERAl15AKCkXmRlTwfZn6JbSPxRCs1OTkyRnQCfcsjA
5mBnW2WByGUejfTwmV9FXXk=
=rOgT
-----END PGP SIGNATURE-----


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

News | FAQ | advertise