HAL don't work if I don't plug in the device at boot time

Bug #191672 reported by Rolando F. Blanco C:. on 2008-02-13
2
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
Undecided
Unassigned

Bug Description

Hi, well, this is case,

I did buy a MP3 player for my wife, at same time, she told me about upgrade her PC from Edgy to Gutsy, how I wanna install LVM then I did backup all the machine, and create it again.

My Surprise, when I did try to connect vi USB the MP3 Player and don't automount the device, Y saw /dev and the device was there and they partitions too. /dev/sdc /dev/sdc1.

Then I think that it's a problem of the pmount, but Gutsy don't use pmount.

I did try to open the gnome-volume-properties and then this send an error (attached).

Until I did reboot with the device plugged in, then all works excellent, But If the machine is rebooted without it (MP3) plugged, then this can't work and the gnome-volume-properties don't open.

Other problem is that if I try a 'ps -aux | grep hal' in the console, I saw that the hald is not working, and some others device like audio (record) device don't work.

Let me show you the machine:
(In this case I did boot with the device plugged in)

--
rolando@alpha:~$ uname -a
Linux alpha 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
--
rolando@alpha:~$ lsusb
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 002: ID 05a9:a511 OmniVision Technologies, Inc. OV511+ WebCam
Bus 003 Device 001: ID 0000:0000
Bus 005 Device 003: ID 10d6:1100 Actions Semiconductor Co., Ltd MPMan MP-Ki 128 MP3 Player/Recorder
Bus 005 Device 002: ID 1131:1001 Integrated System Solution Corp. KY-BT100 Bluetooth Adapter
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 002: ID 0e6a:6001 Megawin Technology Co., Ltd
Bus 002 Device 003: ID 045e:0039 Microsoft Corp. IntelliMouse Optical
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 005: ID 03f0:2b17 Hewlett-Packard
Bus 001 Device 001: ID 0000:0000
--
rolando@alpha:~$ lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 300/305 PCI/AGP VGA Display Adapter (rev 90)
02:01.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02)
02:02.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE] (rev 36)
--
rolando@alpha:~$ lsmod
Module Size Used by
nls_iso8859_1 5120 2
nls_cp437 6784 2
vfat 14080 2
fat 54300 1 vfat
binfmt_misc 12936 1
rfcomm 42136 2
l2cap 26240 11 rfcomm
ppdev 10244 0
speedstep_lib 6404 0
cpufreq_powersave 2688 0
cpufreq_conservative 8072 0
cpufreq_ondemand 9612 0
cpufreq_userspace 5280 0
cpufreq_stats 7232 0
freq_table 5792 2 cpufreq_ondemand,cpufreq_stats
ac 6148 0
video 18060 0
sbs 19592 0
container 5504 0
dock 10656 0
button 8976 0
battery 11012 0
lp 12580 0
joydev 11328 0
usb_storage 73024 2
ide_core 116804 1 usb_storage
xpad 9988 0
libusual 18448 1 usb_storage
hci_usb 18332 2
bluetooth 57060 7 rfcomm,l2cap,hci_usb
snd_intel8x0 34972 5
snd_ac97_codec 100644 1 snd_intel8x0
ac97_bus 3200 1 snd_ac97_codec
snd_pcm_oss 44672 0
snd_mixer_oss 17664 1 snd_pcm_oss
snd_pcm 80388 5 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy 4740 0
snd_seq_oss 33152 0
snd_seq_midi 9600 0
snd_rawmidi 25728 1 snd_seq_midi
snd_seq_midi_event 8448 2 snd_seq_oss,snd_seq_midi
snd_seq 53232 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ipv6 273892 18
parport_pc 37412 1
parport 37448 3 ppdev,lp,parport_pc
snd_timer 24324 2 snd_pcm,snd_seq
snd_seq_device 9228 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
serio_raw 8068 0
usbhid 29536 0
usblp 15104 0
hid 28928 1 usbhid
ov511 80160 0
videodev 29312 1 ov511
v4l2_common 18432 1 videodev
iTCO_wdt 11940 0
iTCO_vendor_support 4868 1 iTCO_wdt
intel_rng 6656 0
psmouse 39952 0
snd 54660 18 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore 8800 1 snd
v4l1_compat 15364 1 videodev
snd_page_alloc 11400 2 snd_intel8x0,snd_pcm
pcspkr 4224 0
intel_agp 25620 1
agpgart 35016 1 intel_agp
shpchp 34580 0
pci_hotplug 32704 1 shpchp
xt_limit 3584 8
xt_tcpudp 4224 11
ipt_LOG 7552 8
ipt_MASQUERADE 4608 0
ipt_TOS 3200 0
ipt_REJECT 5760 1
nf_conntrack_irc 8088 0
nf_conntrack_ftp 11136 0
xt_state 3456 6
evdev 11136 4
iptable_nat 8708 0
nf_nat 20140 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 19724 8 iptable_nat
nf_conntrack 65288 7 ipt_MASQUERADE,nf_conntrack_irc,nf_conntrack_ftp,xt_state,iptable_nat,nf_nat,nf_conntrack_ipv4
nfnetlink 6936 3 nf_nat,nf_conntrack_ipv4,nf_conntrack
iptable_mangle 3840 0
iptable_filter 3968 1
ip_tables 13924 3 iptable_nat,iptable_mangle,iptable_filter
x_tables 16260 9 xt_limit,xt_tcpudp,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REJECT,xt_state,iptable_nat,ip_tables
ext3 133896 8
jbd 60456 1 ext3
mbcache 9732 1 ext3
sg 36764 0
sd_mod 30336 14
sr_mod 17828 0
cdrom 37536 1 sr_mod
ata_generic 8452 0
pcnet32 34308 0
mii 6528 1 pcnet32
floppy 60004 0
ehci_hcd 36492 0
uhci_hcd 26640 0
usbcore 138632 10 usb_storage,xpad,libusual,hci_usb,usbhid,usblp,ov511,ehci_hcd,uhci_hcd
ata_piix 17540 9
libata 125168 2 ata_generic,ata_piix
scsi_mod 147084 5 usb_storage,sg,sd_mod,sr_mod,libata
thermal 14344 0
processor 32072 1 thermal
fan 5764 0
fuse 47124 1
apparmor 40728 0
commoncap 8320 1 apparmor
--
rolando@alpha:~$ df
S.ficheros Bloques de 1K Usado Dispon Uso% Montado en
/dev/sda2 19686836 2796964 15889828 15% /
varrun 1037556 108 1037448 1% /var/run
varlock 1037556 0 1037556 0% /var/lock
udev 1037556 144 1037412 1% /dev
devshm 1037556 8 1037548 1% /dev/shm
lrm 1037556 34696 1002860 4% /lib/modules/2.6.22-14-generic/volatile
/dev/sda1 1968588 53276 1815312 3% /boot
/dev/sda7 9843276 161956 9181300 2% /home
/dev/sda5 9843276 153192 9190064 2% /home/jeison
/dev/sda9 37958468 1268752 34761516 4% /home/jennifer
/dev/sda8 19686804 11368996 7317764 61% /home/publico
/dev/sda10 19228276 303976 17947552 2% /home/rolando
/dev/sda6 31680276 977312 29093656 4% /var
/dev/sdc1 989636 129100 860536 14% /media/jennifer
/dev/sdb1 496000 169944 326056 35% /media/niva-jb
--

