Unable to set Raid5 device read_ahead_kb value with rc.local

In my rc.local I have two commands
echo 16384 > /sys/block/md0/md/stripe_cache_size
echo 1024 > /sys/block/md0/queue/read_ahead_kb
The first command works properly, but the second command does not.
cat /sys/block/md0/md/stripe_cache_size
16384
cat /sys/block/md0/queue/read_ahead_kb
128
However, I can run the command manually after my system has booted up and it works as expected
echo 1024 > /sys/block/md0/queue/read_ahead_kb
cat /sys/block/md0/queue/read_ahead_kb
1024
I think there is only one possible explanation and that is that something on my system is setting read_ahead_kb to 128 sometime after rc.local has been run during bootup.
However I never set anything to do that, so I have no idea what is doing it or how I can stop it from happening.
Does anyone have any troubleshooting suggestions for me?
I'm completely stumped.

In my rc.local I have two commands
echo 16384 > /sys/block/md0/md/stripe_cache_size
echo 1024 > /sys/block/md0/queue/read_ahead_kb
The first command works properly, but the second command does not.
cat /sys/block/md0/md/stripe_cache_size
16384
cat /sys/block/md0/queue/read_ahead_kb
128
However, I can run the command manually after my system has booted up and it works as expected
echo 1024 > /sys/block/md0/queue/read_ahead_kb
cat /sys/block/md0/queue/read_ahead_kb
1024
I think there is only one possible explanation and that is that something on my system is setting read_ahead_kb to 128 sometime after rc.local has been run during bootup.
However I never set anything to do that, so I have no idea what is doing it or how I can stop it from happening.
Does anyone have any troubleshooting suggestions for me?
I'm completely stumped.

