Hald polling device interfering with cdrecord?

View: New views
8 Messages — Rating Filter:   Alert me  

Hald polling device interfering with cdrecord?

by Bugzilla from sebastian_ml@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Jörg,

I'm wondering about hald polling a drive and its influence on a
cdrecord session. Is it possible that the polling has any ill effect
on the process?

If so, would you mind using O_EXCL when opening the drive in cdrecord
to block hald?

Here's what happens when I burn a DVD with k3b/growisofs:

ps -A f|grep hald
 3110 ?        Ss     0:00 /usr/sbin/hald --use-syslog --verbose=no
 3111 ?        S      0:00  \_ hald-runner
 3119 ?        S      0:00      \_ /usr/libexec/hald-addon-acpi
 3128 ?        D      0:00      \_ hald-addon-storage: no polling because /dev/hdc is locked via O_EXCL
 3130 ?        D      0:00      \_ hald-addon-storage: polling /dev/hdd (every 2 sec)
 3132 ?        S      0:00      \_ hald-addon-storage: polling /dev/sda (every 2 sec)
22801 pts/1    S+     0:00      \_ grep --colour=auto hald

If hald's polling is a non-issue please disregard this request.

Regards
Sebastian
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Joerg Schilling-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sebastian Kemper <sebastian_ml@...> wrote:

> Hello Jörg,
>
> I'm wondering about hald polling a drive and its influence on a
> cdrecord session. Is it possible that the polling has any ill effect
> on the process?
>
> If so, would you mind using O_EXCL when opening the drive in cdrecord
> to block hald?
>
> Here's what happens when I burn a DVD with k3b/growisofs:
>
> ps -A f|grep hald
>  3110 ?        Ss     0:00 /usr/sbin/hald --use-syslog --verbose=no
>  3111 ?        S      0:00  \_ hald-runner
>  3119 ?        S      0:00      \_ /usr/libexec/hald-addon-acpi
>  3128 ?        D      0:00      \_ hald-addon-storage: no polling because /dev/hdc is locked via O_EXCL
>  3130 ?        D      0:00      \_ hald-addon-storage: polling /dev/hdd (every 2 sec)
>  3132 ?        S      0:00      \_ hald-addon-storage: polling /dev/sda (every 2 sec)
> 22801 pts/1    S+     0:00      \_ grep --colour=auto hald
>
> If hald's polling is a non-issue please disregard this request.

Hald just works fine except on Linux.....

On Linux, hald polls the wrong way and need to be fixed to only act on the
right status transitions. Opennin with O_EXCL is not helpful, in special
on Linux as Linux has more than one driver for the same hardware.

As long as hald on Linux has not been fixed, you need to kill hald.

Jörg

--
 EMail:joerg@... (home) Jörg Schilling D-13353 Berlin
       js@...                (uni)  
       schilling@...     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Bugzilla from sebastian_ml@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 03, 2007 at 08:52:14PM +0200, Joerg Schilling wrote:
> Hald just works fine except on Linux.....
>
> On Linux, hald polls the wrong way and need to be fixed to only act on the
> right status transitions. Opennin with O_EXCL is not helpful, in special
> on Linux as Linux has more than one driver for the same hardware.
>
> As long as hald on Linux has not been fixed, you need to kill hald.

OK, thank you!

Regards
Sebastian
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Joerg Schilling-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sebastian Kemper <sebastian_ml@...> wrote:

> Hello Jörg,
>
> I'm wondering about hald polling a drive and its influence on a
> cdrecord session. Is it possible that the polling has any ill effect
> on the process?
>
> If so, would you mind using O_EXCL when opening the drive in cdrecord
> to block hald?

O_EXCL is not a solution but creates just other different problems.

The only way do deal with the problem is to fix hald. Hald works fine on Solaris
as on Solaris, hald gets the right events from the kernel loop in sd.c
Hald on Linux acts on events that should be of no interests for hald.

If the hald people are interested to fix hald, I am open for a discussion.

Jörg

--
 EMail:joerg@... (home) Jörg Schilling D-13353 Berlin
       js@...                (uni)  
       schilling@...     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Bugzilla from sebastian_ml@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 10, 2007 at 12:22:25PM +0200, Joerg Schilling wrote:
> If the hald people are interested to fix hald, I am open for a discussion.

Hello Jörg,

I would definitely appreciate that! I don't suppose the HAL developers
are subscribed to this mailing list, though :)

Regards
Sebastian
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Joerg Schilling-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sebastian Kemper <sebastian_ml@...> wrote:

> On Wed, Oct 10, 2007 at 12:22:25PM +0200, Joerg Schilling wrote:
> > If the hald people are interested to fix hald, I am open for a discussion.
>
> Hello Jörg,
>
> I would definitely appreciate that! I don't suppose the HAL developers
> are subscribed to this mailing list, though :)

I suspect that not...

Jörg

--
 EMail:joerg@... (home) Jörg Schilling D-13353 Berlin
       js@...                (uni)  
       schilling@...     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Bugzilla from sebastian_ml@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 10, 2007 at 02:08:24PM +0200, Joerg Schilling wrote:
> Sebastian Kemper <sebastian_ml@...> wrote:
> > I would definitely appreciate that! I don't suppose the HAL developers
> > are subscribed to this mailing list, though :)
>
> I suspect that not...

Here's a link to the HAL list:
http://lists.freedesktop.org/mailman/listinfo/hal

Given that you seem to be a Solaris user I'd appreciate it even more if
you'd consider discussing a GNU/Linux issue with them.

Regards
Sebastian
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers

Re: Hald polling device interfering with cdrecord?

by Bugzilla from sebastian_ml@gmx.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

They also have an IRC channel: #hal on freenode.net
_______________________________________________
Cdrecord-developers mailing list
Cdrecord-developers@...
https://lists.berlios.de/mailman/listinfo/cdrecord-developers