Re: [gentoo-user] Atheros WLAN loosing link

2010-06-27 Thread Mick
On Sunday 27 June 2010 06:55:31 Nagatoro wrote:
> On Saturday 26 June 2010 14.35.28 Mick wrote:
> > On Friday 25 June 2010 18:52:18 Enrico Weigelt wrote:
> > > Hi folks,
> > > 
> > > 
> > > my Atheros wlan (builtin, internal intenna) is regularily
> > > loosing link. Reproducible in various different networks.
> > > At home, my wlan ap is about 2 meter away (within the room),
> > > so link quality (currently 53) shouldnt be the problem.
> > > 
> > > Does anyone know what could cause the problem ?
> > > 
> > > # cat /proc/version
> > > 
> > > Linux version 2.6.31-gentoo-r10 (r...@excalibur.local) \
> > > (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) )  \
> > > #1 SMP Wed Jun 2 00:51:13 CEST 2010
> > > 
> > > # lspci -v
> > > ...
> > > 
> > > 02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless
> > > Network Adapter (PCI-Express) (rev 01) Subsystem: Askey Computer Corp.
> > > Device 7167
> > > 
> > > Flags: bus master, fast devsel, latency 0, IRQ 16
> > > Memory at f600 (64-bit, non-prefetchable) [size=64K]
> > > Capabilities: [40] Power Management version 3
> > > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
> > > Capabilities: [60] Express Legacy Endpoint, MSI 00
> > > Capabilities: [100] Advanced Error Reporting
> > > Capabilities: [140] Virtual Channel 
> > > Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
> > > Capabilities: [170] Power Budgeting 
> > > Kernel driver in use: ath9k
> > > Kernel modules: ath9k
> > > 
> > > ...
> > > 
> > > 
> > > Jun 25 19:36:51 excalibur kernel: wlan0: no probe response from AP
> > > 00:23:08:86:d6:8f - disassociating Jun 25 19:36:51 excalibur
> > > dhcpcd[10182]: wlan0: carrier lost
> > 
> > I have seen the same problem with my internal broadcom card and of course
> > a different driver.  If you check google there seem to be pages and
> > pages of users reporting such a problem on different distros and with
> > different makes of wireless cards.
> > 
> > The jury's out as to what's causing this.  Is it related to modern cards
> > with low power management capabilities and how this may interact with the
> > kernel, or is it something to do with the tolerance built into TTL
> > packets between the card and the AP?
> > 
> > With regards to my card I have noticed that at home I stay connected for
> > hours on end, at work it's a miracle if I stay online for longer than 5
> > minutes (both on the same channel).  This to me says that the problem is
> > one of interaction with the router, which points to tolerance on the TTL
> > packets.
> > 
> > Of course YMMV ...
> 
> Last time I had this problem I tracked it to a conflict between
> wpa_supplicant and the card driver. Basicly the card driver would send a
> request to assosiate with mac 00:00::00 each time a new card was found
> on the air and wpa_supplicatnt interpreted this as a request from the
> driver to drop the connection. The driver folks said that this request
> should be ignored and the wpa_supplicant folks said that this should not
> be ignored but instead was a disconnect request. Catch 22...
> 
> Because of this I had to use wep instead of wpa(2) for along time.

I seem to recall this as a problem too, although not in my case.  At work 
there is no encryption and despite this the connection keeps dropping, while 
at home I use WPA2.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] ext4 reserved space and defragmentation?

2010-06-27 Thread Shaochun Wang
Hi:

I want to tune my ext4 filesystem of NAS data partition to free its
reserved space by using "tune2fs -m0 ". By reading the
manual of tune2fs, I observed the following words:

"Reserving some number of filesystem blocks for use by
privileged processes is done to avoid filesystem
fragmentation"

It means that filesystem defragmentation need such reserved blocks to
work properly, am I right? If so, can I make the reserved blocks a
little because the default 5% is too much. My NAS filesystem is about
7x1.5T, then 5% means a lot of space.

-- 
Shaochun Wang 

Jabber: fung...@jabber.org



Re: [gentoo-user] ext4 reserved space and defragmentation?

2010-06-27 Thread Florian Philipp
Am 27.06.2010 09:52, schrieb Shaochun Wang:
> Hi:
> 
> I want to tune my ext4 filesystem of NAS data partition to free its
> reserved space by using "tune2fs -m0 ". By reading the
> manual of tune2fs, I observed the following words:
> 
>   "Reserving some number of filesystem blocks for use by
>   privileged processes is done to avoid filesystem
>   fragmentation"
> 
> It means that filesystem defragmentation need such reserved blocks to
> work properly, am I right? If so, can I make the reserved blocks a
> little because the default 5% is too much. My NAS filesystem is about
> 7x1.5T, then 5% means a lot of space.
> 

It's not meant for defragmentation but to avoid fragmentation in the
first place. Simply speaking, as long as there is enough free space on
the disk, even if it is not accessible by an ordinary user, the system
can put new data in any place it seems fit.

If the disk is really near 100% full, the system has to squeeze new data
in every small hole somewhere on the disk. If this is done over a longer
time, maybe by deleting files and creating new ones, it massively
increases fragmentation.

Besides, reserving some space for root can save your rear-end in case
some user fills up your root partition. As long as root's processes
still have a bit of disk space available, he can still log in and clean
up the mess.

I agree with you that reserving 5% of several TB is too much for these
purposes. I think reducing it to a few 100MB is sufficient.

Hope this helps,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Atheros WLAN loosing link

2010-06-27 Thread Feifei WU
On Sun, Jun 27, 2010 at 3:21 PM, Mick  wrote:

