diumenge, 10 de gener del 2021

Dell Latitude E7240 touch panel with bubbles, stains and leaky gummy. Replacement.


 Dell Latitude E7240 touch panel with bubbles, stains and leaky gummy. Replacement.


Tots els que ens guanyem la vida amb la informàtica solem tenir un bon arsenal d'equips. En aquest cas tinc un parell de Dell Latitude E7240 Touch, que son un parell de ultrabooks de 12 polzades amb pantalla d'alta definició, que permet fer feines de camp de forma excel.lent, tant en windows com en linux.

D'un dia per l'altre van començar a sortir bombolles d'aire sota la pantalla, i va durar un parell d'anys, que les bombolles van anar augmentant. Recentment, les bombolles es van fer molt grans, va començar a sortir un liquid molt enganxós per sota la pantalla, i el panell reflector de llum es va tacar amb unes ombres molt lletges.

Vaig pensar que s'havien aixafat, en les dues motxilles que tinc. Però amb el temps vaig comprovar que hi havia molta gent, a Internet, amb aquest problema. El cas és que la cola de sota del panell tàctil es degrada, es torna líquida, i suqueja per sota la pantalla i penetra dins del panell de cristall líquid, tacant les fulles reflectores.

Dell no va ser de gran ajuda. Els vaig contactar i em van dir que els donés els Tags. Van dir que no estava en garantia i em van convidar a fer una enquesta. No els vaig deixar gaire bé, doncs el Dell 6230 que havia tingut abans ja havia tingut algun problema de degradació del reposamunyeques, que estava revestit d'aquella goma que acaba tornant-se enganxosa.

Igual que l'altra vegada, Aliexpress sol ser de més ajuda: vaig encarregar el recanvi i el vaig instal.lar a casa.

Every IT pro use to have a good collection of computer gear at home.

I have a couple of Dell Latitude E7240 touch. They are ultrabook class devices, that having only 12 inch LCDs but offering FullHD resolution, a decent battery life for the weight, a processor that allows for virtualization, and a wired network interface, make them excellent for field operation using either windows or linux.

Some time ago I noticed some air bubbles under the touch panel. They were like this during 2 years. All of sudden, the bubbles grew, and some gummy thing started to leak under the LCD panel. The backlight reflector got stained and very ugly shades appeared.

I thought that the computers were damaged during storage. I may have crushed them. But searching the internet I could see that there were a good bunch of people complaining about the issue. Looks like the glue under the Touch panel gets degraded, turns liquid, and leaks some sticky thing to lcd clamshell, and into the LCD backlight reflection sheets.

Dell was of no help. I contacted, asked the service tags and confirmed that they were out of warranty. They sent me to an online survey about product quality. Since I was also victim of the Dell E6230 palmrest gummy rubber paint, I complained a lot. Dell has some serious problems with materials.

Aliexpress came handy again: I ordered the spare parts and instaled by myself.




Dell Latitude E7240 touch panel with bubbles under the panel.


Dell Latitude E7240 touch panel with stained backlight




El problema és que el panell LCD no porta cargols: és una carcassa on les dues meitats van enganxades.

Cal utilitzar eines per obrir carcasses de plàstic.
The problem is that the LCD is inside a clamshell that has no screws. Two halves are glued together.

We will need tools for plastic pry and open.




Tools required. Plastic Pry tools and contact glue. The best one is the green.



Per partir la carcassa, començar punxant.To crack open the clamshell start tu pry between the halves.


Work the tool along the crack to break the glue.



Anar desllissant l'eina per l'esquerda, acaba trencant la goma que les uneix.


Working the tools in the crack, glue gets broken and you can open the halves.




Work the tools along the crack to break the glue.




Cal anar amb compte amb els diferents elements a l'interior: tots han de quedar enganxats a la tapa de fora. La cola és prou forta com per a causar desperfectes.Take care with the different devices inside. All these must remain attached to the outer cover. Glue is so strong that may break some devices.


Take care with internal devices. They must keep attached tot he outer cover
Glue is so strong that may cause some device damage. See image.
Use a long tool to work the lower part of the LCD assembly.



LCD Assembly internals. There are three antenna devices plus the camera.
I damaged one of these.




Hopefully, it is only a cover that could be installed again. Nothing serious.


Here we can see a leak of the sticky thing.




Aliexpress serveix el recanvi com a LCD o com a LCD amb el marc.
Evidentment és molt més fàcil fer la feina, si es compra el recanvi amb el marc ja enganxat.
Aliexpress offers the LCD and the LCD with bezel.

The job is much easier, using the LCD+Bezel spare part



Aliexpress Spare part: You better purchase the LCD+Bezel. There's also offered the LCD only option.


For those willing to know about the part numbers:
LP125WF1 (SP)(A4) manufactured by LG Display
D/PN:0PY6P2 (older damaged)
D/PN:05CXGG (aliexpress replacement)


 
Per desconnectar El LCD cal arrencar in celofan i desencaixar un "seguro" que Porta El connectorLCD connector is secured through an adhesive strap and a latch in the connector





Connectem la pantalla de repost per a veure si funciona tot correcteSimply connect the replacement screen and check if everything is OK



