Re: PERC trouble?

2006-09-21 Thread Ivan Voras
Marko Lerota wrote: Paul Saab [EMAIL PROTECTED] writes: this was fixed after 6.1-RELEASE. You need to grab the driver from -stable. What does it mean? That I could run 6.1-RELEASE but have some drivers from -stable or -current? Yes if you are careful with the source, and do the patching

Minidumps in -STABLE and smaller than physical memory

2006-09-21 Thread Dmitry Pryanishnikov
Hello! I've noticed (with the 2-day old RELENG_6) that I still can't configure my 256Mb swap partition as a dump device for i386 machine with 1Gb RAM despite having minidumps enabled: [EMAIL PROTECTED] sysctl debug.minidump debug.minidump: 1 [EMAIL PROTECTED] dumpon -v /dev/ad0s3b

Re: jail: socket unavaible

2006-09-21 Thread rvenne
Dominic Marks wrote: [EMAIL PROTECTED] wrote: hi list I'm tring to make apache work inside a jail (6.1) apachctl start gives following errors no listening sockets available, shutting down here's some sysctl values on my host security.jail.allow_raw_sockets: 1 security.jail.enforce_statfs:

Re: Minidumps in -STABLE and smaller than physical memory

2006-09-21 Thread Gavin Atkinson
On Thu, 2006-09-21 at 11:44 +0300, Dmitry Pryanishnikov wrote: Hello! I've noticed (with the 2-day old RELENG_6) that I still can't configure my 256Mb swap partition as a dump device for i386 machine with 1Gb RAM despite having minidumps enabled: [EMAIL PROTECTED] sysctl debug.minidump

Re: Buckets of spam on list?

2006-09-21 Thread Oliver Fromme
This is the wrong list to discuss such things. Complaints and notices about the spam filters at freebsd.org should go to mailman@ instead of cluttering the discussion lists any further, which is almost as bad as the spam itself. Any other discussion about spam should go to [EMAIL PROTECTED]

Re: jail: socket unavaible [ being resovled...need help any way]

2006-09-21 Thread rvenne
[EMAIL PROTECTED] wrote: Dominic Marks wrote: [EMAIL PROTECTED] wrote: hi list I'm tring to make apache work inside a jail (6.1) apachctl start gives following errors no listening sockets available, shutting down here's some sysctl values on my host security.jail.allow_raw_sockets: 1

Re: Minidumps in -STABLE and smaller than physical memory

2006-09-21 Thread Ruslan Ermilov
On Thu, Sep 21, 2006 at 11:14:33AM +0100, Gavin Atkinson wrote: On Thu, 2006-09-21 at 11:44 +0300, Dmitry Pryanishnikov wrote: Hello! I've noticed (with the 2-day old RELENG_6) that I still can't configure my 256Mb swap partition as a dump device for i386 machine with 1Gb RAM

wifi and battery

2006-09-21 Thread Zoran Kolic
Hi all! For month or two I have strange bihaveour on laptop. 6.1 release, pcmcia card with ral chip on it and battery 2 years old. Using wpa_supplicant, I get connection to router, dhclient helps for ip address. Then connection drops, goes up again, drops. After some tweaking with channels and an-

Unable to generate random numbers?

2006-09-21 Thread Krassimir Slavchev
Hello, When I try to generate random bytes using rand() or random() functions I found that these functions return constant values!? I am running: FreeBSD krassi 6.1-STABLE FreeBSD 6.1-STABLE #13: Tue Jul 11 13:41:31 EEST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MyKernel i386

Re: Unable to generate random numbers?

2006-09-21 Thread Lowell Gilbert
Krassimir Slavchev [EMAIL PROTECTED] writes: When I try to generate random bytes using rand() or random() functions I found that these functions return constant values!? Show your code (preferably a minimal, compilable, example); chances are that you are not initializing the state properly

Re: Unable to generate random numbers?

2006-09-21 Thread Robert Watson
On Thu, 21 Sep 2006, Krassimir Slavchev wrote: When I try to generate random bytes using rand() or random() functions I found that these functions return constant values!? Sounds pretty odd -- even if not explicitly seeded, you should be getting something pseudo-random, even if what you get

Re: Unable to generate random numbers?

2006-09-21 Thread Krassimir Slavchev
Hmm, I missed to call srandomdev() before random(). Thanks for response Robert Watson wrote: On Thu, 21 Sep 2006, Krassimir Slavchev wrote: When I try to generate random bytes using rand() or random() functions I found that these functions return constant values!? Sounds pretty odd --

Re: Minidumps in -STABLE and smaller than physical memory

2006-09-21 Thread Peter Holm
On Thu, Sep 21, 2006 at 05:15:47PM +0400, Ruslan Ermilov wrote: On Thu, Sep 21, 2006 at 11:14:33AM +0100, Gavin Atkinson wrote: On Thu, 2006-09-21 at 11:44 +0300, Dmitry Pryanishnikov wrote: Hello! I've noticed (with the 2-day old RELENG_6) that I still can't configure my

