Re: [gentoo-user] Re: Lilo vs. LVM

2010-09-05 Thread Alan McKinnon
Apparently, though unproven, at 23:03 on Saturday 04 September 2010, walt did 
opine thusly:

 On 09/04/2010 07:11 AM, Konstantinos Agouros wrote:
  Hi,
  
  I have a VM with a gentoo guest. For testing I set it up with an LVM
  Volume Group that consisted of only one disk. Now I added a 2nd resized
 
  the FS but lilo stopped working. When I call it I get:
 Way back when I was using LILO, it had to be reinstalled to the boot block
 of the boot drive whenever the partition table changed.  The partition
 table was hard-wired into the boot block, so naturally the boot block
 needed to be updated.  Dunno if LILO still does that, and I can't recall
 how to re-install the boot block, either :/
 
  Is maybe grub the answer to my problem?
 
 That's what I use, and it's not subject to the re-install problem.
 Bit of a learning curve at first, but worth it IMO.

Well, they are boot loaders,

BOOT_LOADERS ARE DIFFERENT. VERY DIFFERENT.

Not shouting, just emphasis. One cannot think of boot-loaders in OS terms, as 
they are not the OS.

lilo does indeed need to be re-written to disk when the partition table 
changes, it does not have the ability to dynamically read a disk, it has no 
clue what a file or an fs is. This makes life simple, but you need to remember 
the extra step.

grub does support dynamically reading disks, meaning there's no extra step 
when making changes. But it did move the complexity into menu.lst.

Which one to use? It's a trade-off. Decide for yourselves where you want the 
complexity to be, and use that one. You will never eliminate the complexity of 
a boot loader, you can however contain it somewhere YOU are familiar with and 
where you feel comfortable working with it.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Lilo vs. LVM

2010-09-05 Thread Konstantinos Agouros
In aanlkti=z6rz7umnm3jbcupbvbehpqzt4xsd=l_hfa...@mail.gmail.com 
oss.el...@googlemail.com (Al) writes:

2010/9/4 Konstantinos Agouros elw...@agouros.de:
 Hi,

 I have a VM with a gentoo guest. For testing I set it up with an LVM
 Volume Group that consisted of only one disk. Now I added a 2nd resized
 the FS but lilo stopped working. When I call it I get:

 # lilo
 device-mapper: table ioctl failed: No such device or address
 Fatal: device-mapper: dm_task_run(DM_DEVICE_TABLE) failed

 /boot is also on the LVM volume.

 Is maybe grub the answer to my problem?

A don't think so. Grub has more features comparing lilo. More features
== more complex. Dealing with VM, LVM and lilo is already one level of
complexity to much if you ask.
So how would You solve this?

-- 
Dipl-Inf. Konstantin Agouros aka Elwood Blues. Internet: elw...@agouros.de
Altersheimerstr. 1, 81545 Muenchen, Germany. Tel +49 89 69370185

Captain, this ship will not survive the forming of the cosmos. B'Elana Torres



Re: [gentoo-user] Re: Old IDE drives and the newer PATA kernel drivers

2010-09-05 Thread Peter Humphrey
On Saturday 04 September 2010 08:23:41 Nikos Chantziaras wrote:

 Something seems screwed in your config.  Try creating a new test user
 and login with that one.  See if it still happens there.

You're right. I did that and info:grub was displayed properly in 
Konqueror. Now to find what's gone wrong.

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