> On Sunday 27 June 2010 06:55:31 Nagatoro wrote:
> > On Saturday 26 June 2010 14.35.28 Mick wrote:
> > > On Friday 25 June 2010 18:52:18 Enrico Weigelt wrote:
> > > > Hi folks,
> > > >
> > > >
> > > > my Atheros wlan (builtin, internal intenna) is regularily
> > > > loosing link. Reproducible in various different networks.
> > > > At home, my wlan ap is about 2 meter away (within the room),
> > > > so link quality (currently 53) shouldnt be the problem.
> > > >
> > > > Does anyone know what could cause the problem ?
> > > >
> > > > # cat /proc/version
> > > >
> > > > Linux version 2.6.31-gentoo-r10 (r...@excalibur.local) \
> > > > (gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5) )  \
> > > > #1 SMP Wed Jun 2 00:51:13 CEST 2010
> > > >
> > > > # lspci -v
> > > > ...
> > > >
> > > > 02:00.0 Network controller: Atheros Communications Inc. AR9285
> Wireless
> > > > Network Adapter (PCI-Express) (rev 01) Subsystem: Askey Computer
> Corp.
> > > > Device 7167
> > > >
> > > > Flags: bus master, fast devsel, latency 0, IRQ 16
> > > > Memory at f600 (64-bit, non-prefetchable) [size=64K]
> > > > Capabilities: [40] Power Management version 3
> > > > Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
> > > > Capabilities: [60] Express Legacy Endpoint, MSI 00
> > > > Capabilities: [100] Advanced Error Reporting
> > > > Capabilities: [140] Virtual Channel 
> > > > Capabilities: [160] Device Serial Number 00-15-17-ff-ff-24-14-12
> > > > Capabilities: [170] Power Budgeting 
> > > > Kernel driver in use: ath9k
> > > > Kernel modules: ath9k
> > > >
> > > > ...
> > > >
> > > >
> > > > Jun 25 19:36:51 excalibur kernel: wlan0: no probe response from AP
> > > > 00:23:08:86:d6:8f - disassociating Jun 25 19:36:51 excalibur
> > > > dhcpcd[10182]: wlan0: carrier lost
> > >
> > > I have seen the same problem with my internal broadcom card and of
> course
> > > a different driver.  If you check google there seem to be pages and
> > > pages of users reporting such a problem on different distros and with
> > > different makes of wireless cards.
> > >
> > > The jury's out as to what's causing this.  Is it related to modern
> cards
> > > with low power management capabilities and how this may interact with
> the
> > > kernel, or is it something to do with the tolerance built into TTL
> > > packets between the card and the AP?
> > >
> > > With regards to my card I have noticed that at home I stay connected
> for
> > > hours on end, at work it's a miracle if I stay online for longer than 5
> > > minutes (both on the same channel).  This to me says that the problem
> is
> > > one of interaction with the router, which points to tolerance on the
> TTL
> > > packets.
> > >
> > > Of course YMMV ...
> >
> > Last time I had this problem I tracked it to a conflict between
> > wpa_supplicant and the card driver. Basicly the card driver would send a
> > request to assosiate with mac 00:00::00 each time a new card was
> found
> > on the air and wpa_supplicatnt interpreted this as a request from the
> > driver to drop the connection. The driver folks said that this request
> > should be ignored and the wpa_supplicant folks said that this should not
> > be ignored but instead was a disconnect request. Catch 22...
> >
> > Because of this I had to use wep instead of wpa(2) for along time.
>
> I seem to recall this as a problem too, although not in my case.  At work
> there is no encryption and despite this the connection keeps dropping,
> while
> at home I use WPA2.
> --
> Regards,
> Mick
>


i have the same problem !

when i using amule to download something for a long time (maybe 1 day or
more), next day when i open firefox ,always remind me "cant connect to..."
the same as every new opening software,  but amule still downloading ..

sorry for my english .

here are something about

Linux obb 2.6.34-gentoo #1 SMP PREEMPT Thu May 20 17:44:39 CST 2010 i686
Pentium(R) Dual-Core CPU E6300 @ 2.80GHz GenuineIntel GNU/Linux

03:00.0 Ethernet controller: Atheros Communications Inc. AR2413 802.11bg NIC
(rev 01)
Subsystem: Atheros Communications Inc. Compex Wireless 802.11 b/g
MiniPCI Adapter, Rev A1 [WLM54G]
Flags: bus master, medium devsel, latency 168, IRQ 20
Memory at e150 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2
Kernel driver in use: ath5k
Kernel modules: ath5k


Re: [gentoo-user] ext4 reserved space and defragmentation?

2010-06-27 Thread Stroller


On 27 Jun 2010, at 08:52, Shaochun Wang wrote:

... "Reserving some number of filesystem blocks for use by
privileged processes is done to avoid filesystem
fragmentation"

It means that filesystem defragmentation need such reserved blocks to
work properly, am I right? If so, can I make the reserved blocks a
little because the default 5% is too much. My NAS filesystem is about
7x1.5T, then 5% means a lot of space.


I'm pretty sure that just means that Linux will try to put files in  
contiguous sectors, so they're not fragmented, and that as you run out  
of space it's generally harder to do that.


But I would imagine this is particularly the case with the occasional  
large file on a typical filesystem cluttered with small files - if you  
have a 1TB drive and save 9 100GB movie files on it, the remaining  
free space is going to be contiguous, anyway.


Whilst it would be interesting to do some real world testing on big  
hard drives fulla porn, you can safely set the reserved space to 0%  
and forget about it. That message has been there since ext2 and if you  
streaming suddenly starts to stutter when your filesystem is 99% full,  
well, you were going to add another drive to the array, anyway,  
weren't you? Add it in and expand the filesystem and see if that makes  
any difference.


Interestingly, I've just done an fsck on my ext4 media array and it  
shows as 83.8% non-contiguous. It is 1.4TB with 272G or 19% free. I  
can only assume this is because I also use it for backups, and have a  
couple of directories on there of many much smaller files.


Stroller.




Re: [gentoo-user] ext4 reserved space and defragmentation?

2010-06-27 Thread Dale

Stroller wrote:


I'm pretty sure that just means that Linux will try to put files in 
contiguous sectors, so they're not fragmented, and that as you run out 
of space it's generally harder to do that.


But I would imagine this is particularly the case with the occasional 
large file on a typical filesystem cluttered with small files - if you 
have a 1TB drive and save 9 100GB movie files on it, the remaining 
free space is going to be contiguous, anyway.


Whilst it would be interesting to do some real world testing on big 
hard drives fulla porn, you can safely set the reserved space to 0% 
and forget about it. That message has been there since ext2 and if you 
streaming suddenly starts to stutter when your filesystem is 99% full, 
well, you were going to add another drive to the array, anyway, 
weren't you? Add it in and expand the filesystem and see if that makes 
any difference.


Interestingly, I've just done an fsck on my ext4 media array and it 
shows as 83.8% non-contiguous. It is 1.4TB with 272G or 19% free. I 
can only assume this is because I also use it for backups, and have a 
couple of directories on there of many much smaller files.


Stroller.





I have a 750Gb drive that I put mostly movies on.  I have NCIS and some 
that I got from youtube of old TV shows plus some regular files like OOo 
docs.  I just ran fragck on that a while ago and got this:


72.499201913381% non contiguous files, 2.38433317962776 average fragments.

I also have my /boot partition which has a few kernels on it and their 
config files.  I get this for that partition:


78.4313725490196% non contiguous files, 4.72549019607843 average fragments.

Both of those have lots of free space still.  About half way on the 
750Gb drive and 75% free space on /boot.  I cleaned it out a while back 
and got rid of some old kernels and configs.


My freshly copied /usr directory comes in as this:

3.52929844927837% non contiguous files, 0.524852607939654 average fragments.

That includes the portage tree by the way.  However, there is not much 
difference when portage is unmounted either.  Again, freshly copied just 
this morning and only synced once so far.


I just freshly transfered my OS from one drive to another.  /boot and 
the data drive was untouched tho.  I don't have a place large enough to 
transfer my data partition.  My question is this, isn't there a point 
where there will be fragmentation no matter what file system you use?  
After all, some files are going to be fragmented because of size and 
some are going to be fragmented because they are edited and such.


By the way, resierfs for everything except /boot and portage which uses 
ext2 and ext3 respectively.


Dale

:-)  :-)



Re: [gentoo-user] Boot hangs after install, no error

2010-06-27 Thread Peter Humphrey
On Saturday 26 June 2010 18:31:05 James Wall wrote:

> You could also check out Pappy's Kernel Seeds at
> http://www.kernel-seeds.org.org/

I will - thanks.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] gcc build fails during emerge system on new 64-bit install

