Re: buildworld problem

2012-05-19 Thread Andriy Babiy
  FreeBSD myhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 23
  20:00:59 PDT 2012 root@myhost:/usr/obj/usr/src/sys/GENERIC
  amd64
 
  root#cd /usr/obj
  root#chflags -R noschg *
  root#rm -rf *
  root#make buildworld
  ...
  cd /usr/src; MACHINE=i386 MACHINE_ARCH=i386  MACHINE_CPU=i686 mmx
  sse sse2  LD=ld -m elf_i386_fbsd -Y
  P,/usr/obj/usr/src/lib32/usr/lib32 AS=as --32
  MAKEOBJDIRPREFIX=/usr/obj/lib32
 
  I may be going over my head on this one:-)
  However to my understanding it seems,  it is trying to build 32
 bit on a amd 64bit install?
 

Since 7.0 I upgraded this machine via buildworld. It was always amd64.
As you see in uname output, I upgraded it from 8.X to 9.0 with no
problem. Time/date is in sync. I don't see any problems in the system I
am running, but I got latest code changes for SSL and wanted to do as
usual per instructions. On i386 machine everything worked fine, and I
don't suspect the code changes are causing it; there must be something
simple I miss.
In make.conf I have CPUTYPE=nocona and perl version, and obviously
clang related definitions.
In the error above I see -DCOMPAT_32 string which might be the case for
building 32 compatibility libraries for amd64, but it still doesn't
explain what fails and why.
Any ideas?
Thank you.
___
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


buildworld problem

2012-05-18 Thread Andriy Babiy
Hi list:

root#uname -a
FreeBSD myhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 23 20:00:59
PDT 2012 root@myhost:/usr/obj/usr/src/sys/GENERIC  amd64

root#cd /usr/obj
root#chflags -R noschg *
root#rm -rf *
root#make buildworld
...
cd /usr/src; MACHINE=i386 MACHINE_ARCH=i386  MACHINE_CPU=i686 mmx sse
sse2  LD=ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32
AS=as --32 MAKEOBJDIRPREFIX=/usr/obj/lib32
_SHLIBDIRPREFIX=/usr/obj/usr/src/lib32  VERSION=FreeBSD 9.0-RELEASE
amd64 900044  INSTALL=sh /usr/src/tools/install.sh
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:
/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:
/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:
/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
CC=cc -m32 -march=nocona -mfancy-math-387 -DCOMPAT_32BIT
-isystem /usr/obj/usr/src/lib32/usr/include/
-L/usr/obj/usr/src/lib32/usr/lib32
-B/usr/obj/usr/src/lib32/usr/lib32  CXX=c++ -m32 -march=nocona
-mfancy-math-387 -DCOMPAT_32BIT
-isystem /usr/obj/usr/src/lib32/usr/include/
-L/usr/obj/usr/src/lib32/usr/lib32
-B/usr/obj/usr/src/lib32/usr/lib32  LIBDIR=/usr/lib32
SHLIBDIR=/usr/lib32 make -DNO_CPU_CFLAGS -DCOMPAT_32BIT  -DWITHOUT_BIND
-DWITHOUT_MAN -DWITHOUT_INFO  -DWITHOUT_HTML -DNO_CTF -DNO_LINT
DESTDIR=/usr/obj/usr/src/lib32 -f Makefile.inc1 par-cleandir
Makefile.inc1, line 160: CPUTYPE global should be set with ?=. ***
Error code 1 1 error *** Error code 2 1 error

What might cause this error? Probably I'm missing something obvious.
Thank you.
___
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: MPlayer does not compile (actually gio-fam-backend does not)

2008-03-25 Thread Andriy Babiy
 I'm trying to compile MPlayer but it just doesn't work because it
 depends on gio-fam-backend and that does not compile. It always stops
 with:
 /usr/bin/ld: cannot find -lgio-2.0
 gmake: *** [libgiofam.la] Error 1
 *** Error code 2
 
 Stop in /usr/ports/devel/gio-fam-backend.
 *** Error code 1
 
 Any ideas what I can do?
 
 Niels

What does the output of uname and objformat look like?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what happened to linuxflashplugin?

2008-02-13 Thread Andriy Babiy
 Let me be the one to point out the (next) controversial thing: 
 here's a 
 perfect example why using linux binaries for stuff like this is 
 a dead end.
 
 And don't even start about the PC-BSD folks who want to make 
 flash9 work 
 via WINE.
 
 We need a native flash or a replacement for the animation side, 
 and where 
 flash is merely used as a video container, we have not option 
 but to use 
 youitube-dl, miro, and the like. But there too, some native 
 solution is 
 needed, otherwise it will continue to work like crap if at all.

Personally, I tried both gnash and swfdec. It was several months ago.
They worked just fine on some sites, silently didn't work on other sites.
But the problem was that sometimes I saw another behaviour: after
opening a webpage I couldn't interact with the computer at all. Mouse
was moving on the screen, but nothing could be done either by mouse
or keyboard. Actually, the only button working on the computer was
power off on the front panel of the computer, next to reset... So, I felt
browsing the internet just like a miner game: if you catch the wrong
site, you need to reboot. I can't afford that, so I removed them and
installed back the linux flash player. I'm not sure what exactly caused
the problem - flash itself, or something between flash and KDE;
I would be able to live with that if native flash didn't hang the computer,
if it just didn't work silently. Have you tried native solutions recently?

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: what happened to linuxflashplugin?

2008-02-13 Thread Andriy Babiy
  Hah! Good luck... I never got it work either, There are 
 wrappers all
  other barriers to stop you. And even then it may only work
  intermittently. Correct me if I'm wrong guys
 
 I hear you. I have used both Firefox and Opera and have never gotten
 flash to work as easily and consistently as it does under 
 Windows. When
 the added burden of having to use wrappers, etc, it is just not worth
 the hassle. I have seen references to system linking files to make
 flash work; however, I have better things to do than invest huge
 amounts of time attempting to get something to work when it is already
 technologically possible to do so without all that individual
 intervention.
 
 It does seem rather ironic that we claim that FreeBSD is a 
 superior OS
 to Microsoft's Windows; however, we are unable to get even a 
 common web
 add-on like flash to work reliably, consistently. Finger 
 pointing does
 not alleviate the situation.

About a month ago I installed it from ports along with firefox, and it was 
nothing more than described in the handbook. The only thing - I used 
nspluginwrapper instead of linuxpluginwrapper.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help how to set up networking for ftp install

2007-11-16 Thread Andriy Babiy
 I am trying to install freebsd over ftp but it always
 says, cannot resolve ftp.freebsd.org
 
 I told it to use dchp but it didnt do anything even
 though my router's dhcp server was on. it kept on
 saying
 
 dhcpdiscover on dc0 to 255.255.255.255 port 67
 interval ..

Have you tried to unplug your modem from the power for 1 minute? Usually, this 
is an advise you'll get from Shaw support. And usually, it really helps.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Getting errors writing large iso image to DVD (bug in atapi driver?)

