Bug#315471: hal: Hal delays shutdown by ca one minute

2005-06-23 Thread Sjoerd Simons
On Wed, Jun 22, 2005 at 11:38:53PM +0200, Jochen Schulz wrote:
 Package: hal
 Version: 0.4.8-1
 Severity: normal
 
 Hi again,
 
 Here's the branch of #311481 that I promised.

Thanks!
 
 When shutting down, hal waits for about a minute before exiting without
 any error message. I already tried a self-compiled 2.6.11 kernel,
 2.6.11-1-686 from Debian and vanilla 2.6.12 from kernel.org. It doesn't
 matter whether I have a disc in my DVD drive either.
 
 An strace of '/etc/dbus-1/event.d/20hal stop' is attached.

That doesn't really help, start-stop-daemon only signals hal to stop.. Can you
do strace -f $(pidof hald) and then do /etc/dbus-1/event.d/20hal stop.. Then we
can see what hal does if it gets the signal to stop.

Also if hal is finaly stopped, do the callout still hang around ?

  Sjoerd
-- 
We who revel in nature's diversity and feel instructed by every animal tend to
brand Homo sapiens as the greatest catastrophe since the Cretaceous extinction.
-- S.J. Gould


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#315471: hal: Hal delays shutdown by ca one minute

2005-06-22 Thread Jochen Schulz
Package: hal
Version: 0.4.8-1
Severity: normal

Hi again,

Here's the branch of #311481 that I promised.

When shutting down, hal waits for about a minute before exiting without
any error message. I already tried a self-compiled 2.6.11 kernel,
2.6.11-1-686 from Debian and vanilla 2.6.12 from kernel.org. It doesn't
matter whether I have a disc in my DVD drive either.

An strace of '/etc/dbus-1/event.d/20hal stop' is attached.

Thanks,
J.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing-proposed-updates'), (500, 
'proposed-updates'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages hal depends on:
ii  adduser 3.64 Add and remove users and groups
ii  dbus-1  0.23.4-3 simple interprocess messaging syst
ii  dbus-glib-1 0.23.4-3 simple interprocess messaging syst
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libcap1 1:1.10-14support for getting/setting POSIX.
ii  libexpat1   1.95.8-3 XML parsing C library - runtime li
ii  libglib2.0-02.6.5-1  The GLib library of C routines
ii  libhal-storage0 0.4.8-1  Hardware Abstraction Layer - share
ii  libhal0 0.4.8-1  Hardware Abstraction Layer - share
ii  libpopt01.7-5lib for parsing cmdline parameters
ii  pciutils1:2.1.11-15  Linux PCI Utilities
ii  udev0.056-3  /dev/ management daemon
ii  usbutils0.71-5   USB console utilities

hal recommends no packages.

-- no debconf information
execve(/etc/dbus-1/event.d/20hal, [/etc/dbus-1/event.d/20hal, stop], [/* 
39 vars */]) = 0
uname({sys=Linux, node=osiris, ...}) = 0
brk(0)  = 0x80f1000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe9000
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/etc/ld.so.preload, O_RDONLY)= -1 ENOENT (No such file or directory)
open(/etc/ld.so.cache, O_RDONLY)  = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62185, ...}) = 0
old_mmap(NULL, 62185, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fd9000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/libncurses.so.5, O_RDONLY)  = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\345..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=258704, ...}) = 0
old_mmap(NULL, 260364, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f99000
old_mmap(0xb7fd, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x37000) = 0xb7fd
old_mmap(0xb7fd8000, 2316, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7fd8000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/tls/libdl.so.2, O_RDONLY)   = 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f98000
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7f95000
old_mmap(0xb7f97000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x2000) = 0xb7f97000
close(3)= 0
access(/etc/ld.so.nohwcap, F_OK)  = -1 ENOENT (No such file or directory)
open(/lib/tls/libc.so.6, O_RDONLY)= 3
read(3, \177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1254468, ...}) = 0
old_mmap(NULL, 1264780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xb7e6
old_mmap(0xb7f8a000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0x129000) = 0xb7f8a000
old_mmap(0xb7f93000, 7308, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f93000
close(3)= 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7e5f000
set_thread_area({entry_number:-1 - 6, base_addr:0xb7f98bc0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, 
useable:1}) = 0
munmap(0xb7fd9000, 62185)   = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open(/dev/tty, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)= 0
open(/usr/lib/locale/locale-archive, O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2259664, ...}) = 0
mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c5f000
close(3)= 0
brk(0)  = 0x80f1000
brk(0)