Re: Networking IP Address Issues : NetBSD on Xen VM

2012-07-04 Thread Subhro Sankha Kar


On 04-Jul-2012, at 10:22 AM, dhaneshk k wrote:

 
 List,
 
 Please ignore my previous mail  with the same subject line because there was 
 a terrible formatting  mistake.
 Please see the attached pdf  which briefs the problem in assigning the IP 
 address to the netbsd virtual machine.
 The Xen VM is running on Debian/ GNU Linux.

I am assuming you are trying to get a bridge setup working. What is the bridge 
configuration in dom0?

On a separate note, your email still is not proper. Learn to put contents in an 
email rather describing your problem in a PDF.

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002


 
 
 From: sub...@80386.org
 Date: Wed, 4 Jul 2012 00:06:56 +0530
 To: dhanes...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: Networking IP Address Issues : NetBSD on Xen VM
 
 
 On 03-Jul-2012, at 12:34 PM, dhaneshk k wrote:
 
 
 The Same problems
 discussed here were faced.
 
 Any hints to solve these issues much appreciated.
 
 No hints till you learn how to format your email properly, a basic 
 requirement when posting to a mailing list.
 
 
 Thank you
 
 You are welcome.
 
 Subhro
 
 --
 Subhro Sankha Kar
 System Administrator
 Working and Playing with FreeBSD since 
 2002___
 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
 
 NETBSD-AS-A-VIRTUAL-MACHINE-IPAddress_Issues.pdf___
 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

___
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: Tweetless

2012-07-04 Thread Subhro Sankha Kar
On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote:

 On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:
 
 Hello,
 
 On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:
 
 Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:
 
 Call me crazy, but it seems that since the perl bump (5.12 - 
 threaded-5.16)
 when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
 load, give me the slow loading banner, and the page (not browser or X)
 freezes, but no such problems were evident before, and twitter seems
 entirely normal in Opera 12.00.
 
 
 Disabling SPDY in about:config (a solution proposed on the net) didn't fix
 this issue.
 
 
 
 Another thing that doesn't work is rebuilding firefox from the ground up
 with portupgrade -fR firefox.

Where does it burp? Can you post, say, the last 10-15 lines of the compile?


 
 Can you post the contents of about:config and also try to launch FF from
 command line and see if there is anything interesting reported back? Also, I 
 hope you do not have any funky CFLAGS set in your make.conf?
 
 Of course firefox will not run from the command line (Error: no display
 specified), but there are no messages as firefox fails repeated to load
 twitter pages fully when firefox is launched in an xterm.

Sorry for the ambiguity, I indeed meant to launch FF from xterm (or some 
equivalent Terminal Emulator in X) and report back the error. But since you say 
there is no problem with that, guess things should be good.

 
 make.conf:
 
 QT4_OPTIONS=  CUPS
 WITH_GCC = yes
 # added by use.perl 2012-07-03 02:17:12
 PERL_VERSION=5.16.0

This looks pretty generic, so nothing to complain about.

 
 
 I hate GUIs, so my mouse-fu skills are not good enough to copy about.config,
 but here is a save as

snip

Okay, try this out. Go to preferences and disable hardware acceleration. Also 
go to about:config and search for gfx. Set the property 
gfx.direct2d.disabled to true. Bounce the browser and go to about:support. 
At the bottom of the page, GPU Accelerated Windows should read 0/1. See if 
that makes a difference.

Thanks
Subhro
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

___
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: Tweetless

2012-07-04 Thread Subhro Sankha Kar


On 04-Jul-2012, at 7:44 PM, Lars Eighner wrote:

 On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:
 
 On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote:
 
 On Wed, 4 Jul 2012, Subhro Sankha Kar wrote:
 
 Hello,
 
 On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:
 
 Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:
 
 Call me crazy, but it seems that since the perl bump (5.12 - 
 threaded-5.16)
 when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
 load, give me the slow loading banner, and the page (not browser or X)
 freezes, but no such problems were evident before, and twitter seems
 entirely normal in Opera 12.00.
 
 
 Disabling SPDY in about:config (a solution proposed on the net) didn't fix
 this issue.
 
 

