Re: PS/2 mouse problems with -CURRENT

2003-01-22 Thread Igor Roboul
On Wed, Jan 22, 2003 at 12:49:04AM -0600, Chip Norkus wrote:
> But try disabling ACPI and see if your PS/2 mouse suddenly works. ;)
As you can see from my first post
>> Same part of newer -CURRENT (I have disable ACPI, but I get same
>> result with ACPI too):
 
>> atkbdc0:  at port 0x64,0x60 on isa0
>> atkbd0:  flags 0x1 irq 1 on atkbdc0
>> kbd0 at atkbd0
>> psm0:  irq 12 on atkbdc0
>> psm0: model NetMouse/NetScroll Optical, device ID 0
first thing I have tried was disabling ACPI :-(. I'll try today (maybe
I have mistyped something).


-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: PS/2 mouse problems with -CURRENT

2003-01-21 Thread Igor Roboul
On Fri, Jan 17, 2003 at 04:27:36PM +0300, Igor Roboul wrote:
> Hello,
> does anybody have problems with PS/2 mouse attached to PC with recent
> -CURRENT?
> 
> Motherboard: MSI MS6337LE5 (i815 chipset)
> Mouse: Genius NetScroll+
Can't belive that this promlem is specific to exUSSR :-) But who knows?

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



PS/2 mouse problems with -CURRENT

2003-01-17 Thread Igor Roboul
Hello,
does anybody have problems with PS/2 mouse attached to PC with recent
-CURRENT?

Mouse is recognized by kernel and moused, but cursor is moving VERY
slow, no visible reaction to buttons etc. This happens in text mode
and in X11. When in X11, it happens when 
Option  "Device" "/dev/sysmouse"
and when 
Option  "Device" "/dev/psm0" 
with and without moused running

Part of dmesg output of older -CURRENT:

atkbdc0:  port 0x64,0x60 irq 1 on acpi0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0

Same part of newer -CURRENT (I have disable ACPI, but I get same
result with ACPI too):

atkbdc0:  at port 0x64,0x60 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model NetMouse/NetScroll Optical, device ID 0

Part of output from "moused -p /dev/psm0 -fd" on older kernel, I have
moved mouse and pressed buttons:

moused: proto params: f8 80 00 00 8 00 ff
moused: port: /dev/psm0  interface: ps/2  type: sysmouse  model:
NetMouse/NetScr
oll Optical
moused: received char 0x83
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 83,0,0,0,0,0,0,7f
moused: tv:  1042657045 835587
moused:   :  1042657044 592463
moused: flags:0001 buttons:0001 obuttons:
moused: activity : buttons 0x0001  dx 0  dy 0  dz 0
moused: mstate[0]->count:1
...

For newer kernel and moused:
moused: proto params: f8 80 00 00 8 00 ff
moused: port: /dev/psm0  interface: ps/2  type: sysmouse  model:
NetMouse/NetScroll Op
tical
moused: received char 0x83
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 83,0,0,0,0,0,0,7f
moused: tv:  1042667542 735330
moused:   :  1042667540 279868
moused: flags:0001 buttons:0001 obuttons:
moused: activity : buttons 0x0001  dx 0  dy 0  dz 0
moused: mstate[0]->count:1
moused: button 1  count 1
moused: received char 0x87
...

Of course I could not make same mouse movements :-)
I have booted newer system from  live-5.0-RC-20021213-JPSNAP.iso
Older -CURRENT is on my home PC's hard disk.

Motherboard: MSI MS6337LE5 (i815 chipset)
Mouse: Genius NetScroll+


-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: Problem with RC3

2003-01-15 Thread Igor Roboul
On Wed, Jan 15, 2003 at 01:06:01PM +0200, Danny Braniss wrote:
> when it wants to install, it asks from where, but choosing cd gives
> some error - cd not found or something.
> 
> 4.7-stable
>   acd0: CDROM  at ata1-master PIO4
Try setting CD_ROM to slave mode. I have same problem with one Sony
CD-ROM and one Acer. After setting CD-ROM to salve all works fine.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: nVidia drivers revisited

