Re: 5.0 cron problem

2003-02-07 Thread CHOI Junho

I tried it to 5.0-RELEASE. It works with my previous crontab file.

From: Thomas Quinot [EMAIL PROTECTED]
Subject: Re: 5.0 cron problem
Date: Fri, 7 Feb 2003 11:37:42 +0100

 Right, the according to the man page inner whitespace in the unquoted
 right-hand part of an environment variable assignment should be preserved.
 Please try the following patch:
 
 Index: lib/env.c
 ===
 RCS file: /home/ncvs/src/usr.sbin/cron/lib/env.c,v
 retrieving revision 1.11
 diff -u -r1.11 env.c
 --- lib/env.c 23 May 2002 13:16:30 -  1.11
 +++ lib/env.c 7 Feb 2003 10:34:48 -
 @@ -193,14 +193,16 @@
   break;
   }
   } else {
 - if (isspace (*c)) {
 - state++;
 - c++;
 - break;
 - }
 - if (state == NAME  *c == '=') {
 - state++;
 - break;
 + if (state == NAME) {
 + if (isspace (*c)) {
 + c++;
 + state++;
 + break;
 + }
 + if (*c == '=') {
 + state++;
 + break;
 + }
   }
   }
   *str++ = *c++;
 @@ -232,9 +234,14 @@
   Set_LineNum(fileline);
   return (FALSE);
   }
 + if (state == VALUE) {
 + /* End of unquoted value: trim trailing whitespace */
 + c = val + strlen (val);
 + while (c  val  isspace (*(c - 1)))
 + *(--c) = '\0';
 + }
  
 - /* 2 fields from parser; looks like an env setting
 -  */
 + /* 2 fields from parser; looks like an env setting */
  
   if (strlen(name) + 1 + strlen(val) = MAX_ENVSTR-1)
   return (FALSE);
 
 -- 
 [EMAIL PROTECTED]

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh KFUG cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: 5.0 cron problem

2003-02-07 Thread CHOI Junho
From: CHOI Junho [EMAIL PROTECTED]
Subject: Re: 5.0 cron problem
Date: Fri, 07 Feb 2003 19:43:04 +0900 (KST)

 
 I tried it to 5.0-RELEASE. It works with my previous crontab file.
 

Oops. It doesn't solve the problem. There is no error when editing
crontab, but the variable is not substituted correctly(just blank).

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh KFUG cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: 5.0 cron problem

2003-02-07 Thread CHOI Junho

Oh sorry... I didn't restart cron :P. It works well. 'cron -x pars'
says that whitespaces is correctly parsed.

From: Thomas Quinot [EMAIL PROTECTED]
Subject: Re: 5.0 cron problem
Date: Fri, 7 Feb 2003 14:07:24 +0100

 Le 2003-02-07, CHOI Junho écrivait :
 
  Oops. It doesn't solve the problem. There is no error when editing
  crontab, but the variable is not substituted correctly(just blank).
 
 Hum, strange, it seemed to work here. Can you send me your crontab and
 the output of 'cron -x pars' ?
 
 Thomas.
 
 -- 
 [EMAIL PROTECTED]

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh KFUG cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



5.0 cron problem

2003-02-05 Thread CHOI Junho

Hi,

I updated 4.7-RELEASE-p2 to 5.0-RELEASE using source
upgrade. Everything is fine until now.

One problem is cron. I have the following crontab of root user:

--
CVSUP=/usr/local/bin/cvsup -g -L2 -h localhost
CVSUPDIR=/b/FreeBSD/cvsup

# source sync
0   */1 *   *   *   $CVSUP $CVSUPDIR/4_7-supfile  /dev/null
20  */1 *   *   *   $CVSUP $CVSUPDIR/5_0-supfile  /dev/null
40  */1 *   *   *   $CVSUP $CVSUPDIR/current-supfile  /dev/null
--

When I install this crontab:

 # crontab my-crontab
 my-crontab:0: bad minute
 crontab: errors in crontab file, can't install

0 means line number. It means variable setting doesn't work...

I used this crontab over years on 4.[4567]-RELEASE happily. What
happen to cron? I suspected updating procedure(/usr/src/UPDATING)
because my -current desktop(starting from -current snapshot a year
ago) doesn't have such problem.

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh KFUG cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: 5.0 cron problem

2003-02-05 Thread CHOI Junho

Ok, the problem solved. Thanks.

crontab(5) page of 4.7-RELEASE and 5.0-RELEASE cite the same thing
about variable assignment:

  The name string may also be placed in quote(single or double, but
  matching) to preserver leading, trailing or inner blanks.

I think the current implementation(r1.11 of env.c) is right according
to the manual. But 4-stable is still r1.7.2.1, so it'll be good to
wait until MFC...

From: Tim Robbins [EMAIL PROTECTED]
Subject: Re: 5.0 cron problem
Date: Wed, 5 Feb 2003 20:42:50 +1100

 On Wed, Feb 05, 2003 at 05:57:30PM +0900, CHOI Junho wrote:
 [...]
  --
  CVSUP=/usr/local/bin/cvsup -g -L2 -h localhost
  CVSUPDIR=/b/FreeBSD/cvsup
  
  # source sync
  0   */1 *   *   *   $CVSUP $CVSUPDIR/4_7-supfile  /dev/null
  20  */1 *   *   *   $CVSUP $CVSUPDIR/5_0-supfile  /dev/null
  40  */1 *   *   *   $CVSUP $CVSUPDIR/current-supfile  /dev/null
  --
  
  When I install this crontab:
  
   # crontab my-crontab
   my-crontab:0: bad minute
   crontab: errors in crontab file, can't install
  
  0 means line number. It means variable setting doesn't work...
  
  I used this crontab over years on 4.[4567]-RELEASE happily. What
  happen to cron? I suspected updating procedure(/usr/src/UPDATING)
  because my -current desktop(starting from -current snapshot a year
  ago) doesn't have such problem.
 
 Since revision 1.11 of src/usr.sbin/cron/lib/env.c, you need to put the
 value of the environment variable inside quotes if it contains any spaces.
 I suspect that this change of behaviour was unintentional given that the
 implementation differs from the manual page. I'll investigate and fix
 it if it's a bug. In the mean time, use something like this instead:
 CVSUP=/usr/local/bin/cvsup -g -L2 -h localhost
 
 
 Tim
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh KFUG cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: recent openssh problem

2002-12-15 Thread CHOI Junho
From: Giorgos Keramidas [EMAIL PROTECTED]
Subject: Re: recent openssh problem
Date: Fri, 13 Dec 2002 20:18:51 +0200

 On 2002-12-13 08:34, Terry Lambert [EMAIL PROTECTED] wrote:
  Daniel O'Connor wrote:
   On Fri, 2002-12-13 at 15:53, CHOI Junho wrote:
  % ssh -2 -N -f -L 9595:remote-host:25 remote-host
  bind: Can't assign requested address
   
I usually use it to forward SMTP to remote host. Is there any change to
system or openssh upgrade? Before upgrading, my -current box was built on
25 Nov. It worked silently before.
  
   Does lo0 have 127.0.0.1 as it's address?
 
  Probably not.  The recent rc.network commit brok this, and lo0
  gets no address assigned to it.
 
 Hmmm, how certain are we of this?  I just cvsup'ed and build
 everything again.  The change in rc.network looks very similar to the
 update of etc/rc.d/network1 and with rc_ng=YES in my rc.conf all
 looks fine here :-/
 
 root@gothmog[20:16]/root# ifconfig lo0
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 root@gothmog[20:16]/root# uname -v
 FreeBSD 5.0-CURRENT #1: Fri Dec 13 19:28:32 EET 2002

Yes, lo0 has no assigned address... I gave 127.0.0.1 to lo0 manually
and it works again. I am upgrading my system to see if it is fixed.

Thanks everybody,

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh  cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



recent openssh problem

2002-12-12 Thread CHOI Junho

Hi,

My simple openssh port-forwarding script doesn't work after updating my
-current notebook to today's one. (13 Dec +0900) Key part of my script is
as follows:

  % ssh -2 -N -f -L 9595:remote-host:25 remote-host
  bind: Can't assign requested address

I usually use it to forward SMTP to remote host. Is there any change to
system or openssh upgrade? Before upgrading, my -current box was built on
25 Nov. It worked silently before.

--
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Help fixing korean/byeoroo ports on -current

2002-11-23 Thread CHOI Junho

Hi all,

I am trying to fix my ports to be built on -current. Almost all
problems are gone(fix/update/etc...). But I have problem of korean/byeoroo
ports. Can somebody look at more closer?

  http://bento.freebsd.org/errorlogs/5-full/ko-byeoroo-0.0.19990605.3_1.log

The problem is that two header files have same BOOL definition. But
#define for Xmd.h and typedef for objc.h.

  /usr/X11R6/include/X11/Xmd.h:158: redefinition of `BOOL'
  /usr/include/objc/objc.h:42: `BOOL' previously declared here

What is a generally good solution for this?

And, I checked this problem in my older -current desktop(September or
October), but my current desktop doesn't have a problem(-current built
at Nov 20); BOOL conflict are showed as just warning, and build go
on. Is it the result of gcc updates? If so, don't I have to fix it?

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh  cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Help fixing korean/byeoroo ports on -current

2002-11-23 Thread CHOI Junho

Hi all,

I am trying to fix my ports to be built on -current. Almost all
problems are gone(fix/update/etc...). But I have problem of korean/byeoroo
ports. Can somebody look at more closer?

  http://bento.freebsd.org/errorlogs/5-full/ko-byeoroo-0.0.19990605.3_1.log

The problem is that two header files have same BOOL definition. But
#define for Xmd.h and typedef for objc.h.

  /usr/X11R6/include/X11/Xmd.h:158: redefinition of `BOOL'
  /usr/include/objc/objc.h:42: `BOOL' previously declared here

What is a generally good solution for this?

And, I checked this problem in my older -current desktop(September or
October), but my current desktop doesn't have a problem(-current built
at Nov 20); BOOL conflict are showed as just warning, and build go
on. Is it the result of gcc updates? If so, don't I have to fix it?

--
CHOI Junho http://www.kr.FreeBSD.org/~cjh  cjh at kr.FreeBSD.org
FreeBSD Project cjh at FreeBSD.orgWeb Data Bank cjh at wdb.co.kr
Key fingerprint = 1369 7374 A45F F41A F3C0  07E3 4A01 C020 E602 60F5

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: openoffice won't compile on -CURRENT [July 7]

2002-07-09 Thread CHOI Junho


I am in the same situation(Jul 8 -current)