Strange spaces in ls -kls output, and dd(1) trouble

2006-09-21 Thread Oliver Fromme
Hi, I'm running 6.2-PRERELEASE of yesterday. While watching a process writing into a sparse file, I noticed that some- times a space appears at the left to the block count in the ls -ls output, and sometimes it doesn't: Repeated execution of ls -kls pluto.img gives: 4880 -rw-r--r-- 1 root

RELENG_6 does not compile

2006-09-21 Thread martinko
hello list, i've just pulled the releng_6 sources and run make -j4 buildworld as usual and this i've got: === gnu/usr.bin/texinfo/doc (all) makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I /usr/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc

Re: RELENG_6 does not compile

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 08:00:40PM +0200, martinko wrote: hello list, i've just pulled the releng_6 sources and run make -j4 buildworld as usual and this i've got: === gnu/usr.bin/texinfo/doc (all) makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I

Partitions???

2006-09-21 Thread xnow xsnow
First I'd like to know if there's a faster way to resize partitions than using GParted livecd, and no i am not supposed to pay, also, why freebsd has no resizer in its installation? Second I'd like to add new systems to fbsd boot manager, i've been told to read man page of boot0cfg but didn't

Re: RELENG_6 does not compile

2006-09-21 Thread Andrew J. Caines
martinko, Do you have NO_INFO set in make.conf? My RELENG_6 boxes, which all have NO_INFO, also fail consistently at this stage of the build. My aborted efforts to find the cause (ie. why texinfo was being built at all), including building without the -j 4 or _any_ make.conf or compiler

Re: RELENG_6 does not compile

2006-09-21 Thread martinko
Kris Kennaway wrote: On Thu, Sep 21, 2006 at 08:00:40PM +0200, martinko wrote: hello list, i've just pulled the releng_6 sources and run make -j4 buildworld as usual and this i've got: === gnu/usr.bin/texinfo/doc (all) makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I

Re: RELENG_6 does not compile

2006-09-21 Thread Ruslan Ermilov
On Thu, Sep 21, 2006 at 08:00:40PM +0200, martinko wrote: hello list, i've just pulled the releng_6 sources and run make -j4 buildworld as usual and this i've got: === gnu/usr.bin/texinfo/doc (all) makeinfo --no-split -I /usr/src/gnu/usr.bin/texinfo/doc -I

Re: Kernel panic on boot (how to debug?)

2006-09-21 Thread Benjamin Lutz
Hello, I just updated to FreeBSD 6.2-PRERELEASE/amd64 as of 2 hours ago. I'm seeing the same behaviour with both the panic and the weird device name. By sheer luck I figured out how to get into DDB though :), so I can now provide a backtrace. Fatal trap 18: integer divide fault while in

Patch: sym(4) VTOBUS FAILED panics on amd64, amd64/89550

2006-09-21 Thread Jan Mikkelsen
Hi, I posted this to freebsd-amd64, but I've had no replies. This fixes the sym VTOBUS FAILED panics that I got consistently on 6.1-RELEASE/amd64; see the PR amd64/89550 for dmesg, other reports, etc. Quick summary: sym(4) assumes on amd64 that virtual addresses provided by bus_dmamem_alloc()

Re: RELENG_6 does not compile

2006-09-21 Thread martinko
Kris Kennaway wrote: That doesn't provide any information since you used -j4. When posting errors from buildworld, you need to run without -j, or log the entire buildworld output and then figure out where the actual error occurred (may be thousands of lines from the end). Kris here it

Re: RELENG_6 does not compile

2006-09-21 Thread Kris Kennaway
On Fri, Sep 22, 2006 at 02:40:24AM +0200, martinko wrote: Kris Kennaway wrote: That doesn't provide any information since you used -j4. When posting errors from buildworld, you need to run without -j, or log the entire buildworld output and then figure out where the actual error

Re: RELENG_6 does not compile

2006-09-21 Thread martinko
Andrew J. Caines wrote: martinko, Do you have NO_INFO set in make.conf? My RELENG_6 boxes, which all have NO_INFO, also fail consistently at this stage of the build. My aborted efforts to find the cause (ie. why texinfo was being built at all), including building without the -j 4 or

Re: Problems with auditd -- resolved

2006-09-21 Thread Joerg Pernfuss
On Sun, 17 Sep 2006 09:19:03 +0100 (BST) Robert Watson [EMAIL PROTECTED] wrote: Dear all, I've just comitted a fix to syscalls.master and regenerated the remaining system call files, which should correct the auditctl: Invalid Argument error being returned by auditd. In short order, this

Re: RELENG_6 does not compile

2006-09-21 Thread martinko
Ruslan Ermilov wrote: On Thu, Sep 21, 2006 at 08:00:40PM +0200, martinko wrote: hello list, i've just pulled the releng_6 sources and run make -j4 buildworld as usual and this i've got: [...] I'm generally interested in fixing -jX build failures. I'd need at least the following info:

Re: RELENG_6 does not compile

