yashsingh1/xdaforums huggingface dataset:
[Atrix 4G General] mart247:
56025.640265] CPU1: Booted secondary processor
[56025.640345] CPU0 attaching NULL sched-domain.
[56025.709851] CPU0 attaching sched-domain:
[56025.709861] domain 0: span 0-1 level CPU
[56025.709869] groups: 0 1
[56025.709882] CPU1 attaching sched-domain:
[56025.709888] domain 0: span 0-1 level CPU
[56025.709894] groups: 1 0
[56026.025036] 1 675 888 1
[56026.113492] 1 675 888 0
[56027.711326] CPU0 attaching NULL sched-domain.
[56027.711366] CPU1 attaching NULL sched-domain.
[56027.721487] CPU0 attaching NULL sched-domain.
[56027.722300] CPU1: clean shutdown
[56154.585600] kxtf9_irq_work_func: status=0x4
[56155.858805] usb 1-1.6: USB disconnect, address 16
[56156.286702] kxtf9_irq_work_func: status=0x4
[56194.440234] CPU1: Booted secondary processor
[56194.440326] CPU0 attaching NULL sched-domain.
[56194.559899] CPU0 attaching sched-domain:
[56194.559911] domain 0: span 0-1 level CPU
[56194.559918] groups: 0 1
[56194.559933] CPU1 attaching sched-domain:
[56194.559939] domain 0: span 0-1 level CPU
[56194.559945] groups: 1 0
[56205.337566] CPU0 attaching NULL sched-domain.
[56205.337581] CPU1 attaching NULL sched-domain.
[56205.366818] CPU0 attaching NULL sched-domain.
[56205.367191] CPU1: clean shutdown
[56252.568182] kxtf9_irq_work_func: status=0x4
[56253.118131] kxtf9_irq_work_func: status=0x4
[56259.010406] usb 1-1.6: new high speed USB device using tegra-ehci and address 17
[56259.045831] usb 1-1.6: New USB device found, idVendor=0bc2, idProduct=3300
[56259.045878] usb 1-1.6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[56259.045917] usb 1-1.6: Product: Desktop
[56259.045948] usb 1-1.6: Manufacturer: Seagate
[56259.045976] usb 1-1.6: SerialNumber: 2GHJF65E
[56259.052591] usb 1-1.6: configuration #1 chosen from 1 choice
[56259.058839] scsi3 : SCSI emulation for USB Mass Storage devices
[56259.070414] usb-storage: device found at 17
[56259.070444] usb-storage: waiting for device to settle before scanning
[56264.072922] scsi 3:0:0:0: Direct-Access Seagate Desktop 0130 PQ: 0 ANSI: 4
[56264.097066] sd 3:0:0:0: Attached scsi generic sg0 type 0
[56264.099875] sd 3:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[56264.100730] sd 3:0:0:0: [sda] Write Protect is off
[56264.100776] sd 3:0:0:0: [sda] Mode Sense: 2f 08 00 00
[56264.100840] sd 3:0:0:0: [sda] Assuming drive cache: write through
[56264.109023] sd 3:0:0:0: [sda] Assuming drive cache: write through
[56264.109084] sda: sda1
[56264.135742] usb-storage: device scan complete
[56264.152464] sd 3:0:0:0: [sda] Assuming drive cache: write through
[56264.152509] sd 3:0:0:0: [sda] Attached SCSI disk

phone says ¨usb storage device: no file system¨

i have it attached to lapdock, it has own power supply, file system ntfs

will try sdcard later in middle of exams!

thanks crnkoj
[Atrix 4G General] crnkoj:
Sure np.

Are you using faux's kernel, if so, i believe it does support NTFS, if your usb flash drive is in NTFS aswell, than im a tad confused, but just try

# mount -t ntfs /dev/block/sda1 /mnt/hdd/

or whichever mountpoint you wish to mount it to if you dont have /mnt/hdd yet you need to

# mount -o remount,rw /
# cd mnt
# mkdir hdd
than if you want to remount / back to read only
# mount -o remount,ro /

To check if the kernel you are running is supporting NTFS go to your home dir than

# zcat /proc/config.gz > .config
# less .config | grep NTFS
if it says CONFIG_NTFS_FS=y and CONFIG_NTFS_RW=y than ntfs is supported

I just did this on my atrix running latest faux 1ghz kernel and it says it supports ntfs, so that shouldnt be a problem, give it a shot with manual mounting. eventually you can

# emerge -v ntfs3g
and mount with
# ntfs-3g /dev/block/sda1 /mnt/hdd/

in order for that to work the kernel has to support FUSE, which faux's kernel DOES support check for it like you check for ntfs in .config, you will have to make some keyword changes for fuse and ntfs3g and thats it.

edit: i jsut tried all of this on my atrix on a hd dock with a 2.5 hdd that has a ntfs partition on it and the ntfs-3g /dev/block/sda1 /mnt/hdd/ works perfectly
[Atrix 4G General] glocklee:
Cross compile toolchain

Hi guys,

These days I'm busy building an ARM11 box to run mono(for some .Net applications).

I used ScratchBox2 (Here) together with CodeSourcery G++ toolchain, and it works on the dev board. Out of curiosity I copied the mono to my phone and it works too. :-D

So... How about we open up a git repo and establish a "standard atrix cross compile environment"?

btw: I didn't upgrade to 0509, instead, I did a ln from /mnt/gentoo/opt to /opt and put the huge programs there
[Atrix 4G General] crnkoj:
@ Gendol

i dont know how much you are into this arm and gentoo stuff (obviously quite some if you got it to work on the atrix), but still, i wanted to say that there is quite soem stuff being moved around and redone in gcc and glibc for arm, regarding soft and hardfloat, most distros, aswell as gentoo are moving to default hardfloat, so some softfloat issues arise when trying to compile gcc/glibc with softfloat specifics (i already posted the bug report form gentoo a few pages up). So in order for that i would suggest masking newer gcc/glibc and even prevent from reemerging it in gentop for the wider audience. :)
[Atrix 4G General] eurosport360:
I recently upgraded to the new 20120509 version, and I want to install the openoffice libreoffice-3.5.3.2 binary package that gendol included in a link in his guide.

I have not done 'emerge sync' yet.

I am logged into the root account.

I put libreoffice-3.5.3.2.tbz2 in /usr/portage/packages and then try

'emerge -G libreoffice-3.5.3.2.tbz2'

and it says

libreoffice-3.5.3.2 is not a valid package atom

I don't know what I am doing with this binary package stuff...sorry for but none existent linux skills....

How do I go about getting open office? Or in general how to you install these tbz2 packages from here: 'http://kristallsturm.de/GenTop2/packages/' ?

edit: So I learned that you have to decompress it because its like a "zip" file.

After trying 'tar jxvf /usr/portage/packages/libreoffice-3.5.3.2.tbz2'

It failed due to previous errors; every file either had 'No such file or directory' or 'Cannot mkdir: no space left on device'...

My file system seems ok: mmcblk1p2 is 35% (my SD card) and everything else is not at 100%, except for mmcblk0p13 which is 100% (/osh).
[Atrix 4G General] mart247:
@crnkoj

so i followed your code and can access the hdd in terminal as root, but not with file manger, logged in as adas

permission of dir are

dr-x------ 1 root root 8192 May 8 21:58 hdd

i tried

atrix mnt # chmod u+wx hdd
chmod: changing permissions of `hdd': Read-only file system

permissons stayed the same?
[Atrix 4G General] CaelanT:
I have installed Porthole, as I like the GUI friendliness of such package managers. It runs fine, but I have to run from a terminal to give it root access every time, (user is Adas).

What should I do in order to auto-enable root access for Porthole, (or any other program for that matter), when I start it by just selecting the program from a menu or panel?
[Atrix 4G General] crnkoj:
hmm, thats weird, did you create the "hdd" folder in /osh/mnt or just in /mnt ? if you did in /osh/mnt i have no idea why it would not work, if its in /mnt try to unmount the hdd (did you use ntfs-3g to mount?), than:

# mount -o remount,rw /
# cd /mnt
# chmod 777 hdd
# ntfs-3g /dev/block/sda1 /mnt/hdd

and see if it works, if you did it under /osh/mnt/hdd , try the same just swap the first line to "mount -o remount,rw /osh" (which should already be mounted rw anyways) if something changes. I have to admit i didnt try with the file manager, but i believe to remember it worked as adas in terminal (but dont hold my word for it, i wasnt really giving attention if it works as adas, but it should, if it doesnt we need to figure out which permissions need changing), eventually you could try editing your /osh/etc/fstab and put in a new line for that hdd as in

/dev/block/sda1 /mnt/hdd ntfs-3g rw,user 0 0
or /dev/block/sda1 /osh/mnt/hdd ntfs-3g rw,user 0 0

. That might be actually the best option to try it (give attention to the user after rw - i just copied this from my gentoo pc, thats how i mount my ntfs partitions/hdds on the pc), than you can just do mount -a and it mounts it automatically.
[Atrix 4G General] mart247:
hdd is in mnt/

i didnt you use ntfs-3g

using faux kernel 1.3

ntfs-3g coming up as unknown comand

i reformatted sdcard on computer and ran tar

now getting error when try to emerge

Traceback (most recent call last):
File "/usr/lib/python2.7/site.py", line 565, in <module>
main()
File "/usr/lib/python2.7/site.py", line 547, in main
known_paths = addusersitepackages(known_paths)
File "/usr/lib/python2.7/site.py", line 278, in addusersitepackages
user_site = getusersitepackages()
File "/usr/lib/python2.7/site.py", line 253, in getusersitepackages
user_base = getuserbase() # this will also set USER_BASE
File "/usr/lib/python2.7/site.py", line 243, in getuserbase
USER_BASE = get_config_var('userbase')
File "/usr/lib/python2.7/sysconfig.py", line 520, in get_config_var
return get_config_vars().get(name)
File "/usr/lib/python2.7/sysconfig.py", line 419, in get_config_vars
_init_posix(_CONFIG_VARS)
File "/usr/lib/python2.7/sysconfig.py", line 298, in _init_posix
raise IOError(msg)
IOError: invalid Python installation: unable to open /usr/include/python2.7/pyconfig.h (No such file or directory)

should i try and untar it again?
[Atrix 4G General] crnkoj:
it says you are missing /usr/include/python2.7 ... probably you need to reapply the gentop tarball (im not sure how the latest gentop manages all the symlinks), you could go cd /osh/usr/ and check if thers a symlink for include/python there, than fix it with the tarballs. About ntfs-3g you need to "emerge ntfs3g" and if you dont mount the ntfs partition with ntfs-3g it is read-only, always. You need ntfs-3g for full cfunctionality and oyu need to mount with ntfs-3g and not with the mount command.
[Atrix 4G General] eurosport360:
How do you install the tbz2 binary packages in the link provided in the first post?

Do you emerge -sync before you install them?

For example

I put libreoffice-3.5.3.2.tbz2 in /usr/portage/packages and did tar jxvf /location/libreoffice... and it didnt unpack/work.
[Atrix 4G General] CaelanT:
Bump on this. Anyone can give me some insight?

Cheers!
[Atrix 4G General] eurosport360:
Can porthole install local binary packages as well?
[Atrix 4G General] crnkoj:
not entirely sure what porthole is, but i guess if you are using xfce, an educated guess would be to just edit the shortcut you do that it launches the program to "sudo /bin/desired_program" , a quick google didnt bring up anything useful.
[Atrix 4G General] starrwulfe:
GTK+ based GUI for Portage/emerge. I use it on my Gentoo-based media server.

http://porthole.sourceforge.net/

Like the others said, edit your launcher command and add sudo in front of it so the "enter password" dialog will pop up.
[Atrix 4G General] CaelanT:
---------- Post added at 08:52 PM ---------- Previous post was at 08:50 PM ----------

With "sudo /bin/porthole" I get the password dialogue (must have done something wrong first time around), but then after entering password in terminal nothing happens.
[Atrix 4G General] USSRxAZ:
Any chance of using more space at preinstall partition? Its about free 1

50 mb usually.
[Atrix 4G General] crnkoj:
ah, ok, cant say i like gui based package managers for gentoo :) (maybe for ubuntu ^ ^ ), if ind it just being clutter =/

@caelant

Anyhow thats weird that sudo wouldnt work

@ussrxaz

all is possible, you just have to make the right symlinks/mountpoints, for instance i have the whole /osh/usr directory mounted to a separate ~6GB partition on my external sdcard :D , so i dont even need to use /data , /preinstall and /osh has like 500MB free still :)

@ evreyone

did anyone manage to get lxde onto it? it seems even if i emerge --sync with ACCEPT_KEYWORDS="arm ~arm" i cant get it to even sync it, while on my panda (running omap4460, basically same dualcore a9) with gentoo i can freely install lxde and its under /usr/portage/lxde-base . whilst here its not O_o
[Atrix 4G General] starrwulfe:
OOPS! forgot to tell you, the user adas isn't allowed to do sudo by default (another good thing about gentoo and vanilla linux; it's locked down by default.)

It's easy to add though.

1. Just start the terminal and do this:

$ su
Password: {type it in}
#visudo

2. Using the up/down arrows, navigate to the bottom of the sudoers file that is now displayed in the terminal

Just under the line that looks like the following:

root ALL=(ALL) ALL

3. Add the following (replacing user with your actual username):

user ALL=(ALL) ALL

4. Now press Ctrl+X and press Y when promted to save

That's it, adas now can do sudo, which means what I told you in the other post should work now-- but remember to also edit the launcher item to open in a terminal-- that way you can type in your password there. It should continue afterwards and open up on the desktop normally...
[Atrix 4G General] USSRxAZ:
post some short instructions plx ..

gentop wastes much time tbh, dont have much until weekend :(
[Atrix 4G General] glocklee:
@CaelanT

Maybe you need gksu, a graphical sudo.
[Atrix 4G General] CaelanT:
I have done the above, but again the terminal closes after entering the password. I found that if I change the launcher command to "sudo /usr/bin/porthole" that after entering the password the startup script runs in terminal for porthole as it should, but then terminal disappears at the end of it and of course porthole does not start. If I remove "sudo" from the launcher command leaving "/usr/bin/porthole" then porthole starts up fine but without root privileges.

---------- Post added at 08:10 AM ---------- Previous post was at 08:06 AM ----------

Thanks to everyone for helping out with the problems some of us are facing!

---------- Post added at 08:44 AM ---------- Previous post was at 08:10 AM ----------

This fixed my problem. Installed gksu, set command as "gksu porthole" and everything is good now. Starts up and runs as root by selecting icon and without having to input a password.
[Atrix 4G General] veno77:
hello,

When I try to start claws-mail, I get the following error:

claws-mail: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
[Atrix 4G General] CaelanT:
Something has broken with my mobile view. It flashes on screen whenever I start it, then disappears. If anyone has any ideas, feel free to enlighten me on what I have broken.
[Atrix 4G General] crnkoj:
Run revdep-rebuild
[Atrix 4G General] crnkoj:
No idea, for me it never worked... Heh, I just click on it and nothing happens.
[Atrix 4G General] integy:
Hello everyone.

I am a noob here anld just installed Gentop2 and the portage into my Atrix. I have successfully install my video playback (totem + ffmpeg).

However I have a question here. When i using the mobile view and wanna use the mobile view to open a android app to play video. the mobile view becomes a black screen however i can hear the sound of the video.

It is not hang as the function can still be used but just cannot view the video in mobile view. Anyone has this problem? and anyone has tried to fix this?
[Atrix 4G General] CaelanT:
After installing Gentop2 you need to "emerge -G1 orbit" for the mobile view to work. There are 2 places which you can select it from in the applications menu. You have to select it from the "Other" category as it does not start if you click on it in the other menu category (at work and forget which one it is).
[Atrix 4G General] veno77:
Thanks crnkoj!
[Atrix 4G General] crnkoj:
hmm, thanks ill try, but i dont run gendols latest version, but the one before (without the binhost), not sure it will work, ill try it and report back. ye i just got no ebuild to satisfy orbit.

Gendol can you input something into this please? thanks

edit again: is that the gnome-base/orbit package? if so i can normally reemerge it, or is the version you had as binhosted special?

Another edit: just writing this from mobile view :D
[Atrix 4G General] crnkoj:
@ Gendol, hey man im still amazed by how great this works, i was wondering if you had any idea how to get a working gentop to work on cm7 (cm9 would be pointless right now since there is no hw drivers for tegra...), or if you wanted to try to port it, if so i could help you some.
[Atrix 4G General] Filipeknot:
I'm geting some errors when use this command:

emerge --search vlc
[Atrix 4G General] CaelanT:
On a steep learning curve right now, so bear with me.........

When I 'emerge --sync' I get 'rsync: write failed' errors with 'no space left on device (28)' errors across the board.

If I # df then /mnt/gentoo shows 100% in use.

Point me in the right direction please?

<edit> Also, the clock in the upper right is displaying the wrong time. How is this changed?

<edit 2> Just noticed my external SDCard is full. Portage is on my FAT32 partition instead of the Ext3 partition I created.
[Atrix 4G General] Alaq:
The learning curve here is really steep...

How do we use the files that we extracted into /mnt/gentoo?

Kinda need help with emerge. I tried to install openoffice:

emerge openoffice-bin

But then it gives me:

The following keyword changes are necessary to proceed:
#required by openoffice-bin (argument)
=app-office/openoffice-bin-3.3.0 **

So can anyone guide us through the steps to compile and install some programs please?

Edit1: Since the programs must be compiled on the phone that means once it is compiled others should be able to get a copy of the compiled file and install it... So if we can get enough people to start compiling "necessary" programs, and uploading them to a server to use... Should be a lot easier that way...
[Atrix 4G General] Lokifish Marz:
I haven't played with it yet but it looks sweet. I do have a couple questions though.

What is sitting in the data/osh location?

Will Factory Reset and ROM installs that require wipe require the you reinstall GenTop2?

Will a full restore undo GenTop? (I know the answer but others may not)

I'll look a porting/duplicating for the Photon for those that are interested.
[Atrix 4G General] CaelanT:
Full restore from nandroid for me before GenTop was 15-20 mins. After GenTop is 55 mins.
[Atrix 4G General] Lokifish Marz:
That's what I figured. With Ubuntop on the Photon it's faster to set things up how you want then dd image, build a custom ROM and flash it than it is to run a full restore.
[Atrix 4G General] crnkoj:
Hmm, the few concerns you guys have,

caelanT you just have to mount the partitions properly, it might be even that your /data/ partition is full

Alaq you should write "app-office/openoffice-bin **" into the file /etc/portage/package.keywords aswell as write "app-office/openoffice-bin" into /etc/portage/package.unmask

actually the -bin packages are already precompiled so you are just installing them, for the others a crosscompile binhost or distcc would be the best idea - emerging stuff constantly on the phone will lead to sdcard and possibly emmc deterioration (like with any other flash media thats being very often overwritten)

about the resolution issues, i have them aswell, something in /etc/X11/xorg.conf has to be edited so taht it allows for bigger resolutions (for some reason its stuck at virtual 1366x768 for me, even after commenting out that line and rebooting the phone... - maybe we could use the "original webtop xorg.conf")
[Atrix 4G General] Lokifish Marz:
There's already somewhat of an issue with webtop in this regard as almost all users changes and caches are written to /data when in webtop. I'd much rather have internal storage fail than /data but you are correct this could lead to issues. RAMdisk with a savestate write on exit would reduce writes but at the cost of available RAM.
[Atrix 4G General] crnkoj:
you do realise /data and internal sdcard are the same flash chip? besides you could always remount the things to an ext3/4 partition on the external sdcard, which you can replace for approx 1$ per GB, most of the things would not really matter that much fi they are on the external sdcard, one should only have executables/system files on the internal for speed improvements and than just emerge -uND world every month or 3 months, unlike on a normal pc/hdd where at least i sometimes do it everyday.
[Atrix 4G General] x86demon:
Bin may be compiled for another processor type (x86 I think) be careful

It would be really nice to have WebTop running with android 4 or other custom kernels. Is it possible?
[Atrix 4G General] crnkoj:
btw, might wanna read this http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1

and this http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3
[Atrix 4G General] Lokifish Marz:
Um.. just a little bit (attempts to repartition of internal storage, Ubuntop and the like).

Moving things to the SDCard would eliminate part of the issues but introduces others. SDCards have a lower number of read/write cycles then the internal chip according to their manufacturers. Saves the phone but still doesn't eliminate the issue which is the accessing of solid state storage.

Approaching it from the same aspect as running WinXP on solid state storage (my carpc is set up this way) greatly reduces the chance of failure. With running in a compressed ramdisk only the savestate and authorized changes are written to storage. After you get what you want installed the only writes is the savestate. Now if we combine the two approaches and have the only savestate stored on the SDCard then this may impact the initial load time but reduce the number of blocks affected by GenTop. Replace the SDCard and start up GenTop and all your committed changes (apps/tweaks) are still there.
[Atrix 4G General] crnkoj:
Hmm, repartitioning the internal sd might break your pds partition. Uhm, a ramdisk would need more than 1GB ram, and for the whole system to work, I think. Regarding the sdcards, they are so cheap you can just buy few than make one and put a backup on a second, and I still prefer burning replaceable cards over the internal flash. The only major issue I see is that of speed... Ah, tradeoffs =/ anyhow back on topic, did anyone get 1080p to work with it?
[Atrix 4G General] Gendol:
Okay, thanks for all the feedback. I decided to put together a quick upgrade, as some of the issues you guys brought up really are relevant and easily fixed.

I made Flash work, updated Xorg.conf and put back some of the Android-launcher links. Nothing big. Therefore I packed a tarball containing only the changed files for you guys. And also a new big tarball.

I also hacked into the virtual touchpad thingy and found out to my surprise that it's not an Android app. It's not part of PortalApp, it's called evbridge and is a program in /usr/local/bin/.

It's startable, but throws an error similar to "Cannot allocate display overlay". Whatever that means. No quick fixes here.

@crnkoj

Thanks, I've put the links into the first post.

@openoffice discussion

I also highly discourage trying to emerge something as complex and HUGE as openoffice. That takes almost an hour on my desktop computer. Well, okay, emerging the system also takes hours.

@discussion on sdcard wear

that's also a reason why I put the /var/tmp/portage build space on an external sdcard.

Actually maybe I would be a nice idea to use an USB device :)

Greetings,

Gendol
[Atrix 4G General] Vazay:
@Gendol

I've been using it for a few days and here is my points to improve

1) Comment MAKEOPTS="-j2" inside make.conf

It slows down the build process but its much more stable without it, got some random reboots with this option.

2) If it's possible make chromium as default browser, I just ran out of space when tried to emerge it

3) aiw to Xfce session start and remove shortcuts from the menu

If you open second or third copy of aiw you just can't close it.

4) mount /usr or the whole system to /dev/block/mmcblk1p2, it's really anoying when you run out of space

X) post your donation link :rolleyes:

Don't get wrong, I very appreciate your work, but I want to see it perfect :D