Reduce the consumption of video memory

2013-01-05 Thread Dima Naumov
Can i reduce using of video memory in xorg.conf? My video card is almost 
dead, i think is something with Video Memory, because in monitor showed 
and disappear little noisy pixel, and i wish check out is problem with 
video memory?

___
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: Help! Firefox + acroread costs me $$$$

2012-12-11 Thread Dima Panov

12.12.2012 12:16, Ronald F. Guilmette пишет:

So, on FreeBSD, how does one get firefox and/or opera to use, for example,
evince or some other PDF displayer instead of using this goddamn lousey
buggy *&^%$#@ acroread ?

Or do I have to fire up my Windows machine, just to print out a lousey
PDF ?



pdf_download extention for firefox will help you to control links to pdf 
files (open in tab, download, open with another reader)


--
Dima Panov (flu...@freebsd.org)
(KDE, Office)@FreeBSD team

Facebook: http://www.facebook.com/fluffy.khv
IRC: fluffy@EFNet, fluffykhv@FreeNode
twitter: fluffy_khv | skype: dima.panov

___
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: Set tty resolution using hint.sc.0.flags with VESA

2011-02-20 Thread Dima Panov
Hello!

07.02.2011, 03:57, "David Demelier" :
> On 06/02/2011 17:52, Dima Panov wrote:
>
>>  Hello!
>>
>>  [fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
>>  hint.sc.0.at="isa"
>>  hint.sc.0.flags="0x180"
>>  hint.sc.0.vesa_mode=0x1f0
>
> absolutely great! But where did you find these vesa_mode setting? It's
> not documented anywhere.

man sc, at SYNOPSIS part

But I have -CURRENT

-- 
Dima Panov (flu...@freebsd.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=10181104157
___
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: Set tty resolution using hint.sc.0.flags with VESA

2011-02-06 Thread Dima Panov
Hello!

[fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0
hint.sc.0.at="isa"
hint.sc.0.flags="0x180"
hint.sc.0.vesa_mode=0x1f0


07.02.2011, 01:50, "David Demelier" :
> Hello,
>
> I don't like much to use allscreens_flags to set my tty resolution
> because it's done at the end of /etc/rc process. I know we can edit the
> hint.sc.0.flags in /boot/device.hints to set the resolution at the
> earliest stage.
>
> I want to use the 1366x768 mode :
>
> # vidcontrol -i mode
> [... snip ...]
> 496 (0x1f0) 0x001f G 1366x768x32 D   8x16  0xa 64k 64k
> 0xc000 4128k
>
> To use this mode I should write hint.sc.0.flags="0x1f00180" where 80
> means VESA mode following the sc(4) manpage.
>
> It seems that my resolution is like 1024x768 when I bootup and not the
> one I want. However when I use vidcontrol MODE_496 after boot it works
> pretty well.
>
> Is there something wrong on my line ?
>
> Cheers,
>
> --
> David Demelier
> ___
> 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"

-- 
Dima Panov (flu...@freebsd.org)
KDE@FreeBSD team

Facebook: http://www.facebook.com/?id=10181104157
___
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: How to get Huawei USB modem to work ?

2011-01-02 Thread Dima Panov
Hello!
Try to follow my experience :)
http://dimapanov.wordpress.com/2010/04/14/huswei-e1550-freebsd/

02.01.2011, 21:54, "Manish Jain" :
>    Hello,
>    From a similar thread, I picked up some information that I should try
>    kldload'ing usba. But when I ran the command, I got an error message
>    that there is no such module. I searched under sys/modules and there
>    was no usba.ko
>    Can somebody please tell me how to get my Huawei USB dial-up modem to
>    work on FreeBSD 8.1 ? From dmesg, I have the following information :
>    Trying to mount root from ufs:/dev/ad8s2a
>    ugen0.3:  at usbus0
>    u3g0:  on usbus0
>    u3g0: Found 3 ports.
>    umass0:     addr 3> on usbus0
>    umass0:  SCSI over Bulk-Only; quirks = 0x
>    umass0:0:0:-1: Attached to scbus0
>    cd0 at umass-sim0 bus 0 scbus0 target 0 lun 0
>    cd0:  Removable CD-ROM SCSI-0 device
>    cd0: 1.000MB/s transfers
>    cd0: cd present [16896 x 2048 byte records]
>    (probe0:umass-sim0:0:0:1): TEST UNIT READY. CDB: 0 20 0 0 0 0
>    (probe0:umass-sim0:0:0:1): CAM status: SCSI Status Error
>    (probe0:umass-sim0:0:0:1): SCSI status: Check Condition
>    (probe0:umass-sim0:0:0:1): SCSI sense: NOT READY asc:3a,0 (Medium not
>    present)
>    da0 at umass-sim0 bus 0 scbus0 target 0 lun 1
>    da0:  Removable Direct Access SCSI-2 device
>    da0: 1.000MB/s transfers
>    da0: Attempt to query device size failed: NOT READY, Medium not
>    present
>    drm0:  on vgapci0
>    info: [drm] MSI enabled 1 message(s)
>    vgapci0: child drm0 requested pci_enable_busmaster
>    Any help would be greatly appreciated.
>    Thanks
>    Manish Jain
> ___
> 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"

-- 
Dima Panov (flu...@freebsd.org)
k...@freebsd team

Facebook: http://www.facebook.com/?id=10181104157
___
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: serious (for me) Xorg 7.5 mouse/kbd problem in 8.1-STABLE

2010-08-25 Thread Dima Panov
On Thursday 26 August 2010 01:03:10 Polytropon wrote:
> On Wed, 25 Aug 2010 09:29:21 -0400, William Bulley  wrote:
> > Interestingly enough, I do have this line in my /etc/X11/xorg.conf file:
> > 
> >Section "InputDevice"
> >   Option  "XkbOptions" "terminate:ctrl_alt_bksp"
> >EndSection
> > 
> > But that never has seemed to work.  :-(
> 
> In case you're using HAL + DBUS, the setting now has to be coded
> in XML in some arbitrary file at a decentral location buried deep
> in the /usr/local subtree. According to the handbook
> 
>   5.4.2 Configuring X11
>   http://www.freebsd.org/doc/handbook/x-config.html
> 
> this is /usr/local/etc/hal/fdi/policy/x11-input.fdi with
> 
>   
>   
> 
>   
>  type="string">terminate:ctrl_alt_bksp
>   
> 
>   
> 
> as well as /etc/X11/xorg.conf will need to be added
> 
>   Section "ServerFlags"
>   Option "DontZap"   "off"
>   EndSection
> 
> And the handbook also suggests a reboot (?!) to make sure HAL will
> pick up the new setting. Next time, you will have to reboot in order
> to make a mouse pointer position change visible. :-)
> 
By the way, configureing input options via hald doesn't work for me

X itself got flags from hal, write correct logfile about layout and options 
(us+ru+typo),
keys for layout switching, but really it doesn't work. 
configuring keyboard via xorg.conf give me working layout, but no lvl3 
(typographic symbols)

So all options now konfigured via KDE system settings, which call setxkbmap 
when init session

my /usr/local/etc/hal/fdi/policy/10-x11-input.fdi



  



   evdev



  
evdev
  



  
  kbd
  
evdev
  




  hal-setup-keymap



  base
  pc104
  us,ru
  ,winkeys
  grp:ctr_shift_toggle,grp_led:scroll,altwin:meta_win,lv3:ralt_switch,misc:typo


  



[flu...@fluffy] /> uname -a
FreeBSD Fluffy.Khv.RU 9.0-900016-CURRENT FreeBSD 9.0-900016-CURRENT #1 
r211145M: Wed Aug 11 13:06:07 VLAST 2010 
r...@fluffy.khv.ru:/usr/obj/usr/src/sys/Spot  amd64

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv
___
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"


free...@rambler.ru

2010-07-25 Thread Dima Bui


___
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"


kde 4.3.1 dont loading

2010-07-25 Thread Dima Bui

hi, after installing nvidia driver at FreeBSD 8.0, Kde 4.3.1 don't
loading after login screen, and when input username and password - login
screen reload. Before installing nvidia driver, kde 4.3.1 load ok. Who
know how decide this problem? Help please.
___
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: change kde4 (pkg) to kde4 (ports)

2010-06-18 Thread Dima Panov
On Saturday 19 June 2010 01:28:51 Polytropon wrote:
> On Fri, 18 Jun 2010 14:21:30 +0300, Giorgos Tsiapaliokas  
> wrote:
> > i know that i can reinstall the packages and install them again as ports but
> > i don't want to do that,i want to convert the package installiation into
> > ports installiation.
> 
> Okay, I think I basically understand. :-)
> 
> First of all, I think you mean to DE-install the installed
> packages, not RE-install them.
> 
> In oder to install KDE from ports, you need to removed the
> currently installed software (no matter if it has initially
> been installed by packages or ports).
> 
> The de-installation of installed software can be done with
> pkg_delete, or with "make deinstall" from the ports infra-
> structure. In order to do the last thing, you would do
> something like this:
> 
>   # cd /usr/ports/x1/kde4
>   # make
>   # make deinstall
>   # make reinstall

Not right. By this way you deinstall metaport only. 


> 
> This procedure would first compile all the stuff, then remove
> the existing installation, and finally installing the just
> compiled new software. See if you need "make config-recursive",
> too; see "man 7 ports" for details.
> 
> There's one thing I'm not sure about, maybe someone else could
> explain this: KDE4 as in /usr/ports/x1/kde4 is a so called
> meta-port. If someone does "make deinstall" for a meta-port,
> will it run "make deinstall" on all its parts (which are ports)?
> 
> If you're using a port & package management tool, such as
> portmaster, portupgrade or portmanager, I think the solution
> is much easier:
> 
>   # portupgrade -Rf kde4

Wrong again. Please carefully read ports/UPDATING for upgrade instructions
for all time since your binary package was releases. 

> 
> See "man portupgrade" for details. The portupgrade program
> acts as a "front-end" to the ports infrastructure, and so
> controls the "make", "make install", "make clean" and so
> on steps.
> 
> 
> 

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv


signature.asc
Description: This is a digitally signed message part.


Re: change kde4 (pkg) to kde4 (ports)

2010-06-18 Thread Dima Panov
On Friday 18 June 2010 22:21:30 Giorgos Tsiapaliokas wrote:
> well,
> 
> i have install kde4 with the package system and i want to reinstall it via
> the ports system.
> because my system will have better perfomance and less hardware
> requierements.
> 
> the previous time that i had install kde4 via ports it was working fine but
> this time with packages it freezes and stacks a lot.
> 
> i know that i can reinstall the packages and install them again as ports but
> i don't want to do that,i want to convert the package installiation into
> ports installiation.

use portupgrade or portmaster and carefull read ports/UPDATING before doing 
anything
 to get a correct procedures and order of upgrade


-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter: fluffy_khv | Skype: dima.panov | Jabber.[org|ru]/GTalk/QIP: fluffy.khv
___
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: FreeBSD Instalation question

2010-03-30 Thread Dima Panov
On Wednesday 31 March 2010 08:48:54 Polytropon wrote:
> On Tue, 30 Mar 2010 17:41:53 -0300 (CLST), pvida...@uc.cl wrote:
> > Hello. I am interested in installing FreeBSD OS on my Notebook, which has
> > at this time Windows 7 with a hard disk partitioned into 2 primary
> > partition (C: and D:).
> > I read the installation instructions, but I was clear:
> > How can I install FreeBSD OS on partition D: without deleting the
> > contents of C: (Windows 7 and other files) so you can choose when
> > starting the OS with my Notebook which to work (Windows 7 or FreeBSD)?
> > Thank you!
> 
> During the installation (usually involving the sysinstall
> installation program), you are entering the slice editor.
> This is where "primary partitions" are mentioned. Delete
> the partition corresponding to the "drive letter" D:, I
> would assume it's the second one on the disk. Then create
> a new slice for the (now) free space and make it a FreeBSD
> slice. After that, you can install the FreeBSD boot manager.
> I'm not familiar with "Windows", so I would assume that
> it won't harm the "Windows" installation on the disk if
> you add this boot manager. After that, you continue in
> the normal way partitioning your FreeBSD slice, selecting
> things to install, and so on.
> 
> The FreeBSD boot manager will then allow you to select
> to boot FreeBSD or "Windows" at system startup.
> 
> Before:
> 
>   { [ "Windows" partition C: ]  [ "Windows" partition D: ] }
> 
> First step in slice editor (delete second "Windows" partition):
> 
>   { [ "Windows" partition C: ]  -free- }
> 
> Second step in slice editor (create FreeBSD slice):
> 
>   { [ "Windows" partition C: ]  [ FreeBSD] }
> 
> Third step, after slice editor (install boot manager):
> 
>   {M[ "Windows" partition C: ]  [ FreeBSD] }
> 
> Keep an eye on which partition you mark "active" inside the slice
> editor. As I said, I'm not familiar with how "Windows" handles
> things, and I'm not a multi-booter, so excuse me for being quite
> generic in my answer. :-)
> 
> Don't miss the excellent documentation in the FreeBSD handbook,
> esp. ch. 2.6, to be found here:
> 
> http://www.freebsd.org/doc/en/books/handbook/install-steps.html

Just one note.

Usually Windows7 have additional hidden 100M boot partition first, than own 
system 
partition (Drive C:), don't be missed.


-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
___
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: kde4/python26 and pth help.

2010-02-24 Thread Dima Panov
On Thursday 25 February 2010 14:47:08 Jimmie James wrote:
> On 02/24/10 23:28, Adam Vande More wrote:
> >> On Wed, Feb 24, 2010 at 12:11 PM, Jimmie James  >> 
> >> <mailto:jimmie...@gmail.com>> wrote:
> >> On a freshly installed 8-STABLE box (4 days old) and up to date
> >> ports, KDE4 will not install for me, always the same errors. I've
> >> even removed all ports and reinstalled from scratch and hit the same
> >> errors. I have no /etc/make.conf. I'm at a loss here, I have no idea
> >> why this is happening.
> >> I even did a  portupgrade -fRru python26  and tried portmaster, and
> >> plain old make in the ports that fail.
> > 
> > My script to install from a clean install is
> > 
> > portsnap fetch update
> > cd /usr/ports/ports-mgmt/portmaster
> > make install clean && rehash
> > portmaster -d x11-servers/xorg-server x11-drivers/xf86-input-mouse
> > x11-drivers/xf86-input-keyboard x11-drivers/{YOUR VIDEO DRIVER PORT}
> > echo 'dbus_enable="YES"\nhald_enable="YES"\n' >> /etc/rc.conf
> > 
> > then you'll have to do whatever is necessary for video driver install eg
> > kldload nvidia and make it permanent /boot/loader.conf
> > 
> > Once your driver is live, you create xorg.conf file by
> > 
> > Xorg -config xorg.conf.new
> > cp xorg.conf.new /etc/X11/xorg.conf
> > 
> > then I manually add in this line to /etc/ttys
> > ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure
> > and comment
> > ttyv8 "/usr/local/bin/xdm -nodaemon"  xterm   off secure
> > 
> > Provided you don't have to do anything special for say the nvidia
> > driver, all's that's do this the hal guys maybe didn't do such a back
> > job after all
> > 
> > As for you error, I don't know what happened.  I used to see those
> > happen on a massive upgrade when using portupgrade.  I recommend
> > portmaster.  Somehow python didn't get installed correctly because
> > /usr/local/include/python2.6/Python.h should exist if python is
> > correctly installed.
> > 
> > 
> > 
> > --
> > Adam Vande More
> 
> Thanks for the reply,
> 
> Haven't got around to testing X yet, but on 7.2-STABLE it works fine, so
> I'm not too worried about that. It's the python and pth errors that are
> killing me.
> 
>   /usr/local/include/python2.6/Python.h  is there, seems correctly
> installed.  Even installing with portmaster and plain old make install
> it _still_ hits those errors of not finding the headers.
> checking for /usr/local/bin/python2.6 version... 2.6
> checking for /usr/local/bin/python2.6 platform... freebsd8
> checking for /usr/local/bin/python2.6 script directory...
> ${prefix}/lib/python2.
> 6/site-packages
> checking for /usr/local/bin/python2.6 extension module directory...
> ${exec_prefix}/lib/python2.6/site-packages
> checking for headers required to compile python extensions... not found
> configure: error: Python headers not found
> 
> As well as /usr/bin/ld: cannot find -lpth


Doh. Please, don't build python againist pth library, it's broken, and off by 
default.

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


signature.asc
Description: This is a digitally signed message part.


Re: Qt4: Help, can not install or update any QT lib/app anymore!

2010-01-05 Thread Dima Panov
On Tuesday 05 January 2010 23:02:25 O. Hartmann wrote:
> Dear Sirs,
> on a very 'production'-sensitive box I get an error whenever I try to
> install any qt4-related application or library. After deinstalling every
> qt4-lib/-app, and deleting every /usr/local/*/qt4 directory, I'm
> incapable of installing anything related to Qt4, even qt4-corelib fails.
> 
> I need those qt4-stuff for several applications and would appreciate any
> help. Please email, I'm not subscriber of the -question'-mailinglist.
> 
> Thanks in advance,
> 
> Oliver
> thusnelda# make install clean
> ===>   qt4-corelib-4.5.3 depends on package: qt4-qmake>=4.5.3 - found
> ===>   qt4-corelib-4.5.3 depends on package: qt4-moc>=4.5.3 - not found
> ===>Verifying install for qt4-moc>=4.5.3 in /usr/ports/devel/qt4-moc
> ===>  Building for qt4-moc-4.5.3
> [...]
> 
> c++ -c -O2 -pipe -march=nocona -fno-strict-aliasing -O2 -pipe
> -march=nocona -fno-strict-aliasing -Wall -W -DQT_BOOTSTRAPPED
> -DQT_LITE_UNICODE -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII
> -DQT_NO_CODECS -DQT_NO_DATASTREAM -DQT_NO_GEOM_VARIANT -DQT_NO_LIBRARY
> -DQT_NO_QOBJECT -DQT_NO_STL -DQT_NO_SYSTEMLOCALE -DQT_NO_TEXTSTREAM
> -DQT_NO_THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE
> -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
> -I/usr/local/share/qt/mkspecs/freebsd-g++ -I. -I../../../include
> -I../../../include/QtCore -I../../../include/QtXml -I/usr/local/include
> -o .obj/release-static/qfsfileengine.o ../../corelib/io/qfsfileengine.cpp
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::openFh(QFlags, FILE*)':
> ../../corelib/io/qfsfileengine.cpp:309: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::posFdFh() const':
> ../../corelib/io/qfsfileengine.cpp:531: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'bool
> QFSFileEnginePrivate::seekFdFh(qint64)':
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:561: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FTELL' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:636: error: 'QT_FSEEK' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp: In member function 'qint64
> QFSFileEnginePrivate::readLineFdFh(char*, qint64)':
> ../../corelib/io/qfsfileengine.cpp:707: error: 'QT_OFF_T' was not
> declared in this scope
> ../../corelib/io/qfsfileengine.cpp:707: error: expected `;' before 'oldPos'
> ../../corelib/io/qfsfileengine.cpp:712: error: 'oldPos' was not declared
> in this scope
> ../../corelib/io/qfsfileengine.cpp:712: error: 'QT_FTELL' was not
> declared in this scope
> *** Error code 1
> 
> Stop in
> /usr/ports/devel/qt4-moc/work/qt-x11-opensource-src-4.5.3/src/tools/bootstr
> ap. *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-moc.
> *** Error code 1
> 
> Stop in /usr/ports/devel/qt4-corelib.
> 
According to this log, your system uses qmake from qt33 package, not qmake-qt4, 
so your system is polluted. At first, please update your portstree, try to 
deinstall qt33 
also and reistall qt4 apps again

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


signature.asc
Description: This is a digitally signed message part.


Re: kdebindings4-python-pykde4 ver 4.3.3 fails to build

2009-11-29 Thread Dima Panov
4/Qt3Support -
> I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -
> I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -
> I/usr/local/include -I/usr/local/include/python2.5 -
> I/usr/local/kde4/include/solid -I/usr/local/kde4/include/kio -
> I/usr/local/kde4/include/kdeprint -I/usr/local/kde4/include/kdeprint/lpr -
> I/usr/local/kde4/include/dom -I/usr/local/kde4/include/ksettings -
> I/usr/local/kde4/include/knewstuff2 -I/usr/local/kde4/include/dnssd -
> I/usr/local/include/PolicyKit/polkit-qt -I/usr/local/include/PolicyKit   -
> DLIB_PYTHON=\"libpython2.5.so\" -o
> CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory_automoc.o -c
> /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonplu
> ginfactory_automoc.cpp /usr/local/bin/cmake -E cmake_progress_report
>  /usr/ports/devel/kdebindings4-
>  python-pykde4/work/kdebindings-4.3.3/CMakeFiles 1
> [100%] Building CXX object
> python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpyt
> honpluginfactory.o cd /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory &&
> /usr/bin/c++   -DMAKE_KPYTHONPLUGINFACTORY_LIB -D_GNU_SOURCE -DQT_NO_STL -
> DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -
> D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB
>  -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API - DKDE_DEFAULT_DEBUG_AREA=15000 -O2
>  -fno-strict-aliasing -pipe -march=pentium4 - Woverloaded-virtual
>  -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g - DNDEBUG
>  -DQT_NO_DEBUG -fPIC -I/usr/ports/devel/kdebindings4-python-
>  pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory -
>  I/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 -
>  I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -
> I/usr/local/include/qt4/KDE -I/usr/local/include/qt4 -
> I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtWebKit -
> I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDBus -
> I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools -
> I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtSvg -
> I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -
> I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -
> I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support -
> I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -
> I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -
> I/usr/local/include -I/usr/local/include/python2.5 -
> I/usr/local/kde4/include/solid -I/usr/local/kde4/include/kio -
> I/usr/local/kde4/include/kdeprint -I/usr/local/kde4/include/kdeprint/lpr -
> I/usr/local/kde4/include/dom -I/usr/local/kde4/include/ksettings -
> I/usr/local/kde4/include/knewstuff2 -I/usr/local/kde4/include/dnssd -
> I/usr/local/include/PolicyKit/polkit-qt -I/usr/local/include/PolicyKit   -
> DLIB_PYTHON=\"libpython2.5.so\" -o
> CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory.o -c
> /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonplu
> ginfactory.cpp /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonplu
> ginfactory.cpp: In function 'QLibrary* LoadPythonLibrary()':
> /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonplu
> ginfactory.cpp:301: error: 'RTLD_NOLOAD' was not declared in this scope
> *** Error code 1
> 
> Stop in /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3.
> *** Error code 1
> 
> Stop in /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3.
> *** Error code 1
> 
> Stop in /usr/ports/devel/kdebindings4-python-
> pykde4/work/kdebindings-4.3.3/python/pykde4.
> *** Error code 1
> 
> Stop in /usr/ports/devel/kdebindings4-python-pykde4.

Yep, we know about this. Fresh pyqt4/pykde4 stuff require full-featured rtld.
versions prior to 8.0-release affected. 
Still searching a workaround rolution

-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024


signature.asc
Description: This is a digitally signed message part.


Re: dvdauthor can't find fribidi headers?

2009-11-01 Thread Dima Panov
On Monday 02 November 2009 13:45:47 Jimmie James wrote:
> > Seems as dvdauthor is broken on 8-rc1...anything I might have done?
> >
> >
> > [st...@fyre /usr/ports/multimedia/dvdauthor]$ sudo make install clean
> > ===>  Building for dvdauthor-0.6.14_4
> > Making all in doc
> > gmake[1]: Entering directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
> > gmake[1]: Nothing to be done for `all'.
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/doc'
> > Making all in src
> > gmake[1]: Entering directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake  all-am
> > gmake[2]: Entering directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR="\"/usr/local/etc\""
> > -I/usr/local/include/libxml2 -I/usr/local/include
> > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
> > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
> >   -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
> > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \
> > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f
> > ".deps/subreader.Tpo"; exit 1; fi
> > subreader.c: In function 'sub_read_line_aqt':
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_read_line_subrip09':
> > subreader.c:717: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_fribidi':
> > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
> > function) subreader.c:1082: error: (Each undeclared identifier is
> > reported only once subreader.c:1082: error: for each function it appears
> > in.)
> > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
> > function) subreader.c:1102: warning: passing argument 3 of
> > 'fribidi_log2vis' from incompatible pointer type
> > gmake[2]: *** [subreader.o] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake[1]: *** [all] Error 2
> > gmake[1]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake: *** [all-recursive] Error 1
> > *** Error code 1
> 
> dvdauthor-0.6.14/src'
> 
> > gmake  all-am
> > gmake[2]: Entering directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > if cc -DHAVE_CONFIG_H -I. -I. -I.  -DSYSCONFDIR="\"/usr/local/etc\""
> > -I/usr/local/include/libxml2 -I/usr/local/include
> > -I/usr/local/include/ImageMagick -I/usr/local/include/freetype2
> > -I/usr/local/include -I/usr/local/include/fribidi -I/usr/local/include
> >   -I/usr/local/include -Wall -DICONV_CONV=yes -MT subreader.o -MD -MP
> > -MF ".deps/subreader.Tpo" -c -o subreader.o subreader.c; \
> > then mv -f ".deps/subreader.Tpo" ".deps/subreader.Po"; else rm -f
> > ".deps/subreader.Tpo"; exit 1; fi
> > subreader.c: In function 'sub_read_line_aqt':
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c:661: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_read_line_subrip09':
> > subreader.c:717: warning: comparison with string literal results in
> > unspecified behaviour
> > subreader.c: In function 'sub_fribidi':
> > subreader.c:1082: error: 'FRIBIDI_TRUE' undeclared (first use in this
> > function) subreader.c:1082: error: (Each undeclared identifier is
> > reported only once subreader.c:1082: error: for each function it appears
> > in.)
> > subreader.c:1083: error: 'FRIBIDI_FALSE' undeclared (first use in this
> > function) subreader.c:1102: warning: passing argument 3 of
> > 'fribidi_log2vis' from incompatible pointer type
> > gmake[2]: *** [subreader.o] Error 1
> > gmake[2]: Leaving directory
> > `/usr/ports/multimedia/dvdauthor/work/dvdauthor-0.6.14/src'
> > gmake[1]: *** [all] Error 2
> > gmake[1]: Leaving directory
> > `/usr/ports/mu

Re: I want install qutim

2009-09-01 Thread Dima Panov
On Wednesday 02 September 2009 06:57:48 ��� �� wrote:
> HI!
> My name is Alex
> I want install qutim , but he request:  Found qt4-designer-4.4.1, but you
>  need to upgrade to qt4-designer>=4.5.2. I tried install Qt 4.5.2 and
>  recive errror installation Qt 4.5.2 on FreeBSD
> 
> uname -a:
>  6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008
>  r...@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
> 
> archive name for installation:
>  qt-x11-opensource-src-4.5.2.tar.gz
> 
> my action :
>  tar -xvf qt-x11-opensource-src-4.5.2
>  cd   qt-x11-opensource-src-4.5.2
>  ./configure
> ./configure
> Which edition of Qt do you want to use ?
> 
> Type 'c' if you want to use the Commercial Edition.
> Type 'o' if you want to use the Open Source Edition.
> 
> o
> 
> 
> This is the Qt/X11 Open Source Edition.
> 
> You are licensed to use this software under the terms of
> the GNU General Public License (GPL) versions 3.
> You are also licensed to use this software under the terms of
> the Lesser GNU General Public License (LGPL) versions 2.1.
> 
> Type '3' to view the GNU General Public License version 3.
> Type 'L' to view the Lesser GNU General Public License version 2.1.
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
> 
> Do you accept the terms of either license? yes
> ...
> ...
> 
> Qt is now configured for building. Just run 'gmake'.
> Once everything is built, you must run 'gmake install'.
> Qt will be installed into /usr/local/Trolltech/Qt-4.5.2
> 
> To reconfigure, run 'gmake confclean' and 'configure'.
> 
> I type
> # gmake
> 
> 
> 
> 
> 
> 
> In file included from ../../include/QtGui/private/qfont_p.h:1,
>  from
>  ../../include/QtGui/private/../../../src/gui/text/qfontengineglyphcache_p.
> h:60, from ../../include/QtGui/private/qfontengineglyphcache_p.h:1, from
>  ../../include/QtGui/private/../../../src/gui/painting/qtextureglyphcache_p
> .h:61, from ../../include/QtGui/private/qtextureglyphcache_p.h:1, from
>  ../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_
> p.h:64, from ../../include/QtGui/private/qpaintengine_raster_p.h:1, from
>  ../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h:
> 58, from ../../include/QtGui/private/qdrawhelper_mmx_p.h:1, from
>  painting/qdrawhelper_mmx.cpp:46:
> ../../include/QtGui/private/../../../src/gui/text/qfont_p.h:149: error:
>  `ScriptCount' is not a member of `QUnicodeTables'
> 
> 
> 
> 
>  I want install qutim , but he request:  Found qt4-designer-4.4.1, but you
>  need to upgrade to qt4-designer>=4.5.2.
> 
> Help me please!
> 

Please read about ports/packages upgrading first:

http://www.freebsd.org/doc/ru/books/handbook/ports.html


-- 
Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 B018
Khabarovsk, Russia  | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 8F29
k...@freebsd Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept 1995
Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024
___
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: KDE4.1 - what is it about avahi-libdns and mDNSResponder

2008-08-13 Thread Dima Panov
On Wednesday 13 August 2008 17:57:17 Odhiambo Washington wrote:
> Hello Guys,
>
> I am trying to install KDE 4.1 on a FreeBSD 8-CURRENT system that I
> have inside VMware.
> I am having the installation failing because of conflict btn
> avahi-libdns and mDNSResponder - why does KDE 4.1 require both?
> I have pkg_deleted either of them but KDE4 still pulls both of them up
> and fails due to the conflict.
>
> Advise appreciated.

Try this patch, which fix wrong dependency list:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=126494


-- 
Dmitry "Red Fox" Panov @ Home  FreeBSD since September, 1995
Khabarovsk, Russia  YaIM:redfox_dm | Jabber.org:fluffy | ICQ:1745024

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


Re: make and gmake on FreeBSD

2007-07-27 Thread Dima Sorkin
Hi.
 See below.
>
> Lots of software sources are configured with GNU autotools, which is why
> a lot of third party software will only compile with GNU make. In the
> case of dealii, not only are its sources configured with autotools, but
> I looked at their docs and at http://www.dealii.org/developer/index.html
> you can plainly see that they "use GNU make, version 3.78 or later".
>
> I'm not sure where the confusion is ... but it seems like you think you
>   have to invoke GNU make under the moniker 'make'. But you don't, it's
> just a Linux convention to have GNU make installed as 'make'.
>

 The root of confusion is not in FreeBSD :) but in my thinking.
I totally forgot about the existence of BSD make untill it came
back to me:
 During installation of ATLAS some shell script or C program calls
'make' by the name "make", and I totally forgot it can be not the 'make'
I called the build process with.
After I was explained about it (by ATLAS people), everything went just fine.

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


Re: make and gmake on FreeBSD

2007-07-26 Thread Dima Sorkin

Hi.
Thank you very much. See below.
Regards, Dima.

On 7/27/07, Nikola Lecic  wrote:


No, make (BSD make) is a part of FreeBSD, gmake (GNU make) is a
third-party application, available through devel/gmake port.
They _are_ different.

Yes, I forgot there was an alias. See at the bottom of the message.


> and only with "gmake" I succeed to build serious projects.

This is very interesting observation, could you expand on this?


Well, I don't want to make claims without basis, as it is based only
on my memories :).
I so completely switched to gmake during the winter that I even forgot
I have an alias.

I didn't succeeded to compile projects from my univ studies, but I
afraid I use all those gnu extensions. I _think_ I didn't succeeded to
compile the DEAL.II lib without gmake.
These are projects that don't use the "recursive make" paradigm, at least not in
all places. They "-include" makefiles from lower hierarchies, but I
afraid gnu extension
sit there in every place. Not shure, though ...


[EMAIL PROTECTED] /usr/home/dsorkin]$ /usr/bin/make --version
make: illegal option -- -
usage: make [-BPSXeiknqrstv] [-C directory] [-D variable]
   [-d flags] [-E variable] [-f makefile] [-I directory]
   [-j max_jobs] [-m directory] [-V variable]
   [variable=value] [target ...]
[EMAIL PROTECTED] /usr/home/dsorkin]$ alias make
alias make='gmake'
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


make and gmake on FreeBSD

2007-07-26 Thread Dima Sorkin

Hi.
I have a FreeBSD 6.2, installed it from the distribution disks, no
changes by me.

There is a "make" and a "gmake" installed on it. They report that they
are the same programm, but in fact they behave completely different.
In fact only "gmake" behaves
like "GNU make" should behave and only with "gmake"
I succeed to build serious projects.

What happens here ?  What I the "make", where did it come from ?

How do I cause to system "make" behave as "gmake" ?

Thanks, regards,
Dima.

P.S.  see their output:
[EMAIL PROTECTED] /usr/home/dsorkin]$ make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd6.2
[EMAIL PROTECTED] /usr/home/dsorkin]$ gmake --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-portbld-freebsd6.2
[EMAIL PROTECTED] /usr/home/dsorkin]$ which make
/usr/bin/make
[EMAIL PROTECTED] /usr/home/dsorkin]$ which gmake
/usr/local/bin/gmake
[EMAIL PROTECTED] /usr/home/dsorkin]$ diff /usr/bin/make /usr/local/bin/gmake
Binary files /usr/bin/make and /usr/local/bin/gmake differ
[EMAIL PROTECTED] /usr/home/dsorkin]$
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: limitiation on memory allocation

2007-03-12 Thread Dima Sorkin

Hi.
Great. After some tries 2.9GB was the maximum that it works
with.  Ok with me.
--RESOLVED--

About 'dfldsiz' - I meant that I've set it in /boot/loader.conf
via 'su -' , and rebooted the machine. It didn't influenced.
(It was the first try today, may be I did something wrong, though.)
But the 'maxdsiz' works fine, and 'limits' shows the value
I've set (2.9G).

Thank you.
Dima.

On 3/12/07, Chuck Swiger <[EMAIL PROTECTED]> wrote:

On Mar 12, 2007, at 12:02 PM, Dima Sorkin wrote:
> Something is probably wrong.
> kern.dfldsiz on my machine does not influence.

I don't believe you can change that value after the system has
booted-- you have to set it either in the kernel's config file, or
in /boot/loader.conf, for this to actually take effect.

> I.e. after booting I run
> $ limits
> and it shows me the old 500M.
>
> Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I
> must check.
> I tried 3.9G   :)

Try using 3GB, agreed.

Also, please note that the dftdsiz keyword affects the "hard" limit,
not the "soft" limit...your shell might well have 500MB "soft" dsize
limit by default, but would permit you to change that upward to the
maximum set by the "hard" limit once you've changed that value.

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


Re: limitiation on memory allocation

2007-03-12 Thread Dima Sorkin

Hi.
Something is probably wrong.
kern.dfldsiz on my machine does not influence.
I.e. after booting I run
$ limits
and it shows me the old 500M.

Now, a point about 'maxdsiz'= 3.0-3.5G instead of 4G - this one I must check.
I tried 3.9G   :)

Thanks,
Dima.

On 3/12/07, Chuck Swiger wrote:


It is certainly possible to configure FreeBSD to allow a single
process to access more memory than is phyiscally installed.  For
example, I have a machine with 512MB of RAM, and set:

   kern.dfldsiz="1G"

...in /boot/loader.conf, and this works just fine.  Admittedly, when
a process does exceed 512MB in dsize, the system starts swapping
quite a bit, but that's how virtual memory works.

However, you cannot set maxdsiz greater than 4GB [1] if you are
running a 32-bit version of FreeBSD.  Enabling PAE will let the
kernel access more than 4GB of physical RAM, but nothing is going to
let a 32-bit system give more than 4 GB [1] to a single process...if
you want to do that, then you'll need to switch to running a 64-bit
version of FreeBSD.

--
-Chuck

[1]: Well, 3.5GB or 3GB, actually...due to the top portion of address
space being occupied by PCI device space and the kernel.


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


choosing window manager

2007-03-12 Thread Dima Sorkin

Hi.
1) How do I start KDE / FVWM2/ GNOME / TWM / Windowmaker ?
   ( I've choosed them during installation )

2) Is there some nice "welcome" program,
that allows to choose a session kind ?

Dima.

On FreeBSD 6.2 i386,

startx-- starts TWM


root> gdm   -- starts gnome desktop manager,
  which allows to start only GNOME
(I was used that it allows to launch any WM,
 but in this case - only GNOME).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: limitiation on memory allocation

2007-03-12 Thread Dima Sorkin

Hi.
I experimented with the values:

1) On my machine 'maxusers' doesn't influence the maximum memory
allowable for allocation for single process.

2) 'maxdsiz' -  Yes, as long as I keep 'maxdsiz + maxssiz' below physical
memory size - everything is fine. Single process allocates successfully
up to 'maxdsiz'.
   When tried to put 'maxdsiz' > phys mem size,
 indeed the system failed to boot, in all modes:
 multiuser, singleuser, safe.

So I derive from here that there is no way to cause a _single process_
on FreeBSD to allocate more than physical memory size (?)

Thank you and regards,
Dima.


On 3/9/07, Derek Ragona <[EMAIL PROTECTED]> wrote:

 Not all the settings there are tuneable.  In 6.X the allowable memory is
somewhat automatic based on the max users.  Your kernel is set to 384.  You
can try changing that.

 You can also make some kernel settings in:
 /boot/loader.conf

 You can see the possible variables to set in:
 /boot/defaults/loader.conf

 I think the one variable you may want to change is:
 kern.maxdsiz="to your actual real memory size"
 Don't make this larger than the real memory, in my experience that will
cause the system to not boot properly into multi-user.



 At 11:06 AM 3/9/2007, Dima Sorkin wrote:
  On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
  more than 500Mb for my program.

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


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
Thanks for resolving the case.
diskonkey works fine.
Dima.
On 3/12/07, Wojciech Pucha wrote:
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
Yes !  I see da0. Thanks for everybody meanwhile.

(I should relogin as root, put myself in 'wheel' group, then
I will check whether it works)

Dima.

On 3/12/07, Wojciech Puchar <[EMAIL PROTECTED]> wrote:

> ...
> umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.25, addr 3
> ...
>
> which means that I should
>> mount -o rw -t vfat /dev/umass0 MNT_POINT
> as root
> ?
>

see farther so da0 (or 1,2,3) will show in logs

if it doesn't you may have not compiled da and scbus

then /dev/da0 will be the device and /dev/da0s1 - dos partition

> Thanks and regards,
> Dima.
>
> On 3/12/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>> On 3/12/07, Dima Sorkin <[EMAIL PROTECTED]> wrote:
>> >
>> > Hi.
>> > By what device name should I mount
>> > the flash memory disk ("disk-on-key").
>> >
>> > On linux it was /dev/sdb0, what is it's name on FreeBSD ?
>> >
>> > Thanks,
>> > Dima.
>> > ___
>> > freebsd-questions@freebsd.org mailing list
>> >
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> > To unsubscribe, send any mail to
>> [EMAIL PROTECTED]
>> >
>>
>>
>>
>> What does dmesg call it after you insert it?
>>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>
>


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


Re: diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
I see there
...
umass0: SanDisk Corporation Cruzer Mini, rev 2.00/1.25, addr 3
...

which means that I should

mount -o rw -t vfat /dev/umass0 MNT_POINT

as root
?

Thanks and regards,
Dima.

On 3/12/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote:




On 3/12/07, Dima Sorkin <[EMAIL PROTECTED]> wrote:
>
> Hi.
> By what device name should I mount
> the flash memory disk ("disk-on-key").
>
> On linux it was /dev/sdb0, what is it's name on FreeBSD ?
>
> Thanks,
> Dima.
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
[EMAIL PROTECTED]
>



What does dmesg call it after you insert it?


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


diskonkey

2007-03-12 Thread Dima Sorkin

Hi.
By what device name should I mount
the flash memory disk ("disk-on-key").

On linux it was /dev/sdb0, what is it's name on FreeBSD ?

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


Re: limitiation on memory allocation

2007-03-10 Thread Dima Sorkin

Hi.
I've read some pages about 'kern.maxusers', 'kern.maxdsize'.
I have questions:
1)
After I reduce 'maxusers' to some reasonable amount for that computer (say 10),
and enlarge 'maxdsize', will a user process be able to allocate
arrays that are considerably bigger than the physical memory size ?
This is what I really need. I run processes in which it can come to
1.5x-2x ratio.

2) Following the
http://www.opennet.ru/openforum/vsluhforumID1/40543.html#1
Should I put   maxdsize == phys mem size, or should I put it lower
(by how much) ?

3) On Intel pentium 4 machine with 2GB phys memory,
during installation where almost all options were taken as defaults,
should I worry that kernel is not configured to use PAE ?
Installation program by default allocated 4GB swap,
so totally it is 6GB. How do I check this ?

Thanks,
Dima.

On 3/9/07, Derek Ragona  wrote:


 Dima,

 Not all the settings there are tuneable.  In 6.X the allowable memory is
somewhat automatic based on the max users.  Your kernel is set to 384.  You
can try changing that.

 You can also make some kernel settings in:
 /boot/loader.conf

 You can see the possible variables to set in:
 /boot/defaults/loader.conf

 I think the one variable you may want to change is:
 kern.maxdsiz="to your actual real memory size"
 Don't make this larger than the real memory, in my experience that will
cause the system to not boot properly into multi-user.

 -Derek

...


  On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
  more than 500Mb for my program.

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


Re: ssh login as root

2007-03-10 Thread Dima Sorkin

Hi.
Actually I would prefer to do it via "su".
Here a really newbie question:
1) How do I join regular user to 'wheel' group ?
2) How do I join a user to some group 'some_group' ?.
Which manpage to read ?

Thanks,
Dima.

On 3/10/07, Guido Demmenie <[EMAIL PROTECTED]> wrote:


Default setting is that root can not login via ssh (and that's how
you want it).
You can use su(1) to gain root privileges when loged in on your box
with a normal
user if needed (if you are in the group wheel).

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


ssh login as root

2007-03-10 Thread Dima Sorkin

Hi.
It _seems_ that FreeBSD does not allow root to login remotely via ssh.
I can miss something, but if I right, how
do I allow it ?

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


limitiation on memory allocation

2007-03-09 Thread Dima Sorkin

Hi.

On FreeBSD 6.2 i386 with 2GB of physical memory I can't allocate
more than 500Mb for my program.

I'm a new to FreeBSD. Is this limitatin is something known,
how do I overcome it ?

(On linuxes I can allocate arrays of size close to sum
of physical and swap memory, on similar machines)

Thank you and regards,
Dima.

$ top
...
Mem: 65M Active, 357M Inact, 142M Wired, 404K Cache, 112M Buf, 1437M Free
Swap: 4070M Total, 4070M Free
...

test code:
---
#include
#include

const unsigned M = 1024*1024;
const unsigned X = 510; // will fail with X > 510

int main() {
 std::vector huge_v1(X*M);  // fails in both ways
 // boost::shared_array huge( new char[X*M] );
}
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


acd0, error=0x00

2007-01-08 Thread dima
Hello.

Can anybody tell me why that may happens?:
acd0: READ_BIG - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00
acd0: READ_BIG - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00
acd0: READ_BIG - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00
acd0: READ_BIG - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00
acd0: READ_BIG - MEDIUM ERROR asc=0x02 ascq=0x00 error=0x00

P.S. FreeBSD 4.11-RELEASE-p13, acd0 - TEAC CD-RW.
--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LINUX_LDLIBS = -ldl

2006-12-31 Thread dima
On Sun, 31 Dec 2006, Dan Nelson wrote:

> > I'm trying to compile "TransConnect" 
> > (http://sourceforge.net/projects/transconnect), but compilation 
> > aborts with a message: /usr/libexec/elf/ld: cannot find -ldl

> The functions in Linux's libdl are in FreBSD's libc, so just remove
> -ldl .

Remove or just chage to lc.6?
lc.6 => /usr/lib/libc.so.6

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


LINUX_LDLIBS = -ldl

2006-12-31 Thread dima
Hello.

I'm trying to compile "TransConnect" 
(http://sourceforge.net/projects/transconnect), but compilation aborts 
with a message: /usr/libexec/elf/ld: cannot find -ldl

So, can anyone have idea how to solve this problem?

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tor, segmentation fault.

2006-12-28 Thread dima
On Wed, 27 Dec 2006, Garrett Cooper wrote:

> >>> ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and 
> >>> "tor" here always exit with signal 11 and Segmentation fault 
> >>> message.

> Hmmm... doesn't look like you have any bad options.. You should try 
> compiling the port with the debug flag (-g) and see if you can point 
> out where it core dumps and then reply with that info or transfer 
> that information on to the maintainer.

GDB back trace outputs should be bot enough?
I asume the "-g" (debug flag) is a argument. But "make" does not have 
such arg. Where I should add the "-g" arg to?

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: tor, segmentation fault.

2006-12-27 Thread dima
On Wed, 27 Dec 2006, Garrett Cooper wrote:

> > Does anybody there have experience how to run an 
> > ports/security/tor ? I have use FreeBSD 4.11-RELEASE-p13 and "tor" 
> > here always exit with signal 11 and Segmentation fault message.

> Could you provide your make.conf settings, in particular your 
> CFLAGS, CXXFLAGS, and CPUTYPE, or maybe the custom settings in your 
> ports config file(s), etc?

cat make.conf | grep ...
#NO_CPU_CFLAGS= true# Don't add -march= to CFLAGS automatically
#CFLAGS= -O -pipe
BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
   -Wcast-qual -Wchar-subscripts -Winline \
   -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
   -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
#SENDMAIL_CFLAGS=
CPUTYPE=i686
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized

Ports config? Where is it?

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


tor, segmentation fault.

2006-12-27 Thread dima
Hello.

Does anybody there have experience how to run an ports/security/tor ?
I have use FreeBSD 4.11-RELEASE-p13 and "tor" here always exit with 
signal 11 and Segmentation fault message.

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: limit descriptors

2006-12-27 Thread dima
On Wed, 27 Dec 2006, Marwan Sultan wrote:

> Why do you need to change it?
> is it for IRCD server ? If yes..then you have to change many things, 
> not only the output of ulimit -a,

ports/security/tor require 1000 descriptors.

> vi /etc/sysctl.conf
> kern.maxfiles=16384
> kern.maxfilesperproc=8192

> these changes will change the output you are asking for..
> If it does, then please let me know about it,
> as last time i have done these changes was in FreeBSD 4.8R

Thank you for advices.

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


limit descriptors

2006-12-26 Thread dima
Hello.

How to change permanently a value of "ulimit -n" (limit descriptors)? 

--
dima <7509107*mail,ru> <2:550/112>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.1 setup doesn't see my HDD

2006-11-27 Thread Dima
> On Mon, Nov 27, 2006 at 06:58:32PM +0200, Dima wrote:

> Hmmm.   I am presuming you are booted from an install CD.
Yes, I'm booting from install CD.

>> By the way there are some error messages regarding this on Ctrl+Alt+F2
>> (during install), but they say nothing to me:
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
>> ad0: FAILURE - READ_DMA status=51
>> error=84
>> LBA=0
>> They're repeated 4 times.
>
> Hmmm.
> I don't remember seeing anything like those when I had the afore-mentioned
> problem.  That looks like something is connected wrong or being addressed
> wrong.  It isn't a geometry issue, I don't think.

But Red Hat 9 still works fine on that hardware. What can be wrong?

>> My HDD is Master on first IDE-channel, CD-ROM - Secondary on the same
>> channel.
>
> Can you find the dmesg information for both the disk and the CD reader
> during the boot?   Are they producing device identifiers and specs that
> look correct?
> Those lines will start with 'adnn:' and 'acdnn:' where nn is a number,
> probably '0' (you hope).

Yes, I can:
ad0: 238457 MB  at ata0-master UDMA
acd0 . at ata0-slave looks fine too (I'm too lazy to copy it :)
Also I have ad2 and it seems fine on dmesg too.
After that goes

ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
ad0: FAILURE - READ_DMA status=51

and repeats 3 times.


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


Re: FreeBSD 6.1 setup doesn't see my HDD

2006-11-27 Thread Dima
> On Mon, Nov 27, 2006 at 01:10:16PM +0200, Dima wrote:
> Usually, with FreeBSD, you just ignore those geometry messages.
> This should be especially true if you plan to use the whole disk
> for FreeBSD.The geometry that is reported is "virtual" and does
> not really mean anything for you.Don't try to do anything to the
> BIOS settings for it either.Just take the [fdisk] option that says
> to create one large slice comprising the whole disk for FreeBSD and it
> should overwrite everything nicely.
>
> If this doesn't work then it will be necessary to know more about
> just what kind of disk you are trying to use.

I've tried to create one large slice too. All goes fine until Commit. When
install tries to write on disk it shows:
ERROR: Unable to write data to disk ad0!

By the way there are some error messages regarding this on Ctrl+Alt+F2
(during install), but they say nothing to me:
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
ad0: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=0
ad0: FAILURE - READ_DMA status=51 error=84
LBA=0
They're repeated 4 times.

My HDD is Master on first IDE-channel, CD-ROM - Secondary on the same
channel.


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


FreeBSD 6.1 setup doesn't see my HDD

2006-11-27 Thread Dima
Hi all.
 I have Red Hat Linux 9 running on my server with HDD Western Digital
WD2500JB (250 GB IDE). I'd like to move to FreeBSD 6.1.
 During install from CD setup doesn't recognize geometry of my HDD (it
says 484521/16/63 is wrong geometry and switches it to 30401/255/63, but
after that still can't write anything). Red Hat works with geometry
30401/255/63. Also I've tried to enter data from BIOS - it doesn't help
too.
 On HDD's manufacturer site I've read, that recommended geometry is cyls
16383, secs 63; total sector count - 488 397 168.

 Can someone help me to solve this problem?

 Thank you.

 Dmitriy.

__
Отправлено http://webmail.meta.ua/

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


install vmware 3 on freebsd 5.3

2006-01-26 Thread dima
installing vmware well, but in the end - problem:

...
Do you accept? (yes/no) yes
Thank you.
You are not running Linux.  This version of the product only runs on Linux.
Execution aborted.

>> what to do, that pass this problem and run vmware?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


vmware

2006-01-23 Thread dima
what the steps need to do in configuration files & programs, that install 
vmware_5.5 on FreeBSD_6.0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


(no subject)

2006-01-20 Thread dima
how dial-up from server on home pc and start using internet (both computers - 
freebsd_6.0)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: smartmontools question

2005-04-19 Thread dima

On Tue, Apr 19, 2005 at 11:26:24AM +0200, Kees Plonsz wrote:

> FreeBSD Daemon wrote on Tuesday 19 April 2005 10:34 in the group 
> list.freebsd.questions:
> 
> > dear list,
> > 
> > i just installed smartmonutils from ports on a 4.11-release box.
> > 
> > when i run
> > 
> > # /usr/local/sbin/smartctl -a ad0
> > 
> > I get the error message
> > 
> > smartctl version 5.30 Copyright (C) 2002-4 Bruce Allen
> > [snip]
> > Smartctl open device: ad0 failed: Inappropriate ioctl for device
> > 
> > the same with the second disk in the system (ad2).
> > the same if i user /dev/ad[02]+.
> > 
> > what might be the problem?
> > 
> > TIA
> > 
> 
> S.M.A.R.T. must be supported by your hardware (disk & diskcontroller)
> and be enabled through your bios setup.
> smartctl must be run by root.
> 
and moreover, it must be supported by ATAng which presented only in 5.x branch

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


Re: the Gimp no longer opens jpeg files

2005-04-15 Thread dima
On Thu, Apr 14, 2005 at 09:12:26PM +0200, FreeBsdBeni wrote:
> On Thursday 14 April 2005 09:59, dima wrote:
> > Hi All,
> > I've cvsuped from 5.3-p5 to 5.4-RC2, done portupgrade and now gimp-2.2.6,1
> > can't open jpeg files with the following message:
> >
> > /usr/X11R6/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation fault
> >
> >
> > What have I missed?
> > please, help me.
> >
> >
> > I found something in google, but it is in German :-( I don't know this
> > language http://www.bsdforen.de/showthread.php?t=9667
> >
> >
> > -Dmitry
> 
> In the last entry there is a link with the answer : http://tinyurl.com/6p6su 
> (an update of libexif should do the trick they say...).
> 
> Hope this helps,
> -- 
> Beni.

Yes it helped.
It is looks like a bit deley between mirrors as I cvsuped on 14th apr in the
morning with cvsup4.ru.FreeBSD.org and there was not libexif-0.6.12_1 bugfix
port which appeared on 13th. May be it is because of shift of time.
Nethermind. Now works fine.

Thanks a lot.

-Dmitry

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


the Gimp no longer opens jpeg files

2005-04-14 Thread dima
Hi All,
I've cvsuped from 5.3-p5 to 5.4-RC2, done portupgrade and now gimp-2.2.6,1 
can't open jpeg files with the following message:

/usr/X11R6/libexec/gimp/2.2/plug-ins/jpeg: fatal error: Segmentation fault


What have I missed?
please, help me.


I found something in google, but it is in German :-( I don't know this language
http://www.bsdforen.de/showthread.php?t=9667


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


Re: Ipfw accept rule

2004-09-24 Thread dima
В пт, 24.09.2004, в 10:20, Bikrant Neupane пишет:
> On Thursday 23 September 2004 22:29, Jon Simola wrote:
> > On Thu, 23 Sep 2004, Bikrant Neupane wrote:
> > > Here is my rule set:
> > >
> > > #skip dependind the pkt layer
> > > 01000   32214780 skipto 1 ip from any to any layer2 in via xl0
> > > 01100   20093204 skipto 2 ip from any to any not layer2
> > >
> > > #rule num 1 to 2 allocated for layer2 filtering
> > > #for mac filter: allow only listed mac to send traffic
> > > 139 1780 allow ip from any to any MAC any 00:00:0e:84:00:83
> > > in via xl0
> > > #default deny all mac coming in from xl0
> > > 19997   28413046 deny ip from any to any MAC any any in via xl0
> >
> > If this is layer2 filtering, where are the layer2 tags in the ipfw rule?
> > And if this is the extent of your layer 2, then don't forget an allow/deny
> > default for layer2 packets (allow ip from any to any layer2). Also, you're
> > only checking your layer2 on a specific interface, perhaps you only have
> > one.
> >
> > I've got something like:
> > 00010 skipto 32000 ip from any to any not layer2
> > 00050 deny ip from any to any MAC any 00:30:da:00:00:00/24 layer2 in
> > 00055 count ip from any to any MAC any 00:0b:db:1d:63:56 layer2 in //
> > sniffing for traffic 03100 allow ip from any to any layer2
> > // bandwidth monitoring pipes
> > 32003 pipe 3 ip from any to any src-ip 10.10.66.0/24 in recv em1
> > 32004 pipe 4 ip from any to any dst-ip 10.10.66.0/24 out xmit em1
> > 65534 allow ip from any to any
> > 65535 deny ip from any to any
> >
> Well, I have no problem with the MAC filtering rules.
> Only problem that I am having is that the pkts hit the matching rule twice as 
> a result I get only half of the b/w than that specified in ipfw pipe command.
> 
> 
> 35004   324   485880 pipe 202 ip from any to 202.79.45.254 out via xl0
> 35005   30212080 pipe 203 ip from 202.79.45.254 to any out via em0
> 
> Isn't there a way to construct rules such that matching pkts hit the rule only 
> once?
$ man ipfw
[skip]
pipe pipe_nr
Pass packet to a dummynet(4) ``pipe'' (for bandwidth limitation,
delay, etc.).  See the TRAFFIC SHAPER (DUMMYNET) CONFIGURATION
Section for further information.  The search terminates; however,
on exit from the pipe and if the sysctl(8) variable
net.inet.ip.fw.one_pass is not set, the packet is passed again to
the firewall code starting from the next rule.
[skip]
$

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


Re: CRW-600 MultiCard reader

2003-04-01 Thread Dima Veselov
On Tue, Apr 01, 2003 at 02:17:33PM +0100, Scott Mitchell wrote:

Hello, Scott!

> > Hello there!
> > I have problem using Multi-Card reader CRW-600 6-in-1
> Hi Dima,

First of all, I want to thank you for your pretty detailed answer. 
Thanks.

Your are right, it is 6-in-1 device with 4 slots.

> first one is recognised automatically.  Try this:
> # camcontrol rescan 1:0:1

I have tried these commands and more (up to 1:0:10 as experiment) and now
I have 

[EMAIL PROTECTED] dev]$ camcontrol devlist 
at scbus0 target 3 lun 0 (pass0,da0)
  at scbus0 target 5 lun 0 (pass1,cd0)
at scbus0 target 6 lun 0 (pass2,cd1)
   at scbus1 target 0 lun 0 (da1,pass3)
   at scbus1 target 0 lun 1 (da2,pass4)
   at scbus1 target 0 lun 2 (da3,pass5)
   at scbus1 target 0 lun 3 (da4,pass6)
 at scbus1 target 0 lun 4 (pass7)
 at scbus1 target 0 lun 5 (da5,pass8)
 at scbus1 target 0 lun 6 (da6,pass9)
 at scbus1 target 0 lun 7 (da7,pass10)
 at scbus1 target 0 lun 8 (pass11)
 at scbus1 target 0 lun 9 (da8,pass12)
 at scbus1 target 0 lun 10 (da9,pass13)

Something strange happens when I try to use it - when camcontrol rescans devices
kernel says, that da* device attached. On first four devices it says 'no medium
present', and on other it says medium present with size=0.

Well, it is great that now I have 4 devices, but - CF slot is first (da1) and it was
present before, and as I assume it is to be mountable. There is CF card - 128 Mb,
it worked before and it was used in this reader (under Windows). So, problem is not
in the card or reader.

As the kernel says I have no medium present in all four slots - da1-da4 it says 
that devices da1-da4 are not configured. 

As I noticed in your old letter - when you made rescan, kernel found card 62Mb,
but mine do not find it at all. 

I tried to remake da1-da4 device nodes in /dev, I tried fdisk, but every time
got a message: da1: device not configured.

Removing/inserting CF card doesn't make anything to change.

Have any ideas why it can happen or how I can debug reader behaviour?

By the way, does not this two commands say card is somehow recognized?:

[EMAIL PROTECTED] dev]$ camcontrol periphlist 1:0:1
camcontrol: cam_real_open_device: couldn't open passthrough device /dev/pass4
cam_real_open_device: No such file or directory
[EMAIL PROTECTED] dev]$ camcontrol periphlist 1:0:0
da1:  generation: 8 index: 1 status: MORE
pass3:  generation: 8 index: 2 status: LAST

Thanks for attached letter, I hope it was pushed in archives for future users
search.
I hope your letter I'm now replying did so too.

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


CRW-600 MultiCard reader

2003-04-01 Thread Dima Veselov
Hello there!

I have problem using Multi-Card reader CRW-600 6-in-1

When I attach it kernel says
Mar 27 15:31:49 laura /kernel: umass0: MCRW USB Multi-Card Reader, rev 1.10/0.12, addr 
2
Mar 27 15:31:49 laura /kernel: da1 at umass-sim0 bus 0 target 0 lun 0
Mar 27 15:31:49 laura /kernel: da1:  Removable Direct 
Access SCSI-0 device 
Mar 27 15:31:49 laura /kernel: da1: 650KB/s transfers
Mar 27 15:31:49 laura /kernel: da1: Attempt to query device size failed: NOT READY, 
Medium not present

If I try to use any device to mount it says
Mar 27 15:33:32 laura /kernel: (da1:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 
0 0 0 0 0 
Mar 27 15:33:32 laura /kernel: (da1:umass-sim0:0:0:0): NOT READY asc:3a,0
Mar 27 15:33:32 laura /kernel: (da1:umass-sim0:0:0:0): Medium not present

After several attaches and detaches of this device on attach I get
Apr  1 12:11:22 laura /kernel: umass0: MCRW USB Multi-Card Reader, rev 1.10/0.12, addr 
2
Apr  1 12:11:22 laura /kernel: cam_periph_alloc: attempt to re-allocate valid device 
da1 rejected
Apr  1 12:11:22 laura /kernel: daasync: Unable to attach to new device due to status 
0x6

But, after reboot it is back to normal operation.

So, the questions are: how I should use it? Should kernel have some quirks about this
device or not? Why da1 device is still allocated?
My system is FreeBSD-4.7/i386, but I tried this device on latest 4-STABLE.

Thanks in advance, please make CC to me.

[EMAIL PROTECTED] files]$ camcontrol devlist
at scbus0 target 3 lun 0 (pass0,da0)
  at scbus0 target 5 lun 0 (pass1,cd0)
at scbus0 target 6 lun 0 (pass2,cd1)
   at scbus1 target 0 lun 0 (pass3,da1)

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


Surecom EP-320x-s install problem

2003-02-28 Thread Dima Fadeyev
Hi, everybody.
I'm experiencing a problem with installation of an ethernet card Surecom EP-320X-S. 
Here is what the README file says, which instructions I've been following during the 
installation:
#cp if_fet.c /sys/pci
#cp if_fetreg.h /sys/pci
modify /sys/conf/files: pci/if_fet.c optional fet device-driver
modify /usr/src/sys/i386/conf/GENERIC: device  fet0

#config GENERIC gave me an error: 'device-driver' flag obsolete
I've removed that line from /sys/conf/files. 
#make depend gave me several error messages abount non existing files, that if_fet.c 
is referencing.

It seems like the files supplied are for some earlier version of FBSD, but the floppy 
is dated year 2000, so I'm confused quite a bit. Please help me to solve this problem.



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


I have problems with my Accton MPX 5038B TX 10/100 Fast Ethernet Adapter.

2003-01-28 Thread Dan Dima
Hello,

I'm a newbie regarding FreeBSD OS,
but i have some knowledges about Unix generally.
My NIC (as i saw on some mail-lists, a "known"
problem) cannot map ports to memory..
it seems that i have to set PNPBIOS option
NO but this appear only in LINT uncommnented,
while in GENERIC is missing.. 
..another chance guess right "iomem"!
I tried to boot after LINT w some changes, 
but i doubt that i will succed soon...
BIOS is a JK version, a weird one, contains 
nothing about NIC & PnPOS there?!? 
So what should i have to do to solve my problem?
I attached here dmesg. Please note that configuring
of XFree also fails, i can't save after.. i have
not enough information about dispaly(hp 56),
-video card driver seems to be i810e-intel.

Thank you,
Best regards,
Dan Dima


__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #0: Tue Jan 28 16:00:46 EET 2003
root@:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (897.28-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  
Features=0x383fbff
real memory  = 65994752 (64448K bytes)
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di ed0
config> di cs0
config> di bt0
config> di aic0
config> di aha0
config> di adv0
config> q
avail memory = 59072512 (57688K bytes)
Preloaded elf kernel "kernel" at 0xc050f000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc050f09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 7 entries at 0xc00fdf50
npx0:  on motherboard
npx0: INT 16 interface
pcib0:  on motherboard
pci0:  on pcib0
pci0:  at 1.0 irq 11
pcib1:  at device 30.0 on pci0
pci1:  on pcib1
rl0:  irq 11 at device 14.0 on pci1
rl0: couldn't map ports/memory
device_probe_and_attach: rl0 attach returned 6
isab0:  at device 31.0 on pci0
isa0:  on isab0
atapci0:  port 0x1800-0x180f at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0:  port 0x1820-0x183f irq 9 at device 31.2 on 
pci0
usb0:  on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1:  port 0x1840-0x187f,0x2000-0x20ff 
irq 10 at device 31.5 on pci0
orm0:  at iomem 0xc-0xc7fff on isa0
fdc0:  at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0:  at port 0x60,0x64 on isa0
atkbd0:  flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0:  irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0:  at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
ppc0:  at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/16 bytes threshold
plip0:  on ppbus0
lpt0:  on ppbus0
lpt0: Interrupt-driven port
ppi0:  on ppbus0
ad0: 19458MB  [39535/16/63] at ata0-master UDMA66
Mounting root from ufs:/dev/ad0s3a



mount problems

2002-12-10 Thread Dima Fadeyev
Hi, everybody.
When I try to mount cd-rom with
mount -t cd9660 /dev/cd0c /mnt
I'm always getting "device is busy", but cdrom is being
mounted anyway.
Does anyone know what causes this "device is busy" error?
I'm using FreeBSD 4.6. Samsung 40x (SF-140) cdrom.
thanx.

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



FreeBSD vs. Linux

2002-12-07 Thread Dima Fadeyev
Hi, List.
I'm new to FreeBSD and was just wondering what are the major differences between 
FreeBSD and Linux. In what fields FreeBSD actually does a better job? 

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



Re:

2002-11-12 Thread dima
Anyone else running into this?   If not, I have some f$%'d
hardware.

===> gnu/usr.bin/texinfo/infokey
cc -O -pipe  -DHAVE_CONFIG_H
-DLOCALEDIR=\"/usr/share/locale\" 
-I/usr/src/gnu/usr.bin/texinfo/infokey/../../../../contrib/texinfo
-I/usr/src/gnu/usr.bin/texinfo/infokey/../../../../contrib/texinfo/lib   
-D__FBSDID=__RCSID -c
/usr/src/gnu/usr.bin/texinfo/infokey/../../../../contrib/texinfo/info/infokey.c
cc: Internal compiler error: program cc1 got fatal signal 11
*** Error code 1
it was a well known hardware stress-test several years ago; i mean 
running gcc on large chunks of code. signal 11 points @ hardware probs, 
usually the RAM ones.



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