Re: custom amd64 kernel

2009-07-21 Thread PJ
ill...@gmail.com wrote: > 2009/7/21 PJ : > >> Frankly, I have no idea how to configure the kernel from GENERIC... I >> have installed, in the past and recently, Intel i386 kernels without >> problem but this amd64 thingy is incomprehensible for me... the default >>

Re: custom amd64 kernel

2009-07-21 Thread ill...@gmail.com
2009/7/21 PJ : > Frankly, I have no idea how to configure the kernel from GENERIC... I > have installed, in the past and recently, Intel i386 kernels without > problem but this amd64 thingy is incomprehensible for me... the default > GENERIC example holds HAMMER as the cpu; mine is

custom amd64 kernel

2009-07-21 Thread PJ
Frankly, I have no idea how to configure the kernel from GENERIC... I have installed, in the past and recently, Intel i386 kernels without problem but this amd64 thingy is incomprehensible for me... the default GENERIC example holds HAMMER as the cpu; mine is Turion with some other name for the

Re: error when complie kernel.

2009-07-06 Thread Michael Powell
tang huu trong wrote: > Dear all. > > i got a problem while complie my kernel to support PAE. below is my > process. > > 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL > 2 - cd /usr/src/sys/i386 > 3 - ln -s /root/kernels/MYKERNEL > 4 - vi /usr/src/sys/i

Re: error when complie kernel.

2009-07-05 Thread Glen Barber
On Sun, Jul 5, 2009 at 11:53 PM, tang huu trong wrote: > Dear all. > > i got a problem while complie my kernel to support PAE. below is my process. > > 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL > 2 - cd /usr/src/sys/i386 > 3 - ln -s /root/kernels/MYKERNEL >

error when complie kernel.

2009-07-05 Thread tang huu trong
Dear all. i got a problem while complie my kernel to support PAE. below is my process. 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL 2 - cd /usr/src/sys/i386 3 - ln -s /root/kernels/MYKERNEL 4 - vi /usr/src/sys/i386/MYKERNEL 5 - add line "options PAE" 6 - save configu

Re: load kernel from different media

2009-07-04 Thread Chris Whitehouse
Sergio de Almeida Lenzi wrote: Em Qua, 2009-07-01 às 22:40 +0100, Chris Whitehouse escreveu: Yes you can. put your kernel (the one that works) on a DVD/CD assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e with all the /boot directory. than boot from dvd/CD with the HD on

kernel panic on SATA drive

2009-07-01 Thread jw
s time, at least. But I'm hesitant to just 'call it good' - I'd like this to be a stable server (: I manually transcribed the bulk of the output - is there a nicer way to get the output of a kernel panic so I can copy/paste? I didn't find an obvious command, though I'm n

Re: load kernel from different media

2009-07-01 Thread Sergio de Almeida Lenzi
Em Qua, 2009-07-01 às 22:40 +0100, Chris Whitehouse escreveu: Yes you can. put your kernel (the one that works) on a DVD/CD assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e with all the /boot directory. than boot from dvd/CD with the HD on the machine too. on the startup

load kernel from different media

2009-07-01 Thread Chris Whitehouse
Hi all, I cannot boot my motherboard with the default kernel on 7.2-RELEASE (or any other iso's I have tried). It panics if device sbp is in the kernel. So far I've got things working by putting the hard disk in another machine, installed the OS and rebuilt a kernel without

Re: my kernel is not build/install

2009-06-29 Thread Matthew Seaman
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 bui

Re: my kernel is not build/install

2009-06-29 Thread Chris Rees
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]~

Re: kernel panic - umount xfs partition

2009-06-27 Thread Zbigniew Komarnicki
... > # mount -t xfs -o ro /dev/ad0s2 /mnt > # ls /mnt > # cp /mnt/my_file /home/zbigniew I forgot add here that I do then # umount /mnt and after that was kernel panic. I'm sorry for the mistake. Zbigniew ___ freebsd-questions@freeb

Re: my kernel is not build/install

2009-06-26 Thread Kent Stewart
t; > 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 c

Re: Re: my kernel is not build/install

2009-06-26 Thread fomin
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 > >>> > >>>

Re: my kernel is not build/install

2009-06-26 Thread Rolf G Nielsen
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

Re: my kernel is not build/install

2009-06-26 Thread Maciej Milewski
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/

Re: my kernel is not build/install

2009-06-26 Thread Kent Stewart
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 > >>> > >>>

Re: my kernel is not build/install

2009-06-26 Thread Rolf G Nielsen
Кирилл А. Фомин 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

Re: my kernel is not build/install

2009-06-26 Thread Brent Bloxam
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

my kernel is not build/install

2009-06-26 Thread fomin
When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 KERNEL Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe

kernel panic - umount xfs partition

2009-06-26 Thread Zbigniew Komarnicki
Hello, I have a Dabian 5.0 and FreeBSD 7.2-RELEASE-p2 on i386 athlon-xp. I have two partitions under Debian. They are xfs file system. So I mount it from FreeBSD # mount -t xfs -o ro /dev/ad0s1 /mnt # ls /mnt # umount /mnt Everything is OK, but now I do the following # mount -t xfs -o ro /d

echo in sh calls write function repeatedly in kernel driver?

2009-06-24 Thread Naeem Afzal
t;echo" successfully. 1234 Closing device "echo." = Driver's write function is defined as: static int echo_write(struct cdev *dev, struct uio *uio, int ioflag) { int err = 0; uprintf("Count value: %d\n",count); /* Copy the string in from user mem

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread subbsd
On Monday 15 June 2009 13:16:56 Paul B. Mahol wrote: > On 6/15/09, subbsd wrote: > > Hello > > > > On Monday 15 June 2009 12:37:08 membrana wrote: > >> subbsd wrote: > >> > Hello maillist, > >> > > >> > Whether th

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread Paul B. Mahol
On 6/15/09, subbsd wrote: > Hello > > On Monday 15 June 2009 12:37:08 membrana wrote: >> subbsd wrote: >> > Hello maillist, >> > >> > Whether there is a way for booting GENERIC kernel with >> > ipfw_load="YES" >> > >

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread subbsd
Hello On Monday 15 June 2009 12:37:08 membrana wrote: > subbsd wrote: > > Hello maillist, > > > > Whether there is a way for booting GENERIC kernel with > > ipfw_load="YES" > > > > and > > > > 65535 allow ip from a

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread subbsd
Hello On Monday 15 June 2009 12:39:08 Michael Powell wrote: > subbsd wrote: > > Hello maillist, > > > > Whether there is a way for booting GENERIC kernel with > > ipfw_load="YES" > > > > and > > > > 65535 allow ip from a

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread Michael Powell
subbsd wrote: > Hello maillist, > > Whether there is a way for booting GENERIC kernel with > ipfw_load="YES" > > and > > 65535 allow ip from any to any > > rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? > > This i

Re: enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread membrana
subbsd wrote: Hello maillist, Whether there is a way for booting GENERIC kernel with ipfw_load="YES" and 65535 allow ip from any to any rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? This is single options who force me customize my own kernel wi

enable IPFIREWALL_DEFAULT_TO_ACCEPT for GENERIC kernel

2009-06-15 Thread subbsd
Hello maillist, Whether there is a way for booting GENERIC kernel with ipfw_load="YES" and 65535 allow ip from any to any rules without recompile kernel with options IPFIREWALL_DEFAULT_TO_ACCEPT ? This is single options who force me customize my own kernel with freebsd- updat

Re: Compiling in sound driver in kernel

2009-06-13 Thread Polytropon
he handbook is wrong, but you mentioned a different, but still completely valid solution: > What I do is include the GENERIC file and override things with > nooption/nodevice > directives. Never tried this, but surely will. The last time I compiled a kernel, I made a copy of GENERIC, ed

Re: Compiling in sound driver in kernel

2009-06-13 Thread Ruben de Groot
eeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 > >>>>r...@fqdn:/usr/obj/usr/src/sys/GENERIC > >>> ^^^ > >>>Did you edit GENERIC > >>Yes. Added sound and snd_hda > > > >Polite note: This is NOT

Re: Compiling in sound driver in kernel

2009-06-12 Thread Rolf G Nielsen
^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. That's what i've done. or did you forget to set

Re: Compiling in sound driver in kernel

2009-06-12 Thread Mel Flynn
make > make install > > ? Because it is more typing? One can actually put KERNCONF in /etc/src.conf. In fact, one can put multiple kernel files in KERNCONF and the first one in the list will be the one installed, all will be built. This is how I share kernels over nfs to multiple ma

Re: Compiling in sound driver in kernel

2009-06-12 Thread Bernt Hansson
^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. That's what i've done. or did you forget to set KERNCONF during buil

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
On Fri, 12 Jun 2009 14:43:46 +0200 (CEST), Wojciech Puchar wrote: > why not: > > > edit MYKERNEL > config MYKERNEL > cd ../compile/MYKERNEL > make depend > make > make install > > ? Yes, why not? It still works. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi

Re: Compiling in sound driver in kernel

2009-06-12 Thread Wojciech Puchar
# cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda # cd /usr/src # make buildkernel KERNCONF=MYKERNEL #

Re: Compiling in sound driver in kernel

2009-06-12 Thread Jonathan McKeown
fqdn:/usr/obj/usr/src/sys/GENERIC > > > > > > ^^^ > > > Did you edit GENERIC > > > > Yes. Added sound and snd_hda > > Polite note: This is NOT the way to create a custom kernel. The > handbook mentions that it's advised to cre

Re: Compiling in sound driver in kernel

2009-06-12 Thread Polytropon
gt; Did you edit GENERIC > > Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. It's even possible to create a config file from scratch, including material

Re: Compiling in sound driver in kernel

2009-06-11 Thread Bernt Hansson
doesn't help me. snd_hda driver won't load either way. I always have to load it manualy. What is the exact error message that you get? None. No error message. So the kernel now builds correctly with 'device sound' and 'device snd_hda'? It's always built, sou

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
rev: > >>>>>>>> That doesn't help me. snd_hda driver won't load either way. I > >>>>>>>> always have to load it manualy. > >>>>>>> > >>>>>>> What is the exact error message that you get? >

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 10:11:56PM +0200, Bernt Hansson wrote: > > > >> I'm going to reboot now so i get a fresh dmesg. OAU > > > > Good luck. > > No luck. I've just rebuilt and installed a new kernel. > No snd_hda is loaded. > > testbox# kld

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
118 pci/snd_cmi 119 sound ... But anyway, if you would kldload snd_something AFTER the kernel or through the means of /boot/loader.conf, kldstat without -v would show it, with .ko appended, as far as I remember. -- Polytropon >From Magdeburg, Germany Happy FreeBSD u

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
e way such things are done. > None. No driver. Always have to add it manually. Which would not work if the driver was actually compiled int the kernel. Example: I have compiled snd_cmi and sound into my kernel. So my kldstat looks like this: # kldstat Id Refs AddressSiz

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
On Thursday 11 June 2009 11:11:46 Polytropon wrote: > Of course, it won't show up in kldstat then It will if you add -v to kldstat. -- Mel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To uns

Re: Compiling in sound driver in kernel

2009-06-11 Thread Mel Flynn
er way. I always > >>>>>> have to load it manualy. > >>>>> > >>>>> What is the exact error message that you get? > >>>> > >>>> None. No error message. > >>> > >>> So the kernel now builds correctly with &#

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
that you get? > > >> None. No error message. > > > > So the kernel now builds correctly with 'device sound' and 'device snd_hda'? > > It's always built, sound or no sound. Than that is weird. Because if snd_hda is built into the kernel, you

Re: Compiling in sound driver in kernel

2009-06-11 Thread Polytropon
orrect choice. Anyway, if you included device sound device snd_hda in your kernel configuration file, the driver (a) should be compiled in and (b) loaded at startup. Of course, it won't show up in kldstat then, but % cat /dev/sndstat should indicate the runnin

Re: Compiling in sound driver in kernel

2009-06-11 Thread Diego F. Arias R.
06:11:56PM -0400, Carmel wrote: >> >>>> This is my first attempt to compile in a driver in a new kernel I am >> >>>> attempting to build. >> >>>> >> >>>> Using loader.conf, I have the 'snd_hda' driver presently bein

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 07:57:11PM +0200, Bernt Hansson wrote: > Roland Smith: > > On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: > >> Roland Smith: > >>> On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: > >>>> This is my first a

Re: Compiling in sound driver in kernel

2009-06-11 Thread Roland Smith
On Thu, Jun 11, 2009 at 05:08:09PM +0200, Bernt Hansson wrote: > Roland Smith: > > On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: > >> This is my first attempt to compile in a driver in a new kernel I am > >> attempting to build. > >> > >> U

Re: Compiling in sound driver in kernel

2009-06-11 Thread Carmel
ctually, no I did not. I did read the FreeBSD Handbook, specifically the portions dealing with sound and recompiling the kernel. Nowhere did I see a reference to read the man page for the sound driver, nor an example of how to install it in the kernel. I did, eventually, find an example of how to

Re: kernel compiling questions

2009-06-11 Thread Ruben de Groot
On Tue, Jun 09, 2009 at 05:19:01PM -0700, Jason Helfman typed: > Hi. > > I am trying to figure out how when making the kernel that the number is > incremented. > > For example my system reads: > FreeBSD 7.2-RELEASE #4 > > I have my own kernel that works, however I

Re: Compiling in sound driver in kernel

2009-06-10 Thread Roland Smith
On Wed, Jun 10, 2009 at 06:11:56PM -0400, Carmel wrote: > This is my first attempt to compile in a driver in a new kernel I am > attempting to build. > > Using loader.conf, I have the 'snd_hda' driver presently being loaded. > I want to compile it directly into

Re: Compiling in sound driver in kernel

2009-06-10 Thread Polytropon
On Wed, 10 Jun 2009 18:11:56 -0400, Carmel wrote: > This is my first attempt to compile in a driver in a new kernel I am > attempting to build. > > Using loader.conf, I have the 'snd_hda' driver presently being loaded. > I want to compile it directly into the kernel.

Re: Compiling in sound driver in kernel

2009-06-10 Thread Manolis Kiagias
Carmel wrote: > This is my first attempt to compile in a driver in a new kernel I am > attempting to build. > > Using loader.conf, I have the 'snd_hda' driver presently being loaded. > I want to compile it directly into the kernel. I tried this: > > device

Compiling in sound driver in kernel

2009-06-10 Thread Carmel
This is my first attempt to compile in a driver in a new kernel I am attempting to build. Using loader.conf, I have the 'snd_hda' driver presently being loaded. I want to compile it directly into the kernel. I tried this: device snd_hda # Sound driver Unfortunately, the kerne

Re: kernel compiling questions

2009-06-10 Thread Wojciech Puchar
I am trying to figure out how when making the kernel that the number is incremented. For example my system reads: FreeBSD 7.2-RELEASE #4 I have my own kernel that works, however I would like to have it read this: FreeBSD 7.2-RELEASE #0 Is there a way to resolve this? the number is incremented

kernel compiling questions

2009-06-09 Thread Jason Helfman
Hi. I am trying to figure out how when making the kernel that the number is incremented. For example my system reads: FreeBSD 7.2-RELEASE #4 I have my own kernel that works, however I would like to have it read this: FreeBSD 7.2-RELEASE #0 Is there a way to resolve this? Thanks! Jason

Re: Assign IP address and hostname via kernel parameter

2009-06-08 Thread Mister Olli
Hi, thanks for the hint, this brought me to a (IMHO) good way to accomplish this. When using FreeBSD as domU and configuring the kernel in the domU config file (rather than using pygrub) it's possible to append kernel parameters, by defining them in the variable 'extras' within

Re: SetUID/SetGID Kernel Option

2009-06-04 Thread Martin McCormick
Jonathan McKeown writes: > You need to add > > option SUIDDIR > > To the kernel config. You can find a sample line in /sys/conf/NOTES > > > We see in the fstab the following: > Once you've recompiled the kernel you also need to use suiddir in the >

Re: SetUID/SetGID Kernel Option

2009-06-04 Thread Jonathan McKeown
Hi Martin On Thursday 04 June 2009 16:23:29 Martin McCormick wrote: > I have been asked to enable the following kernel option: > >SetUID/SetGID - Allow directories to inherit their owner from the >parent directory. > > The generic kernel under FreeBSD6.3 is what w

SetUID/SetGID Kernel Option

2009-06-04 Thread Martin McCormick
I have been asked to enable the following kernel option: SetUID/SetGID - Allow directories to inherit their owner from the parent directory. The generic kernel under FreeBSD6.3 is what we presently use on the system in question and I see no commented-out option for compilation

Re: Strange text from kernel then detaching USB drive: "sldoosstf sd/e v irceemo"

2009-06-01 Thread cpghost
On Mon, Jun 01, 2009 at 01:13:38PM +0400, ? ? wrote: > Hello all ! > > I got a very confusing messages from kernel then detaching one of my USB > external HD (used only for backups): > > > May 29 12:40:08 perforce kernel: GEOM_LABEL: Label ufs/Backup5 remov

Re: Strange text from kernel then detaching USB drive: "sldoosstf sd/e v irceemo"

2009-06-01 Thread Valery A. Carpenter
On Mon, 2009-06-01 at 13:13 +0400, Александр Деревянко wrote: > Hello all ! > > I got a very confusing messages from kernel then detaching one of my USB > external HD (used only for backups): > > > May 29 12:40:08 perforce kernel: GEOM_LABEL: Label ufs/Backup5 remov

Strange text from kernel then detaching USB drive: "sldoosstf sd/e v irceemo"

2009-06-01 Thread Александр Деревянко
Hello all ! I got a very confusing messages from kernel then detaching one of my USB external HD (used only for backups): May 29 12:40:08 perforce kernel: GEOM_LABEL: Label ufs/Backup5 removed. May 29 12:40:08 perforce kernel: GEOM_LABEL: Label for provider da0s1 is ufs/Backup5. May 29 12

RE: kernel compile problem

2009-05-31 Thread Rodrigo Vilanova
Hi Chris,Tks for help. My source was incomplete. My bad! best regards,Cabelyn > From: utis...@googlemail.com > Date: Sun, 31 May 2009 20:32:46 +0100 > To: vilanova_rodr...@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: kernel compile problem > > 2009/

Re: kernel compile problem

2009-05-31 Thread Chris Rees
2009/5/31 Rodrigo Vilanova : > > Hi there, > > >  I want to use FreeBSD 7.2 as a simple firewall and VPN at home. I’ve a > dedicated computer to this. > > >  I’m trying to compile my FreeBSD 7.2 Kernel on my computer and I having > the following problem: > > &

kernel compile problem

2009-05-31 Thread Rodrigo Vilanova
Hi there, I want to use FreeBSD 7.2 as a simple firewall and VPN at home. I’ve a dedicated computer to this. I’m trying to compile my FreeBSD 7.2 Kernel on my computer and I having the following problem: [...] /usr/src/sys/modules/svr4/../../compat/svr4/svr4_stat.c: In function

Re: Help logging kernel messages after failed resume

2009-05-27 Thread Mel Flynn
On Thursday 28 May 2009 00:43:56 Gonzalo Nemmi wrote: > Note: I can ssh into the notebook, then "su -" and issue "acpiconf -s > 3", but I can't get the notebook to WOL .. so .. I have to press the > power button on the notebook to get it to resume and as a consecuence, > those messages are sent to

Help logging kernel messages after failed resume

2009-05-27 Thread Gonzalo Nemmi
achine goes into suspend state and resumes_from_it_without_any_problems !! Second shot: Install ... "myhost# acpiconf -s 3" does not work anymore ... I issue a "myhost# acpiconf -s 3" and then I get a kernel message: "fwohci0: fwohci_acpi_suspend" ... The machine e

installing in a netbook, corrupted kernel on boot with unetbootin

2009-05-25 Thread Leandro Chescotta
Hi! how can i boot the installation with my netbook? i tryed a lot of isos, of 7.2, 7.1, and 6.4 with unetbootin, but when i boot them it says always CORRUPTED KERNEL IMAGE or something like that... Previously i installed arch linux and they have a ".img" usb ready image, so you only n

Re: Do not copy kernel to kernel.old

2009-05-22 Thread Steve Bertrand
R parameter. >> >> If the upgraded device does not boot (due to kernel problems), I just >> wipe it clean and start over. >> >> Having a kernel.old in this case is a waste of time and of space. Is >> there any parameter I can tell the build process to ensure that the &g

Re: Do not copy kernel to kernel.old

2009-05-22 Thread Lowell Gilbert
Steve Bertrand writes: > Many of my routers boot/run from a USB thumb stick. To upgrade these > routers, I "dd" the device onto another one, pop the backup into a build > machine, and do the normal build*/install* with a DESTDIR parameter. > > If the upgraded device doe

Do not copy kernel to kernel.old

2009-05-22 Thread Steve Bertrand
Hi all, Many of my routers boot/run from a USB thumb stick. To upgrade these routers, I "dd" the device onto another one, pop the backup into a build machine, and do the normal build*/install* with a DESTDIR parameter. If the upgraded device does not boot (due to kernel problems), I ju

Re: Kernel Panic

2009-05-22 Thread Mel Flynn
s in a panic. Here's the dump: > > dev = ad4s1f, block = 1, fs = /usr > panic: ffs_blkfree: freeing free block > cpuid: 1 > uptime: 15m47s > Physical memory: 2027 MB > Dumping 180 MB: > > Fatal Trap 12: page fault while in kernel mode > ... > > I am using the d

Kernel Panic

2009-05-21 Thread Shawn Badger
/usr panic: ffs_blkfree: freeing free block cpuid: 1 uptime: 15m47s Physical memory: 2027 MB Dumping 180 MB: Fatal Trap 12: page fault while in kernel mode ... I am using the default filesystem. Does anyone know what might cause this, and how I can fix it? Thanks,

Re: Error compiling Kernel

2009-05-17 Thread Jose Luis Alarcon Sanchez
On Sun, 17 May 2009 13:41:28 +0100 Bruce Cran wrote: > On Sun, 17 May 2009 14:15:32 +0200 > Jose Luis Alarcon Sanchez wrote: > > > -I/usr/src/sys/dev/ath /usr/src/sys/dev/ath/if_ath.c: In function > > 'ath_rx_tap': /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const > > struct ath_rx_status' has

Re: Error compiling Kernel

2009-05-17 Thread Bruce Cran
On Sun, 17 May 2009 08:46:23 -0400 Glen Barber wrote: > On Sun, May 17, 2009 at 8:41 AM, Bruce Cran wrote: > > [snip] > > > > > Try adding > > > > options AH_SUPPORT_AR5416 > > > > to your kernel configuration. > > > > Should this

Re: Error compiling Kernel

2009-05-17 Thread Glen Barber
On Sun, May 17, 2009 at 8:41 AM, Bruce Cran wrote: [snip] > > Try adding > > options AH_SUPPORT_AR5416 > > to your kernel configuration. > Should this be ATH_SUPPORT_AR5416? (Just making sure it's not a typo.) -- Glen Barber ___

Re: Error compiling Kernel

2009-05-17 Thread Bruce Cran
in /usr/src. > > > What can i do with this?. Anybody see a way for fix it?. Try adding options AH_SUPPORT_AR5416 to your kernel configuration. -- Bruce Cran ___ 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: Error compiling Kernel

2009-05-17 Thread Glen Barber
Hi, Jose On Sun, May 17, 2009 at 8:15 AM, Jose Luis Alarcon Sanchez wrote: > Hi Folks!. > > I am trying to compile the Kernel, but it stop at this point: > > When was your last c(v)sup? -- Glen Barber ___ freebsd-questions@freebsd.o

Error compiling Kernel

2009-05-17 Thread Jose Luis Alarcon Sanchez
Hi Folks!. I am trying to compile the Kernel, but it stop at this point: cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions

Re: Assign IP address and hostname via kernel parameter

2009-05-11 Thread Mister Olli
Hi, I had a short look on google for this parameters, and from my understanding the NFS diskless client is using the informations out of it to set the appropriate settings on the network interface. So no luck when supplying them as kernel parameters. Oh and btw I'm not sure how to setup k

Re: Upgrading to New Kernel - Hung on Boot

2009-05-10 Thread Boris Samorodov
t;> specifically the RELENG_7_2 tag. > > > >> I synced my sources via csup, built world, built kernel, and installed > >> kernel. All went well. I rebooted into single user mode, and the > >> kernel hung. The loader menu came up, but when the kernel starts > >> load

Re: Upgrading to New Kernel - Hung on Boot

2009-05-10 Thread APseudoUtopia
On Sun, May 10, 2009 at 8:05 AM, Boris Samorodov wrote: > On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > >> I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, >> specifically the RELENG_7_2 tag. > >> I synced my sources via csup, built wo

Re: Upgrading to New Kernel - Hung on Boot

2009-05-10 Thread Tim Judd
On Sun, May 10, 2009 at 6:05 AM, Boris Samorodov wrote: > On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > > > I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, > > specifically the RELENG_7_2 tag. > > > I synced my sources via csup

Re: Upgrading to New Kernel - Hung on Boot

2009-05-10 Thread Boris Samorodov
On Sun, 10 May 2009 00:08:42 -0400 APseudoUtopia wrote: > I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, > specifically the RELENG_7_2 tag. > I synced my sources via csup, built world, built kernel, and installed > kernel. All went well. I rebooted into sing

Upgrading to New Kernel - Hung on Boot

2009-05-09 Thread APseudoUtopia
Hey, I have a FreeBSD 7.0-RELEASE system. I'm trying to upgrade to 7.2, specifically the RELENG_7_2 tag. I synced my sources via csup, built world, built kernel, and installed kernel. All went well. I rebooted into single user mode, and the kernel hung. The loader menu came up, but whe

Re: Frozen on Boot - Kernel Hanging?

2009-05-07 Thread Mel Flynn
On Thursday 07 May 2009 23:46:54 APseudoUtopia wrote: > Hey, > > My server was fine when I went to work. When I got back, it was dead. > I had the datacenter reboot it, and it refused to boot. It just hangs > with no error message when booting. After the "Welcome to FreeBSD" > menu, it just freezes

Re: Frozen on Boot - Kernel Hanging?

2009-05-07 Thread Wojciech Puchar
My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the "Welcome to FreeBSD" menu, it just freezes up. I have no idea where to start to fix this. Any ideas? most pro

Frozen on Boot - Kernel Hanging?

2009-05-07 Thread APseudoUtopia
Hey, My server was fine when I went to work. When I got back, it was dead. I had the datacenter reboot it, and it refused to boot. It just hangs with no error message when booting. After the "Welcome to FreeBSD" menu, it just freezes up. I have no idea where to start to fix this. Any ideas? Than

Re: Assign IP address and hostname via kernel parameter

2009-05-06 Thread Bob Bishop
Hi, On 6 May 2009, at 16:20, Mister Olli wrote: is there a way to configure IP address and hostname on freebsd systems via kernel command line parameters? [etc] When running diskless, the loader sets kernel variables like: boot.netif.gateway="192.168.198.1" boot.netif.hwaddr="

Re: Assign IP address and hostname via kernel parameter

2009-05-06 Thread jt
Hi, I would take a look at sysctl this system takes care of kernel parameters. There are a few man pages that delineate what is read only. I'm sure you are aware of setting the hostname at boot time. It seemed like you were more curious about on the fly. I'm not familiar with

Assign IP address and hostname via kernel parameter

2009-05-06 Thread Mister Olli
Hi, is there a way to configure IP address and hostname on freebsd systems via kernel command line parameters? I have some freebsd systems in as xen domU's and it would be really great to be able to set the ip address & hostname within the configuration file for the domU. I'm awar

Re: kernel errors - watchdog timeout

2009-05-05 Thread Mel Flynn
On Friday 01 May 2009 16:12:50 Seur Bors wrote: > I'm constantly getting the following repeated in my /var/log/messages: > > kernel: re0: watchdog timeout > kernel: re0: link state changed to DOWN > kernel: re0: link state changed to UP > > This was happening right from

Re: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Duane
On 5/5/09, Tim Judd wrote: > Would you try enabling the IDE channels and see if the IRQ storms stop? There is joy in Mudville. I couldn't really change the IDE settings that much since there are no IDE drives in this thing. The channels are all on 'auto' and that yields a "NONE" for each of t

Re: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Tim Judd
On Mon, May 4, 2009 at 11:49 PM, Duane wrote: > On 5/4/09, Tim Judd wrote: > > > IRQ15 is typically your secondary IDE controller; but due to PCI (or > E-ISA) > > plug&play, including the PnP the BIOS may setup, lots of others can be on > > that bus too. > > This box has one SCSI card running tw

Re: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Duane
On 5/4/09, Tim Judd wrote: > IRQ15 is typically your secondary IDE controller; but due to PCI (or E-ISA) > plug&play, including the PnP the BIOS may setup, lots of others can be on > that bus too. This box has one SCSI card running two SCSI drives. The IDE's are disabled in the BIOS. But the SCS

Re: Part II: Running SMP kernel but only one cpu

2009-05-04 Thread Tim Judd
On Mon, May 4, 2009 at 6:46 PM, Duane wrote: > The bios in this old Micron dual PPro-180 full tower antique only > initializes the second CPU if the machine is cold-booted. A simple > 'reboot' results in a single processor machine regardless of the > kernel that

<    6   7   8   9   10   11   12   13   14   15   >