Replacement LCD connected to check if everything's fine.



Abans d'encolar les pieces convé netejar les restes de l'anterior. Fer servir un troç de roba i alcohol. Ningú vol tenir problemes d'enganxament, no?Before glueing the lcd covers again, it is mandatory to clean the matching surfaces. Use a cloth rag and alcohol. Nobody wants a glue failure.






He provat de fer servir una cinta adhesiva de double cara per tornar a enganxar la carcasses, però no ha funcionat.

Provaré cola de contacte, que sembla que pot ser el que millor funcionarà. Quan vaig desmuntar-ho, semblava cola de contacte.
I tried to use double sided adhesive tape, but the results were not good.

I'll use contact glue. I think it will do the job. After all, when I unglued the clamshell, the glue I removed was like contact glue.


Used contact glue.


Seguiu les instruccions del fabricant de la cola:
1: Escolar
2: Ajuntar
3: Separar per endurir 1min.
4: Ajuntar i mantenir pressionat 24h 
Follow the glue manufacturer's instructions to use.
1: Apply glue
2: Join both halves
3: Split again and let it cure 1min.
4: Close both halves and apply pressure for 24h


Glue cure procedure



Pressure for 24h



Després de 24h, la carcassa ha quedat perfectament tancada i resistent. After 24h, LCD assembly is propperly closed and strong.


Finishing is near perfect.


YAY! Dell Latitude E7240 ready to use again!

diumenge, 27 de gener del 2019

Nitsuko PB4500-0700 Console Cable and Nitsuko Builder



Fa algun temps ja em van demanar fer un cable de impressora DB25 serie per aquesta NITSUKO PB4500. Teniu l'article aquí:

http://mmalagelada.blogspot.com/2016/02/nitsuko-pb4500-serial-printer-db25m-to.html

Ara farem l'altre cable: el de programació des del PC

Some time ago I was required to build a printer cable for the Nitsuko PB4500 having a DB25 serial printer. Here you are the article:

http://mmalagelada.blogspot.com/2016/02/nitsuko-pb4500-serial-printer-db25m-to.html

Now we need to build the programming cable



PINOUT that I found in a cable from a customer and WORKS



NITSUKO - PC
RJ45 - (DB9F)
-------------------------------------
1 ---------------- 4 (DTR)
2 ---------------- 8 (CTS)
3 ---------------- 2 (RXD)
4 ---------------- 3 (TXD)
5 -------------- no connect
6 ---------------- 7 (RTS)
7 ---------------- 5 (GND)
8 ---------------- 6 (DSR)





PINOUT that I found in Internet and DOES NOT WORK for me:

NITSUKO - PC
RJ45 - (DB9F)
-------------------------------------
1 -------------- n/c
2 ---------------- 4
3 ---------------- 2
4 ---------------- 3
5 ---------------- 8
6 ---------------- 7
7 ---------------- 5
8 ---------------- 6


He vist alguns fòrums que demanen descarregar el programa Nitsuko Builder i parla que només està disponible una versió holandesa a:
http://members.fortunecity.com/kisbv/software.htm

Aquest lloc fa temps que va tancar pero la mítica Internet Wayback Machine en fa fer una foto el 12 de Març de 2013, aquí està:

I've seen several people asking in forums where to get the Nitsuko Builder software. Some point for a dutch version to:
http://members.fortunecity.com/kisbv/software.htm

This site is shutdown, but the Internet Wayback Machine snapshotted it on Mar 12 2013. Here you are:








dijous, 29 de desembre del 2016

Rock Solid B&W Speakers. Tweeter Replacement. Recanvi del Tweeter.

Entreteniments d'estiu.

Fa un temps vaig comprar un kit d'altaveus Rock Solid, fabricats per Bowers & Wilkins. Dos monitors i un Subwoofer passiu.

Una aproximació de la alta fidelitat per a ús en botigues, locals comercials, bars, preparats per un entorn més dur que no pas el domèstic. Bueno, res a veure, tot i que no sonen malament, i sonen molt millor que aquests altaveus de sonorització, que se solen muntar.

 Aquest kit era usat i els tweeters estaven fosos.
Summer entertainment job.

Some time ago I purchased a used speaker kit made by Rock Solid, they were manufactured by Bowers & Wilkins. Two monitors and a passive subwoofer.

They were an approximation of hifi for shops, bars, business environment with heavy duty conditions.
Well, sound is not that good, absolutely. But they are not bad at all, far better that these Public

Address plastic boxes. They were used with blown tweeters.

No en tinc ni idea de cap paràmetre dels tweeters originals.

Tampoc tinc cap pista de la SPL del woofer.
El filtre és de 2n ordre, però les bobines no tenen valor.

Pràcticament no queda més solució que, o bé posar-se a fer un anàlisi amb el generador de funcions, o bé provar. Aquesta vegada farem proves. En una altra ocasió amb unes ProAC SuperTower sí que va valdre la pena per l'anàlisi.
El primer intent va ser amb uns tweeters de Peugeot "Made by Harman" 96 333 557 80 Aquests tweeters de ben segur que son Audax, i es troben en molts altaveus de JBL (Harman Kardon), per exemple les J520M. Pertanyen a la família dels tweeters de mylar d'Audax, amb els AMTIW74 (titani), TW51A (del l'any 1983), TW010, TW014 i s'han fabricat en impedàncies de 4 ohms i 8 ohms, i en diverses SPL i diverses linealitats, alguns fabricats especialment per a marques. Hi ha dotzenes de clons d'aquests tweeters, fabricats per diverses marques, algunes, xineses.
I don't have any clue about original tweeters, impedance, spl.