2006-09-21 Thread martinko
Kris Kennaway wrote: On Fri, Sep 22, 2006 at 02:40:24AM +0200, martinko wrote: Kris Kennaway wrote: That doesn't provide any information since you used -j4. When posting errors from buildworld, you need to run without -j, or log the entire buildworld output and then figure out where the

Re: RELENG_6 does not compile

2006-09-21 Thread Kris Kennaway
On Fri, Sep 22, 2006 at 02:59:53AM +0200, martinko wrote: Kris Kennaway wrote: On Fri, Sep 22, 2006 at 02:40:24AM +0200, martinko wrote: Kris Kennaway wrote: That doesn't provide any information since you used -j4. When posting errors from buildworld, you need to run without -j, or log

Re: RELENG_6 does not compile

2006-09-21 Thread Kris Kennaway
On Thu, Sep 21, 2006 at 09:05:54PM -0400, Kris Kennaway wrote: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Chances are you

Re: RELENG_6 does not compile

2006-09-21 Thread Joerg Pernfuss
On Fri, 22 Sep 2006 02:59:53 +0200 martinko [EMAIL PROTECTED] wrote: internal compiler error: Segmentation fault: 11 Please submit a full bug report, with preprocessed source if appropriate. See URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1 Chances are you

Re: Patch: sym(4) VTOBUS FAILED panics on amd64, amd64/89550

2006-09-21 Thread Doug White
On Fri, 22 Sep 2006, Jan Mikkelsen wrote: Quick summary: sym(4) assumes on amd64 that virtual addresses provided by bus_dmamem_alloc() have the same alignment as the physical addresses (in this case, 2*PAGE_SIZE). They don't, and stuff breaks. This patch works around that. Why is this?

Re: sed and comma-delimited file

2006-09-21 Thread Matt Emmerton
On Tue, September 19, 2006 9:26 am, SigmaX asdf wrote: I have a series of comma-delimited text files with fourteen columns of data and several hundred rows. I want to use a short shell script to strip them of the last 9 columns, leaving the same file but with just five of its columns. I

Change in ataraid (geometry?) between RELENG_5 and RELENG_6?

2006-09-21 Thread Andrew Reilly
Hi, I just tried to do an in-place upgrade from RELENG_5 to RELENG_6 on a system that was running an ataraid mirror on a pair of SATA disks. The root file system (256M) mounted fine, but fsck -p fails (unable to find a superblock, from memory) under the new kernel on my /usr partition, which is

RE: Patch: sym(4) VTOBUS FAILED panics on amd64, amd64/89550

2006-09-21 Thread Jan Mikkelsen
Hi, Doug White wrote: On Fri, 22 Sep 2006, Jan Mikkelsen wrote: Quick summary: sym(4) assumes on amd64 that virtual addresses provided by bus_dmamem_alloc() have the same alignment as the physical addresses (in this case, 2*PAGE_SIZE). They don't, and stuff breaks. This patch

Re: Patch: sym(4) VTOBUS FAILED panics on amd64, amd64/89550

2006-09-21 Thread Scott Long
Jan Mikkelsen wrote: Hi, Doug White wrote: On Fri, 22 Sep 2006, Jan Mikkelsen wrote: Quick summary: sym(4) assumes on amd64 that virtual addresses provided by bus_dmamem_alloc() have the same alignment as the physical addresses (in this case, 2*PAGE_SIZE). They don't, and stuff

Re: Change in ataraid (geometry?) between RELENG_5 and RELENG_6?

2006-09-21 Thread Norberto Meijome
On Fri, 22 Sep 2006 13:50:01 +1000 Andrew Reilly [EMAIL PROTECTED] wrote: I just tried to do an in-place upgrade from RELENG_5 to RELENG_6 on a system that was running an ataraid mirror on a pair of SATA disks. The root file system (256M) mounted fine, but fsck -p fails (unable to find a

Re: sed and comma-delimited file

2006-09-21 Thread Freddie Cash
On Tue, September 19, 2006 4:49 pm, Matt Emmerton wrote: On Tue, September 19, 2006 9:26 am, SigmaX asdf wrote: I have a series of comma-delimited text files with fourteen columns of data and several hundred rows. I want to use a short shell script to strip them of the last 9 columns, leaving

Re: sed and comma-delimited file

2006-09-21 Thread Freddie Cash
On Tue, September 19, 2006 4:49 pm, Matt Emmerton wrote: On Tue, September 19, 2006 9:26 am, SigmaX asdf wrote: I have a series of comma-delimited text files with fourteen columns of data and several hundred rows. I want to use a short shell script to strip them of the last 9 columns, leaving

Re: Change in ataraid (geometry?) between RELENG_5 and RELENG_6?

2006-09-21 Thread Andrew Reilly
On Fri, Sep 22, 2006 at 03:06:58PM +1000, Norberto Meijome wrote: On Fri, 22 Sep 2006 13:50:01 +1000 Andrew Reilly [EMAIL PROTECTED] wrote: I just tried to do an in-place upgrade from RELENG_5 to RELENG_6 on a system that was running an ataraid mirror on a pair of SATA disks. The root