Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-2008, 06:19 AM
Eric
 
Posts: n/a
HAL, what is it for?

I downloaded a 2.6.26 kernel from kernel.org and have been playing around with
configuring it for use on my x86_64 2008.0 system. So far it works quite
well, but i have one problem i just cant figure out how to address. During
boot i see the message about starting the HAL and then it prints a dot every
few seconds, 30-40 seconds later it says Build Failed code 10. I searched var
log, checked dmesg and cant find any HAL messages at all. I'm 99% sure that
there is something i need to turn on or off in the kernel config that solves
this, any ideas?
Thanks
Eric
Reply With Quote
  #2 (permalink)  
Old 07-23-2008, 06:58 AM
wisdomkiller & pain
 
Posts: n/a
Re: HAL, what is it for?

Eric wrote:

> I downloaded a 2.6.26 kernel from kernel.org and have been playing around
> with configuring it for use on my x86_64 2008.0 system. So far it works
> quite well, but i have one problem i just cant figure out how to address.
> During boot i see the message about starting the HAL and then it prints a
> dot every few seconds, 30-40 seconds later it says Build Failed code 10. I
> searched var log, checked dmesg and cant find any HAL messages at all. I'm
> 99% sure that there is something i need to turn on or off in the kernel
> config that solves this, any ideas?


That looks like DKMS is trying to rebuild a module and fails. Try (from a
shell, as root) "service dkms start" and you will at least see what gives
the error.


Reply With Quote
  #3 (permalink)  
Old 07-23-2008, 03:06 PM
darklight
 
Posts: n/a
Re: HAL, what is it for?

what is hal?

Answer
Daemon for Collecting Hardware Information

HAL is a hardware abstraction layer and aims to provide a live list
of devices present in the system at any point in time. HAL tries to
understand both, physical devices (such as PCI and USB) and the device
classes (such as input, net, and block) physical devices have. Besides it
allows merging of information from device info files specific to a device.
HAL provides a network API through D-BUS for querying devices and notifying
when things change. Finally, HAL provides some monitoring (in an unintrusive
way) of devices. Presently, ethernet link detection and volume mounts
aremonitored.
For further information, please refer to the HAL specification.
Reply With Quote
  #4 (permalink)  
Old 07-23-2008, 07:09 PM
wisdomkiller & pain
 
Posts: n/a
Re: HAL, what is it for?

darklight wrote:

> what is hal?
>
> Answer
> Daemon for Collecting Hardware Information
>

Well, that's fine, but OP probably asked two questions. I *assume* the dkms
kicks in after HAL loading is shown in the boot sequence (verbose display),
and the actual error message surely comes from a dkms rebuild.
Reply With Quote
  #5 (permalink)  
Old 07-24-2008, 03:46 AM
Eric
 
Posts: n/a
Re: HAL, what is it for?

wisdomkiller & pain wrote:

> Eric wrote:
>
>> I downloaded a 2.6.26 kernel from kernel.org and have been playing around
>> with configuring it for use on my x86_64 2008.0 system. So far it works
>> quite well, but i have one problem i just cant figure out how to address.
>> During boot i see the message about starting the HAL and then it prints a
>> dot every few seconds, 30-40 seconds later it says Build Failed code 10. I
>> searched var log, checked dmesg and cant find any HAL messages at all. I'm
>> 99% sure that there is something i need to turn on or off in the kernel
>> config that solves this, any ideas?

>
> That looks like DKMS is trying to rebuild a module and fails. Try (from a
> shell, as root) "service dkms start" and you will at least see what gives
> the error.


I tried that, i got about a 30 second delay, no messages and then it exited.
What if i just turn the haldaemon off with chkconfig? what will i lose?
Eric

Reply With Quote
  #6 (permalink)  
Old 07-24-2008, 04:01 AM
David W. Hodgins
 
Posts: n/a
Re: HAL, what is it for?

On Wed, 23 Jul 2008 23:46:17 -0400, Eric <Scorpus@gordinator.org> wrote:

> I tried that, i got about a 30 second delay, no messages and then it exited.
> What if i just turn the haldaemon off with chkconfig? what will i lose?


It isn't haldaemon causing the delay. It has already finished. It's the next
item, dkms, which is displaying the ...s as it's trying to compile a kernel
module. Look in the directories under /var/lib/dkms for all of the make.log
files, and look at them to see which module is failing to compile, and why.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Reply With Quote
  #7 (permalink)  
Old 07-24-2008, 04:26 AM
Eric
 
Posts: n/a
Re: HAL, what is it for?

David W. Hodgins wrote:

