mysql-4.0.18 build problem in FreeBSD-5.2-CURRENT

2004-03-11 Thread Ganbold
Hi all, Today I wanted to upgrade mysql-4.0.17 to mysql-4.0.18 in FreeBSD-5.2-CURRENT and got error below. I did updated FreeBSD on March 3 2004 using cvsup. I used following options to compile mysql from ports collection: make WITH_CHARSET=cp1251 WITH_LINUXTHREADS=yes BUILD_STATIC=yes install

RE: Intel i8xx watchdog driver

2004-03-11 Thread Mike Tancsa
Thanks, thats great news. Perhaps even as a port would do the trick. ---Mike At 08:07 PM 11/03/2004, Wm. Daryl Hawkins wrote: I would love to incorporate it in both source trees if possible. Before it goes into current, I need to make some changes so that it will work with Poul-Henning

diff included in commit mail

2004-03-11 Thread Mark Santcroos
Hi, I know it was discussed once somewhere, but I can't find the thread in question. What I would like to be able to do is see the actual commit included in the mail. I know it can't be done at the moment the message arrives, as that is before it arrives in my cvs tree. On my machine I have the

RE: Intel i8xx watchdog driver

2004-03-11 Thread Wm. Daryl Hawkins
I would love to incorporate it in both source trees if possible. Before it goes into current, I need to make some changes so that it will work with Poul-Henning Kamp's new watchdog driver model. Hopefully, I'll get to work on that some tomorrow. I'll release a new version for current as soon as

inetd needs "discard" service in /etc/services

2004-03-11 Thread Brooks Davis
While updating my diskless setup, I was trying to determine the minimal set of entries required in /etc/services in addition to a NIS "+" line to get a system to boot cleanly. I discovered that inetd depends on the existence of the discard service. The dependency is due to the fact that getaddrin

Re: make install (kernel) without /modules dir

2004-03-11 Thread Roman Kurakin
I forget to say that this problem is for 4. branch Roman Kurakin wrote: Hi, It seems that I've found another problem. If /modules dir would be removed, make install (of kernel and kernel modules) will not create modules dir and you'll get /modules file with one of the modules inside. One o

make install (kernel) without /modules dir

2004-03-11 Thread Roman Kurakin
Hi, It seems that I've found another problem. If /modules dir would be removed, make install (of kernel and kernel modules) will not create modules dir and you'll get /modules file with one of the modules inside. One of the variants is to add flag -d to install or other to mkdir -p explicit

Re: Strange behaviour in assembly language program

2004-03-11 Thread ari
[EMAIL PROTECTED] said this stuff: > This code works to return 0x57: 31 c0 40 6a 57 50 cd 80 > But that needs 8 bytes! Can't it be shortened? > I noticed that some registers contain zero on program startup. Can I safely > assume they are always initialized to zero and just leave that 31 c0 out?

Re: i386/identcpu.c question

