[osol-discuss] nvidia driver not working

2010-01-11 Thread Arun Tomar
Hi!

I got a new Nvidia card GeForce 9400 GT for my desktop. I installed the
driver that i got from the nvidia site and create the xorg.conf file by
running the command nvidia-xconfig. Now when i reboot the machine, it shows
the progress bar and then the monitor just goes to the power saving mode.
i'm not able to figure out the issue. kindly help me out.

for the info, when the monitor is  in power saving mode, i can logon to the
machine via ssh from my laptop and work. even if i make changes to xorg.conf
file and restart the gdm with
svcadm restart gdm , it does not make any difference and the monitor doesn't
comes out of power saving mode.

it works if the driver is vesa or vgatext, but not when it's nvidia.

distro: opensolaris 2009.06.
amd athlon x2 dual core.
4 gb ram.
250*2 hard disk.
monitor: have both crt and lcd. lcd monitor can support upto HD resolution.

-- 
Regards,
Arun Tomar
blog: http://linuxguy.in
website: http://www.solutionenterprises.co.in
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

[osol-discuss] segment fault, after update to build 126

2009-11-07 Thread Arun Tomar
Hi!

i'm on osol0906 build 111b. I tried updating to build 126, using both
the methods. 

1. pfexec pkg set-publisher -O http://pkg.opensolaris.org/dev
opensolaris.org

and then pfexec pkg image-update

2. as mentioned on the release notes of build 126

u...@host$ pfexec beadm create -e name of build 122 BE \
name of new BE
u...@host$ pfexec beadm mount name of new BE /mnt
u...@host$ pfexec pkg -R /mnt image-update
u...@host$ pfexec beadm unmount name of new BE
u...@host$ pfexec beadm activate name of new BE

Inspite of both the methods, i cannot boot the new BE. As soon as the
system boots it gives some segmentation fault and reboots the machine.

How to get past this issue. 

Regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] network monitoring software on osol/belenix/linux

2009-10-14 Thread Arun Tomar
Dear all,

Primarily my servers would be either Linux or Opensolaris.

I'm evaluating to implement network monitoring infrastructure for
various heterogeneous systems like windows,linux, mac os x and solaris
etc. to be monitored centrally.  

while researching for oss based network monitoring softwares, there are
couple of options that are popular and commonly used, such as:
nagios
zenoss
cacti
zabbix

functionality :
1. monitor heterogeneous network.
2. popup or mail alerts. 
3. mail the alerts and create a task to helpdesk/ticketing systems(like
otrs still evaluating).
4. monitor and alert specific services. 
5. reports on various statistics being collected and graphs.
6. bandwidth usage and monitor.

wishlist: an integrated solution with the following functionality also.
1. inventory management. 
2. helpdesk/ticketing system.

I would like the opinion of the group, as to what you guys use in such
cases. feel free to suggest even if the software is not mentioned above.

Regds,
Arun.   

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] psycopg2 not installing on osol0906

2009-10-14 Thread Arun Tomar
Hi!

Im on osol0906, with python2.6 on a virtualenv. I want to install
psycopg2 (postgres driver), but i'm not able to. 

Ive tried both the methods, easy_install and python setup.py build both
of them throws error. 

(venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ python
Python 2.6.1 (r261:67515, Mar 10 2009, 14:11:34) [C] on sunos5
Type help, copyright, credits or license for more information.
 ^D

(venv)a...@opensolaris:/tmp$ cd psycopg2-2.0.13/
(venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ ls
AUTHORSdebian  examples  lib  MANIFEST PKG-INFO  psycopg2da
scriptssetup.py  ZPsycopgDA
ChangeLog  doc INSTALL   LICENSE  MANIFEST.in  psycopg   README
setup.cfg  tests

(venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ python setup.py build
running build
running build_py
creating build
creating build/lib.solaris-2.11-i86pc-2.6
creating build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/tz.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/extensions.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/pool.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/__init__.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/psycopg1.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/extras.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
copying lib/errorcodes.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
running build_ext
error: No such file or directory

(venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ easy_install psycopg2 
Searching for psycopg2
Reading http://pypi.python.org/simple/psycopg2/
Reading http://initd.org/projects/psycopg2
Reading http://initd.org/pub/software/psycopg/
Best match: psycopg2 2.0.13
Downloading http://initd.org/pub/software/psycopg/psycopg2-2.0.13.tar.gz
Processing psycopg2-2.0.13.tar.gz
Running psycopg2-2.0.13/setup.py -q bdist_egg
--dist-dir /tmp/easy_install-KfvzTB/psycopg2-2.0.13/egg-dist-tmp-cKek3m
error: Setup script exited with error: No such file or directory

also attaching the reply from federico, the developer and maintainer of
the postgres driver.

  From: 
Federico Di Gregorio f...@initd.org
To: 
Arun Tomar tomar.a...@gmail.com
   Subject: 
Re: psycopg2 not installing on
opensolaris
  Date: 
Tue, 18 Aug 2009 13:42:00 +0200
(17:12 IST)


Il giorno dom, 16/08/2009 alle 18.26 +0530, Arun Tomar ha scritto:
 i would like to report an issue about installation of psycopg2 driver
 on opensolaris. 
 I'm using opensolaris 0906, build 111, using python 2.6. when i try to
 install the postgres driver it gives the following error. is there any
 way i can resolve this issue.

This can be two different problem: a build problem on Solaris or an
easy_install incompatibility. Plase build the standard way (python
setup.py build) and report any error before going on with easy_install.

federico


kindly suggest a solution.

regds,
Arun Tomar.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] psycopg2 not installing on osol0906

2009-10-14 Thread Arun Tomar

On Wed, 2009-10-14 at 09:44 +0200, Federico Di Gregorio wrote:
 Il giorno mer, 14/10/2009 alle 10.39 +0530, Arun Tomar ha scritto:
  Im on osol0906, with python2.6 on a virtualenv. I want to install
  psycopg2 (postgres driver), but i'm not able to. 
  
  Ive tried both the methods, easy_install and python setup.py build
  both
  of them throws error. 
  
  (venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ python
  Python 2.6.1 (r261:67515, Mar 10 2009, 14:11:34) [C] on sunos5
  Type help, copyright, credits or license for more information.
   ^D
  
  (venv)a...@opensolaris:/tmp$ cd psycopg2-2.0.13/
  (venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ ls
  AUTHORSdebian  examples  lib  MANIFEST PKG-INFO
  psycopg2da
  scriptssetup.py  ZPsycopgDA
  ChangeLog  doc INSTALL   LICENSE  MANIFEST.in  psycopg   README
  setup.cfg  tests
  
  (venv)a...@opensolaris:/tmp/psycopg2-2.0.13$ python setup.py build
  running build
  running build_py
  creating build
  creating build/lib.solaris-2.11-i86pc-2.6
  creating build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/tz.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/extensions.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/pool.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/__init__.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/psycopg1.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/extras.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  copying lib/errorcodes.py - build/lib.solaris-2.11-i86pc-2.6/psycopg2
  running build_ext
  error: No such file or directory 
 
 setup.py does not find pg_config. Install the development packages for
 PostgreSQL.
 
 Hope this helps,
 federico
 
Hi!

finally psycopg2 got installed, although it threw some warnings,
something related to static and non static declarations, but for now you
can ignore them.

here are the steps:

make sure these packages are intalled. 

a...@opensolaris:~# pkg list|grep postgr
SUNWpostgr-83-client  8.3.7-0.111 installed

SUNWpostgr-83-devel   8.3.7-0.111 installed

SUNWpostgr-83-libs8.3.7-0.111 installed

SUNWpostgr-83-server  8.3.7-0.111 installed


#add postgres to the system path
a...@opensolaris:~# cat ~/.bashrc
#
# Define default prompt to username@hostname:path($|#) 
# and print '#' for user root and '$' for normal users.
#

export
PATH=/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/opt/csw/bin:/opt/csw/sbin:/opt/sfw/bin:/usr/postgres/8.3/bin/64
export
MANPATH=/usr/gnu/share/man:/usr/share/man:/usr/X11/share/man:/opt/csw/share/man

#export the postgres library
export LD_LIBRARY_PATH=/usr/postgres/8.3/lib

PS1='${logna...@$(/usr/bin/hostname):$(
[[ ${LOGNAME} == root ]]  printf %s ${PWD/${HOME}/~}#  ||
printf %s ${PWD/${HOME}/~}\$ )'


#added by arun

export TERM=xterm-color

alias l='ls -l'

a...@opensolaris:~# svcs -a|grep postgres
disabled   Oct_11
svc:/application/database/postgresql_83:default_32bit
online 13:47:49
svc:/application/database/postgresql_83:default_64bit

(venv)a...@opensolaris:~$ python
Python 2.6.1 (r261:67515, Mar 10 2009, 14:11:34) [C] on sunos5
Type help, copyright, credits or license for more information.
 import psycopg2

regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] scanner of hp officejet all in one 4288 not working on osol

2009-10-11 Thread Arun Tomar
hi!

i've an hp office jet all in one f4288. the printer gets detected and
works if i configure cups but the scanner doesn't. sane gives the error

a...@opensolaris:~# scanimage -L

No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).

here is an output of /var/adm/messages

Oct 10 22:38:08 opensolaris usba: [ID 912658 kern.info] USB 2.0 device
(usb3f0,2504) operating at full speed (USB 1.x) on USB 1.10 root hub:
dev...@2, usb_mid2 at bus address 2
Oct 10 22:38:08 opensolaris usba: [ID 349649 kern.info] HP Deskjet
F4200 series CN9154Z0FW05BR
Oct 10 22:38:08 opensolaris genunix: [ID 936769 kern.info] usb_mid2
is /p...@0,0/pci1043,8...@13,2/dev...@2
Oct 10 22:38:08 opensolaris genunix: [ID 408114
kern.info] /p...@0,0/pci1043,8...@13,2/dev...@2 (usb_mid2) online
Oct 10 22:38:08 opensolaris usba: [ID 349649 kern.info] usba:   no driver
found for interface 0 (nodename: 'interface') of HP Deskjet F4200 series
CN9154Z0FW05BR
Oct 10 22:38:08 opensolaris usba: [ID 349649 kern.info] usba:   no driver
found for interface 2 (nodename: 'interface') of HP Deskjet F4200 series
CN9154Z0FW05BR
Oct 10 22:38:08 opensolaris usba: [ID 912658 kern.info] USB 2.0
interface (usbif3f0,2504.config1.1) operating at full speed (USB 1.x) on
USB 1.10 root hub: prin...@1, usbprn0 at bus address 2
Oct 10 22:38:08 opensolaris usba: [ID 349649 kern.info] HP Deskjet
F4200 series CN9154Z0FW05BR
Oct 10 22:38:08 opensolaris genunix: [ID 936769 kern.info] usbprn0
is /p...@0,0/pci1043,8...@13,2/dev...@2/prin...@1
Oct 10 22:38:08 opensolaris genunix: [ID 408114
kern.info] /p...@0,0/pci1043,8...@13,2/dev...@2/prin...@1 (usbprn0)
online
Oct 10 22:38:08 opensolaris pcplusmp: [ID 805372 kern.info] pcplusmp:
ide (ata) instance 3 irq 0xf vector 0x45 ioapic 0x2 intin 0xf is bound
to cpu 1


regds,
Arun Tomar.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] practical zfs implementation problem

2009-10-10 Thread Arun Tomar
Dear all,

I really love zfs. 

What i want to do is to create a zfs based storage solution say 15 TB
from commodity hardware. 

What I have: 
software: opensolaris 0906, belenix and solaris 10.

hardware: 2 normal machines == core2duo and  amd dual core, 2 gig's of
RAM each, motherboard has the capacity to attach 4 sata drives to each
of the machines, 1 TBx15 sata drives. 

Problem: 

1. If my motherboard can support only 6 sata drives, how can i attach
more. 
2. If i divided and attach the disks to each of the machines, 1 TB x 6
per machine, then how can i make a single pool out of it. The user
shouldn't know what's at backend, they are only supposed to get an
exported nfs or smb single mount point for storage, which could keep on
increasing. 

Idea: 
1. I could install sata controllers to expand the capacity, but would
the machine take so much of load?
2. another thought is to have 2 machines setup with zfs and storage
configured and with iscsi, and a 3rd machine which will control both of
them and export them as a single mount point. Need to try the iscsi
stuff, this is just a thought.

Any more ideas would be helpful.

regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] zfs and esata

