Re: Kernel Compile Fail

2012-12-26 Thread Joseph A. Nagy, Jr

On 12/25/12 10:09, Fabian Wenk wrote:

Hello Joseph

On 25.12.2012 15:32, Joseph A. Nagy, Jr wrote:

snip

'make buildkernel kernconf=ALEX-LAPTOP'
'make installkernel kernconf=ALEX-LAPTOP'


I am not sure if 'kernconf=' will work too or if it needs to be in
uppercase letters. Alternatively you could set the following line in
/etc/make.conf:
KERNCONF=ALEX-LAPTOP


I did not think of kernconf having to be in upper-case letters, though 
that is how the handbook shows it (it never states that part has to be 
caps like the kernel name).



And then in /usr/src/ you only need to use 'make buildkernel' and 'make
installkernel'.


That would be nice, I'll give it a go.


alex@alex-laptop# cd /usr/src/sys/amd64/conf
alex@alex-laptop# ls
ALEX-LAPTOP DEFAULTSGENERIC GENERIC.hints   Makefile
 NOTES   XENHVM

I'm not quite sure what to expect now.


This looks correct. Did you also adjust the 'ident' line in your
ALEX-LAPTOP file from GENERIC to ALEX-LAPTOP?


I'm certain I did, I can double-check though.


I am not sure if the - in the kernel name will work. I do remember
having problems building a kernel with a number in the name. But this
was more then 10 years ago, but I still avoid it and do use only
letters. So it is probably better to just use ALEXLAPTOP instead of
ALEX-LAPTOP.


That name worked when I was running this laptop on i386 but I could 
shorten it to without the hyphen. I was just trying to keep it like my 
hostname (alex-laptop.localhost).


--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.org
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: Kernel Compile Fail

2012-12-26 Thread Joseph A. Nagy, Jr

On 12/25/12 10:09, Fabian Wenk wrote:
snip

I am not sure if 'kernconf=' will work too or if it needs to be in
uppercase letters. Alternatively you could set the following line in
/etc/make.conf:
KERNCONF=ALEX-LAPTOP