I also don't have info about the woofer's SPL.

Filter is a 2nd Order (hopefully). But coils do not have any value.

Either we start a deep analysis with a function generator and a Frequency analyzer, or we just make some testing with spare tweeters. Making this is not worth the time. I previously did with a pair of ProAC Supertower and this time it was worth the time.

First attempt was with a couple of "Harman tweeters" from a Peugeot, model number 96 333 557 80, "Made in France". These tweeters must be Audax for sure. These can be found in lots of JBL hifi loudspeakers (for example J520M). They are part of the audax TW51A family of mylar dome tweeters, like AMTIW74 (titanium), TW51A (from 1983), TW010P1 and TW010E1, TW014... They were manufactured in 4 and 8 ohm, several SPL and several linearities, some custom made. There are lots of clones made by several manufacurers, lots of them, chinese.

See the Peugeot Harmann 96 333 557 80  tweeter on the left and he Audax TW010P1 on the right

Datasheets: http://www.audax.com/archives.php 

AMTW51A: https://drive.google.com/file/d/0B8jg2zfyBBjuanNjaGotWVlGTG8/view?usp=sharing TW010I1: https://drive.google.com/file/d/0B8jg2zfyBBjubWtmeGp1OHBIeEE/view?usp=sharing TW014R1: https://drive.google.com/file/d/0B8jg2zfyBBjubEhHdGQzbV9YQjQ/view?usp=sharing TM010A1: https://drive.google.com/file/d/0B8jg2zfyBBjuQTAwVy1TUmlCOWc/view?usp=sharing TW010E1: https://drive.google.com/file/d/0B8jg2zfyBBjuX2ZsSlNveWF3R1E/view?usp=sharing TW010F1: https://drive.google.com/file/d/0B8jg2zfyBBjuNTJrczJTQTFvV1U/view?usp=sharing
TW010P1: https://drive.google.com/file/d/0B8jg2zfyBBjub2hvZ2Y4N3JxblU/view?usp=sharing


Els que jo tenia TW010P1 son de 4 ohms i els de Peugeot crec que deuen ser el mateix perquè no noto diferència.

Una vegda muntats, el só era bó, per els Rock Solid Monitors, però lleugerament apagat si els utilitzàvem amb el subwoofer. Ja tenim una aproximació: 88dB son bons per els monitors però justos per el sistema amb subwoofer.
El Crossover respon bastant bé amb 4ohms, de manera que assumirem que el tweeter original era de 4 ohms.

Aquests tweeters son poc estimats per els usuaris de Peugeot perquè en els Peugeot estan mal filtrats, un simple condensador de 4,7uF fa de filtre de 1r ordre a 8KHz. El tweeter te una resposta bona fins a 14KHz i després cau 6dB fins a 20KHz. Aquesta resposta forma una panxa en 10KHz. Cal currar-se millor el filtre per a treballar amb els TW010P1.
En la meva opinió, no son mals tweeters, tenen una riquesa sonora molt maca, però la alinealitat a dalt de tot necessita que l'enginyer es curri més el filtre.

I had a couple of TW010P1 4 ohm tweeters and I guess Peugeot ones were the same because they measured and sounded the same.

Once assembled the sound was good for the Rock Solid Monitors alone, but slightly low when used with the Rock Solid Subwoofer. So we have an approximation: 88dB SPL are good for the monitors but low for the whole system.
Crossover is working reasonably well with 4 ohm so we could assume that the original tweeter was 4 ohm.

Peugeot owners don't like these tweeters. I guess it is due to a very wrong filtering (only a 4.7uF capacitor, that's a 1st order 8KHz crossover). Tweeter works well till 14K, and then falls 6dB until 20KHz. This is not making a good sound.
In my honest opinion, these are not bad tweeters. They are rich sounding, but that -6dB at the top require a lot of engineering in the xover.






El següent intent ha estat amb uns tweeters de car audio de 90dB 4ohm. He trobat uns Coral Electronics CT35.
El manual dels Coral CT36 posa que tenen 90dB. No tinc la gràfica de SPL. Provarem.

Amb els tweeters a les mans, diria que son un clon dels Audax TM010A1 però Coral és una bona marca.

Encaixen a la perfecció al forat de la caixa.

He tret el filtre incorporat que portaven: el famós condensador de 4.7uF.
Next attempt I tried a couple of car audio tweeters, 90dB and 4ohm. I found a pair of Coral Electronics CT35.
I can read in the Manual for Coral CT36 that they are 90dB, but no SPL graphic.

With the tweeters disassembled I'd say that these are Audax TM010A1 clones, but Coral is a reputated brand.

They fit *perfectly* in the box hole.

I've removed the integrated filter: the 4.7uF cap.