Let us for a minute assume that there is nothing wrong with FF. How about 
installing Firebug and see in the Net tab that what precisely is happening 
when you load the Twitter main page? Is it waiting for apparently no reason at 
a particular place? Also, not strictly required, but can you also pass the 
traffic through something like LiveHTTPHeaders and post a traffic dump? As a 
third step, run a pcap session and see what is happening on the wire/air ?


 
 Adapter Description
   GLXtest process failed (exited with status 1): GLX version older /
 than the required 1.3
 
 WebGL Renderer:
   Blocked for your graphics card because of unresolved driver issues.
 
 GPU Accelerated Windows: 0. Blocked for your graphics driver version. /
   Try updating your graphics driver to version /
   Anything with EXT_texture_from_pixmap support or newer.

This probably means that none of the advanced rendering stuff work on your X 
setup.

 
 The only drivers that work with this machine (Intel G33) are intel and vesa.
 The intel driver does occasionally freeze X entirely requiring a boot, but
 this is not what happens when trying to load twitter pages.

This is a completely distinct problem but probably it would be interesting to 
try and figure out why Graphics Acceleration is not working. I have very 
limited experience with Intel Graphics chipsets. In the i915 days, there used 
to be something called AIGLX which required some explicit configuration in 
xorg.conf. Could you check on that?

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 
2002___
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: Tweetless

2012-07-03 Thread Subhro Sankha Kar
Hello,

On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote:

 Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner:
 
 Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16)
 when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully
 load, give me the slow loading banner, and the page (not browser or X)
 freezes, but no such problems were evident before, and twitter seems
 entirely normal in Opera 12.00.

 
 Disabling SPDY in about:config (a solution proposed on the net) didn't fix
 this issue.


Can you post the contents of about:config and also try to launch FF from 
command line and see if there is anything interesting reported back? Also, I 
hope you do not have any funky CFLAGS set in your make.conf?

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

___
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: Networking IP Address Issues : NetBSD on Xen VM

2012-07-03 Thread Subhro Sankha Kar

On 03-Jul-2012, at 12:34 PM, dhaneshk k wrote:

 
 The Same problems
 discussed here were faced.
 
 Any hints to solve these issues much appreciated.

No hints till you learn how to format your email properly, a basic requirement 
when posting to a mailing list.

 
 Thank you

You are welcome.

Subhro

--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 
2002___
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 9.0 hang

2012-07-03 Thread Subhro Sankha Kar

On 03-Jul-2012, at 11:45 AM, Doug Hardie wrote:

 
 On 2 July 2012, at 22:59, Wojciech Puchar wrote:
 
 
 I have no ATM interfaces so it shouldn't be loading to my way of thinking.
 
 so check while this module is loading at all, no matter if it's 
 unsuccessull. FreeBSD is not random place like windows, everything
 must have a reason.
 
 
 True it must, but I have no idea why if_en would try to be loaded or even how 
 to figure that out.  There is nothing in the logs.  My understanding is that 
 you would have to have an interface that requires the en driver.  pciconf 
 doesn't show any.

How about a verbose boot and a list of your boot messages? Also, how about you 
create a kernel with ATM missing and see what stops working?

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

___
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: openoffice doesn't work - any ideas?

2012-06-18 Thread Subhro Sankha Kar
Hello,

On 20-May-2012, at 3:00 AM, User Wojtek wrote:

 the problem is that what i found is not this.
 
 all description i found is that deleting .openoffice* from $HOME fixes it. it 
 doesn't. i even created new user with no leftover any config files and still 
 same.

Are your ports up to date? Also, did you apply any funky compile time flags?

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

 
 On Sat, 19 May 2012, lokada...@gmx.de wrote:
 
 On 05/19/12 13:24, User Wojtek wrote:
 [wojtek@wojtek ~/robod]$ openoffice-3.4.0
 [Java framework] Error in function createSettingsDocument 
 (elements.cxx).javaldx failed!
 terminate called after throwing an instance of 
 'com::sun::star::uno::RuntimeException'
 compiled fine, installed without problems jdk 1.6 too.
 any ideas? thanks
 ___
 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
 Google find many things with javaldx failed.
 Is a problem with java, but different solutions (wrong xml, home permission, 
 java- version ...).
 
 Hope you find a solution.
 ___
 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
 
 
 ___
 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

___
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: can't kill -9 Xorg

2012-06-12 Thread Subhro Sankha Kar
On 12-Jun-2012, at 1:54 PM, Anton Shterenlikht wrote:

 On Tue, Jun 12, 2012 at 09:13:06AM +0100, Anton Shterenlikht wrote:
 On Tue, Jun 12, 2012 at 12:07:06AM +0530, Subhro Sankha Kar wrote:
 Hello
 
 What happens if you run without a xorg.conf? Xorg has become pretty good at 
 guessing correct settings these days.
 
 
 No change.
 I removed /etc/X11/xorg.conf completely.
 
 Anyway, I can understand my X setup is fucked, no problem.

Okay. That is kind of odd. But I am assuming you figured out what the precise 
problem is.

 
 What worries me more is the the fact that a process ignores
 kill -9. Doesn't it indicate a problem with the OS?
 I think potentially this is a security vulnerability.

No not really. There are instances when a process can ignore SIGKILL or kill -9 
as colloquially stated. For example, when a process in in the state of an 
uninterruptible sleep, marked as D in the top output, it will ignore all 
signals. Similarly for processes which are zombies, showing up as Z in the top 
output, will ignore the SIGKILL as well.

Ideally, if you think you are hitting on a case where the process is not an 
uninterruptible state and still refuses to listen to SIGKILL, you should attach 
a strace or dtrace session to the process and see what is going on.

Thanks
Subhro
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

 
 
 # X
 
 X.Org X Server 1.7.7
 Release Date: 2010-05-04
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 10.0-CURRENT amd64 
 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT 
 FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun  9 22:35:49 BST 2012 
 r...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64
 Build Date: 11 June 2012  12:11:20PM
 
 Current version of pixman: 0.24.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
 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: Tue Jun 12 09:10:17 2012
 (==) Using default built-in configuration (30 lines)
 (EE) Failed to load module vesa (module does not exist, 0)
 (EE) Failed to load module fbdev (module does not exist, 0)
  XRANDR name: VGA-0
  Connector: VGA
  CRT1: INTERNAL_KLDSCP_DAC1
  DDC reg: 0x7e50
  XRANDR name: LVDS
  Connector: LVDS
  LCD1: INTERNAL_LVTM1
  DDC reg: 0x7e40
 Dac detection success
 finished output detect: 0
 finished output detect: 1
 finished all detect
 Dac detection success
 Output LCD1 disable success
 Blank CRTC 0 success
 Disable CRTC 0 success
 Blank CRTC 1 success
 Disable CRTC 1 success
 Output CRT1 disable success
 Output LCD1 disable success
 Blank CRTC 0 success
 Disable CRTC 0 success
 Blank CRTC 1 success
 Disable CRTC 1 success
 ^C^C^C
 
 Can kill it with neither CTRL/C
 nor kill -9:
 
 # ps ax|grep X
 1060  0  R+   0:38.95 X (Xorg)
 1073  1  R+   0:00.01 grep X
 # kill -9 1060
 # ps ax|grep X
 1060  0  RE+  0:45.71 X (Xorg)
 1089  1  R+   0:00.00 grep X
 # 
 
 
 Anton
 
 
 Thanks
 --
 Subhro Sankha Kar
 System Administrator
 Working and Playing with FreeBSD since 2002
 
 On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote:
 
 My X is unusable since the recent png update.
 
 This is r236740M on HP Compaq 6715s amd64 laptop.
 
 I've no hal installed (if this matters).
 
 # pkg info -x xorg
 linux-f10-xorg-libs-7.4_1  Xorg libraries (Linux Fedora 10)
 xorg-cf-files-1.0.4X.org cf files for use with imake builds
 xorg-fonts-7.5.1   X.org fonts meta-port
 xorg-fonts-100dpi-7.5.1X.Org 100dpi bitmap fonts
 xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts
 xorg-fonts-cyrillic-7.5.1  X.Org Cyrillic bitmap fonts
 xorg-fonts-miscbitmaps-7.5.1   X.Org miscellaneous bitmap fonts
 xorg-fonts-truetype-7.5.1  X.Org TrueType fonts
 xorg-fonts-type1-7.5.1 X.Org Type1 fonts
 xorg-libraries-7.5.1   X.org libraries meta-port
 xorg-macros-1.16.1 X.Org development aclocal macros
 xorg-server-1.7.7_5,1  X.Org X server and related programs
 # 
 
 # pkg info -x xf86
 libXxf86dga-1.1.2  X DGA Extension
 libXxf86misc-1.0.3 X XF86-Misc Extension
 libXxf86vm-1.1.1   X Vidmode Extension
 xf86-input-keyboard-1.6.1  X.Org keyboard input driver
 xf86-input-mouse-1.7.1 X.Org mouse input driver
 xf86-video-ati-6.14.3_1X.Org ati display driver
 xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
 xf86dgaproto-2.1   XFree86-DGA extension headers
 xf86driproto-2.1.1 XFree86-DRI extension headers
 xf86miscproto-0.9.3XFree86-Misc extension headers
 xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers
 # 
 
 My xorg.conf.new:
 
 
 Section ServerLayout