Re: [gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-05 Thread Stroller


On 4 Sep 2010, at 15:32, Neil Bothwick wrote:

On Sat, 4 Sep 2010 12:15:01 +0100, Stroller wrote:


Needed to use:

PORTAGE_ELOG_MAILURI=use...@mydomain.com mymailserver.com


I've got it without that, Portage 2.1.8.3.

$ grep ELOG /etc/make.conf
PORTAGE_ELOG_CLASSES=warn error log
PORTAGE_ELOG_SYSTEM=save mail
PORTAGE_ELOG_MAILURI=root
PORTAGE_ELOG_MAILFROM=port...@hex
$

Works fine here.


Are you running a mailserver on localhost?


Well, David's problem is SOLVED now, so I'm not sure that it matters,  
but yes.


I assumed he would also have to be running a sendmail-replacement for  
the example he gave to work:



echo testing use...@mydomain.com | \
mail -stesting  use...@mydomain.com use...@mydomain.com


I kinda assumed his problem was that `mail` would provide a valid  
sender address, whereas the upstream ISP might reject mails from  
portage with a dodgy from address.


Stroller.




Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-05 Thread Mick
On Saturday 04 September 2010 23:30:55 you wrote:
 On Saturday 04 September 2010 22:43:01 kashani wrote:
  On 9/3/2010 10:53 PM, Jarry wrote:
   On 31. 8. 2010 20:30, Mick wrote:
   I stop apach mysql, run the update, dispatch-conf and then restart
   them both. Haven't had problems since.
   
   I tried it that way:
   
   /etc/init.d/apache2 stop
   /etc/init.d/mysql stop
   emerge --ask --update --deep --newuse world
   emerge --depclean
   revdep-rebuild
   /etc/init.d/mysql start
   /etc/init.d/apache2 start
   
   Still the same: databases are gone, mysql is empty. Only users
   are there. This is strange: how can updating mysql from one stable
   version to higher stable cause complete loss of databases???
   
   Jarry
  
  IIRC the default my.cnf changed for the worse in Gentoo's 5.1.x ebuild.
  Try making a copy of your original my.cnf and put it into place once
  you've upgraded. Else you may need to modify the mysql home and data
  paths in the new my.cnf to reflect where the database are actually
  installed.
 
 I just updated to mysql-5.1.50-r1  on a x86 box, ran revdep-rebuild which
 amidst others rebuilt apache and php and all is good now.  dispatch-conf
 updated only a couple of lines on the config file.
 
 The default paths were not affected on any of the 5 mysql databases I'm
 running currently.

Oops!  I spake too soon!  :-(

I cannot access two databases.  Both have #mysql50# infront of the name of the 
original database.  What does this mean?  How do I fix it?  Other databases 
are fine, their names appearing without this strange prefix.
-- 
Regards,
Mick


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


Re: [gentoo-user] Proper way of updating mysql from 5.0.90-r2 to 5.1.50?

2010-09-05 Thread Mick
On Sunday 05 September 2010 10:29:29 you wrote:
 On Saturday 04 September 2010 23:30:55 you wrote:
  On Saturday 04 September 2010 22:43:01 kashani wrote:
   On 9/3/2010 10:53 PM, Jarry wrote:
On 31. 8. 2010 20:30, Mick wrote:
I stop apach mysql, run the update, dispatch-conf and then restart
them both. Haven't had problems since.

I tried it that way:

/etc/init.d/apache2 stop
/etc/init.d/mysql stop
emerge --ask --update --deep --newuse world
emerge --depclean
revdep-rebuild
/etc/init.d/mysql start
/etc/init.d/apache2 start

Still the same: databases are gone, mysql is empty. Only users
are there. This is strange: how can updating mysql from one stable
version to higher stable cause complete loss of databases???

Jarry
   
   IIRC the default my.cnf changed for the worse in Gentoo's 5.1.x ebuild.
   Try making a copy of your original my.cnf and put it into place once
   you've upgraded. Else you may need to modify the mysql home and data
   paths in the new my.cnf to reflect where the database are actually
   installed.
  
  I just updated to mysql-5.1.50-r1  on a x86 box, ran revdep-rebuild which
  amidst others rebuilt apache and php and all is good now.  dispatch-conf
  updated only a couple of lines on the config file.
  
  The default paths were not affected on any of the 5 mysql databases I'm
  running currently.
 
 Oops!  I spake too soon!  :-(
 
 I cannot access two databases.  Both have #mysql50# infront of the name of
 the original database.  What does this mean?  How do I fix it?  Other
 databases are fine, their names appearing without this strange prefix.

I found the solution:

mysql  ALTER DATABASE `#mysql50#dbname` UPGRADE DATA DIRECTORY NAME;

as described here: 

http://mattiasgeniar.be/2010/08/07/mysql-upgrade-to-5-1-database-name-prefix-
mysql50/

I am not sure if this is related with the problem that the O/P had - 
disappearing databases.  The symptoms when the database with the new prefix is 
used to drive a CMS, was an error by apache saying that the database does not 
exist.  Of course, it does exist but its name now has a funny prefix.

Running mysql -u root -p and SHOW DATABASES; led me to finding out that the 
name had changed.  BTW, /var/lib/mysql still showed the non-prefixed db names.

Anyway, the above link was very helpful in resolving my problem.
-- 
Regards,
Mick


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


Re: [gentoo-user] Baselayout 1.12.13 bug 291916

2010-09-05 Thread Philip Webb
100904 Mick wrote:
 On Saturday 04 September 2010 13:20:06 Philip Webb wrote:
 Today I ran into bug 291916.
 I updated my Asus EEE netbook to Baselayout 1.12.13  got the messages
 assuming udev failed somewhere, as /dev/zero does not exist etc ;
 downgrading back to Baselayout 1.12.11.1 solved the problem.
 I've been using 1.12.13 on the desktop since 2009-11-14 w/o problems.
 What is the current proper practice when upgrading to Baselayout 1.12.13 ?
 I did not have this problem on two x86 and one amd64 systems.
 My amd64 box has:
   $ cat /usr/src/linux/.config | grep CONFIG_SYSFS
   # CONFIG_SYSFS_DEPRECATED_V2 is not set
   CONFIG_SYSFS=y
 Isn't this simply a matter of configuring your kernel accordingly?

No, it isn't ! -- I had already noticed that suggestion in Forum entries.
My netbook shows exactly the same reply as you show for your AMD64 box.

Thanks for trying to help.  Any further suggestions welcome.

 Or is the best solution to move to Baselayout 2 ?

Does anyone have thoughts on this part ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] OT: advice sought on new laptop for Gentoo

2010-09-05 Thread John Blinka
Hi, all,

My trusty Inspiron 8200 is on death's door and so I'm looking for a
new laptop - one that will run Gentoo straightforwardly, of course.

I really liked the 1600x1200 display on this machine, which I greatly
prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
 Most of what I do now is through a web browser, and I can see much
more of a web page with 1200 lines of display than I can with 900.
And I dislike the massive width of the 1545 which makes it much less
portable than the old 8200.  I'd love to replace my 8200 with a
machine of similar dimensions, but thinner and lighter.  However, I
cannot find any machine on Dell's website with a 4x3 aspect ratio -
they all seem to be approximately 16x9 now.

So,  is 16x9 all that's available now in laptops?

If I'm stuck with a 16x9 aspect ratio, then I'd like to get something
significantly narrower and more portable than my 1545 (14.75, 37.5 cm
wide) and with as many horizontal lines in the display as possible.

Any suggestions?

(And, yes, I'm open to a non-Dell solution.)

Thanks for your suggestions,

John Blinka



Re: [gentoo-user] OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Florian Philipp
Am 05.09.2010 14:58, schrieb John Blinka:
 Hi, all,
 
 My trusty Inspiron 8200 is on death's door and so I'm looking for a
 new laptop - one that will run Gentoo straightforwardly, of course.
 
 I really liked the 1600x1200 display on this machine, which I greatly
 prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  Most of what I do now is through a web browser, and I can see much
 more of a web page with 1200 lines of display than I can with 900.
 And I dislike the massive width of the 1545 which makes it much less
 portable than the old 8200.  I'd love to replace my 8200 with a
 machine of similar dimensions, but thinner and lighter.  However, I
 cannot find any machine on Dell's website with a 4x3 aspect ratio -
 they all seem to be approximately 16x9 now.
 
 So,  is 16x9 all that's available now in laptops?
 
 If I'm stuck with a 16x9 aspect ratio, then I'd like to get something
 significantly narrower and more portable than my 1545 (14.75, 37.5 cm
 wide) and with as many horizontal lines in the display as possible.
 
 Any suggestions?
 
 (And, yes, I'm open to a non-Dell solution.)
 
 Thanks for your suggestions,
 
 John Blinka
 

I couldn't find a 4:3 laptop when I tried to replace my Dell Latitude
D520 which had a marvelous 1400x1050 display, either.

In the end I settled for an HP ProBook 6450b with the better display
option of 1600x900 (14). The whole case is 33.5cm wide.

All at all pretty good.

Wifi drivers are not in-kernel but in portage (broadcom-sta). Everything
else works out-of-box.

Keyboard is also good for typing but needs a bit more pressure than the
Dell.

The docking station is inferior to Dell's. No SPDIF output and it lifts
the laptop to quite some angle.
On the plus side it has eSATA and the larger one even a built-in HDD.

Performance and noise levels are also good.

Hope this helps.
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] is Hal required for a Synaptics touchpad ? -- SOLVED

2010-09-05 Thread Philip Webb
100904 Florian Philipp wrote:
 Am 04.09.2010 14:13, schrieb Philip Webb:
 I successfully removed Hal from my desktop machine some time ago.
 Today, I tried removing it from my ASUS EEE netbook :
 I dropped 'hald' from the default runlevel,
  recompiled Xorg-server + Xf86-input-synaptics with USE=-hal,
 but after X opens, everything is frozen (no touchpad, no keys).
 Is anyone else using a touchpad w/o Hal ?  Any suggestions ?
 Try switching to xorg-server-1.8.2 and xorg-drivers-1.8
 Make sure the udev use flag is enabled.  Hope this helps

Yes, it did ! -- Between  3  machines with different specs,
it's difficult to keep track of every detail:
I updated to the latest testing version of everything,
incl Xinit  the  3  specific driver pkgs,
 added 'udev' to the list in  make.conf , the overlooked detail.
I had forgotten how recently I removed Hal from my regular machine
-- 100703 --  that I had to upgrade to 1.8 versions before doing so.

Thanks to Walt too, who also offered advice.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




[gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Grant Edwards
On 2010-09-05, John Blinka john.bli...@gmail.com wrote:
 Hi, all,

 My trusty Inspiron 8200 is on death's door and so I'm looking for a
 new laptop - one that will run Gentoo straightforwardly, of course.

 I really liked the 1600x1200 display on this machine, which I greatly
 prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  Most of what I do now is through a web browser, and I can see much
 more of a web page with 1200 lines of display than I can with 900.
 And I dislike the massive width of the 1545 which makes it much less
 portable than the old 8200.  I'd love to replace my 8200 with a
 machine of similar dimensions, but thinner and lighter.  However, I
 cannot find any machine on Dell's website with a 4x3 aspect ratio -
 they all seem to be approximately 16x9 now.

 So,  is 16x9 all that's available now in laptops?

Yup, and 16x9 sucks -- it's just an excuse to ship smaller,
lower-resolution displays labelled with bigger numbers.

Complete ripoff.

-- 
Grant






Re: [gentoo-user] OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Al
2010/9/5 John Blinka john.bli...@gmail.com:
 Hi, all,

 My trusty Inspiron 8200 is on death's door and so I'm looking for a
 new laptop - one that will run Gentoo straightforwardly, of course.

 I really liked the 1600x1200 display on this machine, which I greatly
 prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  Most of what I do now is through a web browser, and I can see much
 more of a web page with 1200 lines of display than I can with 900.
 And I dislike the massive width of the 1545 which makes it much less
 portable than the old 8200.  I'd love to replace my 8200 with a
 machine of similar dimensions, but thinner and lighter.  However, I
 cannot find any machine on Dell's website with a 4x3 aspect ratio -
 they all seem to be approximately 16x9 now.

 So,  is 16x9 all that's available now in laptops?

 If I'm stuck with a 16x9 aspect ratio, then I'd like to get something
 significantly narrower and more portable than my 1545 (14.75, 37.5 cm
 wide) and with as many horizontal lines in the display as possible.

 Any suggestions?


The typical recommondation I read is Thinkpad.

Do a general search for linux laptops. I.e. I find:
http://linuxcertified.com/linux-laptop-lctp.html

Maybe look at ebay.

Al



Re: [gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-05 Thread David Relson
On Sun, 5 Sep 2010 10:14:18 +0100
Stroller wrote:

 
 On 4 Sep 2010, at 15:32, Neil Bothwick wrote:
  On Sat, 4 Sep 2010 12:15:01 +0100, Stroller wrote:
 
  Needed to use:
 
  PORTAGE_ELOG_MAILURI=use...@mydomain.com mymailserver.com
 
  I've got it without that, Portage 2.1.8.3.
 
  $ grep ELOG /etc/make.conf
  PORTAGE_ELOG_CLASSES=warn error log
  PORTAGE_ELOG_SYSTEM=save mail
  PORTAGE_ELOG_MAILURI=root
  PORTAGE_ELOG_MAILFROM=port...@hex
  $
 
  Works fine here.
 
  Are you running a mailserver on localhost?
 
 Well, David's problem is SOLVED now, so I'm not sure that it
 matters, but yes.
 
 I assumed he would also have to be running a sendmail-replacement
 for the example he gave to work:
 
  echo testing use...@mydomain.com | \
  mail -stesting  use...@mydomain.com use...@mydomain.com
 
 I kinda assumed his problem was that `mail` would provide a valid  
 sender address, whereas the upstream ISP might reject mails from  
 portage with a dodgy from address.
 
 Stroller.
 

OP here ...

Having my own domain, I run my own mailserver -- but it's not on my
gentoo development machine.  I read the emerge python code,
specifically mail.py, to find how PORTAGE_ELOG_MAILURI is handled.
Reading the code lead me to (finally) realize that I need to have a
PORTAGE_ELOG_MAILURI value with two (2) fields separated by a space
character.

David



[gentoo-user] Trying to configure alsa for INTEL HDA (ATI)

2010-09-05 Thread meino . cramer

Hi,

on my mobo there is the following audio related PCI-items (exerpt
from lspci):

00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
The current lsmod gives me:

snd_hda_codec_atihdmi 1807  0
snd_pcm_oss32995  0
nvidia  10064990  28
snd_hda_intel  17672  0
snd_hda_codec  58749  2 snd_hda_codec_atihdmi,snd_hda_intel
snd_hwdep   4666  1 snd_hda_codec
gspca_ov534 8259  0
gspca_main 21185  1 gspca_ov534
pcspkr  1359  0
snd_pcm57410  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd_page_alloc  5565  2 snd_hda_intel,snd_pcm

I did an alsaconf- and update-modules-reboot-cycle, but the only thing
I get with alsamixer are four bars:
master,pcm,capture,digital

Seems a little too less for high definit audio, or ?

Ok, there is sound...but I would had expected a little more for
that HD-thingy...

What did I wrong here? What frog I have to kiss to get back a
princess? ;)

Hardware/Software:
Linux kerenl 2.6.34.6 (vanilla)
alsa-utils/alsa-lib 1.0.23
Mobo: ASUS Crosshair IV formula

Thanks in advance for any help!

Best regards,
mcc








Re: [gentoo-user] SOLVED: problem with PORTAGE_ELOG_MAILURI

2010-09-05 Thread Alex Schuster
David Relson writes:

 Having my own domain, I run my own mailserver -- but it's not on my
 gentoo development machine.  I read the emerge python code,
 specifically mail.py, to find how PORTAGE_ELOG_MAILURI is handled.
 Reading the code lead me to (finally) realize that I need to have a
 PORTAGE_ELOG_MAILURI value with two (2) fields separated by a space
 character.

There is some documentation in /usr/share/portage/config/make.conf.example:

# PORTAGE_ELOG_MAILURI: this variable holds all important settings for the mail
#   module. In most cases listing the recipient address and
#   the receiving mailserver should be sufficient, but you 
can
#   also use advanced settings like authentication or TLS. 
The
#   full syntax is:
#   address [[user:pas...@]mailserver[:port]]
#   where
#   address:recipient address
#   user:   username for smtp auth (defaults to 
none)
#   passwd: password for smtp auth (defaults to 
none)
#   mailserver: smtp server that should be used to 
deliver
the mail (defaults to localhost)
#   alternatively this can also be a the 
path to a
sendmail binary if you don't want to 
use smtp
#   port:   port to use on the given smtp server 
(defaults
to 25, values  10 indicate that 
starttls
should be used on (port-10))
#   Examples:
#PORTAGE_ELOG_MAILURI=r...@localhost localhost (this is also the default 
setting)
#PORTAGE_ELOG_MAILURI=u...@some.domain mail.some.domain (sends mails to 
u...@some.domain using the mailserver mail.some.domain)
#PORTAGE_ELOG_MAILURI=u...@some.domain user:sec...@mail.some.domain:100465 
(this is left uncommented as a reader exercise ;)