Una vegada instal.lats son exactament el contrari que els Audax

Tenen una zona alta molt brillant, els 2dB adicionals es noten, però per sota queden lleugers. Els plats han guanyat brillantor, però les cordes (piano, mandolina, guitarra clàssica) han quedat sense detall, i les veus son lleugerament nasals.

Potser sí que el tweeter original era de 8 ohms. Posar un tweeter de 4 ohms en un filtre dissenyat per a 8 causa que la freqüència de tall per el tweeter es dobli.
O potser la SPL d'aquest tweeter és així.

Humm... caldrà pensar més.
Once installed, they sound just opposite from the Audax:

Extreme highs are good and these 2 extra dB make the job. But they are thin below. The cymbals are well present but all string instruments lost detail (piano, classic guitar...). Voices got nasal. Too lean mid-high zone.

Maybe the original tweeter was 8 ohm. Using a 4 ohm tweeter in a 8 ohm designed crossover causes the cut frequency to double for the tweeter.
Or maybe this tweeter's SPL is like this.

Humm... let's think more.


1 dia després.

Humm, això caldrà fer-ho bé. Doncs fem-ho!

Desmuntem el Crossover i mesurem les peces, llavors farem simulacions. He fet servir un tester LCR

  • El woofer és de 4 ohms (2.4ohm DC)
  • Una bobina és de 0.33mH
  • L'altra bobina és de 0.17mH
1 day later.

Humm this ought to be done seriously. OK, let's do it.

Let's disassemble the crossover and measure the coils. I used a LCR multimeter.


  • Woofer is 4 ohms (2.4ohm DC)
  • One inductor is 0.33mH
  • The other one is 0.17mH

Rock Solid Monitor Crossover


Anem a fer la simulació amb un tweeter de 4 ohms (Orcad PsPice)Let's make some simulation with a 4 ohm tweeter (Orcad PsPice)






Anem a fer la simulació amb un tweeter de 8 ohms (Orcad PsPice)Let's make some simulation with a 8 ohm tweeter (Orcad PsPice)




CONCLUSIONS:

Pel que veiem, la freqüència de tall efectiva canvia poc (3500Hz), i en el cas del tweeter de 4 ohms, queda excessivament apagat, mentre que en el cas de 8 ohms puja prou bé.

Això coincideix amb el que hem observat (escoltat) a les proves reals.

Així doncs, nou projecte: aconseguir un tweeter de 8 ohms que doni 88-90dB.
Hi ha una resistència de 1.5ohm que ens permetrà acabar d'ajustar la sensibilitat.

Continuarà....
CONCLUSSIONS:

We can see that crossover frequency barely changes (3500Hz) but when using a 4ohm tweeter, it gets few power and a bad mirange-high. A 8 ohm tweeter works much better.

This is what we could see (listen) in real testing.

So new project: get a 8 ohm tweeter in the range of 88-90dB.
There is a 1.5ohm resistor that will let us match the sensibility.

To be continued...


6 mesos després...

Resulta car anar comprant tweeters. Enlloc de gastar diners anem a gastar unes quantes neurones per a adaptar el tweeter Coral CT35. Això vol dir feina seriosa amb el Crossover.

OK partim que perseguim això: aquesta és la simulació del filtre original.
   
... 6 months later...

Purchasing tweeters is expensive. Instead of spending money, let''s spend some time trying to get the most of the Corals CT35. This means serious work with the Xover.

We are trying to get this: (this is the response of the original filter)

Original crossover response.


Construeixo un full de càlcul amb les fórmules per a saber la Q del filtre. M'ajudo de  de la web de Rod Elliott:
http://sound.whsites.net/lr-passive.htm

I build a spreadsheet to guess the Q of the filter. I use the formulas in the Rod Elliott web:
http://sound.whsites.net/lr-passive.htm





El full de càlcul calcula tots els Condensadors i totes les Bobines per una determinada freqüència de tall, i coloreja la cel.la dels components que coincideixen (10% tol) amb amb les trobades al disseny. En el punt que coincideixen tant el valor de la bobina com el condensador, trobem la Q

Q= 0.65 per el filtre del Woofer (Bessel)
Fc=2500Hz
Q=1,15 per el filtre del Tweeter (Butterworth)
Fc=6500KHz
Spreadsheet calculates all the Coil and Capacitor values for the different Q, given a Cut frequency. When the values are equal (10%tol) to the componenents in the filter, the cell is coloured. When both cells, cap value and coil value are the same as the original component, we can guess the Q of the filter.

Q=0,65 for the Woofer filter (Bessel)
Fc=2500Hz
Q=1,15 for the Tweeter (Butterworth)
Fc=6500Hz



Vull mantenir la Q del filtre perquè probablement el woofer tingui unes mancances que requereixi que el tweeter actuï d'aquesta manera tant rara.

Mantinguent Fc=6500 i Q=1,15, cercarem els nous valor de L i de C per el tweeter de 4 ohms.

Utilitzant el full de càlcul puc trobar L=0,08mH i C=7uF
En components reals, podriem escollir:
L= 0,1mH (Visaton la fabrica)
C=6,8uF 
I want to keep the Q of the filter because the woofer probably has a response that needs the tweeter to work that strange way.