Identifier X.org

Re: can't kill -9 Xorg

2012-06-11 Thread Subhro Sankha Kar
Hello

What happens if you run without a xorg.conf? Xorg has become pretty good at 
guessing correct settings these days.

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

On 11-Jun-2012, at 5:01 PM, Anton Shterenlikht wrote:

 My X is unusable since the recent png update.
 
 This is r236740M on HP Compaq 6715s amd64 laptop.
 
 I've no hal installed (if this matters).
 
 # pkg info -x xorg
 linux-f10-xorg-libs-7.4_1  Xorg libraries (Linux Fedora 10)
 xorg-cf-files-1.0.4X.org cf files for use with imake builds
 xorg-fonts-7.5.1   X.org fonts meta-port
 xorg-fonts-100dpi-7.5.1X.Org 100dpi bitmap fonts
 xorg-fonts-75dpi-7.5.1 X.Org 75dpi bitmap fonts
 xorg-fonts-cyrillic-7.5.1  X.Org Cyrillic bitmap fonts
 xorg-fonts-miscbitmaps-7.5.1   X.Org miscellaneous bitmap fonts
 xorg-fonts-truetype-7.5.1  X.Org TrueType fonts
 xorg-fonts-type1-7.5.1 X.Org Type1 fonts
 xorg-libraries-7.5.1   X.org libraries meta-port
 xorg-macros-1.16.1 X.Org development aclocal macros
 xorg-server-1.7.7_5,1  X.Org X server and related programs
 # 
 
 # pkg info -x xf86
 libXxf86dga-1.1.2  X DGA Extension
 libXxf86misc-1.0.3 X XF86-Misc Extension
 libXxf86vm-1.1.1   X Vidmode Extension
 xf86-input-keyboard-1.6.1  X.Org keyboard input driver
 xf86-input-mouse-1.7.1 X.Org mouse input driver
 xf86-video-ati-6.14.3_1X.Org ati display driver
 xf86bigfontproto-1.2.0 XFree86-Bigfont extension headers
 xf86dgaproto-2.1   XFree86-DGA extension headers
 xf86driproto-2.1.1 XFree86-DRI extension headers
 xf86miscproto-0.9.3XFree86-Misc extension headers
 xf86vidmodeproto-2.3.1 XFree86-VidModeExtension extension headers
 # 
 
 My xorg.conf.new:
 
 
 Section ServerLayout
   Identifier X.org Configured
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
   Option  AllowEmptyInput Off
 EndSection
 
 Section Files
   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  dri
   Load  dri2
 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  330   210 # mm
   Identifier   Monitor0
   VendorName   LPL
   ModelNamed600
 EndSection
 
 Section Device
   Identifier  Card0
   Driver  radeon
   VendorName  Advanced Micro Devices [AMD] nee ATI
   BoardName   RS690M [Radeon X1200 Series]
   BusID   PCI:1:5:0
   Option int10 on
   Option BusType PCIE
Option RenderAccel on
Option AccelMethod xaa
Option DynamicPM on
Option DRI on
 EndSection
 
 Section Screen
   Identifier Screen0
   Device Card0
   MonitorMonitor0
   SubSection Display
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection Display
   Viewport   0 0
   Depth 24
   EndSubSection
 EndSection
 
 
 The Xorg.0.log:
 
 
 
 X.Org X Server 1.7.7
 Release Date: 2010-05-04
 X Protocol Version 11, Revision 0
 Build Operating System: FreeBSD 10.0-CURRENT amd64 
 Current Operating System: FreeBSD mech-aslap239.men.bris.ac.uk 10.0-CURRENT 
 FreeBSD 10.0-CURRENT #0 r236740M: Sat Jun  9 22:35:49 BST 2012 
 r...@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64
 Build Date: 11 June 2012  12:11:20PM
 
 Current version of pixman: 0.24.2
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
 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 Jun 11 12:24