2010-06-27 Thread Peter Humphrey
On Friday 25 June 2010 09:26:25 Stroller wrote:

> I assume it has some electronics in there. These are exceedingly
> common, however, and make the keyboard appear to the o/s (and BIOS)
> as a standard USB HCI device.

Aha! Could I then use one of these adapters and my PS/2 mouse and 
keyboard with a USB KVM switch? I have a spare one of those lying about 
and my PS/2 and VGA one is getting a bit long in the tooth.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Firefox + gentoo scrolling like a snail

2010-06-27 Thread Peter Humphrey
On Saturday 26 June 2010 16:44:42 Kevin O'Gorman wrote:

> Sometimes, but not always, when I click in the Firefox scrollbar, it
> starts heading in the right direction in fits and starts of 5 pixels
> or so until it (finallly) reaches the end.  I've mostly observed
> this in the downward direction, but I mostly scroll in that
> direction anyway so it might not mean anything.

I've seen this too, but so rarely that I just blink at it and move on. 
Maybe once or twice a year.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] ext4 reserved space and defragmentation?

2010-06-27 Thread Alan McKinnon
On Sunday 27 June 2010 10:27:13 Florian Philipp wrote:
> Besides, reserving some space for root can save your rear-end in case
> some user fills up your root partition. As long as root's processes
> still have a bit of disk space available, he can still log in and clean
> up the mess.
> 
> I agree with you that reserving 5% of several TB is too much for these
> purposes. I think reducing it to a few 100MB is sufficient.

This is correct, ext2 was set up like that in the beginning and it hasn't 
changed since.

Those were the days when 200M drives were BIG and reserving 10M for root was 
enough for the purpose.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Firefox + gentoo scrolling like a snail

2010-06-27 Thread Mick
On Sunday 27 June 2010 11:12:53 Peter Humphrey wrote:
> On Saturday 26 June 2010 16:44:42 Kevin O'Gorman wrote:
> > Sometimes, but not always, when I click in the Firefox scrollbar, it
> > starts heading in the right direction in fits and starts of 5 pixels
> > or so until it (finallly) reaches the end.  I've mostly observed
> > this in the downward direction, but I mostly scroll in that
> > direction anyway so it might not mean anything.
> 
> I've seen this too, but so rarely that I just blink at it and move on.
> Maybe once or twice a year.

I didn't post so far on this thread because like Peter I only rarely have 
noticed this.  Typically, I noticed this only when the ADSL/wireless 
connection is congested or playing up.  Essentially, I concluded that I am 
asking FF/Konqueror to scroll down a page that it hasn't yet finished 
downloading or rendering.  Not sure if the latest version is behaving in this 
manner.

I have not noticed Opera suffering from this, probably because it uses a 
different model for deciding at which point in the download process it renders 
the page.

PS.  Browser engines are programmed to give the impression of speed by 
rendering pages *before* they complete downloading.  This decision making 
process involves the different elements on a page (text, scripts, images, 
etc.) and the observed behaviour may be related to the way that FF/Konqueror 
treat different elements during a slow download Vis A Vis Opera, or other 
browsers that don't suffer as much from this problem.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Portage tree from git

2010-06-27 Thread Enrico Weigelt
Hi folks,


is there yet a way to get the portage tree directly via git ?

IMHO this should be more traffic efficient than rsync in the
long run (especially when syncing often).


cu
-- 
-
 Enrico Weigelt==   metux IT service - http://www.metux.de/
-
 Please visit the OpenSource QM Taskforce:
http://wiki.metux.de/public/OpenSource_QM_Taskforce
 Patches / Fixes for a lot dozens of packages in dozens of versions:
http://patches.metux.de/
-



Re: [gentoo-user] X Windows setup questions on my new machine

2010-06-27 Thread Willie Wong
On Sun, Jun 27, 2010 at 12:13:13AM +0100, Mick wrote:
> > >  However, my new machine's Intel integrated graphics chip doesn't agree.
> > > X will *NOT* work unless I enable i915 DRM driver in make menuconfig,
> > > like so...
> > > 
> > > <*>   Intel 830M, 845G, 852GM, 855GM, 865G (i915 driver)  --->
> > > 
> > >  This results in framebuffer being *FORCED* on.
> > > 
> > > <*> Direct Rendering Manager (XFree86 4.1.0 and higher DRI support
> > > -*- Lowlevel video output switch controls
> > > -*- Support for frame buffer devices  --->

> Walter, have you tried to find the vga modes that your card supports using 
> vbetools (you'll need vbetest) or running 'hwinfo --vbe' ?

With the intel driver and X, he needs to have kernel mode setting
enabled. I seem to remember that it doesn't play well with the vga
mode setting for framebuffers. 

But Walter: you should be able to add a line on your lilo/grub prompt
for the Intel KMS to set the display resolution at boot time. See the
Kernel documentation in /usr/src/linux for the Intel GMA driver for
more info on that. (Technically you should be able to rung the console
at a different resolution than X; there may require another tweak at
the kernel level to make the switch to VT after starting X play nice.
See the gentoo-wiki article on Kernel Mode Setting.)

Also, have you tried just using larger fonts on the console? If you
emerge sys-apps/kbd, there should be some fonts in
/usr/share/consolefonts. You can use "setfont " to test which
one you want to use (some of them are bigger fonts). You may also want
to try media-fonts/terminus-font (what I use), it claims to have a
16x32 variant which is twice as large as the default console fonts. 

After finding a font you like you can set it in
/etc/conf.d/consolefont to automatically load at boot time. 

Cheers, 

W
-- 
Willie W. Wong ww...@math.princeton.edu
Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire 
 et vice versa   ~~~  I. Newton



Re: [gentoo-user] Firefox + gentoo scrolling like a snail

2010-06-27 Thread Dale

Mick wrote:

On Sunday 27 June 2010 11:12:53 Peter Humphrey wrote:
   

On Saturday 26 June 2010 16:44:42 Kevin O'Gorman wrote:
 

Sometimes, but not always, when I click in the Firefox scrollbar, it
starts heading in the right direction in fits and starts of 5 pixels
or so until it (finallly) reaches the end.  I've mostly observed
this in the downward direction, but I mostly scroll in that
direction anyway so it might not mean anything.
   

I've seen this too, but so rarely that I just blink at it and move on.
Maybe once or twice a year.
 

I didn't post so far on this thread because like Peter I only rarely have
noticed this.  Typically, I noticed this only when the ADSL/wireless
connection is congested or playing up.  Essentially, I concluded that I am
asking FF/Konqueror to scroll down a page that it hasn't yet finished
downloading or rendering.  Not sure if the latest version is behaving in this
manner.

I have not noticed Opera suffering from this, probably because it uses a
different model for deciding at which point in the download process it renders
the page.

PS.  Browser engines are programmed to give the impression of speed by
rendering pages *before* they complete downloading.  This decision making
process involves the different elements on a page (text, scripts, images,
etc.) and the observed behaviour may be related to the way that FF/Konqueror
treat different elements during a slow download Vis A Vis Opera, or other
browsers that don't suffer as much from this problem.
   


I have noticed that it does this more often when pages are still 
loading, especially if they have flash on the page.  A good while back, 
weather.gov was really bad at this.  Konqueror and Firefox would scroll 
fine but I couldn't even read emails when Seamonkey was loading.  It 
would not appear or scroll until it loaded the page completely.  I was 
on dial-up at the time so it was painfully slow.  I didn't think about 
the loading part until Mick wrote this reply.


Could this be the issue?  They won't scroll until the page loads up?

Dale

:-)  :-)



Re: [gentoo-user] pmount without hal

2010-06-27 Thread Mick
On Friday 25 June 2010 21:03:45 Marc Joliet wrote:
> Am Fri, 25 Jun 2010 19:50:26 +0100
> 
> schrieb Mick :
> > Any idea why hal is taken out from pmount?
> > 
> > [ebuild U ] sys-apps/pmount-0.9.23 [0.9.20] USE="crypt (-hal%*)" 342
> > kB
> 
> A quick look at the ChangeLog reveals:
> 
> http://bugs.gentoo.org/show_bug.cgi?id=313389
> 
> Yes, HAL is on its way out :) !

If I mount a USB stick using pmount the I can no longer unmount it using the 
desktop manager's GUI, or Konqueror/Dolphin.

If I have mounted the USB stick with the desktop manager or Konqueror/Dolphin, 
then I can unmount it using pumount.

Better remember all this before I hastily pull out the USB stick and corrupt 
the data on it!  O_O
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Re: kernel configuration problem -- genkernel: no irq handler; manual config: root filesystem could not be mounted r/w

2010-06-27 Thread rocwhite168
Dale  gmail.com> writes:
 
> 
> Do you have SATA drives or IDE?  If you have IDE, try changing your 
> fstab and grub line from sda5 to hda5.  That error is caused by that 
> pretty much every time.  Keep in mind, it doesn't matter what the drive 
> reports itself as when booted off the CD, it only matters how the kernel 
> YOU built sees it.  It can be set up to see it either way.  I have IDE 
> and mine still sees it as hda, hdb etc except for my SATA drive that is 
> hooked up to a card.  That one is sda.
> 
> If you have SATA drives, I'm back to clueless but thinking on it.
> 
> Dale
> 

I don't know why my reply through the Gmane system didn't get posted...

Yes, I'm pretty sure my hard drive is SATA, and also I tried changing sda 
to hda, but it wouldn't help anyway...

Thanks!

Roc







Re: [gentoo-user] pmount without hal

2010-06-27 Thread Peter Humphrey
On Sunday 27 June 2010 14:16:44 Mick wrote:

> Better remember all this before I hastily pull out the USB stick and
> corrupt the data on it!  O_O

I spent the whole of one long weekend trying to recover the files on 
someone's stick after he'd done that. He blamed his teenage son, of 
course.

It was only partly successful too. I think the lesson was well learned 
though - they won't do that again in a hurry!

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



[gentoo-user] Adobe Flash (10.1.53.64) Not Working

2010-06-27 Thread dhk
Adobe Flash use to work on my amd64 box, but after the last upgrade it
stopped working.  When I visit sites that use it I'm told that Adobe
Flash is not installed or to download the plugin.

In my /etc/make.conf I had to change ACCEPT_LICENSE to
ACCEPT_LICENSE="AdobeFlash-10.1" and in /etc/portage/package.keywords I
removed www-plugins/adobe-flash ~amd64 since it wasn't needed anymore.

The following is what's installed.

# emerge --search @www-plugins/adobe-flash
Searching...
[ Results for search key : www-plugins/adobe-flash ]
[ Applications found : 1 ]

*  www-plugins/adobe-flash
  Latest version available: 10.1.53.64
  Latest version installed: 10.1.53.64
  Size of files: 4,643 kB
  Homepage:  http://www.adobe.com/
  Description:   Adobe Flash Player
  License:   AdobeFlash-10.1

Thanks,

--dhk



Re: [gentoo-user] Portage tree from git

2010-06-27 Thread Peter Humphrey
On Sunday 27 June 2010 12:15:50 Enrico Weigelt wrote:

> is there yet a way to get the portage tree directly via git ?
> 
> IMHO this should be more traffic efficient than rsync in the
> long run (especially when syncing often).

I sometimes wonder whether I should file a feature request on rsync, to 
make it offer a mode in which only directories in which it does something 
are listed on stdout. I shudder to think of the CPU cycles that are 
wasted daily on scrolling all those directory names up the screen during 
an emerge --sync. 21293 of them on this box today, altogether.

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] Adobe Flash (10.1.53.64) Not Working

2010-06-27 Thread Etaoin Shrdlu
On Sunday 27 June 2010, dhk wrote:

> Adobe Flash use to work on my amd64 box, but after the last upgrade it
> stopped working.  When I visit sites that use it I'm told that Adobe
> Flash is not installed or to download the plugin.
> 
> In my /etc/make.conf I had to change ACCEPT_LICENSE to
> ACCEPT_LICENSE="AdobeFlash-10.1" and in /etc/portage/package.keywords I
> removed www-plugins/adobe-flash ~amd64 since it wasn't needed anymore.
> 
> The following is what's installed.
> 
> # emerge --search @www-plugins/adobe-flash
> Searching...
> [ Results for search key : www-plugins/adobe-flash ]
> [ Applications found : 1 ]
> 
> *  www-plugins/adobe-flash
>   Latest version available: 10.1.53.64
>   Latest version installed: 10.1.53.64
>   Size of files: 4,643 kB
>   Homepage:  http://www.adobe.com/
>   Description:   Adobe Flash Player
>   License:   AdobeFlash-10.1

Read the fine installation notes, which should have been printed after you 
emerged it:

Adobe has released 10.1 in only a 32-bit version and upgrading
is required to close a major security vulnerability:
  http://bugs.gentoo.org/322855

Furthermore, there are stability problems when running 10.1 in a
64-bit browser with nspluginwrapper.  The current recommended
configuration is to use a 32-bit browser such as
www-client/firefox-bin:
  http://bugs.gentoo.org/324365



Re: [gentoo-user] Adobe Flash (10.1.53.64) Not Working

2010-06-27 Thread Mick
On Sunday 27 June 2010 16:00:04 Etaoin Shrdlu wrote:
> On Sunday 27 June 2010, dhk wrote:
> > Adobe Flash use to work on my amd64 box, but after the last upgrade it
> > stopped working.  When I visit sites that use it I'm told that Adobe
> > Flash is not installed or to download the plugin.
> > 
> > In my /etc/make.conf I had to change ACCEPT_LICENSE to
> > ACCEPT_LICENSE="AdobeFlash-10.1" and in /etc/portage/package.keywords I
> > removed www-plugins/adobe-flash ~amd64 since it wasn't needed anymore.
> > 
> > The following is what's installed.
> > 
> > # emerge --search @www-plugins/adobe-flash
> > Searching...
> > [ Results for search key : www-plugins/adobe-flash ]
> > [ Applications found : 1 ]
> > 
> > *  www-plugins/adobe-flash
> > 
> >   Latest version available: 10.1.53.64
> >   Latest version installed: 10.1.53.64
> >   Size of files: 4,643 kB
> >   Homepage:  http://www.adobe.com/
> >   Description:   Adobe Flash Player
> >   License:   AdobeFlash-10.1
> 
> Read the fine installation notes, which should have been printed after you
> emerged it:
> 
> Adobe has released 10.1 in only a 32-bit version and upgrading
> is required to close a major security vulnerability:
>   http://bugs.gentoo.org/322855
> 
> Furthermore, there are stability problems when running 10.1 in a
> 64-bit browser with nspluginwrapper.  The current recommended
> configuration is to use a 32-bit browser such as
> www-client/firefox-bin:
>   http://bugs.gentoo.org/324365