2007-11-01 Thread Andriy Babiy
- Original Message -
From: Yuri [EMAIL PROTECTED]
Date: Wednesday, October 31, 2007 11:05
Subject: Getting errors writing large iso image to DVD (bug in atapi driver?)
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]

 I am trying to write iso image to blank DVD-R.
 Every time I try (with a new blank disk of course) I get this error:
 
  4534108160/4691437568 (96.6%) @15.8x, remaining 0:10 RBU 
 100.0% UBU  53.1%
  :-[ [EMAIL PROTECTED] failed with SK=3h/ASC=0Ch/ACQ=00h]: 
 Input/output error
  :-( write failed: Input/output error
  /dev/pass0: flushing cache
  /dev/pass0: updating RMA
  /dev/pass0: closing disc
 
 And dmesg says:
 g_vfs_done():acd0[READ(offset=4290936832, length=65536)]error = 5
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05
 g_vfs_done():acd0[READ(offset=4290936832, length=4096)]error = 5
 acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05
 g_vfs_done():acd0[READ(offset=4290940928, length=65536)]error = 5
 
 ISO file is very large, almost at the limit: 4691437568 bytes. 
 (limit is
 47+tiny bit).
 I use command 'growisofs -dvd-compat -speed=16 -Z 
 /dev/cd0=my.iso' to write.
 And my burner is brand new PIONEER DVD-RW DVR-112D 1.21. Burned 
 only 5-6 DVDs yet.
 
 Why would is such error be reproducible?
 I vaguely remember that my old writer (Sony) had similar problem 
 and particular
 large iso images were reproducibly failing with the similar message.
 
 Does this suggest that ATAPI driver has some bug?
 
 Thanks,
 Yuri
 
 FreeBSD xxx.xxx.xxx 6.2-STABLE FreeBSD 6.2-STABLE #9: Tue 
 Oct  2 01:27:22 PDT
 2007 
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

Just a question: do both DVD disks and DVD writer have a maximum speed limit 
x16?
I am asking because I experienced similar problem on TDK disks; in my case the 
speed limit was x8. The writer managed to successfully write some disks while 
failing on others. After I have limited speed to x4, all the disks were written 
successfully. It looks like when I go maximum, the disk quality is in question. 
Have you tried setting the speed limit below the maximum?

HTH,
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flash drive question -- can it be incompatible with FreeBSD

2007-10-19 Thread Andriy Babiy
Hi everybody,

While looking for a new USB flash drive, I found that some of them come with:
- U3 feature
- ReadyBoost feature
- security software, either pre-installed or zipped on the drive
- hardware data encryption
Some of them need partitioning/formatting.

My question is: is there anything that would prevent me from using such drives 
on FreeBSD machine?
Google shows that U3 can be uninstalled. What about other features?

Thank you in advance.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


java plugin in Firefox

2007-10-15 Thread Andriy Babiy
Hi everybody,

Following the instructions from the Handbook, I tried to set up the Java 
plug-in in Firefox. After the JRE has been successfully installed, the plug-in 
didn't appear in the browser. While trying to add the link per instructions, I 
found that there's no such a file libjavaplugin_oji.so; the path 
/usr/local/diablo-jre1.5.0/plugin/amd64/ns7 doesn't exist either. There's a 
/usr/local/diablo-jre1.5.0 with bin, lib and man directories and lots of 
files in there, but there's no plugin directory. The installation of the 
plug-in doesn't look to be managed through the port settings. I had the same 
file set installed via both port and package - no plug-in file mentioned in the 
instructions. The page http://www.freebsdfoundation.org/downloads/java.shtml 
indicates that amd64 platform is supported. I tried simple Java programs 
started from the console, and it worked fine. So, my problem is why the plug-in 
doesn't appear to be installed along the JRE installation?
Am I missing something or the plug-in isn't supported in amd64? Can anyone help 
me to fix this issue? It looks just strange, because everything found on Google 
was about proper linking to the plug-in file, but the file itself was always 
installed.

$ uname -a
FreeBSD 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Sep 20 23:24:38 PDT 2007 
root@:/usr/obj/usr/src/sys/AMD64  amd64

$ pkg_info | grep diablo
diablo-jre-1.5.0.07.01_7 Java Runtime Environment 1.5.0_07.01

$ pkg_info | grep java
javavmwrapper-2.3   Wrapper script for various Java Virtual Machines

JRE build log can be found below.

Thank you in advance.
Andriy

=
# portupgrade --new java/diablo-jre15
[Gathering depends for java/diablo-jre15 ...
... done]
---  Installing 'diablo-jre-1.5.0.07.01_7' from a port (java/diablo-jre15)
---  Building '/usr/ports/java/diablo-jre15'
===  Cleaning for diablo-jre-1.5.0.07.01_7
===  Vulnerability check disabled, database not found
===  Found saved configuration for diablo-jre-1.5.0.07.01_7
===  Extracting for diablo-jre-1.5.0.07.01_7
= MD5 Checksum OK for diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2.
= SHA256 Checksum OK for diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2.
= MD5 Checksum OK for tzupdater-1_2_2-2007g.zip.
= SHA256 Checksum OK for tzupdater-1_2_2-2007g.zip.
===   diablo-jre-1.5.0.07.01_7 depends on executable: unzip - found
===  Patching for diablo-jre-1.5.0.07.01_7
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xi
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xp
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt
st.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on executable: pkg-config - found
===  Configuring for diablo-jre-1.5.0.07.01_7
---  Installing the new version via the port
===  Installing for diablo-jre-1.5.0.07.01_7
===   diablo-jre-1.5.0.07.01_7 depends on executable: javavm - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xi
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xp
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt
.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on file: /usr/local/libdata/pkgconfig/xt
st.pc - found
===   diablo-jre-1.5.0.07.01_7 depends on executable: pkg-config - found
===   Generating temporary packing list
===  Checking if java/diablo-jre15 already installed
/bin/mkdir -p /usr/local/diablo-jre1.5.0
cd /usr/ports/java/diablo-jre15/work/diablo-jre1.5.0_07  /usr/bin/find .  |
/usr/bin/cpio -pdmu -R root:wheel /usr/local/diablo-jre1.5.0
136618 blocks
# Register the VM
/usr/local/bin/registervm  /usr/local/diablo-jre1.5.0/bin/java # DiabloLatte1
.5.0
# Install the plugin
/usr/bin/env PKG_PREFIX=/usr/local /bin/sh /usr/ports/java/diablo-jre15/work/p
kg-install diablo-jre-1.5.0.07.01_7 POST-INSTALL
===   Registering installation for diablo-jre-1.5.0.07.01_7
=== SECURITY REPORT:
  This port has installed the following files which may act as network
  servers and may therefore pose a remote security risk to the system.
/usr/local/diablo-jre1.5.0/lib/amd64/libdt_socket.so
/usr/local/diablo-jre1.5.0/lib/amd64/native_threads/libhpi.so
/usr/local/diablo-jre1.5.0/lib/amd64/libnio.so
/usr/local/diablo-jre1.5.0/lib/amd64/server/libjvm.so
/usr/local/diablo-jre1.5.0/lib/amd64/libnet.so

  If there are vulnerabilities in these programs there may be a security
  risk to the system. FreeBSD makes no guarantee about the security of
  ports included in the Ports Collection. Please type 'make deinstall'
  to deinstall the port if this is a concern.

  For more information, and contact details about the security
  status of this software, see the following webpage:

Re: Audio CD help

2007-10-15 Thread Andriy Babiy
 leegold [EMAIL PROTECTED] writes:
 
  Hi,
 
  This is probably going to basic stuff, sorry to bother.
 
  I can not get Audio Cds to play. I'm using KDE.
 
 Let me add a few comments after Pietro Cerutti's.
 
 With the cdcontrol you will determine if your hardware is able 
 to play
 audio CDs. On (some?) PCs you have to connect the CD-ROM drive 
 to your
 sound card, I cannot count the number of times I forgetted to
 reconnect this cable after an in-chassis intervention.

After you have connected CDROM-drive to the sound card and configured KsCD (KDE 
audio player), everything should be OK.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xorg.conf -- how to make use of Modeline

2007-09-25 Thread Andriy Babiy
Hi everybody!

I want to explicitly set the video mode used by X server. Generally, X works 
with the default xorg.conf, generated with X -configure. But the picture is 
unstable: there are tiny waves that I wanted to get rid of. The xorg.conf 
manual page describes how to set mode to be used. First, I generated the 
Modeline with gtf, then inserted the line to the Monitor section and referenced 
it in the Display subsection. Probably, my config is incorrect because it is 
simply ignored, and X server starts always with the same resolution and refresh 
rate 1024x768x85Hz.
I wanted to ask if this is the correct way of setting the resolution / refresh 
rate. 

$uname -a
FreeBSD xxx.yyy.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Sep 20 23:24:38 PDT 
2007 root@:/usr/obj/usr/src/sys/AMD64  amd64

Ports were upgraded to the latest as of Sep 22.

$ cat /etc/X11/xorg.conf
Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/local/share/X11/rgb
ModulePath   /usr/local/lib/xorg/modules
FontPath /usr/local/lib/X11/fonts/misc/
FontPath /usr/local/lib/X11/fonts/TTF/
FontPath /usr/local/lib/X11/fonts/OTF
FontPath /usr/local/lib/X11/fonts/Type1/
FontPath /usr/local/lib/X11/fonts/100dpi/
FontPath /usr/local/lib/X11/fonts/75dpi/
EndSection

Section Module
Load  extmod
Load  record
Load  dbe
Load  glx
Load  GLcore
Load  xtrap
Load  dri
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5 6 7
EndSection

Section Monitor
#DisplaySize  310   230 # mm
Identifier   Monitor0
VendorName   SAMSUNG
ModelNameSyncMaster 793DF
 ### Comment all HorizSync and VertRefresh values to use DDC:
HorizSync30.0 - 71.0
VertRefresh  50.0 - 160.0
UseModesmodes60Hz
Option  DPMS
EndSection

Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option Dac6Bit   # [bool]
#Option Dac8Bit   # [bool]
#Option BusType   # [str]
#Option CPPIOMode # [bool]
#Option CPusecTimeout # i
#Option AGPMode   # i
#Option AGPFastWrite  # [bool]
#Option AGPSize   # i
#Option GARTSize  # i
#Option RingSize  # i
#Option BufferSize# i
#Option EnableDepthMoves  # [bool]
#Option EnablePageFlip# [bool]
#Option NoBackBuffer  # [bool]
#Option DMAForXv  # [bool]
#Option FBTexPercent  # i
#Option DepthBits # i
#Option PCIAPERSize   # i
#Option AccelDFS  # [bool]
#Option DDCMode   # [bool]
#Option IgnoreEDID# [bool]
#Option DisplayPriority   # [str]
#Option PanelSize # [str]
#Option ForceMinDotClock  # freq
#Option ColorTiling   # [bool]
#Option VideoKey  # i
#Option RageTheatreCrystal# i
#Option RageTheatreTunerPort  # i
#Option RageTheatreCompositePort  # i
#Option RageTheatreSVideoPort # i
#Option TunerType # i
#Option RageTheatreMicrocPath # str
#Option RageTheatreMicrocType # str
#Option ScalerWidth   # i
#Option RenderAccel   # [bool]
#Option SubPixelOrder # [str]
#Option ShowCache # [bool]
#Option DynamicClocks # [bool]
#Option VGAAccess # [bool]
#Option ReverseDDC# [bool]
#Option LVDSProbePLL  # [bool]
#Option AccelMethod   # str
#Option DRI   # [bool]
#Option ConnectorTable# str

Re: mount_ntfs as normal user

2007-09-15 Thread Andriy Babiy
  Maybe somebody else have this same behavior as I have with ntfs?
 
  I install FreeBSD 6.2 on my second machine and then I have 
 this same
  problem with ntfs. This was a clean install, so I suppose that 
 problem with
  ntfs is, or ... I dont known what is wrong.
 
 I don't known it is important, but on these two machines on the 
 first slice I 
 have installed Windows XP, maybe it cause such behavior (?).

Stupid question: do you have ntfs partition auto-mounted in your /etc/fstab ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: auto mount xfce4 and kde

2007-08-31 Thread Andriy Babiy
 Edit devfs.conf and fstab files
 With permissions and links.

 Koen de Wijs wrote:
 Hello,

 This week I installed FreeBSD on a computer of mine. Everything works 
 fine but one thing I can't get working.
 Every person should be albe to work with the machine. The only thing 
 that isn't working is auto-mounting of cd-roms and usb-sticks. If KDE 
 is started and I put a usb-stick in the computer there should appear a 
 icon on the desktop with the usb drive on it and that should also work 
 for cd-roms. On XFCE4 there should also appear an icon;

 I saw auto-mounting working on Linux Mandriva and PCBSD but how do I 
 get it working with FreeBSD KDE and XFCE4?
 I installed hal, dbus and policykit and added these lines to rc.conf:

 dbus_enable=YES
 hald_enable=YES
 polkitd_enable=YES

 I also added the regular user to the group operators.

 What do I need to do to get it working?

 Thanks!

 Koen de Wijs

You might want to have a look at:
/usr/ports/sysutils/k3b/pkg-message
This file contains a detailed step-by-step instruction
on how to enable mounting for non-privileged users.

Also, the following port might be of interest to you:
/usr/ports/sysutils/am-utils

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox plugins

2007-08-28 Thread Andriy Babiy
 I'm unable to find any reference to amd64 on Firefox FAQ and other
 info sources.  I have an EVGA mobo with an AMD64 running FreeBSD 6.2
 perfectly, with Firefox.  But every attempt at a plugin complains
 either that it isn't windows or that it's an amd64.  I really want to
 run Flash material.  Any ideas?
Adobe only distributes linux binaries, so you need 
linux-compatibility.
On i386 the idea is to install
   /usr/ports/www/linuxpluginwrapper
but that doesn't work with amd64 yet.

Some people on this list claimed to be able to run
  /usr/ports/www/linux-flashplugin9
in linux-opera or linux-firefox with linux_base-fc6, but the 
latter will only be available with upcoming FreeBSD 7.0 branch.

So for FreeBSD 6.2 now only /usr/ports/swfdec-plugin or 
/usr/ports/graphics/gnash remain. Both are OpenSource projects 
and can display something like flash 4 files or just crash your 
browser.

You might want to check the home page for swfdec; version 0.5.2
has been released, and according to the info on the page it should
work in most cases. Currently, we have 0.5.0 in the ports tree;
most banners will work, but other stuff won't.
If your question is limited to YouTube videos, you might use
youtube_dl - it's in the ports.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't burn cds

2007-07-27 Thread Andriy Babiy
 I had trouble getting CD burning to work, but the FreeBSD Handbook had the 
 info I needed to get it to work.  I had to modify my fstab and in order to 
 use k3b, I had to mount the CD on the command line first.  It won't work if 
 the CD is not mounted first, it's not as easy as it is in Linux, but it 
 works.

Have you read the k3b pkg-message? You can find it in k3b port directory.
It contains detailed step-by-step instructions about how to allow a 
non-privileged user to mount what they need. It works just fine.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


spumux segmentation fault

2007-07-25 Thread Andriy Babiy
Hi everybody!

Here is one more problem to solve.
Even if I don't put any options for spumux on command line, a segmentation 
fault is thrown.

$ spumux
DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt magick iconv freetype fribidi
Send bugs to [EMAIL PROTECTED]

Segmentation fault (core dumped)

$ uname -a
FreeBSD xxx.yyy.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64

What can I do to fix the problem?
Thank you in advance!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: keyboard layout switching problem

2007-07-25 Thread Andriy Babiy
On July 25, 2007, Yuri Pankov wrote:
 On Wed, Jul 25, 2007 at 10:05:55PM -0700, Andriy Babiy wrote:
  Hi everybody!
 
  After today's upgrade of xkeyboard-config (all ports are up-to-date) I
  have a problem with switching between English and Russian layouts in
  KDE. Instead of country flag icon or letters, the err is shown.
  The keyboard layouts are configured in KDE Control Center.
  xorg.conf contains the default settings, obtained by X -configure.
 
  What can I do to fix the problem?
  If I can provide more details, please let me know.
  Thank you in advance.
 
  Andriy

 There are many reports about this problem on different lists, this one
 should solve it
 http://lists.freebsd.org/pipermail/freebsd-x11/2007-July/004942.html


 HTH,
 Yuri

Fixed. Thank you for the instant reply!
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


keyboard layout switching problem

2007-07-25 Thread Andriy Babiy
Hi everybody!

After today's upgrade of xkeyboard-config (all ports are up-to-date) I have 
a problem with switching between English and Russian layouts in KDE. 
Instead of country flag icon or letters, the err is shown.
The keyboard layouts are configured in KDE Control Center.
xorg.conf contains the default settings, obtained by X -configure.

What can I do to fix the problem?
If I can provide more details, please let me know.
Thank you in advance.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xfce4 enable shutdown

2007-07-24 Thread Andriy Babiy
On July 23, 2007, Garrett Cooper wrote:
 Andriy Babiy wrote:
  Hi everybody,
 
  I'm experiencing a minor problem with xfce4 - can't enable
  reboot/shutdown options in the menu.
  I had the following lines in my sudoers file (I used the second one):
  1)
  %groupnameALL = NOPASSWD:/usr/local/libexec/xfsm-shutdown-helper
  2)
  ALIAS_NAME ALL = (ALL) NOPASSWD: ALL
 
  It worked just fine this morning. I upgraded some ports - all of them
  are up-to-date now; I tried either of the lines and both, but
  reboot/shutdown options are disabled. I am still able to
  reboot/shutdown from the console using:
  sudo shutdown -r (or -p) now
  But the menu options stay disabled.
  xfce documentation and google refer to the above mentioned lines. What
  can I do else to enable reboot/shutdown options?
 
  Thank you in advance!
  Andriy

 sudo had segfault issues that I believe were corrected today thanks
 to a few porter's hard work.
 Update your ports again and see if the issue still occurs for you.
 Cheers,
 -Garrett