2004-03-11 Thread John Baldwin
On Wednesday 10 March 2004 10:51 pm, RMH wrote: > Hello hackers, > > there are several lines in i386/identcpu.c: > > case 0x600: > /* Check the particular flavor of 686 */ > switch (cpu_id & 0xf0) { > case 0x00: > strcat(cpu_model, "Pentium Pro A-step"); >

Re: off topic - disk crash

2004-03-11 Thread Marcus Beaman
You could also use dd with the bs/count operands to skip the bad blocks, but this will probably be much more frustrating that the conv operand. Another option (that is slower than dd but less stressful on the failing drive) I've used are the dump/restore utilities. I have the specific commands fo

Re: Using Kernel level mutex in FreeBSD 4.8

2004-03-11 Thread Artis Caune
afaik 4.x use spl(9) int s; s = splimp(); ... critical code ... splx(s); On Thu, 11 Mar 2004 05:33:02 -0800 (PST), jitendra pande <[EMAIL PROTECTED]> wrote: Hi, I am trying to use kernle level mutex in my driver for FreeBSD 4.8. I tried searching for kernel level mutex but couldn't find a

Re: Strange behaviour in assembly language program

2004-03-11 Thread Chris Doherty
On Wed, Mar 03, 2004 at 08:12:28PM +, Daniela said: > This code works to return 0x57: 31 c0 40 6a 57 50 cd 80 > But that needs 8 bytes! Can't it be shortened? this may not help you, and was done on Linux, but is an excellent read if you haven't seen it (actually it's fun to read even if you

Re: off topic - disk crash

2004-03-11 Thread Dan Nelson
In the last episode (Mar 11), Daniel Lang said: > C. Kukulies wrote on Wed, Mar 10, 2004 at 06:36:52PM +0100: > [..] > > The disk boots into FreeBSD but already at power on time the disk > > does seek retries or some recalibration noise. > > > > The question is what else can I do to recover the da

Re: HDD problem research (was HDD questions)

2004-03-11 Thread Roman Kurakin
Thanks. This weekend I'll try last version from 4.x branch, and early versions of 5.x branch may be this would help me to find 10 diffs :-))) Best regards, Roman Kurakin [EMAIL PROTECTED] wrote: Does any body have Segate drive ST380021A working with FreeBSD? I do. F

Re: HEADSUP!!! USB MFC committed..

2004-03-11 Thread Julian Elischer
On Fri, 12 Mar 2004, Shunsuke Akiyama wrote: > At Wed, 10 Mar 2004 22:18:05 +0900, > Shunsuke Akiyama wrote: > > > At Mon, 8 Mar 2004 01:38:07 +0900, > > Yoshihiko Sarumaru wrote: > > > > > I report you about a USB problem that would be occur with my > > > laptop after you MFC'ed USB stuff. >

Re: Error when making installworld : SOLVED

2004-03-11 Thread Andrew J Caines
Ganbold said... > I added group authpf and everything worked well. Isn't this exactly the kind of thing which "mergemaster -p" is supposed to pick up? -Andrew- -- ___ | -Andrew J. Caines- Unix Systems Engineer [EMAIL PROTE

Re: HEADSUP!!! USB MFC committed..

2004-03-11 Thread Shunsuke Akiyama
At Wed, 10 Mar 2004 22:18:05 +0900, Shunsuke Akiyama wrote: > At Mon, 8 Mar 2004 01:38:07 +0900, > Yoshihiko Sarumaru wrote: > > > I report you about a USB problem that would be occur with my > > laptop after you MFC'ed USB stuff. > > > > With GENERIC kernel, it is fine and there are no changes

Re: FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Daniel Lang
Dear Colin, Colin Percival wrote on Thu, Mar 11, 2004 at 03:22:12PM +: > >Given: -STABLE box with an extra disk. > > > >[snip] > > > >Maybe someone has already done such a thing? > > My depenguinator is useful for this purpose; it creates a > disk image, which you can write to your second d

Re: FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Colin Percival
At 10:19 11/03/2004, Daniel Lang wrote: I'd like to try some sort of "Live Upgrade". Given: -STABLE box with an extra disk. [snip] Maybe someone has already done such a thing? My depenguinator is useful for this purpose; it creates a disk image, which you can write to your second drive, which

Re: off topic - disk crash

2004-03-11 Thread Daniel Lang
Hi, C. Kukulies wrote on Wed, Mar 10, 2004 at 06:36:52PM +0100: [..] > The disk boots into FreeBSD but already at power on time the disk does > seek retries or some recalibration noise. > > The question is what else can I do to recover the data. > Put it in the icebox? Turn the computer upside do

Re: 5.2 / 5.2.1 Highpoint 374 RAID 5 driver support

2004-03-11 Thread Søren Schmidt
Steven Hartland wrote: I'm looking to get the 374 working with 5.2 / 5.2.1 does anyone have any info on this. Highpoint have a driver for all the old version but no source / 5.2 download. Can we get the source or is their an alternative. The HPT374 has been supported for quite some time (it even i

i386/identcpu.c question

2004-03-11 Thread RMH
Hello hackers, there are several lines in i386/identcpu.c: case 0x600: /* Check the particular flavor of 686 */ switch (cpu_id & 0xf0) { case 0x00: strcat(cpu_model, "Pentium Pro A-step"); break; case 0x10: strcat(cp

off topic - disk crash

2004-03-11 Thread C. Kukulies
Today an important (no backup of course) 46 GB IBM Deskstar IDE disk crashed. It has a FreeBSD 4.8 on it with important data and programs. Yes, shame on me that I didn't care about doing backups on it but it has happened. I evend tend to expend the bucks to get it recovered but a little prediagnos

Re: Fw: 5.2 / 5.2.1 Highpoint 374 RAID 5 driver support

2004-03-11 Thread Robert Eckardt
On Wed, 10 Mar 2004 13:49:39 -, Steven Hartland wrote > I'm looking to get the 374 working with 5.2 / 5.2.1 does anyone have > any info on this. Highpoint have a driver for all the old version but > no source / 5.2 download. Can we get the source or is their an > alternative. > >Steve Hi

Using Kernel level mutex in FreeBSD 4.8

2004-03-11 Thread jitendra pande
Hi, I am trying to use kernle level mutex in my driver for FreeBSD 4.8. I tried searching for kernel level mutex but couldn't find any information on the same. The kernel level mutex functions mtx_lock(..), mutex(..), mtx_init(..) and other mtx_ functions are available from FreeBSD 5.0 onwar

Re: complete in src tree build world w/o /usr/include/** ?

2004-03-11 Thread Ruslan Ermilov
On Thu, Mar 11, 2004 at 09:52:41AM +, Bjoern A. Zeeb wrote: > Hi, > > I once again ran into the problem that a buildworld didn't succeed as > unpriv. user without populating some headers to the base system before. > > But I do not want to populate headers that do not match my installed > syst

FreeBSD "Live Upgrade" best practice?

2004-03-11 Thread Daniel Lang
Hi, I'd like to try some sort of "Live Upgrade". Given: -STABLE box with an extra disk. Intended procedure: - Install 5.2.1-RELEASE (given it works on that box) on the extra disk - Adapt configuration from -STABLE - shutdown - change -STABLE disk with 5.2.1 disk - boot and run 5.2.1 - option

complete in src tree build world w/o /usr/include/** ?

2004-03-11 Thread Bjoern A. Zeeb
Hi, I once again ran into the problem that a buildworld didn't succeed as unpriv. user without populating some headers to the base system before. But I do not want to populate headers that do not match my installed system on that machine if I am building for another one. This leads to inconsisten