Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michael Powell
Paul Schmehl wrote:

 I have a problem with amd.  It's not working right, and I don't think I
 can fix it without rebuilding it.
[snip]
 
 I'd like to rebuild amd without having to rebuild world as well, although
 I'll do that if I have to.
 
[...]

I think you can just cd to /usr/src/sys/modules/amd and do:

make obj  make depend  make  make install to rebuild the kernel
module by itself.

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

make obj  make depend  make  make install

I think.

-Mike




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michael Powell
Michael Powell wrote:

 Paul Schmehl wrote:
 
 I have a problem with amd.  It's not working right, and I don't think I
 can fix it without rebuilding it.
 [snip]
 
 I'd like to rebuild amd without having to rebuild world as well, although
 I'll do that if I have to.
 
 [...]
 
 For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

OOPs - make that: cd /usr/src/usr.sbin/amd   typo on me
 
 make obj  make depend  make  make install
 
-Mike



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 3:40:23 PM -0500 Michael Powell nightre...@verizon.net 
wrote:




Paul Schmehl wrote:


I have a problem with amd.  It's not working right, and I don't think I
can fix it without rebuilding it.

[snip]


I'd like to rebuild amd without having to rebuild world as well,
although I'll do that if I have to.


[...]

I think you can just cd to /usr/src/sys/modules/amd and do:

make obj  make depend  make  make install to rebuild the kernel
module by itself.

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and

make obj  make depend  make  make install

I think.


Thanks.  That worked (with the correction you posted later), but I still 
have the same problem.


Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 3:45:43 PM -0500 Michael Powell nightre...@verizon.net 
wrote:



[...]

For the userland side it would be cd /usr/src/usr.sbin/amd/amd and


OOPs - make that: cd /usr/src/usr.sbin/amd   typo on me


make obj  make depend  make  make install



There are two related files in /boot/kernel:

# ls -lsa /boot/kernel/amd.ko*
24 -r-xr-xr-x  1 root  wheel  24414 May  9 16:37 /boot/kernel/amd.ko
78 -r-xr-xr-x  1 root  wheel  79484 May  6 12:36 
/boot/kernel/amd.ko.symbols


The amd.ko.symbols file was created when I upgraded to 7.2 last Wednesday. 
What creates that file?  And how do I update it?  Could it be the cause of 
the problem?


All the other related files were updated today.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Michel Talon
Paul Schmehl wrote:
 The amd.ko.symbols file was created when I upgraded to 7.2 last
 Wednesday.  What creates that file?  And how do I update it?  Could it
 be the cause of the problem?

The amd.ko kernel module has nothing to do with the automounter. It is a
device driver for some hardware (man 4 amd).

As for your config file, it seems fine at first sight, but perhaps there
are some invisible characters in it causing problems. The syntax is
explained in 
man amd.conf


-- 

Michel TALON

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can I rebuild amd without rebuilding world?

2009-05-09 Thread Paul Schmehl
--On May 9, 2009 5:54:28 PM -0500 Michel Talon ta...@lpthe.jussieu.fr 
wrote:




Paul Schmehl wrote:

The amd.ko.symbols file was created when I upgraded to 7.2 last
Wednesday.  What creates that file?  And how do I update it?  Could it
be the cause of the problem?


The amd.ko kernel module has nothing to do with the automounter. It is a
device driver for some hardware (man 4 amd).

As for your config file, it seems fine at first sight, but perhaps there
are some invisible characters in it causing problems. The syntax is
explained in
man amd.conf



Thanks.  I moved the amd.conf file to amd.conf.bak and created a new one. 
Amd still thinks there's a problem:


# amd -F /etc/amd.conf
AMDCONF: syntax error on line 2 (section global)

# cat /etc/amd.conf
# GLOBAL OPTIONS SECTION
[global]

I think I'm going to csup sources again and rebuild world.

Paul Schmehl, If it isn't already
obvious, my opinions are my own
and not those of my employer.
**
WARNING: Check the headers before replying

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org