You are right. That fixed the problem. Thank you for advice.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xfce4 enable shutdown

2007-07-23 Thread Andriy Babiy
Hi everybody,

I'm experiencing a minor problem with xfce4 - can't enable
reboot/shutdown options in the menu.
I had the following lines in my sudoers file (I used the second one):
1)
%groupnameALL = NOPASSWD:/usr/local/libexec/xfsm-shutdown-helper
2)
ALIAS_NAME ALL = (ALL) NOPASSWD: ALL

It worked just fine this morning. I upgraded some ports - all of them
are up-to-date now; I tried either of the lines and both, but
reboot/shutdown options are disabled. I am still able to reboot/shutdown
from the console using:
sudo shutdown -r (or -p) now
But the menu options stay disabled.
xfce documentation and google refer to the above mentioned lines. What
can I do else to enable reboot/shutdown options?

Thank you in advance!
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: duplicating a dvd video

2007-07-21 Thread Andriy Babiy
     What i did originally was to run dvdbackup on the original dvd
 video. I inserted it and ran:

 dvdbackup -i /dev/cd1 -o /path/to/backup/area -M

k3b could do the job for you, just as an option. It automates an operation 
and doesn't need a manual intervention.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


kdm/startkde problem after upgrade

2007-07-16 Thread Andriy Babiy
Hi everyone!

