Page 3 of 16

EXT4-fs (sda): couldn’t mount RDWR because of unsupported optional features (400)

I could be happen on EXT3 or EXT2 too. This error mean that there is enabled file system feature that does not supported by kernel.

I’ve got an error when I make EXT4 partition with e2fsprogs (mkfs.ext4) newer then my kernel.

First solution is create ext4 with oldertools:

apt-get remove e2fslibs e2fsprogs

and install older.
Second solution is remove features does not supported by kernel.
To list features run :

tune2fs -l /dev/sdaX

I’ve got:
Filesystem features: has_journal ext_attr resize_inode dir_index filetype extent flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
To try figure it out which feature is not supported you can try run

fsck /dev/sdaX
e2fsck -pv /dev/sdaX
mount /dev/sdaX /mountpoint
dmesg | tail

Remove them one by one because after some you have to fix file system and do other things:

tune2fs -O ^flex_bg /dev/sdaX

do something try mount

tune2fs -O ^metadata_csum /dev/sdaX

do something try mount

tune2fs -O ^extra_isize /dev/sdaX

do something try mount

tune2fs -O ^dir_nlink /dev/sdaX

do something try mount
Do something I mean fsck and other things which will be listed after command.
Done :)

An error occurred while updating “title” (connection time out)

An error occurred while updating (connection time out)

An error occurred while updating (connection time out)

When you try to install game on Steam yo have that error and game won’t finish downloading you have to:

  1. Disable AV (all modules like hips, firewall and others)
  2. Disable Windows Firewall
  3. Disable ADGuard, Admuncher and other ad blocking apps
  4. Connect directly to internet, stop all VPNs
  5. Clear download cache (right click on game -> properties -> local files -> clear cache)
  6. Exit steam and copy downloaded files to correct game folder:
    C:\Program Files (x86)\Steam\steamapps\downloading\730
    move to
    C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive
  7. Start steam and click play. Wait for download finish.

ETKA 7.5, 7.3, 7.4 error, hardlock uninstall & reinstall

Requirements

  • Install .NET 2.0 and .NET 4.0
  • Disable driver signing enforcement by allow testsigningpolicy, run CMD as admin and type:
    bcdedit.exe /set nointegritychecks ON
    bcdedit.exe /set TESTSIGNING ON

    Reboot.

  • Disable driver instalation from Windows Update (it will make faster)

First step

To solve below errors copy library LexHdl5.dll to “C:\Windows\System”
(not System32)

Error Returncode 5 – Error H7!

Error when update Returncode 2 – Error AA!

Second step

The new enhanced graphical functions of ETKA couldn’t be used! (Error 3)

Run CMD as admin and go to ETKA directory RosyVisionControl:

cd /d C:\ETKA\VWAU\RosyVisionControl
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe RoSyVisionCom.dll /unregister
%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\regasm.exe RoSyVisionCom.dll /codebase
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe RoSyVisionCom.dll /unregister
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\regasm.exe RoSyVisionCom.dll /codebase

Hardlock Reinstall

 

Error 7 : Hardlock wurde nicht gefunden.

If you have any problem with devices  Safenet or something you should remove hardlock an install it again.

To reinstall hardlock you have to remove it. It is pretty hard to do that. You can check all services and drivers installed in your system with program called: Hardlock Diagnostic Tool  : diagnostix.zip (to delete service run sc in CMD). Download page: http://www3.safenet-inc.com/support/hardlock/downloads.aspx

Hardlock Uninstall

But there is a command line tool: Sentinel HASP Run-time Command-line Installation  – Sentinel_LDK_Run-time_cmd_line.zip that will allow remove all. Go to download page: http://www3.safenet-inc.com/support/hardlock/index.aspx

Unzip. Set compatibility mode Windows 7 and run as admin for file: haspdinst.exe.
Create shortcut to haspdinst.exe with switches:
haspdinst.exe -fr -kp -fss

It will remove Hardlock services and servers hasp. Reboot pc.

Then you can install hardlock properly.

