Problems with JMicron-PATA-controller

Hi..
Two weeks ago I purchased new PC-components.
My new mainboard is an ASUS P5K Deluxe
It has a JMicron PATA-Controller onbaoard..
My two IDE-drives (DVD-rom and DVD-writer) are connected to this controller
[XazZ@darklight ~]$ lspci | grep IDE
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 03)
Now this message spams my dmesg:
hda: cdrom_pc_intr: The drive appears confused (ireason = 0xd0). Trying to recover by ending request.
hda: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
hdb: cdrom_pc_intr: The drive appears confused (ireason = 0x01). Trying to recover by ending request.
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
hdb: status error: status=0x58 { DriveReady SeekComplete DataRequest }
ide: failed opcode was: unknown
hdb: drive not ready for command
I already searched for a solution - and someone suggested to add pci=routeirq to the kernel command-line (in my menu.lst)
I did that but it had no effect
In my kernel-config I activated the following options:
Device Drivers  ---> <M> Serial ATA (prod) and Parallel ATA (experimental) drivers  ---> <M>   AHCI SATA support
<M>   Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
<M>   JMicron PATA support
If you need more information - just tell me
Thanks in advance
XazZ

Thanks for the reply
I think you are right
But I solved my problem a bit different:
After I've read your post I wanted to disable the old jmicron module in my kernel-config but I couldn't find it...
Then I opened
linux-2.6.22/drivers/ide/pci/Makefile
with an editor
There I've removed the following line:
obj-$(CONFIG_BLK_DEV_JMICRON) += jmicron.o
After that I've saved the Makefile and build my kernel
-> Works nice until now (tested it for ~30 - 45 minutes) - no dmesg spam anymore
After patching the Makefile:
[XazZ@darklight pci]$ lsmod | grep jmicron
pata_jmicron 4608 0
libata 108084 3 ata_generic,pata_jmicron,ahci
Before I patched it, only the module jmicron was loaded (pata_jmicron *wasn't* loaded)
Thanks for your hint/solution
XazZ

Similar Messages

  • Problem with JMicron 2x 3.5" SATA HD enclosure - JBOD

    I bought the IcyBox 2x 3.5" SATA to USB enclosure and Arch does not detect 2nd drive. This enclosure supports SATA II hard disks with only JBOD.
    dmesg gives this:
    usb 2-2: USB disconnect, address 34
    usb 2-2: new high speed USB device using ehci_hcd and address 35
    usb 2-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 8
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 9
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 10
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 11
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: device descriptor read/8, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 36
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 37
    usb 2-2: new high speed USB device using ehci_hcd and address 38
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 39
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 40
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 41
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: device descriptor read/8, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 12
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 13
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 14
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 15
    usb 5-2: device descriptor read/8, error -110
    usb 5-2: device descriptor read/8, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 42
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 43
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 44
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 45
    usb 2-2: device descriptor read/8, error -110
    usb 2-2: device descriptor read/8, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 16
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: device descriptor read/64, error -110
    usb 5-2: new full speed USB device using uhci_hcd and address 17
    usb 2-2: new high speed USB device using ehci_hcd and address 46
    usb 2-2: device descriptor read/64, error -110
    usb 2-2: new high speed USB device using ehci_hcd and address 47
    usb 2-2: device descriptor read/64, error -110
    usb 1-3: new high speed USB device using ehci_hcd and address 9
    usb 1-3: configuration #1 chosen from 1 choice
    usblp0: USB Bidirectional printer dev 9 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10CA
    usblp0: removed
    usb 1-3: USB disconnect, address 9
    usb 1-3: new high speed USB device using ehci_hcd and address 10
    usb 1-3: configuration #1 chosen from 1 choice
    usblp0: USB Bidirectional printer dev 10 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10CA
    usblp0: removed
    usb 1-3: USB disconnect, address 10
    usb 1-3: new high speed USB device using ehci_hcd and address 11
    usb 1-3: configuration #1 chosen from 1 choice
    usblp0: USB Bidirectional printer dev 11 if 0 alt 0 proto 2 vid 0x04A9 pid 0x10CA
    usblp0: removed
    usb 1-3: USB disconnect, address 11
    usb 2-1: USB disconnect, address 17
    usb 2-1: new high speed USB device using ehci_hcd and address 48
    usb 2-1: configuration #1 chosen from 1 choice
    usb-storage: device found at 48
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 2-2: new high speed USB device using ehci_hcd and address 49
    usb 2-2: configuration #1 chosen from 1 choice
    usb-storage: device found at 49
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 2-2: USB disconnect, address 49
    usb 2-2: new high speed USB device using ehci_hcd and address 50
    usb 2-2: configuration #1 chosen from 1 choice
    usb-storage: device found at 50
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 2-2: USB disconnect, address 50
    usb 2-2: new high speed USB device using ehci_hcd and address 51
    usb 2-2: configuration #1 chosen from 1 choice
    usb-storage: device found at 51
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 1-3: new high speed USB device using ehci_hcd and address 12
    usb 1-3: configuration #1 chosen from 1 choice
    usb-storage: device found at 12
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 1-3: USB disconnect, address 12
    usb 1-3: new high speed USB device using ehci_hcd and address 13
    usb 1-3: configuration #1 chosen from 1 choice
    usb-storage: device found at 13
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 1-3: USB disconnect, address 13
    usb 1-3: new high speed USB device using ehci_hcd and address 14
    usb 1-3: configuration #1 chosen from 1 choice
    usb-storage: device found at 14
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    usb 1-3: USB disconnect, address 14
    usb 2-2: USB disconnect, address 51
    usb 2-2: new high speed USB device using ehci_hcd and address 52
    usb 2-2: configuration #1 chosen from 1 choice
    usb-storage: device found at 52
    usb-storage: waiting for device to settle before scanning
    usb 2-2: USB disconnect, address 52
    usb 2-2: new high speed USB device using ehci_hcd and address 53
    usb 2-2: configuration #1 chosen from 1 choice
    usb-storage: device found at 53
    usb-storage: waiting for device to settle before scanning
    usb-storage: device scan complete
    lsusb
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 003: ID 03f0:171d Hewlett-Packard Wireless (Bluetooth + WLAN) Interface [Integrated Module]
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 053: ID 152d:2336 JMicron Technology Corp. / JMicron USA Technology Corp. Hard Disk Drive
    Bus 002 Device 048: ID 1058:1100 Western Digital Technologies, Inc.
    Bus 002 Device 002: ID 064e:a101 Suyin Corp. Acer CrystalEye Webcam
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    I don't know how to get access to the second drive. It's on and works if swaped with the 1st one.
    As I know JMicron was or still is troublesome for Linux users.
    Last edited by Kardell (2010-02-15 01:24:31)

    I suspect a problem with SATA II incompatibility between these two hard drives.
    The manual said that in the rare circumstances there is a requirement to downgrade SATA II hard drives to operate in SATA (150) mode. In both cases I have to use DOS applications to achieve this, but I cannot get access to these hard drives when they are inside enclosure connected via USB.
    Can someone share some experience about enclosures? Is it the true reaction of the confused SATA controller to disable the second hard drive by default when such incompatibility occurs?
    As you can see lsusb displays this usb connection named by its controller not by the mounted hard drive itself in this case Samsung or Hitachi one.

  • Problems with the IDE controller

    I have a Macbook from 2008, I bought it in November 2008 so it is quite an old model I guess.
    I've never had a problem with it before and I have both Leopard and a Windows partition. The thing is that the other day I ran an antivirus at my Windows XP partition and now it doesn't detect the IDE controller. At the device manager I get a yellow exclamation mark and when I try to install it says that it doesn't exist. The thing is that I know that I had two devices for that but now there's only one and with the exclamation mark.
    Since that happened, the webcam doesn't work properly and the USB ports don't work properly as well, I need to keep restarting the computer to make them work. I don't know what to do since I don't have the Windows XP CD anymore and it's been like years without a problem til now and I'm so so worried since I have to switch OS from time to time because of my job.
    Can you please help me? If you need more info I will provide but please help...

    Yes it shows up in the bios and in the device manager in xp pro.
    No I didnt check for a bent pin on the board but I will and let you know.
    No it just started one day taking along time to access disk then i started getting bad block messages,
    then I changed the drive and still the same thing ,the changed the drive again and again and the cables two times
    and still the same thing.I dont know why I didnt think of checking the board for a bent pin,but I thank you
    for the idea.

  • Problem with jsp and controller

    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"%>
    <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
    <%@ page import='com.uk.nhs.training.data.ActivityMatrix'%>
    <SCRIPT language="JavaScript" type="text/javascript">
    function bookActivity()
    if (document.bookActivityController.activitySelect.selectedIndex == 0)
    alert("Please Select Activity");
    else if (document.bookActivityController.trainerId.selectedIndex == 0)
    alert ( "Please Select Trainer");
    else if(document.bookActivityController.fromDate.value=="")
    alert("Please supply the Start Date of Activity")
    else
    validateForExistingCourses();
    function validateForExistingCourses()
    flag="wait";
    var trainerId=document.getElementById("trainerId").value;
    var fromDate=document.getElementById("fromDate").value;
    var toDate=document.getElementById("toDate").value;
    var activityId=document.getElementById("activitySelect").value;
    url="ajaxList.htm?actionType=checkBookedCoursesActivities&trainerId="+trainerId+"&fromDate="+fromDate+"&toDate="+toDate+"&activitySelect="+activityId;
    what = "checkForPreBookedCoursesActivities(req.responseXML)";
    doCallback(null);
    function checkForPreBookedCoursesActivities(theXmlResponse)
    // alert("in here in checking prebookedCourses");
    if(theXmlResponse != null)
         var isActivityExisting = theXmlResponse.getElementsByTagName('existingActivity')[0].text;
         var isCourseExisting = theXmlResponse.getElementsByTagName('existingbookedcourse')[0].text;     
              if(isActivityExisting=="Y")
              alert("Activity You are trying to book for Trainer already exists");
              return false;
              else if(isCourseExisting=="Y")
              if(confirm('Conflict Message. The dates choosen conflict with a current booking. Do you want to override'))
    window.open("/training1.1/secure/prebookedEvents.htm","clientwindow",'StatusBar', 'toolbar=yes,resizable=yes,scrollbars=yes,width=500,height=400,left=0,top=0');
    return false;
    else
    document.bookActivityController.action="/training1.1/secure/bookActivityTrainer.htm?actionType=submitForm";
    document.bookActivityController.submit();
    function goHomePage()
         window.location="/training1.1/secure/welcome.htm";
    function showHideAmPm(divId)
    if(document.bookActivityController.halfday.checked==true)
    showDiv(divId);
    else
    hideDiv(divId);
    function showDiv(divId)
    var item = document.getElementById(divId);
    alert("show item"+item);
    if (item)
    item.className='unhidden';
    function hideDiv(divId)
    var item = document.getElementById(divId);
    alert("unhide item"+item);
    if (item)
    item.className='hidden';
    function getActivitiesPm()
    if(document.bookActivityController.am.checked==true)
    document.bookActivityController.pm.checked=false;
    flag="wait";
         url="ajaxList.htm?actionType=activities&keyword=PM";
         what = "setActivities(req.responseXML)";
         doCallback(null);
         document.bookActivityController.activityTimeSelect.value="halfday";
         document.bookActivityController.activityTimeSubType.value="pm";
         // alert("subType"+document.bookActivityController.activityTimeSubType.value);
    function getActivitiesAm()
    if(document.bookActivityController.pm.checked==true)
    document.bookActivityController.am.checked=false;
    flag="wait";
         url="ajaxList.htm?actionType=activities&keyword=AM";
         what = "setActivities(req.responseXML)";
         doCallback(null);
         document.bookActivityController.activityTimeSelect.value="halfday";
         document.bookActivityController.activityTimeSubType.value="pm";
    function getSingleDayActivities()
    if(document.bookActivityController.singleday.checked==true)
    document.bookActivityController.moredays.checked=false;
    document.bookActivityController.halfday.checked=false;
    hideDiv('partofhalfday');
    document.bookActivityController.activityTimeSelect.value="fullday";
    flag="wait";
         url="ajaxList.htm?actionType=activities&keyword=FullDay";
         what = "setActivities(req.responseXML)";
         doCallback(null);
    else
    hideDiv('activitySelect');
    function getMoreDaysActivities()
    alert();
    if(document.bookActivityController.moredays.checked==true)
    document.bookActivityController.singleday.checked=false;
    document.bookActivityController.halfday.checked=false;
    hideDiv('partofhalfday');
    document.bookActivityController.activityTimeSelect.value="moredays";
    flag="wait";
         url="ajaxList.htm?actionType=activities&keyword=FullDay";
         what = "setActivities(req.responseXML)";
         doCallback(null);
    else
    hideDiv('activitySelect');
    showDiv('dateTo');
    function setActivities(theXmlResponse)
              //start filling the Venues Select boxes now
              if(theXmlResponse != null)
                   var coursesBox=document.getElementById("activitySelect");
                   coursesBox.options.length=0;
                   var activityElementsLength=theXmlResponse.getElementsByTagName('activity').length;     
                   var activityElementsArray=theXmlResponse.getElementsByTagName('activity');
                   //alert("length"+activityElementsLength+activityElementsArray);                              
              for(x = 0; x < activityElementsLength; x++)
                        //coursesBox.options[coursesBox.options.length] = new Option(coursesElementsArray[x].firstChild.text, coursesElementsArray[x].lastChild.text);
                        var optn = document.createElement("OPTION");
                   optn.text = activityElementsArray[x].firstChild.text;
    optn.value = activityElementsArray[x].lastChild.text;
    coursesBox.options.add(optn);
         if (activityElementsLength>0)
                   showDiv('activityTD');
              flag="release";
    </script>
    <div id="content"><!-- Top story -->
    <div id="topstory" class="box">
    <div id="topstory-img"></div>
    <!-- /topstory-img -->
    <div id="topstory-desc">
    <div id="topstory-title"><strong>BOOK Activity</strong></div>
    <!-- /topstory-title -->
    <div id="topstory-desc-in"></div>
    <!-- /topstory-desc-in --></div>
    <!-- /topstory-desc --></div>
    <!-- /topstory -->
    <div id="bodycontent">
    <% int errorCount=0; %>          
              <spring:bind path="bookactivityevent.*">
              <c:forEach items="${status.errorMessages}" var="error">
                        <B><font color="red">Error: <c:out value="${error}"/></font><B/>
                        <% errorCount++; %>
              </c:forEach>
              </spring:bind>
    <form method="post" name="bookActivityController" action="<c:url value="/secure/bookActivityTrainer.htm"/>">
    <table align="right" width="50%" border=0>
    <input type="hidden" name="activityTimeSelect"/>
    <input type="hidden" name="activityTimeSubType"/>
    <tr>
    <td align="left">
    <INPUT TYPE="checkbox" NAME="halfday" onclick="showHideAmPm('partofhalfday')">Half Day    
    <div align="left "id="partofhalfday" class="hidden">
    <INPUT TYPE="RADIO" NAME="am" onClick="getActivitiesAm()" value="am">AM <INPUT TYPE="RADIO" NAME="pm" onClick="getActivitiesPm()">PM <BR>
    </div>
    </td>
    </tr>
    <tr><td><INPUT TYPE="checkbox" NAME="singleday" onClick="getSingleDayActivities()"> Single Day</td>
    </tr>
    <tr>
    <td><INPUT TYPE="checkbox" NAME="moredays" onClick="getMoreDaysActivities()"> More Days</td>
    </tr>
         <tr>
              <td align="left" id="activityTD">Activity :
              <c:set var="activityMap" value=${requestScope.activityMap}/>
         <c:choose>
                        <c:when test="${activityMap = null}"
         <spring:bind path="bookactivityevent.userSuppliedActivity.activity.activityId">
              <select name="activitySelect" id="activitySelect" size="1"
                   STYLE="width: 150px">
                   <option value="Choose Activity" default>Choose Activity</option>
              </select>
              </spring:bind>
              </c:when>
              <c:otherwise>      
              <spring:bind path="bookactivityevent.userSuppliedActivity.activity.activityId">
              <select name="activitySelect" id="activitySelect"
                   size="1" STYLE="width: 150px">
                   <option value="" default>Choose Activity</option>
                   <c:forEach var="activity" items="${activityMap}" varStatus="a">
                        <c:choose>
                             <c:when
                                  test="${(bookactivityevent !=null) && (bookactivityevent.userSuppliedActivity.activity.activityId == activity.activityId)}">
                                  <option value="<c:out value="${activity.activityId}"/>" selected><c:out
                                       value="${activity.activityId}" /></option>
                             </c:when>
                             <c:otherwise>
                             <option value="<c:out value="${activity.activityId}"/>"><c:out
                                       value="${activity.activity}"/>
                             </c:otherwise>
                        </c:choose>
                   </c:forEach>
              </select>
         </spring:bind>
         </c:otherwise>
         </c:choose>
         </td>
    </tr>
         <tr>
              <td align="left">Trainer:
              <spring:bind path="bookactivityevent.userSuppliedActivity.trainer.trainerId">
              <select name="trainerId" id="trainerId"
                   size="1" STYLE="width: 150px">
                   <option value="" default>Choose Trainer</option>
                   <c:forEach var="trainer" items="${trainers}" varStatus="a">
                        <c:choose>
                             <c:when
                                  test="${(bookactivityevent !=null) && (bookactivityevent.userSuppliedActivity.trainer.trainerId == trainer.trainerId)}">
                                  <option value="<c:out value="${trainer.trainerId}"/>" selected>
                                  <c:out value="${trainer.firstName}"/>&nbsp<c:out
                                       value="${trainer.surName}" /></option>
                             </c:when>
                             <c:otherwise>
                                  <option value="<c:out value="${trainer.trainerId}"/>"><c:out
                                       value="${trainer.firstName}"/>&nbsp<c:out
                                       value="${trainer.surName}" /></option>
                             </c:otherwise>
                        </c:choose>
                   </c:forEach>
              </select>
         </spring:bind>     
              </td>
         </tr>
         <tr>
              <td align="left" id="dateFrom">From Date
              <spring:bind path="bookactivityevent.userSuppliedActivity.dateFrom">
              <input type="text" name="dateFrom" value=""/>
              </spring:bind>
              <img
                   src="../design/cal.gif" width="16" height="16" border="0"
                   alt="Click Here to Pick up the date"></td>
         </tr>
         <tr>
              <td align="left" id="dateTo" class="hidden">To Date
              <spring:bind path="bookactivityevent.userSuppliedActivity.dateTo">
              <input type="text" name="dateTo" value=""/>
              </spring:bind>
              <img
                   src="../design/cal.gif" width="16" height="16" border="0"
                   alt="Click Here to Pick up the date"></td>
         </tr>
         <tr>
              <td align="left" colspan="2"><input type="submit" name="_target1" value="BookActivity"/></td>
                   <c:if test="${(bookactivityevent != null) && (not empty bookactivityevent.conflictBookings)}">
    <td align="left" colspan="2"><input type="submit" name="_target2" value="OverRideBookings"/></td>
    </c:if>
              <td align="left" colspan="2"><input type="button" name="Cancel"
                   value="Cancel" onClick="goHomePage();" /></td>
         </tr>
    </table>
    </form>
    </div>
    <hr class="noscreen"/>
    <div class="content-padding"></div>
    <script language="JavaScript">
         var cal1 = new calendar1(document.bookActivityController.elements['dateFrom']);
         cal1.year_scroll = true;
         cal1.time_comp = false;
    var cal2 = new calendar1(document.bookActivityController.elements['dateTo']);
         cal2.year_scroll = true;
         cal2.time_comp = false;
    </script></div>
    <!-- /content -->
    package com.uk.nhs.training.controller;
    import java.beans.PropertyEditorSupport;
    import java.text.ParseException;
    import java.text.SimpleDateFormat;
    import java.util.ArrayList;
    import java.util.Date;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.swing.text.html.HTMLDocument;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import org.springframework.util.StringUtils;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.validation.ValidationUtils;
    import org.springframework.web.bind.ServletRequestDataBinder;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.AbstractWizardFormController;
    import org.springframework.web.servlet.view.RedirectView;
    import com.uk.nhs.training.contractUtility.ContractHtmlReader;
    import com.uk.nhs.training.data.Activity;
    import com.uk.nhs.training.data.ActivityMatrix;
    import com.uk.nhs.training.data.BookActivityEvent;
    import com.uk.nhs.training.data.Booking;
    import com.uk.nhs.training.data.BookingDetails;
    import com.uk.nhs.training.data.Client;
    import com.uk.nhs.training.data.Course;
    import com.uk.nhs.training.data.Trainer;
    import com.uk.nhs.training.data.Venue;
    import com.uk.nhs.training.data.ActivityTimeConstants;
    import com.uk.nhs.training.service.ActivityMatrixService;
    import com.uk.nhs.training.service.ActivityService;
    import com.uk.nhs.training.service.BookingDetailsService;
    import com.uk.nhs.training.service.BookingService;
    import com.uk.nhs.training.service.ClientService;
    import com.uk.nhs.training.service.CourseService;
    import com.uk.nhs.training.service.TrainersService;
    import com.uk.nhs.training.service.VenueService;
    public class BookActivityController extends AbstractWizardFormController {
         protected final Log logger = LogFactory.getLog(getClass());
         private BookingService bookingFacade;
         private BookingDetailsService bookingDetailsFacade;
         private CourseService courseFacade;
         private VenueService venueFacade;
         private ClientService clientFacade;
         private ActivityMatrixService activityMatrixFacade;
         private ActivityService activityFacade;
         private TrainersService trainersFacade;
         private SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/yyyy");
         public BookActivityController() {
              setCommandClass(BookActivityEvent.class);
         setCommandName("bookactivityevent");
         setBindOnNewForm(true);
         protected Object formBackingObject(HttpServletRequest request)
                   throws Exception {
              BookActivityEvent bookActivityEvent = new BookActivityEvent();
              ActivityMatrix activityMatrix = new ActivityMatrix();
              activityMatrix.setActivity(new Activity());
              activityMatrix.setTrainer(new Trainer());
              List<Booking> bookingList = new ArrayList<Booking>();
              bookActivityEvent.setUserSuppliedActivity(activityMatrix);
              bookActivityEvent.setConflictBookings(bookingList);
              return bookActivityEvent;
         public Map referenceData(HttpServletRequest request, Object command, Errors errors, int Page)
              List trainers = trainersFacade.loadTrainers();
         Map trainersActivitiesMap = new HashMap();
              trainersActivitiesMap.put("trainers", trainers);          
              return trainersActivitiesMap;
         protected ModelAndView processFinish(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors) {
              try {
                   ActivityMatrix activity = (ActivityMatrix) command;
                   activityMatrixFacade.saveActivityMatrix(activity);
                   logger.info("Activity is successfully saved for the trainer");
              } catch (Exception e) {
                   e.getClass();
                   e.printStackTrace();
              return new ModelAndView("bookSuccess");
         @Override
         protected void initBinder(HttpServletRequest request, ServletRequestDataBinder binder) throws Exception {
              dateFormat.setLenient(true);
              binder.registerCustomEditor(java.sql.Date.class, "dateFrom", new SqlDateEditor(true));
              binder.registerCustomEditor(java.sql.Date.class, "dateTo", new SqlDateEditor(false));
              binder.registerCustomEditor(java.sql.Date.class, null, new SqlDateEditor(true));
         protected ModelAndView handleInvalidSubmit(HttpServletRequest request,
                   HttpServletResponse response) throws Exception {
              return new ModelAndView("bookInvalidSubmit");
         @Override
         protected ModelAndView processCancel(HttpServletRequest request,
                   HttpServletResponse response, Object command, BindException errors)
                   throws Exception {
              return new ModelAndView(new RedirectView("welcome.htm"));
         @Override
         protected void onBindAndValidate(HttpServletRequest request,
                   Object command, BindException errors, int page) throws Exception {
              BookActivityEvent bookActivityEvent = (BookActivityEvent) command;
              System.out.println(" PAGE : " + page);
              try {
                   switch (page) {
                   case 0:
                        if (request.getParameter("_target1") != null) {
                             ActivityMatrix userActivityMatrix = bookActivityEvent.getUserSuppliedActivity();
                             buildActivityMatrix(request, bookActivityEvent);     
                             validateActivityMatrix(bookActivityEvent, errors);
                             if (errors.getErrorCount() == 0)
                                  Trainer trainer = (Trainer) trainersFacade.loadTrainersById(userActivityMatrix.getTrainer().getTrainerId());
                                  bookActivityEvent.getUserSuppliedActivity().setTrainer(trainer);
                                  Activity activity= (Activity) activityFacade.loadActivitiesById(userActivityMatrix.getActivity().getActivityId());
                                  bookActivityEvent.getUserSuppliedActivity().setActivity(activity);
                                  boolean activityExists = checkForExistingActivities(userActivityMatrix, errors);
                                  if(!activityExists)
                                  boolean bookingsExist =      checkForBookedCourses(request, bookActivityEvent, errors);
                                  if(bookingsExist)
                                       // inject an error code so that it can be used in GUI
                                       errors.rejectValue("dateFrom","invalid dates","Trainer has Bookings in conflict with the Supplied Activity Dates");
                                  else
                                       errors.rejectValue("dateFrom","Activity Dates supplied already exist");
                        break;
                   case 1:
                        if (request.getParameter("_target2") != null)
                             * Get the user supplied activitymatrix and try to get all the bookings which are in conflict for the trainer
                        List<Booking> conflictBookingsList = (List<Booking>)request.getSession().getAttribute("conflictBookingsList");
                        break;
                   default:
              } catch (Exception e) {
                   System.err.println("Exception :" + e.getMessage());
              super.onBindAndValidate(request, command, errors, page);
         * @param request
         * @param userActivity
         * @param bookActivityEvent TODO
         private ActivityMatrix buildActivityMatrix(HttpServletRequest request, BookActivityEvent bookActivityEvent) {
              ActivityMatrix userActivity = bookActivityEvent.getUserSuppliedActivity();
              userActivity.getTrainer().setTrainerId((String)(request.getParameter("trainerId")));
              userActivity.getActivity().setActivityId((String)(request.getParameter("activitySelect")));          
              String activityTime = (String)request.getParameter("activityTimeSelect");
              String activitySubType = (String)request.getParameter("activityTimeSubType");
              if("fullday".equals(activityTime))
                   userActivity.getActivity().setTime(ActivityTimeConstants.FULLDAY.toString());
              else if("moredays".equals(activityTime))
                   userActivity.getActivity().setTime(ActivityTimeConstants.MOREDAYS.toString());
              else if("halfday".equals(activityTime)&& "am".equals(activitySubType))
                   userActivity.getActivity().setTime(ActivityTimeConstants.AM.toString());               
              else if("halfday".equals(activityTime)&& "pm".equals(activitySubType))
                   userActivity.getActivity().setTime(ActivityTimeConstants.PM.toString());
              if(!("moredays".equals(activityTime)))
                   userActivity.setDateTo(bookActivityEvent.getDateFrom());
              userActivity.setDateFrom(bookActivityEvent.getDateFrom());
              bookActivityEvent.setUserSuppliedActivity(userActivity);
              return userActivity;
         * Create an empty Booking details for client and course...
         * @param booking
         private void setInitialBookingDetails(Booking booking, BindException errors) {
              if (booking.getBookingType().equals("Client-Based")) {
                   if (booking.getClient() == null
                             || booking.getClient().getClientId() == null) {
                        booking.setClient(new Client());
              } else if (booking.getBookingType().equals("Staff")) {
                   booking.setClient(null);
              if (booking.getBookingDetails() == null) {
                   List<BookingDetails> bkDetailsList = new ArrayList<BookingDetails>();
                   BookingDetails bkDetails = new BookingDetails();
                   bkDetails.setCourse(new Course());
                   bkDetailsList.add(bkDetails);
                   booking.setBookingDetails(bkDetailsList);
              } else {
                   List bkDetList = booking.getBookingDetails();
                   if (bkDetList.size() < 1
                             || (bkDetList.size() > 0 && !((bkDetList.get(0)) instanceof BookingDetails))) {
                        BookingDetails bkDetails = new BookingDetails();
                        bkDetails.setCourse(new Course());
                        bkDetList.add(0, bkDetails);
                        booking.setBookingDetails(bkDetList);
                   } else if (((BookingDetails) bkDetList.get(0)).getCourse() == null
                             || ((BookingDetails) bkDetList.get(0)).getCourse()
                                       .getCourseId() == null) {
                        ((BookingDetails) bkDetList.get(0)).setCourse(new Course());
         @Override
         protected void validatePage(Object command, Errors errors, int page,
                   boolean finish) {
              BookActivityEvent activityEvent = (BookActivityEvent) command;
              if (finish) {
              super.validatePage(command, errors, page);
         * Validate client
         * @param booking
         * @param err
         private boolean checkForExistingActivities(ActivityMatrix userSuppliedActivity, Errors err)
              boolean exist = false;          
              List<ActivityMatrix> trainerActivityMatrixList =      activityMatrixFacade.getActivityMatrixBetweenDateRange(userSuppliedActivity.getTrainer().getTrainerId(),
                        userSuppliedActivity.getDateFrom(), userSuppliedActivity.getDateTo());
              if(ActivityTimeConstants.MOREDAYS.equals(userSuppliedActivity.getActivity().getTime()))
                   //checkForDates(trainerActivityMatrixList,);
              else if(ActivityTimeConstants.FULLDAY.equals(userSuppliedActivity.getActivity().getTime()))
                   // checkForDates(trainerActivityMatrixList,);
              else if(ActivityTimeConstants.AM.equals(userSuppliedActivity.getActivity().getTime()) ||
                        ActivityTimeConstants.PM.equals(userSuppliedActivity.getActivity().getTime()))
                   // checkForDates(trainerActivityMatrixList,);
         return exist;          
              * Check for existing bookings for a trainer and sets them on event object
              * @param request request.
              * @param event event.
              * @param err err.
              * @return true- bookings exist else false.
    private boolean checkForBookedCourses(HttpServletRequest request, BookActivityEvent event, Errors err)
         List<Booking> conflictBookingsList =      bookingFacade.loadBookingsByTrainerIdDateRange(event.getUserSuppliedActivity().getTrainer().getTrainerId(),
                   event.getUserSuppliedActivity().getDateFrom(),
                   event.getUserSuppliedActivity().getDateTo());
    request.getSession().setAttribute("conflictBookingsList",conflictBookingsList);     
                   if(conflictBookingsList!=null && conflictBookingsList.size()!=0)
                   event.setConflictBookings(conflictBookingsList);
                   return true;
                   else
                        return false;
         * Validate client
         * @param booking
         * @param err
         private void validateActivityMatrix(final BookActivityEvent activity, Errors err) {
    //          ValidationUtils.rejectIfEmptyOrWhitespace(err, "trainer.trainerId",
    //                    "required.trainer.trainerId", "Valid trainer needs to be selected.");
    ////          ValidationUtils.rejectIfEmptyOrWhitespace(err, "activity.activityId",
    ////                    "required.activity.activityId", "Valid activity needs to be selected.");
    //          if (err.getErrorCount() < 1)
    //                    if (activity.getDateFrom() == null) {
    //                         err.rejectValue("dateFrom", "required.dateFrom",
    //                                   "Valid Activity Start Date is required");
    //                    try
    //                         if (activity.getDateFrom() != null && activity.getDateTo() != null
    //                                   && (activity.getDateTo().before(activity.getDateFrom())))
    //                              err.rejectValue("dateTo", "required.dateTo",
    //                                        "Activity End Date Should be after start date.");
    //                    } catch (Exception ex) {
    //                         err.rejectValue("dateFrom",
    //                                   "dateFrom",
    //                                   "Improper dates, please provide valid dates.");
         * Validate Trainer
         * @param booking
         * @param e
         private void validateTrainer(final Booking booking, Errors e) {
              ValidationUtils.rejectIfEmptyOrWhitespace(e,
                        "bookingDetails[0].startDate",
                        "required.bookingDetails[0].startDate",
                        "Valid Booking Details startDate required.");
              ValidationUtils.rejectIfEmptyOrWhitespace(e,
                        "bookingDetails[0].trainer.trainerId",
                        "required.bookingDetails[0].trainer.trainerId",
                        "Valid Booking Details Trainer required.");
              if (e.getErrorCount() < 1)
                   for (BookingDetails bd : booking.getBookingDetails()) {
                        if (bd.getStartDate() == null) {
                             e.rejectValue("startDate", "required.bbb0",
                                       "Valid Booking details Start Date is required");
                        try {
                             if (bd.getStartDate() != null && bd.getEndDate() != null
                                       && (bd.getEndDate().before(bd.getStartDate())))
                                  e.rejectValue("endDate", "required.bbb0",
                                            "End Date Should be after starting date.");
                        } catch (Exception ex) {
                             e.rejectValue("bookingDetails[0].startDate",
                                       "before.bookingDetails[0].startDate",
                                       "Improper dates, please provide valid dates.");
                        if (bd.getTrainer() != null) {
                             e.rejectValue("trianerId", "required.trianerId",
                                       "Valid Trainer details required.");
         public BookingService getBookingFacade() {
              return bookingFacade;
         public void setBookingFacade(BookingService bookingFacade) {
              this.bookingFacade = bookingFacade;
         public CourseService getCourseFacade() {
              return courseFacade;
         public void setCourseFacade(CourseService courseFacade) {
              this.courseFacade = courseFacade;
         public VenueService getVenueFacade() {
              return venueFacade;
         public void setVenueFacade(VenueService venueFacade) {
              this.venueFacade = venueFacade;
         public ClientService getClientFacade() {
              return clientFacade;
         public void setClientFacade(ClientService clientFacade) {
              this.clientFacade = clientFacade;
         public TrainersService getTrainersFacade() {
              return trainersFacade;
         public void setTrainersFacade(TrainersService trainersFacade) {
              this.trainersFacade = trainersFacade;
         * getter method for activityFacade.
         * @return Returns the activityFacade.
         public ActivityService getActivityFacade() {
              return activityFacade;
         * setter method for activityFacade.
         * @param activityFacade The activityFacade to set.
         public void setActivityFacade(ActivityService activityFacade) {
              this.activityFacade = activityFacade;
         * getter method for activityMatrixFacade.
         * @return Returns the activityMatrixFacade.
         public ActivityMatrixService getActivityMatrixFacade() {
              return activityMatrixFacade;
         * setter method for activityMatrixFacade.
         * @param activityMatrixFacade The activityMatrixFacade to set.
         public void setActivityMatrixFacade(ActivityMatrixService activityMatrixFacade) {
              this.activityMatrixFacade = activityMatrixFacade;
         * getter method for bookingDetailsFacade.
         * @return Returns the bookingDetailsFacade.
         public BookingDetailsService getBookingDetailsFacade() {
              return bookingDetailsFacade;
         * setter method for bookingDetailsFacade.
         * @param bookingDetailsFacade The bookingDetailsFacade to set.
         public void setBookingDetailsFacade(BookingDetailsService bookingDetailsFacade) {
              this.bookingDetailsFacade = bookingDetailsFacade;
         class SqlDateEditor extends PropertyEditorSupport {
              private boolean isRequired = false;
              SqlDateEditor(boolean isRequired) {
                   this.isRequired = isRequired;
              public void setAsText(String text) throws IllegalArgumentException {
                   java.util.Date d = null;
                   if (!this.isRequired && !StringUtils.hasText(text)) {
                        setValue(null);
                   else
                        try {
                             d = dateFormat.parse(text);
                             setValue(new java.sql.Date(d.getTime()));
                        } catch (ParseException ex) {
                             throw new IllegalArgumentException("Could not parse date: " + ex.getMessage());
              public String getAsText() {
                   Date value = (java.sql.Date)getValue();
                   if (value != null) {
                        java.util.Date d = new java.util.Date(value.getTime());
                        return dateFormat.fo

    This topic is hopeless. Too much unnecessary code. Unformatted code. No question. No requirements. No step-by-step explanation how to reproduce problem. No expectations. No unexpectations/errors.
    Please read this how to get better help.

  • Problem with tab bar controller!

    I'm fairly new to xcode (and programming for that matter) so please bear with me!
    I'm creating a utilities app and would like to put tabs on the flipside view controller. a normal push segue to a tab bar controller from the flipside doesn't seem to do the job when I run it.
    I'm not sure if I need to put a tab bar on the flipside view controller itself and connect it using coding? If so, how? Or is there another solution?
    Thanks in advance!

    I have an application based on the Tab Bar template as well, yet mine works. I also have views created via IB for each tab, but there are a series of connections which need to be made for the viewDidLoad method to be called. I made some notes along the way, perhaps they are helpful.
    In these notes, what I did was create the Tab Bar project, but I didn't like the way the views were set up, so I created a series of new views, added them the way I preferred (all from files, all the same view, including the first view), and then deleted the two default views.
    - Create a Tab Bar project.
    - With XCode, create a new UIViewController for the new first view, save it, add it to the project.
    - In IB, create a new view, save it, and add it to the project.
    - In the new view's File's Owner, set the class to the new view controller.
    - Connect the view outlet to the new view created.
    - Go to the tab bar control in the MainWindow.xib and create a new view controller.
    - Select the new tab button, and type in tab name and xib filename (without the extension).
    - Compile and run. With a label in the new view, it is easy to see if it works.
    Let me know if you find the problem.

  • New install problems with Dell SATA controller

    Hi,
    I've just installed Solaris 5.10 on a Dell PowerEdge R200 with a Dell SAS 6r RAID card (I think it's LSI, certainly the modules were picked up during the install)
    On initial boot there's a fairly long delay after the "SunOS 5.10 Version Generic_127128-11 64bit" header then I receive: (Incidentally, this isn't a 64bit
    WARNING: /pci@0,0/pci8086,294@1c/pci1028,1f0e@0 (mpt0):
    Disconnected command timeout for Target 0
    WARNING: /pci@0,0/pci1028,23c@1d,1 (uhci1): Connecting device on port 1 failed
    WARNING: /pci@0,0/pci8086,2940@1c/pci1028,1f0e@0/sd@0,0 (sd1) :
    Error for command: read(1)
    Error level: Retryable
    Requested Block: 44653283
    Error Block: 44653283
    Vendor: Dell
    Serial Number: Dell Interna
    Sense Key: Unit Attention
    ASC: 0x29 (power on, rest, or bus reset occurred), ASCQ: 0x0 RU: 0x0
    This is then repeated for a few more blocks until it eventually reaches "Hostname blah, Configuring devices, Loading smf(5) service descriptions)"
    Any ideas what could be causing this? I've installed two Linux distributions as a test and not had any problems there but I get the same results if I install OpenSolaris 5.11. Once I'm actually logged in the box seems ok but obviously all is not well. I've run the dell diagnostic tools for several hours against the disks and the controller and found no errors. As above, seems fine in Linux distros.
    Any help greatly received!
    Craig.
    Edited by: krag on Jul 5, 2008 6:38 PM
    Edited by: krag on Jul 5, 2008 6:38 PM

    Thanks everyone for your input. After combing through the iChat and WiKi forums as well as going through some of the general Apache organizations documentation, I've decided to bite the bullet and reinstall the OS and then recreate all of the setup work, Time Machine backups, etc. to sort it out completely. As is often the case with Apple's server products, they work until the DNS comes into question (change in IP, change in DNS servers, inability to reverse DNS on startup) and then everything breaks. On our older servers, we've seen the NetInfo/Directory services become unusable and often that causes the machine to hang in oblivion on startup. It's a great product when it works; I just wish Apple (or a 3rd party developer) would take into account the issues that so many people seem to face when DNS goes wrong on Apple's Server platform and introduce a "Fix" Program to allow for record and application level corrections. The most common answer to this question "the solution": go back to ground zero, lose precious time and effort, hope for a better outcome. Thanks again all for your input.

  • K9vgm-v problem with pci ide controller card

    My problem is with a promise ultra100 tx2 pci ide controller card that I got with a western digital hard drive a year or 2 back. I can plug the card in with no hard drives attached to it, boot into windows, update the drivers, etc. but when I plug either of my hard drives into the card, it goes to a black screen directly after the screen the promise controller brings up after the main msi bios screen.
    It's my understanding that this problem is caused because the ide controller card can't inject its bios into the option rom of the motherboard. I've tried disabling as many other features that I can in the bios to clear up some space in the option rom, but so far no luck. I made sure I have the latest MSI bios, but I am 1 or 2 revisions behind on the promise controller card bios, because I don't have a floppy drive and I can't get any bootable cds to work.
    If need be, I can get a new ide controller card, but I would rather not, because this one works just fine, and I am pretty short on cash. I am also worried that this same problem will happen with other controller cards that I pick up. Any advice on how to get this thing working?
    P.S. - is there any way to get this board to boot from a USB key? My only options in the bios for booting to USB are USB-FDD, USB-ZIP, and USB-CDROM.
    -MSI k9vgm-v
    -phoenix rev 1.2 (I think. Can't remember. Whatever liveupdate says is the newest)
    -AMD Athlon 64 3200+
    -512 MB Wintec Ampo memory
    -onboard video
    -Enermax 370watt noisetaker
    3.3v 30A
    5v 32A
    12v 1 14A
    12v 2 13A
    -ide hard drive as primary master (windows drive)
     DVD-RW as primary slave
     ide hard drive as secondary master (raid drive 1)
     ide hard drive on ide controller card primary master (raid drive 2)
     ide hard drive on ide controller card secondary master (raid drive 3)
    -Windows XP Pro SP2

    "My problem is with a promise ultra100 tx2 pci ide controller card that I got with a western digital hard drive a year or 2 back. I can plug the card in with no hard drives attached to it, boot into windows, update the drivers, etc. but when I plug either of my hard drives into the card, it goes to a black screen directly after the screen the promise controller brings up after the main msi bios screen."
    That means reboot cycle?
    Have you tried with more powerfull PSU?
    "P.S. - is there any way to get this board to boot from a USB key? My only options in the bios for booting to USB are USB-FDD, USB-ZIP, and USB-CDROM."
    USB-FDD, USB-ZIP or in HDD area.. depend how will be detected your USB key.
    "It's my understanding that this problem is caused because the ide controller card can't inject its bios into the option rom of the motherboard. I've tried disabling as many other features that I can in the bios to clear up some space in the option rom, but so far no luck. I made sure I have the latest MSI bios, but I am 1 or 2 revisions behind on the promise controller card bios, because I don't have a floppy drive and I can't get any bootable cds to work."
    Could be...
    "If need be, I can get a new ide controller card, but I would rather not, because this one works just fine, and I am pretty short on cash. I am also worried that this same problem will happen with other controller cards that I pick up. Any advice on how to get this thing working?"
    "-phoenix rev 1.2 (I think. Can't remember. Whatever liveupdate says is the newest)"
    Check the exact version. Latest version is 1.6, if there is an conflict that raid card unable to register property like(No enough Space to copy PCI Option ROM or similar)  a new bios can help.

  • No problem with the PAT FUNCTION

    :biggthumbsup:Hi everybody
     Someone said that the PAT option is disabled when the FSB of the cpu exceeds the 210 Mhz. This is not true.!!!!
    I purchased  my MSI 875 NEO FISR2 2 DAY AGO, and when launching the benchmarks with Sandra 2004 pro sp1, the PAT OPTION  was  disabled!!!
    I never use overclocking because i want my PC to be stable because the applications that i use are very demanding( VIDEO EDITING, HUGE FILES ETC)
    Before returning the mainboard back to the shop i purchaced it, i set the option Seargent[/COLOR] in bios section, and the bus comes automatically to 206 Mhz. Or you can do it directly from the bios by selecting the specified option about  loading the turbo function
    After that, i noticed in windows, that the temperature is stable at a very low level, and the most important thing is that,  PAT is now enabled. the memory's voltage is 2.6v and the AGP'S voltage if i remember well about 0.05 v higher. No crashes everything seems  to be ok
     I hope my advice to be usefull to everyone that needs to know about that
    BYE!!!

    For some reason PAT on the MSI motherboards switches off after 218FSB, anywhere else (ASUS,ABIT), PAT stays on all the way up... so why did MSI choose to turn PAT off at this FSB........Some say that PAT is only effective to this FSB after this the benefits disapear, i'm not so sure..... h'mmmmm.

  • Problem with PXI-8145RT Controller.

    Hi All,
    I am preetam.
    I am using PXI-8145RT controller in PXI-1011 Chassis.
    My controller is having 64MB of Compact Flash and 128MB of SDRAM.
    I configured the Chassis through host PC using MAX.
    But if i restart the controller the configuration is going off and we have to reconfigure the controller again.
    How can i store the configuration permenently?
    thanks in advance and awaiting for ur reply
    Preetam

    line 16 on the Access List refers to allow ICMP Pakets on the whole network.
    Line 16 does not cause the DHCP Problem. When we remove line 16 from the ACL the DHCP problem persists.
    It doesen´t matter what changes we apply on the ACL. We have the DHCP Problem since from the start when we added the ACL.
    When the ACL is removed, we don´t have any DHCP Problems.
    Thank you

  • Problem with Fuzzy Logic Controller Design window

    Hi,
    I'm designing a fuzzy inference system using the Fuzzy Logic Controller Design tool.
    But when I use up to 4 input variables, the Rule Editor window is out of center and I cannot see the left parts of the antecedents.
    See the attached picture.
    The visualization is not movable and resizing the window with system utilities does not give any results.
    Anyody can help me? Thanks!
    Attachments:
    Bug Fuzzy Controller Design.JPG ‏68 KB

    Hello all
    The PID and Fuzzy Logic Toolkit 2009 was completely redesigned.
    There are new API VIs and a more intuitive user interface for creating controllers.
    You can create MIMO controllers with unlimited inputs and outputs, and also modify the controller on-the-fly.
    Check it out the new features and let us know your needs on Fuzzy control.
    LabVIEW PID and Fuzzy Logic Toolkit User Manual
    Regards,
    Bruno Cesar
    National Instruments

  • Problem with NEO2 and sata controller card

    1.Product Type: MSI K8N Neo2 Platinum (MS-7025)
    and the controller card is a InnoVision DM-8301 and the hard drive is a Seagate ST3320620AS
    2.BIOS version: The newest one, 1C0 or something.
    3.External VGA Type: Geforce 6800 GT
    4.CPU Type: AMD 64 3500+
    5.Memory Type: G Skill ZX 2048mb.
    6.Power Supply Type:
    7.Operating System: Xp Pro
    8.Problem Description:
    Hello. I have a strange problem with my controllercard. I wrote this text to InnoVision suport and they send me files and bios updates for a whole week and it was still the same problem. And then i tried the card in an older computer and everything worked fine.
    I wrote
    "Hello. I got some problems with my new controller card. I can find my new harddrive ,that's conected to the controller card, when iam inside windows and it's seems to be no problem. I can look on every seting on it and everywhere i look i can read "No problem". I Also did some test with the seatools programe and everything was fine. But when i schould copy files to it the coumputer start lagging after a few seconds and i cant do anything. After a while i can move the mouse around but the it laggs again. My computer is overclocked at the time but i have tried to use the harddrive when it's not clocked also. Also when im goin in to teh controlpanel and starts the setings for Sillicon Images sata controll and have music on my computer, the music laggs for a very very short moment. Something must be wrong and i can not find it."
    It's still the same problem in my computer. The older computer had a MSI moderboard with a VIA chip and i have a nForce 3. InnoVison said i should talk to you about this problem. I have 3 harddrives but i use this controllercard because i want to have my computer overclocked and then i can't use 2 of the sata ports as i think you know.
    I would be very thankful if you could help me with this problem.
    //Martin

    I've used a noname SATA pci card (non raid) with SIL3112 on my neo2 without problems with 1C bios.
    Think you may try with a disk lower than 48bitLBA need (137GB barrier), eg a 120GB disk
    Quote:
     have the InnoVision EIO DM-8301 and had alot of problems using it with WD 160MB SATA drive.
    I am using Intel 865 based MB with 2 original SATA channels. The original SATA channels are bootable.
    I could not used the EIO card with 160G HDD. The whole setup is working only after I connected oine of my 120G Segate SATA HDD to the EIO Sata card.
    I think this card do not properly support HDD above 120G.
    Please respond to: [email protected]
    http://www.devhardware.com/forums/storage-devices-80/sata-as-boot-20080-2.html
    Btw: you have xp sp2 ?
    48bitLBA is not enabled in the first version.
    http://www.48bitlba.com/winxp.htm
    Edit:
    Here's another with complete different setup and same problems
    http://forum.tweakxp.com/forum/Topic212148-4-1.aspx
    I doubt it has anything to do with your motherboard and/or bios.
    Btw: I looked at innovision and their drivers in download area are very old.
    Get the latest SIL3112 drivers for XP here:
    http://www.siliconimage.com/support/supportsearchresults.aspx?pid=63&cid=3&ctid=2&osid=4&
    And remember 3112 is sata150 only , so it's not sure it will work with your drive at all .
    Anyway it should be set to fixed sata1.5G with jumper - not certain the controller can autonegotiate
    without trouble. You cannot have command queing enabled either , disk support only NCQ and controller TCQ
    so having command queing set ON will cause major conflicts in data transfers.

  • Problem with filling nodes of a context with data

    hi,
    i've got the following problem with filling a controller context:
    the context of the controller looks like:
    Context
    |-Node1             0..n singleton
      |-Subnode1        0..n singleton
      | |-SubVal1.1
      | |-SubVal1.2
      |-Subnode2        0..n singleton
      | |-Subval2.1
      | |-Subval2.2
      |-Val1.1
      |-Val1.2
    that means every Element of Node1 should have its own Subnode-Elements & Val1-Values
    in wdDoInit() of the controller I fill the context like this:
    Collection Node1, SubNode1, SubNode2
    for (Iterator iter = Node1.iterator(); iter.hasNext;) {
       newNode1NodeElement = wdContext.createNode1Element();
       newNode1NodeElement.set... //setting the values
       wdContext.nodeNode1().addElement(newNode1NodeElement);
       for (Iterator iter2=Subnode1.iterator(); iter2.hasNext;) {
          newSubnode1NodeElement = wdContext.createSubnode1Element();
          newSubNode1NodeElement.set... // setting the SubVal1.x
          wdContext.nodeSubnode1.addElement(newSubnode1NodeElement);
       for (Iterator iter3=SubNode2.iterator(); iter3.hasNext;) {
          newSubnode2NodeElement = wdContext.createSubnode2Element();
          newSubNode2NodeElement.set... // setting the SubVal2.x
          wdContext.nodeSubnode2.addElement(newSubnode2NodeElement);
    i've got the impression, that <b>all</b> my SubNodes are filled in the <b>first</b> Node1-Element. is there an error in the code above? because in the first place, i see every values in the first Element of Node1-views and if i navigate to the next Element of Node1, every views are empty.
    for every Node (Node1, Subnode1, Subnode2) i've got an own view, that maps its context to the corresponding Node of the controller context, e.g for the SubNode1-View:
    Context                  Context
    |                        ....
    |- ViewNode      --->    ..|- Subnode1
      |- SubVal1.1   --->    ..   |-SubVal1.1
      |- SubVal1.2   --->    ..   |-SubVal1.2
    in these views, i navigate through the nodes via
    wdContext.nodeViewNode().move...()
    in the SubNode1-View i see the SubVal1.1, SubVal1.2 (that's what i want) <b>and</b> additional SubVal2.1, SubVal2.2 (that's what I don't want...)
    kind regards, achim
    ps: i've studied the Master/Detail-Tutorial and i think the choice for cardinality 0..n and type singleton is correct in my case.

    hmm, let's look at the code:
    for (Iteration Node1) {
      newNode1NodeElement = wdContext.createNode1Element();
      wdContext.nodeNode1().addElement(newNode1NodeElement);
      for (Iteration SubNode1) {
         newSubNode1NodeElement = wdContext.createSubNodeXElement();
         newNode1NodeElement.nodeSubNode1().addElement(newSubNode1NodeElement);
         for (Iteration SubNode1.1) {
            newSubNode1.1NodeElement = <b>wdContext</b>.createSubNode1.1Element();
            newSubNode1NodeElement.nodeSubNode1.1.addElement(newSubNode1.1NodeElement);
       for (Iteration SubNode2) {
          newSubNode2NodeElement = wdContext.createSubNode2Element();
          newNode1NodeElement.nodeSubNode2.addElement(newSubNode2NodeElement);
    is there an error in creating the SubNode1.1-Node (bold line)?
    if the code is correct, perhaps it's only a viewing problem:
    i use views that point on every node and display the values in that node. if i move in the view for Node1 to another node, the values for SubNode1 point to the correct values too, but the values for SubNode1.1 still stay on the old values. is the move of a grandfather node not correctly propagated to his first child?
    kr, achim

  • PCI port problems with video card

    I have been running 2 video cards (ati 9800pro and 7500) fine for about 2 months now.  Over the weekend I came home to find the monitor with my second card garbled with black lines running up and down the screen, shifting left and right.  Also, there was a problem with my promise controller (had a question mark next to it in device manager)  I reinstalled that and it works fine now.  My second card continues to give me problems though.  Device manager picks it up and says that my card is working fine but in display settings my card does not show up.  I believe it a problem with the motherboard as I have tried 2 nvidia cards with the same result.  It is also not related to windows as if I change the boot config to load my second card first (pci) the black lines/wavy picture loads up with the msi screen and in the bios setup as well (totally unreadable).  I've also made sure that my monitor is working fine.  Any suggestions????  Thanks.
    Ian

    Well to tell you the truth, I don't like the sound of this ...especially since you said that you tried another card, and had the same result....Well I would first go into the BIOS and on the PNP/PCI page, check the Clear NVRAM to enabled..As this will reset all the PNP devices...See if that works ...Have you tried to switch the AGP/PCI initiation sequence in the BIOS? back and forth?...You can also see if there are any IRQ conflicts.(but you probaly did this allready)...You can also try to increase the PCI latency, If it is set to 32 go up to 64 and try...Do you have any other PCI cards with problems?...Have you tried a different PCI slot?.....Well maybee another member or moderator has some advice ...Let us know.....Sean REILLY875

  • Problem with Spin control in query pane

    I have a problem with the Spin controller (increment /decrement) in the query pane.
    It is not working for fields with decimals, but working properly for fields which do not have decimals.
    How to overcome this problem?

    Can you help me to reproduce the issue(Do you have any simple application illustrating the issue)? It works in the sample I tried

  • RAID problems with ICH5R controller

    I am trying to reconfigure (after my ATA133 RAID0 broke) my Neo FIS2R board with the following:
    1 x SATA150 Disk on SER1 (Raid-ready configuration)
    Optical Drives (DVD Pri Master, CD Pri Slave) on Primary IDE
    Backup IDE drive (ATA133) on Secondary IDE.
    I have checked the excellent sticky on RAID setup by vango44 and appear to have everything correct for the 'Raid Ready' arrangement, booting from the SATA disk and with both PATA channels enabled.
    During POST, all the devices are reported (if you spot them flying past). Windows XP installed successfully onto the SATA drive (PATA drive disconnected at this point) and boots normally. But once booted, nothing on the Primary IDE channel appears in Windows. (I've tried swapping the Optical and PATA drives and its always the Primary channel missing).
    In Windows Device Manager I have no problem devices. Both the Primary and Secondary IDE channels appear under IDE and ATAPI controllers (as does the Intel 82801EB). But any devices connected on Pri IDE are missing.
    Any ideas?
    thanks folks,
    Keith

    The SATA is 'Native' as opposed to 'Legacy' - I think that is the setting you are referring to?
    I could quite happily throw this **** motherboard out the window. I have always found it unbelievably temperamental and awkward to configure.
    I just had it booting quite happily from the SATA drive on the Intel controller (albeit with the Primary IDE devices missing), and I just discovered that I could access my two ATA133 drives by attaching them to the Promise Controller with the latter set as S-ATA.
    As soon as I do that, the system will not boot. If I disable the Promise controller or disconnect the ATA133 drives the system boots off the SATA drive as before.  WHY???
    Lessons learnt:
    1) Be more disciplined about backup
    2) Avoid Maxtor drives. (I have run our office network of 10 PC's for over a decade and had two hard drive failures: both in the last 2 years and both Maxtor)
    3) Ditto MSI motherboards. I think they try to do too much for too little.
    thanks for trying to help anyway.

Maybe you are looking for

  • For all of you saying you are going to upgrade to a different phone

    You need to realize that you are doing exactly what Verizon wants you to do. They want you to buy new phones and sign new contracts as often as possible. I see people in many of theise threads saying they are waiting for their upgrade or asking for a

  • Use Of SUPPLY Function & Singletone Class?

    Hi, What is the Use of Supply Function & What is Sigletone Class? Thanks Ranveer

  • Animating a road map of our trip using CS5

    I would really appreciate help on this subject. I have a road map and want to show an animated line of the roads we travelled. I have tried using PS, where I opened the map, created a new layer, drew in the first part of our trip in red, saved that a

  • Creative Cloud installs twice

    I work with windows 8 64 bit. After installing creative cloud desktop I have downloaded and installed; Acrobat XI Pro Illustrator CC Indesign CC Photoshop CC When I check this in programs and features I see two installations of Acrobat XI Pro (That's

  • Why are some applications only accessable to one user

    Microsoft Office was installed using one user account. I tried to access it from another user account and it fails to launch with an error message. Also Parallels Desktop cannot find existing virtual machines when I attempt to access it from another