$ uname -a
FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64

kdm is configured as a login manager in /etc/ttys.

After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, but 
no errors) I receive an error message on startup:
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server /usr/X11R6/bin/X 
cannot be executed
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 can't 
be started, session disabled

When I logged in, startkde brings another error message:
xsetroot:  unable to open display ''
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
kdeinit: Aborting. $DISPLAY is not set.
There was an error setting up inter-process communications for KDE. The 
message returned by the system was:

Could not read network connection list.
/home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY

Please check that the dcopserver program is running!
Reusing existing ksycoca
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'
...
A lot of messages of the same nature about undefined mimetype/servicetype.
...
xset:  unable to open display 
xset:  unable to open display 
xsetroot:  unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
xprop:  unable to open display ''
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...

Interesting, when I issue startx, KDE is up and running.
I ran X -configure, and then X -config /root/xorg.conf.new as root; X 
server starts properly, so I copied new config to /etc/X11. I assume my 
problem is KDE related. Errors are about DCOP server, as I can see.
Could anyone help me fix this problem? Thank you in advance!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kdm/startkde problem after upgrade

2007-07-16 Thread Andriy Babiy
  $ uname -a
  FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11
  06:07:39 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64
 
  kdm is configured as a login manager in /etc/ttys.
 
  After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming,
  but no errors) I receive an error message on startup:
  Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server
  /usr/X11R6/bin/X cannot be executed
  Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0
  can't be started, session disabled
 
  When I logged in, startkde brings another error message:
  xsetroot:  unable to open display ''
  Warning: kbuildsycoca is unable to register with DCOP.
  kbuildsycoca running...
  kdeinit: Aborting. $DISPLAY is not set.
  There was an error setting up inter-process communications for KDE.
  The message returned by the system was:
 
  Could not read network connection list.
  /home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY
 
  Please check that the dcopserver program is running!
  Reusing existing ksycoca
  kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop'
  specifies undefined mimetype/servicetype 'application/x-tbz2'
  ...
  A lot of messages of the same nature about undefined
  mimetype/servicetype. ...
  xset:  unable to open display 
  xset:  unable to open display 
  xsetroot:  unable to open display ''
  startkde: Starting up...
  ksplash: cannot connect to X server
  xprop:  unable to open display ''
  kdeinit: Aborting. $DISPLAY is not set.
  Warning: connect() failed: : No such file or directory
  ksmserver: cannot connect to X server
  ERROR: Couldn't attach to DCOP server!
  startkde: Shutting down...
  Warning: connect() failed: : No such file or directory
  Error: Can't contact kdeinit!
  startkde: Running shutdown scripts...
 
  Interesting, when I issue startx, KDE is up and running.
  I ran X -configure, and then X -config /root/xorg.conf.new as root; X
  server starts properly, so I copied new config to /etc/X11. I assume
  my problem is KDE related. Errors are about DCOP server, as I can see.
  Could anyone help me fix this problem? Thank you in advance!

 # ls -lF /usr/X11R6
 lrwxr-xr-x  1 root  wheel  10 Jun 18 08:29 /usr/X11R6@ - /usr/local

 If yours does not look like that, then you forgot to merge /usr/X11R6
 into /usr/local, which by the looks of the first message (Jul 16
 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server /usr/X11R6/bin/X cannot
 be executed) is exactly what has happened. As of Xorg 7, X11BASE is now
 /usr/local rather than /usr/X11R6, so the Xorg servers will not be at
 /usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING.
 Specifically, there is a tool (mergebase.sh) included to make the merge
 step extremely easy.

Yes. Sure. Thank you. Perhaps I was too sleepy. My fault. Everything is OK.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: game advice

2007-07-07 Thread Andriy Babiy
  Another machine has P-III and Matrox 8 Mb. Is
  there anything peaceful but dynamic enough for an older video card?

Many thanks to everybody who provided their opinion and shared their 
experiences!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Skype - problem with sound device

2007-07-05 Thread Andriy Babiy
On July 5, 2007, you wrote:
 I have also problem with skype. When I try call to friend then I obtain
 following message:
 Problem with sound device.

 When I run skype from console I get the following message (when I call):
 /dev/dsp: Device or resource busy

 On my Debian I haven't such problem.

 I also change,
 sysctl hw.snd.maxautovchans=8

Handbook: 7.2.3 Utilizing Multiple Sound Sources

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html

HTH,
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


game advice

2007-07-05 Thread Andriy Babiy
Hi everybody,

Could anyone share their gaming experiences? My son is 8 years old. Card 
games and balls are good, but I think he wants something more dynamic 
rather than educational :-) On one machine, with recent video card, I plan 
to install glest for him. Another machine has P-III and Matrox 8 Mb. Is 
there anything peaceful but dynamic enough for an older video card?

Thank you in advance!
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Canon PowerShot A40

2007-06-28 Thread Andriy Babiy
 1. I have a problem with downloaded movies from my camera Canon
 PowerShot A40. If I try run Noatun under KDE 3.5.6 (FreeBSD 6.2) then it
 is stopped. I suppose that I haven't appropriate codecs for it. Could
 someone point me which codecs I should install to see my movies?

Is it MOV? Anyway, do you have mplayer installed? It comes with a wide set 
of codecs; usually, it can play any movie you can find. Later you'll find 
mplayer/mencoder very useful, if you're going to deal with home videos.

 2. How to run digikam as normal user to download my photos or movies
 from camera?

This question is not about running a digicam as a regular user; this is 
about mounting your camera as a regular user. Search the archive; there 
are a lot of examples and brief HOW-TOs.
By the way, is your camera listed among supported devices in libgphoto2? My 
camera (Olympus Stylus800) is not supported yet. But as long as I can 
mount it and download all the pics/movies, I don't mind.

HTH,
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: x11/xorg update.

2007-06-19 Thread Andriy Babiy
  Gary Kline [EMAIL PROTECTED] wrote:
  The xorg.conf I created on 09jun07 was around 1K  bytes.  The
  new one is around 4 times that size.  My logs clued me in --
  partly.  In /var/log/gdm/:0.log was the problem.  An (EE)
  that said I was missing some required module.
 
  this probably was due to your old xorg.conf having the wrong paths in
  it. The errors should be pretty obvious, otherwise using xorgcfg
  should make a good one and you can, at least, use it to compare the
  differences.
 
    Ah, this is the new scriptthat creates xorg.conf, correct?
    A bit easier than typing X -configure and messing with the
    /root files.  What I don't understand is all the output about
    missing modules to stderr.  ...but  ... .

 Which modules does it say are missing? I went through a very similar
 situation earlier today, where the X log file reported that mouse and
 kbd modules were not found. A bit of dragging through the ports tree,
 and I found that they are installed as ports in their own right these
 days. I'm not certain why they didn't get installed as part of the huge
 Xorg upgrade as detailed in UPDATING, but installing them by hand made
 the errors go away.

 So, the moral of the story is, I suppose, if you're happy that all your
 paths are correct in your xorg.conf, and that you have followed Kris'
 upgrade instructions, try looking for an individual port that installs
 the missing module.

I had the same problem. But it was my mistake. Are you sure you had 
x11/xorg meta port installed before you started upgrading xorg? I didn't. 
After I got into trouble, I installed the meta port, so it added all the 
modules xorg was missing, and it fixed everything.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ekiga's audio input: dsp0.0?

2007-06-17 Thread Andriy Babiy
 I'm struggling with configuring Ekiga's (former gnomemeeting) to work
 with my microphone on FreeBSD-6.2-stable/amd64.

 Ekiga has a test settings buttons (under the configuration druid), but
 it never plays back anything, that I say into the microphone (I tried
 two of those already).

 Ekiga is trying to use /dev/dsp0.0. Is that the right device? Sound(4)
 says, dsprM.N should be used for input -- do I need to force ekiga into
 using that?

 I know, the sound itself works -- including from ekiga -- because I can
 test play the various sounds, that come with the application.

 Does anyone have ekiga working right on FreeBSD-6 (the port's maintainer
 has already told me, he no longer uses the software)? Thanks!

 -mi

 P.S. I use the snd_ich audio module. My /dev/sndstat reads:

 FreeBSD Audio Driver (newpcm)
 Installed devices:
 pcm0: AMD-8111 at io 0xc800, 0xcc00 irq 17 bufsz 16384 kld snd_ich
 (1p/1r/2v channels duplex default)

Hi Mikhail,

Have you tried connecting to the ekiga test address? You can find it at 
their site; if I'm not mistaken it's [EMAIL PROTECTED] Try that; it should 
re-play whatever you say to a microphone in a several seconds.
Test Settings buttons in audio/video configuration tabs didn't re-play 
anything for me, so I decided they did something different. Audio/video 
works for me with the default settings; I didn't have to force anything.

