Re: my kernel is not build/install
fo...@pisem.net wrote: When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 According to Chapter 8.5 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL You need to use `make buildkernel`, not `make kernel` ___ 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: my kernel is not build/install
Кирилл А. Фомин wrote: Здравствуйте, Rolf. In my first mail i attach my config file. Latest i attach full console output. Вы писали 26 июня 2009 г., 23:35:14: Brent Bloxam wrote: fo...@pisem.net wrote: When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 According to Chapter 8.5 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL You need to use `make buildkernel`, not `make kernel` ___ 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" According to the makefile, "make kernel" does "make buildkernel" + "make installkernel", so that shouldn't be the problem. Your question is very vague. Could you please attach the complete output (or at least the last portion of it, e.g. 10-15 lines or so). First, please do not reply to me only. Put the list on CC, in case somebody else has some insight on the matter. I looked at the kernel config file, but it is pretty difficult to see what is wrong, without either knowing all the options by heart or comparing it to the NOTES files. Moreover, I am sorry, but I cannot find the console output that you say you attached. Either I am blind or it got stripped somewhere on the way. -- Rolf Nielsen ___ 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: my kernel is not build/install
On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote: > Кирилл А. Фомин wrote: > > Здравствуйте, Rolf. > > > > In my first mail i attach my config file. Latest i attach full console > > output. > > > > Вы писали 26 июня 2009 г., 23:35:14: > >> Brent Bloxam wrote: > >>> fo...@pisem.net wrote: > When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith > Error code 1 > >>> > >>> According to Chapter 8.5 of the handbook > >>> > >>> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): > 1. > Change to the /usr/src directory: > # cd /usr/src > > 2. > Compile the kernel: > # make buildkernel KERNCONF=MYKERNEL > > 3. > Install the new kernel: > # make installkernel KERNCONF=MYKERNEL > >>> > >>> You need to use `make buildkernel`, not `make kernel` > >>> ___ > >>> 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" > >> > >> According to the makefile, "make kernel" does "make buildkernel" + "make > >> installkernel", so that shouldn't be the problem. Your question is very > >> vague. Could you please attach the complete output (or at least the last > >> portion of it, e.g. 10-15 lines or so). > > First, please do not reply to me only. Put the list on CC, in case > somebody else has some insight on the matter. > > I looked at the kernel config file, but it is pretty difficult to see > what is wrong, without either knowing all the options by heart or > comparing it to the NOTES files. Moreover, I am sorry, but I cannot find > the console output that you say you attached. Either I am blind or it > got stripped somewhere on the way. He has umass # USB support device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device ehci# EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices device ugen# Generic device uhid# "Human Interface Devices" device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da But in his "SCSI peripherals" he has scbus and da commented out. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ 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: my kernel is not build/install
Dnia piątek 26 czerwiec 2009 o 21:27:58 Brent Bloxam napisał(a): > fo...@pisem.net wrote: > > When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith > > Error code 1 > According to Chapter 8.5 of the handbook > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig- building.html): > >1. > > Change to the /usr/src directory: > > # cd /usr/src > >2. > > Compile the kernel: > > # make buildkernel KERNCONF=MYKERNEL > >3. > > Install the new kernel: > > # make installkernel KERNCONF=MYKERNEL > You need to use `make buildkernel`, not `make kernel` From /usr/src/Makefile: # kernel - buildkernel + installkernel. This shouldtn't be the main problem. You should look for full log from kernel building. f.ex. run: cd /usr/src; make buildkernel | tee kernel_compilation.log and search in this log for an error in this log. Cheers, Maciej Milewski ___ 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: my kernel is not build/install
Brent Bloxam wrote: fo...@pisem.net wrote: When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 According to Chapter 8.5 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL You need to use `make buildkernel`, not `make kernel` ___ 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" According to the makefile, "make kernel" does "make buildkernel" + "make installkernel", so that shouldn't be the problem. Your question is very vague. Could you please attach the complete output (or at least the last portion of it, e.g. 10-15 lines or so). -- Rolf Nielsen ___ 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: my kernel is not build/install
On Friday 26 June 2009 01:25:58 pm fo...@pisem.net wrote: > On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote: > > Кирилл А. Фомин wrote: > > > Здравствуйте, Rolf. > > > > > > In my first mail i attach my config file. Latest i attach full console > > > output. > > > > > > Вы писали 26 июня 2009 г., 23:35:14: > > >> Brent Bloxam wrote: > > >>> fo...@pisem.net wrote: > > When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith > > Error code 1 > > >>> > > >>> According to Chapter 8.5 of the handbook > > (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): > > 1. > > Change to the /usr/src directory: > > # cd /usr/src > > > > 2. > > Compile the kernel: > > # make buildkernel KERNCONF=MYKERNEL > > > > 3. > > Install the new kernel: > > # make installkernel KERNCONF=MYKERNEL > > >>> > > >>> You need to use `make buildkernel`, not `make kernel` > > >>> ___ > > >>> 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" > > >> > > >> According to the makefile, "make kernel" does "make buildkernel" + > > >> "make installkernel", so that shouldn't be the problem. Your question > > >> is very vague. Could you please attach the complete output (or at > > >> least the last portion of it, e.g. 10-15 lines or so). > > > > First, please do not reply to me only. Put the list on CC, in case > > somebody else has some insight on the matter. > > > > I looked at the kernel config file, but it is pretty difficult to see > > what is wrong, without either knowing all the options by heart or > > comparing it to the NOTES files. Moreover, I am sorry, but I cannot find > > the console output that you say you attached. Either I am blind or it > > got stripped somewhere on the way. > > He has umass > > # USB support > deviceuhci# UHCI PCI->USB interface > deviceohci# OHCI PCI->USB interface > deviceehci# EHCI PCI->USB interface (USB 2.0) > deviceusb # USB Bus (required) > #device udbp# USB Double Bulk Pipe devices > deviceugen# Generic > deviceuhid# "Human Interface Devices" > deviceukbd# Keyboard > deviceulpt# Printer > deviceumass # Disks/Mass storage - Requires scbus > and da > > But in his "SCSI peripherals" he has scbus and da commented out. > > Kent >May be Kent Stewart wright, cose http://dumpz.org/10103/. I try compile the >my kernel whith the all "SCSI peripherals" uncomment. You need to add the error messages. You got stdout and what was wrong was still missing. I have a script that I use to do a build[world, kernel] that uses /var/log/build. I added build to ..\log. It does nothing more than make buildkernel KERNCONF=FREEBSD1 2>&1 | tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log It leaves a complete log everytime I build a kernel. Your options would be different and I also use csh. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ 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: my kernel is not build/install
2009/6/26 Kent Stewart : > > make buildkernel KERNCONF=FREEBSD1 2>&1 | > tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log > > It leaves a complete log everytime I build a kernel. Your options would be > different and I also use csh. > [ch...@amnesiac]~% make buildkernel KERNCONF=FREEBSD1 2>&1 |tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log Ambiguous output redirect. [ch...@amnesiac]~% I think you've written that into a script for /bin/sh. I've no idea how to pipe stderr in csh, but 2>&1 is NOT the way to do it! Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? ___ 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: my kernel is not build/install
Chris Rees wrote: 2009/6/26 Kent Stewart : make buildkernel KERNCONF=FREEBSD1 2>&1 | tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log It leaves a complete log everytime I build a kernel. Your options would be different and I also use csh. [ch...@amnesiac]~% make buildkernel KERNCONF=FREEBSD1 2>&1 |tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log Ambiguous output redirect. [ch...@amnesiac]~% I think you've written that into a script for /bin/sh. I've no idea how to pipe stderr in csh, but 2>&1 is NOT the way to do it! % make buildkernel KERNCONF=FREEBSD1 |& tee /var/log/build/bkernel-`date "+%Y%m%d-%H%M"`.log Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Re: my kernel is not build/install
On Friday 26 June 2009 12:50:22 pm Rolf G Nielsen wrote: > Кирилл А. Фомин wrote: > > Здравствуйте, Rolf. > > > > In my first mail i attach my config file. Latest i attach full console > > output. > > > > Вы писали 26 июня 2009 г., 23:35:14: > >> Brent Bloxam wrote: > >>> fo...@pisem.net wrote: > When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith > Error code 1 > >>> > >>> According to Chapter 8.5 of the handbook > >>> > >>> (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): > 1. > Change to the /usr/src directory: > # cd /usr/src > > 2. > Compile the kernel: > # make buildkernel KERNCONF=MYKERNEL > > 3. > Install the new kernel: > # make installkernel KERNCONF=MYKERNEL > >>> > >>> You need to use `make buildkernel`, not `make kernel` > >>> ___ > >>> 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" > >> > >> According to the makefile, "make kernel" does "make buildkernel" + "make > >> installkernel", so that shouldn't be the problem. Your question is very > >> vague. Could you please attach the complete output (or at least the last > >> portion of it, e.g. 10-15 lines or so). > > First, please do not reply to me only. Put the list on CC, in case > somebody else has some insight on the matter. > > I looked at the kernel config file, but it is pretty difficult to see > what is wrong, without either knowing all the options by heart or > comparing it to the NOTES files. Moreover, I am sorry, but I cannot find > the console output that you say you attached. Either I am blind or it > got stripped somewhere on the way. He has umass # USB support device uhci# UHCI PCI->USB interface device ohci# OHCI PCI->USB interface device ehci# EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp# USB Double Bulk Pipe devices device ugen# Generic device uhid# "Human Interface Devices" device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da But in his "SCSI peripherals" he has scbus and da commented out. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html May be Kent Stewart wright, cose http://dumpz.org/10103/. I try compile the my kernel whith the all "SCSI peripherals" uncomment. ___ 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"