Or just reinstall nsplugginwrapper and restart your FF.  That's what I did 
(search this list for thread titled: www-plugins/adobe-flash-10.1.53.64 won't 
play in FF & Konqueror).

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] pmount without hal

2010-06-27 Thread Mick
On Sunday 27 June 2010 16:01:45 Peter Humphrey wrote:
> On Sunday 27 June 2010 14:16:44 Mick wrote:
> > Better remember all this before I hastily pull out the USB stick and
> > corrupt the data on it!  O_O
> 
> I spent the whole of one long weekend trying to recover the files on
> someone's stick after he'd done that. He blamed his teenage son, of
> course.
> 
> It was only partly successful too. I think the lesson was well learned
> though - they won't do that again in a hurry!

Ha!  I remember!  I was trying to help you rescue his data on this list.  ;-)
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Mark Knecht
Hi,
   This is a mostly stable machine. Why is what I think is the stable
version of libgnomecanvas-python failing to build?

   The newer version portage (2.28.1) requires masked packages so
that's not a good option.

   What's a person to do?

Thanks,
Mark

c2stable ~ # eix libgnomecanvas-python
[I] dev-python/libgnomecanvas-python
 Available versions:  (2) 2.22.3!t 2.26.1!t 2.28.0!t ~2.28.1!t
{debug examples}
 Installed versions:  2.28.0(2)!t(08:28:16 06/11/10)(-examples)
 Homepage:http://pygtk.org/
 Description: Python bindings for the Gnome Canvas library

c2stable ~ # emerge @preserved-rebuild

>>> Failed to emerge dev-python/libgnomecanvas-python-2.28.0, Log file:

>>>  '/var/tmp/portage/dev-python/libgnomecanvas-python-2.28.0/temp/build.log'

 * Messages for package x11-libs/gtk+-2.18.9:

 * Please install app-text/evince for print preview functionality.
 * Alternatively, check "gtk-print-preview-command" documentation and
 * add it to your gtkrc.

 * Messages for package dev-python/libgnomecanvas-python-2.28.0:

 * ERROR: dev-python/libgnomecanvas-python-2.28.0 failed:
 *   Building failed with CPython 2.6 in building() function
 *
 * Call stack:
 * ebuild.sh, line   48:  Called src_compile
 *   environment, line 5540:  Called gnome-python-common_src_compile
 *   environment, line 3132:  Called python_execute_function '-s' 'building'
 *   environment, line 4305:  Called die
 * The specific snippet of code:
 *   die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info
=dev-python/libgnomecanvas-python-2.28.0',
 * the complete build log and the output of 'emerge -pqv
=dev-python/libgnomecanvas-python-2.28.0'.
 * The complete build log is located at
'/var/tmp/portage/dev-python/libgnomecanvas-python-2.28.0/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-python/libgnomecanvas-python-2.28.0/temp/environment'.
 * S: 
'/var/tmp/portage/dev-python/libgnomecanvas-python-2.28.0/work/gnome-python-2.28.0'

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: media-libs/libpng-1.4.3
 *  - /usr/lib64/libpng12.so
 *  - /usr/lib64/libpng12.so.0
 *  - /usr/lib64/libpng12.so.0.43.0
 *  used by
/opt/icedtea6-bin-1.8.0/jre/lib/amd64/libsplashscreen.so
(dev-java/icedtea6-bin-1.8.0)
 *  used by /usr/bin/annotate (media-libs/gd-2.0.35-r1)
 *  used by /usr/bin/baobab (gnome-extra/gnome-utils-2.28.3)
 *  used by 406 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
c2stable ~ #


c2stable ~ # emerge -1pv libgnomecanvas-python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-python/libgnomecanvas-python-2.28.0  USE="-examples" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
c2stable ~ #


c2stable ~ # emerge --info
Portage 2.2_rc67 (default/linux/amd64/10.0, gcc-4.4.3,
glibc-2.11.2-r0, 2.6.34-gentoo x86_64)
=
System uname: 
linux-2.6.34-gentoo-x86_64-intel-r-_core-tm-_i7_cpu_x_9...@_3.33ghz-with-gentoo-1.12.13
Timestamp of tree: Sun, 27 Jun 2010 16:45:01 +
app-shells/bash: 4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/cmake:  2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -...@eula dlj-1.1 PUEL AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d
/etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch
preserve-libs protect-owned sandbox sfperms strict unmerge-logs
unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ "
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j13"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pentoo"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl amd64 berkdb bzip2 cli cracklib crypt cxx dbus dri fortran
gdbm gnome gpm gstreamer iconv kde 

Re: [gentoo-user] Adobe Flash (10.1.53.64) Not Working

2010-06-27 Thread dhk
On 06/27/2010 12:03 PM, Mick wrote:
> On Sunday 27 June 2010 16:00:04 Etaoin Shrdlu wrote:
>> On Sunday 27 June 2010, dhk wrote:
>>> Adobe Flash use to work on my amd64 box, but after the last upgrade it
>>> stopped working.  When I visit sites that use it I'm told that Adobe
>>> Flash is not installed or to download the plugin.
>>>
>>> In my /etc/make.conf I had to change ACCEPT_LICENSE to
>>> ACCEPT_LICENSE="AdobeFlash-10.1" and in /etc/portage/package.keywords I
>>> removed www-plugins/adobe-flash ~amd64 since it wasn't needed anymore.
>>>
>>> The following is what's installed.
>>>
>>> # emerge --search @www-plugins/adobe-flash
>>> Searching...
>>> [ Results for search key : www-plugins/adobe-flash ]
>>> [ Applications found : 1 ]
>>>
>>> *  www-plugins/adobe-flash
>>>
>>>   Latest version available: 10.1.53.64
>>>   Latest version installed: 10.1.53.64
>>>   Size of files: 4,643 kB
>>>   Homepage:  http://www.adobe.com/
>>>   Description:   Adobe Flash Player
>>>   License:   AdobeFlash-10.1
>>
>> Read the fine installation notes, which should have been printed after you
>> emerged it:
>>
>> Adobe has released 10.1 in only a 32-bit version and upgrading
>> is required to close a major security vulnerability:
>>   http://bugs.gentoo.org/322855
>>
>> Furthermore, there are stability problems when running 10.1 in a
>> 64-bit browser with nspluginwrapper.  The current recommended
>> configuration is to use a 32-bit browser such as
>> www-client/firefox-bin:
>>   http://bugs.gentoo.org/324365
> 
> Or just reinstall nsplugginwrapper and restart your FF.  That's what I did 
> (search this list for thread titled: www-plugins/adobe-flash-10.1.53.64 won't 
> play in FF & Konqueror).
> 
> HTH.

