Kernel source-level debugging

Is any source level debugging available for Solaris 2.8? Does anyone actually have ksld working, or does Sun not support it anymore because it doesn't work? I have been happily using kgdb for many years on 2.6,but now have been forced to upgrade to 2.8,and there doesn't seem to be anything available. If anyone has ksld working and would be able to send me a copy, please reply

KSLD did work at one time with Solaris 8. I don't know about its current status. I no longer see it listed at http://soldc.sun.com/developer/support/driver/tools/tools.html, so that is not a good sign.
KSLD was developed by a group outside the regular Solaris kernel group and without proper architectural oversight. Other debugger development groups also exist with different ideas about what is desirable in a kernel debugger. This resulted in friction between various groups. My guess would be that KSLD is not supported at this time and may or may not be coming back.
Richard

Similar Messages

  • Kernel security level changes on its OWN?

    Hi...
    using OS 10.3.9 on a G4 dual 533mhz with a gig of ram. It is wired into an Airport Extreme that firewalls for a wireless laptop as well, yes it is set encrypted and unauthorized NIC card addresses are excluded in the Airport Administration software...
    I dont have Little Snitch set to run automatically, but it appears as having launched before the last kernel panic. (so says Crashreporter_
    The kernel panic happened between the time this computer was put in user log in window Sleep Mode yesterday and when I woke it up today to log into one of the user accounts (I am the only one to have maintenance/Full Admin. access)
    The typical user log in screen with the names was up, but a kernel panic had overlaid the visual... parts that made me perk up was the last line said it was waiting for debugging to occur... the NIC address of the network card was shown, and the IP number that is set in the Network panel...
    I checked through Onyx into the System log Crashreporter and found the stream of log info during the 'wake up' mode:
    Jan 22 22:28:16 localhost init: kernel security level changed from 0 to 1
    Jan 22 22:28:16 localhost loginwindow[205]: Sent launch request message to DirectoryService mach_init port
    I have never seen a kernel security change in any of the logs in the past... No new user accounts were made, and no new levels of access have been assigned to existing users...
    What does this mean, a level 1 setting of a kernel? Should I Admin Panic along with the kernel?

    Basically, the change means that the kernel is going from insecure to secure mode, which prevents the sappnd and schg flags from being turned off. More information is available on this page.
    (19398)

  • Kernel source support for Xperia L

    Hi,
    I'm an XDA forum member.
    I'm have created this thread to inform you about the hiccups kernel devs are running into compiling prima module properly. Firstly, the prima source you've hosted on your git, don't compile with the 15.0.A.2.17 source. The wcnss driver in the kernel source needs to be patched to make the module even compile.
    It's my sincerest request to include buildable prima sources in the kernel sources itself. If not possible, atleast give us some pointers on how to fix it.
    By this kernel devs can target their efforts on other important things which otherwise would have been wasted on fixing and debugging the prima module.
    Awaiting reply.
    Regards
    Raj.Joshi (my profile: http://forum.xda-developers.com/member.php?u=4753363)
    XDA
    R@J

    To get in contact with our developers i recommend that you go to stackoverflow.com or that you send an email to [email protected]
    I've edited your topic and moved it to the proper forum.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • 2.4.31 kernel source / .config

    Hi,
    Please forgive me if this is posted somewhere.
    I need to build that pesky new e1000 module from Intel and I can't find the
    2.4.31 .config for zfd 4.0.1 ir7 anywhere.
    Does anyone know where I can find it? I dont have a lot of time to spend
    on this, but I also don't want to replace this kernel with my own.
    Thanks,
    -Brian

    On Tue, 18 Jul 2006 18:19:47 GMT, [email protected] wrote:
    > Also, Do you know who has built the e1000 module for 2.4.31 or are you
    > assuming that someone has done it by now?
    I read it in another thread IIRC.. you don't really need the config files..
    From: [email protected]
    Ok, so I have gotten my boot disk to work following the process below,
    which is kind of a sampling of other peoples stuff out there, which I hope
    to give credit for when I'm all done here.....
    I have not tested the PXE boot, only the bootcd.iso
    Download the 2.4.22 Linux Kernel
    wget http://www.kernel.org/pub/linux/kern...2.4.22.tar.bz2
    unpack the Source
    tar xvfj linux-2.4.22.tar.bz2
    enter the directory created
    cd linux-2.4.22
    Download the 2.4.22-ac4 patch.
    wget http://www.kernel.org/pub/linux/kern...le/alan/linux-
    2.4/2.4.22/patch-2.4.22-ac4.bz2
    Uncompress the patch
    bunzip2 patch-2.4.22-ac4.bz2
    Download the Novell ZENworks Kernel Patch
    wget http://www.novell.com/coolsolutions/...dimgkrnlpatch-
    2.4.18-4.0-p1.tgz
    Unpack the file
    tar xvfz zfdimgkrnlpatch-2.4.18-4.0-p1.tgz
    Change the Kernel version
    sed 's/2.4.18/2.4.22/' <zenpatch-2.4.18-4.0-p1.patch > zenpatch-
    2.4.22.patch
    Apply the Patches
    patch -p0 < zenpatch-2.4.22.patch
    patch -p1 < patch-2.4.22-ac4
    Configure the Kernel
    make menuconfig
    I went in and did the following
    Processor Type and Features ->
    No to Math Emulation
    SCSI Support ->
    SCSI low-level drivers->
    Yes to SATA Support
    USB Support ->
    ---USB Human Interface Devices (HID)
    Yes to USB Human Interface Device (full HID) support
    Yes to HID input Layer Support (NEW)
    Exit and Save the configuration
    Run the following
    make clean ***Note Novell Recommends this***
    make dep
    make bzImage ***Note Case does matter on the I***
    make modules
    make modules_install
    Get the ZENDist package
    wget http://www.novell.com/coolsolutions/...ist-4.0-p1.tgz
    tar zxvf zendist-4.0-p1.tgz
    cd /usr/src/build
    ../buildImages.s
    Copy the 2.4.22 kernel and modules over to our build area....
    cp /usr/src/linux-2.4.22/arch/i386/boot/bzImage bootdisk/firstdisk/kernel
    cp -r /lib/modules/2.4.22-ac4 bootdisk/thirddisk/lib/modules
    Remove old stuff
    rm -rf bootdisk/thirddisk/lib/modules/2.4.18
    ../buildImages.s
    Copy the BroadCom Driver from the Forge site into
    the /build/bootdisk/thirddisk/lib/modules/2.4.22-ac4/kernel/drivers/net
    directory and then redo the
    ../buildImages.s
    This will add-in the BroadCom drivers for the GX280 computer.
    ***NOTE*** I had to run the GX280 SATA drive in Compatability mode in the
    BIOS, otherwise the drive did not show under the img dump ******
    I should also note here that the hdparm command does nto work with this.
    Imaging my Windows XP image took about 6 minutes though.
    I also did the 2.4.22 kernel because there is a compiled BroadCom driver
    on the Forge site.
    And from Roy Erez...
    So... SATA isn't supported by this trick on the Gx280 machines.
    The only way I could get SATA to work in "normal" (not "compatibility")
    mode in these machines was using the 2.4.28 kernel.
    As of kernel 2.4.27 SATA is merged into the kernel source tree so you
    don't need Alan Cox's patch to enable SATA.
    This only patches I applied to my kernel were the zen patch and a
    broadcom 57xx patch (had to change the version string in this one).
    Although ICH6 isn't yet fully supported it does work in a "Looks like
    ICH5" mode and I'm able to successfully take and put an image in "normal
    " sata mode.
    As to USB keyboard support - after trying several combinations I think
    it's better to compile HID support using HIDBP rather than the full HID
    layer - the only HID feature needed in the imaging environment is
    keyboard support and HIDBP handles it well enough.
    If you have already compiled drivers or have linux.2 please put them on
    http://forge.novell.com/modules/xfmo...ect/?zfdimgdrv
    Live BootCd and USB Disk from Mike Charles
    http://forge.novell.com/modules/xfmod/project/?imagingx
    eZie http://forge.novell.com/modules/xfmod/project/?ezie
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

  • Error about Source Level only if 5.0?  I'm using Java 1.6?  Maps

    Hello everyone. I was just trying to run some simple Source Code from my book here:
    package mapa;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Set;
    public class MapTest
         Map<String, String> phonebook = new HashMap<String, String>();
        // constructor
        public example2(String n[], String nums[]) {
           for(int i=0; i< n.length; i++)
               phonebook.put( n, nums[i] );
    public static void main(String[] args) {
    // data
    String [] names = { "Lefty", "Guarav", "Wong", "Rupamay" };
    String [] extns = { "4873", "4810", "3769", "0" };
    // get an instance of this class
    example2 ex = new example2( names, extns );
    // dump out the map
    System.out.println("map: " + ex.phonebook);
    // get the mappings
    Set<Map.Entry<String,String>> s = ex.phonebook.entrySet();
    // iterate over the mappings
    // for (Iterator i = s.iterator(); i.hasNext(); ) {
    for (Map.Entry me : s) {
    Object ok = me.getKey();
    Object ov = me.getValue();
    System.out.print("key=" + ok );
    System.out.println(", value=" + ov );
    and i'm getting the following errors when I run it in Eclipse:
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         example2 cannot be resolved to a type
         example2 cannot be resolved to a type
         Syntax error, parameterized types are only available if source level is 5.0
         The type Map.Entry is not generic; it cannot be parameterized with arguments <String, String>
         Syntax error, 'for each' statements are only available if source level is 5.0
         at mapa.MapTest.main(MapTest.java:24)Line 24 is:
      example2 ex = new example2( names, extns );I've compiled things with Eclipse before such as Networking programs and they worked fine, not sure whats wrong with this example.
    Thanks!

    Oops it looks like on that line they are using the Class itself, and they had it renamed to Example2 not MapTest. I changed the code to the following but still getting errros:
    package mapa;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Set;
    public class MapTest
         Map<String, String> phonebook = new HashMap<String, String>();
        // constructor
        public example2(String n[], String nums[]) {
           for(int i=0; i< n.length; i++)
               phonebook.put( n, nums[i] );
    public static void main(String[] args) {
    // data
    String [] names = { "Lefty", "Guarav", "Wong", "Rupamay" };
    String [] extns = { "4873", "4810", "3769", "0" };
    // get an instance of this class
    MapTest ex = new MapTest( names, extns );
    // dump out the map
    System.out.println("map: " + ex.phonebook);
    // get the mappings
    Set<Map.Entry<String,String>> s = ex.phonebook.entrySet();
    // iterate over the mappings
    // for (Iterator i = s.iterator(); i.hasNext(); ) {
    for (Map.Entry me : s) {
    Object ok = me.getKey();
    Object ov = me.getValue();
    System.out.print("key=" + ok );
    System.out.println(", value=" + ov );
    Exception in thread "main" java.lang.Error: Unresolved compilation problems:
         The constructor MapTest(String[], String[]) is undefined
         ex.phonebook cannot be resolved or is not a field
         Syntax error, parameterized types are only available if source level is 5.0
         The type Map.Entry is not generic; it cannot be parameterized with arguments <String, String>
         ex.phonebook cannot be resolved or is not a field
         Syntax error, 'for each' statements are only available if source level is 5.0
         at mapa.MapTest.main(MapTest.java:24)

  • Syntax error: annotations are only available if source level is 5.0

    In eclipse, I am trying a hello world JMS tutorial.
    In the code below, it doesn't like the @ sign for some reason... And I don't know how to make it happy....
    It give this error:
    Syntax error: annotations are only available if source level is 5.0
    --------------code------------
    public class MessageSender {
       @Resource(mappedName = "jms/GlassFishBookConnectionFactory")
       private static ConnectionFactory connectionFactory;
    Here is my path if that helps.
    Path=C:\oracle\product\10.2.0\client_1\bin;C:\Program Files (x86)\Java\jre8\bin;c:\glassfish4\glassfish\bin;C:\Program Files (x86)\Java\jdk1.8.0\bin
    Thanks for any leads!
    Jim

    It give this error:
    Syntax error: annotations are only available if source level is 5.0
    That exception is telling you that the java compiler version being used to compile your java source is not 5.0 or later.
    Eclipse uses 'some' version of Java to run itself. And, by default, your java code will use that same version of java unless you configure it to use a different version.
    http://wiki.eclipse.org/Eclipse.ini#Specifying_the_JVM
    One of the most recommended options to use is to specify a specific JVM for Eclipse to run on. Doing this ensures that you are absolutely certain which JVM Eclipse will run in and insulates you from system changes that can alter the "default" JVM for your system. Many a user has been tripped up because they thought they knew what JVM would be used by default, but they thought wrong. eclipse.ini lets you be CERTAIN.
    Check the version of java that eclipse is using. Just because that version of java is not on your path doesn't mean eclipse isn't using it.
    Then repost your question in an eclipse forum.

  • Problem with setting Source Level in Sun Studio 2

    I've got problem with setting Source Level to 1.5 in Sun Studio 2. When I try to set it to 1.5 in Project properties and click Ok everything seem to go well, but when I open Project Properties again Source Level is set to 1.4. I need this to work cause I started to lear Java recently and I want to use foreach loop.
    Please help

    I'm just citing an example using Date().
    In fact, whether I use DateFormat or Calendar, it shows the same result.
    When I set the date to 1 Jan 1950 0 hours 0 minutes 0 seconds,
    jdk1.4.2 will always return me 1 Jan 1950 0 hours 10 minutes 0 seconds.
    It works correctly under jdk1.3.1

  • How to force CoreDump in the Kernel source code

    Hi,
    Anyone know, how to force coredump in the Kernel source code?. And also to collect all information related to CPU Registers, CPU IRAM, Cache Data and complete SDRAM content.

    pull your RAM out....
    Wouldn't recommend doing that really...... And why would you want to cause a kernel panic?
    EDIT: Spelling sucked...
    Last edited by crankyadmin (2009-09-28 22:02:14)

  • How to change the source level in java Studio creator

    Hi,
    I am using Sun Java Studio Creator 2 Update 1 IDE, in this IDE how to change the source level to 1.5 for an existing project.
    Thanks in advance,
    Rajesh.

    Hi!
    Unfortunately Sun Java Studio Creator 2 Update 1 doesn't support 1.5 source level. But You can try to download NetBeans IDE (from http://www.netbeans.org) and there with Visual Web project You will find the same functionality as for Creator. And 1.5 source level is supported by NetBeans.
    Thanks,
    Roman.

  • Kernel patch level

    hello,
    We have 3 system landscape DEV, QAS & PRD on HP-UX,  oracle 9.2, ECC 5.0.
    kerne patch level of DEV system is 196 and QAS system is 347 and PRD system's kernel patch level is 196
    can this is affect on request transporting DEV to QAS and PRD or any issues plz. guide me
    thanks

    Hi,
    No problems for tranports but you're not qualifying what will be running on production....
    The whole point of a quality system is to use exactly the same release, kernel patch levels and SP levels as the prodcution system.
    Regards,
    Olivier

  • How do I see the Kernel patch level in Java ONLY instance?

    Could someone please tell me How do I see the Kernel patch level in a Java ONLY instance?
    In Abap, it is simple!
    In Java I see in the System Info: Kernel Version:  7.00 PatchLevel 108458.44 
    BUT that doesn't correspond to the real patch level which I can see when I do disp+work which gave me 111

    Hello Yechezkel,
    I am not sure whether the patch number you are looking for is available.
    Typically you can use "-v" to display the patch level of SAP kernel programs. When I run "jcontrol -v" or "jlaunch -v", the patch number is blank (at least on the 6.40 release I checked)
    The SP level should be able to tell how current the Java instance is updated, especially for NetWeaver 7 systems always patched with JSPM stack.
    Best regards,
    Victor

  • Make dep never works in kernel source

    OK So.. i'm building the latest drm code from git to get Dave Airlie's source code for the R300 since he just dropped 5,000 line of source code out of the R300 tree using the Linus kernel git tree (i love unstable code) and in the DRI building guide, it says to run make dep against the kernel.
    So I go into the root of the kernel source in /usr/src (i know you should build kernels in the home directory) and as root I type in make dep and it says its uncessary at this time. Well... when would be a good time to run make dep? (lol!!)
    http://dri.freedesktop.org/wiki/Buildin … 5ae2efe516
    ^ Unless make dep is actually unecessary. If it is uncessary, i'll contact TimoJyrinki and tell him about it.
    Thank you for all your help.
    P.S. Please don't drop i686 support for 2 or 3 months because I'm getting an AMD64 processor really soon! ahaha.

    I run make && make modules_install (w/ clean when recompiling) as thats how I did it back when i used gentoo.
    I have my kernel compiled and installed and everything. so thats not an issue at all. (And only 1.1 MB)
    So if make dep is depreciated, whats the new command for make dep? I just want DRM working with airlied's new code for the r300 with the new kernel.
    Here is where I am right now:
    Mesa from git (r300) with heavy optimization flags (including -march=athlon=xp -fomit-frame-pointer- -s -O3)
    Custom kernel with GZIP compression of 1.1 MB installed, up and running
    To do:
    DRM via git running on custom kernel
    I recommend not testing what I am trying to do on a production environment.
    Thanks.
    P.S. I edited the CFLAGS and CXXFLAGS for the drm code as well and made it very optimized for my system.
    Last edited by Neo_The_User (2009-04-01 22:01:44)

  • Source level?

    Hello,
    I have small problem with JSP. I tried to solve it out by myself but i didn't succeed.
    Error message:
    for-each loops are not supported in -source 1.4(try -source 1.5 to enable for-each loops)
    I use netbeans editor. I have source level set to 1.5, but still i have this error.
    any suggestions?
    thanks in advance.
    Message was edited by:
    n3m

    my problem is now resolved. i think it is because of NetBeans carrying over incompatible project meta-data from previous sessions run with (not so much) older version of NetBeans .
    To recap:
    I was using an older version of NetBeans yesterday and was able to build and run my simple application. When I introduced a statement that uses the new form of foreach loop, it started complaining about the for loop and source-level not being 1.5.
    Thats when I re-downloaded the latest NetBeans (JDK 5.0 Update 7 with NetBeans 5.0 Bundle). Still had the same error.
    Then I tried a brand-new simple app using the same new foreach construct, and it worked!
    Suspecting the project meta-data, I used Windows explorer and deleted all the meta-data manually. Then I typed in my source code afresh and voila, the app started working!
    Clearly, NetBeans is trying to re-use incompatible project meta-data from the previous NetBeans sessions.

  • Kernel sources not found on Scientific Linux 6

    Hello!
    I am having trouble installing NI-VISA on Scientific Linux 6. The installer can not find kernel source despite the fact the kernel-headers and kernel-devel packages are installed. How to point the NI-VISA installer to the kernel source location?

    Hello,
    It looks like there's some information about this listed in the installation instructions and installation FAQs of the readme file for NI-VISA here.  Have you looked through this before your attempted install?
    Jon F.
    Applications Engineer
    National Instruments

  • Solaris kernel patch levels

    I have engineers asking for a particular kernel patch level to be installed on machines.
    Is there anywhere that lists the kernel patch level on releases and hardware updates for Solaris 8-10?
    Thanks,
    Duane

    Please start with Sunsolve (http://sunsolve.sun.com) and Sun documentation (http://docs.sun.com) web sites.

Maybe you are looking for

  • How to pass value to pop up window using javascript function?

    I am not sure how to do this, I want to open new window from existing form,This is Mod/PLsql for consists some javascript functions also. When I am clicking on new window in form then new form should open with results of value entered,but new window

  • Electronic Bank Statment/MT940

    hi Guru, i am configuring Electronic Bank statement for my company and facing a scenario. we make payment to our employees for re-imbursment of their expenses. it is done through straight to bank facility of standard chartered bank. we make payment i

  • Webutil client_text_io

    Reading files with client_text_io (webutil) is 20 times slower as in forms 6i text_io(client - server). What is wrong?

  • Recommendations for a UML Library (programmatic)

    Hello All, Can anyone recommend a programmatic UML API? I want to generate UML diagrams by reverse engineering classes of interest that can be rendered in a web page. I was planning on using reflection to introspect my classes, so a programmatic libr

  • How can I safely delete a questionable email after it has been downloaded?

    Norton tells me it will scan for virus if I use outlook or outlook express, but in certain cases not for thunderbird. what are the exceptions? What should our proper procedure be?