Indeed, this has to be in caps (just thought I'd follow up with that).

Again, thanks for all the help!

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.org
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: Kernel Compile Fail

2012-12-25 Thread Joseph A. Nagy, Jr

On 12/16/12 17:43, Joseph A. Nagy, Jr wrote:

I started my kernel compile with my custom settings[0] but it's failing
at one point[1] and while I think I know why, I'd like a second opinion.

[0]: http://codepad.org/EZTCVMZC
[1]: http://codepad.org/58GFHGnE


First, I'd like to thank everyone who helped me get my kernel building 
and answered all my questions. I have really appreciated the help.


I compiled my custom kernel (or so I thought), but 'uname -a' shows it 
compiled with a generic kernel?


FreeBSD alex-laptop 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Mon Dec 24 
20:06:49 CST 2012 root@alex-laptop:/usr/obj/usr/src/sys/GENERIC  amd64


Whereas in the past, it showed my custom kernel config in the above 
path. I was running i386 before, does that make a difference? Or did I 
miss a step somewhere?


when building and installing, I issued:

'make buildkernel kernconf=ALEX-LAPTOP'
'make installkernel kernconf=ALEX-LAPTOP'

Based on the instructions found in the handbook.


alex@alex-laptop# cd /usr/src/sys/amd64/conf
alex@alex-laptop# ls
ALEX-LAPTOP DEFAULTSGENERIC GENERIC.hints   Makefile 
   NOTES   XENHVM


I'm not quite sure what to expect now.

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.org
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: Kernel Compile Fail

2012-12-25 Thread Fabian Wenk

Hello Joseph

On 25.12.2012 15:32, Joseph A. Nagy, Jr wrote:

I compiled my custom kernel (or so I thought), but 'uname -a' shows it
compiled with a generic kernel?

FreeBSD alex-laptop 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Mon Dec 24
20:06:49 CST 2012 root@alex-laptop:/usr/obj/usr/src/sys/GENERIC  amd64

Whereas in the past, it showed my custom kernel config in the above
path. I was running i386 before, does that make a difference? Or did I
miss a step somewhere?



when building and installing, I issued:

'make buildkernel kernconf=ALEX-LAPTOP'
'make installkernel kernconf=ALEX-LAPTOP'


I am not sure if 'kernconf=' will work too or if it needs to be 
in uppercase letters. Alternatively you could set the following 
line in /etc/make.conf:

KERNCONF=ALEX-LAPTOP

And then in /usr/src/ you only need to use 'make buildkernel' and 
'make installkernel'.



alex@alex-laptop# cd /usr/src/sys/amd64/conf
alex@alex-laptop# ls
ALEX-LAPTOP DEFAULTSGENERIC GENERIC.hints   Makefile
 NOTES   XENHVM

I'm not quite sure what to expect now.


This looks correct. Did you also adjust the 'ident' line in your 
ALEX-LAPTOP file from GENERIC to ALEX-LAPTOP?


I am not sure if the - in the kernel name will work. I do 
remember having problems building a kernel with a number in the 
name. But this was more then 10 years ago, but I still avoid it 
and do use only letters. So it is probably better to just use 
ALEXLAPTOP instead of ALEX-LAPTOP.



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


Re: Kernel Compile Fail

2012-12-16 Thread Steven Hartland

I would always recommend creating a custom kernel which is
based on an include of GENERIC, then add / remove devices
to your choices.

This way your more likely to avoid issues and its very
clear what you've changed from the default. In addition
this way makes it easier to upgrade your custom kernel
through OS versions as you'll always pickup the new
defaults from GENERIC.

Hope this helps.

   Regards
   Steve
- Original Message - 
From: Joseph A. Nagy, Jr jnagyjr1...@gmail.com

To: amd64 @ FreeBSD freebsd-amd64@freebsd.org
Sent: Sunday, December 16, 2012 11:43 PM
Subject: Kernel Compile Fail


I started my kernel compile with my custom settings[0] but it's failing 
at one point[1] and while I think I know why, I'd like a second opinion.


[0]: http://codepad.org/EZTCVMZC
[1]: http://codepad.org/58GFHGnE
--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.org
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org




This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

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


Re: Kernel Compile Fail

2012-12-16 Thread Joseph A. Nagy, Jr

On 12/16/12 17:52, chr...@ultimatedns.net wrote:

I started my kernel compile with my custom settings[0] but it's failing
at one point[1] and while I think I know why, I'd like a second opinion.

[0]: http://codepad.org/EZTCVMZC
[1]: http://codepad.org/58GFHGnE


Greetings,
  It would probably be more helpful to others to assist, if you at least
mentioned your target install -- laptop, ACTUAL CPU, etc. I notice
some of the options you include, are typically targeted to laptops,
which leads me to believe this is a laptop. But no way to be sure.

Best wishes.

--Chris


Sorry, didn't think that mattered.

Toshiba Satellite L455D
 AMD Sempron(tm) SI-42 (2099.25-MHz K8-class CPU)

If you need my pciconf -v, you can find it here:

http://pastebin.com/C1Rundaq

--
Yours in Christ,

Joseph A Nagy Jr
Whoever loves instruction loves knowledge, But he who hates correction
is stupid. -- Proverbs 12:1
Emails are not formal business letters, whatever businesses may want.
Original content CopyFree (F) under the OWL http://owl.apotheon.org
___
freebsd-amd64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


Re: Kernel Compile Fail

2012-12-16 Thread freebsd-net
 On 12/16/12 17:52, chr...@ultimatedns.net wrote:
 I started my kernel compile with my custom settings[0] but it's failing
 at one point[1] and while I think I know why, I'd like a second opinion.

 [0]: http://codepad.org/EZTCVMZC
 [1]: http://codepad.org/58GFHGnE

 Greetings,
   It would probably be more helpful to others to assist, if you at least
 mentioned your target install -- laptop, ACTUAL CPU, etc. I notice
 some of the options you include, are typically targeted to laptops,
 which leads me to believe this is a laptop. But no way to be sure.

 Best wishes.

 --Chris

 Sorry, didn't think that mattered.
Different CPU's, have different features/options.
Which means, some options will work with some CPU's, while others
will not. Some exist in some, but not in others. That's why there's
an AMD64 section, and an i386 section, for example. :)

HTH

Best wishes.

--Chris



 Toshiba Satellite L455D
   AMD Sempron(tm) SI-42 (2099.25-MHz K8-class CPU)

 If you need my pciconf -v, you can find it here:

 http://pastebin.com/C1Rundaq

 --
 Yours in Christ,

 Joseph A Nagy Jr
 Whoever loves instruction loves knowledge, But he who hates correction
 is stupid. -- Proverbs 12:1
 Emails are not formal business letters, whatever businesses may want.
 Original content CopyFree (F) under the OWL http://owl.apotheon.org
 ___
 freebsd-amd64@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


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


Re: Kernel Compile Fail

2012-12-16 Thread chrish
 I started my kernel compile with my custom settings[0] but it's failing
 at one point[1] and while I think I know why, I'd like a second opinion.

 [0]: http://codepad.org/EZTCVMZC
 [1]: http://codepad.org/58GFHGnE

Greetings,
 It would probably be more helpful to others to assist, if you at least
mentioned your target install -- laptop, ACTUAL CPU, etc. I notice
some of the options you include, are typically targeted to laptops,
which leads me to believe this is a laptop. But no way to be sure.

Best wishes.

--Chris

 --
 Yours in Christ,

 Joseph A Nagy Jr
 Whoever loves instruction loves knowledge, But he who hates correction
 is stupid. -- Proverbs 12:1
 Emails are not formal business letters, whatever businesses may want.
 Original content CopyFree (F) under the OWL http://owl.apotheon.org
 ___
 freebsd-amd64@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
 To unsubscribe, send any mail to freebsd-amd64-unsubscr...@freebsd.org


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