Questions tagged [opensolaris]

OpenSolaris was an open source computer operating system based on Solaris created by Sun Microsystems.

OpenSolaris was an open source computer operating system based on Solaris created by Sun Microsystems. (wikipedia)

Related tags

82 questions
0
votes
2 answers

I want to replace 'ld' with 'gcc' in my Makefile to link my kernel objects

In my project I have makefiles which build Solaris kernel modules, and they use gcc to compile files but use ld to link all .o files together into a kernel module. I am trying to include some coverage options like gcov (-fprofile-arcs) or tcov…
deepthi s
  • 23
  • 2
0
votes
3 answers

passwd command in shell script

I am making a shell script that automatically create users, but I cannot think of how to use passwd command within my shell script, how should I use it with shell script? --stdin option doesn't work for me
manatails008
  • 229
  • 4
  • 8
0
votes
2 answers

How to restart service tomcat in solaris?

Hello Today I have problem related to restart service apache tomcat in solaris ? Can you help me about cmd to restart?
nady dy
  • 1
  • 1
0
votes
1 answer

Debugging Solaris OS crash

I have access to a remote Solaris terminal which crashes occasionally, and I have to ask someone with physical access to boot the machine up, which it does successfully. I would like to know which tools/files should I look at to find out the cause…
Epitaph
  • 3,128
  • 10
  • 34
  • 43
0
votes
1 answer

How install freepascal + lazarus in open solaris?

I try to install fpc on open solaris doing this: svn checkout http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 fpcfixes2_4 cd fpcfixes2_4 gmake clean all install INSTALL_PREFIX=~ As described here:…
mamcx
  • 15,916
  • 26
  • 101
  • 189
0
votes
1 answer

How install packages in lazarus headless in solaris

I want to test a lazarus project running in a opensolaris box. I will need to install lazarus+freepascal + indy + remobjects librarys and run everything headless. I have no clue in how make this happened. As far as I know at looking the docs…
mamcx
  • 15,916
  • 26
  • 101
  • 189
0
votes
3 answers

Installing jdk1.6 on opensolaris

I installed opensolaris I saw that it has /usr/jdk/jdk1.6 however it had no bin/javac only java my default java -version is jdk1.6 just after opensolaris installation however as I have no javac I downloaded jdk1.6 for solaris and after executing the…
Jas
  • 14,493
  • 27
  • 97
  • 148
0
votes
1 answer

OracleSolaris 11.2 crashes at boot

As a result of experiments with PCI driver development, I had my kernel crashed. Now I'm in situation when the OS boots and crashed again, since it tries to load my faulty driver. What is the way to fix it, probably avoid booting my driver, so that…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
2 answers

OracleSolaris 11.2 -- simple file I/O, cc warning

#include #include #include #include #include #include int main(void) { int fd; fd = open("abc.txt", O_RDONLY); if (fd < 0) { exit(EXIT_FAILURE); } printf("fd…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
1 answer

OracleSolaris 11.2 -- is /usr/kernel/drv/driver.conf required for PCI?

I'm implementing a small PCI driver for academic purposes, and one thing I'm not clear about if we actually have to provide driver.conf? Different materials which I read (including http://blog.csdn.net/hotsolaris/article/details/1763716), say that…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
0 answers

OracleSolaris 11.2 -- adding driver to system, attach fails

I'm learning Solaris and writing a simple driver; currently I implemented basic entry points, i.e. _init, _info, _finit, *attach, *detach. It compiles and links with no issues, then I copy it to /usr/kernel/drv/amd64/ and call: % add_drv mydrv Jul …
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
2 answers

OracleSolaris 11.2 -- getinfo entry point and multi-thread access

I'm at the beginning of implementing a first Solaris device driver. When implementing getinfo entry point routine, do we have to care that this can be called by different kernel threads? Normally this function updates per-instance softstate data…
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
2 answers

OracleSolaris 11.2 -- toolchain to use

There is two options - SunStudio or gcc toolchain. What is the common practice to adhere when developing a driver -- make sure it builds with both compilers for 32-bit and 64-bit modes, or pick one compiler and stick to it? Thanks.
Mark
  • 6,052
  • 8
  • 61
  • 129
0
votes
2 answers

Where to get the latest opensolaris

I could find the wiki page which is telling about opensolaris os is containing official site link which does not contain opensolaris download thread etc. Moreover, there is no more opensolaris official site as said here ; The http://opensolaris.org…
user592704
  • 3,674
  • 11
  • 70
  • 107
0
votes
2 answers

Solaris 10 kernel source

I am trying to locate the source code of either Solaris 10 or its kernel, as it used to be part of the OpenSolaris project. Do you have any ideas? I was able to find the OpenSolaris source as there are forks (e.g Schillix,open Indiana). Are there…
user3408488
  • 3
  • 1
  • 2