Re: [gentoo-user] mounting samsung galaxy S III (android ics)
On Wed, 18 Jul 2012 23:18:36 -0400, Allan Gottlieb wrote: Oh, make sure you config the phone to be connected to a puter. I always forget that with my phone and it makes me scratch my head for a while That is like my previous phone an htc incredible. This one doesn't offer that choice (or at least I can't find it). There is a package you can install to enable USB mass storage, but it's not in the market. Bear in mind though that this can cause problems, because the S3 doesn't expect the memory to suddenly become unavailable, the whole reason for using MTP is that you don't have to unmount the storage and stop any applications that are using it to transfer a few files. However, I've also found all the mtp options in portage to be unreliable, so I run QuickSSHd on the phone and transfer files with scp or mount the phone with sshfs. -- Neil Bothwick Things which must be shipped together as a set, aren't. signature.asc Description: PGP signature
[gentoo-user] Re: 32bit or 64bit
On 18/07/12 00:14, Alecks Gates wrote: On Tue, Jul 17, 2012 at 3:57 PM, Nikos Chantziaras rea...@gmail.com wrote: 64-bit Wine cannot run 32-bit Windows applications. You need a 32-bit Wine for that. And since in 99.9% of Windows software is 32-bit... well, you get the point :-) Sure, but 64-bit wine can run either a win32 or a win64 config, and you have to enable win64 with the win64 USE flag. I believe this makes the win64 config default and you have to set WINEARCH=win32 if you want only 32-bit. Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-)
Re: [gentoo-user] 32bit or 64bit
On Wed, Jul 18, 2012 at 10:34 PM, J. Roeleveld jo...@antarean.org wrote: On Tue, July 17, 2012 8:49 pm, Mark Knecht wrote: SNIPPED == Requested video codec family [wmsdmod] (vfm=dmo) not available. Enable it at compilation. Requested video codec family [wms10dmod] (vfm=dmo) not available. Enable it at compilation. Cannot find codec matching selected -vo and video format 0x3253534D. == I don't have a linux box at hand right now, but the above comments make me think there might be a compile-time option to enable support? -- Joost There is, and it works, but it only works in 32-bit which, following Volker's comments, is the only reason I made the post in the first place. - Mark
Re: [gentoo-user] Re: 32bit or 64bit
On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras rea...@gmail.com wrote: On 18/07/12 00:14, Alecks Gates wrote: On Tue, Jul 17, 2012 at 3:57 PM, Nikos Chantziaras rea...@gmail.com wrote: 64-bit Wine cannot run 32-bit Windows applications. You need a 32-bit Wine for that. And since in 99.9% of Windows software is 32-bit... well, you get the point :-) Sure, but 64-bit wine can run either a win32 or a win64 config, and you have to enable win64 with the win64 USE flag. I believe this makes the win64 config default and you have to set WINEARCH=win32 if you want only 32-bit. Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-) Not really surprising. There's an IsWow64Process() in the Windows API to allow processes to detect the nature of the environment they're running on, since sometimes that's something you need to know. :) -- :wq
[gentoo-user] Re: 32bit or 64bit
On 19/07/12 16:03, Michael Mol wrote: On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras rea...@gmail.com wrote: Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-) Not really surprising. There's an IsWow64Process() in the Windows API to allow processes to detect the nature of the environment they're running on, since sometimes that's something you need to know. :) WOW64 relies on 32-bit libraries to do it's job though. It's well known that 32-bit code cannot link against 64-bit libraries. If building a 64-bit only version of Wine (since you cannot build any 32-bit code on non-multilib Gentoo), the question arises on how Wine is doing it.
Re: [gentoo-user] Re: 32bit or 64bit
On Thu, 19 Jul 2012 16:31:42 +0300 Nikos Chantziaras rea...@gmail.com wrote: On 19/07/12 16:03, Michael Mol wrote: On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras rea...@gmail.com wrote: Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-) Not really surprising. There's an IsWow64Process() in the Windows API to allow processes to detect the nature of the environment they're running on, since sometimes that's something you need to know. :) WOW64 relies on 32-bit libraries to do it's job though. It's well known that 32-bit code cannot link against 64-bit libraries. If building a 64-bit only version of Wine (since you cannot build any 32-bit code on non-multilib Gentoo), the question arises on how Wine is doing it. Stupid question incoming: What's the WOW in WOW64? The more I read it as World of Warcraft the more I see that it doesn't actually fit :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: 32bit or 64bit
Stupid question incoming: What's the WOW in WOW64? The more I read it as World of Warcraft the more I see that it doesn't actually fit :-) WOW = Windows-on-Windows
Re: [gentoo-user] Re: 32bit or 64bit
On Thu, Jul 19, 2012 at 9:43 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thu, 19 Jul 2012 16:31:42 +0300 Nikos Chantziaras rea...@gmail.com wrote: On 19/07/12 16:03, Michael Mol wrote: On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras rea...@gmail.com wrote: Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-) Not really surprising. There's an IsWow64Process() in the Windows API to allow processes to detect the nature of the environment they're running on, since sometimes that's something you need to know. :) WOW64 relies on 32-bit libraries to do it's job though. It's well known that 32-bit code cannot link against 64-bit libraries. If building a 64-bit only version of Wine (since you cannot build any 32-bit code on non-multilib Gentoo), the question arises on how Wine is doing it. Stupid question incoming: What's the WOW in WOW64? The more I read it as World of Warcraft the more I see that it doesn't actually fit :-) WOW64 is Windows On Windows 64-bit. It's how 32-bit Windows applications run on 64-bit Windows. By and large, the way 32-bit and 64-bit applications and libraries can communicate with each other are very limited. 64-bit programs can't load 32-bit libraries, and vice versa. Some environment variables containing path information are switched out depending on if the program is 32-bit or 64-bit. Accesses to some registry paths are shunted to one place or another, depending on if the program is 32-bit or 64-bit. For system libraries, 64-bit windows provides both 32-bit and 64-bit versions of supported libraries, rather like multilib environments on Linux. In essence, if you get 64-bit Windows, you're getting two copies of Windows, a 64-bit version and a 32-bit version, and the kernel shunts 32-bit programs into the 32-bit version while maintaining a reasonably high degree of interoperability; it's not a complete sandbox. 32-bit and 64-bit processes can still communicate with each other. mmap()'d files still work the same way, as the filesystem paths don't change. Named objects such as pipes, events, mutexes...all of those are handled by the kernel, which has mapping code to allow 32-bit and 64-bit processes to independently gain handles on the same named objects. (Subject to security attributes and restrictions, of course.) But, yeah. That's Windows, on Windows 64-bit, or WOW64. (P.S. For the Horde!) -- :wq
[gentoo-user] Re: 32bit or 64bit
On 19/07/12 17:06, Michael Mol wrote: For system libraries, 64-bit windows provides both 32-bit and 64-bit versions of supported libraries, rather like multilib environments on Linux. So how does Wine run 32-bit Windows programs on a non-multilib Gentoo? Doesn't it need 32-bit *.dll.so files?
Re: [gentoo-user] Re: 32bit or 64bit
On Thu, Jul 19, 2012 at 10:14 AM, Nikos Chantziaras rea...@gmail.com wrote: On 19/07/12 17:06, Michael Mol wrote: For system libraries, 64-bit windows provides both 32-bit and 64-bit versions of supported libraries, rather like multilib environments on Linux. So how does Wine run 32-bit Windows programs on a non-multilib Gentoo? Doesn't it need 32-bit *.dll.so files? WINE is an attempt at a bug-for-bug implementation of the Windows API. I really don't know how it operates internally. It's something I've been meaning to get into; I missed out on playing The Old Republic with my wife. -- :wq
Re: [gentoo-user] 32bit or 64bit
Am Donnerstag, 19. Juli 2012, 05:57:51 schrieb Mark Knecht: On Wed, Jul 18, 2012 at 10:34 PM, J. Roeleveld jo...@antarean.org wrote: On Tue, July 17, 2012 8:49 pm, Mark Knecht wrote: SNIPPED = = Requested video codec family [wmsdmod] (vfm=dmo) not available. Enable it at compilation. Requested video codec family [wms10dmod] (vfm=dmo) not available. Enable it at compilation. Cannot find codec matching selected -vo and video format 0x3253534D. = = I don't have a linux box at hand right now, but the above comments make me think there might be a compile-time option to enable support? -- Joost There is, and it works, but it only works in 32-bit which, following Volker's comments, is the only reason I made the post in the first place. - Mark and I have never stumbled on such a file in all those years - and I have a lot of wmv files on my hard disks. Hm. -- #163933
[gentoo-user] VFAT problem
Hi, I have a Garmin GPS with a 32GB SD card. If I attach my device to the USB port, a directory listing looks totally scrambled. A listing of the smaller (2GB) 'internal' storage device is just fine. And I am sure the listing of the bigger SD card has been fine earlier when less storage was used. The funny thing, looking at the same SD card from Windows7 (running in VirtualBox) gives a perfect listing (about 28 GB are used). What am I missing? Many thanks for a hint, Helmut.
Re: [gentoo-user] mounting samsung galaxy S III (android ics)
On Thu, Jul 19 2012, Neil Bothwick wrote: However, I've also found all the mtp options in portage to be unreliable, so I run QuickSSHd on the phone and transfer files with scp or mount the phone with sshfs. First let me thank everyone for all the great suggestions. I will be trying them out. I started with quicksshd since (I like to believe) I understand ssh. I have moved a picture and some songs from my laptop to the appropriate directories on the phone. Currently after I do the sftp using the gnome file manager (I will try straight scp soon), the picture and songs didn't appear until I reboot the phone. Is there a better way? thanks again to all. allan
Re: [gentoo-user] VFAT problem
On Thu, Jul 19, 2012 at 11:45 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, I have a Garmin GPS with a 32GB SD card. If I attach my device to the USB port, a directory listing looks totally scrambled. A listing of the smaller (2GB) 'internal' storage device is just fine. And I am sure the listing of the bigger SD card has been fine earlier when less storage was used. The funny thing, looking at the same SD card from Windows7 (running in VirtualBox) gives a perfect listing (about 28 GB are used). What am I missing? Many thanks for a hint, Helmut. My first guess is FAT corruption (maybe windows reads second copy of FAT?). Maybe try to do chkdsk from windows, or make a backup first from there anyway. :) My second guess is character encoding differences, but usually it would not be so extreme. I mount vfat with options codepage=437,iocharset=utf8 and it seems to usually give me proper results for international filenames (although mount warns me every time that this is unwise).
Re: [gentoo-user] Gentoo Installation, Kernel Panic
2012/7/19 Andrejs Igumenovs andrejs.igumen...@gmail.com Hi, After going over the installation instructions and performing the standard operations (genkernel etc.), the Kernel halts during the boot. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1 I'm attaching the screenshot of what happens… I'm not the Linux expert, so don't know how to fix. - Andrejs Hi, looks like the kernel can't find your root partition. (VFS: Cannot open root device sda3 or unknowen block(0,0)). Please make sure that you configured your grub correctly (which version do you use?). On grub legacy (0.9) edit the file /boot/grub/menu.lst and add the root=your root partiton parameter it should look like this title Gentoo root (hd0,1) kernel /boot/kernel* root=/dev/sda2 When you need further help, please post your partitioning and grub menu entry, grub device names can be verry confusing for beginners. The more complex idea in my mind is that your kernel is missing some device drivers for the ide/sata controler. This should not happen, because you used genkernel. Randolph
Re: [gentoo-user] Gentoo Installation, Kernel Panic
On 2012-07-19 21:32, Randolph Maaßen wrote: 2012/7/19 Andrejs Igumenovs andrejs.igumen...@gmail.com [2] Hi, After going over the installation instructions and performing the standard operations (genkernel etc.), the Kernel halts during the boot. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1 [1] Im attaching the screenshot of what happens… Im not the Linux expert, so dont know how to fix. - Andrejs Hi, looks like the kernel cant find your root partition. (VFS: Cannot open root device sda3 or unknowen block(0,0)). Please make sure that you configured your grub correctly (which version do you use?). On grub legacy (0.9) edit the file /boot/grub/menu.lst and add the root=your root partiton parameter it should look like this title Gentoo root (hd0,1) kernel /boot/kernel* root=/dev/sda2 When you need further help, please post your partitioning and grub menu entry, grub device names can be verry confusing for beginners. The more complex idea in my mind is that your kernel is missing some device drivers for the ide/sata controler. This should not happen, because you used genkernel. Randolph Links: -- [1] http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1 [2] mailto:andrejs.igumen...@gmail.com Make sure the filesystem support is correct. What fs do you use - did you enable it in the kernel config ? regards Oli
Re: [gentoo-user] VFAT problem
On Thu, Jul 19, 2012 at 9:45 AM, Helmut Jarausch jarau...@igpm.rwth-aachen.de wrote: Hi, I have a Garmin GPS with a 32GB SD card. If I attach my device to the USB port, a directory listing looks totally scrambled. A listing of the smaller (2GB) 'internal' storage device is just fine. And I am sure the listing of the bigger SD card has been fine earlier when less storage was used. The funny thing, looking at the same SD card from Windows7 (running in VirtualBox) gives a perfect listing (about 28 GB are used). What am I missing? Many thanks for a hint, Helmut. Hi Helmut, Sorry for the problems. No real good ideas here, but assuming the Win 7 VM is on the same Gentoo machine then it appears to be something missing from Gentoo. I'd start by using the Win 7 disk tools: Control Panel - System Security - Create format hard disk partitions and look to see what Win 7 believes it's talking to. Also, make sure if you have the VM running that it isn't automatically mounting the Garmin which would make the SD unavailable to Linux. Handle that in the Virtualbox-Device menu. Best of luck. Sounds like an interesting problem, if that's possible. Cheers, Mark
Re: [gentoo-user] Gentoo Installation, Kernel Panic
On Thu, 19 Jul 2012 22:09:31 +0300 Andrejs Igumenovs andrejs.igumen...@gmail.com wrote: Hi, After going over the installation instructions and performing the standard operations (genkernel etc.), the Kernel halts during the boot. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1 I'm attaching the screenshot of what happens… I'm not the Linux expert, so don't know how to fix. The main error is cannot open root device sda3 sda3 is the 3rd partition of the first hard disk (on a Windows machine it would probably be E:\) Two things will cause that error: The first disk doesn't have a third partition on it. Please describe how your disks are laid out and where you unpacked the gentoo tarball too. You can get this info by booting off a Live CD just like the first part of the install and running fdisk -l as root in a terminal. Paste the entire output in a mail reply and we'll take a look for you. The second cause is your kernel doesn't have drivers for your motherboard's chipset. These cannot be kernel modules, they must be compiled in (unless you are building an initrd - but that's complicated so I don't think you'll be going that route on the first try). Just like the in first cause you can get good info from running lspci plus the entire content of one file - the kernel config. It's hard to describe where it will be, but if you follow along in the install guide, you boot off a LiveCD, chroot into the gentoo install at /mnt/gentoo, then inside there you will find a directory /usr/src/linux - you went there the first time to configure the kernel. In that directory is a file called .config. We need that entire file to see if you configured the kernel with the minimum requirements. Also mention what filesystem you chose for the root partition: ext3, ext4, reiser or maybe something else (but it's probably ext4) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: 32bit or 64bit
On Thu, 19 Jul 2012 10:06:18 -0400 Michael Mol mike...@gmail.com wrote: On Thu, Jul 19, 2012 at 9:43 AM, Alan McKinnon alan.mckin...@gmail.com wrote: On Thu, 19 Jul 2012 16:31:42 +0300 Nikos Chantziaras rea...@gmail.com wrote: On 19/07/12 16:03, Michael Mol wrote: On Thu, Jul 19, 2012 at 8:55 AM, Nikos Chantziaras rea...@gmail.com wrote: Interesting that Wine aims to do the WOW64 thing. That's certainly news to me :-) Not really surprising. There's an IsWow64Process() in the Windows API to allow processes to detect the nature of the environment they're running on, since sometimes that's something you need to know. :) WOW64 relies on 32-bit libraries to do it's job though. It's well known that 32-bit code cannot link against 64-bit libraries. If building a 64-bit only version of Wine (since you cannot build any 32-bit code on non-multilib Gentoo), the question arises on how Wine is doing it. Stupid question incoming: What's the WOW in WOW64? The more I read it as World of Warcraft the more I see that it doesn't actually fit :-) WOW64 is Windows On Windows 64-bit. It's how 32-bit Windows applications run on 64-bit Windows. By and large, the way 32-bit and 64-bit applications and libraries can communicate with each other are very limited. 64-bit programs can't load 32-bit libraries, and vice versa. Some environment variables containing path information are switched out depending on if the program is 32-bit or 64-bit. Accesses to some registry paths are shunted to one place or another, depending on if the program is 32-bit or 64-bit. For system libraries, 64-bit windows provides both 32-bit and 64-bit versions of supported libraries, rather like multilib environments on Linux. In essence, if you get 64-bit Windows, you're getting two copies of Windows, a 64-bit version and a 32-bit version, and the kernel shunts 32-bit programs into the 32-bit version while maintaining a reasonably high degree of interoperability; it's not a complete sandbox. 32-bit and 64-bit processes can still communicate with each other. mmap()'d files still work the same way, as the filesystem paths don't change. Named objects such as pipes, events, mutexes...all of those are handled by the kernel, which has mapping code to allow 32-bit and 64-bit processes to independently gain handles on the same named objects. (Subject to security attributes and restrictions, of course.) But, yeah. That's Windows, on Windows 64-bit, or WOW64. thanks, that makes sense (P.S. For the Horde!) :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] mounting samsung galaxy S III (android ics)
On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote: I have moved a picture and some songs from my laptop to the appropriate directories on the phone. Currently after I do the sftp using the gnome file manager (I will try straight scp soon), the picture and songs didn't appear until I reboot the phone. Is there a better way? You need to force a rescan of the media. I'm sure I've seen an option for this somewhere, but can't find it right now. -- Neil Bothwick Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe. (Albert Einstein) signature.asc Description: PGP signature
Re: [gentoo-user] Gentoo Installation, Kernel Panic
On Thu, 19 Jul 2012 22:09:31 +0300, Andrejs Igumenovs wrote: I'm attaching the screenshot of what happens… Why have you zipped a JPEG file? It makes it far more work for anyone to view. You probably haven't compiled the driver for your disk controller into the kernel (not ass a module). -- Neil Bothwick Who messed with my anti-paranoia shot? signature.asc Description: PGP signature
Re: [gentoo-user] mounting samsung galaxy S III (android ics)
On Jul 20, 2012 4:50 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote: I have moved a picture and some songs from my laptop to the appropriate directories on the phone. Currently after I do the sftp using the gnome file manager (I will try straight scp soon), the picture and songs didn't appear until I reboot the phone. Is there a better way? You need to force a rescan of the media. I'm sure I've seen an option for this somewhere, but can't find it right now. If you install Widgetsoid, one of its myriad of buttons is a button that conveniently triggers the Media Scanner. Rgds,
Re: [gentoo-user] mounting samsung galaxy S III (android ics)
On Thu, Jul 19 2012, Pandu Poluan wrote: On Jul 20, 2012 4:50 AM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 19 Jul 2012 14:12:38 -0400, Allan Gottlieb wrote: I have moved a picture and some songs from my laptop to the appropriate directories on the phone. Currently after I do the sftp using the gnome file manager (I will try straight scp soon), the picture and songs didn't appear until I reboot the phone. Is there a better way? You need to force a rescan of the media. I'm sure I've seen an option for this somewhere, but can't find it right now. If you install Widgetsoid, one of its myriad of buttons is a button that conveniently triggers the Media Scanner. Thank you. allan
[gentoo-user] eix output and libpng
Hi, Blender wants libpng-1.2 and libpng-1.5 seems to be more recent. I forced the installation of version 1.2.49 for test purposes. If I do a eix libpng I get (beside other things): [I] media-libs/libpng Available versions: (1.2) 1.2.49 ~1.2.50 (0) 1.5.10 ~1.5.11 ~1.5.12 {apng neon static-libs} Installed versions: 1.2.49(1.2)(04:53:36 07/20/12) 1.5.10(01:18:39 04/09/12)(apng -neon -static-libs) Homepage:http://www.libpng.org/ Description: Portable Network Graphics library What is the meaning of (1.2) 1.2.49 ~1.2.50 (0) 1.5.10 ~1.5.11 ~1.5.12 in the above output (specifically the '(1.2)' and (0)')? Thank you very much in advance for any help! Best regards, mcc
Re: [gentoo-user] eix output and libpng
120720 meino.cra...@gmx.de wrote: If I do a 'eix libpng ' I get: [I] media-libs/libpng Available versions: (1.2) 1.2.49 ~1.2.50 (0) 1.5.10 ~1.5.11 ~1.5.12 {apng neon static-libs} Installed versions: 1.2.49(1.2)(04:53:36 07/20/12) 1.5.10(01:18:39 04/09/12)(apng -neon -static-libs) What is the meaning of '(1.2)' and '(0)' in (1.2) 1.2.49 ~1.2.50 (0) 1.5.10 ~1.5.11 ~1.5.12 They're slots, so you can install eg 1.2.49 1.5.10 simultaneously. To install the former do 'emerge libpng:1.2', for the latter 'emerge libpng:0'. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca