03-01-2011, 07:20 AM | #31 |
Enthusiast
Posts: 32
Karma: 106
Join Date: Mar 2009
Device: irex DR1000S
|
request for dmesg output
Hi there,
would anyone of the happy DR800 usb networkers be willing to post the dmesg output of inserting the usb_gadget.ko module here? Just put a dmesg -c before the insmod usb_gadget.ko line, and a dmesg -c > /media/mmcblk0p0/dmesgoutput.txt after that line. This way we DR1000 people could check where the DR1000 goes astray, and that might well help us to adapt the patch accordingly. Many thanks! |
03-01-2011, 07:27 AM | #32 |
Enthusiast
Posts: 32
Karma: 106
Join Date: Mar 2009
Device: irex DR1000S
|
new thread for DR1000
Dear all,
I have opened a new thread for getting the usb networking to work on the DR1000 specifically: http://https://www.mobileread.com/forums/showthread.php?p=1422075 |
Advert | |
|
07-18-2011, 09:54 PM | #33 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
|
[EDIT]I found the file in /proc/config.gz[/EDIT]
@GregorRichards I'm trying to build usbnet from source, mainly to figure out how to build kernel modules - I want to build ext2.ko The sources include a diff of the .config kernel configuration file, but where do I find the original .config to patch? I tried using the file er0200_dr800s_defconfig that comes with the kernel sources but couldn't insmod the resulting modules without 'Unknown symbol in module' errors. Thanks! Last edited by jonathan_s; 07-19-2011 at 12:54 AM. Reason: Problem solved |
07-19-2011, 03:57 AM | #34 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
|
|
07-19-2011, 04:02 AM | #35 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
|
|
Advert | |
|
07-19-2011, 04:59 AM | #36 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
|
07-19-2011, 07:21 AM | #37 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
|
Hmmm my first assumption was that I'd accidentally posted the version I first built which didn't work. But I just confirmed that this is the file that works for me on the IREX. I don't have an emulator - it seems you need to download it from debian.o-hand.com which has been down for the last few days. (Maybe you can help me with that.) Meanwhile I don't know what to suggest - the module works fine for me, I've mounted ext2 partitions successfully. Code:
root@dr800s:/media/mmcblk0p1/Programs/_debian# insmod ext2.ko root@dr800s:/media/mmcblk0p1/Programs/_debian# Code:
root@dr800s:/media/mmcblk0p1/Programs/_debian# md5sum ext2.ko ec6395da1d6e7426a252a2d69fd0b4f0 ext2.ko |
07-20-2011, 11:33 AM | #38 |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Ok, I had 2 issues:
- I tried on the emulator... it doesn't work there... maybe because kernel already includes a ext2 module - I stripped the file... it doesn't work on my DR800 But if I try your original file (770 KB) insmod works Btw, the emulator comes with IREX packages, you don't need any debian.o-hand.com stuff. Iņigo |
07-20-2011, 01:23 PM | #39 |
Groupie
Posts: 175
Karma: 863
Join Date: Oct 2009
Location: Germany, Karlsruhe
Device: Iliad v2, DR800S (inlove)
|
- the kernel [version] in the emulator differs to the one on real DR device -> .ko compiled for DR is 95% not expected to work within the emulator
- simple "strip *.ko" somehow removes important information, the file becomes unusable .. if you really want to clean the file you should use "strip --strip-unneeded *.ko" Have learned this during experiments with .ko for DR800 |
07-20-2011, 02:32 PM | #40 | |
Guru
Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
|
|
07-20-2011, 09:38 PM | #41 |
Enthusiast
Posts: 31
Karma: 10
Join Date: Nov 2009
Device: none
|
Ah, OK stripping the kernel modules of unnecessary symbols makes sense.
Can someone help me with another question - how would I go about installing a different kernel rather than just building new modules for the current kernel. More specifically, do I have to reflash the rootfs and all the other things, or can I just reflash the kernel? I tried putting update.dat and zImage renamed to kernel.bin into System/update and the DR800 gave all the appearances of flashing, but when it rebooted it was still running the old kernel. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USB Networking on Mac OS? | DairyKnight | Kindle Developer's Corner | 19 | 07-02-2012 04:19 PM |
DR800 DR800+ development discussion | Iņigo | iRex Developer's Corner | 78 | 12-18-2010 07:38 PM |
Hacks Kindle 3 USB Networking | n10 | Amazon Kindle | 2 | 10-11-2010 09:29 PM |
DR800 Plugin development for DR800/DR1000 | yuri_b | iRex Developer's Corner | 0 | 09-18-2010 09:46 AM |
Firmware Update USB networking for 2.5? | dd_engi | Amazon Kindle | 9 | 05-09-2010 06:45 AM |