Re: kernel: calcru: runtime went backwards

2010-06-08 Thread Frank Bonnet
messages. Thank you Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1721 usec to 1377 usec for pid 684 (rpc.lockd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 528 usec to 459 usec for pid 678 (rpc.statd) Jun 8 10:16:34 mail kernel: calcru: runtime went

Re: kernel: calcru: runtime went backwards

2010-06-08 Thread Lowell Gilbert
Frank Bonnet f.bon...@esiee.fr writes: OK thank you Antonio :-) Also, see the FAQ entry if you haven't already. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to

FreeBSD 8.0 linux emulator kernel panic

2010-06-06 Thread Bogdan Webb
that it was fix in a r200768 now it is clear that i do not know that that code means (in my eyes it's a bsd build or smth) but i'm currently running the latest 8.0-RELEASE-p3 available. Please advise on how to patch the kernel panic. ___ freebsd-questions@freebsd.org

Re: FreeBSD 8.0 linux emulator kernel panic

2010-06-06 Thread Pieter de Goeje
the fix. Giovanni Trematerra gave a response that it was fix in a r200768 now it is clear that i do not know that that code means (in my eyes it's a bsd build or smth) but i'm currently running the latest 8.0-RELEASE-p3 available. Please advise on how to patch the kernel panic. r200768 uniquely

Re: kernel build fails - .depend, line 27905: Need an operator --- SOLVED

2010-05-27 Thread Peter Cornelius
Re. lest I forget. (...) I now will build world kernel and hope that it'll come out fine. And so it did. kldxref /boot/kernel The kernel runs now. So back to my ezjails. Thanks to all, Rgds., Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter

Re: kernel build fails - .depend, line 27905: Need an operator

2010-05-26 Thread Peter Cornelius
...@netserv /usr/src/sys/i386/conf]# ( cd /usr/src/ make kernel KERNCONF=NETSERV ) -- Kernel build for NETSERV started on Wed May 26 06:19:45 UTC 2010 -- === NETSERV mkdir -p

kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Peter Cornelius
Dear list, This probably is obvious but I don't seem to be able to figure out where I should look in order to learn why I can't compile the bloomin' kernel, pse see below. Every time I update my KERNCONF, I try to remember to keep a copy of GENERIC so I can diff against the updated one

Re: kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Jorge Medina
On Tue, May 25, 2010 at 11:00 AM, Peter Cornelius p...@gmx.net wrote: Dear list, This probably is obvious but I don't seem to be able to figure out where I should look in order to learn why I can't compile the bloomin' kernel, pse see below. Every time I update my KERNCONF, I try

Re: kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Peter Cornelius
Estimado Jorge, do the makebuildworld first. That's odd - I even *installed* world without any issue? Will try now anyways, though. Life's a mystery. Gracias por apoyar, Saludos cordiales, Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter

Re: kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Peter Cornelius
Re. do the makebuildworld first. That's odd - I even *installed* world without any issue? Will try now anyways, though. Life's a mystery. Nope, no change. Any other ideas? Thanks, Peter. -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter

Re: kernel build fails - .depend, line 27905: Need an operator

2010-05-25 Thread Lowell Gilbert
Peter Cornelius p...@gmx.net writes: Re. do the makebuildworld first. That's odd - I even *installed* world without any issue? You installed world without a new kernel? That would be a good way to make unnecessary trouble for yourself. Will try now anyways, though. Life's a mystery

Fw: qemu error mounting cd and no internet connection with custom kernel

2010-05-24 Thread Heshmat Ismail
--- On Sun, 5/23/10, Heshmat Ismail real_precious_st...@yahoo.com wrote: From: Heshmat Ismail real_precious_st...@yahoo.com Subject: qemu error mounting cd and no internet connection with custom kernel To: freebsd-emulat...@freebsd.org Date: Sunday, May 23, 2010, 8:35 PM Hi all, I have  built

[solved] startx couldn't create cookie with custom kernel

2010-05-15 Thread Heshmat Ismail
Hi all, I enabled device random in my kernel configuration file , rebuilt and installed my kernel , now startx works flawlessly , thank you Alexander Best and thank you all. Heshmat Ismail ___ freebsd-questions@freebsd.org mailing list http

Re: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Jiansong Liu
Try to compile it again without the -j option, will help to figure out where is going wrong exactly. Cheers, Jiansong On Wed, May 12, 2010 at 5:50 PM, Antonio Kless antoniok@gmail.com wrote: Hello. I trying to build custom kernel to enable packet-filter. # uname -a FreeBSD host.net

Re: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Antonio Kless
-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=kernel -mno-red-zone -mfpmath=387

startx couldn't create cookie with custom kernel

2010-05-13 Thread Heshmat Ismail
I have built and installed a custom kernel on i386 machine with the 8-RELEASE then installed xorg from the DVD,when i ran startx i got: couldn't create cookie.When using GENERIC kernel startx works flawlessly,but with my custom kernel i got this error. Heshmat Ismail

Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Yuri Pankov
On Thu, May 13, 2010 at 03:54:21AM -0700, Heshmat Ismail wrote: I have built and installed a custom kernel on i386 machine with the 8-RELEASE then installed xorg from the DVD,when i ran startx i got: couldn't create cookie.When using GENERIC kernel startx works flawlessly,but with my custom

Re: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Lowell Gilbert
Antonio Kless antoniok@gmail.com writes: if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined reference to `ieee80211_free_node' At a guess, you've got the rum device without wlan. -- Lowell Gilbert, embedded/networking software engineer, Boston area

Re: 7.3-RELEASE: unable to compile custom kernel

2010-05-13 Thread Antonio Kless
That's right! Thanks a lot, now it builts well. 2010/5/13 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org Antonio Kless antoniok@gmail.com writes: if_rum.o(.text+0x3868):/usr/src/sys/dev/usb/if_rum.c:2324: undefined reference to `ieee80211_free_node' At a guess, you've got

Fw: Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Heshmat Ismail
--- On Thu, 5/13/10, Heshmat Ismail real_precious_st...@yahoo.com wrote: From: Heshmat Ismail real_precious_st...@yahoo.com Subject: Re: startx couldn't create cookie with custom kernel To: Yuri Pankov yuri.pan...@gmail.com Date: Thursday, May 13, 2010, 1:19 PM # cd /usr/src/sys/i386/conf

Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Chuck Swiger
Hi-- On May 13, 2010, at 9:34 AM, Heshmat Ismail wrote: -cpuI486_CPU -cpuI586_CPU +#cpu I486_CPU +#cpu I586_CPU cpuI686_CPU You don't really want to disable these. There are some kernel optimizations which are only enabled

Re: startx couldn't create cookie with custom kernel

2010-05-13 Thread Alexander Best
you need to re-enable device random. X needs it. -- Alexander Best ___ 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

7.3-RELEASE: unable to compile custom kernel

2010-05-12 Thread Antonio Kless
Hello. I trying to build custom kernel to enable packet-filter. # uname -a FreeBSD host.net 7.3-RELEASE FreeBSD 7.3-RELEASE #0: Sun Mar 21 05:25:24 UTC 2010 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 # export declare -x BLOCKSIZE=K declare -x FTP_PASSIVE_MODE=YES

Problem with Custom Kernel

2010-05-11 Thread Heshmat Ismail
Dear Sir, My name is Heshmat Ismail.The output of uname-a is:- FreeBSD  8.0-RELEASE FreeBSD 8.0-RELEASE #12: Tue May 11 11:05:22 UTC 2010 heshmat@:/usr/obj/usr/src/sys/MYKERNEL  i386 After I have built and installed my custom kernel  (MYKERNEL),i installed xorg and ran the command startx

Re: Problem with Custom Kernel

2010-05-11 Thread Tim Judd
kernel (MYKERNEL),i installed xorg and ran the command startx but i got: couldn't create cookie.What could be the problem with MYKERNEL? my kernel configuration file is attached with this message. Thanks, Heshmat Ismail An XORG cookie is dealing with X authority, not with a kernel config

what does kernel option UWX_TRACE_ENABLE do?

2010-05-06 Thread Anton Shterenlikht
What does kernel option UWX_TRACE_ENABLE do? I did a quick search on the net, but no help. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423

Re: what does kernel option UWX_TRACE_ENABLE do?

2010-05-06 Thread Anton Yuzhaninov
On Thu, 6 May 2010 10:51:59 +0100, Anton Shterenlikht wrote: AS What does kernel option UWX_TRACE_ENABLE do? AS AS I did a quick search on the net, but no help. AS from sys/ia64/conf/NOTES # Build the unwinder with tracing support. This option is used to debug the # unwinder itself

Re: KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-04 Thread Ivan Voras
On 05/04/10 00:38, Bruce Cran wrote: On Monday 03 May 2010 15:52:48 Traiano Welcome wrote: Is KSE support still in FreeBSD (8.0 and upward)? No. KSE support was removed over 2 years ago: http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084248.html Note that only KSE was

Re: KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-04 Thread Alejandro Imass
On Tue, May 4, 2010 at 5:33 AM, Ivan Voras ivo...@freebsd.org wrote: On 05/04/10 00:38, Bruce Cran wrote: [...] Note that only KSE was removed; threading is of course fully supported by other mechanisms. Does anyone know of a paper(s) that compare the different threading model of say FBSD,

KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-03 Thread Traiano Welcome
Hi List Is KSE support still in FreeBSD (8.0 and upward)? Thanks in Advance, Traiano Welcome NOTE: This e-mail message and all attachments thereto contain confidential information intended for a specific addressee and purpose. If you are not the addressee (a) you may not disclose, copy,

Re: KSE (Kernel Supported Threading) support in FreeBSD 8.0

2010-05-03 Thread Bruce Cran
On Monday 03 May 2010 15:52:48 Traiano Welcome wrote: Is KSE support still in FreeBSD (8.0 and upward)? No. KSE support was removed over 2 years ago: http://lists.freebsd.org/pipermail/freebsd-current/2008-March/084248.html -- Bruce Cran ___

Re: lighten kernel

2010-04-26 Thread Da Rock
On Fri, 2010-04-23 at 07:09 +0200, xyz wrote: Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd kernel (33,9mo) for the same hardware configuration. Linux is based more on a minimalist kernel with user mode modules - add the modules and you'll find its larger, or take

Re: lighten kernel

2010-04-26 Thread harvey dent
Ok I understand. Thank you very much for your answer. On Mon, Apr 26, 2010 at 11:00 AM, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On Fri, 2010-04-23 at 07:09 +0200, xyz wrote: Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd kernel (33,9mo

Re: lighten kernel

2010-04-23 Thread Paul B Mahol
On 4/23/10, xyz harvey.two.face.k...@gmail.com wrote: Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd kernel (33,9mo) for the same hardware configuration. My kernel is 2.8 MB and ~30 MB are modules (all of them). Is it difficult to update the patch? Is it difficult

Re: lighten kernel

2010-04-22 Thread xyz
Hi Thank you for your answer But I can't believe that lighten the kernel of useless drivers, saves only few bytes, by removing whole useless modules (sound, ata/sata, agp...). Furthermore, I think about free space that could be save too, in the hard drive this time. Why for the same

Re: lighten kernel

2010-04-22 Thread Paul B Mahol
On 4/22/10, xyz harvey.two.face.k...@gmail.com wrote: Hi Thank you for your answer But I can't believe that lighten the kernel of useless drivers, saves only few bytes, by removing whole useless modules (sound, ata/sata, agp...). Furthermore, I think about free space that could be save too

Re: lighten kernel

2010-04-22 Thread xyz
Those numbers mean the size in mo, of linux kernel (3.2mo), and freebsd kernel (33,9mo) for the same hardware configuration. Is it difficult to update the patch? On 04/22/10 23:54, Paul B Mahol wrote: On 4/22/10, xyzharvey.two.face.k...@gmail.com wrote: Hi Thank you for your answer

lighten kernel

2010-04-21 Thread xyz
Hi everybody I want to build a custom kernel, because my pc doesn't have much memory. So I would like reduce the size of the kernel load in the memory, to save her. My question is, is it possible to save more memory, by removing the whole agp drivers, and keeping only the driver needed

Re: lighten kernel

2010-04-21 Thread Ivailo Tanusheff
As far as I understand this is one of the main reasons to make a custom kernel :) So yes, you can do that if you do not need those kernel modules. Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD xyz harvey.two.face.k...@gmail.com Sent by: owner-freebsd

Re: lighten kernel

2010-04-21 Thread xyz
Thank you for your answer. But how I can only choose the intel agp driver, without all others by puting agp in the kernel configuration file? On 04/21/10 15:20, Ivailo Tanusheff wrote: As far as I understand this is one of the main reasons to make a custom kernel :) So yes, you can do

Re: lighten kernel

2010-04-21 Thread Michael Powell
xyz wrote: Thank you for your answer. But how I can only choose the intel agp driver, without all others by puting agp in the kernel configuration file? Please don't top post - it is bad form. I think you may be confusing agp driver and video driver. The agp support in the kernel

Re: lighten kernel

2010-04-21 Thread Paul B Mahol
On 4/21/10, xyz harvey.two.face.k...@gmail.com wrote: Thank you for your answer. But how I can only choose the intel agp driver, without all others by puting agp in the kernel configuration file? Currently you can not pick only intel agp code, agp module have support for other vendors too. I

Force reboot after kernel panic.

2010-04-13 Thread Paul Halliday
How can I enforce this? Presently the system just hangs. Thanks. ___ 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: Force reboot after kernel panic.

2010-04-13 Thread Terrence Koeman
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- questi...@freebsd.org] On Behalf Of Paul Halliday Sent: Tuesday, April 13, 2010 3:17 PM To: questi...@freebsd.org Subject: Force reboot after kernel panic. How can I enforce this? Presently

Custom kernel atheros

2010-04-10 Thread harvey dent
hi everybody I try to make a custom kernel (for a emachines notebook), but i always get this same error or a similar (dependent of choosing ath_hal or for example ath_rf2425): *ar2425.o(.text+0x582): In function `ar2425RfAttach': /usr/src/sys/dev/ath/ath_hal/ar5212/ar2425.c:691: undefined

Re: Kernel Config for NAT

2010-04-10 Thread Ian Smith
On Fri, 9 Apr 2010, per...@pluto.rain.com wrote: Ian Smith smi...@nimnet.asn.au wrote: http://www.freebsd.org/doc/handbook/firewalls-ipfw.html rant This is absolutely the worst section of an otherwise great handbook ... Nothing short of a rewrite from scratch could fix it ...

Re: Kernel Config for NAT

2010-04-09 Thread Ian Smith
In freebsd-questions Digest, Vol 305, Issue 9, Message: 1 On Thu, 8 Apr 2010 08:10:34 -0400 Robert Huff roberth...@rcn.com wrote: Adam Vande More writes: If compiled into the kernel, there's a set of optional settings (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can

Re: Kernel Config for NAT

2010-04-09 Thread Robert Huff
Ian Smith writes: So ... double-checking I'm doing this right: 1) in /boot/loader.conf: ipfw_load=YES ipdivert_load=YES I thought from your earlier mail that you wanted to use in-kernel NAT? I want whatever works. :-) Beyond that ... all other

Re: Kernel Config for NAT

2010-04-09 Thread Ian Smith
On Fri, 9 Apr 2010, Robert Huff wrote: Ian Smith writes: So ... double-checking I'm doing this right: 1) in /boot/loader.conf: ipfw_load=YES ipdivert_load=YES I thought from your earlier mail that you wanted to use in-kernel NAT

Re: Kernel Config for NAT

2010-04-09 Thread perryh
Ian Smith smi...@nimnet.asn.au wrote: http://www.freebsd.org/doc/handbook/firewalls-ipfw.html rant This is absolutely the worst section of an otherwise great handbook ... Nothing short of a rewrite from scratch could fix it ... As always, I'm sure a patch -- to provide that rewrite --

Re: Kernel Config for NAT

2010-04-08 Thread Robert Huff
Adam Vande More writes: If compiled into the kernel, there's a set of optional settings (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there. If using the module, how does one set these? Logging is compiled into the modules and there are a few sysctl's

Re: Kernel Config for NAT

2010-04-08 Thread Robert Huff
Adam Vande More writes: If compiled into the kernel, there's a set of optional settings (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there. If using the module, how does one set these? Logging is compiled into the modules and there are a few sysctl's

Re: Kernel Config for NAT

2010-04-08 Thread Adam Vande More
On Thu, Apr 8, 2010 at 7:10 AM, Robert Huff roberth...@rcn.com wrote: 1) in /boot/loader.conf: ipfw_load=YES ipdivert_load=YES 2) in the kernel config: #options IPFIREWALL #firewall #options IPFIREWALL_VERBOSE #enable logging to syslogd(8) #options

Re: Kernel Config for NAT

2010-04-08 Thread Gary Dunn
On Thu, 8 Apr 2010 08:10:34 -0400 Robert Huff roberth...@rcn.com wrote: So ... double-checking I'm doing this right: 1) in /boot/loader.conf: ipfw_load=YES ipdivert_load=YES yes; see NAT HB 31.9.3 2) in the kernel config: IMHO, and according to Adam Vandr More, kernel options

Re: Kernel Config for NAT

2010-04-08 Thread Robert Huff
IMHO, and according to Adam Vandr More, kernel options are no longer required. The original reason I asked was: 30.6.2 Kernel Options It is not a mandatory requirement to enable IPFW by compiling the following options into the FreeBSD

Kernel Config for NAT

2010-04-07 Thread Gary Dunn
loader options. Section 31.9.4 describes alternatives for building a custom kernel. In contrast, the chapter on ipfw states several times that NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7. I want to use freebsd-update and building a custom kernel eliminates that option. Which

Re: Kernel Config for NAT

2010-04-07 Thread Adam Vande More
the handbook section on NAT, 31.9.3, I can achieve what I need with boot loader options. Section 31.9.4 describes alternatives for building a custom kernel. In contrast, the chapter on ipfw states several times that NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7. I want to use freebsd-update

Re: Kernel Config for NAT

2010-04-07 Thread Robert Huff
, I can achieve what I need with boot loader options. Section 31.9.4 describes alternatives for building a custom kernel. In contrast, the chapter on ipfw states several times that NAT requires a custom kernel - 30.6.1, 30.6.2, 30.6.5.7. I want to use freebsd-update and building

Re: Kernel Config for NAT

2010-04-07 Thread Adam Vande More
On Wed, Apr 7, 2010 at 11:28 PM, Robert Huff roberth...@rcn.com wrote: If compiled into the kernel, there's a set of optional settings (VERBOSE, LOG_LINIT, DEFAULT_TO_ACCEPT, etc) that can be set there. If using the module, how does one set these? Logging is compiled

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-02 Thread Mario Lobo
kernel and world, but it usually just bombs out for me. I would like to give this a go as well. Peg Well, to tell the truth I wasn't that thrilled with the results. I didn't benchmark anything by my impressions were that at least disk access was a bit slower not only during booting

Re: Compiling kernel with gcc43 [SOLVED] -ADDENDUM

2010-04-02 Thread Mario Lobo
Well, to tell the truth I wasn't that thrilled with the results. I didn't [snip] -- Compiling vbox/vbox-devel with gcc43 1) /usr/include/cam/cam.h needed #include stdio.h for FILE define, complained by: [snip] and

Re: Default labeling and space for rebuilding the kernel.

2010-04-01 Thread Leon Meßner
On Wed, Mar 31, 2010 at 08:34:59AM -0400, Michael Powell wrote: Leon Meßner wrote: Hi, if one uses the default labeling with current installer it is not possible to rebuild the kernel (GENERIC). It fails on installing the wlan.ko. snip /: write failed, filesystem is full install

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Oliver Fromme
Mario Lobo l...@bsd.com.br wrote: [...] It's compiling right now. I'll post my findings and impressions on results and performance right after the next reboot. So, how is it going? Any benchmarks yet? I'm curious if the new gcc version will really make a significant difference.

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Pegasus Mc Cleaft
if the new gcc version will really make a significant difference. I would love to see the /etc/make.conf, /etc/src.conf and /etc/libmap.conf files that were used for the build. I have tried compiling in VBox a current kernel and world, but it usually just bombs out for me. I would like

Re: Compiling kernel with gcc43 [SOLVED]

2010-04-01 Thread Vlad Galu
On Thu, Apr 1, 2010 at 6:27 PM, Oliver Fromme o...@lurza.secnetix.de wrote: Mario Lobo l...@bsd.com.br wrote:   [...]   It's compiling right now.     I'll post my findings and impressions on results and performance right after   the next reboot. So, how is it going?  Any benchmarks yet?  

Default labeling and space for rebuilding the kernel.

2010-03-31 Thread Leon Meßner
Hi, if one uses the default labeling with current installer it is not possible to rebuild the kernel (GENERIC). It fails on installing the wlan.ko. Isn't that wrong somehow ? === wi (install) install -o root -g wheel -m 555 if_wi.ko /boot/kernel install -o root -g wheel -m 555

Re: Default labeling and space for rebuilding the kernel.

2010-03-31 Thread Michael Powell
Leon Meßner wrote: Hi, if one uses the default labeling with current installer it is not possible to rebuild the kernel (GENERIC). It fails on installing the wlan.ko. Isn't that wrong somehow ? === wi (install) install -o root -g wheel -m 555 if_wi.ko /boot/kernel install -o root

Re: Custom Kernel to Memory Stick

2010-03-30 Thread Jay Hall
On Mar 29, 2010, at 6:30 PM, Aiza wrote: This is the procedure you want to follow. http://forums.freebsd.org/showthread.php?t=11680 And for greater detail http://forums.freebsd.org/showthread.php?t=11715 Thanks for the links. I will give them a try. Jay

Re: Custom Kernel to Memory Stick

2010-03-30 Thread Giorgos Keramidas
On Mon, 29 Mar 2010 10:49:08 -0500, Jay Hall jh...@socket.net wrote: Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get

Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get our custom configuration onto the memory stick? Thanks, Jay

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? Ladies and Gentlemen, This is what I have done, but now I cannot mount the memory stick. I create an image of the s1a partition where the kernel I want to copy

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Jay Hall
On Mar 29, 2010, at 10:49 AM, Jay Hall wrote: What would be the best way to get our custom configuration onto the memory stick? OK, I managed t get our custom configuration on to the memory stick using dump. After getting everything configured, what I thought was correctly, I am

Re: Custom Kernel to Memory Stick

2010-03-29 Thread Aiza
Jay Hall wrote: Ladies and Gentlemen, I have been asked to explore the possibility of booting FreeBSD from a memory stick. This was not a problem; worked great when installed from the distribution CD. What would be the best way to get our custom configuration onto the memory stick?

Re: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
gcc43/libgomp.so.1 libobjc.so.3gcc43/libobjc.so.2 libssp.so.0 gcc43/libssp.so.0 libstdc++.so.6 gcc43/libstdc++.so.6 buildworld goes on normally it seems, but when I tried to build the kernel, the first stop came from the option used by the kernel build -fformat- extensions, which

Re: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
to build the kernel with -Werror. ___ 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: Compiling kernel with gcc43

2010-03-25 Thread Mario Lobo
of the new warnings you won't be able to build the kernel with -Werror. All right !! Thanks for replying ! There are a lot of locations throughout the source code where -Werror is enabled How can I disable -Werror globally? via src.conf ? will it do it for world/kernel? will this damage

Re: Compiling kernel with gcc43

2010-03-25 Thread Ryan Stone
for development but in your case, where you're starting with a known good source tree with no warnings with earlier compilers, it's not necessary to have the option enabled. If the warnings are pointing to legitimate bugs, those bugs also exist in a kernel built by gcc 4.2, so your kernel can't

Re: Compiling kernel with gcc43

2010-03-25 Thread Andrius Morkūnas
On Thu, 25 Mar 2010 18:24:10 +0200, Mario Lobo l...@bsd.com.br wrote: Should I just dump the gcc43 idea and try this with clang/llvm? I've seen http://wiki.freebsd.org/BuildingFreeBSDWithClang. Anything else to watch out for when building world/kernel/ports? ClangBSD had little to no runtime

Re: Compiling kernel with gcc43

2010-03-25 Thread Garrett Cooper
with every compiler release, so until somebody takes the time to fix all of the new warnings you won't be able to build the kernel with -Werror. All right !! Thanks for replying ! There are a lot of locations throughout the source code where -Werror is enabled How can I disable -Werror globally

Re: Compiling kernel with gcc43

2010-03-25 Thread Bruce Cran
On Thu, Mar 25, 2010 at 02:18:34PM -0300, Mario Lobo wrote: All right !! Thanks for replying ! There are a lot of locations throughout the source code where -Werror is enabled How can I disable -Werror globally? via src.conf ? will it do it for world/kernel? will this damage the resulting

Re: Compiling kernel with gcc43

2010-03-25 Thread Edward Tomasz Napierała
Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: 2010/3/24 Mario Lobo l...@bsd.com.br Anyway,my question boils down to: Is there a way to build the kernel with gcc43, with minimal tweaking? Am i attempting something out of my league? This is what I use to compile kernel

Re: Compiling kernel with gcc43 [SOLVED]

2010-03-25 Thread Mario Lobo
On Thursday 25 March 2010 19:12:09 Edward Tomasz Napierała wrote: Wiadomość napisana przez Mario Lobo w dniu 2010-03-25, o godz. 17:24: 2010/3/24 Mario Lobo l...@bsd.com.br Anyway,my question boils down to: Is there a way to build the kernel with gcc43, with minimal tweaking? Am i

Compiling kernel with gcc43

2010-03-24 Thread Mario Lobo
/libobjc.so.2 libssp.so.0 gcc43/libssp.so.0 libstdc++.so.6 gcc43/libstdc++.so.6 buildworld goes on normally it seems, but when I tried to build the kernel, the first stop came from the option used by the kernel build -fformat- extensions, which is not accepted by gcc43, so I took it out of /usr/src

Re: kernel panic when if_lagg is not loaded.

2010-03-23 Thread Xin LI
in /boot/loader.conf. When I rebooted I got a kernel panic. Should this be considerd normal or is it something I should report? Secondly I see there'a a reference to the lagg(4) man page. I think it would help future readers of the above page if a comment about loading if_lagg_load=YES

kernel panic when if_lagg is not loaded.

2010-03-17 Thread Leslie Jensen
I have set upp aggregation of my wlan and and wired NIC following the instructions in the handbook. http://www.freebsd.org/doc/handbook/network-aggregation.html I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I rebooted I got a kernel panic. Should this be considerd normal

Kernel dump crash

2010-03-17 Thread Glenn Camilleri
. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd. Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x8 fault code

Re: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Nikos Vassiliadis
Leslie Jensen wrote: I have set upp aggregation of my wlan and and wired NIC following the instructions in the handbook. http://www.freebsd.org/doc/handbook/network-aggregation.html I forgot to add the if_lagg_load=YES in /boot/loader.conf. When I rebooted I got a kernel panic. Should

Re: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Leslie Jensen
. When I rebooted I got a kernel panic. Should this be considerd normal or is it something I should report? No, it's not normal. Please, report it in an explicit way, commands given and/or changes to rc.conf, loader.conf etc. Try first here questions@ and then n...@. Nonetheless I see

Re: kernel panic when if_lagg is not loaded.

2010-03-17 Thread Nikos Vassiliadis
it causes a kernel panic? If that's the case, you should report it to n...@. If you could include a backtrace of the panic, it would be most helpful. I have if_lagg_load=YES in /boot/loader.conf and the following in /etc/rc.conf wpa_supplicant_enable=YES ifconfig_em0=up # ifconfig_iwn0=ether

Re: Kernel dump crash

2010-03-17 Thread Alejandro Imass
On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri glenn...@gmail.com wrote: Hi, I have some processes and programs that are custom made to run on FreeBSD. I suspect some poor implementation of tcp in these programs, but don’t have the real proof. [...] Can you kindly advise ? Using the

Re: Kernel dump crash

2010-03-17 Thread Alejandro Imass
On Wed, Mar 17, 2010 at 10:04 AM, Alejandro Imass a...@p2ee.org wrote: On Wed, Mar 17, 2010 at 4:03 AM, Glenn Camilleri glenn...@gmail.com wrote: Hi, I have some processes and programs that are custom made to run on FreeBSD. I suspect some poor implementation of tcp in these programs, but

kldload vs Statically compiled in kernel

2010-03-16 Thread Brandon Falk
Hello fellow FreeBSD mates, I've always statically compiled in my modules into my kernel, rather then using kldload, or throwing them in /boot/loader.conf. I'm just wondering if there are actually any advantages to doing it this way. Thanks, Brandon Falk

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Adam Vande More
On Tue, Mar 16, 2010 at 7:37 PM, Brandon Falk falk...@gamozo.org wrote: Hello fellow FreeBSD mates, I've always statically compiled in my modules into my kernel, rather then using kldload, or throwing them in /boot/loader.conf. I'm just wondering if there are actually any advantages to doing

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Polytropon
On Tue, 16 Mar 2010 19:37:58 -0500, Brandon Falk falk...@gamozo.org wrote: Hello fellow FreeBSD mates, I've always statically compiled in my modules into my kernel, rather then using kldload, or throwing them in /boot/loader.conf. I'm just wondering if there are actually any advantages

Re: kldload vs Statically compiled in kernel

2010-03-16 Thread Alexander Best
sure there are advantages. with a module you can change code in src, recompile the kernel module and then reload it. this lets you test your changes without having to reboot. i also use modules for devices i only attached every now and then, like a usb dongle device for doing bluetooth. i only

Info on DOS mitigation, kernel configuration for DOS mitigation

2010-03-15 Thread Bogdan Webb
in those guides it alerted me that bandwidth modules weren't included in the bsd's kernel... Anyway could anyone provide me with a good BSD walk trough for DOS mitigation and if needed kernel modules and kernel module integration, mabe other firewall (but with extended howto..) ... (basically

Re: Info on DOS mitigation, kernel configuration for DOS mitigation

2010-03-15 Thread Adam Vande More
On Mon, Mar 15, 2010 at 2:50 PM, Bogdan Webb bog...@pgn.ro wrote: i've already searched the freebsd's mailing lists and found some mitigation techniques, to bad that google ain't that familiar with FreeBSD, and searchin' for guides is a pain... http://www.google.com/bsd -- Adam Vande More

Re: Info on DOS mitigation, kernel configuration for DOS mitigation

2010-03-15 Thread Ivan Voras
and upon testing the rules in those guides it alerted me that bandwidth modules weren't included in the bsd's kernel... Anyway could anyone provide me with a good BSD walk trough for DOS kldload dummynet, see loader.conf(5) mitigation and if needed kernel modules and kernel module integration, mabe

Compiling Linux into Kernel

2010-03-09 Thread Jason Garrett
I know the usual way of loading the linux module and configuring it in rc.conf, but can it be compiled directly into the kernel? If so, what would the line for it look like? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: Compiling Linux into Kernel

2010-03-09 Thread Rob Farmer
On Tue, Mar 9, 2010 at 9:35 AM, Jason Garrett kinged...@gmail.com wrote: I know the usual way of loading the linux module and configuring it in rc.conf, but can it be compiled directly into the kernel? If so, what would the line for it look like? options COMPAT_LINUX or if you are on amd64

<    3   4   5   6   7   8   9   10   11   12   >