System Engineer

Friday, April 05, 2019

BMW 2006 325i E90 N52 DME MSV70 reprogramming



1, DME info: (HW:7577960,BMW part#:7567178-->7577968. Physical HW:7532547).
2, Winkfp configure:

NO bootload activate. This will not flash bootload in DME. In case the flash failed, the DME will not be bricked.
3,use another car with  jump cable to support battery during programming.
4, use Winkfp to get UIF of the DME with update history
5, use Winkfp data folder *.HIS file to find the right update history of the DME.
6, the ZB number is one number higher than the assemble number in the HIS!!!
7, the SP-Daten file only keep the latest ZB number(7623406). So the latest SP-Daten file is what you need. DO not need to find older version SP-Daten for old ZB number.
8, In Winkfp: "Comfort mode"-->"VIN","Update ZB",and "Select ZB (7623407)"-->"Done"-->"Program"
9, Takes about 3min for DME only.




Friday, March 08, 2019

HP DL380 G7 ilo

The ilo does not support new TLS.
To access it, install Oracle Virtual Box, and install XP SP3. it need 4GB space. and 512 MB memory. inside XP, install .net framework 3.5

Upgrade HP DL380 G7 RAID from 146GB to 1TB SSD

     The project is to upgrade HP DL380 G7 RAID from 8 146GB SAS hard disk to 8 1TB SATA SSD.

     First I downloaded and installed  Macrium Reflect 7, then created rescue USB thumb drive, boot HP DL380 G7 from the USB drive, imaging the disk to a Samba network disk.

     The raid controller is HP Smart Array G6 controller which support only logical disk but does not support logical volume.

     The BIOS does not support UEFI boot. So it can not boot from GPT disk.

     The logical disk is 7 TB after upgraded. After I used Reflect to restored image file to the 7 TB logical disk, the disk changed back to MBR disk. But MBR disk format only support 2 TB total disk space.

   

     I tried to use Mini Tools partition manager to convert the logical disk from MBR to GPT. The tool converted the disk to GPT successfully. But it kept a MBR partition protect on the partition. So the tool can not resize the partition to the full disk space.

     I tried use SUSE YasT  Partitioner. It can not resize the partition neither.

     All of them do not give any error message.

     I have to use a small SATA SSD disk to replace the CD-ROM, format it as MBR disk and install the a Linux OS on it. After boot from the disk, I installed gdisk and use it to convert logical disk to GPT. Then use SUSE YasT Partitioner to resize the partition to full size. Then I copied files from old disk's /boot folder to override the MBR boot disk's /boot folder,  modified menu.lst in the /boot/grub folder:

from
gfxmenu (hd0,1)/boot/message

to
gfxmenu (hd0,0)/boot/message

from
root (hd0,1)

to
root (hd0,0)

from   
kernel /boot/vmlinuz-2.6.32.12-0.7-default root=/dev/disk/by-id/cciss-3600508b1001c6fb515016b20e40a96c8-part2 showopts ide=nodma apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe

to
    kernel /boot/vmlinuz-2.6.32.12-0.7-default root=/dev/disk/by-id/cciss-3600508b1001ca65c6e28fa9f1c1c5345-part1 resume=/dev/disk/by-id/scsi-SATA_INTEL_SSDSC2KW5PHLA846003NQ512DGN-part3 splash=silent crashkernel=256M-:128M showopts

Because the new RAID logical disk's ID changed, and I created swap partition after root partition, I had to modify old /etc/fstab
from
#/dev/disk/by-id/cciss-3600508b1001c6fb515016b20e40a96c8-part1 swap                 swap       defaults              0 0

to
/dev/disk/by-id/cciss-3600508b1001ca65c6e28fa9f1c1c5345-part2 swap                 swap       defaults              0 0

from
#/dev/disk/by-id/cciss-3600508b1001c6fb515016b20e40a96c8-part2 /                 ext3       defaults              0 0

to
/dev/disk/by-id/cciss-3600508b1001ca65c6e28fa9f1c1c5345-part1 / ext3 defaults 0 0

     After reboot the machine, everything goes back to the exactly same as I upgraded the disk to 7 TB. The small MBR SATA SSD disk plays only as a boot disk.

(For my recorder, to image 1 TB disk to USB 2 or over the 1 GB network takes about 6 hour. Restore the image takes about 3 hour. Use tar to clone takes about 17 hour.)
The path is:
1, Use Reflect image RAID.
2, Replace the SAS with SSD.
3, Restore image.
4, Install a MBR SATA SSD and install same OS on it.(cheap USB thumb drive would corrupt in six month to one year.)
5, Install gdisk and convert RAID logical disk to GPT, then expand the size.
6, Copy /boot from Logical disk to MBR SATA SSD /boot folder.
7, Modify menu.lst in /boot/grub in MBR SATA SSD disk.
8. Modify /etc/fstab to use RAID logical disk as root and swap.



   

Thursday, December 01, 2011

Solaris HISTSIZE maximum 14 9s

/etc/profile

HISTSIZE=99999999999999
export HISTSIZE
EDITOR=vi
export EDITOR

Saturday, July 23, 2011

accord brake pad,

2011 July 23,
replaced accord rear brake pads made by Satisfied Pro ceramic VS, comprenant Genetix 4, bought online, no warrentyPR537-c, 0-69191-64824-8, 016-5557-0, 4874, 022807, 1049090 5 0288, made in canada. with wearever ceramic premium pads bought from Advanced auto parts on 2010 July. It is lifetime warrenty, CNAD 537, 7 66024 91104 2, MADE IN MEXICO, 10C18 C. Outer right side was wear to metal at top left corner.
mileage: 167230
I will return the one I bought from Advaced Auto parts.

There are another 3 boxes, they are all Raybestos. lifetime warrenty, bought from Murrays. Now is http://www.oreillyauto.com, But can not find receipt.

I will change front brake pads and Odyssey's 4 brake pads on Labor day.

there is still noise from rear passage side wheel.

Wednesday, September 15, 2010

HP LaserJet network

1, network setting option is controlled by model.
2, model saved in both DC controller and Formatter. DC controller first. If both changed, they may not work. the new one copy from current one. Copy is non-reversible. If both of them not match, the printer will not work properly. And printer show DC controller's model.
3, RMA: 100009124050
4, 1800-334-5144
5, buy eio-network-card.

FileZilla for proxy

1, Edit-->settings-->generic proxy-->http-->192.132.21.5-->3128
2, in site manager-->select site-->advance-->select skip proxy for local ftp setting.

install Joomla

1, Install WAMP
2, change httpd.conf port to 38880, folder to www/EMG
3, open http://localhost:38880
4, change php.ini
5, mv phpmyadmin to www/EMG
6, add user EMG_root in Windows administrator and password.
7, add EMG_root in MySql ,add password, generated complicate password. all permitions, localhost only.
8, setup Joomla. installed sample.
9, Joomla ftp, step 6, IIS ftp home directory. Error in Joomla but valid.
10, firewall add port 38880
11, Pix1 route add port 38880
12, http://173.200.232.251:38880.
13, admin, password

Wednesday, October 01, 2008

SQL server

the login is https://192.168.0.31
need start httpd first: service httpd start
Only support phpmyadmin version 2, does not suppport version3.
when the web page is blank. edit /etc/php.ini. Add:
error_reporting = E_ALL & ~E_NOTICE
display_errors = On

when got permition index.html, copy it.

2, Add 500GB hard disk to sun1. Move all Software Dev ftp user folder to it. Keep 200GB hard disk as Engineering Service and others. remove CD-ROM driver from sun1 to use the IDE port.

3,went to Megna to take PC but its manaer want to keep it to the weekend.

Tuesday, August 07, 2007

sendmail virtual hosting

1. virtusertable:
james@new.com james

2, in sendmail.mc:
FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable.db')dnlFEATURE(`genericstable')dnlsGENERICS_DOMAIN_FILE(`/etc/mail/generics-domains')dnl

3, touch generics-domains

4, in local-host-names:
new.com

5, restart sendmail

6, In ASSP-->Relaying-->Local Domains:
new.com

7, In ASSP-->Validate Local Addresses-->Local Addresses* :
new.com

8, In DNS-->A (host):
mx 65.??.??.???

9, In DNS-->MX (Mail Exchange) :

Priority Host Goes To TTL Actions
0 @ 65.??.??.??? 1/2 Hour
0 @ mx.new.com 1/2 Hour

10, send a test email from gmail.