2002-12-10 Thread Igor Roboul
On Mon, Dec 09, 2002 at 12:54:00PM -0500, John Baldwin wrote:
> This just means the nvidia driver is buggy and could result in corrupted
> data and kernel crashes eventually.  However, the driver is only "buggy"
> on 5.0 because 5.0 has different locking requirements than 4.x and the
> driver was written for 4.x.  Thus, it's not nvidia's fault per se, but
> the driver does need updating before it will be safe on 5.x.
I have no problems with nvidia driver. OpenGL apps (openuniverse) work
good. No crashes, no panics.
I don't load "dri" & "drm" XFree modules. Also I use nvidia driver's
AGP support (not agp.ko).
Kernel sources from end of November. No INVARIANTS.
Intel i815 chipset.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: Any ideas at all about network problem?

2002-12-02 Thread Igor Roboul
On Mon, Dec 02, 2002 at 05:18:34PM +0300, Igor Roboul wrote:
> Maybe this is _CABLE_?
oops :-( All works fine with 4-STABLE?

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: Any ideas at all about network problem?

2002-12-02 Thread Igor Roboul
On Mon, Dec 02, 2002 at 12:55:39AM -0500, Craig Reyenga wrote:
> I just tried a 3com 3c905 NIC (my roommate's) and it _also_
> transfers slowly (about 3.5MB/sec, so just under half of what i used to
> get with my realtek in -stable). It also spit out a few messages:
Maybe this is _CABLE_?

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: 5.0-20021027-CURRENT.iso cdrom will not mount

2002-10-28 Thread Igor Roboul
On Mon, Oct 28, 2002 at 07:46:48AM -0500, John wrote:
>Abit kr7a motherboard, asus cd (plus two others which didn't
> work). This machine boots a 4.7 iso with no problems.
Is CD-ROM drive "MASTER" or "SLAVE"?

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: CD-ROM troubles on i815EP based MB

2002-10-18 Thread Igor Roboul
I have tracked external source of problem.
FreeBSD-CURRENT (at least 5.0-CURRENT-20020917-JPSNAP) could not find
CD-ROM (at least IDE Sony 52sp) if it set to "MASTER" mode. If I set
CD-ROM to "SLAVE" on both pprimary and secondary ATA controllers,
FreeBSD sees it.
I'll send dmesg of both cases later.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: CD-ROM troubles on i815EP based MB

2002-10-15 Thread Igor Roboul

On Tue, Oct 15, 2002 at 11:54:50PM -0700, Terry Lambert wrote:
> unrelated to whether or not the hardware is supported or not by
> FreeBSD.
FreeBSD boots from CD, but could not mount /  from it :-(

Also in 4.6 case, this was system upgraded from sources. But same
problem when booting from intall CD.

Yet again: system boots, sysinstall starts (in -CURRENT case), but it
could not find CD :-(.
With 4.6 system boots but without CD, both source upgraded and from
installation CD.

PS.
I'm tracking -CURRENT on various machines from March, 2000. So, I know
how system boots from CD.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



CD-ROM troubles on i815EP based MB

2002-10-15 Thread Igor Roboul

Hello.

I have trouble installing -CURRENT (and booting live snapshot) on 
MSI MS-6337LE motherboard (which uses i815EP chipset).
Kernel just can not find CD :-( This PC has Sony 52x CD-ROM
I can boot with same live CD on older VIA-chipset  based PC.

Also, I have trouble installing anything newer than 4.5-RELEASE on
this system. Kernel finds CD device, but goes big loop of
"MODE_SENSE_BIG command timeout - reseting"
Then it boots but without CD.


-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: error in ncurses in 'make buildworld'

2002-06-21 Thread Igor Roboul

On Fri, Jun 21, 2002 at 05:33:22PM +1000, Tim Robbins wrote:
> 
> What -O level did you compile libc with? Optimisation levels >= 2 damage
> __vfprintf() with the in-tree gcc, causing these same symptoms.
-O2 
> 
> The fix is to remove any optimisation options above -O, go into
> /usr/src/lib/libc, rebuild and install the static libc.a, build and install a
> static linked awk binary, then rebuild world + kernel as usual.
Thank you. I'll try this.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru


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



Re: error in ncurses in 'make buildworld'

2002-06-20 Thread Igor Roboul

On Thu, Jun 20, 2002 at 10:16:11AM -0700, David O'Brien wrote:
> > I have posted info about awk (which is nawk) incorrectly printing 
> > numbers between 10 and 15. It adds ascii '0' to value. 
> 
> This is *NOT* a fix.  nawk builds world just fine on my systems.
> Of course this leads one to wonder what is different about my systems and
> yours.
I'm trying to figure this too. Look at following program and it's output,
and please tell me what's wrong. It works as expected on -STABLE
and Linux.

#include 
#include 
#include 

int
main(int argc,char**argv)
{
double a;
int b;
char bb[100];

strcpy(bb,argv[1]);
printf("%lf\n",strtod(bb,NULL));
sscanf(bb,"%lf",&a);
printf("%lf\n",a);
sscanf(bb,"%f",&a);
printf("%f\n",a);
sscanf(bb,"%d",&b);
printf("%d\n",b);

return 0;
}

igorr@sysadm~> gcc -Wall qq.c
qq.c: In function `main':
qq.c:16: warning: float format, double arg (arg 3) <--- I have expected this
igorr@sysadm~> ./a.out 123
123.00
0.124861
0.0<4861<--- Pay attention 
123

IIRC this worked fine in preGCC3.1 world.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru


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



buildworld failed

2002-06-18 Thread Igor Roboul

Hello, 
I have got following error while building today's -CURRENT:

===> usr.bin/truss
cp
/opt/freebsd-current/src/usr.bin/truss/../../sys/kern/syscalls.master
syscall
s.master
/bin/sh
/opt/freebsd-current/src/usr.bin/truss/../../sys/kern/makesyscalls.sh
sy
scalls.master  /opt/freebsd-current/src/usr.bin/truss/i386.conf
syscalls.master: line 55: syscall number out of sync at 7
line is:
struct rusage  * rusage ) ;  }  wait4
wait_args int

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru


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



top etc.

2002-06-03 Thread Igor Roboul

Hello, 
what do you thing about following piece of /usr/bin/top output?
Pay attention on "WCPU"
  PID USERNAME PRI NICE   SIZERES STATETIME   WCPUCPU COMMAND
71398 igorr 960  4048K  2568K select   0:00  0.0<%  0.29% xterm
  385 igorr 960  9504K  5356K select   0:10  0.0<%  0.24% tkdesksh
71399 igorr 200  1572K  1128K pause0:00  0.0<%  0.10% csh
  362 root  960 56168K 46728K select   0:26  0.0<%  0.05% XFree86
68512 igorr 960 38832K 28420K select   0:20  0.%  0.00% mozilla-bin
  386 igorr 960  5440K  1876K select   0:02  0.%  0.00% mwm
  248 root  960  1088K68K select   0:02  0.%  0.00% moused

uname -a
FreeBSD sysadm.stc 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Thu May 30
16:13:28 MSD 2002
[EMAIL PROTECTED]:/opt/freebsd/obj/opt/freebsd/src/sys/SYSADM  i386


-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru


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



Re: buildworld failure

2002-05-30 Thread Igor Roboul

On Wed, May 29, 2002 at 02:18:42PM +0400, Igor Roboul wrote:
> >   make install
> > 
> > As long as your /usr/src is up to date, that should save you.
> Thank you. But now it fails on building of libncurses, with many:
> 
> lib_gen.c:504: `a0' undeclared (first use in this function)
> lib_gen.c:504: syntax error before numeric constant
> lib_gen.c:504: syntax error before numeric constant
This is problem with awk (nawk) which is used by MKlib_gen.sh
After I had removed /usr/bin/awk and then have made link /usr/bin/awk
-> /usr/bin/gawk libncurses have builded just fine

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: buildworld failure

2002-05-29 Thread Igor Roboul

On Wed, May 29, 2002 at 12:50:15AM -0700, Peter Wemm wrote:
>   make obj
>   make depend
>   make
>   make install
> 
> As long as your /usr/src is up to date, that should save you.
Thank you. But now it fails on building of libncurses, with many:

lib_gen.c:504: `a0' undeclared (first use in this function)
lib_gen.c:504: syntax error before numeric constant
lib_gen.c:504: syntax error before numeric constant
lib_gen.c: In function `mvwgetnstr':
lib_gen.c:511: `a0' undeclared (first use in this function)
lib_gen.c:511: syntax error before numeric constant

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: buildworld is broken(src/bin/sh)

2002-05-29 Thread Igor Roboul

On Mon, May 27, 2002 at 08:34:18PM +0900, MOCHIZUKI Akihide/??? wrote:

> #define TENDCASE 9
> #define TENDBQUOTE :
> #define TREDIR ;
> #define TWORD <
> #define TIF =
I think that there are problem with awk's printing of numbers.
':' is just '9'+1
so awk tries print numbers from 10 to 15 same way as it prints
numbers from 0 to 9 (by adding ascii code of '0')
 

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



buildworld failure

2002-05-28 Thread Igor Roboul

Hello, 
I have trouble building world:

--
>>> stage 2: cleaning up the object tree
--
cd /opt/freebsd/src; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=i386  MACHINE=i386  
OBJFORMAT_PATH=/usr/obj/opt/freebsd/src/i386/usr/libexec  
GROFF_BIN_PATH=/usr/obj/opt/freebsd/src/i386/usr/bin  
GROFF_FONT_PATH=/usr/obj/opt/freebsd/src/i386/usr/share/groff_font  
GROFF_TMAC_PATH=/usr/obj/opt/freebsd/src/i386/usr/share/tmac  
DESTDIR=/usr/obj/opt/freebsd/src/i386  INSTALL="sh /opt/freebsd/src/tools/install.sh"  
PATH=/usr/obj/opt/freebsd/src/i386/usr/sbin:/usr/obj/opt/freebsd/src/i386/usr/bin:/usr/obj/opt/freebsd/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 make -f Makefile.inc1 par-cleandir
===> share/info
===> include
===> include/arpa
cd: getcwd() failed: No such file or directory
*** Error code 2

Then I have done this: 
rm -fr /usr/src/*
cvsup -L 2 -g /etc/current-supfile
after downloading over 300 Mbs of sources I got same error :-(
If I repeat "make buildworld" then it fails with same error in different 
directory.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: strtod & sscanf on -CURRENT?

2002-05-26 Thread Igor Roboul

On Fri, May 24, 2002 at 12:13:37PM -0700, Alfred Perlstein wrote:
> 
> You forgot to include stdlib.h.
But what's wrong with my test? strtod works Ok but sscanf does not. 
pre-gcc3.1 sscanf and sscanf on -STABLE work as expected.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



strtod & sscanf on -CURRENT?

2002-05-24 Thread Igor Roboul

Hello, 
I have some trouble with PostgreSQL on -CURRENT:

SELECT birth_date,date_part('year',birth_date)::varchar from employee
where id=132;
 birth_date | date_part  
+
 1974-05-09 | 0.0<46113777160645
(1 row)

This works as expected on -STABLE

I have made simple test:
%cat qq.c 
#include 
main(int argc,char**argv)
{
double a;
char bb[100];

strcpy(bb,argv[1]);
printf("%lf\n",strtod(bb,NULL));
sscanf(argv[1],"%lf",&a);
printf("%lf\n",a);
}
%uname -a
FreeBSD sysadm.stc 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Mon May 20
17:34:23 MSD 2002
[EMAIL PROTECTED]:/opt/freebsd/obj/opt/freebsd/src/sys/SYSADM  i386
%./a.out 1234.3124
1234.312400
0.124862

%uname -a
FreeBSD r1.stc 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Dec 25 15:02:18
MSK 2001 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/R1  i386
%./a.out 1234.3124
1234.312400
1234.312400

Maybe I'm wrong, but I think that sscanf on -CURRENT does not work as
expected.

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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



Re: Errors in qt30 build

2002-04-24 Thread Igor Roboul

On Wed, Apr 24, 2002 at 10:58:39AM -0800, Beech Rintoul wrote:
>  from kernel/qapplication_x11.cpp:77:
> /usr/X11R6/include/X11/Xft/XftFreetype.h:34: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:37: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:41: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:54: syntax error before `;'
> /usr/X11R6/include/X11/Xft/XftFreetype.h:71: syntax error before `,'
> gmake[1]: *** [.obj/debug-mt/qapplication_x11.o] Error 1
> gmake[1]: Leaving directory 
> `/usr/ports/x11-toolkits/qt30/work/qt-copy-3.0.3/src'
> gmake: *** [sub-src] Error 2
> *** Error code 2
I had same problem, but after rebuilding freetype2 all looks good,
except that gcc hangs with internal compiler error while building arts
port

-- 
Igor Roboul, System administrator at Speech Technology Center
http://www.speechpro.com http://www.speechpro.ru

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