Proper installation of HardLock
  1. Run 0000750A.reg from multikey.
  2. Run CMD as admin and go to multikey dir (check what is you system need x86 or x64) and install device:
    cd /d D:\MULTIKEY64
    devcon remove root\multikey
    devcon install multikey.inf root\multikey
  3. Allow to install unsigned driver. Wait for device installation in device manager at System deivces:
    Virtual USB multikey
    root\multikeySeriously you should wait to automatic installation. It can take a long  time of you didnt disable windows update drivers installation.
  4. Install hardlock.exe and wait for automatic installation of 2 devices at universal serial bus:
    SafeNet Inc. Hardlock Key
    USB\Hardlock
    SafeNet Inc. USB Key

    USB\VID_0529&PID_0001&Rev_0321
  5. Done.

Remove updates
There is a script that will remove any existing u[pdates tha iwll aloow to run older versions:

SET partition=C
IF  EXIST "%partition%:\ETKA\VWAU\DATA\." (
rd "%partition%:\ETKA\VWAU\DATA\AU\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SE\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SK\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\VW\Update\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\AU\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SE\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\SK\Upload\" /S /Q
rd "%partition%:\ETKA\VWAU\DATA\VW\Upload\" /S /Q
md "%partition%:\ETKA\VWAU\DATA\AU\Update\"
md "%partition%:\ETKA\VWAU\DATA\SE\Update\"
md "%partition%:\ETKA\VWAU\DATA\SK\Update\"
md "%partition%:\ETKA\VWAU\DATA\VW\Update\"
md "%partition%:\ETKA\VWAU\DATA\AU\Upload\"
md "%partition%:\ETKA\VWAU\DATA\SE\Upload\"
md "%partition%:\ETKA\VWAU\DATA\SK\Upload\"
md "%partition%:\ETKA\VWAU\DATA\VW\Upload\"
md "%partition%:\ETKA\VWAU\DATA\AU\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\SE\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\SK\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\VW\Update\Temp"
md "%partition%:\ETKA\VWAU\DATA\AU\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\SE\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\SK\Upload\Temp"
md "%partition%:\ETKA\VWAU\DATA\VW\Upload\Temp"
pause
) else (
echo Cannot find '%partition%:\ETKA\VWAU\DATA\'
pause
)

PJL ReadBack – read response from printer

This is pretty hard to do that on USB printer connected to windows. You have to have bidirectional driver for your printer and somehow read it (there is no that option in win32 printing). There is no bidirectional windows drivers for most of printers.

It is much easier to ReadBack from printer connected to network. You can do that with simple app called PCL Paraphernalia
http://www.pclparaphernalia.eu/index.html

ReadBack from USB printer on Linux is possible! Printer is installed as a character device (you can read and write to it).

Some tips:

  • After read printer send to them ESCAPE character. If not, next send and work will not work.
    echo -e "\e" > /dev/usb/lp0
  • My printer does not respond nothing for @PJL INQUIRE *_* – no respond from printer for variables with underscore example: @PJL INQUIRE TOTALPAGE_LMT (probably total page limit) and others:
    ONLYFOR_PANEL
    TOTALPAGE_LMT
    COUNTPAGEPF1_LMT
    COUNTPAGEPFM_LMT
    A4PAGES_LMT
    LEGALPAGES_LMT
    JISB5PAGES_LMT
    A5PAGES_LMT
    A6PAGES_LMT
    MONARCPAGES_LMT
    PLAINPAGES_LMT
    THICKPAGES_LMT
    ENVELOPESPAGES_LMT
    POSTCARDPAGES_LMT
    LABELPAGES_LMT
  • You can try to check device is busy but it not work correctly. You should do the command in loop until you read more than zero length reponse (or set timeout in looop to next try)
    while true
            do
               fuser -s /dev/usb/lp0
               if [ $? -ne 0 ]
               then
                  break
               fi
    done
  • Send PJL:
    echo -e "\e%-12345X@PJL\r\n@PJL INFO ID \r\n\e%-12345X" > /dev/usb/lp0
  • Read PJL – I do not know when you should read and when the response is ready. So i try to read in loop or few cat commands, read or dd.
    #1way
    response=$(dd if=/dev/usb/lp0 of=temp.txt 2>&1)
    echo "$response"
    echo -e "\e" > /dev/usb/lp0
     
    #2way
    while IFS= read -r -n1 char
    do
     printf "$char"
    done < /dev/usb/lp0 echo -e "\e" > /dev/usb/lp0
     
    #3way
    cat /dev/usb/lp0
    echo -e "\e" > /dev/usb/lp0
  • Example script to read the printer ID:
    #!/bin/bash
     
    PRINTER=/dev/usb/lp0
    ESCAPE=$(echo -e "\e")
    FF=$(echo -e "\x0C")
    char=""
    IFS=""
    echo "" > temp.txt
     
    	while true
    	do
    		sleep 0.5
    		#WAIT FOR NOT BUSY
    		while true
    		do
    			fuser -s "$PRINTER"
    			if [ $? -ne 0 ]
    			then
    				break
    			fi
    		done
    		#send PJL to printer
    		echo -e "\e%-12345X@PJL\r\n@PJL INFO ID \r\n\e%-12345X" > "$PRINTER" 
    		#TRY TO READ IMMEDIATELY
    		char=$(dd if="$PRINTER" of=temp.txt 2>&1)
    		echo -e "\e" > "$PRINTER"
    		#CHECK THAT dd READ ANY BYTES
    		echo "$char" | grep "bytes copied" > /dev/null
    		if [ $? -ne 0 ]
    		then
    			printf "."
    		else
    			echo "$char" | grep "^0 bytes copied" > /dev/null
    			if [ $? -ne 0 ]
    			then
    				cat temp.txt
    				echo "" > temp.txt
    				break
    			else
    				printf "."
    			fi
    		fi
    		char=""
    	done

    the response:
    @PJL INFO ID
    "Brother HL-1110 series:84UE03:Ver1.08"

Change Language on Brother printers DCP / HL / MFC

That method should work on printers with LCD and touchscreen:

  • DCP-7080
  • DCP-7080D
  • DCP-7180DN
  • DCP-L2500D
  • DCP-L2520D
  • DCP-L2520DW
  • DCP-L2540DN
  • DCP-L2540DW
  • DCP-L2541DW
  • DCP-L2560DW
  • HL-L2380DW
  • MFC-7380
  • MFC-7480D
  • MFC-7880DN
  • MFC-L2680W
  • MFC-L2700D
  • MFC-L2700DN
  • MFC-L2700DW
  • MFC-L2701D
  • MFC-L2701DW
  • MFC-L2703DW
  • MFC-L2705DW
  • MFC-L2720DW
  • MFC-L2740DW

First you have to enter Mainteance (74) mode, and enter correct country code. Maint 74 called Setting by spec. It sets more than only Country code. It changes fax settings, LCD Language etc.

How to enter Maintenance  Mode Brother

Everything start from Ready state printer. If there i no NUMPAD you have to enter values with arrows (up and down) then press OK to go the next coulmn.

  1. On printers without touch screen
    1. Press Menu then press Start button
    2. Press ↑ (arrow up key) four times
    3. Check there is MAINTENANCE on the screen. If not, click cancel and start again from beginning
    4. You can set function with arrows (↑ up and ↓ down) or enter the function code 74  and wait a sec
    5. Enter desired Country Code (4 digits) and Start
    6.  You should see PARAMETER INIT on the LCD
    7. enter Mainteance 99 to exit to normal mode
  2. Printers with touch screen
    1. Hold home button for 5-8 seconds
    2. Printer should show four rows (1. serial no, 2. ROM version, 3. Empty 4. Empty)
    3. Hold bottom field for 2 seconds
    4. Enter code *2864 , printer should enter MAINTENANCE mode
    5. Enter 74 and wait a sec
    6. Enter Country Code (4 digits) and click Mono Start
    7.  You should see PARAMETER INIT on the LCD
    8. enter Mainteance 99 to exit to normal mode

Country codes list

Continue reading