HTH,

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mail reader/agent for xfce4

2007-06-15 Thread Andriy Babiy
Hi everybody,

Could anyone share their experiences on which mail reader or agent they use 
with xfce4? Something simple, lightweight, with GUI, is highly desirable. 
I tried xmail, but it looks a bit complicated for my 8 years old son.
Just for the record: FreeBSD i386 STABLE.

Thank you in advance!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mail reader/agent for xfce4

2007-06-15 Thread Andriy Babiy
  Hi everybody,
 
  Could anyone share their experiences on which mail reader or agent
  they use with xfce4? Something simple, lightweight, with GUI, is
  highly desirable. I tried xmail, but it looks a bit complicated for my
  8 years old son. Just for the record: FreeBSD i386 STABLE.

   Try Sylpheed. It's in the ports collection.

I'll give it a try. And thanks to everybody for replies!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.2 start problem

2007-05-23 Thread Andriy Babiy
 You need at least the following ports:

   x11-drivers/xf86-video-mga
   x11-drivers/xf86-input-mouse
   x11-drivers/xf86-input-keyboard

I wanted to thank everybody who helped me. I added those ports, and that 
fixed the problem I had before. So, I was able to issue:
X -configure
and obtain xorg.conf.new file. I checked the configuration and found that 
the hardware was recognized without errors. The pathes were changed 
to /usr/local accordingly.

But when I issue:
X -config /root/xorg.conf.new

the X server doesn't start; it fails with the message:

Fatal server error:
could not open default font 'fixed'

I checked xorg.conf.new and found that the pathes to appropriate fonts are 
listed there, namely:

xorg-fonts-100dpi-7.2
xorg-fonts-75dpi-7.2
xorg-fonts-cyrillic-7.2
xorg-fonts-miscbitmaps-7.2
xorg-fonts-truetype-7.2
xorg-fonts-type1-7.2

I checked all the directories; they exist, and their contents exist. I 
tried mkfontdir in each of them, but it changed nothing.

Maybe, you could advise me what I need to do in order to resolve it, apart 
from rebuilding the whole thing. Thank you very much in advance!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xorg 7.2 start problem

2007-05-23 Thread Andriy Babiy
 I guess you missed the several replies (and the note in UPDATING)
 telling you to install the xorg port to obtain a complete xorg
 installation.

 Kris

Thank you Kris.
Now I see, I didn't have xorg meta-port installed, that was my fault.
Do I have any chance to fix a mistake by installing it now, or the whole 
rebuild is the only way?

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


xorg 7.2 start problem

2007-05-21 Thread Andriy Babiy
Hi everybody,

To upgrade xorg, I followed the procedure described in 
the /usr/ports/UPDATING file. The build went smooth, without any build 
errors. At the merge step, the script complained about mime.info files, so 
I made backup copy of those and deleted the duplicates.
But after reboot I cannot start X. On that machine, I use xfce4. When I 
issue startxfce4, I receive messages that modules kbd, mouse, and mga 
haven't been found.
During the build I didn't see any errors; presumably, it's a configuration 
error. Could you advise me on where I should look for an error?
It's i386 machine, with 6.2 stable. The Xorg.0.log file is enclosed. Errors 
are at the end pf the file.
Thank you very much in advance!

Andriy