Re: mysqld startup issue

2012-06-11 Thread Subhro Sankha Kar
On 11-Jun-2012, at 11:02 PM, Gary Aitken wrote:

 I've done the following after having a running system with a running mysql on 
 it:
 
 moved user accounts, although no logical move:
  /usr/home/foo was = /hd1/foo
 now
  /usr/home = /hd1/home  and /hd1/foo is now /hd1/home/foo
 repartitioned the SSD and restored the system from a dump taken prior to 
 repartitioning.
 removed all ports and reinstalled them
 
 Unfortunately, mysqld won't start:
 
 120611 10:55:52 [Warning] Can't create test file 
 /var/db/mysql/breakaway.lower-test

What's the permission of /var/db/mysql? Also what user is mysql running as?

Thanks
Subhro
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002


 120611 10:55:52 [Warning] Can't create test file 
 /var/db/mysql/breakaway.lower-test
 mysqld: Table 'mysql.plugin' doesn't exist
 120611 10:55:52 [ERROR] Can't open the mysql.plugin table. Please run 
 mysql_upgrade to create it.
 120611 10:55:52 InnoDB: The InnoDB memory heap is disabled
 120611 10:55:52 InnoDB: Mutexes and rw_locks use GCC atomic builtins
 120611 10:55:52 InnoDB: Compressed tables use zlib 1.2.5
 120611 10:55:52 InnoDB: Initializing buffer pool, size = 128.0M
 120611 10:55:52 InnoDB: Completed initialization of buffer pool
 120611 10:55:52  InnoDB: Operating system error number 13 in a file operation.
 InnoDB: The error means mysqld does not have the access rights to
 InnoDB: the directory.
 InnoDB: File name ./ibdata1
 InnoDB: File operation call: 'create'.
 InnoDB: Cannot continue operation.
 
 Running mysqld --verbose shows:
 
  basedir /usr/local
  general-log-file/var/db/mysql/breakaway.log
 
 ls -aol /usr/local/libexec/mysqld
 -rwxr-xr-x  1 root  wheel  - 9558944 Jun 11 10:40 /usr/local/libexec/mysqld
 ls -dl /var/db/mysql
 drwxr-xr-x  2 mysql  mysql  512 Jun 11 10:31 /var/db/mysql
 
 cd /
 find . -ls | grep my.cnf
 
 shows nothing.
 
 This looks like some kind of access / setuid problem, but I'm not sure what.
 Suggestions?
 ___
 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

___
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: Chromium Crashes

2012-06-10 Thread Subhro Sankha Kar
Hello,

On 10-Jun-2012, at 11:40 AM, The Todds wrote:

 Yes this is the latest build (5th June) of Chromium. I suppose I could
 revert to the  18.0.1025.168 version using portdowngrade until this
 fault is fixed.
 
 Glenn

It looks like the port is lagging back from mainstream. You could also write to 
the maintainers. I am copying the maintainers just in case someone is already 
on it.

Thanks
Subhro

--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002


 On Sun, 2012-06-10 at 10:37 +0530, Subhro Sankha Kar wrote:
 Hello,
 
 It looks like you have hit a documented bug. See this:
 
 http://code.google.com/p/chromium/issues/detail?id=125447
 http://src.chromium.org/viewvc/chrome?view=revrevision=141116
 
 Did you try upgrading your ports?
 
 Thanks
 Subhro
 
 --
 Subhro Sankha Kar
 System Administrator
 Working and Playing with FreeBSD since 2002
 
 On 10-Jun-2012, at 10:11 AM, The Todds wrote:
 
 I have just have built and installed Chromium 19.0.1084.52 from the
 ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov  5
 08:40:03 NZDT 2011 
 
 Portversion chromium-19.0.1084.52_2 =  up-to-date with port
 
 On web sites which contains graphics Chromium crashes with the following
 error:
 
 [3152:171983296:14310963010:ERROR:CONSOLE(1)] Uncaught ReferenceError:
 ntp is not defined, source:  (1)
 
 Any ideas how to resolve this issue.
 
 Glenn
 
 
 ___
 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
 
 
 
 
 ___
 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

___
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: ports: make config-recursive doesn't really

2012-06-10 Thread Subhro Sankha Kar
You can have a look at port-mgmt/portmaster.

Thanks
Subhro
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

On 10-Jun-2012, at 10:07 PM, Gary Aitken wrote:

 I'm trying to build a script to rebuild and reinstall everything I have 
 installed from ports.  I don't want to have to keep checking on it and 
 filling out the appropriate check boxes for options.  I naively assumed:
 
  for port in $ports
  do
cd /usr/port/$port
make config-recursive
cd ../..
  done
 
 would allow me to set up all the dependencies before continuing with the 
 install.
 
 It appears, however, that it doesn't really recurse properly.  I say 
 appears only because this is my first time trying this and despite doing 
 the above setting of options, I am confronted with additional options screens 
 as the build progresses.
 
 Is there a way to get around this?
 
 Thanks,
 
 Gary
 ___
 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

___
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: Firefox Script Problems

2012-06-10 Thread Subhro Sankha Kar
Hello Sean,

Can you run FF from a terminal and report back what you see?

Thanks
--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

On 11-Jun-2012, at 1:44 AM, sean wrote:

 Hello All,
 
I just upgraded Firefox to the latest available in ports.
 Since this upgrade Firefox is near unresponsive.
 Messages keep popping up about unresponsive script errors on the page being 
 viewed.
 Would anyone have any ideas on how to best approach this problem to find the 
 fix?
 
Thanks in advance,
Sean
 ___
 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

___
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: link_elf_obj: symbol ata_controlcmd undefined

2012-06-09 Thread Subhro Sankha Kar
Hello,

Looks like you have missed out something related to ATA in the kernel 
configuration file. Can you post your complete kernel config?

Thanks
Subhro

--
Subhro Sankha Kar
System Administrator
Working and playing with FreeBSD since 2002

On 20-May-2012, at 5:53 PM, C. P. Ghost wrote:

 Hello,
 
 what does this boot message means, and where
 does it come from?
 
 link_elf_obj: symbol ata_controlcmd undefined
 linker_load_file: Unsupported file type
 
 It appears between between
  ZFS storage pool version 28
 and
  drm0: ATI Radeon HD 3200 Graphics on vgapci0
 
 uname -a:
 
 FreeBSD phenom.cordula.ws 9.0-STABLE FreeBSD 9.0-STABLE #0
 r235604: Fri May 18 15:49:06 CEST 2012 r...@phenom.cordula.ws:
 /usr/obj/usr/src/sys/GENERIC  amd64
 
 TIA,
 -cpghost.
 
 -- 
 Cordula's Web. http://www.cordula.ws/
 ___
 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

___
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: Chromium Crashes

2012-06-09 Thread Subhro Sankha Kar
Hello,

It looks like you have hit a documented bug. See this:

http://code.google.com/p/chromium/issues/detail?id=125447
http://src.chromium.org/viewvc/chrome?view=revrevision=141116

Did you try upgrading your ports?

Thanks
Subhro

--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 2002

On 10-Jun-2012, at 10:11 AM, The Todds wrote:

 I have just have built and installed Chromium 19.0.1084.52 from the
 ports on my amd64 machine - 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Nov  5
 08:40:03 NZDT 2011 
 
 Portversion chromium-19.0.1084.52_2 =  up-to-date with port
 
 On web sites which contains graphics Chromium crashes with the following
 error:
 
 [3152:171983296:14310963010:ERROR:CONSOLE(1)] Uncaught ReferenceError:
 ntp is not defined, source:  (1)
 
 Any ideas how to resolve this issue.
 
 Glenn
 
 
 ___
 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

___
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: ran out of inodes on /var, recommended value?

2012-06-09 Thread Subhro Sankha Kar


