PDA

View Full Version : New Utopia stack ready; please help with testing


Martin Pitt
November 15th, 2004, 06:25 PM
Hi again!

On 2004-09-27 19:10 +0200, Martin Pitt wrote:
> This new stack hopefully fixes more bugs than it introduces. CD
> burning should now work flawlessly (#1234), which was the primary
> reason for upgrading all this stuff.

Matt recognized that this still did not work. I pulled an additional
patch from the g-v-m development branch and uploaded a new g-v-m
package to my unofficial archive which finally checks the device
locking. Sorry for the mess.

Martin

--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian GNU/Linux Developer http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20040928/afa8c5e9/attachment.pgp

Martin Pitt
November 15th, 2004, 06:25 PM
Hi!

On 2004-09-27 11:30 -0700, Matt Zimmerman wrote:
> On Mon, Sep 27, 2004 at 07:10:05PM +0200, Martin Pitt wrote:
>
> > In the last days I packaged and tweaked the crack-of-the-day Utopia stack
> > (dbus-1, hal, gnome-volume-manager) and nautilus-cd-burner. Before somebody
> > cries "we are in freeze, man": this has been discussed with mdz and he
> > suggested this :-). After much fiddling and patching the whole thing now
> > actually works, and now much better than before.
>
> Note that hal-device-manager seems to be in a separate package now, so users
> upgrading will lose it unless they install the hal-device-manager package as
> well.

I did not really find a package which could add a dependency to h-d-m,
and in fact h-d-m was separated out because it is not really needed
for users (just for debugging purposes), so it should be
uninstallable. My suggestion is to just add it to the ShipSeed.

> Then, with the DVD-RW mounted, I attempted to write an image to it, which I
> expected to unmount it, lock the device, burn and unlock it. Instead,
> nautilus-cd-burner crashed when I clicked "Write":

As discussed on IRC, I uploaded version -0ubuntu2, which worked on
your system. Fortunately it also still works on mine :-) (the old one
did, too). Folks, pleeeease test this! These Gnome APIs are not
documented, it took me several hours to get this working. If anybody
else encounters a crash with the new version, I will revert to just
calling pumount for the device.

Martin

--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian GNU/Linux Developer http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20040928/228d5e79/attachment.pgp

Matt Zimmerman
November 15th, 2004, 06:25 PM
On Mon, Sep 27, 2004 at 07:10:05PM +0200, Martin Pitt wrote:

> In the last days I packaged and tweaked the crack-of-the-day Utopia stack
> (dbus-1, hal, gnome-volume-manager) and nautilus-cd-burner. Before somebody
> cries "we are in freeze, man": this has been discussed with mdz and he
> suggested this :-). After much fiddling and patching the whole thing now
> actually works, and now much better than before.

Note that hal-device-manager seems to be in a separate package now, so users
upgrading will lose it unless they install the hal-device-manager package as
well.

I tested hot-plugging a USB storage device, which worked fine (was mounted
and browsed, unmounting worked).

I tested inserting a DVD-RW, which also worked fine (was mounted and
browsed).

Then, with the DVD-RW mounted, I attempted to write an image to it, which I
expected to unmount it, lock the device, burn and unlock it. Instead,
nautilus-cd-burner crashed when I clicked "Write":

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087580128 (LWP 5247)]
0x407011ad in gnome_vfs_drive_get_mounted_volumes ()
from /usr/lib/libgnomevfs-2.so.0
(gdb) bt
#0 0x407011ad in gnome_vfs_drive_get_mounted_volumes ()
from /usr/lib/libgnomevfs-2.so.0
#1 0x4071df44 in gnome_vfs_drive_unmount () from /usr/lib/libgnomevfs-2.so.0
#2 0x40025aee in cd_recorder_cancel () from /usr/lib/libnautilus-burn.so.0
#3 0x40025baa in cd_recorder_cancel () from /usr/lib/libnautilus-burn.so.0
#4 0x40025d2d in cd_recorder_write_tracks ()
from /usr/lib/libnautilus-burn.so.0
#5 0x0804d2f9 in cd_progress_set_image_spinning ()
#6 0x0804e941 in main ()

--
- mdz

Martin Pitt
November 15th, 2004, 06:25 PM
Hi Ubuntu folks!

In the last days I packaged and tweaked the crack-of-the-day Utopia stack
(dbus-1, hal, gnome-volume-manager) and nautilus-cd-burner. Before somebody
cries "we are in freeze, man": this has been discussed with mdz and he
suggested this :-). After much fiddling and patching the whole thing now
actually works, and now much better than before.

