[Q] wifi module problem with faux123 kernel-MB860 - Atrix 4G Q&A, Help & Troubleshooting

I am trying an experiment with my Atrix in which I need to be able to build the kernel and have a working wifi module. I have successfully built the faux123's kernel-MB860 (thanks very much!).
I then downloaded faux123's atrix-wifi-module in order to get wifi working. I have built the module, and pushed it to /system/lib/modules. However, wifi doesn't work. Under settings, it just displays "error". dmesg doesn't show nearly as much as a kernel packaged by faux123. Here is my output:
Code:
<4>[ 24.504982] sdhci_tegra_wlan_detect Detecting WLAN
<4>[ 24.504998] mot_wifi_set_carddetect: Nobody to notify
<4>[ 24.507937]
<4>[ 24.507940] Dongle Host Driver, version 4.218.248.31
<4>[ 24.507944] Compiled in /home/kenny/android/atrix-wifi-module/open-src/src/dhd/linux/../.. on Apr 17 2012 at 06:54:15
<6>[ 24.724025] request_suspend_state: wakeup (3->0) at 13492036210 (2012-04-21 19:25:46.351491984 UTC)
<6>[ 24.725196] lm3532_brightness_set: lcd-backlight, 0x4c(76), webtop=0
<7>[ 25.088713] mmc1: queuing CIS tuple 0x91 length 3
<6>[ 25.088824] mmc1: new SDIO card at address 0001
<6>[ 25.534772] usb_ether_get_stats
Whereas, dmesg from a kernel/module packaged by faux123 displays:
Code:
[ 49.811365] sdhci_tegra_wlan_detect Detecting WLAN
[ 49.811403] mot_wifi_set_carddetect: Nobody to notify
[ 49.812815]
[ 49.812818] Dongle Host Driver, version 4.218.248.31
[ 49.812822] Compiled in /home/paul/Froyo/system/vendor/bcm/wlan/osrc/open-src/src/dhd/linux/../.. on Dec 17 2011 at 19:58:57
[ 50.108317] mmc1: queuing CIS tuple 0x91 length 3
[ 50.108350] mmc1: new SDIO card at address 0001
[ 50.136595] alloc static buf at e9980000!
[ 50.136975] F1 signature read @0x18000000=0x9934329
[ 50.139716] DHD: dongle ram size is set to 294912(orig 294912)
[ 50.143537] wl_iw_attach thr:6d0 started
[ 50.143598] wl_iw_bt_init thr:6d1 started
[ 50.143655] dhd_attach thr:6d2 started
[ 50.143706] dhd_attach thr:6d3 started
[ 50.143749] dhd_attach thr:6d4 started
[ 50.191722] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
[ 50.273753] wifi_get_mac_addr
[ 50.274700] Firmware version = wl0: May 6 2011 13:09:01 version 4.218.248.31
[ 50.442416] eth0: Broadcom Dongle Host Driver mac=40:fc:89:13:a8:83
If I try to do a insmod, I get an invalid argument message.
Code:
# insmod /system/lib/modules/dhd.ko
insmod: init_module '/system/lib/modules/dhd.ko' failed (Invalid argument)
Can someone suggest what I might be missing or doing wrong?

as far as i've researched this problem, it's hardware related. i get the same error (and an accompanying reboot) every time i try to toggle wifi.
http://forum.xda-developers.com/showthread.php?t=1205775
if you have any more success please let me know.

dLo GSR said:
as far as i've researched this problem, it's hardware related.
Click to expand...
Click to collapse
I'm not convinced it is hardware related (other than maybe having the wrong driver), since wifi works great using a true faux123 kernel/module.
I suspect my problem has something to do with how I compiled module or other files that I need to put on the phone.

How did you build it? A little more background might help

Build process ... it works!?!?
First, the good news...the module now works. But I don't understand what I may have done differently this time other than do the builds consecutively.
I retrieved the source:
Code:
$ cd ~/android/faux123-olympus-cm7-kernel
$ git clone https://github.com/faux123/kernel-MB860.git
$ cd ~/android
$ git clone https://github.com/faux123/atrix-wifi-module.git
Then I built:
Code:
$ cd ~/android/faux123-olympus-cm7-kernel/kernel-MB860
$ make ARCH=arm tegra_olympus_cm7_defconfig
$ make ARCH=arm CROSS_COMPILE=/home/kenny/tools/arm-2011.09/bin/arm-none-eabi- -j1
$ cd ../../atrix-wifi-module/open-src/src/dhd/linux/
$ export LINUXSRCDIR=/home/kenny/android/faux123-olympus-cm7-kernel/kernel-MB860
$ make ARCH=arm CROSS_COMPILE=~/tools/arm-2011.09/bin/arm-none-eabi- -j1
$ adb push /home/kenny/android/faux123-olympus-cm7-kernel/kernel-MB860/vendor/bcm/wlan/osrc/open-src/src/dhd/linux/dhd.ko /system/lib/modules/dhd.ko
I had kernel built a few days before I had found the wifi module source. I then tried building the wifi module and pushing the module as shown above.
Since then (over last week or so), I have tried a number of things, including copying files (/etc/firmware/wifi/*) from another phone which has a faux123 kernel. Are these files required? Are there steps in here that I missed?

Related

[WIP] [HELP] Almost have sshfs working!

I'm very close to having a working sshfs setup. I've got:
working fuse.ko module
working version of openssh ssh client
working version of sshfs
I can happily mount remote file systems and use them just fine, but when I try to unmount them, my phone just locks and then reboots. I'd like to try and debug this, but I get no messages in any log that I can see.
So my question is, if I'm getting some kind of kernel panic, where can i see what's actually happening to try and debug this.
Any thoughts on what might be causing this would also be much appreciated.
I'll post full instructions once I get everything working of course.
can you not run "adb shell cat /proc/kmsg" to check for any Kernel Panic's
cat /proc/last_kmsg will get u the details of kernel panic and help u debug
if u want to save it to a file then type
cat /proc/last_kmsg > /sdcard/kmsg.txt
Okay, it's an "Alignment Trap"
Thanks for the info, now I can at least see the fault that's happening. It's an "Alignment trap". I assume this means one of the binaries I've created is messed up somehow. Any ideas on what/how to do about it much appreciated.
Note that this happens if I run 'fusermount -u mountpoint' and also if I run 'umount mountpoint'.
Relevant bits of /proc/last_kmsg:
Code:
[ 4323.039703] Alignment trap: not handling instruction e1903f9f at [<c00cc5dc>]
[ 4323.040069] Unhandled fault: alignment exception (0x011) at 0x00000001
[ 4323.040679] Internal error: : 11 [#1] PREEMPT
[ 4323.041015] last sysfs file: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state
[ 4323.041625] Modules linked in: fuse bcm4329
[ 4323.042877] CPU: 0 Tainted: G W (2.6.34-cyanogenmod #1)
[ 4323.043518] PC is at __destroy_inode+0x7c/0xa0
[ 4323.043853] LR is at __destroy_inode+0x28/0xa0
[ 4323.044494] pc : [<c00cc5e0>] lr : [<c00cc58c>] psr: 20000013
[ 4323.044525] sp : c54b5ee0 ip : 00000010 fp : 00100100
[ 4323.045440] r10: c30358f0 r9 : 00000000 r8 : 00200200
[ 4323.045776] r7 : 00000001 r6 : c54b4000 r5 : 00000000 r4 : c6b41d40
[ 4323.046417] r3 : 00000000 r2 : c54b5ec8 r1 : c54b5ec8 r0 : 00000001
[ 4323.046752] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 4323.047393] Control: 10c5787d Table: 261bc019 DAC: 00000015
[ 4323.048004]
[ 4323.048004] PC: 0xc00cc560:
----snip lots of register dumps-----
[ 4323.264343] Process fusermount (pid: 2455, stack limit = 0xc54b42f0)
[ 4323.264953] Stack: (0xc54b5ee0 to 0xc54b6000)
-----snip fusermount stack dump--
[ 4323.270294] [<c00cc5e0>] (__destroy_inode+0x7c/0xa0) from [<c00cc610>] (destroy_inode+0xc/0x44)
[ 4323.270935] [<c00cc610>] (destroy_inode+0xc/0x44) from [<c00cba80>] (iput+0x64/0x74)
[ 4323.271575] [<c00cba80>] (iput+0x64/0x74) from [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4)
[ 4323.272216] [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4) from [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60)
[ 4323.272888] [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60) from [<c00bab08>] (generic_shutdown_super+0x1c/0x13c)
[ 4323.273559] [<c00bab08>] (generic_shutdown_super+0x1c/0x13c) from [<c00bac64>] (kill_anon_super+0xc/0x78)
[ 4323.274230] [<c00bac64>] (kill_anon_super+0xc/0x78) from [<c00bb0ec>] (deactivate_super+0x68/0x80)
[ 4323.274597] [<c00bb0ec>] (deactivate_super+0x68/0x80) from [<c00d07dc>] (sys_umount+0x2f8/0x328)
[ 4323.275268] [<c00d07dc>] (sys_umount+0x2f8/0x328) from [<c0025f00>] (ret_fast_syscall+0x0/0x30)
[ 4323.275909] Code: 88bd8010 e3500000 08bd8010 e1903f9f (e2433001)
[ 4323.277313] ---[ end trace 1b75b31a2719ed1f ]---
[ 4323.277954] Kernel panic - not syncing: Fatal exception
[ 4323.278381] [<c002a9ac>] (unwind_backtrace+0x0/0xf0) from [<c03141f0>] (panic+0x58/0xd4)
[ 4323.279052] [<c03141f0>] (panic+0x58/0xd4) from [<c00297f8>] (die+0x2b4/0x304)
[ 4323.279693] [<c00297f8>] (die+0x2b4/0x304) from [<c0025314>] (do_DataAbort+0x80/0x94)
[ 4323.280059] [<c0025314>] (do_DataAbort+0x80/0x94) from [<c0025a2c>] (__dabt_svc+0x4c/0x60)
[ 4323.280700] Exception stack(0xc54b5e98 to 0xc54b5ee0)
[ 4323.281311] 5e80: 00000001 c54b5ec8
[ 4323.281768] 5ea0: c54b5ec8 00000000 c6b41d40 00000000 c54b4000 00000001 00200200 00000000
[ 4323.282409] 5ec0: c30358f0 00100100 00000010 c54b5ee0 c00cc58c c00cc5e0 20000013 ffffffff
[ 4323.283081] [<c0025a2c>] (__dabt_svc+0x4c/0x60) from [<c00cc5e0>] (__destroy_inode+0x7c/0xa0)
[ 4323.283447] [<c00cc5e0>] (__destroy_inode+0x7c/0xa0) from [<c00cc610>] (destroy_inode+0xc/0x44)
[ 4323.284118] [<c00cc610>] (destroy_inode+0xc/0x44) from [<c00cba80>] (iput+0x64/0x74)
[ 4323.284759] [<c00cba80>] (iput+0x64/0x74) from [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4)
[ 4323.285430] [<c00c9f84>] (shrink_dcache_for_umount_subtree+0x24c/0x2e4) from [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60)
[ 4323.286102] [<c00ca068>] (shrink_dcache_for_umount+0x4c/0x60) from [<c00bab08>] (generic_shutdown_super+0x1c/0x13c)
[ 4323.286773] [<c00bab08>] (generic_shutdown_super+0x1c/0x13c) from [<c00bac64>] (kill_anon_super+0xc/0x78)
[ 4323.287414] [<c00bac64>] (kill_anon_super+0xc/0x78) from [<c00bb0ec>] (deactivate_super+0x68/0x80)
[ 4323.287780] [<c00bb0ec>] (deactivate_super+0x68/0x80) from [<c00d07dc>] (sys_umount+0x2f8/0x328)
[ 4323.288421] [<c00d07dc>] (sys_umount+0x2f8/0x328) from [<c0025f00>] (ret_fast_syscall+0x0/0x30)
[ 4323.289062] Rebooting in 5 seconds..
[ 4328.263732] Restarting Linux version 2.6.34-cyanogenmod ([email protected]) (gcc version 4.4.0 (GCC) ) #1 PREEMPT Mon Jun 28 20:07:00 EDT 2010
hope this helps, remove spaces (since I am new user not allowed to post external links )
www rt-embedded com / blog / archives / resolving-alignment-traps /
Any news with this? I would be more than happy to have a working sshfs on my phone
Wish You best luck!
ditto, has anyone managed to get sshfs working?
waspbr said:
ditto, has anyone managed to get sshfs working?
Click to expand...
Click to collapse
I run sshfs on my Epic. I compiled the FUSE kernel module (fuse.ko) from the stock Samsung kernel sources and installed the pre-built userland dependencies (sshfs, fuse-utils, openssh-client, etc.) in a Debian chroot. I mount sshfs "volumes" in the chroot using the "allow_other" option, so that any Android uid/gid can access them.
The chroot probably isn't necessary, but I didn't want to bother compiling the userland dependencies myself. This article gives some directions on how to build a Debian chroot. I don't wase time with the unionfs stuff though, I just bind mount /dev, /dev/pts, /proc, & /sys.
thanks, gonna have a go at it once my schedule clears up
any progress? ive been thinking of using something like this on a Galaxy tab, make it a portal to my remote developer machine.
Sorry to bring up a dead thread, but it seems that there is at least a chance at sshfs. Seeing as I have a need or at least a strong desire to get this working, any chance someone figured it out?
Aaaaaaaaand, reviving this Thread again... sorry...
Anyone managed to get SSHfs properly working?
Thanks!

Atrix Webtop USB to Ethernet guide!

Question: How do I get USB to Ethernet to work on webtop? I don't have wifi and AT&T's coverage sucks!​
Answer:
Of course AT&T's coverage sucks! We all know this. At my work I don't have wifi, but I do have a USB port (that is linked to my university, not my work network). AT&T doesn't allow IRC over it's network, and my signal sucks (or doesn't work at all) a lot of the time, so I looked into USB-over-ethernet. Contrary to what moto says, it works. I don't know why they don't try to implement it, since it's pretty easy. You just need a bit of terminal skills.
NOTE: THIS SHOULD WORK ON OTHER MOTO-WEBTOP DEVICES AS WELL SINCE THEY ALL SHARE THE SAME LINUX BASE... SORT OF.
DISCLAIMER: IF THIS SOMEHOW BREAKS YOUR DEVICE, LEG, DOG, OR LIBIDO I AM NOT RESPONSIBLE, ALTHOUGH I'M PRETTY SURE IT WONT UNLESS YOU FUBAR IT.
I had help from Luminary(IRC)/Zxo0oxz and AR_(IRC)/ar31791on this cause I'm kind of a linux noob.
So I purchased a USB-to-Ethernet adapter: http://www.amazon.com/Plugable-Ethe.../B00484IEJS/ref=pd_cp_e_3/180-6608578-4269610 ($15). It has an ASIX AX88772 chipset in it, ASIX chipsets were the first usb-to-ethernet chipsets and they are nearly universally supported , especially on linux.
I am using the lapdock, no idea if this works with usb-otg, but you can try it if you want, but these directions won't work for you.
This guide assumes you have installed webtopmod or webtop2SD! Cause you need terminal access.
Boot to webtop, let it do it's thing. Open up LXTerminal.
Plug in your usb-toethernet device into one of the USB ports. Have it already connected to the router or whatever you are connecting it to via ethernet.
Run 'dmesg'. You should see somewhere recently a new USB device, most likely ASIX chipset. It should have a name with 'eth' in it, mine happened to be usbeth0.
Substitute DEVICENAME with what you just found it's name to be where it says DEVICENAME below.
If you run ifconfig DEVICENAME, it should print out some network related stuff if it finds your device. If it does, great, if not, well you might need to better guess the name, or it might just not be supported.
If you just run ifconfig, you won't see the device cause it is not yet active. eth0 is the atrix's wireless, if you turn wireless off it'll go away (as you can see in dmesg after you turn it off)
[Note: iwconfig doesn't exist on this distro, or it might just not be in PATH, I didn't both to look]
Assuming you found your device, if you do:
sudo ifconfig DEVICENAME up
the device should come up, and should be viewable under the command ifconfig.
Assuming you are using DHCP as a address provider, now run:
sudo dhclient DEVICENAME
and if it 'bounds' to an address, you're good to go! Turn off wifi and you should still be able to connect without AT&T's restrictions. If you make a script, this will run easily on the desktop!
I tried adding this device to webtop's interfaces file, but it ruined XFCE's bottom bar so I have to manually bring it up otherwise it breaks webtop. Also, not sure if this is related, but the wifi menu won't go away anymore either, but I haven't done too much testing.​
So here's an automagic script you can paste if your configuration works the same as mine (it most likely will):
Code:
sudo ifconfig usbeth0 up
sudo dhclient usbeth0
I know it's short, but I'm a noob, and I'm sure many others are noobs too, so I hope this helps.
Your milage may vary, but I hope this helps! If it does, click thanks Also be sure to thank the people who helped me!
Additional google tags:
Webtop USB to Ethernet Droid Bionic Photon Atrix lapdock
Hello,
HERE is an easier way.
Doum
Tried that, if the device isn't plugged in at webtop boot the dock will crash(at least xfce did) . I don't use usb to ethernet all the time.
Trolling from my ATRIX 4G's XDA premium app, still on the gold medal winner of worst customer satisfaction for the second year in a row! Congrats!
It works with the stock webtop as well. You just have to use the terminal app from the phone.
Once you plug in your adapter type netcfg if you have a usbeth0 you're golden, otherwise you probably need a different adapter. I've read where the adapters Apple sells for the MacBook Air work. I know my old ass trendnet 10/100 works, but my Linksys 10/100 doesn't.
Don't have it with me (I leave it at work), but does the phone data connection work if you turn it on airplane mode? I know the phone apps didn't when i turned off my apn, but webtop apps worked. (I didn't turn off cause i want phone calls... doesn't work if in airplane mode though)
Does it work on stock 2.3.4 unrooted
Hi all,
Sorry for digging up an old thread.
As in the title -- does this work on stock a 2.3.4, unrooted, unaltered Atrix?
I have an HD dock with an adapter plugged in. dmesg lists it as AX88x72A. netcfg shows usbeth0 DOWN.
Any pointers?
Thanks
the_ek
Hello, i bought usb ethernet AX88772B chipset.
I have it connected to my HD dock, The icon that appears usb is not defined ... I write in the terminal
$dmesg
shows It ....
[ 159.568498] usb 1-1.3: Product: AX88772B
[ 159.568505] usb 1-1.3: Manufacturer: ASIX Elec. Corp.
[ 159.568512] usb 1-1.3: SerialNumber: 000001
[ 159.569545] usb 1-1.3: configuration #1 chosen from 1 choice
[ 159.654475] usb 1-1.4: new full speed USB device using tegra-ehci and address 5
[ 159.698528] usb 1-1.4: New USB device found, idVendor=046d, idProduct=c52b
[ 159.698541] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 159.698550] usb 1-1.4: Product: USB Receiver
[ 159.698557] usb 1-1.4: Manufacturer: Logitech
[ 159.699546] usb 1-1.4: configuration #1 chosen from 1 choice
[ 159.706079] input: Logitech USB Receiver as /devices/platform/tegra-ehci.0/usb1/1-1/1-1.4/1-1.4:1.0/input/input11
[ 159.711373] generic-usb 0003:046D:C52B.0002: input,hidraw1: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-tegra-ehci.0-1.4/input0
[ 159.724949] input: Logitech USB Receiver as /devices/platform/tegra-ehci.0/usb1/1-1/1-1.4/1-1.4:1.1/input/input12
[ 159.731647] generic-usb 0003:046D:C52B.0003: input,hidraw2: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-tegra-ehci.0-1.4/input1
[ 159.749265] generic-usb 0003:046D:C52B.0004: hidraw3: USB HID v1.11 Device [Logitech USB Receiver] on usb-tegra-ehci.0-1.4/input2
[ 159.835111] cpcap_usb_det cpcap_accy_whisper: ioctl cmd = 0x20000001
[ 160.774804] kxtf9_irq_work_func: status=0x4
[ 160.952127] [ 160.952130] nvmap_open: pid=2424
[ 161.680322] lm3532_webtop_brightness_set: lcd-backlight-webtop, 0x0(0), webtop=0
[ 161.681118] lm3532_webtop_brightness_set: lcd-backlight-webtop, 0x0(0), webtop=0
[ 164.634304] usb 1-1.3: USB disconnect, address 4
[ 164.907459] kxtf9_irq_work_func: status=0x4
[ 168.498157] [ 168.498160] nvmap_open: pid=2492
[ 169.891953] usb_ether_get_stats
[ 171.410448] init: untracked pid 5862 exited
[ 171.412412] init: untracked pid 5866 exited
[ 174.172841] init: untracked pid 5886 exited
[ 175.223813] init: untracked pid 5843 exited
[ 175.332466] [ 175.332469] nvmap_open: pid=5893
[ 175.593724] usb_ether_get_stats[ 175.594964] usb_ether_get_stats
[ 175.774803] init: untracked pid 5904 exited
[ 175.905551] usb_ether_get_stats
[ 175.915405] usb_ether_get_stats
[ 175.930769] usb_ether_get_stats
[ 176.131303] init: untracked pid 5849 exited
[ 176.833385] init: untracked pid 5936 exited
[ 176.966487] init: untracked pid 5932 exited
[ 177.040167] init: untracked pid 5938 exited
[ 177.050725] init: untracked pid 5934 exited
[ 177.116540] init: untracked pid 5941 exited
[ 177.579153] init: untracked pid 5952 exited
[ 177.731212] init: untracked pid 5966 exited
[ 177.906299] [ 177.906302] nvmap_open: pid=5964
[ 178.297521] nvmap_open: pid=5968
[ 178.499540] usb_ether_get_stats
[ 178.508834] init: untracked pid 5975 exited
[ 180.297833] kxtf9_misc_ioctl: SET_DELAY 200
[ 180.384618] kxtf9_misc_ioctl: SET_DELAY 200
[ 180.477737] lm3532_webtop_brightness_set: lcd-backlight-webtop, 0xf(15), webtop=0
[ 182.758270] lm3532_webtop_brightness_set: lcd-backlight-webtop, 0xf(15), webtop=1
[ 186.215847] usb_ether_get_stats
[ 192.261014] CPU0 attaching NULL sched-domain.
[ 192.261038] CPU1 attaching NULL sched-domain.
[ 192.364916] CPU0 attaching NULL sched-domain.
[ 192.365442] CPU1: clean shutdown
[ 204.847261] init: untracked pid 6113 exited
[ 213.561522] [ 213.561525] nvmap_release: pid=3622, org_pid=3622CPU1: Booted secondary processor
[ 214.474831] CPU0 attaching NULL sched-domain.
[ 214.554338] CPU0 attaching sched-domain:
[ 214.554351] domain 0: span 0-1 level CPU
[ 214.554361] groups: 0 1
[ 214.554376] CPU1 attaching sched-domain:
[ 214.554384] domain 0: span 0-1 level CPU
[ 214.554392] groups: 1 0
[ 219.098833] CPU0 attaching NULL sched-domain.
[ 219.098886] CPU1 attaching NULL sched-domain.
[ 219.214408] CPU0 attaching NULL sched-domain.
[ 219.215582] CPU1: clean shutdown
[ 236.235491] lm3532_brightness_set: lcd-backlight, 0x1c(28), webtop=1
[ 733.438025] kxtf9_irq_work_func: status=0x4
[ 733.454909] usb 1-1.3: new high speed USB device using tegra-ehci and address 6
[ 733.508607] usb 1-1.3: New USB device found, idVendor=0b95, idProduct=772b
[ 733.508653] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 733.508692] usb 1-1.3: Product: AX88772B
[ 733.508721] usb 1-1.3: Manufacturer: ASIX Elec. Corp.
[ 733.508751] usb 1-1.3: SerialNumber: 000001
[ 733.513180] usb 1-1.3: configuration #1 chosen from 1 choice
[ 774.880346] usb_ether_get_stats
[ 774.883319] [email protected]:/$
But I can't find anywhere that was eth0 ....
You solve this issue with the usb ethernet?
Might be usb_ether, Im not very good with the linux shell yet so I don't know how to look it up. Mine always showed eth0. Ill look at it more later today and post my dmesg when I get the chance.
Sent from my Motorola Atrix 4G using Tapatalk on AT&T, the company that disappoints me so much that I have to use my tapatalk signature to tell everyone
Apple Macbook Air Ethernet
Has anyone tried to use the Apple Macbook Air Ethernet adapter? I'd love to get that to work.
Mine is an AX88x72A -- not sure if the B in yours makes a difference. Mine is listed as usbeth0 in dmesg and netcfg.
the_ek said:
Mine is an AX88x72A -- not sure if the B in yours makes a difference. Mine is listed as usbeth0 in dmesg and netcfg.
Click to expand...
Click to collapse
I assumed it worked for you, yes?
Sent from my Motorola Atrix 4G using Tapatalk on AT&T, the company that disappoints me so much that I have to use my tapatalk signature to tell everyone
I followed the instructions in
http://forum.xda-developers.com/showthread.php?t=1327165
Webtop seems to work o.k. The phone browser etc. does not automatically recognize it even though netcfg shows that usbeth0 is up and connected.
the_ek said:
Mine is an AX88x72A -- not sure if the B in yours makes a difference. Mine is listed as usbeth0 in dmesg and netcfg.
Click to expand...
Click to collapse
Hi, I tried to enter usb_ether ... Nothing helps. As far as I can see there is no difference between AX88x72A and B.
Maybe it's because of the fact that I connect to the HDDock?
Sorry for not being much help. My set-up is the same (apart from the adapter) --> Atrix in HD-Dock, USB to Ethernet Adapter in USB slot, and RJ45 from there. When I first plugged the adapter into the dock and then put the Atrix in the dock, the leds in the Adapter lit up, netcfg / dmesg showed that I had connected a new device (Asix ...), but that usbeth0 was down. After following the instructions I linked in post 12 above, netcfg showed that usbeth0 was up and had an IP address. Webtop, phone browser, market seem to be working o.k. (phone browser did not work at first, but did after a while).
the_ek said:
Sorry for not being much help. My set-up is the same (apart from the adapter) --> Atrix in HD-Dock, USB to Ethernet Adapter in USB slot, and RJ45 from there. When I first plugged the adapter into the dock and then put the Atrix in the dock, the leds in the Adapter lit up, netcfg / dmesg showed that I had connected a new device (Asix ...), but that usbeth0 was down. After following the instructions I linked in post 12 above, netcfg showed that usbeth0 was up and had an IP address. Webtop, phone browser, market seem to be working o.k. (phone browser did not work at first, but did after a while).
Click to expand...
Click to collapse
Hi,
what's your adapter ? ASIX AX88772 A or B ????????
As stated in posts 6, 10, 11, and the one you quoted yourself in post 13 --> it is an ASIX AX88x72 A
the_ek said:
As stated in posts 6, 10, 11, and the one you quoted yourself in post 13 --> it is an ASIX AX88x72 A
Click to expand...
Click to collapse
Hi,
I will buy third...and i will be collector
@praded2007
Did you get it to work?
Testing out CM7. Not sure if I like it over stock. Miss webtop and real fingerprint scannner...
Sent from my Motorola Atrix 4G using Tapatalk on AT&T, the company that disappoints me so much that I have to use my tapatalk signature to tell everyone
Just in case anyone is interested. The usb ethernet adapter also works via otg cable and hub.

Stock startup

Hi all
I know this will sound old school but, does anyone know how to get the startup of the sola to show what is actually loading?
Like when you accidentally hit the esc key on your keyboard and the ubuntu boot screen disappears and shows you what is actually happening.
Like I said STOCK STARTUP!
Now mounting system to /system.........
Mounting data to /data..........
Type of thing, similar to MS Windows 98 SE.
I know there must be a way
DEV Device: MB511 (deodexed)
Current System: MT27i
Long Live: V9 Ferrari Rom
code.google.com/p/motorola-flipout-files
I'm also interesting about it. To disable boot logo (bootanimation.zip) and see what's happening behind
Basically nothing, you just get your manufactures logo and thats it. Nothing more nothing less. We probably have to edit a file somewhere
DEV Device: MB511 (deodexed)
Current System: MT27i
Long Live: V9 Ferrari Rom
code.google.com/p/motorola-flipout-files
Ok....... anyone know how to startup in debbugging mode atleast?
DEV Device: MB511 (deodexed)
Current System: MT27i
Long Live: V9 Ferrari Rom
code.google.com/p/motorola-flipout-files
Possiblilty
finally found something that should work except..... you need UART or JTAG access......
Any how thanks Adam Outler!!!!!!!:highfive:
http://forum.xda-developers.com/showpost.php?p=16466682&postcount=5
Edit:
The settings in SBL prompt are
Code:
setenv SWITCH_SEL 6543
setenv PHONE_DEBUG_ON 1
saveenv
Code: Starting kernel at 0x32000000... Uncompressing Linux................................................................................................................................................................................... [ 0.000000] copy: bad source 0 [ 0.000000] mout_audss: bad source 0 [ 0.090142] KERNEL:kernel_sec_get_debug_level_from_boot=0x574f4c44 [ 0.094877] KERNEL:magic_number=0x0 DEBUG LEVEL low!! [ 0.099895] (kernel_sec_set_upload_cause) : upload_cause set 0 [ 5.833835] init: cannot find '/system/etc/install-recovery.sh', disabling 'flash_recovery' sh: can't access tty; job control turned off $ [ 11.433364] init: no such service 'bootanim' [ 24.851663] init: sys_prop: permission denied uid:1000 name:wifi.interface [ 35.227503] init: no such service 'bootanim' [ 38.484304] init: sys_prop: permission denied uid:1000 name:dpm.allowcamera su sh: can't access tty; job control turned off # dmesg|tail [ 47.443068] [email protected] [ 51.363390] mook - wm8994 TTY Off [ 51.666438] eth0: SIOCSIWSCAN : ISCAN [ 51.667822] +++: Set Broadcast ISCAN [ 53.013468] [email protected] [ 54.447852] Send Event ISCAN complete [ 54.448053] eth0 wl_iw_iscan_get_scan buflen_from_user 8192: [ 54.448067] eth0: SIOCGIWSCAN GET broadcast results [ 54.448111] wl_iw_iscan_get_scan return to WE 803 bytes APs=3 [ 84.445803] wl_iw_set_ss_cache_timer_flag called #
This app shows you live dmesg at boot [requires root]. Not exactly what you wanted, but close enough on the geek scale.
https://play.google.com/store/apps/details?id=eu.chainfire.livedmesg.lite
will give it a try. i wish there was a guide on the hijack for the motoboot file.
Edit: thank you! It works like a charm, now to strip it and see how it works. When I get cash I will purchase the full version lol! Chainfire kicks ass! :thumbup:
n2droid said:
This app shows you live dmesg at boot [requires root]. Not exactly what you wanted, but close enough on the geek scale.
https://play.google.com/store/apps/details?id=eu.chainfire.livedmesg.lite
Click to expand...
Click to collapse
I found logcat live wallpaper and loving it!
https://play.google.com/store/apps/details?id=org.jraf.android.logcatlivewallpaperlite
DEV Device: MB511 (deodexed)
Current System: MT27i xICS
Long Live: V9 Ferrari Rom
code.google.com/p/motorola-flipout-files

[Q] Porting Ubuntu Touch - can't find init

Hey guys. I'm trying to port Ubuntu Touch to the Beaglebone Black development board. I've already ported CM 10.1. I compiled the Ubuntu Touch files successfully. If I understand correctly, I put the contents of ubuntu-root on my rootfs partition. When I boot, the rootfs is mounted, but there's a kernel panic because it can't find /init, even though it's there. I've set the permissions to rwx for user/group/others as a test. Also, I noticed init is not a binary but a readable script (not sure if this makes a difference). Any thoughts? Thanks in advance.
Below is a snippet of the serial debug output:
Code:
[ 2.614647] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 2.624626] Detected MACID = 90:59:af:54:8e:7f
[ 2.629256] cpsw 4a100000.ethernet: NAPI disabled
[ 2.636569] input: gpio_keys.13 as /devices/ocp.3/gpio_keys.13/input/input2
[ 2.644458] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
[ 2.658486] ALSA device list:
[ 2.661650] No soundcards found.
[ 2.729476] usb 1-1: reset high-speed USB device number 2 using musb-hdrc
[ 2.893267] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.901818] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.908978] devtmpfs: error mounting -2
[ 2.913274] Freeing init memory: 236K
[ 2.919370] Failed to execute /init. Attempting defaults...
[ 2.927598] Kernel panic - not syncing: No init found. Try passing init= option to kernel. See Linux Documentation/init.txt for guidance.
[ 2.940635] [<c001041d>] (unwind_backtrace+0x1/0x8c) from [<c0498049>] (panic+0x55/0x14c)
[ 2.949181] [<c0498049>] (panic+0x55/0x14c) from [<c04949b3>] (kernel_init+0x67/0x90)
[ 2.957364] [<c04949b3>] (kernel_init+0x67/0x90) from [<c000c17d>] (ret_from_fork+0x11/0x34)
[ 2.966176] drm_kms_helper: panic occurred, switching back to text console
Have you asked the great folks over on IRC (#ubuntu-touch)? They might be able to help you.
It's suggested in the porting guide... https://wiki.ubuntu.com/Touch/Porting

Compiled 3.0.8 kernel, no rootfs.

Hello,
now I want to start developing ROMS and kernels for my tablet (Intenso Tab814). It took me alot of time to get my first kernel compiled for the device. This kernel sourced are provided by Intenso: http://www.intenso.de/downloads.php?kategorie=33&produkt=1322562274
I took a compiler from: https://releases.linaro.org/archive/ it's under toolchain and called android.
So know I can luckily start my kernel until to this point:
Code:
[ [email protected]] Warning: unable to open an initial console.
[ [email protected]] VFS: Cannot open root device "(null)" or unknown-block(0,0)
[ [email protected]] Please append a correct "root=" boot option; here are the available partitions:
[ [email protected]] fd00 31636480 cardblksd driver: cardblk
[ [email protected]] fd01 3855600 cardblksd1 00000000-0000-0000-0000-000000000cardblksd1
[ [email protected]] ** enable watchdog
[ [email protected]] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ [email protected]] [<c0158bfc>] (unwind_backtrace+0x0/0xf8) from [<c0669f30>] (panic+0x70/0x194)
[ [email protected]] [<c0669f30>] (panic+0x70/0x194) from [<c0008d70>] (mount_block_root+0x20c/0x2b0)
[ [email protected]] [<c0008d70>] (mount_block_root+0x20c/0x2b0) from [<c0008fcc>] (prepare_namespace+0x158/0x1a0)
[ [email protected]] [<c0008fcc>] (prepare_namespace+0x158/0x1a0) from [<c0008a50>] (kernel_init+0x130/0x13c)
[ [email protected]] [<c0008a50>] (kernel_init+0x130/0x13c) from [<c01530f0>] (kernel_thread_exit+0x0/0x8)
[ [email protected]] CPU1: stopping
[ [email protected]] [<c0158bfc>] (unwind_backtrace+0x0/0xf8) from [<c014c3e4>] (do_IPI+0x180/0x194)
[ [email protected]] [<c014c3e4>] (do_IPI+0x180/0x194) from [<c0151b8c>] (__irq_svc+0x4c/0xe4)
[ [email protected]] Exception stack(0xdf863f90 to 0xdf863fd8)
[ [email protected]] 3f80: 00000001 00000001 df863fd8 00000000
[ [email protected]] 3fa0: df862000 c08bc9e4 c06709c4 c087c7ec 8000406a 413fc090 00000000 00000000
[ [email protected]] 3fc0: 00000000 df863fd8 c015314c c0153150 60000013 ffffffff
[ [email protected]] [<c0151b8c>] (__irq_svc+0x4c/0xe4) from [<c0153150>] (default_idle+0x24/0x28)
[ [email protected]] [<c0153150>] (default_idle+0x24/0x28) from [<c0153560>] (cpu_idle+0xc0/0xf4)
[ [email protected]] [<c0153560>] (cpu_idle+0xc0/0xf4) from [<80667114>] (0x80667114)
[ [email protected]] m3_nand_reboot_notifier 1023
Now I'm only missing the rootfs for my kernel, please help me with that. I also want to be a developer.
I was also able to break let say the bootloader, I have added a serial connection by solder the GND RX and TX ports with some wires, and connected them via a UART TTL Converter with USB interface to my computer.
I'm running Linux for over 8 years, now I want to start to go ahead and do kernel and not only the application development.
There is only the init process missing, where I can get it from, it must be an EFL executable like you can see in my unpacked kernels from the vendors: https://www.dropbox.com/sh/ykkaguaps2l8vd1/AAAMhdNB-MQ2Bg-xOWPrhC12a/3.0.8?dl=0
But If I uncompress my kernel there is no rootfs, is this rootfs a tmpfs one or a physical one?
I wish anyone of you is willing to help me getting started with development, I know that after the kernel the OS Android is above the whole kernel. So my Android OS will have a self compiled kernel under it's hood.
I also want to customize and get KitKat Android on that tablet in a stable state, where are Android KitKat downloads? I prefer LineageOS or AOKP. I want to stay rooted.
In my existing running kernel I see with the filemanager in the /boot directory is part of the rootfs and there are mali.ko and ump.ko kernel modules for my Mali-400 MP GPU. Must I recompile them from sources everytime, so kernel and the modules do fit toghether?
I'm still not smart enough, but I want to start, I also want to have a home somewhere where I can show my developed ROM's.
Thank you in advance,
AMLOGIC :angel:

Categories

Resources