On 10-Jun-2012, at 6:13 AM, ill...@gmail.com wrote:

 On 9 June 2012 18:38, RW rwmailli...@googlemail.com wrote:
 On Sat, 09 Jun 2012 07:22:50 -0600
 Gary Aitken wrote:
 
 I reconfigured my ssd filesystem with the /var partition of size
 512M.  Unfortunately, something in portsnap or the ports tree in
 general uses a boatload of small files, and i ran out of inodes.  Can
 anyone recommend an appropriate size for the newfs -i value?  1024?
 less?
 
 portsnap needs roughly one file per port plus one for each
 out of date port during a fetch. There are 23658 ports.
 
 In FreeBSD 9 the fragment size increased, halving the default number of
 inodes. With only 32k inodes it's possible to run out with portsnap
 alone. You can probably get away with the old default of 64k (-i
 8192), or perhaps 128k (-i 4096). Check how many files you have outside
 of portsnap and do the arithmetic.
 
 
 Or, move the portsnap tree to somewhere other than /var
 (see /etc/portsnap.conf for that  such).
 I think that a file-backed md* mounted only when portsnap
 was in use would save on inodes, yeah?

Actually I think that is a very good idea. That is how I have set up my system 
as well with one difference. I have tons of memory and use a memory based 
filesystem to store all the in-compile objects.

--
Subhro Sankha Kar
System Administrator
Working and Playing with FreeBSD since 
2002___
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: Questions about upgrading from 4.6.2 to 4.7 (and beyond)

2003-03-26 Thread Subhro Sankha Kar
James Schmidt writes: 

I apologize in advance for my unfamiliarity with the workings of the 
FreeBSD world.  Out of the several hundred machines I administer I have 
only the one FreeBSD box, and it is considered a production server, so I 
don't get much chance to play around with it. 

At any rate, one of the tasks I'm going to be undertaking shortly is to 
migrate it from 4.6.2-RELEASE-p3  to 4.7-RELEASE (and soon after that, to 
4.8) and I have several questions.  Actually, to be more precise, I would 
just like someone to verify that what I am doing is correct. 

First, the overall cvsup process - I want to make sure I am doing this 
right, someone please let me know if any of this is incorrect or 
inefficient.  Below is my cvsupfile: 

*default  host=cvsup13.FreeBSD.org
*default  base=/usr
*default  prefix=/usr
*default  release=cvs tag=RELENG_4_7
*default  delete use-rel-suffix
*default  compress
src-all
# added manually... collection will be filtered through the refuse file
ports-all tag=. 

I should be using the RELEASE branch, and not STABLE or CURRENT, correct ? 

The process I follow to cvsup is as follows: 

# cd /src/cvsup
# cvsup -g -L 2 ./cvsupfile 

Once that is complete, the next steps are to build the kernel and the 
sources - and up until now, I've always compiled the kernel the 
old-fashioned way (config, make depend, make, make install) - with 4.7, 
should I begin using the new and improved method of kernel compiling, as 
follows ? 

# cd /usr/src
# make buildworld
# make buildkernel KERNCONF=kernelname
# make installkernel KERNCONF=kernelname
reboot
# make installworld 

I am sorry to be asking such basic questions.  I've read through the 
pertinent sections of the online FreeBSD manual  and I *think* what I am 
doing is correct, but I want to make absolutely sure before I reboot the 
machine and end up with a kernel panic, umountable root or something 
equally as horrific.  If anyone sees any glaring omissions or any other 
problems with what I'm doing, please let me know.  Again, many thanks. 

James Schmidt 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
Hello James,
There is nothing to apologize. A person can't know everything in the world. 
What you are doing is exactly right. By the way if you want to have some 
knowledge on BSD then do have a glance at the FreeBSD Handbook available at 
the official website. Regards 

Subhro Sankha Kar
IIIT-Calcutta 

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


Re: filesystem problem resolved - /sbin/mount was causing it

2003-03-25 Thread Subhro Sankha Kar
Arie J. Gerszt writes: 

Hi Everybody 

The problem cleared out. I now know what, but not why :) For those of you
interested.
I have a 2nd disk in the machine (ad3) which has a backup parition (ad3f).
This partition
is mounted to a mountpoint (guess: in root) to /mnt/vol1. 

For strange reasons (who knows why?) mount fails (see below), therefor the
volume gets
not mounted and the backup sits in the mountpoint directory, filling up...
/. 

Btw: I moved all /modules /sbin /bin to their right places back. 

Now the mount fails as showed here. The backup partition is not mountalbe,
but another,
on the same disk, is... 

	caramba# mount /dev/ad3f /mnt/vol1
	mount: /dev/ad3f: Operation not permitted
	caramba# mount /dev/ad3f /backup/slice1
	mount: /dev/ad3f: Operation not permitted
	caramba# 