Similar Messages

  • Can not set OARG.cstAllcAcc field value with CustomsGroups Object

    Can not set OARG.cstAllcAcc field value with CustomsGroups Object, please open this field in this Object because it is a key field related to financial system.

    I guess, it should work; instead of html:submit, try with button.

  • [CUPS] Unable to set my new CUPS server with an HP printer (solved)

    Hello,
    I come from Gentoo and I just installed my new Arch Linux server on a notebook with 2 NIC ... Now, I'm trying to set the CUPS deamon to share printer (HP DESKJET 895Cxi) for 3 workstations in my LAN. Before, it was working (printer and linux ... has never been very good...). But now, I'm not able, and it's about 1 hour I'm looking for a stupid error that I don't know if it's important or not ...
    (all is on my Wiki : http://pix-mania.dyndns.org/mediawiki/index.php/Cups)
    Here are a list of installed package : cups ghostscript gsfonts hplip
    The printer (USB) :
    (lsusb)
    Bus 002 Device 004: ID 03f0:0004 Hewlett-Packard DeskJet 895c
    (dmesg)
    usb 2-2: new full speed USB device using uhci_hcd and address 4
    usblp0: Disabling reads from problematic bidirectional printer
    usblp0: USB Unidirectional printer dev 4 if 0 alt 1 proto 2 vid 0x03F0 pid 0x0004
    Current configuration (only change made to original configuration) :
    Listen <ip_serveur>:631
    <Location />
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin>
    Order allow,deny
    Allow From all
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    Allow From all
    </Location>
    When starting cups service, all is fine : I can use a workstation to browse the Web Interface ... but printer seems to be not detected since it tells "No printers." when clicking on "Printers" tab. So, I go to "Administration" tab and, under "Printers", I click the "Find New Printers" and again, it says : "No printers found.".
    Not goot ... so, like I was doing with Gentoo, I click on "Add Printer" ... then, I receive a redirection to HTTPS ... click on the link (or wait) and nothing happend (timed out): web interface is broken for HTTPS ... I really got no idea why HTTPS is not working .
    After that, when updating the configuration (with vim) and restarting the service, deamon won't stop and I have to send a "kill -9" to the cupsd pid ...
    I look in log and I can just see this :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    I googled for one hour, but is not more working right now ...
    Some questions :
    - the printer is not detected? Is it because of the ACLs errors ?
    - what the hell is "ACLs" for cups ? Never seen that before ...
    So, right now, I got a working HTTP but not working HTTPS, with no printer available ... very useless
    This printer is working "well" with cups, since it's an old model and it's a HP printer, so is "fully?" working on Linux ...
    Any idea on what to do/try now ?
    EDIT: after that message, I just refresh the page (I'm using Chromium) and ... magically, HTTPS was working (after accept untrusted certificate for HTTPS?) ... Then, go back to "Find New Printers" and now, it was working. Printer has been added ... Seems to be OK, but the "Print Self Test Page" doesn't work right now because of this :
    Unsupported format 'application/vnd.cups-command'!
    Current log file :
    E [09/Jan/2011:18:19:55 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:24:48 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:29:08 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:28 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:36:42 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:41:06 +0100] Unknown SystemGroup "sys root lpadmin" on line 13, ignoring!
    E [09/Jan/2011:18:41:06 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:42:24 +0100] Unknown SystemGroup "lpadmin" on line 14, ignoring!
    E [09/Jan/2011:18:42:24 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:45:12 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:47:32 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:48:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:49:35 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:18:59:46 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:06 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:13 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:33:37 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:33:37 +0100] [cups-deviced] PID 2744 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:33:37 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:34:09 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:19:34:09 +0100] [cups-deviced] PID 2763 (dnssd) stopped with status 1!
    E [09/Jan/2011:19:39:51 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:39:52 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:41:23 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    E [09/Jan/2011:19:44:49 +0100] Unable to encrypt connection from <ip_workstation> - A TLS packet with unexpected length was received.
    E [09/Jan/2011:19:47:16 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    E [09/Jan/2011:19:49:36 +0100] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/HP_DeskJet_895C_USB_ES89M230MKGO_HPLIP) from localhost
    EDIT2: tried to print "Print Test Page" instead of the above ... and got these errors :
    (web interface)
    "/usr/lib/cups/backend/hp failed"
    (error_log)
    E [09/Jan/2011:20:08:31 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:20:08:31 +0100] [cups-deviced] PID 3126 (dnssd) stopped with status 1!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Setting locale failed.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 559: dBus Connection Error (Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory)!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Please check that your locale settings:
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANGUAGE = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LC_ALL = (unset),
    D [09/Jan/2011:20:09:16 +0100] [Job 5] LANG = "fr_FR.UTF-8"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] are supported and installed on your system.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] perl: warning: Falling back to the standard locale ("C").
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GhostScript extra search path ('GS_LIB'): /usr/share/cups/fonts
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-uuid=urn:uuid:e4395221-1209-32a9-5add-30f7945eaa6b.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'job-originating-host-name=localhost'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option job-originating-host-name=localhost.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-creation=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-creation=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'time-at-processing=1294600145'
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option time-at-processing=1294600145.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Pondering option 'AP_D_InputSlot='
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Unknown option AP_D_InputSlot=.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] prnt/backend/hp.c 625: ERROR: 5021 device communication error!
    D [09/Jan/2011:20:09:16 +0100] [Job 5] GPL Ghostscript 9.00: Unrecoverable error, exit code 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process 3154 ending: "gs -q -dBATCH -dPARANOIDSAFER -dQUIET -dNOPAUSE -sDEVICE=ijs -sIjsServer=hpijs -dDEVICEWIDTHPOINTS=5..."
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer return value: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] renderer received signal: 1
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Possible error on renderer command line or PostScript error. Check options.", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: No such file or directory (2)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] KID3 exited with status 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3153 (KID4) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Renderer process finished
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Process dying with "Error closing renderer", exit stat: 3
    D [09/Jan/2011:20:09:16 +0100] [Job 5] error: (0)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Cleaning up ...
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 15
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Killing process 3152 (KID3) with signal 9
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Error closing renderer
    D [09/Jan/2011:20:09:16 +0100] [Job 5]
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Closing foomatic-rip.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Backend returned status 4 (stop printer)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] Printer stopped due to backend errors; please consult the error_log file for details.
    D [09/Jan/2011:20:09:16 +0100] [Job 5] End of messages
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state=5(stopped)
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-message="/usr/lib/cups/backend/hp failed"
    D [09/Jan/2011:20:09:16 +0100] [Job 5] printer-state-reasons=paused
    E [09/Jan/2011:20:14:21 +0100] [Job 5] Stopping unresponsive job!
    EDIT3: I tested the ppd from cups (and not hpijs) and got the same problem ... The latest idea was to unplug USB and plug to another USB ... and it seams to works ... Now, the test page print "fine" ...
    So, I shared the printer over my LAN, and tried to print from a workstation ... it works fine now ... when looking error_log, I can see than there is no more Ghostscript error .
    But I have a last question .. if somebody can answer ... When choosing a PPD file, I have the choice between 3 version :
    - hpijs, 3.10.9
    - hpijs, 3.10.9.11
    - hpcups, 3.10.9
    Don't know why onlyl the HPIJS got the ".11" and not any others ... I selected this one and here is what Cups say about the printer :
    HP_DeskJet_895C_USB_ES29Z231JKGO_HPLIP HP DeskJet 895C Local Printer HP Deskjet 895c hpijs, 3.10.9.11 Idle - "ready to print"
    I hope when upgrading the system, I will not get error from PPD file not found ... With my current PPD file, I get (really not sure) this error, but print is working so, it doesn't matter :
    E [09/Jan/2011:21:08:04 +0100] [CGI] Unable to create avahi client: No such file or directory
    E [09/Jan/2011:21:08:04 +0100] [cups-deviced] PID 5705 (dnssd) stopped with status 1!
    E [09/Jan/2011:21:08:09 +0100] [cups-driverd] Bad driver information file "/usr/share/cups/model/foomatic-db-ppds/Kyocera/ReadMe.htm"!
    Thanks for all .. hope you don't think I'm crazy ^^
    Last edited by loopx (2011-01-09 20:31:21)

    WD and their lack of support for Mavericks:
    A recent email from WD reads:
    Dear WD Registered Customer,
    UPDATE: November 1st, 2013
    As a valued WD customer we want to make you aware of new reports of Western Digital and other external HDD products experiencing data loss when updating to Apple's OS X Mavericks (10.9). WD is urgently investigating these reports and the possible connection to the WD Drive Manager, WD Raid Manager and WD SmartWare software applications. Until the issue is understood and the cause identified, WD strongly urges our customers to uninstall these software applications before updating to OS X Mavericks (10.9), or delay upgrading. If you have already upgraded to Mavericks, WD recommends that you remove these applications and restart your computer. If you have already upgraded to Mavericks and are experiencing difficulty in accessing your external hard drive, please do not save anything to the drive, disconnect the drive from your computer, and contact Western Digital Customer Service at http://support.wd.com/country/ for further assistance.
    The WD Drive Manager, WD Raid Manager, and WD SmartWare software applications are not new and have been available from WD for many years. However, solely as a precaution WD has removed these applications from our website as we investigate this issue.
    Sincerely,
    Western Digital
    Which is basically Western Digital informing you that their out-of-date utilities don’t support Mavericks.
    In any case those utilities are not the most effective. The moral of the story is: the first thing you should do after buying a WD drive is to format it as HFS Extended (Journaled) and not install ANY of their utilities but instead use reliable applications like CarbonCopyCloner or SuperDuper - or Time Machine.

  • Unable to set up the default value in custom object 10,related item section

    Hi,
    Please help me out for the below issue
    Custom Object 10 we renamed to Quarterly Broker Review .In Quarterly Broker Review there is a related item section 'Activity'.
    In Quarterly Broker Review ,Activity related Section ,After clicking on The 'New Task' button 'Account Name' field in Quarterly Broker Review(Parent ) should be prefilled in the Activity Section(Related Item Section) in Account Name Field
    'Account Name' field is a Picklist Read Only field.
    Since it is a picklist read only field i couldn't write the expression in the 'Activity' Related section under 'Account Name' field
    you can also help me by reaching at '[email protected]'
    Thanks,
    Srinivas Merugu

    Hi Srinivas,
    As you know, you can refer to a field in a different object by using JoinFieldValue function. But this function is not available for all the object references. If you refer online help for JoinFieldValue function you would notice that from activity only CustomObjects 1,2 an 3 can be referenced using this function.
    If this is possible for the activity and CustomObject 10 then you go to the field named Account Id in Activity object and set a default value. I guess in the parent object "CustomObject10" Account Id will also be stored in "Account: Integration ID". So this field value can be copied into the Account Id field of Activity.
    Instead you could write a web service program to achieve this.
    Thanks
    Naren

  • Unable to set quorum device

    Hi all!
    I'm installing SC 3.1 on two sun fire v240 nodes with storedge 3511
    When running the 'scsetup' and choosing a quorum device (d4 - see list below), I get error:
    scconf -a -q globaldev=d4
    scconf: Failed to add quorum device (d4) - global device is not found
    DID info:
    scdidadm -L
    1 v240node2.test.lynx:/dev/rdsk/c0t0d0 /dev/did/rdsk/d1
    2 v240node2.test.lynx:/dev/rdsk/c1t0d0 /dev/did/rdsk/d2
    3 v240node2.test.lynx:/dev/rdsk/c1t1d0 /dev/did/rdsk/d3
    4 v240node2.test.lynx:/dev/rdsk/c3t44d0 /dev/did/rdsk/d4
    5 v240node1.test.lynx:/dev/rdsk/c0t0d0 /dev/did/rdsk/d5
    6 v240node1.test.lynx:/dev/rdsk/c0t1d0 /dev/did/rdsk/d6
    7 v240node1.test.lynx:/dev/rdsk/c2t40d0 /dev/did/rdsk/d7
    what is interesting that scdidadm shows different did names (d4,d7) for same shared se 3511 disk. Guess it should bethe same.
    Any help on this?

    Thanx a lot. I checked this and it turned out that chanels were maped with different partitions of logical drive. Was only my inattention :)

  • Unable to set the drop down values in the formbean

    Hi Dudes
    We are using weblogic8.1 portal for our application
    We are initializing the vairable as follows
    <netui:select dataSource="{container.item.INCLUDE_IN_LISTING}" optionsDataSource="{pageFlow.m_yesNoDefaultOptions}" styleClass="field_value"></netui:select>
    Here in this case after selecting the drop down, the value is not reflecting in the formbean
    Please hep me in this regard,
    Thanks in advance

    This is normal behavior most of nokias phone will go black after a period of time to save battery...
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

  • Unable to set preferred credential for host with virtual host/IP

    I have installed agent on multiple hosts. For the host which has virtual IPs, I am not able to set preferred credentials or run OS commands. On other nodes, everything is fine
    Please advice
    Thanks
    Sunil

    For agent i'm using 'Local System' and for preferred credentials i'm using <Domain>\<Users>. This is working fine on all other hosts but on Cluster Node its failing.
    Oh yes, agent is UP.

  • Tecra A8: Unable to set up a wireless connection with WEP KEY encription

    Hello.
    I've just got a new TECRA A8-143, and I'm unable to connect to my 3COM wireless ADSL Modem when the WEP Key encription in enabled. As soon as the encription is switched off I'm connected to the internet, any suggestions!!
    Thanks

    Delete the wireless profile in the intel software under profiles. Then search for new networks while WEP or WPA is switched on in the router. The intel software should find it. Then press connect - it should ask you for the key. Type in the correct key or passphrase and it should work.

  • Signature Schemas/Status values with Signature schemas need to be locked?

    I am tying to assign a signature schema to multiple values in a single status schema.  If I assign a signature schema to a status it automaticaly locks the document into that status so that no further changes to status can be made.  I need to have a signature schema  assigned to mutliple status values in the same status schema so I cant have A approved be locked because I still need the document to be B approved as well. 
    Does anyone know how I can adjust the setting so the status values with sig. schemas attached will not automatically be locked.
    Status Schema:
    Not Started
    A Approved  X signature schema
    B Approved  y signature schema

    Hello James,
    this is not possible. As I do not quite understand why you want to set up your status schema like that, it is difficult to propose another solution.
    If you want to stay with the schema you have mentioned, you will have to unlock a document which has been approved by A on the attribute dialog and set the new status "B Approved" there. But this means that the person who is doing that has to sign the document as first signee of the second signature process.
    Best regards
      Jürgen

  • Purchased a 2nd hand iPhone - unable to set up as it displays as associated with prior owners email - he has removed device from his account but still won't let me complete set up. Any advice on next steps?

    Display shows previous owner set up find my phone function & it is linked to their apple account. Owner has removed device from a/c but
    it still won't allow me to proceed with set up.

    Hello Penng185,
    Steps to be done to remove the device from the previous owner's iCloud Account, if you have already done this things then there might be something that you might have missed due to which the iPhone is still showing the Find My iPhone Activation Lock screen.
    Resolution : http://support.apple.com/kb/ts4515
    If the previous owner is with you and can access the device
    Ask them to enter their Apple ID and password on the Activate iPhone screen (shown above) to remove the device from their account. You can then proceed through the rest of the device setup process.
    If the previous owner is not present
    Contact them and ask them to follow these steps to remove the device from their account:
    Sign in to their iCloud account at www.icloud.com/find.
    Choose the device from their Find My iPhone device list by clicking All Devices and selecting the correct device.
    Click "Remove from Account" to remove the device from the account.
    After the device has been removed from the previous owner’s account, turn it off by pressing and holding the Sleep/Wake button located on the top right side of the device. Then restart your device and proceed with device setup as you would normally.

  • Trouble with Toshiba built-in webcam: "unable to enumerate USB device"

    I am running archlinux on a Toshiba Satellite L70-B-12H laptop, and having troubles with the Webcam. *Once in a while*, everything goes well and I get
    # lsusb
    Bus 004 Device 002: ID 8087:8000 Intel Corp.
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 004: ID 04f2:b448 Chicony Electronics Co., Ltd
    Bus 003 Device 003: ID 8087:07dc Intel Corp.
    Bus 003 Device 002: ID 8087:8008 Intel Corp.
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    # dmesg
    [ 3433.456115] usb 3-1.3: new high-speed USB device number 4 using ehci-pci
    [ 3433.781119] media: Linux media interface: v0.10
    [ 3433.809842] Linux video capture interface: v2.00
    [ 3433.826889] uvcvideo: Found UVC 1.00 device TOSHIBA Web Camera - HD (04f2:b448)
    [ 3433.835893] input: TOSHIBA Web Camera - HD as /devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.3/3-1.3:1.0/input/input15
    [ 3433.835976] usbcore: registered new interface driver uvcvideo
    [ 3433.835977] USB Video Class driver (1.1.1)
    Unfortunately, *most of the time* the camera seems invisible to my system, and I get
    # lsusb
    Bus 004 Device 002: ID 8087:8000 Intel Corp.
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 003: ID 8087:07dc Intel Corp.
    Bus 003 Device 002: ID 8087:8008 Intel Corp.
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    (note the missing "04f2:b448 Chicony Electronics Co., Ltd" device), and
    # dmesg
    [ 480.104252] usb 3-1.3: new full-speed USB device number 4 using ehci-pci
    [ 480.171097] usb 3-1.3: device descriptor read/64, error -32
    [ 480.341235] usb 3-1.3: device descriptor read/64, error -32
    [ 480.511375] usb 3-1.3: new full-speed USB device number 5 using ehci-pci
    [ 480.578007] usb 3-1.3: device descriptor read/64, error -32
    [ 480.748151] usb 3-1.3: device descriptor read/64, error -32
    [ 480.918282] usb 3-1.3: new full-speed USB device number 6 using ehci-pci
    [ 481.325196] usb 3-1.3: device not accepting address 6, error -32
    [ 481.392091] usb 3-1.3: new full-speed USB device number 7 using ehci-pci
    [ 481.798926] usb 3-1.3: device not accepting address 7, error -32
    [ 481.799166] hub 3-1:1.0: unable to enumerate USB device on port 3
    Searching on the web, most results I found lead to this page, where it is said that the problem is due to badly tuned overcurrent protection, and advocated that unplugging and switching off the computer for a little while gets things back into normal. This does not really work for me; the problem seems to occur more randomly, unfortunately with high probability (my camera is available after less than one boot out of ten).
    I tried to ensure that the ehci-hcd module is loaded at boot with the ignore-oc option (with a file in /etc/module-load.d/), to no avail.
    I also wrote a script which alternatively removes and reloads the ehci-pci driver until my device is found in lsusb. It is sometimes helpful, but usually not. And even when my device is found that way, it can only be used for a while before disappearing again.
    Anyway, such a hack is unacceptable... So, my questions are:
    is it indeed related to overcurrent protection ?
    is there anything else I can try ?
    should I file somewhere an other of the numerous bug reports about "unable to enumerate USB device" already existing ?
    If of any importance, I am running linux 3.15.7, because at the time I installed my system, I couldn't get the hybrid graphic card Intel/AMD working under 3.16.
    Last edited by $nake (2014-10-18 16:29:06)

    uname -a
    Linux libra 3.9.4-1-ARCH #1 SMP PREEMPT Sat May 25 16:14:55 CEST 2013 x86_64 GNU/Linux
    pacman -Qi linux
    Name : linux
    Version : 3.9.4-1
    Description : The linux kernel and modules
    Architecture : x86_64
    URL : http://www.kernel.org/
    Licences : GPL2
    Groups : base
    Provides : kernel26=3.9.4
    Depends On : coreutils linux-firmware kmod mkinitcpio>=0.7
    Optional Deps : crda: to set the correct wireless channels of your country
    Required By : nvidia
    Optional For : None
    Conflicts With : kernel26
    Replaces : kernel26
    Installed Size : 65562.00 KiB
    Packager : Tobias Powalowski <[email protected]>
    Build Date : Sat 25 May 2013 16:28:17 CEST
    Install Date : Sun 02 Jun 2013 15:30:35 CEST
    Install Reason : Explicitly installed
    Install Script : Yes
    Validated By : Signature

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100

    Hi!
    We have fatal or critical error message on Microsoft Intune Portal but all agents are working just fine. Before opening support ticket we would like to hear comments from the experts on this forum. We would also like to fix this error before starting to
    manage mobile devices with Intune.
    Error message on Intune Portal:
    "Microsoft Intune was unable to set the desired mobile device policy for one or more users due to the following error: A2CE0100"
    Repeated: 19 times.
    Class: (System) Policy
    Random Fatal error message on C:\Program Files\Microsoft\OnlineManagement\Logs\PolicyAgent.log found from one Windows 8.1 client:
    2015-02-21 08:49:20:704 2852 1ab0 FATAL: DocumentProvider::IndicateToConsumer/pp->ProcessPolicies(NULL, NULL, NULL, NULL) failed with error 0x800704d5.
    That said, we are not facing any specific problem but we would like to find symptom of this repeating error message on Intune Portal . We would appreciate to get any thoughts about this case.
    Br.
    Jukka

    Hi Jukka,
    Mobile policy doesn't apply to clients using the Full Client download.  Please open a support case so the team can assist in further troubleshooting.
    Thanks,
    Jon L. - MSFT - This posting is provided "AS IS" with no warranties and confers no rights.

  • Cisco 881 integrated services router - I am unable to set up the device using the CCP New Device Setup Wizard.

    I am unable to set up the device - I get the following error:
    CCP encountered an error while executing the command :
    yourname#term len 0
    yourname#conf t
    Enter configuration commands, one per line.  End with CNTL/Z.
    yourname(config)#username ccpuser privilege 15 secret 0 ccppasswd
    yourname(config)#interface FastEthernet0
    yourname(config-if)#ip address 192.168.1.1 255.255.255.0
    % IP addresses may not be configured on L2 links.
    yourname(config-if)#no shutdown
    yourname(config-if)#exit
    yourname(config)#ip http server
    yourname(config)#ip http authentication local
    yourname(config)#ip http timeout-policy idle 60 life 86400 requests 10000
    yourname(config)#line vty 0 4
    yourname(config-line)#login local
    yourname(config-line)#transport input telnet
    yourname(config-line)#exit
    yourname(config)#line vty 5 15
    yourname(config-line)#login local
    yourname(config-line)#transport input telnet
    yourname(config-line)#exit
    yourname(config)#exit
    Fix these errors and retry.

    u cant give a ip to 2nd layer fast ethernet port.. this port is like a port of switch.
    if u want to give ip to that port.
    use that command .
    interface vlan 1
    ip address x.x.x.x x.x.x.x.
    no sh
    exit
    int fas 0
    switchport mode access
    switchport access vlan 1

  • "unable to find root device" error with linux-lts

    Hi all,
    I'm having a problem with booting linux-lts after a recent upgrade (3.14.39-1 -> 3.14.43-2). In particular, I get an "unable to find root device" error.
    I have look at other threads for potential solutions; I have tried a) re-installing linux-lts, b) adding 'block' before 'autodetect' in mkinitcpio.conf before the re-installation, and c) changing /dev/sdb4 (my root partition) in syslinux.cfg to UUID and PARTUUID. I still get the same error.
    In the emergency shell, running 'blkid' does not show the root partition in the output.
    If I boot from the latest kernel (4.0.4-2), it all boots fine.
    Does anybody have any ideas on anything I could try to get linux-lts to boot? I'd prefer to stay with the lts kernel if possible.

    KangarooLemonade wrote:I ran through the beginner's guide to installing Arch on the wiki and installed Arch onto an external USB hard drive.
    Yeah? And did you see this: https://wiki.archlinux.org/index.php/Be … nvironment ?
    Here you need to set the right hooks if the root is on a USB drive, if you use RAID, LVM, or if /usr is on a separate partition.
    No, of course you missed it...
    Boot your install using the Fallback entry. If you do not have a Fallback entry, press Tab (for Syslinux) or "e" (for GRUB) and rename it initramfs-linux-fallback.img. After it boots, open up a terminal and run:
    # nano /etc/mkinitcpio.conf
    <add "usb" to the HOOKS line>
    # mkinitcpio -p linux
    # reboot
    And don't forget to mark it as solved.
    Last edited by DSpider (2012-10-01 20:11:04)

Maybe you are looking for

  • Printing problem with InDesign CS6 Trial version

    I have the trial CS6 InDesign. Began printing my doc but when I got to page 81 I got an error: "Printing Error: The Adobe Print Engine has failed to output your data due to an unknown problem". Have NO issues in preflight check.It printed fine but su

  • Re: How to Join two images

    Do you want to side by side the images so one is on the left and the other on the right? If so just make them the appropriate size and copy them to the correct locations. If you want to overlay on onto the other then xor them.

  • Player has stopped

    Need help with player has stopped running. Thank you.

  • Dump READ_REPORT_LINE_TOO_LONG

    Hi SDNers, I got the following dump: "READ_REPORT_LINE_TOO_LONG" in the standard object %_CABAP. Since it's a standard object, I would like to know if there is some program which regenerates this program or perhaps some note to apply. Thanks in advan

  • Lost connection to one of our network drives broken alias

    I'am are currently having an issue with our Mac's in that I all of a sudden can't access one of the servers on our mac's. We can access others servers which are PC based but we have had a working connection for 2 years so it doesn't seem like a permi