> On Wed, 23 Jul 2008 23:46:17 -0400, Eric <Scorpus@gordinator.org> wrote:
>
>> I tried that, i got about a 30 second delay, no messages and then it
>> exited. What if i just turn the haldaemon off with chkconfig? what will i
>> lose?

>
> It isn't haldaemon causing the delay. It has already finished. It's the
> next item, dkms, which is displaying the ...s as it's trying to compile a
> kernel
> module. Look in the directories under /var/lib/dkms for all of the make.log
> files, and look at them to see which module is failing to compile, and why.
>
> Regards, Dave Hodgins
>

It seems to be trying to build the nvidia mandriva module. I dont see how to
prevent it short of 'chkconfig --level 345 dkms off'
I downloaded and installed the latest nvidia driver when i went to the custom
kernel, so i dont need the mandriva one. var/lib/d=kms looks like it has
nvidia modules built for every mandriva kernel there

/var/lib/dkms looks like this:
ls -l /var/lib/dkms/*
-rw-r--r-- 1 root root 6 2007-05-16 21:02 /var/lib/dkms/dkms_dbversion

/var/lib/dkms/nvidia-current:
total 4
drwxr-xr-x 15 root root 4096 2008-07-23 21:02 100.14.19-1mdv2008.0/
lrwxrwxrwx 1 root root 48 2008-01-13 00:34
kernel-2.6.22.12-1mdvcustom-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.12-1mdvcustom/x86_64/
lrwxrwxrwx 1 root root 50 2008-01-12 19:02
kernel-2.6.22.12-desktop-1mdv-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.12-desktop-1mdv/x86_64/
lrwxrwxrwx 1 root root 49 2008-01-12 18:26
kernel-2.6.22.12-server-1mdv-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.12-server-1mdv/x86_64/
lrwxrwxrwx 1 root root 48 2008-02-20 22:30
kernel-2.6.22.18-1mdvcustom-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.18-1mdvcustom/x86_64/
lrwxrwxrwx 1 root root 50 2008-05-13 17:28
kernel-2.6.22.18-desktop-1mdv-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.18-desktop-1mdv/x86_64/
lrwxrwxrwx 1 root root 48 2008-01-12 18:25
kernel-2.6.22.9-laptop-1mdv-x86_64 ->
100.14.19-1mdv2008.0/2.6.22.9-laptop-1mdv/x86_64/

Reply With Quote
  #8 (permalink)  
Old 07-24-2008, 04:32 AM
David W. Hodgins
 
Posts: n/a
Re: HAL, what is it for?

On Thu, 24 Jul 2008 00:26:47 -0400, Eric <Scorpus@gordinator.org> wrote:

> I downloaded and installed the latest nvidia driver when i went to the custom
> kernel, so i dont need the mandriva one. var/lib/d=kms looks like it has
> nvidia modules built for every mandriva kernel there


You can delete the nvidia subdirectories from /var/lib/dkms, if you are not
using them, so dkms will not try to compile them.

You should remove the packages, which you should be able to find with ...
grep kernel /var/log/rpmpkgs | grep nvidia

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Reply With Quote
  #9 (permalink)  
Old 07-24-2008, 05:31 PM
Eric
 
Posts: n/a
Re: HAL, what is it for?

David W. Hodgins wrote:

> On Thu, 24 Jul 2008 00:26:47 -0400, Eric <Scorpus@gordinator.org> wrote:
>
>> I downloaded and installed the latest nvidia driver when i went to the
>> custom kernel, so i dont need the mandriva one. var/lib/d=kms looks like it
>> has nvidia modules built for every mandriva kernel there

>
> You can delete the nvidia subdirectories from /var/lib/dkms, if you are not
> using them, so dkms will not try to compile them.
>
> You should remove the packages, which you should be able to find with ...
> grep kernel /var/log/rpmpkgs | grep nvidia
>
> Regards, Dave Hodgins
>

Slightly OT but why does the nvidia driver (download it from nvidia) output
look so bad? The text is unreadable, there are no spaces between words, lines
are jumbled, etc.
Its just using /bin/sh and echo to display stuff, how can that be so messed
up?
Thanks
Eric

Reply With Quote
  #10 (permalink)  
Old 07-24-2008, 06:40 PM
wisdomkiller & pain
 
Posts: n/a
Re: HAL, what is it for?

Eric wrote:

....
> Slightly OT but why does the nvidia driver (download it from nvidia)
> output look so bad? The text is unreadable, there are no spaces between
> words, lines are jumbled, etc.
> Its just using /bin/sh and echo to display stuff, how can that be so
> messed up?


You probably want to display truetype fonts that are not installed (yet) for
your Mandriva. MCC offers a utility to import windows fonts. All that's
necessary is read access to a windows/fonts directory.

Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Mandriva


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:43 PM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109