_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/S01060040ca14628b:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386 
Current Operating System: FreeBSD S01060040ca14628b 6.2-STABLE FreeBSD 
6.2-STABLE #0: Fri May 11 03:30:47 PDT 2007 
root@:/usr/obj/usr/src/sys/HP386 i386
Build Date: 20 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon May 21 16:42:21 2007
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor HP-D8896
(**) |   |--Device Matrox
(**) |--Input Device Mouse1
(**) |--Input Device Keyboard1
(WW) `fonts.dir' not found (or not valid) 
in /usr/local/lib/X11/fonts/local/.
Entry deleted from font path.
(Run 'mkfontdir' on /usr/local/lib/X11/fonts/local/).
(**) FontPath set to:
/usr/local/lib/X11/fonts/misc/,
/usr/local/lib/X11/fonts/TTF/,
/usr/local/lib/X11/fonts/OTF,
/usr/local/lib/X11/fonts/Type1/,
/usr/local/lib/X11/fonts/100dpi/,
/usr/local/lib/X11/fonts/75dpi/
(==) RgbPath set to /usr/local/share/X11/rgb
(==) ModulePath set to /usr/local/lib/xorg/modules
(II) Loader magic: 0x81c0340
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.3
X.Org Video Driver: 1.1
X.Org XInput driver : 0.7
X.Org Server Extension : 0.3
X.Org Font Renderer : 0.5
(II) Loader running on freebsd
(II) LoadModule: pcidata
(II) Loading /usr/local/lib/xorg/modules//libpcidata.so
(II) Module pcidata: vendor=X.Org Foundation
compiled for 7.2.0, module version = 1.0.0
ABI class: X.Org Video Driver, version 1.1
(--) Using syscons driver with X support (version 2.0)
(--) using VT number 9

(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x, mode1Res1 = 0x8000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,7190 card , rev 03 class 06,00,00 hdr 
00
(II) PCI: 00:01:0: chip 8086,7191 card , rev 03 class 06,04,00 hdr 
01
(II) PCI: 00:04:0: chip 8086,7110 card , rev 02 class 06,01,00 hdr 
80
(II) PCI: 00:04:1: chip 8086,7111 card , rev 01 class 01,01,80 hdr 
00
(II) PCI: 00:04:2: chip 8086,7112 card , rev 01 class 0c,03,00 hdr 
00
(II) PCI: 00:04:3: chip 8086,7113 card , rev 02 class 06,80,00 hdr 
00
(II) PCI: 00:06:0: chip 1013,6003 card 1013,4280 rev 01 class 04,01,00 hdr 
00
(II) PCI: 00:0b:0: chip 10b7,9055 card 10b7,9055 rev 30 class 02,00,00 hdr 
00
(II) PCI: 01:00:0: chip 102b,0521 card 102b,ff00 rev 03 class 03,00,00 hdr 
00
(II) PCI: End of PCI scan
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1  0   0x - 0x (0x1) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1  0   0x - 0x (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x008c (VGA_EN is set)
(II) Bus 1 non-prefetchable memory range:
[0] -1  0   0xf420 - 0xf4ff (0xe0) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1  0   0xf500 - 0xf5ff (0x100) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:4:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
(--) PCI:*(1:0:0) Matrox Graphics, Inc. MGA G200 AGP rev 3, Mem @ 
0xf500/24, 0xf420/14, 0xf480/23
(II) Addressable bus resource ranges are
[0] -1  0   0x - 0x (0x0) MX[B]
[1] -1  0   0x - 0x (0x1) IX[B]
(II) 

Re: Unable to login using KDE

2007-04-28 Thread Andriy Babiy
  I am debugging a (seemingly) KDE-related problem on a FreeBSD laptop.
  The version of FreeBSD is 6.1-RELEASE-p10 #0. I am starting in in
  debug mode. It is using kdm as a login screen. The corresponding line
  in /etc/ttys is
 
  ttyv8 /usr/local/bin/kdm -nodaemon xterm on secure
 
  The problem is: when I type the username and password and try to login
  it returns me to the login screen again.

 What are the contents of your ~/.xsession? Check ~/.xsession-errors as
 well.

Do you use alpha-numeric symbols only in your password? The keyboard layout 
in kde might be different, so the same keys can generate different input. 
Try something simple and see if it works.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Response Fwd: failure notice

2007-04-28 Thread Andriy Babiy
On every message, sent to the list, I receive a strange response with the 
subject line: Fwd: failure notice.
The body contains:
=== BODY BEGIN
Hi. This is the deliver program at eyou.com.br
I'm afraid I wasn't able to deliver your message to the 
following addresses.br
This is a permanent error; I've given up. Sorry it didn't work 
out.brbr

[EMAIL PROTECTED]br

550 MI:SPF mx18,wKjR47Dr_AisCDNGl+65Ow==.9315S2 1177749676 
http://mail.163.com/help/help_spam_16.htm
br

--- Attachment is a copy of the message.brbr
snip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail 
to [EMAIL PROTECTED]
=== BODY END

Sure, I know nothing about eyou.com and [EMAIL PROTECTED]
My message appears on the list, so it is delivered.
What does this response mean? Could anyone explain me why I get this 
response?
Thank you in advance.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Porting a driver from RELENG_6 to RELENG_6_2

2007-04-22 Thread Andriy Babiy
 I have a Marvell Yukon 88E8050 Gigabit Ethernet which came with my
 motherboard. When looking for it's driver I found that RELENG_6
 supports it, and the driver is located at sys/dev/msk/ But I am using
 RELENG_6_2.

 Is it advisable to take this driver from RELENG_6 to RELENG_6_2? Is
 there some established method to get a diff of this driver alone and
 apply it to RELENG_6_2?

Have you tried searching http://www.marvell.com/ for the driver? They 
provide the binary i386 driver for their Gigabit Ethernet Cards (myk), 
though I'm not sure about the card you mentioned.

Regards,
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problem with portupgrade

2007-04-07 Thread Andriy Babiy
On April 6, 2007, [EMAIL PROTECTED] wrote:
  deimos# portupgrade -PR libmpeg2
  [Updating the portsdb format:bdb_btree in /usr/ports ... - 16851
  port entries found
  {lines cut} . done]
  [missing key: categories: Cannot read the portsdb!
  database file error
 
  {following some ruby errors regarding the fact that the db can't be
  read?!}
 
  Try removing (or moving so you have a backup) your
  /var/db/pkg/pkgdb.db file, then running pkgdb -u to update/create it.
 
  Josh

 I did that, it recreated the file w/o errors, but i get the same error
 message.

Have you read the note of 20070205 in /usr/src/UPDATING? It looks you're 
running the old version. Check the details in the note, remove portupgrade 
and install it from the new location.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Cannot pkg_add linux-flashplugin7

2007-04-03 Thread Andriy Babiy
On March 31, 2007, [EMAIL PROTECTED] wrote:
 I have tried to a couple of times to install a Micromedia-alike flash
 plugin for FreeBSD but failed.  So far I have successfully installed the
 linux-pluginwrapper as a requirement at
 /usr/ports/www/linuxpluginwrapper. So I tried
 /usr/ports/www/linux-flashplugin7 and issued the command pkg-add -r
 linux-flashplugin7. The system attempted to download the file from ftp
 site but came back saying the file linux-flashplugin7 did not exist.
  Any idea what I may be doing wrong?

Hi. I think it would be correct to install it using the port. Sometimes the 
system cannot download the file; namely I had the same problem with this 
port. You can download the file manually, and then replace the temporary 
file created in /usr/ports/distfiles/flashplugin7xxx/... with the correct 
one. Then go to /usr/ports/www/linux-flashplugin7 and issue make install 
clean again. The system checks first whether the file is in the distfiles; 
if it is not the case, it will fetch it.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype replacement

2007-04-03 Thread Andriy Babiy
On March 31, 2007, you wrote:
 On Fri, 30 Mar 2007 23:12:59 -0700 Andriy Babiy wrote:
  Since skype requires some i386 binary, it doesn't build on
  amd64.

 Where did you manage to get the sources?
 Why didn't you give a try to use the port
 (/usr/ports/net/skype)? It works just fine at amd64 (COMPAT_IA32
 and COMPAT_LINUX32 should be used for kernel configuration).
   
Thank you. I didn't know about those parameters. I'll give it a
try.
  
   Well, there are the defaults and are presented at the GENERIC
   kernel. To answer your question. The default (GENERIC) kernel should
   use i386 binaries, can't say about kernel modules though.
 
  It should work, but it didn't. As I didn't touch those parameters,
  they were present in my kernel configuration. Is there anything else I
  should set or configure? Just in case, if someone can have a look at
  my kernel config and advise me, please find it attached.
  Thank you.

 Well, so far so good. You didn't show any error messages and any
 diagnostics. I even can't understand your it doesn't build on
 amd64. Did you give it a try (to install from the port)? Have you got
 any error messages? Does your sound card work with FreeBSD
 applications? Which version of FreeBSD do you run?

Error message:
===  linux_dri-6.5 is only for i386, and you are running amd64..
*** Error code 1

Stop in /usr/ports/graphics/linux_dri.

Both skype and linux-flashplugin depend on the linux_dri port.

$ uname -a
FreeBSD S01060014bf5ee711 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 
00:43:46 PST 2007 root@:/usr/obj/usr/src/sys/MYKERNEL  amd64

Intel EM64T.
Yes, the sound card works perfect.

By the way, the same error message comes up when I try to install 
win32-codecs:
===  win32-codecs-3.1.0.r1,1 is only for i386, and you are running amd64..
*** Error code 1

Stop in /usr/ports/multimedia/win32-codecs.

Please find me kernel config attached.
I have linux_enable=YES in /etc/rc.conf

Thank you for your attention.

Andriy
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.14 2006/10/09 18:41:36 simon 
Exp $

machine amd64
cpu HAMMER
ident   MYKERNEL

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
options NTFS# NT File System
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Needed by COMPAT_LINUX32
options COMPAT_IA32 # Compatible with i386 binaries
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_LINUX32  # Compatible with i386 linux binaries 
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options

Re: skype replacement

2007-03-30 Thread Andriy Babiy
Since skype requires some i386 binary, it doesn't build on amd64.
  
   Where did you manage to get the sources?
   Why didn't you give a try to use the port (/usr/ports/net/skype)?
   It works just fine at amd64 (COMPAT_IA32 and COMPAT_LINUX32
   should be used for kernel configuration).
 
  Thank you. I didn't know about those parameters. I'll give it a try.

 Well, there are the defaults and are presented at the GENERIC kernel.
 To answer your question. The default (GENERIC) kernel should use i386
 binaries, can't say about kernel modules though.

It should work, but it didn't. As I didn't touch those parameters, they 
were present in my kernel configuration. Is there anything else I should 
set or configure? Just in case, if someone can have a look at my kernel 
config and advise me, please find it attached.
Thank you.

Andriy
# GENERIC -- Generic kernel configuration file for FreeBSD/amd64
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/amd64/conf/GENERIC,v 1.439.2.14 2006/10/09 18:41:36 simon 
Exp $

machine amd64
cpu HAMMER
ident   KRNSTABLE

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
#optionsINET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
options NTFS# NT File System
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Needed by COMPAT_LINUX32
options COMPAT_IA32 # Compatible with i386 binaries
#optionsCOMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_LINUX32  # Compatible with i386 linux binaries 
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
#optionsKTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

# Workarounds for some known-to-be-broken chipsets (nVidia nForce3-Pro150)
#device atpic   # 8259A compatability

# Linux 32-bit ABI support
options LINPROCFS   # Cannot be a module yet.

# Bus support.
device  acpi
device  pci

# Floppy drives
device  fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahc # AHA2940 and onboard AIC7xxx devices
#optionsAHC_REG_PRETTY_PRINT# Print register bitfields in debug
# 

Re: FreeBSD X11/GNOME/KDM issue

2007-03-30 Thread Andriy Babiy
 Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for
 a split sec abd got right back to KDM login.  Also tried ctrl+f1,
 ctrl+f1 etc but go nowhere.   
   I can get in single user mode but no edit previleges as I am not root.
  still trying different things.  hanks tho.

Hi. You may want to try sysinstall - Fixit, then fix the problem in the 
shell.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: HP OfficeJet OJ5610

2007-03-29 Thread Andriy Babiy
On March 28, 2007, [EMAIL PROTECTED] wrote:
 Today I see Staples has a HP OfficeJet OJ5610 Colour 4-in-1 printer on
 at a reasonable price. It's all I need. Since I am soon due to replace
 both of my print cartridges in the Lexmark, I figure I could just as
 easily buy the HP printer instead, but I thought I would run this model
 by the list members to see if it's compatible with FreeBSD, likely
 through CUPS?

Have you checked if it is supported in hplip?
/usr/ports/print/hplip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype replacement

2007-03-29 Thread Andriy Babiy
  Since skype requires some i386 binary, it doesn't build on amd64.
  Could you advise me on what is available as a replacement? What
  program do you use to implement p2p voice connection on amd64
  machine?  Thank you in advance.

 hihi.  You may want to have a look at [1][2]Ekiga.  It's a really
 nice SIP and H.323 soft phone for GNOME.

 HTH!

   1. http://www.freshports.org/net/ekiga/
   2. http://www.gnomemeeting.org/

Thank you. If my webcam works with it, for me it might be better than 
skype.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: skype replacement

2007-03-29 Thread Andriy Babiy
  Since skype requires some i386 binary, it doesn't build on amd64.

 Where did you manage to get the sources?
 Why didn't you give a try to use the port (/usr/ports/net/skype)?
 It works just fine at amd64 (COMPAT_IA32 and COMPAT_LINUX32
 should be used for kernel configuration).

Thank you. I didn't know about those parameters. I'll give it a try. 
Perhaps, if I add the parameters to the kernel configuration, 
linuxflashplugin will build on amd64 too?
Can it be applied to the kernel modules? I have an intergrated network card 
from Marvell. They provide i386 binary module only. Is it assumed to be 
working if I indicate these parameters; however I think they're helpless 
in this case.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


skype replacement

2007-03-28 Thread Andriy Babiy
Hi all,

Since skype requires some i386 binary, it doesn't build on amd64.
Could you advise me on what is available as a replacement? What program do 
you use to implement p2p voice connection on amd64 machine?
Thank you in advance.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Installing on large disk

2007-03-26 Thread Andriy Babiy
On March 25, 2007, [EMAIL PROTECTED] wrote:
 John C Nolen wrote:
  I have a 40 GB hard disk that was made in 2001 with windows xp
  installed on a 20 GB partition. BIOS setup says 19158 cylinders, 16
  heads and 255 sectors.
  I want to install freeBSD on the second 20 GB partition. All the
  instructions seem to refer to small disks, as they appear to require
  cylinders less than 1023.
  Sysinstall appears to require cylinders less than 1023. Did I miss
  something?
  Is it possible to install BSD as a dual operating system with windows
  xp on a disk larger than 8 GB ?
  Am I trying to do something impossible?
  Should I just ignore warnings and type in 1023 when asked about
  cylinders?
  If I uninstall the windows xp can I put freeBSD on one big 40GB
  partition?
  I could not find any information on this in handbook or FAQ.

 Yes, just ignore the cylinder warnings..

 Interesting thing is that I never got those and I have installed FBSD on
 multiple 80GB disks :).

 -Garrett

I had this problem a long time ago, when the FreeBSD 3.3 was current. Those 
instructions refer to those days I think. Do you install 6.2? Where are 
you asked to type the cylinder info? What kind of an installation do you 
do? Usually, defaults in sysinstall would be fine.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


flashplugin on amd64

2007-02-27 Thread Andriy Babiy
Hi all.
Simple question:

=
# make install clean
===  linuxpluginwrapper-20051113_7 is only for i386, and you are running 
amd64..
*** Error code 1

Stop in /usr/ports/www/linuxpluginwrapper.

=

Is there another way to get it working on amd64? I checked the plugin for 
Konqueror, but it still needs the pluginwrapper, which is distributed in a 
binary form for i386 platform.
Thanks to everyone in advance!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ffmpeg build fails

2007-02-25 Thread Andriy Babiy
Hi all.

Is anyone else experiencing this problem? What can I do to avoid it? Thank 
you very much in advance for advices.

Andriy


S01060014bf5ee711# uname -a
FreeBSD S01060014bf5ee711 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb 22 
00:43:46 PST 2007 root@:/usr/obj/usr/src/sys/KRNSTABLE  amd64

==
gmake[1]: Entering directory 
`/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat'
cc -O3 -Wall -fPIC -DPIC -I/usr/local/include  -I/usr/X11R6/include  
-fomit-frame-pointer -fno-unit-at-a-time -I.. 
-I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1 
-I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavcodec 
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c 
-o 
audio.o audio.c
audio.c:24:27: sys/soundcard.h: No such file or directory
audio.c: In function `audio_open':
audio.c:81: error: `SNDCTL_DSP_GETFMTS' undeclared (first use in this 
function)
audio.c:81: error: (Each undeclared identifier is reported only once
audio.c:81: error: for each function it appears in.)
audio.c:92: error: `AFMT_S16_LE' undeclared (first use in this function)
audio.c:94: error: `AFMT_S16_BE' undeclared (first use in this function)
audio.c:113: error: `SNDCTL_DSP_SETFMT' undeclared (first use in this 
function)
audio.c:120: error: `SNDCTL_DSP_STEREO' undeclared (first use in this 
function)
audio.c:129: error: `SNDCTL_DSP_SPEED' undeclared (first use in this 
function)
audio.c: In function `audio_read_packet':
audio.c:243: error: storage size of 'abufi' isn't known
audio.c:279: error: `SNDCTL_DSP_GETISPACE' undeclared (first use in this 
function)
audio.c:243: warning: unused variable `abufi'
gmake[1]: *** [audio.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat'
gmake: *** [lib] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/ffmpeg.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ffmpeg build fails

2007-02-25 Thread Andriy Babiy
On Sunday 25 February 2007 14:50, you wrote:
 On Sun 25 Feb 2007 13:02, Andriy Babiy wrote:
  Hi all.
 
  Is anyone else experiencing this problem? What can I do to avoid it?
  Thank you very much in advance for advices.
 
  Andriy
 
  
  S01060014bf5ee711# uname -a
  FreeBSD S01060014bf5ee711 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Thu Feb
  22 00:43:46 PST 2007 root@:/usr/obj/usr/src/sys/KRNSTABLE  amd64
 
  ==
  gmake[1]: Entering directory
  `/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat'
  cc -O3 -Wall -fPIC -DPIC -I/usr/local/include  -I/usr/X11R6/include 
  -fomit-frame-pointer -fno-unit-at-a-time -I..
  -I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1
  -I/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavcodec
  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
  -D_GNU_SOURCE -c -o audio.o audio.c
  audio.c:24:27: sys/soundcard.h: No such file or directory
  audio.c: In function `audio_open':
  audio.c:81: error: `SNDCTL_DSP_GETFMTS' undeclared (first use in this
  function)
  audio.c:81: error: (Each undeclared identifier is reported only once
  audio.c:81: error: for each function it appears in.)
  audio.c:92: error: `AFMT_S16_LE' undeclared (first use in this
  function) audio.c:94: error: `AFMT_S16_BE' undeclared (first use in
  this function) audio.c:113: error: `SNDCTL_DSP_SETFMT' undeclared
  (first use in this function)
  audio.c:120: error: `SNDCTL_DSP_STEREO' undeclared (first use in this
  function)
  audio.c:129: error: `SNDCTL_DSP_SPEED' undeclared (first use in this
  function)
  audio.c: In function `audio_read_packet':
  audio.c:243: error: storage size of 'abufi' isn't known
  audio.c:279: error: `SNDCTL_DSP_GETISPACE' undeclared (first use in
  this function)
  audio.c:243: warning: unused variable `abufi'
  gmake[1]: *** [audio.o] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/multimedia/ffmpeg/work/ffmpeg-0.4.9-pre1/libavformat'
  gmake: *** [lib] Error 2
  *** Error code 2
 
  Stop in /usr/ports/multimedia/ffmpeg.

 ffmpeg can't find /usr/include/sys/soundcard.h
 Did you delete /usr/include?

 You can extract the 6.2 base tarball into annother directory (for
 example /usr/base) and then copy /usr/base/usr/include to
 /usr/include.

 Or you can copy the files from the freebsd source...

Thanks Martin.
I found the header file in /usr/src/sys/sys directory. Actually, the 
content of the folders looks the same. I'm not sure why the file was 
missing in the /usr/include/sys.
Anyway, the problem has gone. Everything compiles just fine.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hpijs

2007-01-04 Thread Andriy Babiy
Hi all,

When I try to install hpijs over the port, I get an error as follows:

install  -o root -g wheel -m 444 ppd/* /usr/local/share/ppd/HP
gzip -f /usr/local/share/ppd/HP/*
gzip: /usr/local/share/ppd/HP/fax is a directory -- ignored
*** Error code 2

Stop in /usr/ports/print/hpijs/work/hpijs-2.1.4.
*** Error code 1

Stop in /usr/ports/print/hpijs.
*** Error code 1

Stop in /usr/ports/print/hpijs.
===

At that point the port was successfully built, but the installation fails. Of 
course, it can be installed as a package... But maybe it can be fixed?

Thank you.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-questions Digest, Vol 154, Issue 17

2006-11-05 Thread Andriy Babiy
 Message: 5
 Date: Sun, 5 Nov 2006 17:47:24 +0600
 From: Bachilo Dmitry [EMAIL PROTECTED]
 Subject: Re: Xine and mplayer will not install
 To: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain;  charset=koi8-r

 ÷ ÓÏÏÂÝÅÎÉÉ ÏÔ ÷ÏÓËÒÅÓÅÎØÅ 05 ÎÏÑÂÒÑ 2006 17:11 [EMAIL PROTECTED] ÎÁÐÉÓÁÌ(a):
  After a new install of 6.2beta3 and Gnome2.14.2 I am unable to install
  mplayer.  It fails with the following message:
 
  ===  Installing for mplayer-0.99.8_5
  ===   mplayer-0.99.8_5 depends on file: /usr/local/share/mplayer/skins -
  found
  ===   mplayer-0.99.8_5 depends on file:
  /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 - not found
  ===Verifying install for
  /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in
  /usr/ports/multimedia/win32-codecs
  ===  win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution:
  http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html.
  *** Error code 1
 
  Stop in /usr/ports/multimedia/win32-codecs.
  *** Error code 1
 
  Stop in /usr/ports/multimedia/mplayer.
 
  Xine fails for the same reason.  Any suggestions for fixing this or
  getting around it?
 
  TIA

 As I've already told on www.allunix.ru, it is possible but is STRONGLY NOT
 RECOMMENDED to add a following line into /etc/make.conf:

 DISABLE_VULNERABILITIES=true

 This will make you able to install vulnerable ports. But again, it is VERY
 DANGEROUS and you should do it only in case you know what you are doing.

I re-configured mplayer to install without win32-codecs port, which is much 
safer in this situation.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: firefox2

2006-11-05 Thread Andriy Babiy
On Sunday 05 November 2006 16:44, you wrote:
 On 11/5/06, Andriy Babiy [EMAIL PROTECTED] wrote:
  Hi all,
 
  I wanted to thank to everyone who advised me on how to avoid firefox2
  core dump issue.
  The version of nspr was the lastest.
  When I disabled an optimization flags in make.conf, re-compiled the
  kernel, and portupgrade -f firefox, I got Firefox running with no
  problem. If someone else has a similar issue, keep it in mind. For some
  reason, -mtune= and -march= flags caused the problem.

 What -march= flags did you use?

CPUTYPE=i686
-O2 -mcpu=i686 -march=i686 -mtune=i686

I had the kernel compiled with those flags and used it for a while with no 
problem. Actually, I am not sure: maybe, I could leave the kernel compiled 
with the flags and just re-compile firefox2 without them, or vice versa. I 
got tired of re-building the port, so I just disabled the flags everywhere, 
and it resulted in firefox2 running properly.
When the flags were enabled, I got an error while portupgrading firefox, but 
the build didn't fail because if this error. I can't remember exactly; it was 
something like Chrome build failed, core dumped...; firefox was built 
though, but didn't work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firefox2

2006-11-04 Thread Andriy Babiy
Hi all,

I wanted to thank to everyone who advised me on how to avoid firefox2 core 
dump issue.
The version of nspr was the lastest.
When I disabled an optimization flags in make.conf, re-compiled the kernel, 
and portupgrade -f firefox, I got Firefox running with no problem.
If someone else has a similar issue, keep it in mind. For some 
reason, -mtune= and -march= flags caused the problem.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


firefox2 - core dump

2006-11-03 Thread Andriy Babiy
Hello everybody,

After last upgrade of Firefox, it dumps core when I run it. I am not sure, but 
the problem might be caused by the additional optimization that I enabled 
during configuration.
Now, my attempt to portupgrade -f firefox results in Found saved 
configuration - I cannot change this option.
Maybe, someone could advise me on how to do it properly? Where is this saved 
configuration? Should it be deleted? Or I can give some options to 
portupgrade to ignore it?

Many thanks in advance.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


skype/webcam

2006-10-14 Thread Andriy Babiy
Hello all,

If you have a webcam installed, the Skype in Windows environment allows for a 
video session. Does the Skype, ported to UNIX environment, have a feature to 
enable the video session? If not, what port with similar capabilities should 
I use? Currently, I use Skype for audio session only, and think of buying a 
webcam.
Many thanks in advance for useful info / advices / links.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrading multimedia/x264

2006-10-02 Thread Andriy Babiy
I'm experiencing the same problem. When I do:
portupgrade -R x264
the patch fails to apply.
Mplayer port cannot be upgraded too for the same reason.


Message: 13
Date: Sun, 1 Oct 2006 11:08:32 +0200
From: Beni [EMAIL PROTECTED]
Subject: portupgrading multimedia/x264 : patch failed to apply cleanly
To: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain;  charset=utf-8

Hello List,

When trying to portupgrade multimedia/x264 I get an error message :
patch
failed to apply cleanly. I just ran a portsnap fetch update, so my
ports
should be up to date. What is the remedy here ?

Thanks for any help.

Beni.

www# make reinstall
===  Vulnerability check disabled, database not found
===  Found saved configuration for x264-0.0.20060112_1
= x264-snapshot-20060926-2245.tar.bz2 doesn't seem to exist
in /usr/ports/distfiles/.
= Attempting to fetch from
http://downloads.videolan.org/pub/videolan/x264/snapshots/.
x264-snapshot-20060926-2245.tar.bz2   100% of  533 kB  351 kBps
===  Extracting for x264-0.0.20060926_1
= MD5 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
= SHA256 Checksum OK for x264-snapshot-20060926-2245.tar.bz2.
===  Patching for x264-0.0.20060926_1
===  Applying FreeBSD patches for x264-0.0.20060926_1
1 out of 1 hunks failed--saving rejects to encoder/ratecontrol.c.rej
= Patch patch-encoder_ratecontrol.c failed to apply cleanly.
= Patch(es) patch-Makefile patch-configure applied cleanly.
*** Error code 1

Stop in /usr/ports/multimedia/x264.
*** Error code 1

Stop in /usr/ports/multimedia/x264.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hp_no_device_found

2006-09-03 Thread Andriy Babiy
Hello,

Could you advise me on how to properly configure my printing?
I have LaserJet HP-1022, on FreeBSD 6.1 and CUPS-1.2.
I installed hplip, hpijs, and foomatic-*.

(as root)
hp-setup says: ERROR no devices found
In CUPS I see: hp_no_device_found

dmesg shows:
ulpt0: Hewlett-Packard HP LaserJet 1022, rev. 2.00/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode

I can add printer on /dev/ulpt0, and choose HP-1022 from the list, and even 
send a test page to the printer, which isn't printed though.

There might be something wrong in the configuration, I think. Could you advise 
me on how to get the printer working?
Thank you in advance for your assistance and ideas!

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HP-1022 laser printer

2006-09-02 Thread Andriy Babiy
Hello,

Could anybody advise me on the HP-1022 laser printer? Does anyone have this 
model working on the FreeBSD? I'm going to buy it, therefore I wanted to 
check if there are any issues/problems about it. I found postings about USB 
port busy problem, but guys didn't specify clearly the platform they used.
Especially, I'm interested in positive experiences.
Originally, I posted the question to freebsd-hardware, with no answer though.
Thank you for your time.

Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Playing Audio CDs

2006-08-30 Thread Andriy Babiy
--- Viswas Nair [EMAIL PROTECTED] wrote:
 I am new to BSD and have mplayer installed
 (Gmplayer) and I do not see the
 option to play an Audio CD, only CDs, files and
 DVDs. How do I get Audio
 CD's to play? Can they be mounted, if so how? Is
 there any
 specific audio alone CD player (GUI based) that you
 suggest?

KsCD in KDE environment. You don't need to mount an AudioCD. Make sure
you connected your CD/DVD device audio output to the sound card.

 Also, whats the most commonly used or popular CD +
 DVD burning software used
 in BSD?

Try k3b. I like it.

 Thanks in advance.

Andriy

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ftpd configuration

2006-08-04 Thread Andriy Babiy
I wanted to set the user default directory chroot'ed for ftp-session. So, I 
created user/group: user1/group1, and wrote the following lines to the 
configuration fles:

- /etc/ftpusers:
user1:group1 allow chroot

- /etc/ftpchroot
user1:group1 allow

- /etc/ftpd.conf
chroot allow /usr/home/user1/FTP_DIR

I successfully logged in to the ftp as a user1, and then used pwd and got:
/usr/home/user1
So, I logged in as a real user, without chroot.
I would highly appreciate, if someone explained me what was wrong with my 
configuration.

The home directory and below are with ugo=rwx access rights.
I use FreeBSD 6.1.

Many thanks to all!
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


k3b installation problem - make fails

2006-07-20 Thread Andriy Babiy
Hi all,

I installed all the libraries mentioned on k3b.org, including mandatory and 
optional (actually, excluding two of the optional libraries - libmusicbrainz 
and hal). I used the latest versions of all the libraries, and k3b as well.
FreeBSD version 6.1.

./configure runs without error messages.

But when I run make, it fails with the error message as follows:

make  all-recursive
Making all in doc
Making all in libk3bdevice
/usr/local/bin/bash ../libtool --silent --mode=link --tag=CXX g++  
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -O2 -Wno-non-virtual-dtor 
-fno-exceptions -fno-check-new -fno-common -fpermissive-o libk3bdevice.la 
-rpath /usr/local/lib -L/usr/local/lib -L/usr/X11R6/lib -version-info 2:1:0 
-no-undefined k3bdevice.lo  k3bdevice_mmc.lo k3bscsicommand.lo  k3btrack.lo 
k3btoc.lo k3bdevicemanager.lo  k3bmsf.lo k3bdiskinfo.lo k3bdeviceglobals.lo  
k3bcrc.lo k3bcdtext.lo -lkio  -lcam  -lm -L/usr/local/lib -L/usr/X11R6/lib
libtool: link: cannot find the library `'
*** Error code 1
Stop in...

The name of the library, which cannot be found, appears empty in the message.

Maybe, I should try some configuration options?
If someone here faced a similar problem and solved it, or just know how to 
approach the problem, their advice would be highly appreciated.
I can provide all the results shown on the screen during configure and 
make, if it is useful for targeting the problem.

Many thanks to all in advance.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]