2009-10-10 Thread Arun Tomar
Dear all,

the current scenario:
storage and application that needs that data are on the same machine.
1. software raid on ubuntu for the storage. 
2. the app that needs the data runs only on linux. 
3. the data is multimedia files, lots of them, small, big and very big
etc.  

what i want to achieve is to have storage and app on separate machines
for all practical purposes and requirement. 

storage can be on osol/belenix and app can be on a linux machine, but it
won't get the data at the same speed as a native sata hd would provide. 

limitation:
1. as we all know that software raid solution on linux has it's own
limitations and problems etc. 
2. sata transfer speed is 3Gbps or 300 MBps, whereas on a gigabit lan,
the max transfer speed will be somewhere between 100-128 mbps. 

ideas: 
1. Xen (xvm) on osol as host and ubuntu as dom1. export data as nfs from
osol and access from ubuntu. both the os are on the same machine, so
would the performance of data transfer increase?
2. can i use the entire zfs storage as an e-sata drive or access point.
i'm still reading about about e-sata and features and functionality. 

any more inputs are appreciated. 

regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] osol/belenix loadbalancing+failover over 2 ISP

2009-10-09 Thread Arun Tomar

  ++/
  ||   |
+-+ ISP 1  +---
__  | || /
___/  \_ +--+---+ ++|
  _/\__  | if1  |  /
 / \ |  |  |
| Local network -+ Opensolaris  |  | Internet
 \_   __/|  box |  |
   \__ __/   | if2  |  \
  \___/  +--+---+ ++|
| || \
+-+ ISP 2  +---
  ||   |
  ++\


hi!

I'm trying to achieve loadbalancing and failover on 2 ISP that we have. roughly 
diagram provided above. 

There are couple of stuff that can be used, like ipfilter, ipmp, crossbow etc. 
and i'm confused how to use these 
stuff and achieve the above scenario. 

Couple of confusions: 

1. Every ISP has their own gateway and dns settings. 
2. Both ISP may provide a static ip or may not, or only one may provide static 
IP and other dhcp.
3. Do we need to do NAT (between the osol box and ISP) or let them connect to 
the osol box and do the NAT from the osol?
4. Local network need not know that there are 2 ISP. They'll just send the 
outbound to the osol box. 
5. Automatically use the other ISP (ISP2) if one (ISP1) goes down and start 
using it once the ISP1 is working again. 
How to achieve that eg: IPMP, or crossbow etc. ?
6. How to get the intimation, if one of the ISP's (ISP1) goes down? or rather 
the system will automatically log a complaint 
with the ISP1 via mail, using the other working ISP2. 

regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] connect wifi automatically with manual configuration

2009-10-09 Thread Arun Tomar
Dear all,

I've a wlan card, which i've configured manually as nwam keeps
disconnecting the network very frequently. also nwam would hang or not
work if the access point was shutdown or restarted momentarily. 

So for me manual configuration works best. 

a...@opensolaris:~# svcs -a|grep physical
disabled   23:30:51 svc:/network/physical:nwam
online 23:31:00 svc:/network/physical:default

Problem: I've to always connect manually to the access point, now i've
written a script to do that, every time the computer restarts. 

Target: I would like to connect to the access point automatically
inspite of manual configuration. 

a...@opensolaris:~# dladm show-wifi
LINK   STATUSESSID   SECSTRENGTH   MODE
SPEED
rum0   connected B18 wpaexcellent  g
36Mb

a...@opensolaris:~# dladm show-secobj
OBJECT   CLASS
nwam-B18-0.14.78.f0.16.9c wpa
mykeywpa

a...@opensolaris:~# cat /root/wifi.sh
#!/usr/bin/bash
#author: arun tomar
#date: 4.6.2009.
#purpose: script to connect to wifi access point B18