SK (stephantom) wrote :

Thank you for taking the time to report this issue and helping to improve Ubuntu!
This report was not reported against a specific package. I have assigned the correct package now. Please try to file future bug reports against the right packages. You can learn to find the right package at https://wiki.ubuntu.com/Bugs/FindRightPackage
Feel free to report any other issues you might find!

Rolando F. Blanco C:. (rolando) wrote :

The situation is that I don't know if is in "Boot process before login screen" or in the "Kernel related bugs" or "Graphic Environment".

In fact, I use in a console the command "tail -f /var/log/syslog /var/log/message" , the Plug In and Plug out the device and Nothing happend, I feel that HAL don't see the device.

Different happens if when I boot all ready have the device plugged, then the HAL can see and automount the device.

The MP3 is a:
Model: NIVA
Fabricant: ASTONE (http://www.orangecom.com.sg/as%20Niva.htm)
Manual: http://www.astone.com.au/Files/Soft/Niva_manual_amend%2010Apr.pdf

Cheers,

--

Rolando F. Blanco C:. (rolando) wrote :

Look, this is an ps command booting with out the devices plugged:
--
rolando@defiant:~$ ps -aux | grep hal
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
107 4647 0.0 0.0 2164 904 ? S 11:44 0:00 hald-addon-keyboard: listening on /dev/input/event1
107 4648 0.0 0.0 2164 896 ? S 11:44 0:00 hald-addon-keyboard: listening on /dev/input/event6
root 4661 0.0 0.0 3156 1112 ? S 11:44 0:00 /usr/lib/hal/hald-addon-cpufreq
107 4662 0.0 0.0 2160 928 ? S 11:44 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
107 4666 0.0 0.0 2164 892 ? S 11:44 0:00 hald-addon-keyboard: listening on /dev/input/event7
107 4667 0.0 0.0 2160 892 ? S 11:44 0:00 hald-addon-keyboard: listening on /dev/input/event8
107 4888 0.0 0.0 3264 1192 ? S 11:44 0:00 hald-addon-storage: no polling because /dev/scd0 is locked via HAL
rolando 8574 0.0 0.0 2992 780 pts/3 R+ 13:41 0:00 grep hal

Rolando F. Blanco C:. (rolando) wrote :

this is now, the same command, but I did reboot the machine with the devices plugged.
--
rolando@defiant:~$ ps -aux | grep hal
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
107 4668 0.3 0.2 5632 3752 ? Ss 13:46 0:00 /usr/sbin/hald
root 4669 0.0 0.0 3092 1044 ? S 13:46 0:00 hald-runner
107 4710 0.0 0.0 2160 900 ? S 13:46 0:00 hald-addon-keyboard: listening on /dev/input/event1
107 4719 0.0 0.0 2160 892 ? S 13:46 0:00 hald-addon-keyboard: listening on /dev/input/event6
root 4724 0.0 0.0 3156 1112 ? S 13:46 0:00 /usr/lib/hal/hald-addon-cpufreq
107 4725 0.0 0.0 2164 884 ? S 13:46 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
107 4726 0.0 0.0 2160 892 ? S 13:46 0:00 hald-addon-keyboard: listening on /dev/input/event7
107 4727 0.0 0.0 2164 896 ? S 13:46 0:00 hald-addon-keyboard: listening on /dev/input/event8
107 5176 0.0 0.0 3260 1188 ? S 13:46 0:00 hald-addon-storage: polling /dev/sdb (every 2 sec)
107 5179 0.0 0.0 3264 1188 ? S 13:46 0:00 hald-addon-storage: polling /dev/sdc (every 2 sec)
107 5182 0.0 0.0 3260 1228 ? S 13:46 0:00 hald-addon-storage: polling /dev/scd0 (every 2 sec)
rolando 6839 0.0 0.0 2988 760 pts/1 R+ 13:48 0:00 grep hal

---

Charlie Kravetz (charlie-tca) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 163256, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers