Console output on Solaris 7 and Solaris 8

Hi All...
It seems to me strange and impossible, but...
I load 32-bit driver : add_drv -m '* 0600 root root' <driver_name> on Solaris 7 and 8.
Both systems are 32-bit. The same source, the same define flags ( I use -D_KERNEL -DSUNDDI ).
On 8 I can see my driver's console output, on 7 - no way!
I produce console output using function cmn_err(CE_NOTE, format ...);
One interesting thing else: after my driver has come in kernel refuses to attach it, so the driver remains unattached. After rem_drv I checked dmesg output, there I saw this :
NOTICE: <driver name>: 64-bit driver module not found
What could it be?? Any suggestions are welcome
Thank you in advance
Andrew

Sorry, computer was booted with 64-bits kernel.
Andrew

Similar Messages

  • HTML output on NT and solaris are diffierent for a report

    Hi,
    I have created a report on win2000
    and did the deployment on Solaris box.
    When i call a report from a nt box HTML
    looks fine but if i call same report from solaris box the font size is changed and also the formatting.
    This also affects the PDF format.
    Any help will be highly appreciated.
    Shailesh

    hello,
    when moving form NT to UNIX (or vice versa), you have to take in
    account, that the fonts you were using on one plattform might
    not be availble on the other one.
    for that reason, reports provides you with font-substituion
    functionality in form of the UIFONTS.ALI file, where you can
    define substitution rules. if you have not set up this file, the
    fonts will be substituted by a default font, which most likely
    will not be the same metrics as your original font.
    but be aware, that the metrics of fonts are different, so you
    might want to check which font on plattform A is best
    represented by which font on plattform B.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Solaris 9, Solaris Management Console ISSUE

    Solaris 9, Solaris Management Console ISSUE
    I have Solaris 9 installed and I am unable to use the Solaris Management console.
    I have managed to start it:
    /etc/init.d/init.wbem start
    /etc/init.d/init.wbem status -> shows it's running
    But if I try browser with the link http:// host:898, I have got the following error:
    "A web version of the Solaris Management Console is not available at this time."
    any Idea why?

    Are you running Trusted Extensions? What patch cluster are you on? What toolbox are you opening?

  • Compiler directives to differetiate between solaris 9 and solaris 10

    i have an API which makes certain function calls which are different for solaris 9 and solaris 10. i cannot add my own defines, since that would mean that applications too would have to define them.
    does the Sun Workshop compiler provide any default directives to differentiate between solaris 9 and solaris 10? something like #ifdef __SunOS_5.10 or something like that?
    thanks.

    As explained in the C Users Guide, the compiler predefines several macros, one of which is represents the Solaris version number.
    The macro name is derived from the output of the commands
    uname -s and uname -r, starting with __, connected by _, and with dots replaced by _.
    Running on Solaris 9:
    % uname -s
    SunOS
    % uname -r
    5.9
    The defined macro name is __SunOS_5_9
    On Solaris 10 you get __SunOS_5_10
    __SunOS_5_9

  • Resource Management and Solaris Zones Developer Guide

    Solaris Information Products ("Pubs") is creating a
    developer guide for resource management and Solaris Zones.
    The department is seeking input on content from application
    developers and ISVs.
    We plan to discuss the different categories of applications
    that can take advantage of Solaris resource management
    features, and provide implementation examples that discuss
    the particular RM features that can be used.
    Although running in a zone poses no differences to most
    applications, we will describe any possible limitations and
    offer appropriate workarounds. We will also provide
    information needed by the ISV, such as determining
    the appropriate system calls to use in a non-global zone.
    We plan to use case studies to document the zones material.
    We would like to know the sorts of topics that you would
    like to see covered. We want to be sure that we address
    your specific development concerns with regard to these
    features.
    Thank you for your comments and suggestions.

    Hi there, i'm using solaris resource management in a
    server with more thant 2thousand acounts.
    Created profiles for users, defaul, staff, root and
    services.Seeing the contents of your /etc/project file could be helpful.
    But while using rctladm to enable syslog'ing, I set up
    global flags of "deny" and "no-local-action" in almos
    everything.The flags on the right hand side of the rctladm(1M) output are read-only:
    they are telling you the characteristics of the resource control in question (what
    operations the system will allow the resource control to take).
    Now, many aplications don't work because they are
    denied enough process.max-stack-size and
    process.max-file-descriptor for them to work.
    Applications such has prstat.If prstat(1) is failing due to the process.max-file-descriptor control value, that's
    probably a bug. prstat(1) is more likely bumping into the limit to assess how many file
    descriptors are available, and then carrying on--you're just seeing a log message since
    prstat(1) tested the file descriptor limit, and you've enabled syslog for that control. Please
    post the prstat(1) output, and we'll figure out if something's breaking.
    I don't find a way to disable the global flags. You can't. I would disable the syslog action on the process.max-stack-size control first;
    there is an outstanding bug on this control, in that it will report a false triggering event--
    no actual effect to the process. (If you send me some mail, I will add you as a call record
    on the bug.)
    Can anyone tell me:
    how to disable global flags?
    how to disable and enable solaris resource management
    all together?You could raise all of the control values, but the resource control facility (like the resource
    limit facility it superseded) is always active. Let's figure out if you're hitting the bug I mentioned,
    and then figure out how to proceed.
    - Stephen
    Stephen Hahn, PhD Solaris Kernel Development, Sun Microsystems
    [email protected]

  • How can I instrument VMware, Xen and Solaris as Mbeans in JMX-based App?

    I know VMware ESX exposes WS-Management API, Citrix Xen exposes CIM API, and Sun Solaris exposes WS-MAN API but can I use them as Mbeans in my JMX-based application with no or little effort?
    Does Microsoft Hyper-V exposes WS-MAN API?
    Regards,
    Jovial

    If you are accessing to CIM model thanks to WS-CIM (CIM over WS-Management), then you can use WiseMan in conjonction with JAXB. JAXB is used to generate a Jav binding from XML CIM schemas.
    Could you precise your sentence " I am required to do after instrumentation of WS-Management enabled servers (VMware and Solaris)"
    It really depend of your Client application. On the server side you will get a running Java application in which your JMX MBeans are living. On the other side you will get your management console (the client application). From your console you can get MBean attributes, invoke MBean operations and subscribe to MBean notifications. Monitoring, timer, relations are to be used when you have some special requirements.
    For a start, you should be all set once your MBeans are up and running.
    Regards.
    JF.

  • Solaris Management Console not getting started in Solaris 10

    Hi folks,
    I am new to Solaris and installed Solaris 10 on IBM ThinkCenter successfully. But after booting in text mode, I typed smc and it gives error related to DISPLAY.
    Then I tried with the command kdmconfig and I could choose Xsun. In the Video device list, it was showing XF86-VESA Intel Corp. Unknown board.I saved the settings and pressed F2 for testing. I could see the display; but unable to get in to GUI mode.
    Can you help me please?

    Try search the WEB for your display adapter drivers. However, most of new especially intergated graphics are still not supported.
    You may try to get it working with xsun, run kdmconfig and specify as display adapter VGA or Super VGA. I know that in some cases it helps.
    As well do the same with Xorg and run /usr/X11/bin/xorgcfg, try to find somekind of generic VGA in drivers that are listed there.
    As I know, smc runs only in graphical mode.
    I saved the settings and pressed F2 for testing. I could see the displayDid you see buttons on that display (something like "yes", "no")?
    xsun is very hard to set with most of display adapters and monitors, sometimes it shows only part of the screen, so you might not to see these buttons. However if you see them, press "yes" (or something like that, I dont exactly remember). Then reboot and your computer should start the GUI.

  • Why  difference in Solaris and Linux

    Hi,
    The following program is giving results diferently when I am executing using g++ compiler in Solaris and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );
    strcpy(buf, "HelloWorld");
    printf("\n Address is : %u String is : %s size : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) = '\0';
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Solaris:
    Address is : 134160 String is : HelloWorld size : 4
    Address is : 135704 String is : HelloWor
    Linux:
    Address is : 134518824 String is : HelloWorld size : 4
    Address is : 134518824 String is : HelloWorldAB
    Thanks
    Venkat

    Hi,
    The following program is giving results diferently
    when I am executing using g++ compiler in Solaris
    and Linux.
    Why it is so.
    here is the code:
    #include <stdio.h>
    #include <string.h>
    #include <malloc.h>
    #include <stdlib.h>
    int main( void )
    size_t size;
    char *buf;
    if ( ( buf = (char *)malloc(10 *sizeof(char))) == NULL)
    exit (1);
    size = sizeof( buf );The size you get here is the size of buf, which is the size of a pointer, not the size of what buf points to. sizeof(*buf) would give you size of a char, the type (not the object) that buf points to.
    There is no portable way to find out the number of bytes allocated on the heap if you are give only a pointer to the memory. You have to remember the size some other way..
    strcpy(buf, "HelloWorld");A literal string consists of the characters in the string plus a terminating null, all of which are copied by strcpy. You allocated 10 chars for buf, but are writing 11 chars into it. At this point, the program has undefined behavior. Literally anything at all could happen, because you can't predict the effect of writing outside the bounds of allocated memory.
    printf("\n Address is : %u String is : %s size :
    e : %d ", buf, buf,size);
    if (( buf = (char *) realloc(buf, sizeof(20))) == NULL)The "sizeof" operator in this case is returning the size of the type of a literal 20, which is an int. If you want to allocate 20 bytes, you write 20, not sizeof(20).
    exit ( 1);
    *(buf+10) = 'A'; *(buf+11) = 'B'; *(buf+12) == '\0';SInce you can't count on buf having more than 4 bytes at this time, you are writing into unallocated memory, with undefined results.
    printf("\n Address is : %u String is : %s\n", buf, buf);
    free( buf);
    exit( 0 );
    Instead of asking why you get different results on different platforms, you should be asking why the program doesn't crash on all platforms. :-)
    You can avoid these problems with keeping track of allocating memory by using the C++ standard library instead of trying to manage low-level details yourself as in C code.
    The standard string class, for example, extends itself as needed, and ensures that heap memory is freed when the string object is deleted or goes out of scope. You don't need pointers, malloc, free, or sizeof to use C++ strings.

  • Samba and Solaris, access slow via XP

    Hi everyone,
    I've new to solaris and I've installed 10, update 5. I've configured samba (very badly I believe) so that I can access my solaris box from my XP 64 computer.
    Both are on a local network (connected via a Belkin router) and in the same workgroup. I can see the XP machine from solaris, but not access anything (I just get a 'cannot show contents of directory' message). This is not my main problem, since I mostly want to access the solaris system from XP (I want to set up the solaris box as a RAID Z NAS). This works to a degree. I can see and access my solaris filesystem from XP. Hurray. I have two problems:
    1. I have set guest to NO, but I never get asked for a password (I've set up an account on the solaris system with a password using smbpasswd). I just get access. Why is this? I don't want a bunch of ner-do-wels skulking about my server and erasing files and such.
    2. While I can stream music fine, after a minute or so, if I want to browse files from XP it stalls for about one minute (I think it is re-logging in) and while this happens any music being streamed stops. How do I stay connected and logged in? Here is my smb.conf:
    # Samba config file created using SWAT
    # from 192.168.2.3 (192.168.2.3)
    # Date: 2008/05/11 18:46:15
    [global]
         socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
         ldap ssl = no
    [home]
         read only = No
         guest ok = No
         available = No
    [homes]
         valid users = %S
         read only = No
         guest ok = No
    As you can tell I'm pretty new to all this so you may have to dumb down your answers a little. Thanks for the help.
    Cisco

    Yup.....repeatable!
    Delete mapped drive.
    Connect via USB
    Playbook shows in windows explorer as PlayBook [Pin: number] Y:  being the drive that XP has mapped it to.
    Then search for the PlayBook by ip address \\192.168.1.x
    It shows up under workgroup by its ip address
    Disconect USB cable
    Workgroup connect remains (via wifi)
    Strange to say the least.

  • Why keyboard and mouse right click not working in Solaris and Linux?

    Hi all,
    I have two problems:
    1) I am working on AWT/Swing application and its working fine in window enviornment,but while running on solaris and linux mouse right-click option window not poping up.
    2) Ctrl+c,Ctrl+v,Home and End keyboard key are not working in solaris and linux OS for same application.
    Pls provide me some solution for these problem.
    -Dinesh

    Hi Nik,
    Thanks for reply. I found some solution for the above problem.
    For mouse right click there was problem in my source code.I have not implemented the mousePressed() method
    In case of keyboard Home, End and arrow key working fine after exporting AWTUSE_TYPE4_PATCH=false; in solaris and linux
    But still Ctrl-c and Ctrl-v not working.
    I am using JDK1.5.0_07+Eclipse IDE 3.1
    -Dinesh

  • Vista and Solaris 10, are they compatible?

    I have attempted to follow dual boot guides found everywhere, but none tailor specifically to (or eve mention) Vista. This is a problem, because Vista does not use the same method of boot as previous versions of NT.
    So far, in my many failed attempts at creating a Vista dual boot, I have experienced this:
    When I install Solaris 10 on any partition (Solaris installs correctly and works great), and then attempt to install Windows Vista, Vista says all of my partitions do not meet its requirements for installation (that the drive is NTFS and at least 12 GB is all it tells me). Even after formatting, deleting, recreating, and reformatting a drive, the drive is still unusable. Only after deleting ALL drives, including Solaris 10, and recreating and brand new first partition does Vista allow me to install. If I create a partition that Vista allows me to use, and also a partition to use with Solaris, and THEN install Solaris, the partition that Vista liked can no longer be used!
    When I install Windows Vista first (and it works fine) (which is what I tried first and reasoned is what I should be doing), and then install Solaris 10 on a partition (it installs correctlt and works great), I load up my computer and go into the GRUB bootloader. I can select Windows. However, when attempting to load windows, I get an error (in the Vista font by the way) that says my operating system cannot be loaded. When I load my Vista install disc, it cannot find any installations of windows, and it cannot repair the master boot record, saying something like the filesystem is corrupt. However, just as an experiment, I loaded Vista onto the former Solaris drive, and looked at my first partition. Every file was there, intact.
    I have attempted this with Windows Home Premium 32 bit, Windows Business 32 bit, and Vista Ultimate x64. I don't want to believe that it's impossible to load Vista and Solaris simultaneously, I've seen as much stating its impossibility as I've seen documents telling me how to do it (<- cold irony).
    As long as I can get AN INSTALLATION of Solaris 10 on my machine at the same time I have Vista able to boot, I'm fine, but I seem to have lost on all fronts.
    Edited by: ZetaZeta on Sep 19, 2007 12:30 AM

    In Solaris Express, this is not an issue, according to this weblog:
    http://blogs.sun.com/moinakg/entry/solaris_vista_dual_boot_conclusion
    For versions of Solaris Express prior to buid 70, this method was described for creating a dual-boot with the oh-too-picky Windows Vista:
    http://linux.wordpress.com/2007/02/17/vista-and-solaris-express-dual-boot/
    I am going to assume that setting up a dual-boot with Solaris 10 is similar to, if not the same as, Solaris Express, since the only steps specific to Solaris are the files I copy from Solaris.
    I hope this helps anyone else with a problem similar to mine.

  • Windows Vista and  Solaris...10...install failed...help.

    Hi everyone!!
    i installed Solaris OS twice on my system
    i have vista previously on this...
    i made a partition for sol...
    after installation solaris boots fine
    but windows is totally corrupted and doestn boot normally
    ill have to erase the whole computers HD and then reinstall it again
    both the OSs are not working at the same time
    with solaris already installed if i try to repair or re install windows vista its erasing solaris partition totally
    please help!!! what should i do to get my system running with both OS s.
    any replies.....much awaited
    thank u so much in advance....
    -sriya
    Message was edited by:
    Sriya
    i have dell inspiron...just delivered yday...640m
    Message was edited by:
    Sriya

    Install Windows first, then Solaris {not the other way round}. When Solaris installer detects Windows installation and prompts you whether to preserve Windows partition, make sure to select 'preserve' option. I believe Solaris installer creates appropriate GRUB entries for Windows and Solaris. Even if it doesn't, you can always edit the GRUB menu after the installation is complete.
    Check the following web site if you need detailed instructions:
    http://multiboot.solaris-x86.org/index.html

  • Installing 11i on Solaris and migrating 8.0.5 to new 8.1.6 database

    I've installed 11i (several times) on a new Sun solaris server. I also selected it to install a fresh database. On another server we have 11.0 and 8.0.5 database. We are using a new server to install 11i and we want to move our database over. I managed to transfer all database files over to the new server and upgrade to 8.1.6 (succeeded)
    How do I proceed now to get the 11i applications to use the database i've transferred over. Is this possible??? Can't find any clear documentation on how to merge this database into the applications 11i.
    Thanks
    null

    Gina, I am attempting something similar... but it involves moving an exisiting installation from HP-UX to Solaris, so I cannot move the datafiles... If I run into a method that helps both of us, I will let you know... as of now, I am installing fresh on Solaris and going to try to run upgrade scripts on existing 10.7 and exp/imp into the new instance on 11i (Solaris).
    Let me know of anything you find out that could help me, and I will do the same...
    thanks
    dns

  • How do I install dual-boot Solaris 8 and Solaris 9 on one hard disk ?

    I tried to install Solaris 8 and Solaris 9 on same disk using CDs, but
    the second installation overwrote the first Solaris which was installed
    previoudly on the half-disk size partition of same disk.
    How do I install two Solarises on one hard disk ?
    Thanks
    Yakov

    There are no tricks to get Solaris to dual boot on the same drive. Just allocate and pick the free slices not used by the first Solaris install when you put in the second install. Technically speaking there is nothing preventing you from running seven separately bootable Solaris instances on the same drive (one of 8 available slices is overlap -- slice 2) provided you use a swap file on a root partition instead of reserving a whole slice for swap.

  • Dual boot windows 7 and solaris 11

    Hi Friends,
    Could some one please explain the steps to install dual boot windows 7 and solaris 11?
    Thanks
    Raja

    Install Windows leaving a partition for Solaris.  Install Solaris into the empty partition.  Reboot.  Use a partition manager if you need to shrink your current Windows Partition.  GParted works great and is free.
    alan

Maybe you are looking for

  • Merge iPhoto name with Address Book contact card?

    I have a lot of pictures named on iPhoto under faces. But then I just put some contacts in my Address Book and I wanted to know if theres a way to merge the Faces name and the Contact Card. Or maybe if I can just rename all of the Faces at once under

  • Error in images & videos using Firefox 4.0.1

    Ever since I've upgraded to Firefox 4 (and 4.0.1), there are occasional graphical errors in web images and videos, which look like multicolored lines, thin shapes or tetris shapes. It occurs on videos from sites like Hulu and images from Google Image

  • Problem in dreamweaver - image file and swf file.

    Hi friends.....nice to be here. Ahnm, lets start from the beginning! J I am new here and my english isnt so good, but i´ll try to explain what was happening with my webpage using Dreamweaver CS3 and a swf file-..Im sure that for most of you it's a ba

  • Invoice PDF output duplicated

    Hi, Some times the PDF output of the invoice is duplicated with that of previous invoice,where the invoices are created simultaneously via transaction VF04. We use a custom program and Sapscript for this purpose. But this doesn't happen all the time

  • CPU intensive process

    Hi, I issue a TOP command in my Linux DB and I see this process which eats all the CPU (100%), How do I find this inside the database which program is being run? PID USER PR NI %CPU TIME+ %MEM VIRT RES SHR S COMMAND 9763 oracle 25 0 100 7:35.75 3.6 1