From: walt [EMAIL PROTECTED]
Subject: openoffice won't compile on -CURRENT [July 7]
Date: Sun, 07 Jul 2002 16:39:37 -0700

 Is openoffice supposed to be okay on -CURRENT these days?
 
 Been two months or so since I tried compiling openoffice on -CURRENT, so
 I tried again (with USE_GCC=3.1) and got this error:
 
 /usr/local/tmp/openoffice/work/oo_1.0_src/soltools/mkdepend
 --
 Making: ../unxfbsd.pro/obj/cppsetup.obj
 gcc31 -w -c -I. -I. -I../inc -I../inc -I../unx/inc -I../unxfbsd.pro/inc 
 -I. 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/external 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solenv/unxfbsd/inc 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solenv/inc 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/res -I/usr/include 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solver/641/unxfbsd.pro/inc/dont_use_stl 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solenv/inc/Xp31 
 -I/usr/local/jdk1.3.1/include -I/usr/local/jdk1.3.1/include/freebsd 
 -I/usr/local/jdk1.3.1/include/green_threads/include -I/usr/X11R6/include 
 -I/lib/gcc-lib/i386-portbld-freebsd5.0/3.1.1/include -I/usr/include 
 -I. -I../res -I. 
 -I/usr/local/tmp/openoffice/work/oo_1.0_src/solenv/unxfbsdi/usr/include 
 -I/usr/X11R6/include -O   -pipe -fPIC  -DFREEBSD -DUNX -DVCL -DGCC 
 -DC300 -DINTEL -DCVER=C300 -D_USE_NAMESPACE -D_USE_NAMESPACE=1 -DX86 
 -DNEW_SOLAR -DSTLPORT_VERSION=400 -DOSVERSION=500037 -D_THREAD_SAFE 
 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=641 -DBUILD=7663 -DPRODUCT 
 -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE -DEXCEPTIONS_OFF -DCUI -DSOLAR_JAVA 
 -DSRC641  -DNO_X11 -DXP_PC -DHW_THREADS -DINCLUDEDIR=\.\ 
 -DSINGLETHREAD   -o ../unxfbsd.pro/obj/cppsetup.o cppsetup.c
 In file included from def.h:50,
   from cppsetup.c:29:
 /usr/include/sys/stat.h:127: sizeof applied to an incomplete type
 /usr/include/sys/stat.h:128: sizeof applied to an incomplete type
 dmake:  Error code 1, while making '../unxfbsd.pro/obj/cppsetup.obj'
 ---* TG_SLO.MK *---
 
 ERROR: Error 65280 occurred while making 
 /usr/local/tmp/openoffice/work/oo_1.0_src/soltools/mkdepend
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-ports in the body of the message

--
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: HEADSUP: UFS2 progress.

2002-05-14 Thread CHOI Junho


That's amazing news for me(and hopefully other hackers). How can I see
the details of UFS2? Is there published papers or website?

From: Poul-Henning Kamp [EMAIL PROTECTED]
Subject: HEADSUP: UFS2 progress.
Date: Tue, 14 May 2002 12:14:05 +0200

 
 We hope to commit the UFS2 patch to -current before the end of May.
 
 -- 
 Poul-Henning Kamp   | UNIX since Zilog Zeus 3.20
 [EMAIL PROTECTED] | TCP/IP since RFC 956
 FreeBSD committer   | BSD since 4.3-tahoe
 Never attribute to malice what can adequately be explained by incompetence.

--
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



/dev/ugen?

2002-02-03 Thread CHOI Junho


Hi,

How can I see/make /dev/ugen* devices? I wish to use it but I can't find
a way to see/use this. I want to use coldsync(USB serial on Palm).

My machine has USB, of course;

FreeBSD gradius.wdb.co.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Thu Dec 27
18:31:20 KST 2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GRADIUS
i386

uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xfca0-0xfcbf irq 9
at device 7.2 on pci0
usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2
uhub1: 3 ports with 3 removable, self powered

--
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /dev/ugen?

2002-02-03 Thread CHOI Junho

 KS == KT Sin [EMAIL PROTECTED] writes:

KS If you have usbd running, just hot attach the USB device (serial, etc).
KS You are probably using devfs on your -CURRENT. The correct /dev/* entries
KS will be created automagically once the hardware device is probed and attached
KS successfully.

KS kt

I have attached USB serial device(PDA cradle), and usbd is
running. What should I do more? As long as I know, devfs will create
new entry automatically but in this case I have no idea...

KS On Mon, Feb 04, 2002 at 02:47:41AM +0900, CHOI Junho wrote:
  
  Hi,
  
  How can I see/make /dev/ugen* devices? I wish to use it but I can't find
  a way to see/use this. I want to use coldsync(USB serial on Palm).
  
  My machine has USB, of course;
  
  FreeBSD gradius.wdb.co.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #16: Thu Dec 27
  18:31:20 KST 2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GRADIUS
  i386
  
  port 0xfca0-0xfcbf irq 9
  at device 7.2 on pci0
  on uhci0
  usb0: USB revision 1.0
  uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
  uhub0: 2 ports with 2 removable, self powered
  uhub1: Philips Semiconductors hub, class 9/0, rev 1.10/1.10, addr 2
  uhub1: 3 ports with 3 removable, self powered
  
  --
  Any opinions in this posting are my own and not those of my employers +++
 
 
 
  
  
  To Unsubscribe: send mail to [EMAIL PROTECTED]
  with unsubscribe freebsd-current in the body of the message


-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: vmware fails on -current

2001-11-21 Thread CHOI Junho

 HM == Hellmuth Michaelis [EMAIL PROTECTED] writes:

HM After this, vmware comes up and then complains about not able to use
HM /dev/rtc (/dev/rtc is present in /compat/linux and is kld-loaded) but
HM then continues to start up and runs.

Hmm.. I have experienced another problem(-current of 19 Nov.) with
vmware. When it runs it comes up with the following dialog:

  Encountered an error while initializing the ethernet address.
   You probably have an old vnet driver. Try installing a newer version
   Failed to configure ethernet0

vmnet1 is host-only configuration. my vmware didn't complain about
/dev/rtc... rtc-2001.09.16.1 is installed.

HM hellmuth

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: vmware fails on -current

2001-11-21 Thread CHOI Junho

 ID == Ian Dowse [EMAIL PROTECTED] writes:

ID In message [EMAIL PROTECTED], CHOI Junho writes:
 
 Hmm.. I have experienced another problem(-current of 19 Nov.) with
 vmware. When it runs it comes up with the following dialog:
 
   Encountered an error while initializing the ethernet address.
You probably have an old vnet driver. Try installing a newer version
Failed to configure ethernet0

ID Hi, could you try to get a ktrace of what it is doing just before
ID this happens? Run

ID ktrace -i vmware

ID as root (you may need to copy your ~/.vmware to ~root first). Then
ID use linux_kdump -n (/usr/ports/devel/linux_kdump) and look for
ID any ioctls that it does immediately before giving that error message.

I'll try. Oh, I forget to say I appiled des's linux_ioctl patch.

  http://people.freebsd.org/~des/software/

ID Ian

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: vmware fails on -current

2001-11-21 Thread CHOI Junho

 ID == Ian Dowse [EMAIL PROTECTED] writes:

ID In message [EMAIL PROTECTED], CHOI Junho writes:
 
 I'll try. Oh, I forget to say I appiled des's linux_ioctl patch.
 

ID Ah, that's different then. I assumed from the error that you had
ID revision 1.76 of linux_ioctl.c, but if that patch applied then you
ID don't. Try updating your sources again; revision 1.76 is des's
ID patch with a few problems fixed.

You're right. I am happy with -current(21 Nov.)!.

But, rtc device doesn't come up. There is no /dev/rtc entry...(there
is /compat/linux/dev/rtc, but I think it is not working now..) rtc
package should be updated with recent linuxulator change?

ID Ian

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



awk warning and MASTER_SORT_REGEX

2001-11-21 Thread CHOI Junho


Hi,

About two weeks ago(maybe after -current awk updates), awk warns when
I try to install any ports:

  /usr/ports/deskutils/dailystrips# make install clean
   dailystrips-1.0.20.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
  awk: cmd. line:1: warning: escape sequence `\.' treated as plain `.'

And I have the following enties in /etc/make.conf:

  MASTER_SORT_REGEX=^file: ://[^/]*\.kr/ ://[^/]*\.kr\. 
^ftp://ftp\.FreeBSD\.org/pub/FreeBSD/ports/local-distfiles/

It doesn't affect ports process(ports works well), but I think it can
be removed for cleaner output...

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



vmware2 build fails on -current today

2001-11-20 Thread CHOI Junho


Hi,

Due to recent change on pmap.[ch], vmware2 build fails... Can somebody
fix this?

I am using -current built yesterday(11/19).

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr


===  Cleaning for rpm-3.0.6_5
===  Cleaning for autoconf213-2.13.000227
===  Cleaning for automake14-1.4.5
===  Cleaning for gettext-0.10.35
===  Cleaning for gmake-3.79.1
===  Cleaning for imake-4.1.0
===  Cleaning for libtool-1.3.4_2
===  Cleaning for m4-1.4_1
===  Cleaning for popt-1.5.1
===  Cleaning for linux_base-6.1
===  Cleaning for rtc-2001.09.16.1
===  Cleaning for freetype2-2.0.5
===  Cleaning for XFree86-libraries-4.1.0
===  Cleaning for vmware2-2.0.4.1142
===  Extracting for vmware2-2.0.4.1142
 Checksum OK for VMware-2.0.4-1142.tar.gz.
 Checksum OK for vmmon-freebsd-0.98.tar.gz.
 Checksum OK for vmnet-freebsd-0.21.tar.gz.
===   vmware2-2.0.4.1142 depends on shared library: X11.6 - found
/usr/bin/tar -xf 
/usr/ports/emulators/vmware2/work/vmware-distrib/lib/modules/source/vmmon.tar -C 
/usr/ports/emulators/vmware2/work/vmware-distrib
/usr/bin/tar -xf 
/usr/ports/emulators/vmware2/work/vmware-distrib/lib/modules/source/vmnet.tar -C 
/usr/ports/emulators/vmware2/work/vmware-distrib
/usr/bin/gunzip -f 
/usr/ports/emulators/vmware2/work/vmware-distrib/man/man1/vmware.1.gz
===  Patching for vmware2-2.0.4.1142
/usr/bin/perl -i -ne 'if (m{^Index: vmnet-only/userif\.c$}..m{^Index: 
vmnet-only/vm_oui\.h$}) { next unless m{^Index: vmnet-only/vm_oui\.h$} } print' 
/usr/ports/emulators/vmware2/work/vmnet-freebsd.diff
/bin/cp -R /usr/ports/emulators/vmware2/work/vmmon-only 
/usr/ports/emulators/vmware2/work/vmware-distrib/
/usr/bin/patch -d /usr/ports/emulators/vmware2/work/vmware-distrib --forward --quiet 
-E -p0  /usr/ports/emulators/vmware2/work/vmmon-freebsd.diff
/bin/cp -R /usr/ports/emulators/vmware2/work/vmnet-only 
/usr/ports/emulators/vmware2/work/vmware-distrib/
/usr/bin/patch -d /usr/ports/emulators/vmware2/work/vmware-distrib --forward --quiet 
-E -p0  /usr/ports/emulators/vmware2/work/vmnet-freebsd.diff
===  Applying FreeBSD patches for vmware2-2.0.4.1142
cat /usr/ports/emulators/vmware2/files/kse.patch | (cd 
/usr/ports/emulators/vmware2/work/vmware-distrib  patch)  /dev/null 21
/bin/cp /usr/ports/emulators/vmware2/files/Makefile 
/usr/ports/emulators/vmware2/work/vmware-distrib
/bin/cp /usr/ports/emulators/vmware2/files/Makefile.vmmon 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/Makefile
/bin/rm -rf /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/linux/
/usr/bin/perl -i -pe 's,i386(/linux/linux_ioctl\.h),compat$1,'  
/usr/ports/emulators/vmware2/work/vmware-distrib/vmnet-only/freebsd/vmnet_linux.c
/usr/bin/perl -i -pe 's,sys/select\.h,sys/selinfo.h,'  
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/*.c
cd /usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd  
/usr/bin/touch bus_if.h device_if.h
/usr/bin/perl -i -pe 's,machine/ioctl_fd\.h,sys/fdcio.h,'  
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd/*.c  
/usr/ports/emulators/vmware2/work/vmware-distrib/vmware-distrib/vmmon-only/freebsd/*.c
Can't open 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmware-distrib/vmmon-only/freebsd/*.c:
 No such file or directory,  line 2872.
===  Configuring for vmware2-2.0.4.1142
=== vmmon-only
make -f Makefile.FreeBSD SMP=YES clean  make -f Makefile.FreeBSD SMP=YES
rm -f setdef0.c setdef1.c setdefs.h setdef0.o setdef1.o vmmon_smp.ko vmmon_smp.ko 
vmmon_smp.kld memtrack.o phystrack.o task.o vmx86.o driver.o hostif.o linux_emu.o 
vmnet_linux.o @ machine symb.tmp tmp.o
Warning: Object directory not changed from original 
/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
cc -O -pipe -march=pentiumpro -march=pentiumpro 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/../vmnet-only/freebsd/ 
-DCDEV_MAJOR_=200 -DSMP -DAPIC_IO  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -ansi -DKLD_MODULE -nostdinc -I-  
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/include 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/common 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/freebsd 
-I/usr/ports/emulators/vmware2/work/vmware-distrib/vmmon-only/export/include -I/sys 
-I/usr/ports/emulators

Re: vmware2 build fails on -current today

2001-11-20 Thread CHOI Junho

 MM == Munehiro Matsuda [EMAIL PROTECTED] writes:

MM From: CHOI Junho [EMAIL PROTECTED]
MM Date: 20 Nov 2001 17:49:47 +0900
 
 Hi,
 
 Due to recent change on pmap.[ch], vmware2 build fails... Can somebody
 fix this?
MM I don't have patch for it, but you could changed the line in hostif.c,
MM from:
MM pt_entry_t pteptr = (pt_entry_t)vtopte(addr);

MM to:
MM pt_entry_t *pteptr = vtopte(addr);

MM to get it compile.

MM Hope this helps,

That's it. Thanks!

MM Haro

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [sleeping now]http://www.kr.FreeBSD.org/~cjh
 [while sleeping] cjh @ kr.FreeBSD.ORG cjh @ FreeBSD.ORG cjh @ wdb.co.kr
 Korea FreeBSD Users Group www.kr.FreeBSD.org   Web Data Bankwww.wdb.co.kr

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: Progress report: Multilingual sysinstall for -current

2000-12-06 Thread CHOI Junho

 "TH" == Tatsumi Hosokawa [EMAIL PROTECTED] writes:

TH Multilingual sysinstall project started when FreeBSD is 2.0.5, and
TH maintained in PAO-like style, but it's very larger patch than PAO
TH (especially, it replaces almost all messages in
TH release/sysinstall/menus.c) and it makes that "keeping current" work
TH very difficult.  Almost all code of this project is written when
TH FreeBSD is 2.x, and it's in "maintainance-only" phase for years.

I am working for translating sysinstall messages, release notes and
help files to Korean for 4 years, from 2.2.1-RELEASE. I would be very
happy if it will be included in -current and RELENG_4 system.

Sometimes the release of I18N sysinstall(and former PAO) was delayed
until next release, so if we can release I18N sysinstall timely for
each release, it would help non-english users for FreeBSD very
much. No other linux or BSD distribution(except localized ones) has
such installer. It is very attractive thing for novice FreeBSD users
to install in their mother tongue, even if he can understand English.

And until libh is really working(hopefully 5.0-RELEASE?), I18N
sysinstall is a good alternative. If we have it in -current, it would
be relatively easy for debug and improve. I18N sysinstall still have a
few bugs to be fixed although Tatsumi and other some CJK developers
work.

 Finally, still many thanks and applause to Tatsumi and others
 for this work.
  
  The same from me to them too.

Me too!

TH Thank you !

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [now sleeping]http://www.kr.FreeBSD.org/~cjh
 [when sleeping][EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
 Korea FreeBSD Users Group/www.kr.FreeBSD.org  Web Data Bank/www.wdb.co.kr


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: Today -current broken on build

2000-10-01 Thread CHOI Junho

 "WL" == Warner Losh [EMAIL PROTECTED] writes:

WL this is an *UN*acceptible attitude.  CHOI-san is reporting a

-san is Japanese word, and I am Korean. Due to historical reason, most
Korean do not want to be treated as Japanese and most of them will be
angry. Please don't call me 'CHOI-san'.

Equivalent word is '-nim' in Korean online community. But it should be
after his given name, not surname. 'Junho-nim' is good, but you
don't have to always.

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [EMAIL PROTECTED] [EMAIL PROTECTED]
 KFUG http://www.kr.FreeBSD.org Web Data Bank http://www.wdb.co.kr
 FreeBSD, GNU/Linux Developer   http://people.FreeBSD.org/~cjh


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Today -current broken on build

2000-09-30 Thread CHOI Junho


I have cvsup'ed today, build stopped with the following error:

=== usr.sbin/amd/amd
...
cc -O -pipe -I/usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd -I. 
-I/usr/src/usr.sbin/amd/amd -I/usr/src/usr.sbin/amd/amd/../include 
-I/usr/src/usr.sbin/amd/amd/../../../contrib/amd/include 
-I/usr/src/usr.sbin/amd/amd/../../../contrib/amd -DHAVE_CONFIG_H   
-I/usr/obj/usr/src/i386/usr/include -c 
/usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/clock.c
/usr/src/usr.sbin/amd/amd/../../../contrib/amd/amd/clock.c:66: redefinition of `struct 
callout'
*** Error code 1

Stop in /usr/src/usr.sbin/amd/amd.
*** Error code 1


-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [EMAIL PROTECTED] [EMAIL PROTECTED]
 KFUG http://www.kr.FreeBSD.org Web Data Bank http://www.wdb.co.kr
 FreeBSD, GNU/Linux Developer   http://people.FreeBSD.org/~cjh


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: aic7xxx breaks kernel build

2000-09-17 Thread CHOI Junho

 "SK" == Steve Kargl [EMAIL PROTECTED] writes:

SK I get the following with sources cvsup'd for cvsup5.freebsd.org
SK at 10:00 pm PST on 16 Sep 00.

SK make: cannot open /usr/src/sys/dev/aic7xxx/Makefile.

Yes, me too. It seems that the file have removed after last commit on
aic7xxx drivers...

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI Junho [EMAIL PROTECTED] [EMAIL PROTECTED]
 KFUG http://www.kr.FreeBSD.org Web Data Bank http://www.wdb.co.kr
 FreeBSD, GNU/Linux Developer   http://people.FreeBSD.org/~cjh


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: ppp over pty: trying to detect CD

1999-12-12 Thread CHOI, Junho

 "JH" == Jon Hamilton [EMAIL PROTECTED] writes:

JH Running -current from this afternoon, I am having a strange
JH symptom with  ppp over a pty; ppp does not detect that the pty
JH does not support carrier, and will cycle once per second
JH waiting for CD to appear.  Putting ``set cd off'' in my
JH ppp.conf for that target fixed the problem, but I thought I'd
JH mention it nonetheless, since that didn't used to be
JH required. Certainly not all that big a deal, but I thought it
JH was worth a mention.

JH FreeBSD 4.0-CURRENT #13: Sat Dec 11 20:31:42 CST 1999

I am using 3-STABLE but I have the same problem with you. I think it
comes after adding pppoe support in pppd(after 3.3-RELEASE). I am
-STABLE user but I had to back to 3.3-RELEASE's ppp... I am using ADSL
service with pptpclient.

JH and the syslog with debugging turned on, with no "set cd" in the config:

JH Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: deflink: Using tty_Timeout 
[0x8072d44]
JH Dec 11 20:48:20 woodstock ppp[3106]: tun1: Debug: Waiting for carrier
JH Dec 11 20:48:21 woodstock ppp[3106]: tun1: Debug: deflink: Using tty_Timeout 
[0x8072d44]
JH Dec 11 20:48:21 woodstock ppp[3106]: tun1: Debug: Waiting for carrier

JH [ and on and on and on ]

-- 
 +++ Any opinions in this posting are my own and not those of my employers +++
 CHOI, Junho mailto:[EMAIL PROTECTED] http://www.kr.freebsd.org/~cjh
 - Korea FreeBSD Users Group http://www.kr.FreeBSD.org
 - Public Service, Youido Post Office  - Web Data Bank http://www.wdb.co.kr


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message