Wonko



[gentoo-user] Re: creating ssh account without directory browsing

2010-09-05 Thread Kalkin Sam
Hi,

Young padawan Tamer Higazi th9...@googlemail.com spoke:

 Everytime I uncomment: ChrootDirectory /work and I try to connect, I
 receive this message on the console:

 Write failed: Broken pipe


 Any ideas?!

Yes RTFM and Google :)

man sshd_config and look at ChrootDirectory entry:
cite All components of the pathname must be root-owned directories
that are not writable by any other user or group.  After the chroot,
sshd(8) changes the working directory to the user's home
directory/cite

Here an Ubuntu forum which handles the same problem:
http://ubuntuforums.org/showthread.php?t=1482005

kalkin-

-- 
Paranoid sein heisst frei sein
   (Hal Faber)




Re: [gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Alan McKinnon
Apparently, though unproven, at 17:18 on Sunday 05 September 2010, Grant 
Edwards did opine thusly:

 On 2010-09-05, John Blinka john.bli...@gmail.com wrote:
  Hi, all,
  
  My trusty Inspiron 8200 is on death's door and so I'm looking for a
  new laptop - one that will run Gentoo straightforwardly, of course.
  
  I really liked the 1600x1200 display on this machine, which I greatly
  prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  
   Most of what I do now is through a web browser, and I can see much
  
  more of a web page with 1200 lines of display than I can with 900.
  And I dislike the massive width of the 1545 which makes it much less
  portable than the old 8200.  I'd love to replace my 8200 with a
  machine of similar dimensions, but thinner and lighter.  However, I
  cannot find any machine on Dell's website with a 4x3 aspect ratio -
  they all seem to be approximately 16x9 now.
  
  So,  is 16x9 all that's available now in laptops?
 
 Yup, and 16x9 sucks -- it's just an excuse to ship smaller,
 lower-resolution displays labelled with bigger numbers.
 
 Complete ripoff.


If you have 16:9 at 1280*720, then yes, it is going to suck. There is nothing 
inherently wrong with the aspect ratio, please desist from trying to make it 
so.

There are good reasons for it. It most easily fits the overall dimensions of 
the machine, you have a wide and not very deep keyboard plus space for a 
touchpad and palm rests. It's all approximately 16:9. I paid the extra to get 
16:9 @ 1920x1200. Best thing I ever did laptop-wise - I can get two webpages 
side by side on the screen looking very natural.

Did you know that 16:9 is the eye's natural aspect ratio? Test it sometime 
with outstreched fingers.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Allan Gottlieb
Alan McKinnon alan.mckin...@gmail.com writes:

 Apparently, though unproven, at 17:18 on Sunday 05 September 2010, Grant 
 Edwards did opine thusly:

 On 2010-09-05, John Blinka john.bli...@gmail.com wrote:
  Hi, all,
  
  My trusty Inspiron 8200 is on death's door and so I'm looking for a
  new laptop - one that will run Gentoo straightforwardly, of course.
  
  I really liked the 1600x1200 display on this machine, which I greatly
  prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  
   Most of what I do now is through a web browser, and I can see much
  
  more of a web page with 1200 lines of display than I can with 900.
  And I dislike the massive width of the 1545 which makes it much less
  portable than the old 8200.  I'd love to replace my 8200 with a
  machine of similar dimensions, but thinner and lighter.  However, I
  cannot find any machine on Dell's website with a 4x3 aspect ratio -
  they all seem to be approximately 16x9 now.
  
  So,  is 16x9 all that's available now in laptops?
 
 Yup, and 16x9 sucks -- it's just an excuse to ship smaller,
 lower-resolution displays labelled with bigger numbers.

 If you have 16:9 at 1280*720, then yes, it is going to suck. There is nothing 
 inherently wrong with the aspect ratio, please desist from trying to make it 
 so.

 There are good reasons for it. It most easily fits the overall dimensions of 
 the machine, you have a wide and not very deep keyboard plus space for a 
 touchpad and palm rests. It's all approximately 16:9. I paid the extra to get 
 16:9 @ 1920x1200. Best thing I ever did laptop-wise - I can get two webpages 
 side by side on the screen looking very natural.

I agree with the thrust of Alan's reply, but his numbers require
nonsquare pixels.

With square pixels 16x9 is 1920x1080 (so called full HD is 1080p).  This
is my laptop's display.

My big (30) monitor is 16x10 (2560x1600) and is a joy to use.  I prefer
the current wide aspect ratio better then the previous 4x3 standard.

allan



[gentoo-user] [Chong Yidong] Re: bug#6987: 23.2; failure adding --group-directories-first to dired-listing-switches

2010-09-05 Thread Allan Gottlieb
Chong has fixed this *already*.
allan

---BeginMessage---
Allan Gottlieb gottl...@nyu.edu writes:

 emacs -Q
 (setq dired-listing-switches --group-directories-first -l)
 M-x dired

 Although typing s in dired correctly alternates the sorting between
 by name and by date, the mode line always says by date

Thanks, I've checked in a fix.

---End Message---


[gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Grant Edwards
On 2010-09-05, Alan McKinnon alan.mckin...@gmail.com wrote:
 Apparently, though unproven, at 17:18 on Sunday 05 September 2010, Grant 
 Edwards did opine thusly:

 On 2010-09-05, John Blinka john.bli...@gmail.com wrote:
  Hi, all,
  
  My trusty Inspiron 8200 is on death's door and so I'm looking for a
  new laptop - one that will run Gentoo straightforwardly, of course.
  
  I really liked the 1600x1200 display on this machine, which I greatly
  prefer to the 1600x900 display on the more modern Inspiron 1545 I own.
  
   Most of what I do now is through a web browser, and I can see much
  
  more of a web page with 1200 lines of display than I can with 900.
  And I dislike the massive width of the 1545 which makes it much less
  portable than the old 8200.  I'd love to replace my 8200 with a
  machine of similar dimensions, but thinner and lighter.  However, I
  cannot find any machine on Dell's website with a 4x3 aspect ratio -
  they all seem to be approximately 16x9 now.
  
  So,  is 16x9 all that's available now in laptops?
 
 Yup, and 16x9 sucks -- it's just an excuse to ship smaller,
 lower-resolution displays labelled with bigger numbers.
 
 Complete ripoff.

 If you have 16:9 at 1280*720, then yes, it is going to suck. There is nothing 
 inherently wrong with the aspect ratio, please desist from trying to make it 
 so.

Yes, there is an inherent problem: in order to get what I consider
acceptable vertical size/resolution you have to buy something that's
rediculously wide.

 There are good reasons for it. It most easily fits the overall
 dimensions of the machine, you have a wide and not very deep keyboard
 plus space for a touchpad and palm rests. It's all approximately
 16:9.

No it's not.  At least only on any of my laptops.  I suppose you can
tack on a useless numeric keypat to try to take up some of the extra
horizontal space that's required in order to get a screen that's tall
enough to be useful.

 I paid the extra to get 16:9 @ 1920x1200. Best thing I ever did
 laptop-wise - I can get two webpages side by side on the screen
 looking very natural.

 Did you know that 16:9 is the eye's natural aspect ratio?

How do you explain the widespread popularity of portrait mode for
printed material?  Text is much easier to read in tall, narrow,
columns.  The more lines of code you can see at once when editing
source code, the fewer the bugs.  Both those have been experimentally
verified.

 Test it sometime with outstreched fingers.

I still vastly prefer 4:3 for all of the work I do.  I guess if you
want to watch movies, and you don't mind hauling around a useless
numeric keypad, 16:9 is nice.

-- 
Grant




Re: [gentoo-user] Re: OT: advice sought on new laptop for Gentoo

2010-09-05 Thread Al

 How do you explain the widespread popularity of portrait mode for
 printed material?  Text is much easier to read in tall, narrow,
 columns.  The more lines of code you can see at once when editing
 source code, the fewer the bugs.  Both those have been experimentally
 verified.

And I like to have two documents open side by side. It has been
verified, that writing code und tests side by side reduces bugs much
more than debugging after writing the code.

Al



[gentoo-user] How to fix circular dependency?

2010-09-05 Thread Ajai Khattri


This box hasn't been updated in awhile:

# emerge -uDtav1k portage

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[nomerge  ] sys-apps/portage-2.1.8.3 [2.1.6.4] USE=-python3%
[nomerge  ]  dev-lang/python-2.6.5-r3 [2.4.4-r14, 2.5.2-r7] 
USE=berkdb gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml 
-build -doc -examples -sqlite -tk -wininst

[nomerge  ]   app-admin/eselect-python-20100321
[nomerge  ]sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl openmp 
(-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -graphite 
-gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nls 
-nocxx -objc -objc++ -objc-gc -test -vanilla

[ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE=-gd% -vanilla%
[ebuild  NS   ]  sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl 
openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj 
-graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) 
-nls -nocxx -objc -objc++ -objc-gc -test -vanilla


 * Error: circular dependencies:

('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
  ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (hard)
('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on
  ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (hard)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


--
Aj.



Re: [gentoo-user] How to fix circular dependency?

2010-09-05 Thread Dale

Ajai Khattri wrote:


This box hasn't been updated in awhile:

# emerge -uDtav1k portage

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[nomerge  ] sys-apps/portage-2.1.8.3 [2.1.6.4] USE=-python3%
[nomerge  ]  dev-lang/python-2.6.5-r3 [2.4.4-r14, 2.5.2-r7] 
USE=berkdb gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml 
-build -doc -examples -sqlite -tk -wininst

[nomerge  ]   app-admin/eselect-python-20100321
[nomerge  ]sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl 
openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj 
-graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) 
(-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla

[ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE=-gd% -vanilla%
[ebuild  NS   ]  sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl 
openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj 
-graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) 
(-n64) -nls -nocxx -objc -objc++ -objc-gc -test -vanilla


 * Error: circular dependencies:

('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
  ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (hard)
('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on
  ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (hard)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.




Try this:

emerge -1av =*glibc*-2.10.1-r1

Then try to finish the upgrade.

Hope that helps.

Dale

:-)  :-)