This new stack hopefully fixes more bugs than it introduces. CD
burning should now work flawlessly (#1234), which was the primary
reason for upgrading all this stuff. Proper gphoto2-camera integration
comes for free (#1509) as well.

To make sure that the newly introduced bugs are not too bad, I would
like as many people as possible to test them before I request approval
and upload them into the official archive.

The source packages and i386 debs can be downloaded from

http://people.no-name-yet.com/~pitti/utopia/

The easiest method to get these packages is to add a new apt source:

deb http://people.no-name-yet.com/~pitti/utopia/ /

Please send any bug reports as followup to this mail or by private mail; please
do not clutter up Bugzilla as long as I did not upload these packages.
Please also report conffile upgrading issues with hal. There was a lot
of conffile juggling between the versions and I would like to be sure
that the package upgrades everywhere without asking dpkg questions.

Thanks for testing this stuff and enjoy!

Martin

Detailed changelogs:

dbus (0.22-1ubuntu1) warty; urgency=low
.
* New upstream release for warty
* added patch dbus-python-64bit: support int64 and uint64 data types in
python2.3-dbus; this is required for hal-device-manager 0.2.98
(see http://bugs.debian.org/272862)

------------------------------------------------------------

hal (0.2.98-1ubuntu1) warty; urgency=low
.
* New upstream release for Warty, based on future Sid version (thanks to
Sjoerd Simons)
* Removed patches (adopted upstream): 02_ioctl_errors, 03_hal_conf_in_user,
04_min_privileges, 09_fix_sysfs_read_attribute, 10_validate_utf8
* Removed patch 01_init_block_dev: now handled upstream in a different way
* Removed patch 06_wifi-fix, mii_get_link() is not called on WiFi cards any
more (see Warty #843)
* Adapted patches from earlier Warty revisions, removed the number prefix to
conform to Debian package convention; copied relevant changelog entries:
- menu_change: Jeff's patch for the menu changes. Now the hal-device-manager
is in "Desktop Preferences" -> "System Tools"
- use_pmount: Use pumount to unmount devices on removal.
* added patch gphoto2-usb-usermap: point to libgphoto2-2's usb usermap in
tools/linux/hal-hotplug_map.c (together with a recent
gnome-volume-manager this should solve Warty bug #1292)
* hal now depends on lsb-base (for pretty initscript)
* libhal-dev now depends on libexpat-dev
* hal-device-manager.1, hald.8: properly quoted dashes
* README.Debian: added note about removed privileges and how to reenable
file system detection by putting hal into disk
* added hal.default for selecting whether hald runs as root or user; this
replaces the much more complicated debconf + ucf mechanism
* hal.preinst: check if /etc/dbus-1/system.d/hal.conf configuration file was
unmodified and delete it in this case to avoid asking conffile question
* fstab-update.hal: reverted removing of bashisms to avoid asking what to do
with the updated conffile
* make hal conflict to gnome-volume-manager << 1.0.2 because of new
storage.removable semantics (which is only handled correctly by g-v-m
1.0.2ubuntu1 and up)
* debian/hal-device-manager.desktop: added German translation
.
Relevant log entries for ported changes from older Warty versions:
* Add fdi file for Canon Digital Ixus 400 and Powershot A70 (Warty #1286)
[Thom May]
* debian/hal.postinst: Put user 'hal' into group 'plugdev' (create the group
if it does not exist). This allows hald to check for new media in flash
card readers (and similar devices), if the respective device is readable
by group 'plugdev'; this will be the case with future versions of udev.
(Warty bug #996)

------------------------------------------------------------

gnome-volume-manager (1.0.2-0ubuntu1) warty; urgency=low
.
* New upstream release (only translation updates)
* debian/patches/04_fr.patch:
- adapted to apply against new upstream version
* debian/patches/05_de.patch:
- update of the German translation.
* debian/patches/06_unhandled_removables:
- newer hal versions correctly report "storage.removable = 1" for USB
devices; Non-CD-ROM devices are not yet handled by gvm_media_changed();
patch falls back to old semantics (mount the device) in this case
* libhal-dev build-dependency raised to >= 0.2.97

------------------------------------------------------------

nautilus-cd-burner (2.8.3-0ubuntu1) warty; urgency=low
.
* New upstream release: now supports drive locking (Warty bug #1234)
* debian/patches/cdrom-umount.patch:
- try to unmount a mounted CD-RW before attempting to burn it (also Warty
bug #1234)
- requires build-dependency libgnomevfs2-dev
* raised build-dependency of libhal-dev to >= 0.2.98 to ensure locking
support


--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntulinux.org
Debian GNU/Linux Developer http://www.debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20040927/f7a1bf51/attachment.pgp