dladm connect-wifi -k mykey -e B18

# show the wifi status

dladm show-wifi


regds,
Arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] log failed login attempts

2009-10-08 Thread Arun Tomar
Hi!

i was trying to log the failed login attempts to my opensolaris box and
i tried the methods specified in the book, OpenSolaris bible  page
421, 

In short this is what it says,

To enable failed login log, first add the following lines
to /etc/default/login:

SYSLOG=YES
SYSLOG_FAILED_LOGINS=0

edit:
/etc/syslog.conf

auth.notice /var/adm/authlog

touch /var/adm/authlog
ls -l /var/adm/authlog
chmod 600 /var/adm/authlog
chgrp sys /var/adm/authlog
ls -l /var/adm/authlog
svcadm refresh system-log

but i get the following error and nothing gets logged
into /var/adm/authlog

Oct  8 07:49:59 opensolaris syslogd: line 42: unknown priority name
notice /var/adm/authlog
Oct  8 07:49:59 opensolaris syslogd: line 48: WARNING: loghost could not
be resolved
Oct  8 08:55:08 opensolaris oss_sadasupport: [ID 517056 kern.warning]
WARNING: ldi_open_by_name(/dev/dsp) failed, errno=19
Oct  8 08:55:15 opensolaris last message repeated 1 time
Oct  8 18:08:10 opensolaris syslogd: line 42: unknown priority name
notice /var/adm/authlog
Oct  8 18:08:10 opensolaris syslogd: line 48: WARNING: loghost could not
be resolved

please help. 

regds,
Arun Tomar.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] [belenix-discuss] log failed login attempts

2009-10-08 Thread Arun Tomar

On Thu, 2009-10-08 at 16:51 +, Alexander Eremin wrote:
 On Thu, 2009-10-08 at 18:16 +0530, Arun Tomar wrote:
  Hi!
  
  i was trying to log the failed login attempts to my opensolaris box and
  i tried the methods specified in the book, OpenSolaris bible  page
  421, 
  
  In short this is what it says,
  
  To enable failed login log, first add the following lines
  to /etc/default/login:
  
  SYSLOG=YES
  SYSLOG_FAILED_LOGINS=0
  
  edit:
  /etc/syslog.conf
  
  auth.notice /var/adm/authlog
  
  touch /var/adm/authlog
  ls -l /var/adm/authlog
  chmod 600 /var/adm/authlog
  chgrp sys /var/adm/authlog
  ls -l /var/adm/authlog
  svcadm refresh system-log
  
  but i get the following error and nothing gets logged
  into /var/adm/authlog
  
  Oct  8 07:49:59 opensolaris syslogd: line 42: unknown priority name
  notice /var/adm/authlog
  Oct  8 07:49:59 opensolaris syslogd: line 48: WARNING: loghost could not
  be resolved
  Oct  8 08:55:08 opensolaris oss_sadasupport: [ID 517056 kern.warning]
  WARNING: ldi_open_by_name(/dev/dsp) failed, errno=19
  Oct  8 08:55:15 opensolaris last message repeated 1 time
  Oct  8 18:08:10 opensolaris syslogd: line 42: unknown priority name
  notice /var/adm/authlog
  Oct  8 18:08:10 opensolaris syslogd: line 48: WARNING: loghost could not
  be resolved
  
  please help. 
  
  regds,
  Arun Tomar.
  
  ___
  belenix-discuss mailing list
  http://mail.opensolaris.org/mailman/listinfo/belenix-discuss
  http://groups.google.com/group/belenix-discuss
 
 WARNING: loghost could not be resolved.
 Check your /etc/hosts, must be 
 
 127.0.0.1   localhost loghost
hi!

Ive added the loghost to the /etc/hosts, now the warning is gone, but
the error persists.

Oct  8 18:43:25 opensolaris syslogd: line 42: unknown priority name
notice /var/adm/authlog
Oct  8 18:45:06 opensolaris syslogd: line 42: unknown priority name
notice /var/adm/authlog

output of my /etc/syslog.conf

# i saw that auth.notice is already present on the line below by default
#but it still whether it's there or not it doesn't log the messages. 