I keep Fc=6500 and Q=1,15. Now I need to calculate the new L and C values for the 4 ohm tweeter.

Using the spreadseet I can find L=0,08mH and C=7uF
Standard component values:
L=0,1mH (manufactured by Visaton)
C=6.8uF




Anem a comprovar la resposta amb el PsPice Let's see the response using OrCAD PsPice

Modified Crossover Response trying to match original filter but using a 4 ohm tweeter


La resposta és molt similar a la del filtre original. Aquesta vegada probablement l'hem encertat,
El tweeter està 2.5dB atenuat respecte el woofer per la resistència en serie de 1.5ohm Aquesta resistència ens ajudarà a adaptar les sensibilitats. No sabem la sensibilitat de cal dels drivers, haurem de treballar-ho a "orella"
Frequency response is very close to the original filter. I think this time we guessed it.
Tweeter is 2.5dB under the woofer SPL due to the series 1.5ohm resistor. This resistor helps to match both drivers' SPL. We do not have data about the SPL of any of the drivers, so we will need to experiment.




Muntem els components nous al Crossover. Els components es poden trobar amb relativa facilitat a eBay. Let's assemple new compoenents to the Xover. New components can be easily found at eBay.


Original Rock Solid Monitor Xover


Modified Rock Solid Monitor Xover.


Final feliç per els monitors Rock Solid:
FUNCIONEN ESPLÈNDIDAMENT

Ha sigut necessari canviar la resistència en serie de 1.5ohms per una de 1 ohm (veure foto) per a alinear bé la sensibilitat dels dos altaveus.

La reproducció és francament bona: detallada, amb tot l'aire que abans faltava, amb una zona de mitjos potent i "musical", uns aguts clars, i uns greus (donats per el subwoofer) de gran calidesa.

Una peça que va molt bé per a ajustar Crossovers és "Willie Dixon - Save my child"  https://youtu.be/u_NokJ-fSpw
Tenim bons greus, una zona mitja amb uns detalls de respiració que cal assegurar de reproduïr i una secció metàl.lica que treballa les zones del crossover.

Llista de components:

2 x Coral CT35 mylar tweeter (probablement molt semblant als Audax TM010A1 però amb millor SPL)
2 x Condensador 6.8uF NP
2 x Bobina d'aire Visaton 0.1mH
2 x Resistencia 1 ohm 5 watts
Great ending for the Rock Solid Monitors
THEY WORK VERY WELL!

I had to replace the 1.5ohm series resistor by a 1ohm one (see photo) to match both drivers SPL.

Sound quality is pretty good! detailed, powerful, yet has enough air that was lacking before. Midrange is fine and overall warm with crisp treble.

A good test piece is "Willie Dixon - Save my child" https://youtu.be/u_NokJ-fSpw
We have deep bass, great mirdange with breathe details that need to be there, and some metal instruments that will help to test the xover zone. Very nice!


Bill of materials:

2 x Coral CT35 mylar tweeter (probably very close to Audax TM010A1 but having better SPL)
2 x Capacitor 6.8uF NP
2 x Air Coil Visaton 0.1mH
2 x Resistor 1 ohm 5 watts

dissabte, 8 d’octubre del 2016

Western Digital MyBook Live debrick. Reparació MBL

He tingut diversos NAS per casa, un Lacie NetworkSpace 1, un Dlink DNS323 i aquest WD Mybook Live de 2Tb. El WD no és molt popular, tot i que jo crec que és un aparell molt interessant perquè és molt més ràpid que els anteriors (4MBytes/s, vs, 11Mbytes/s vs. 32Mbytes/s) a un preu contingut. N´hi ha de més ràpids, però no es pot dir que vagi "malament".

El cas és que el disc va morir, i vaig pensar en canviar-lo, però el problema és que el disc es va emportar el sistema operatiu del NAS. Canviar el disc no ressucitava l'aperell.

I've used several NAS devices at home, a Lacie NetworkSpace 1, a Dlink DNS323 and this WD MyNook Live 2Tb. WD MBL is not very popular, but I find it is quite an interesting device because it offers speed versus low price (4MBytes/s for the Lacie, 11Mbytes/2 for the DNS323 and 32Mbytes/s for the MBL).

So life is hard for these devices and disk died. I inmediately thought about a disk replacement, but the problem was that the operating system of the device went with the disk,so a new disk will not get the device back to life.




Cercant per internet veig que és un aparell amb Linux Embedded! perfecte, això es deixarà remenar! Sembla que la CPU és un PowerPC... hummm.

Com que no soc el primer que se li peta un WDMybook Live, ja hi ha altra gent que s'hi ha barallat i solidàriament han escrit guies i tot. Per tant jo també ho faré,

Guia versió 1: basant-se en un script que a mi no em va funcionar per problemes amb el soft de RAID.
https://community.wd.com/t/guide-how-to-unbrick-a-totally-dead-mbl/56658

Guia versió 2: basat en una imatge de disc dur.
https://community.wd.com/t/guide-debrick-mybooklive-v2-0/58546

Alguns detalls de com es fan les coses des del shell de linux de l'aparell:
http://mybookworld.wikidot.com/forum/t-368098/debricking-script-that-can-keep-data

Jo vaig fer mig d'una cosa i mig de l'altre. Jo vaig preferir preparar el nou disc utilitzant la controladora del MyBook Live i la seva consola SSH.
Reading in Internet I could find that this device has Linux Embedded!. Excellent, this is going to be fun. But CPU is a PowerPC, hummm..

I'n not the only one that had a dead WD MyBook Live. Other people generated lots of documentation on their research and this helped me a lot: (so in turn I write too this documentation)

Debrick Guide v1: based on a script that didn't work for me due to software RAID issues.
https://community.wd.com/t/guide-how-to-unbrick-a-totally-dead-mbl/56658

Guia versió 2: based on a 1Tb disk drive image.
https://community.wd.com/t/guide-debrick-mybooklive-v2-0/58546

Scripts, shell commands issued inside the shell of the device...
http://mybookworld.wikidot.com/forum/t-368098/debricking-script-that-can-keep-data

I did a mix of some of these procedures.
I preferred to prepare the disk using the MBL controller and the SSH console.

1: Disassembly:




2: Disk Replacement:


Molta gent diu que el disc s'ha de canviar per un disc Western Digital i que ha de ser especialment un WD Green. Potser per el Script de debrick.sh sí que es necessari, però jo ho he pogut fer anar amb:

  • Hitachi 721010KLA330 de 1Tb
  • Seagate de 2Tb
  • WD20EZRX (Blue de 5400rpm)
Sí que he d'admetre que vaig tenir problemes amb un WD20EARX que tenia per aquí: el disc sembla funcionar correctament però en el moment de voler-lo formatejar des del controlador del MyBook Live no avança.


Lots o people think that they need to replace the disk with a WD one, and that it needs to be a WD Green of some sort. Maybe the debrick.sh script requires this, but I got it to work with next disks:
  • Hitachi 721010KLA330 de 1Tb
  • Seagate de 2Tb
  • WD20EZRX (Blue de 5400rpm)
I have to admit having problems with a spare WD20EARX I had laying around. Disk works when plugged to a PC, but it gets stuck when required by the WD MyBook Live Controller.

WD MyBook Live using a Hitachi Deskstar 721010KLA330 1Tb disk.

3: Operating system reinstall:


Bàsicament la Guia 2 funcionarà: es basa en enxufar el disc en un PC amb Linux:

  1. Enxufar el disc en un PC amb Linux.
  2. Clonar amb dd una imatge d'un MyBookLive de 1Tb en el nou disc, amb les particions, el Raid, el Swap, tot apunt.
  3. Cas que el disc sigui de 2Tb, fer servir el programa gparted per a agrandar-les.
  4. Enxufar al controlador de WD MyBook Live i engegar.


De resultes de les trifulques amb el WD20EARX que no va funcionar, vaig aprendre a fer part del procés amb la controladora del MyBook Live. Com que el disc ha de funcionar amb aquesta controladora, crec que sempre millor fer-ho així.

El meu problema és que el WD20EARX funcionava en el PC però no funcionava amb la controladora del MyBook Live

Guide 2 will work: it is based on:

  1.  plugging the new disk to a Linux PC
  2. Clone using dd an image from a 1Tb MBL to your new disk. You will get your Raid and your Swap working quite straightforward.
  3. If the disk is 2Tb you'll need to use gparted to enlarge the partitions.
  4. Plug the disk to WD MBL controller and start.
I was mad with WD20EARX not working so I learned better ways to go: Since the disk needs to work with the MBL controller, I do most part of the process using the MBL controller and not the PC. 

My WD20EARX worked in the PC but didn't work with the WD MBL Controller. weird.

3.1 Get the WD MyBook Live 1Tb image / Aconsegueix la imatge del WD MyBook Live de 1Tb


Instal.lar en el teu linux el 7zip

  • apt-get install p7zip-full
Després descarrega la imatge de:
La descomprimeixes i obtindras mybook.img
  • 7z x mybook.7z
Install 7zip in your linux

  • apt-get install p7zip-full
Download MBL 1Tb filesystem image from
Decompress the file and get mybook.img
  • 7z x mybook.7z

3.2 Write the image to the disk / Instal.lar la imatge al disc:


Endolla el disc nou al teu ordinador Linux (o fes servir un LiveCD però potser et quedaràs sense espai per operar). Pots enxufar-lo al USB o directament al SATA.

Pots trobar si està al sda, o sdb o sdc o sdd amb la comanda lsblk. A mi em va quedar al sdb, doncs al sda tinc el disc dur del PC

Llavors clones la imatge: (substitueix sdb per el que convingui.

  • dd if=mybook.img of=/dev/sdb bs=1M

És important el bs=1M perquè si no tardarà una eternitat.
Plug your new disk to your Linux PC (or use a LiveCD but you may run out of space to work). Use a a USB-SATA or plug directly to SATA.

Locate your device (sda / sdb / sdc / sdd) using lsblk command. I got mine at sdb becuase sda was my boot disk.

Then clone image: replace sdb by what you need to make it work.
  • dd if=mybook.img of=/dev/sdb bs=1M
bs=1M is important. It will last forever if you miss it.


3.3 Install the disk to the MBL controller and operate there. / Instal.la el disc a la controladora del MBL i operar des d'allà.


Instal.la el disc a la controladora del MBL, connecta corrent i xarxa.

Engega el MyBookLive i veuràs que després de 3 minutets ja es posa verd.

Localitza la IP del MyBookLive amb un Portscanner. El meu estava a 192.168.1.103



Connecta't-hi amb el navegador i Acceptes els drets d'ús i entres. Veuras que indica que el disc és de 1Tb

  • http://192.168.1.103

Llavors habilites l'accés per SSH

  • http://192.168.1.103/UI/ssh
Ara t'hi connectes per ssh.
  • Per a Windows: putty usuari root
  • Per a Linux: ssh root@192.168.1.103
  • Password: welc0me
Attach the MBL controller to the disk and plug network and power.

After 3 minutes LED will be green.

Locate MyBookLive IP address using a PortScanner
Connect using a browser, accept the terms of use and login. You will see that the disk is 1Tb.
  • http://192.168.1.103
Llavors habilites l'accés per SSH

  • http://192.168.1.103/UI/ssh
Now connect through SSH
  • For Windows: use putty user root
  • For Linux: ssh root@192.168.1.103
  • Password: welc0me

3.4 Make the new Data Partition (Enlarge to 2Tb) / Fes la nova partició de dades (allargar fins a 2Tb)


Per a allargar la nova partició, eliminarem la de 1Tb que hi ha a la imatge que hem clonat, i la farem nova amb les característiques que toquen.

Com que no podem tocar particions que estan en ús (compartides) primer evitarem que el MBL les munti.
  • cd /etc/init.d
  • mv mountDataVolume.sh mountDataVolume.shBAK
  • reboot
Espera 2 minuts que reinicii. Torna a entrar.
  • ssh root@192.168.1.103
Parem els serveis que no han de funcionar sense la pertició de dades:
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Ens assegurem que les particions de dades no estan actives:
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
Ara reparticionem
To enlarge the partition we will delete the 1Tb partition from the image we cloned and will make the new one with the propper options.

Since we can't mess with partitions in use, we need to prevent the MBL from mounting them.

  • cd /etc/init.d
  • mv mountDataVolume.sh mountDataVolume.shBAK
  • reboot
Wait 2 minutes for the MBL to restart and login again
  • ssh root@192.168.1.103
Stop the services that should'n work without the data partition:
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Make sure that the data partitions are not munted:
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
Now we repartition:


3.4.1: Fix the partition table. / Arreglem la taula de partició


Per alguna extranya raó la taula de partició no està del tot bé, reparar-la.
Llavors arreglar la taula perquè vegi que l'espai del disc és de 2Tb i no de 1Tb.
For some strange reason, partition table is corrupt in the image we used. Fix.
Then fix partition table to see the available disk space of 2Tb.

MyBookLive:~#parted
(parted) p
Error: The backup GPT table is corrupt, but the primary appears OK, so that will
be used.
OK/Cancel? ok
Warning: Not all of the space available to /dev/sda appears to be used, you can
fix the GPT to use all of the space (an extra 1953504000 blocks) or continue
with the current setting?
Fix/Ignore? fix

3.4.2: Remove old 1Tb partition. / Esborrar la vella partició de 1Tb.


(parted) p                                                              
Model: ATA WDC WD20EARX-00P (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
 3      15.7MB  528MB   513MB   linux-swap(v1)  primary
 1      528MB   2576MB  2048MB  ext3            primary  raid
 2      2576MB  4624MB  2048MB  ext3            primary  raid
 4      4624MB  1000GB  996GB   ext4            primary

(parted) unit s                                                        
(parted) p                                                              
Model: ATA WDC WD20EARX-00P (scsi)
Disk /dev/sda: 3907029168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start     End          Size         File system     Name     Flags
 3      30720s    1032191s     1001472s     linux-swap(v1)  primary
 1      1032192s  5031935s     3999744s     ext3            primary  raid
 2      5031936s  9031679s     3999744s     ext3            primary  raid
 4      9031680s  1953523711s  1944492032s  ext4            primary

(parted) rm 4                                                          
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda
(Device or resource busy).  As a result, it may not reflect all of your changes
until after reboot.


3.4.3: Create the 2Tb partition. / Crea la partició de 2Tb


(parted)  mkpart primary 9031680s -1

Warning: You requested a partition from 9031680s to 3907029167s.        
The closest location we can manage is 9031680s to 3907029134s.
Is this still acceptable to you?
Yes/No? yes                                                            
Warning: WARNING: the kernel failed to re-read the partition table on /dev/sda
(Device or resource busy).  As a result, it may not reflect all of your changes
until after reboot.
(parted)            
(parted) p                                                              
Model: ATA WDC WD20EARX-00P (scsi)
Disk /dev/sda: 3907029168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start     End          Size         File system     Name     Flags
 3      30720s    1032191s     1001472s     linux-swap(v1)  primary
 1      1032192s  5031935s     3999744s     ext3            primary  raid
 2      5031936s  9031679s     3999744s     ext3            primary  raid
 4      9031680s  3907029134s  3897997455s  ext4            primary

(parted) unit GiB                                                      
(parted) p                                                              
Model: ATA WDC WD20EARX-00P (scsi)
Disk /dev/sda: 1863GiB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start    End      Size     File system     Name     Flags
 3      0.01GiB  0.49GiB  0.48GiB  linux-swap(v1)  primary
 1      0.49GiB  2.40GiB  1.91GiB  ext3            primary  raid
 2      2.40GiB  4.31GiB  1.91GiB  ext3            primary  raid
 4      4.31GiB  1863GiB  1859GiB  ext4            primary

(parted) quit                                                          
Information: You may need to update /etc/fstab.    
                 
MyBookLive:~# reboot

Acabarem reiniciant per assegurar que el Kernel llegeix bé les particions

Tardarà 2 minuts en reiniciar i tornaran a quedar les particions desmuntades.
We restart to let the Kernel read he new partitions.

After 2 minutes the MBL will be up again with the partitions unmounted.



3.4.4: Format the filesystem the propper way / Formateja correctament el filesystem.



Llegint els scripts interns d'inicialització, (/usr/local/sbin/factoryRestore.sh) podem veure que els formateja amb un BlockSize de 65535.
  • ssh root@192.168.1.103
Parem els serveis que no han de funcionar sense la pertició de dades:
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Ens assegurem que les particions de dades no estan actives:
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
Ara formategem:

  • mkfs.ext4 -b 65536 -m 0 /dev/sda4
Reading the internal factory initialization scripts (/usr/local/sbin/factoryRestore.sh) we can see that the filesystem needs to be format using a BlockSize of 65535.
  • ssh root@192.168.1.103


Stop the services that should'n work without the data partition:
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Make sure that the data partitions are not munted:
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
Now we format:
  • mkfs.ext4 -b 65536 -m 0 /dev/sda4



3.4.5: Prepare for FactoryRestore and it will be like new! / Preparem per a FactoryRestore perquè quedi com nou.



Tornem a posar el script perquè munti les particions de dades:


  • cd /etc/init.d
  • mv mountDataVolume.shBAK mountDataVolume.sh


Posem els tokens per a obligar a fer un FactoryRestore utilitzant el script del fabricant.


  • /usr/local/sbin/factoryRestore.sh
  • reboot


En reiniciar començarà el procés de inicialització i quedarà com nou.
Tardarà 35 minuts.

We recover the patition mount script back.


  • cd /etc/init.d
  • mv mountDataVolume.shBAK mountDataVolume.sh


We place the tokens to force a Factory Restore using the manufacturer's script


  • /usr/local/sbin/factoryRestore.sh
  • reboot


After restart it will initialize and in 35 minutes it will be like new.



3.4.6, Update Firmware, Device Test...



Quan hagi acabat ja pots entrar altra vegada a través del navegador, comprovar que el dic és de 2Tb, tornar a habilitar el ssh si vols i pots:

  • Actualitzar el Firmware
  • Fer un test del dispositiu.
Tot funciona.
Once finished, login again through browser, check that your disk is 2Tb, you can enable again SSH if you wish to.
Reccomended:
  • Update firmware
  • Do a device test



You'll see that everything works fine.

Fixing bad sectors / Arreglant sectors defectuosos:



Els MyBook Live es van fent vells i alguns experimenten l'aparició de sectors defectuosos.

Per a detectar-los, aplica:

Procediment per a evitar que es muntin les particions


  • ssh root@192.168.1.103
  • cd /etc/init.d
  • mv mountDataVolume.sh mountDataVolume.shBAK
  • reboot
Parem els serveis que no han de funcionar sense la pertició de dades:
  • ssh root@192.168.1.103
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Ens assegurem que les particions de dades no estan actives:
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
I llavors engeges un test ReadWrite no destructiu per a detectar els sectors defectuosos:
  • fsck -vcck /dev/sda4
Compte que tardarà 40 hores! No tnaquis el ssh.

Per a saber quins blocks estan malament:
  • dumpe2fs -b /dev/sda4
Recupera el muntatge de les particons de dades i reinicia

  • cd /etc/init.d
  • mv mountDataVolume.shBAK mountDataVolume.sh
  • reboot

MyBook Live are getting old and develop bad sectors from time to time.

To check for them do:

Prevent the mounting of data partitions:


  • ssh root@192.168.1.103
  • cd /etc/init.d
  • mv mountDataVolume.sh mountDataVolume.shBAK
  • reboot
Stop the services that need to be down when there is no data partition
  • ssh root@192.168.1.103
  • /etc/init.d/mionet stop
  • /etc/init.d/twonky stop
  • /etc/init.d/itunes stop
Make sure that data partitions are not active
  • umount /CacheVolume
  • umount /nfs
  • umount /shares
  • umount /DataVolume
Start a non-destructive read/Write Test
  • fsck -vcck /dev/sda4
It will last for 40 hours! Don't close ssh.

To know what sectors were marked bad
  • dumpe2fs -b /dev/sda4
Recover the patition mount script back.

  • cd /etc/init.d
  • mv mountDataVolume.shBAK mountDataVolume.sh
  • reboot