here another partition: 

	caramba# mount
	/dev/ad0s1a on / (ufs, local)
	/dev/ad0s1e on /usr (ufs, local)
	/dev/ad0s1g on /usr/www (ufs, local)
	/dev/ad0s1f on /var (ufs, local)
	procfs on /proc (procfs, local)
	/dev/ad3e on /mnt/vol1 (ufs, local) 

	caramba# umount /mnt/vol1/
	caramba# 

the disklabel entry: 

caramba# disklabel ad3
# /dev/ad3c:
type: ESDI
disk: ad3s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 31206
sectors/unit: 31456593
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0 

8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
  c: 314565930unused0 0 # (Cyl.0 -
31206*)
  e:  419430404.2BSD 1024  819216   # (Cyl.0 -
4161*)
  f: 12582912  41943044.2BSD 1024  819216   # (Cyl. 4161*-
16644*)
  g: 12582912 167772164.2BSD 1024  819216   # (Cyl. 16644*-
29127*)
  h:  2096465 293601284.2BSD 1024  819216   # (Cyl. 29127*-
31206*)
caramba# 

-- no, i can stop backups for the moment, or repoint them to another
partition, e.g.
ad3g, but why does mount not work on that respectively give operation not
permitted? 

Thanks
Arie
Hi,
Are you trying to mount the backup volume as root? By default only root is 
allowed to mount and unmount volumes. Also check if the mount pouint is 
having write permissions when you try to mount the volume. 

Subhro Sankha Kar
IIIT-Calcutta 

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


Re: gcc bug?

2003-03-23 Thread Subhro Sankha Kar
Hi,
Tell us the version of ur cc compiler and also tell us if u did make clean 
and then ./configure before starting to compile. 

On Mon, 2003-03-24 at 01:28, milo wrote:
hi, i can't compile the source code --
...
any ideas what's wrong?
Subhro Sankha Kar
IIIT-Calcutta 

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


SCSI Emulation

2003-03-21 Thread Subhro Sankha Kar
Hello,
Is there any way of doing ide-scsi emulation for CDROM/CDWriter drives on 
FreeBSD-4.7-Release on i386? 

Subhro Sankha Kar
IIIT-Calcutta 

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


Primary Slave does not work

2003-03-17 Thread Subhro Sankha Kar
Hello,
I got a Seagate Baracuda (IDE) 40GB drive connected as master to my Primary 
IDE controller and a Samsung CDWriter as Master on the Secondary IDE 
Controller. I have also got a CDROM. If i connect it as a slave to the Hard 
Drive it does not get detected and I get entries in the boot log as 
ata0-slave:Device identification tries exceeded. However it works fine if I 
connect it as a slave to my CD-Writer. Can anyone help me out? I got an 
Inter 815e motherboard and using FreeBSD-4.7-RELEASE. 

Subhro Sankha Kar
IIIT-Calcutta 

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


Re: Help deleted /dev/ad0s2 tree

2003-03-11 Thread Subhro Sankha Kar
Glenn Todd writes: 

Foolishly I deleted my /dev/ad0s2a tree.  However, I tried the following in 
an attempt to recreated but I am getting stumped at the end of the process. 

Booted the system in single user mode, then created a read/writable file 
system with: 

mount_mfs -T minimum -s 131072 /dev/null /tmp 

cd to /tmp and cp MAKEDEV from the read only /dev.MAKEDEV 

created a device node with:
/MAKEDEV ad0s2a  (note this created the whole tree in tmp) 

attempted to mount this with the command  

mount /tmp/ad0s2a /mnt  but got the error that ad0s2a was busy.  As a result 
cannot get a readwritable /dev to create the device nodes.  What am I doing 
wrong?? 

Glenn 

 

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message
Hello Glenn,
I am not too sure but the eason why u get a device busy message is that ur 
newly created device is alreaqdy mounted on /tmp. U cant remount it on /dev 
while it is mounted in /tmp. Check what the securelevel ur kernel is running 
in and if u can boot in multiuser. Reset the kernel security level to -1 and 
do the same. It should be solved 

Subhro Sankha Kar
IIIT-Calcutta 

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