#*.err;kern.notice;auth.notice  /dev/sysmsg
*.err;kern.notice   /dev/sysmsg
*.err;kern.debug;daemon.notice;mail.crit/var/adm/messages

*.alert;kern.err;daemon.err operator
*.alert root

*.emerg *

auth.notice /var/adm/authlog

# if a non-loghost machine chooses to have authentication messages
# sent to the loghost machine, un-comment out the following line:
#auth.noticeifdef(`LOGHOST', /var/log/authlog, @loghost)

mail.debug  ifdef(`LOGHOST', /var/log/syslog, @loghost)

#
# non-loghost machines will use the following lines to cause user
# log messages to be logged locally.
#
ifdef(`LOGHOST', ,
user.err/dev/sysmsg
user.err/var/adm/messages
user.alert  `root, operator'
user.emerg  *
)

arun

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] not able to create vnic over wlan card

2009-10-08 Thread Arun Tomar
hi!

i was trying to create vnic over my wifi card so that i can use it with
virtualbox for further networking etc, but failed, any help is
appreciated. 

a...@opensolaris:~# dladm show-phys
LINK MEDIASTATE  SPEED  DUPLEXDEVICE
rum0 WiFi up 48 unknown   rum0
rge0 Ethernet unknown0  unknown   rge0
vboxnet0 Ethernet unknown0  unknown   vboxnet0
a...@opensolaris:~# dladm show-link
LINKCLASSMTUSTATEOVER
rum0phys 1500   up   --
rge0phys 1500   unknown  --
vboxnet0phys 1500   unknown  --
a...@opensolaris:~# dladm create-vnic -l rum0 r1
dladm: vnic creation over rum0 failed: operation not supported

arun.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] opensolaris+ipython+readline+autocomplete

2009-10-07 Thread Arun Tomar
Dear all,

I've been trying really hard to get this combination working.

opensolaris 2009.06+ python2.6+ipython with readline and autocomplete
support. If anybody has successfully setup this combination, could you
please share it. 

I've also installed SUNWgnu-readline for the required libraries, but
still it doesn't work. 

I tried setup my requirement on both build 111b and 124. 
a...@opensolaris:~# ipython
WARNING: Readline services not available on this platform.
WARNING: The auto-indent feature requires the readline library

I know that belenix has achieved this and through new BE i installed
belenix 08 version and tried that. but b'cas of poor support of ati
drivers i don't get a GUI interface so i've to stick with opensolaris
for now as it works on my desktop. 

I would also like to know if i could use/add the belenix repository to
my osol0906 and install the required stuff from there. Will this work?
or has anyone tried that?

Regards,

Arun Tomar.

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] usb 2.0 works slow

2009-09-11 Thread Arun Tomar
hi!
guys.

i was trying to achieve the speeds mentioned according to the usb 2.0 specs.
http://en.wikipedia.org/wiki/USB_2.0#USB_2.0

i'm not anywhere near it. has anyone else faced similar issues.

use case:
i've a 16 gig usb 2.0 pen drive and an amd athlon dual core system with usb
2.0 ports.

pasting my finding below

a...@opensolaris:/media# rmformat
Looking for devices...
 1. Logical Node: /dev/rdsk/c11t0d0p0
Physical Node: /p...@0,0/pci1043,8...@13,5/stor...@6/d...@0,0
Connected Device: Kingston DT 101 II1.00
Device Type: Removable
Bus: USB
Size: 15.3 GB
Label: repo0906
Access permissions: Medium is not write protected.


Sep 11 20:03:07 opensolaris usba: [ID 912658 kern.info] USB 2.0 device
(usb951,1625) operating at hi speed (USB 2.x) on USB 2.0 root hub: stor...@6,
scsa2usb1 at bus address 3
Sep 11 20:03:07 opensolaris usba: [ID 349649 kern.info] Kingston DT 101
II 001372982955F961061909AB
Sep 11 20:03:07 opensolaris genunix: [ID 936769 kern.info] scsa2usb1 is
/p...@0,0/pci1043,8...@13,5/stor...@6
Sep 11 20:03:07 opensolaris genunix: [ID 408114 kern.info] /p...@0
,0/pci1043,8...@13,5/stor...@6 (scsa2usb1) online
Sep 11 20:03:07 opensolaris scsi: [ID 583861 kern.info] sd2 at scsa2usb1:
target 0 lun 0
Sep 11 20:03:07 opensolaris genunix: [ID 936769 kern.info] sd2 is /p...@0
,0/pci1043,8...@13,5/stor...@6/d...@0,0
Sep 11 20:03:07 opensolaris scsi: [ID 107833 kern.warning] WARNING: /p...@0
,0/pci1043,8...@13,5/stor...@6/d...@0,0 (sd2):
Sep 11 20:03:07 opensolaris sd_get_write_cache_enabled: Mode Sense
returned invalid block descriptor length
Sep 11 20:03:07 opensolaris genunix: [ID 408114 kern.info] /p...@0
,0/pci1043,8...@13,5/stor...@6/d...@0,0 (sd2) online
Sep 11 20:03:07 opensolaris genunix: [ID 314293 kern.info] device
pciclass,030...@5(display#0) keeps up device s...@0,0(disk#2), but the latter
is not power managed
Sep 11 20:03:07 opensolaris pcplusmp: [ID 805372 kern.info] pcplusmp: ide
(ata) instance 3 irq 0xf vector 0x45 ioapic 0x2 intin 0xf is bound to cpu 1

a...@opensolaris:/etc/webmin# dd if=/dev/dsk/c11t0d0p0 of=/dev/null bs=32k
^C10042+0 records in
10041+0 records out
329023488 bytes (329 MB) copied, 18.0087 s, 18.3 MB/s

a...@opensolaris:~/Azureus Downloads/Fedora-11-i386-DVD# dd
if=Fedora-11-i386-DVD.iso of=/dev/rdsk/c11t0d0p0 bs=32k
112421+1 records in
112421+1 records out
3683829760 bytes (3.7 GB) copied, 865.186 s, 4.3 MB/s



-- 
Regards,
Arun Tomar
blog: http://linuxguy.in
website: http://www.solutionenterprises.co.in
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Re: [osol-discuss] Does solaris 10 08/07 Support MSI-x

2008-06-20 Thread Arun
Hi Pradeep,

I came across this link. 

http://developers.sun.com/solaris/articles/interrupt_handlers.html

Regards,
Arun
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] memcached in SXDE

2008-03-12 Thread Arun Gupta
Does the latest SXDE available from 
http://www.sun.com/software/solaris/solaris-express/get.jsp have memcached 
built in ?

Also, are there any issues if I install it as VM on MacOS and use the memcached 
functionality (only for experimental purpose) ?

-Arun
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] how do I change text and background colors?

2007-10-31 Thread arun P
My computer is a Pentium 4 PC running Solaris Express - Developer Edition 2/07. 
I use CDE because the JDS has crashed on me several times (computer has no 
internet access, hence no updates). So what do I do to change text and back 
ground colors of PDF documents? My Acrobat Reader runs on CDE. Evince pdf 
reader also runs on CDE. So if you can show me how to change the preferences 
for either pdf reader, I would appreciate it.
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] how do I change text and background colors?

2007-10-30 Thread arun P
Hi, I'm a total newbie and I have  aquestion. I read a lot of PDF documents and 
I would like to change the default black text on white background to other 
colors, ie. black on grey... 

Here's what my .Xdefault have
acroread*Background: black
acroread*Foreground: white

This only changes the colors of the toolbar, not the text color and the 
background agains which the text is shown. 

There's also a a hidden .acror file in my home directory which is used to 
control the behaviors of Acrobat Reader 4 (acroread). So, should I edit the 
.Xdefault file or the .acror file in order to change the text and background 
colors of the pdf files and how do I do that? What values should I put in one 
of those files? Thanks in advance!
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] Problem using acctcom...

2007-01-05 Thread Arun
when i try using acctcom in my solaris 10 machine, it gives out the foll error 
essage : acctcom: cannot open /var/adm/pacct
Am kind of new to the environment so am not able to trace out the problem...
Can anyone help me out with this???

thanks and Regards,
Arun DK
 
 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org