View Single Post
Old 08-29-2015, 06:37 AM   #62
newman
homo viator
newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.newman ought to be getting tired of karma fortunes by now.
 
newman's Avatar
 
Posts: 78
Karma: 252594
Join Date: May 2010
Device: Kindle DXi with 3.4.2 firmware, Kobo Glo HD
MOBI8/KF8 support in 3.4 kernel?

Budalb (or anyone else) -

Why do you think KF8 (MOBI8) rendering is dependent on the 2.6.26 kernel (i.e. the kernel from K3's 3.4 FW)?

Three years ago you wrote:

Quote:
Originally Posted by budalb View Post
But I think it was mentioned that Yifan's approach does not update the linux kernel. The Firmware 3.4 requires kernel updates (eink_fb) to have MOBI8 support. And it was mentioned that the reason of not updating the kernel is the kernel used in Kindle 3 does not backward support Kindle 2(including DX and DXG). Is it possible to recompile Kindle 3 kernel with selecting Kindle 2 CPU support?
And similarly here:

Quote:
Originally Posted by budalb View Post
2) The KF8 issue is more complicated. htmlreader is used to process mobi8 files. htmlreader sends requests to a process "webreader". But the "webreader" crashes, probably due to incompatible rink_fb modules. The 3.4 was built on top of different kernel from DXG, so all the kernel module updates are not effective in DXG.

Attached is the crash messages.
I recently upgraded DXi to 3.4.2 for the purpose of enabling of TLS in Experimental Browser. Having now 3.4.x FW I was wondering if KF8/MOBI8 files could be enabled too.

I was wondering why do you think that KF8 support relies on K3's kernel?

I read your web reader crash log and I couldn't find there any reference to kernel...

Also I did a diff of 3.2.1 to 3.4.2 of eInk kernel code (http://pastebin.com/36HBdpfg) and I doubt there's anything related to KF8.

This is what I get when I attempt to open a KF8 book:
Spoiler:
Code:
150828:095707 cvm[3444]: I BookletManager:SwitchingBooklets:from=Home,to=Bookworm:
150828:095707 cvm[3444]: I Reader:BOOK INFO:book asin=unknown,file size=9609280,file last mod date=2015-08-24 16.27.58 +0200,content type=ebook,length=HTMLPosition_ 366299,access=2015-08-24 16.33.46 +0200,last read position=HTMLPosition_ 0,isEncrypted=false,isSample=false,isNew=false,isTTSMetdataPresent=false,isTTSMetadataAllowed=true,fileExtn=mobi:
150828:095707 cvm[3444]: I lipc:gip:prop=userstoreFreeSpace, source=com.lab126.volumd:Get int property
150828:095707 cvm[3444]: E HTMLBook:Error::Failed to get Start Reading Location from Metadata
150828:095707 cvm[3444]: I Reader:Information::Reader.setUpGUIForBook()
150828:095707 cvm[3444]: I SidecarPageNumberProvider:Information::Page number sidecar unavailable
150828:095707 cvm[3444]: E HTMLRenderer:HTML_WEBREADER_RESPONSE_ERR:command=/command/open_uri:Connection refused
150828:095707 cvm[3444]: E HTMLRenderer:HTTP_CONNECTION_FATAL:reason=processCommand_ Failed command:failied to get response
150828:095707 cvm[3444]: E HTMLBookViewer:OPEN BOOK FAILURE:identifier=1918561039,exception=processCommand_ Failed command:
150828:095707 cvm[3444]: I ReaderGUI:SWITCH VIEW:name=com.amazon.ebook.booklet.reader.gui.view.pagecontentview.qb:
150828:095708 cvm[3444]: I lipc:gip:prop=userstoreFreeSpace, source=com.lab126.volumd:Get int property
150828:095708 cvm[3444]: W SystemBarImpl:SPIN:spinCount=0:count <=0 when stopSpinner() called
150828:095708 cvm[3444]: I BookletManager:SwitchingBooklets:from=Bookworm,to=Home:
150828:095708 cvm[3444]: W SystemBarImpl:SPIN:spinCount=0:count <=0 when stopSpinner() called
150828:095708 cvm[3444]: W SystemBarImpl:SPIN:spinCount=0:count <=0 when stopSpinner() called
150828:095708 cvm[3444]: I HTMLBookViewer:Information::HTMLBookViewer closeBook save last read position 0
150828:095709 cvm[3444]: E HTMLRenderer:HTTP_CONNECTION_FATAL:reason=Connection refused:failied to get response
150828:095709 cvm[3444]: E HTMLBookViewer:CLOSE_BOOK_FAILED:message=Connection refused:
150828:095709 cvm[3444]: java.io.IOException: Connection refused
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.htmlreader.impl.m.IeC(whe:336)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.htmlreader.impl.lb.Lo(ume:1705)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.reader.vc.ZYc(aj:4087)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.reader.vc.Jp(aj:4168)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.reader.vc.ryc(aj:711)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.reader.vc.haC(aj:1509)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.reader.vc.stop(aj:1000)
150828:095709 cvm[3444]: 	at com.amazon.ebook.framework.impl.j.uGB(sn:199)
150828:095709 cvm[3444]: 	at com.amazon.ebook.framework.impl.j.jhB(sn:392)
150828:095709 cvm[3444]: 	at com.amazon.ebook.framework.impl.o.iEB(sbd:23)
150828:095709 cvm[3444]: 	at com.amazon.ebook.framework.impl.b.run(sbd:160)
150828:095709 cvm[3444]: 	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:152)
150828:095709 cvm[3444]: 	at java.awt.EventQueue.dispatchEvent(EventQueue.java:371)
150828:095709 cvm[3444]: 	at java.awt.EventQueueProxy.dispatchEvent(EventDispatchThread.java:353)
150828:095709 cvm[3444]: 	at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:164)
150828:095709 cvm[3444]: 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:154)
150828:095709 cvm[3444]: 	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
150828:095709 cvm[3444]: 	at java.awt.EventDispatchThread.run(EventDispatchThread.java:134)
150828:095709 cvm[3444]: 	at java.lang.Thread.startup(Thread.java:1065)
150828:095709 cvm[3444]: 
150828:095709 cvm[3444]: W HTMLRendererMonitor:Warning::WebReader restart needed - restarting now
150828:095709 cvm[3444]: W SystemBarImpl:SPIN:spinCount=0:count <=0 when stopSpinner() called
150828:095709 cvm[3444]: E Reader:Error::
150828:095709 cvm[3444]: com.amazon.ebook.booklet.reader.sdk.BookException: gui.alert.invalid_book
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.htmlreader.impl.lb.pgC(ume:1680)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.htmlreader.impl.hb.run(qs:81)
150828:095709 cvm[3444]: 	at com.amazon.ebook.booklet.htmlreader.impl.fb.run(qs:366)
150828:095709 cvm[3444]: 	at java.lang.Thread.startup(Thread.java:1065)
150828:095709 cvm[3444]: 
150828:095709 cvm[3444]: I AlertImpl:PostingAlert:msg=:Posting an Alert
150828:095709 cvm[3444]: I MainView:Information::The device has WAN module so skip popping up the WiFi dialog.
150828:095709 cvm[3444]: I HTMLJsonSidecarFile:Information::Delayed Write to sidecar file


Thanks!
newman is offline   Reply With Quote