That worked.

Thanks,

--dhk



Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Alan McKinnon
On Sunday 27 June 2010 20:25:03 Mark Knecht wrote:
> Hi,
>This is a mostly stable machine. Why is what I think is the stable
> version of libgnomecanvas-python failing to build?
> 
>The newer version portage (2.28.1) requires masked packages so
> that's not a good option.
> 
>What's a person to do?
> 
> Thanks,
> Mark
> 
> c2stable ~ # eix libgnomecanvas-python
> [I] dev-python/libgnomecanvas-python
>  Available versions:  (2) 2.22.3!t 2.26.1!t 2.28.0!t ~2.28.1!t
> {debug examples}
>  Installed versions:  2.28.0(2)!t(08:28:16 06/11/10)(-examples)
>  Homepage:http://pygtk.org/
>  Description: Python bindings for the Gnome Canvas library
> 
> c2stable ~ # emerge @preserved-rebuild
> 
> 
> >>> Failed to emerge dev-python/libgnomecanvas-python-2.28.0, Log file:

The build error is before this. Please post that.

Everything below is various elogs to tell you that an error occured, not what 
it is.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Mark Knecht
On Sun, Jun 27, 2010 at 11:41 AM, Alan McKinnon  wrote:
> On Sunday 27 June 2010 20:25:03 Mark Knecht wrote:
>> Hi,
>>    This is a mostly stable machine. Why is what I think is the stable
>> version of libgnomecanvas-python failing to build?
>>
>>    The newer version portage (2.28.1) requires masked packages so
>> that's not a good option.
>>
>>    What's a person to do?
>>
>> Thanks,
>> Mark
>>
>> c2stable ~ # eix libgnomecanvas-python
>> [I] dev-python/libgnomecanvas-python
>>      Available versions:  (2) 2.22.3!t 2.26.1!t 2.28.0!t ~2.28.1!t
>>         {debug examples}
>>      Installed versions:  2.28.0(2)!t(08:28:16 06/11/10)(-examples)
>>      Homepage:            http://pygtk.org/
>>      Description:         Python bindings for the Gnome Canvas library
>>
>> c2stable ~ # emerge @preserved-rebuild
>> 
>>
>> >>> Failed to emerge dev-python/libgnomecanvas-python-2.28.0, Log file:
>
> The build error is before this. Please post that.
>
> Everything below is various elogs to tell you that an error occured, not what
> it is.
>
>
>
> --
> alan dot mckinnon at gmail dot com
>

Yeah, should have posted more. Sorry.

Hopefully this will get you far enough back to take a guess. Seems
that libpng12.la doesn't exist and indeed that file isn't there.

c2stable ~ # updatedb
c2stable ~ # slocate libpng12
/opt/vmware/workstation/lib/vmware-installer/1.1/lib/lib/libpng12.so.0
/opt/vmware/workstation/lib/vmware-installer/1.1/lib/lib/libpng12.so.0/libpng12.so.0
/opt/vmware/workstation/lib/vmware/lib/libpng12.so.0
/opt/vmware/workstation/lib/vmware/lib/libpng12.so.0/libpng12.so.0
/usr/lib32/libpng12.so.0
/usr/lib64/libpng12.so.0
/usr/lib64/libpng12.so
/usr/lib64/libpng12.so.0.43.0
c2stable ~ #

Thanks,
Mark

mv -f .deps/gtkunixprint_la-gtkunixprint.Tpo
.deps/gtkunixprint_la-gtkunixprint.Plo
/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc
-I/usr/include/pycairo -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14
-I/usr/include/gtk-unix-print-2.0 -I/usr/include/gtk-2.0
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/lib64/gtk-2.0/include -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14   -O2 -march=native
-pipe -Wall -fno-strict-aliasing -std=c9x -module -avoid-version
-export-symbols-regex initgtkunixprint -Wl,-O1 -o gtkunixprint.la
-rpath /usr/lib64/python2.6/site-packages/gtk-2.0
gtkunixprint_la-gtkunixprintmodule.lo gtkunixprint_la-gtkunixprint.lo
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
/bin/grep: /usr/lib64/libpng12.la: No such file or directory
/bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory
libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive
make[2]: *** [glade.la] Error 1
make[2]: *** Waiting for unfinished jobs
libtool: link: /usr/bin/nm -B
.libs/gtkunixprint_la-gtkunixprintmodule.o
.libs/gtkunixprint_la-gtkunixprint.o   | sed -n -e 's/^.*[
]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][
]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | /bin/sed 's/.* //' | sort
| uniq > .libs/gtkunixprint.exp
libtool: link: /bin/grep -E -e "initgtkunixprint"
".libs/gtkunixprint.exp" > ".libs/gtkunixprint.expT"
libtool: link: mv -f ".libs/gtkunixprint.expT" ".libs/gtkunixprint.exp"
libtool: link: echo "{ global:" > .libs/gtkunixprint.ver
libtool: link:  cat .libs/gtkunixprint.exp | sed -e "s/\(.*\)/\1;/" >>
.libs/gtkunixprint.ver
libtool: link:  echo "local: *; };" >> .libs/gtkunixprint.ver
libtool: link:  x86_64-pc-linux-gnu-gcc -shared
.libs/gtkunixprint_la-gtkunixprintmodule.o
.libs/gtkunixprint_la-gtkunixprint.o   /usr/lib64/libgtk-x11-2.0.so
/usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so -L/usr/lib64
/usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv
/usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so
/usr/lib64/libcairo.so /usr/lib64/libpixman-1.so
/usr/lib64/libpng14.so /usr/lib64/libXrender.so /usr/lib64/libX11.so
/usr/lib64/libxcb.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so
/usr/lib64/libpango-1.0.so -lm /usr/lib64/libfontconfig.so
/usr/lib64/libfreetype.so -lz /usr/lib64/libexpat.so
/usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl
/usr/lib64/libglib-2.0.so  -march=native -Wl,-O1   -Wl,-soname
-Wl,gtkunixprint.so -Wl,-version-script -Wl,.libs/gtkunixprint.ver -o
.libs/gtkunixprint.so
Could not write method GtkPaperSize.to_key_file: No ArgType for GKeyFile*
Could not write method GtkWidget.style_get: varargs functions not supported
Could not write virtual accessor method
GtkWidget.dispatch_child_properties_changed: No ArgType for
GParamSpec**
Could not write virtual accessor method GtkWidget.child_notify: No
ArgType for GParamSpec*
Could not write virtual proxy
GtkWidget.dispatch_child_properties_changed: No ArgType for
GParamSpec**
Cou

Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Mark Knecht
On Sun, Jun 27, 2010 at 12:42 PM, Mark Knecht  wrote:


Different machine getting updated and for the same failure but it
occurred on a different package.

- Mark

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2
-I/usr/include/libpng14   -O2 -march=native -pipe -Wall
-fno-strict-aliasing -std=c9x -module -avoid-version
-export-symbols-regex initglade -Wl,-O1 -o glade.la -rpath
/usr/lib64/python2.6/site-packages/gtk-2.0/gtk
glade_la-libglademodule.lo glade_la-libglade.lo -lglade-2.0
-lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0
-lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype
-lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
/bin/grep: /usr/lib64/libpng12.la: No such file or directory
/bin/sed: can't read /usr/lib64/libpng12.la: No such file or directory
libtool: link: `/usr/lib64/libpng12.la' is not a valid libtool archive
make[2]: *** [glade.la] Error 1
make[2]: *** Waiting for unfinished jobs
mv -f .deps/gtkunixprint_la-gtkunixprint.Tpo
.deps/gtkunixprint_la-gtkunixprint.Plo
Could not write method GtkPaperSize.to_key_file: No ArgType for GKeyFile*
Could not write method GtkWidget.style_get: varargs functions not supported
Could not write virtual accessor method
GtkWidget.dispatch_child_properties_changed: No ArgType for
GParamSpec**
Could not write virtual accessor method GtkWidget.child_notify: No
ArgType for GParamSpec*
Could not write virtual proxy
GtkWidget.dispatch_child_properties_changed: No ArgType for
GParamSpec**
Could not write virtual proxy GtkWidget.child_notify: No ArgType for GParamSpec*
Could not write virtual proxy GtkContainer.child_type: No ArgType for GType
Could not write method GtkAccelGroup.activate: No ArgType for GQuark
Could not write method GtkAccelGroup.find: No ArgType for GtkAccelKey*
Could not write method GtkAccelGroup.query: No ArgType for guint*
Could not write method GtkActionGroup.set_translate_func: No ArgType
for GtkTranslateFunc
Could not write method GtkCalendar.set_detail_func: No ArgType for
GtkCalendarDetailFunc
Could not write virtual accessor method
GtkMenuItem.toggle_size_request: No ArgType for gint*
Warning: generating old-style constructor for:gtk_clipboard_get_for_display
Could not write method GtkClipboard.wait_for_uris: No ArgType for gchar**
Could not write method GtkClipboard.request_uris: No ArgType for
GtkClipboardURIReceivedFunc
Could not write virtual accessor method GtkCList.selection_find: No
ArgType for GList*
Could not write virtual accessor method GtkCList.draw_row: No ArgType
for GtkCListRow*
Could not write virtual accessor method GtkCList.draw_drag_highlight:
No ArgType for GtkCListRow*
Could not write virtual accessor method GtkCList.insert_row: No
ArgType for gchar*[]
Could not write virtual accessor method GtkCList.set_cell_contents: No
ArgType for GtkCListRow*
Could not write virtual accessor method GtkCList.cell_size_request: No
ArgType for GtkCListRow*
Could not write virtual proxy GtkCList.selection_find: No ArgType for GList*
Could not write virtual proxy GtkCList.draw_row: No ArgType for GtkCListRow*
Could not write virtual proxy GtkCList.draw_drag_highlight: No ArgType
for GtkCListRow*
Could not write virtual proxy GtkCList.insert_row: No ArgType for gchar*[]
Could not write virtual proxy GtkCList.set_cell_contents: No ArgType
for GtkCListRow*
Could not write virtual proxy GtkCList.cell_size_request: No ArgType
for GtkCListRow*
Could not write method GtkCTree.set_drag_compare_func: No ArgType for
GtkCTreeCompareDragFunc
Could not write virtual proxy GtkCTree.tree_select_row: No ArgType for
GtkCTreeNode*
Could not write virtual proxy GtkCTree.tree_unselect_row: No ArgType
for GtkCTreeNode*
Could not write virtual proxy GtkCTree.tree_expand: No ArgType for GtkCTreeNode*
Could not write virtual proxy GtkCTree.tree_collapse: No ArgType for
GtkCTreeNode*
Could not write virtual proxy GtkCTree.tree_move: No ArgType for GtkCTreeNode*
Could not write virtual accessor method GtkScale.get_layout_offsets:
No ArgType for gint*
Could not write virtual proxy GtkScale.get_layout_offsets: cannot use
int* parameter with direction 'None'
Could not write method GtkImage.get_gicon: No ArgType for GIcon**
Could not write virtual accessor method
GtkIMContext.get_preedit_string: No ArgType for gchar**
Could not write virtual accessor method GtkIMContext.get_surrounding:
No ArgType for gchar**
Could not write virtual proxy GtkIMContext.get_preedit_string: No
ArgType for gchar**
Could not write virtual proxy GtkIMContext.get_surrounding: No ArgType
for gchar**
Could not write method GtkIMContextSimple.add_table: No ArgType for guint16*
Warning: generating old-style constructor for:gtk_item_factory_new
Could not write meth

Re: [gentoo-user] pmount without hal

2010-06-27 Thread Peter Humphrey
On Sunday 27 June 2010 17:05:35 Mick wrote:
> On Sunday 27 June 2010 16:01:45 Peter Humphrey wrote:
> > I spent the whole of one long weekend trying to recover the files
> > on someone's stick after he'd done that. He blamed his teenage
> > son, of course.
> > 
> > It was only partly successful too. I think the lesson was well
> > learned though - they won't do that again in a hurry!
> 
> Ha!  I remember!  I was trying to help you rescue his data on this
> list.  ;-)

Indeed, the list is full of helpful people. One or two of the other sort 
too, of course, but after all, perfection is a purely human ideological 
concept.

In the event, it turned out that I could have done more for him if I'd 
started out differently. Oh well. Another glass of wine, waiter...

I'm glad some people still have better memories than mine has turned 
into...

-- 
Rgds
Peter.  Linux Counter 5290, 1994-04-23.



Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Alan McKinnon
On Sunday 27 June 2010 21:42:14 Mark Knecht wrote:
> >> >>> Failed to emerge dev-python/libgnomecanvas-python-2.28.0, Log file:
> > The build error is before this. Please post that.
> > 
> > Everything below is various elogs to tell you that an error occured, not
> > what it is.
> > 
> > 
> > 
> > --
> > alan dot mckinnon at gmail dot com
> 
> Yeah, should have posted more. Sorry.
> 
> Hopefully this will get you far enough back to take a guess. Seems
> that libpng12.la doesn't exist and indeed that file isn't there.

Missing libpng.so?

Hah, the dev responsible for that ought to be shot. It wreaked havoc with 
~arch a few months back, it's all in the archives in it's full glory.

The libpng ebuild has this message at the end, it's in your elogs:

"Run /usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)"

If stable is anything like unstable was, expect a long frustrating sequence of 
revdep-rebuild and preserved-rebuild to fix it all.

Personally, this is one of those things that I fixed and forgot all about 
(that's how frustrating it was). For the true facts, get the list archives.



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Mark Knecht
On Sun, Jun 27, 2010 at 1:35 PM, Alan McKinnon  wrote:
> On Sunday 27 June 2010 21:42:14 Mark Knecht wrote:
>> >> >>> Failed to emerge dev-python/libgnomecanvas-python-2.28.0, Log file:
>> > The build error is before this. Please post that.
>> >
>> > Everything below is various elogs to tell you that an error occured, not
>> > what it is.
>> >
>> >
>> >
>> > --
>> > alan dot mckinnon at gmail dot com
>>
>> Yeah, should have posted more. Sorry.
>>
>> Hopefully this will get you far enough back to take a guess. Seems
>> that libpng12.la doesn't exist and indeed that file isn't there.
>
> Missing libpng.so?
>
> Hah, the dev responsible for that ought to be shot. It wreaked havoc with
> ~arch a few months back, it's all in the archives in it's full glory.
>
> The libpng ebuild has this message at the end, it's in your elogs:
>
> "Run /usr/sbin/libpng-1.4.x-update.sh to fix libtool archives (.la)"
>
> If stable is anything like unstable was, expect a long frustrating sequence of
> revdep-rebuild and preserved-rebuild to fix it all.
>
> Personally, this is one of those things that I fixed and forgot all about
> (that's how frustrating it was). For the true facts, get the list archives.
>
>
>
> --
> alan dot mckinnon at gmail dot com
>

Thanks. I'll give that a try in a minute. I found that running
revdep-rebuild -i first failed showing the same sort of error and then
the second time passed showing now errors:

* Messages for package mail-client/evolution-2.28.3.1:

 * To change the default browser if you are not using GNOME, do:
 * gconftool-2 --set /desktop/gnome/url-handlers/http/command -t
string 'mozilla %s'
 * gconftool-2 --set /desktop/gnome/url-handlers/https/command -t
string 'mozilla %s'
 *
 * Replace 'mozilla %s' with which ever browser you use.
 *
 * Junk filters are now a run-time choice. You will get a choice of
 * bogofilter or spamassassin based on which you have installed
 *
 * You have to install one of these for the spam filtering to actually work
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: media-libs/libpng-1.4.3
 *  - /usr/lib64/libpng12.so
 *  - /usr/lib64/libpng12.so.0
 *  - /usr/lib64/libpng12.so.0.43.0
 *  used by
/opt/icedtea6-bin-1.8.0/jre/lib/amd64/libsplashscreen.so
(dev-java/icedtea6-bin-1.8.0)
 *  used by /usr/bin/baobab (gnome-extra/gnome-utils-2.28.3)
 *  used by /usr/bin/blackjack (gnome-extra/gnome-games-2.28.2)
 *  used by 152 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries
 * Build finished correctly. Removing temporary files...
 *
 * You can re-run revdep-rebuild to verify that all libraries and binaries
 * are fixed. Possible reasons for remaining inconsistencies include:
 *   orphaned files
 *   deep dependencies
 *   packages installed outside of portage's control
 *   specially-evaluated libraries
c2stable ~ # revdep-rebuild -ip
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]

 * Dynamic linking on your system is consistent... All done.
c2stable ~ #

emerge -p @preserved-rebuild still wants to build stuff so I'm
confused as the to the values of preserved-rebuild vs revdep-rebuild.
Things are getting confusing...

OK - tried your command but it's unclear whether it did anything:

c2stable ~ # /usr/sbin/libpng-1.4.x-update.sh
 * Fixing broken libtool archives (.la)
c2stable ~ #


emerge @preserved-rebuild is now running again. I'll post back results later.

Thanks,
Mark



[gentoo-user] vbox gentoo guest mac address issue

2010-06-27 Thread pat
Hello,

I have running gentoo vbox guest image. I've made its clone using VBoxManage
clonehd ... and setup new vbox guest using this system copy. Everything is
same except MAC address. When starting system from this cloned image I've got
an eth0 failure. It looks like the original MAC address is somewhere cached in
the cloned system. I've googled how to reset this cached MAC address but
without luck :-(

Please, could you help me?

Thanks

 Pat



Freehosting PIPNI - http://www.pipni.cz/



[SOLVED] Re: [gentoo-user] vbox gentoo guest mac address issue

2010-06-27 Thread pat
On Sun, 27 Jun 2010 23:45:00 +0200, pat wrote
> Hello,
> 
> I have running gentoo vbox guest image. I've made its clone using VBoxManage
> clonehd ... and setup new vbox guest using this system copy. 
> Everything is same except MAC address. When starting system from 
> this cloned image I've got an eth0 failure. It looks like the 
> original MAC address is somewhere cached in the cloned system. I've 
> googled how to reset this cached MAC address but without luck :-(
> 
> Please, could you help me?
> 
> Thanks
> 
>  Pat

OK, last try solved the issue :-) Edit MAC address for eth0
/etc/udev/rules.d/70-persistent-net.rules and comment other eth interfaces.

 Pat



Freehosting PIPNI - http://www.pipni.cz/



Re: [gentoo-user] emerge @preserved-rebuild failure...

2010-06-27 Thread Mark Knecht
On Sun, Jun 27, 2010 at 1:59 PM, Mark Knecht  wrote:

>
>
> emerge @preserved-rebuild is now running again. I'll post back results later.
>
> Thanks,
> Mark
>

So it seems that after a couple of times through each of these tools,
and along with changes to firefox-bin to take care of new Flash
concerns someone is raising, things are fixed and the machine are
clean.

Thanks for the pointer on the libpng fixer. I don't see why this sort
of thing should be showing up on a stable release. Seems more the sort
of thing that should be worked out much earlier.

Cheers,
Mark



Re: [gentoo-user] X Windows setup questions on my new machine

2010-06-27 Thread waltdnes
On Sun, Jun 27, 2010 at 08:26:25AM -0400, Willie Wong wrote

> Also, have you tried just using larger fonts on the console? If you
> emerge sys-apps/kbd, there should be some fonts in
> /usr/share/consolefonts. You can use "setfont " to test which
> one you want to use (some of them are bigger fonts). You may also want
> to try media-fonts/terminus-font (what I use), it claims to have a
> 16x32 variant which is twice as large as the default console fonts. 

  Thanks for the idea.  I'm now using sun12x22.  It gives me 160 columns
by 54 rows.  It's perfectly readable, although the right half of the
text console screen is blank most of the time.  Oh well, I'll probably
be using "vsplit" in vim a lot more now.

> After finding a font you like you can set it in
> /etc/conf.d/consolefont to automatically load at boot time. 

  I used to do that with vga=6 in /etc/lilo.conf and lat1-10 in
/etc/conf.d/consolefont which combined to give me a nice crisp 48 row
display.

-- 
Walter Dnes 



[gentoo-user] VM experiences and faqs?

2010-06-27 Thread waltdnes
  I have a 4-core Intel i3 (/proc/cpuinfo dump below) running 64 bit
Gentoo.  I want to try hosting 32-bit Gentoo and also OS/2 Warp 4 on it.
What are people's experiences with different VM environments?  Google
searching turns up a lot of out-of-date blogs/wikis.  My CPU...

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 37
model name  : Intel(R) Core(TM) i3 CPU 530  @ 2.93GHz
stepping: 2
cpu MHz : 2933.000
cache size  : 4096 KB
physical id : 0
siblings: 4
core id : 2
cpu cores   : 2
apicid  : 5
initial apicid  : 5
fpu : yes
fpu_exception   : yes
cpuid level : 11
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good
xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2
ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat tpr_shadow vnmi
flexpriority ept vpid
bogomips: 5851.93
clflush size: 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:


-- 
Walter Dnes