Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Boyd Stephen Smith Jr.
On Sunday 26 February 2006 00:14, "Nick Smith" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] re-scanning for devices':
> > > also, what if it detects a drive as sda, and i want it to be sdb? is
> > > there a way i can tell it what i want to be sda, sda etc? without
> > > actually having to move the drives around?
> >
> > Write udev rules to create persistent device names.
>
> its actually running a 2.4 kernel on sparc, and i dont think they use
> udev, i think they are still on devfs. IIRC. is udev the only way to
> accomplish this?

Yes, which is one of the main reasons users and distributions wanted to get 
away from devfs.  devfs always uses the kernel name for the device, which 
depends on the order the devices are detected, which depends on module 
loading order and physical device arrangement.

With sysfs around it would be possible to find out the kernel name of a 
device based on persistent attributes which intelligent find and grep-ing.  
That would be a "pull" way of doing what udev does in a "push" way.

In this case, it's fairly clear (to me, I suppose this could be just my 
opinion) that the push way is more efficient and less-error prone.

Depending on you exact needs, you may be able to use UUIDs and filesystem 
labels, instead of persistent device nodes.  Recent versions of mount will 
scan for either [including when invoked based on fstab], LVM, EVMS, and 
mdadm use UUIDs rather than device names.  The mini-tool findfs, provided 
on my system by e2fsprogs (weird), is able to map either to a device name 
(despite the package that provides it, it does successfully find my reiser 
filesystems on LVM by either).

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Richard Fish
On 2/25/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> its actually running a 2.4 kernel on sparc, and i dont think they use
> udev, i think they are still on devfs. IIRC. is udev the only way to
> accomplish this?

Well, for hotplug, I'm not sure.  It has been too long since I ran a
2.4 kernel.  There are _massive_ improvements in hotplug support in
2.6 over 2.4.  For persistent device names, udev is the only way.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Boyd Stephen Smith Jr.
On Saturday 25 February 2006 23:51, "Richard Fish" <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] re-scanning for devices':
> On 2/25/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> > is there a way to rescan for devices after bootup? like if i
> > hot-plugged a scsi drive into the machine after it was already
> > running? how can i re-detect the hardware?
>
> If you are using udev, and have configured the kernel for hotplug
> support, this should not be necessary.  The kernel will generate the
> appropriate hotplug events, and udev will create the device nodes.

Not quite.  SCSI (and possibly SATA, since it works though the SCSI 
interface in the kernel [1]) require an extra step when hotplugging, to 
scan a particular LUN:

echo 'add-single-device ' > /proc/scsi/scsi

You'll also have to use 'remove-single-device' w/ the same syntax to remove 
the device node for a scsi device that has been removed.

These commands will cause the necessary events to get sent to udev (or 
devfsd if you are still running that).  They are definitely not needed 
(nor should they be used) for buses that support new device notification, 
like USB or FireWire (tm). [2]

Finally, in kernels at least as recent as 2.6.16-rc1, attempting to add a 
device with the same chain, target, id, and lun as a device that has been 
removed will fail and generate some weird dmesg noise.  It won't panic or 
corrupt the kernel (or subsystem or even module), put it does put some 
practical limit on how much scsi hotplugging you can do before needed to 
reboot.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

[1] and [2]: All of this comes from my experience with SATA drives, but 
they are going through a hw raid controller that may be simply exposing 
SCSI devices, not SATA devices.  If SATA does have some sort of "device 
notification", I'll bet the SCSI "dance" doesn't have to be done -- but it 
my case it does.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Nick Smith
On 2/26/06, Richard Fish <[EMAIL PROTECTED]> wrote:
> On 2/25/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> > is there a way to rescan for devices after bootup? like if i
> > hot-plugged a scsi drive into the machine after it was already
> > running? how can i re-detect the hardware?
>
> If you are using udev, and have configured the kernel for hotplug
> support, this should not be necessary.  The kernel will generate the
> appropriate hotplug events, and udev will create the device nodes.
>
> >
> > also, what if it detects a drive as sda, and i want it to be sdb? is
> > there a way i can tell it what i want to be sda, sda etc? without
> > actually having to move the drives around?
>
> Write udev rules to create persistent device names.
>
> An example:
> BUS=="usb", KERNEL=="sd[a-z]2", SYSFS{serial}=="30005AF6",
> SYMLINK="%k", NAME="backups%e"
>
> -Richard
>
> --
> gentoo-user@gentoo.org mailing list
>
>
its actually running a 2.4 kernel on sparc, and i dont think they use
udev, i think they are still on devfs. IIRC. is udev the only way to
accomplish this?

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Richard Fish
On 2/25/06, Bruce Burden <[EMAIL PROTECTED]> wrote:
>
>
>Okay, I have decided to use the xorg DRM module. However, I am
>still doing something wrong:



>
> BoardName   "RV350 [MOBILITY RADEON X600]"

The opensource xorg/kernel drivers do not support DRI with this chip. 
You can verify that by looking at the vendor/product ID with lspci,
and then comparing with the table in
/usr/src/linux/drivers/char/drm/drm_pciids.h.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] re-scanning for devices

2006-02-25 Thread Richard Fish
On 2/25/06, Nick Smith <[EMAIL PROTECTED]> wrote:
> is there a way to rescan for devices after bootup? like if i
> hot-plugged a scsi drive into the machine after it was already
> running? how can i re-detect the hardware?

If you are using udev, and have configured the kernel for hotplug
support, this should not be necessary.  The kernel will generate the
appropriate hotplug events, and udev will create the device nodes.

>
> also, what if it detects a drive as sda, and i want it to be sdb? is
> there a way i can tell it what i want to be sda, sda etc? without
> actually having to move the drives around?

Write udev rules to create persistent device names.

An example:
BUS=="usb", KERNEL=="sd[a-z]2", SYSFS{serial}=="30005AF6",
SYMLINK="%k", NAME="backups%e"

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-25 Thread Boyd Stephen Smith Jr.
On Saturday 25 February 2006 17:47, Mariusz Pękala <[EMAIL PROTECTED]> wrote 
about 'Re: [gentoo-user] What happens with masked packages?':
> On 2006-02-25 13:34:28 -0600 (Sat, Feb), Boyd Stephen Smith Jr. wrote:
> > > > So, betas shouldn't ever be ~arch?  Or is your definition of
> > > > stable broad enough to include betas?
> > >
> > > Entirely dependent on the upstream. I've had Vim beta releases in
> > > ~arch, for example, because I'm confident in upstream's ability to
> > > do beta releases without screwing up.
> >
> > So, it's based on the collective opinion of the gentoo developers?
> > Wouldn't it be better to put that in the hands of the gentoo user?
>
> IMHO it already is. It's called PORTAGE_OVERLAY.

Again, hard to do automatically.  Wheras, if I could just set 
ACCEPT_UPSTREAM="BETA" I'd get all the betas.  Or I could use 
package.upstream and but in "kde-extra/kaffeine ALPHA" and get anything 
assigned more than a snapshot number for that package.  (Instead of 
manually checking after each sync to see if there's a new, masked 
version.)

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Bo Andresen

On Sunday 26 February 2006 05:02, Bruce Burden wrote:
>Okay, I have decided to use the xorg DRM module. However, I am
>still doing something wrong:

First of all did you follow the guide at http://www.gentoolinux.org/doc/en/dri-howto.xml ? Or any other guide?

Assuming you used the guided above:

1) Could you post the output of:
zcat /proc/config.gz | grep 'MTRR\|AGP\|DRM'

2) What version of x11-drm are you using? Did you set VIDEO_CARDS="ati" in make.conf (or on the command line while emerge x11-drm)? BTW what version of xorg-x11?

3) What does the Module section of your xorg.conf look like?

> I have:
>
> Section "Device"
> Identifier  "X600"
> Driver  "radeon"
> VendorName  "ATI Technologies Inc"
> BoardName   "RV350 [MOBILITY RADEON X600]"
> BusID   "PCI:1:0:0"
> EndSection
>
> for the xorg.conf entry. Should it be "ati"?

No.

> # lsmod
> Module  Size  Used by
> radeon 98464  0
> drm61592  1 radeon
> intel_agp  18332  1
> agpgart27216  2 drm,intel_agp
[SNIP]

Looks all right.

-- 
Bo Andresen


Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Bruce Burden


   Okay, I have decided to use the xorg DRM module. However, I am
   still doing something wrong:

name of display: tigerprowl:0.0
Xlib:  extension "XFree86-DRI" missing on display ":0.0".
display: tigerprowl:0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:

   I am not sure what this means, however, as:

(II) LoadModule: "extmod"
(II) Loading /usr/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /usr/lib/modules/extensions/libdri.a
(II) Module dri: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/lib/modules/linux/libdrm.a
(II) Module drm: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "dbe"
(II) Loading /usr/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="X.Org Foundation"
compiled for 6.8.2, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 0.2
(II) Loading extension DOUBLE-BUFFER


The Xorg.0.log file shows what seems to be the appropriate DRI module
being loaded.

I have:

Section "Device"
Identifier  "X600"
Driver  "radeon"
VendorName  "ATI Technologies Inc"
BoardName   "RV350 [MOBILITY RADEON X600]"
BusID   "PCI:1:0:0"
EndSection

for the xorg.conf entry. Should it be "ati"?


# lsmod
Module  Size  Used by
radeon 98464  0 
drm61592  1 radeon
intel_agp  18332  1 
agpgart27216  2 drm,intel_agp
bluetooth  39652  0 
libcrc32c   2816  0 
crc_ccitt   2176  0

I assume intel_agp is appropriate for the 915 chipset?

Thank you,
Bruce
-- 

  "I like bad!" Bruce BurdenAustin, TX.
- Thuganlitha
The Power and the Prophet
Robert Don Hughes

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cups is broken

2006-02-25 Thread Ernie Schroder
On Saturday 25 February 2006 19:12, a tiny voice compelled John Blinka to 
write:
> Ernie Schroder wrote:
> >Make sure that you have the file:
> >
> >/usr/share/cups/docs/index.html
> >
> >and that it opens as a webpage in a browser Of course I'm assuming that
> > other html pages display properly.
>
> It's there.   In fact, that's the file that's being displayed improperly.
> Its contents are identical to the same file on other systems I own
> which display correctly, so that's not the problem.  And all other
> html pages display correctly.  So...
>
> 1)  the problem is not the contents, permissions, or presence
>  of the file - they're all identical to other systems in which
>  the file displays properly.  In fact, the file displays
>  properly (almost) if I access it as
>  file:///usr/share/cups/docs/index.html instead of
>  http://localhost:631
> 2)  the problem is not specific to a browser - the same behavior
>  occurs with Firefox and Konqueror.
> 3)  the problem is not html per se - all other html pages display
>  properly.
> 4)  if I stop cupsd, then the browser claims that the request
>  for http://localhost:631 is refused.
>
> The evidence suggests to me that there's something unfortunate
> happening with whatever occurs when I supply http://localhost:631
> to the browser.  cupsd is the agent listening at port 631 and it's
> the source of the error.  I'm guessing that when cupsd supplies the
> contents of /usr/share/cups/docs/index.html  to the browser, the browser
> doesn't realize that it's receiving html and so renders it as raw text.
>
> John


Very strange Have you looked at the logs? /var/log/cups/access_log 
and /var/log/cups/error_log look at a tail of them and compare to the working 
machines.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox & OOo oddness

2006-02-25 Thread John J. Foster
On Sat, Feb 25, 2006 at 12:55:05PM +, Peter Ruskin wrote:

> http://forums.mozillazine.org/viewtopic.php?t=384087&highlight=filepicker+kde
> 
Thank you, thank you, thank you - just what I wanted

festus

-- 
I contend we are both atheists, I just believe in one fewer gods than
you do. When you understand why you dismiss all the other possible gods, 
you will understand why I dismiss yours.
...Stephen F Roberts


pgp97KvSCY6zZ.pgp
Description: PGP signature


Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Greg Bengeult

Mark Loeser wrote:

Urs Schuetz <[EMAIL PROTECTED]> said:


Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?



I noticed the same thing.  There is a bug open about it on
bugs.gentoo.org I believe, but the workaround for now is:

mv ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst 
~/.adobe/Acrobat/7.0/Cache/UnixFnt.old
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

That worked for me atleast.



Works for me too.  Thanks Mark.

Greg

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Willie Wong
On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked:
> strace acroread
> shows that acroread 7.0.5-r1 uses a very long time with fonts
> and nonexistent directories like /usr/psres and
> /usr/share/fonts/afms//usr/share/fonts/afms:
> 
> ...
>  open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", 
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
>  open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", 
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
>  getdents64(5, /* 0 entries */, 4096)= 0
>  close(5)= 0
> ...
> 
> and "hangs" here for about 10 seconds, with CPU 100% used. This
> happens nine times during startup.
> 

from the forums:

http://forums.gentoo.org//viewtopic-t-420754-highlight-acroread.html?sid=5118566558bdce7510b095567e7b6d4c

the file ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst stores a list of all
the fonts on your system (which, in my case, gives 9387 entries) and
apparently it tries to open those one by one on startup and look
inside (what for, I don't know). 

A temporary work around is provide in the link above, which amounts to
removing that font file prior to starting acroread. If I do that,
acroread starts under 5 seconds for every one of the five times I
tried. 

Notice that /usr/bin/acroread is just a batch file to launch the
executable, so if you are adventurous, you can go dig inside it a bit. 

W
-- 
Seen in LINAC @ Fermi National Accelerator Laboratory:
  (A series of signs, each with a different "name")
 This 7833 Power Amplifier Tube is to be Called:
   Gassy
   Sparky
   Leaky
   Old Number 9
   Just Plain Dead
   Nick O'Tyme
Sortir en Pantoufles: up 105 days, 16:47
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Greg Bengeult


Urs Schuetz wrote:

Acroread startup is very slow on my gentoo sistem. It takes more
than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
on further startups the load time stays more or less the same.



I can confirm the same behavior on my system.  800 MHz hyperthreaded P4, 
and top shows that one of the cores hits 100% while acroread is starting 
up.  It takes nearly three minutes to load, and strace shows it hanging 
at the same places.  I'll probably go back to 7.0.1.1.


Greg
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Mark Loeser
Urs Schuetz <[EMAIL PROTECTED]> said:
> Can anybody conirm this slow startup, or is it just me? Any hints
> how to speed up acrobat reader 7.0.5-r1?

I noticed the same thing.  There is a bug open about it on
bugs.gentoo.org I believe, but the workaround for now is:

mv ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst 
~/.adobe/Acrobat/7.0/Cache/UnixFnt.old
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

That worked for me atleast.

-- 
Mark Loeser   -   Gentoo Developer (cpp gcc-porting qa toolchain x86)
email -   halcy0n AT gentoo DOT org
  mark AT halcy0n DOT com
web   -   http://dev.gentoo.org/~halcy0n/
  http://www.halcy0n.com


pgpG0ro05Ezvp.pgp
Description: PGP signature


Re: [gentoo-user] cups is broken

2006-02-25 Thread John Blinka

Ernie Schroder wrote:


Make sure that you have the file:

/usr/share/cups/docs/index.html

and that it opens as a webpage in a browser Of course I'm assuming that other 
html pages display properly.
 


It's there.   In fact, that's the file that's being displayed improperly.
Its contents are identical to the same file on other systems I own
which display correctly, so that's not the problem.  And all other
html pages display correctly.  So...

1)  the problem is not the contents, permissions, or presence
of the file - they're all identical to other systems in which
the file displays properly.  In fact, the file displays
properly (almost) if I access it as
file:///usr/share/cups/docs/index.html instead of
http://localhost:631
2)  the problem is not specific to a browser - the same behavior
occurs with Firefox and Konqueror.
3)  the problem is not html per se - all other html pages display
properly.
4)  if I stop cupsd, then the browser claims that the request
for http://localhost:631 is refused.

The evidence suggests to me that there's something unfortunate
happening with whatever occurs when I supply http://localhost:631
to the browser.  cupsd is the agent listening at port 631 and it's
the source of the error.  I'm guessing that when cupsd supplies the
contents of /usr/share/cups/docs/index.html  to the browser, the browser
doesn't realize that it's receiving html and so renders it as raw text.

John


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Willie Wong
On Sat, Feb 25, 2006 at 08:35:44PM -0300, Penguin Lover Urs Schuetz squawked:
> Can anybody conirm this slow startup, or is it just me? Any hints
> how to speed up acrobat reader 7.0.5-r1?
> 
I can confirm. It took two and a half minutes now on my box (P4 2GHz,
512M ram). It does feel slower than the older version.

W
-- 
Engineers also speak PDE, but in a different dialect.
 ~Terrence Tao
Sortir en Pantoufles: up 105 days, 16:34
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wierd messages in syslog

2006-02-25 Thread Mariusz Pękala
On 2006-02-24 16:23:03 -0500 (Fri, Feb), Nick Smith wrote:
> i keep getting these errors in my syslog, has been happening ever
> since the install (couple days ago)
> 
> what does it mean, and how can i fix it?
> 
> init: Id "s0" respawning too fast: disabled for 5 minutes
> 
> what is "s0"?
> 
> this is a sparc system if that makes a difference.

How does your /etc/inittab file looks like?

-- 
No virus found in this outgoing message.
Checked by "grep -i virus $MESSAGE"
Trust me.


pgpCwnVzHsk7Y.pgp
Description: PGP signature


Re: [gentoo-user] tracking the life of an email.

2006-02-25 Thread Mariusz Pękala
On 2006-02-24 17:03:24 -0500 (Fri, Feb), Nick Smith wrote:
> for some reason qmail spreads things out into 3 or 4 or 5 different
> log files, one for sent, smtp, pop, imap etc, its a real pain to go
> through those files, i dont know if its qmail or syslog-ng thats doing
> it, but ive been wanting to find a way to combine all those logs into
> one mail.log file for easy grepping.

Something like: 

  tail -F /var/log/qmail/qmail-*/current >> /var/log/qmail-all

would be Okay?

-- 
No virus found in this outgoing message.
Checked by "grep -i virus $MESSAGE"
Trust me.


pgp96kHcAme3b.pgp
Description: PGP signature


Re: [gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Andrew Gaydenko
I can. It takes ~40 second at P4 2.4. Acroread isn't open source,
so, instead of filing any bug, I switched to kpdf :-)

=== On Sunday 26 February 2006 02:35, Urs Schuetz wrote: ===
...

Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?

Urs

-- 
gentoo-user@gentoo.org mailing list

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-25 Thread Mariusz Pękala
On 2006-02-25 13:34:28 -0600 (Sat, Feb), Boyd Stephen Smith Jr. wrote:
> > > So, betas shouldn't ever be ~arch?  Or is your definition of stable
> > > broad enough to include betas?
> >
> > Entirely dependent on the upstream. I've had Vim beta releases in
> > ~arch, for example, because I'm confident in upstream's ability to do
> > beta releases without screwing up.
> 
> So, it's based on the collective opinion of the gentoo developers?  
> Wouldn't it be better to put that in the hands of the gentoo user?

IMHO it already is. It's called PORTAGE_OVERLAY.

-- 
No virus found in this outgoing message.
Checked by "grep -i virus $MESSAGE"
Trust me.


pgpsUzjzY3U8t.pgp
Description: PGP signature


[gentoo-user] Acroread 7.0.5-r1 very slow startup

2006-02-25 Thread Urs Schuetz
Acroread startup is very slow on my gentoo sistem. It takes more
than 2 minutes to start acrobat on my old AMD Duron 800 MHz. Also
on further startups the load time stays more or less the same.

The CPU is 100% used during most of the startup period, which is
strange. Top shows CPU usage of 75-98% for acroread during
startup.

I have this long startup time only since upgrade to version
7.0.5-r1. The older version 7.0.1.1 loaded within 15 seconds
first load, and within 5 seconds on further loads.

ldd /opt/Acrobat7/Reader/intellinux/bin/acroread showed a problem
with the library path. So I added
/opt/Acrobat7/Reader/intellinux/lib to LD_LIBRARY_PATH.

I also moved plugins in 
/opt/Acrobat7/Reader/intellinux/plug_in
to 
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM, 
and moved 
/opt/Acrobat7/Reader/intellinux/SPPlugins/ADMPlugin.apl 
to
/opt/Acrobat7/Reader/intellinux/plug_in_DO_NOT_LOAD_THEM.

But the startup time on version 7.0.5-r1 of acrobat reader is
still more than 2 minutes.

strace acroread
shows that acroread 7.0.5-r1 uses a very long time with fonts
and nonexistent directories like /usr/psres and
/usr/share/fonts/afms//usr/share/fonts/afms:

...
 open("/usr/X11R6/lib/X11/fonts/Type1/fences.ttf", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
 open("/usr/X11R6/lib/X11/fonts/Type1/l048013t.pfa", 
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
 getdents64(5, /* 0 entries */, 4096)= 0
 close(5)= 0
...

and "hangs" here for about 10 seconds, with CPU 100% used. This
happens nine times during startup.

I don't see any network activity during startup of acroread
(blocked with:
iptables -A OUTPUT -o eth0 -p tcp -m owner --cmd-owner acroread -j REJECT 
--reject-with tcp-reset)

Sorry for the long lines.

Can anybody conirm this slow startup, or is it just me? Any hints
how to speed up acrobat reader 7.0.5-r1?

Urs

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cups is broken

2006-02-25 Thread Jerry McBride
On Saturday 25 February 2006 14:25, John Blinka wrote:
> Hi, all,
>
> I have a strange-to-me cups printing problem on one of my gentoo machines.
> When I point firefox at http://localhost:631, I don't see the
> familiar cups admin web page, but just the raw html, i.e.,
>


CUPS problems... surprise, surprise...

I finally found the true answer to fixing CUPS problems... I boned up on LPRNG 
and dumped CUPS like a hot potato.

Maybe you should too.

Jerry
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] kmail acting up. Cannot "LIST"

2006-02-25 Thread darren kirby
Hello all,

kmail has spontaneously decided to break on me. I say this because I have 
changed _nothing_ between when it worked and when it broke.

The problem comes when I try to retrieve mail from my pop3 server (vs-pop3d). 
It can connect to the server, but craps out with "Cannot complete LIST 
command" in a pop-up. The titlebar states "invalid server response".

I can say though, the server is just fine. I can connect, authenticate and 
view/retrieve mail manually with telnet (including 'LIST' command), and 
'mail' on my apple box can get the mail (the same mail, by the same user) 
just fine.

A google for the errror just returned some source code from online CVS. I even 
re-emerged kdepim but still the same. kmail version is 3.5.1

Has anyone some idea what to do? 

-d
-- 
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972


pgpYZBDqQI5dN.pgp
Description: PGP signature


Re: [gentoo-user] cups is broken

2006-02-25 Thread Ernie Schroder
On Saturday 25 February 2006 16:22, a tiny voice compelled John Blinka to 
write:
> Ernie Schroder wrote:
> >On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to
> >
> >write:
> >>Does anyone know what's wrong?  None of my other machines does this.
> >>
> >>Thanks for your help.
> >
> >Have you tried a different browser? Try restarting cupsd
> >
> ># /etc/init.d/cupsd restart
>
> Same thing happens using either Konqueror or Firefox on this machine.
> Doesn't happen with either browser on other machines I've set up.
> Restarting cupsd has no effect.
>
> John

Make sure that you have the file:

/usr/share/cups/docs/index.html

and that it opens as a webpage in a browser Of course I'm assuming that other 
html pages display properly.
-- 
Regards, Ernie
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox & OOo oddness

2006-02-25 Thread Glenn Enright
On Sunday 26 February 2006 01:55, Peter Ruskin wrote:
>
> See
> 
http://forums.mozillazine.org/viewtopic.php?t=384087&highlight=filepicker+kde

nice site. opens up a few posibilities too. :)

-- 
Every absurdity has a champion to defend it.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cups is broken

2006-02-25 Thread John Blinka

Ernie Schroder wrote:

On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to 
write:
 


Does anyone know what's wrong?  None of my other machines does this.

Thanks for your help.
   


Have you tried a different browser? Try restarting cupsd

# /etc/init.d/cupsd restart
 



Same thing happens using either Konqueror or Firefox on this machine.
Doesn't happen with either browser on other machines I've set up.
Restarting cupsd has no effect.

John

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot resolve a virtual package name to an ebuild.

2006-02-25 Thread David Corbin
Thanks.  That worked.

David

On Saturday 25 February 2006 12:31 pm, Max Lorenz wrote:
> Hi,
>
> On 2/25/06, David Corbin <[EMAIL PROTECTED]> wrote:
> > trombone dcorbin # emerge -uav portage
> >
> > These are the packages that I would merge, in order:
> >
> > Calculating dependencies -!!! Cannot resolve a virtual package name to an
> > ebuild.
> > !!! This is a bug, please report it. (virtual/libintl-0)
> > --
> >
> > Is there someone way I can work around this?  I don't seem to be able to
> > emerge anything.
>
> Your portage is too old, see bug #114798. Try it without the -u, i.e.:
> # emerge -av portage
> and then sync again.
>
> > David
>
> HTH,
> Max
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] cups is broken

2006-02-25 Thread Ernie Schroder
On Saturday 25 February 2006 14:25, a tiny voice compelled John Blinka to 
write:
> Does anyone know what's wrong?  None of my other machines does this.
>
> Thanks for your help.
Have you tried a different browser? Try restarting cupsd

# /etc/init.d/cupsd restart
-- 
Regards, Ernie

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-25 Thread Boyd Stephen Smith Jr.
On Saturday 25 February 2006 12:57, Ciaran McCreesh <[EMAIL PROTECTED]> 
wrote about 'Re: [gentoo-user] What happens with masked packages?':
> On Fri, 24 Feb 2006 14:57:43 -0600 "Boyd Stephen Smith Jr."
>
> <[EMAIL PROTECTED]> wrote:
> | > ~arch means a package is a candidate for going into arch after
> | > further testing, if said testing does not turn up new bugs. This
> | > means that both the ebuild *and* the package should be likely to be
> | > stable.
> |
> | So, betas shouldn't ever be ~arch?  Or is your definition of stable
> | broad enough to include betas?
>
> Entirely dependent on the upstream. I've had Vim beta releases in
> ~arch, for example, because I'm confident in upstream's ability to do
> beta releases without screwing up.

So, it's based on the collective opinion of the gentoo developers?  
Wouldn't it be better to put that in the hands of the gentoo user?

> The -* abuse is one of the many things on QA's list of "stuff we want
> to get fixed". However, it's considered extremely low priority on
> existing packages.

As it should be, since there are well-known user work-arounds.

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox PDF integration

2006-02-25 Thread Grant
> > I can't seem to find this option in firefox 1.5.0.1
> >
> > Under "Edit -> Preferences -> Downloads" I see "Download actions".
> > Clicking on "View and Edit Actions" shows an entry for some
> > Flash-related files, but nothing for pdf and no option to add a new
> > entry to this list. Am I missing something obvious?
> >
> >
> > Matt
>
> I know it is a poor (not logical design), but here is how it works.
>
> Navigate to any PDF file with firefox and click on the file.
> You will see window pop-up as firefox doesn't know what to do with it.
> Beside "Open with" is empty selection, click on that empty icon, you
> will see: "other" --> click on it.
> Another window will pop-up, under File Name: type: /usr/kde/3.4/bin/kpdf
> or complete path to whatever application you want to use --> click OPEN
> I will return you to previous window; select "Do this automatically..."
>
> It will enter this setting in Download section in Setting Preferences.
>
> --
> #Joseph

Got it.  Thanks!

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] dhcpcd AND pump?

2006-02-25 Thread Grant
Is it worthwhile to keep more than one dhcp client installed on your laptop?

- Grant

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] cups is broken

2006-02-25 Thread John Blinka

Hi, all,

I have a strange-to-me cups printing problem on one of my gentoo machines.
When I point firefox at http://localhost:631, I don't see the
familiar cups admin web page, but just the raw html, i.e.,



Common UNIX Printing System


http://www.easysw.com"; 
ALT="Easy Software Products Home Page">






http://www.cups.org"; 
ALT="Download the Current CUPS Software">
   







Do Administration Tasks

Manage Printer Classes
On-Line Help
Manage Jobs
Manage Printers
http://www.cups.org";>Download the Current CUPS Software



The Common UNIX Printing System, CUPS, and the CUPS logo are the
trademark property of http://www.easysw.com";>Easy Software
Products. CUPS is copyright 1997-2005 by Easy Software Products,
All Rights Reserved.





Does anyone know what's wrong?  None of my other machines does this.

Thanks for your help.

John Blinka


--
gentoo-user@gentoo.org mailing list



[gentoo-user] re-scanning for devices

2006-02-25 Thread Nick Smith
is there a way to rescan for devices after bootup? like if i
hot-plugged a scsi drive into the machine after it was already
running? how can i re-detect the hardware?

also, what if it detects a drive as sda, and i want it to be sdb? is
there a way i can tell it what i want to be sda, sda etc? without
actually having to move the drives around?

im having an issuse where the bios see's the drive i want as sda or
the boot drive, but when gentoo boots up the drive is actually sde and
i get kernel panics cause its looking for something on a different
drive.

please advise

Nick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What happens with masked packages?

2006-02-25 Thread Ciaran McCreesh
On Fri, 24 Feb 2006 14:57:43 -0600 "Boyd Stephen Smith Jr."
<[EMAIL PROTECTED]> wrote:
| > ~arch means a package is a candidate for going into arch after
| > further testing, if said testing does not turn up new bugs. This
| > means that both the ebuild *and* the package should be likely to be
| > stable.
| 
| So, betas shouldn't ever be ~arch?  Or is your definition of stable
| broad enough to include betas?

Entirely dependent on the upstream. I've had Vim beta releases in
~arch, for example, because I'm confident in upstream's ability to do
beta releases without screwing up.

| > -* means the package is in some way architecture or hardware
| > independent (e.g. a binary only package), and so will only run on
| > archs that are explicitly listed.
| 
| So, I guess glibc-2.3.6-r3.ebuild is using -* incorrectly?

Probably.

| > Any package setting KEYWORDS="-*" and nothing else is abusing -*,
| > and will flag a warning on the QA checkers.
| 
| You mean like gcc-4.1.0_pre20060219.ebuild?

Yyyyup.

The -* abuse is one of the many things on QA's list of "stuff we want
to get fixed". However, it's considered extremely low priority on
existing packages.

-- 
Ciaran McCreesh : Gentoo Developer (Wearer of the shiny hat)
Mail: ciaranm at gentoo.org
Web : http://dev.gentoo.org/~ciaranm



signature.asc
Description: PGP signature


Re: [gentoo-user] emerge timezone-data fails?

2006-02-25 Thread Ernie Schroder
On Friday 24 February 2006 06:18, a tiny voice compelled Frédéric Grosshans to 
write:
> Le jeudi 23 février 2006 à 16:14 -0500, Ernie Schroder a écrit :
> > !!! ERROR: sys-libs/timezone-data-2006b failed.
>
> I had the same problem yesterday, but it seems solved today after an
> emerge sync.
>
>   Fred


Same here. Confirmed fixed.
-- 
Regards, Ernie

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Bo Andresen
On Saturday 25 February 2006 00:36, Benno Schulenberg wrote:
> But it's working now.  So tell us how many frames glxgears is doing
> now, with and without radeon.  :)

Actually the results using dri is worse than the results without dri in terms 
of frame rates. Without dri I get something like 250 FPS. With dri I get 
something like 228 FPS. The great difference though is when looking at the X 
cpu usage. glxgears uses around 0.5 % with or without dri. But without dri X 
uses 92% of the cpu resources. With dri X uses between 0.5 and 1% cpu. So 
obviously dri is preferable... ;)

Listed the output below if anyone is interested.

~$ glxinfo | grep dir
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
~$ glxgears
792 frames in 5.0 seconds = 158.400 FPS
1945 frames in 5.0 seconds = 389.000 FPS
1847 frames in 5.0 seconds = 369.400 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1138 frames in 5.0 seconds = 227.600 FPS
1139 frames in 5.0 seconds = 227.800 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1138 frames in 5.0 seconds = 227.600 FPS
1139 frames in 5.0 seconds = 227.800 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1265 frames in 5.0 seconds = 253.000 FPS
1138 frames in 5.0 seconds = 227.600 FPS

X usage ~92%

~$ glxinfo | grep dir
direct rendering: Yes
~$ glxgears
1035 frames in 5.0 seconds = 207.000 FPS
1162 frames in 5.0 seconds = 232.400 FPS
1155 frames in 5.0 seconds = 231.000 FPS
1143 frames in 5.0 seconds = 228.600 FPS
844 frames in 5.0 seconds = 168.800 FPS
1145 frames in 5.0 seconds = 229.000 FPS
1135 frames in 5.0 seconds = 227.000 FPS
1164 frames in 5.0 seconds = 232.800 FPS
1144 frames in 5.0 seconds = 228.800 FPS
627 frames in 5.0 seconds = 125.400 FPS
1048 frames in 5.0 seconds = 209.600 FPS
1148 frames in 5.0 seconds = 229.600 FPS
1141 frames in 5.0 seconds = 228.200 FPS
1057 frames in 5.0 seconds = 211.400 FPS
1077 frames in 5.0 seconds = 215.400 FPS
1137 frames in 5.0 seconds = 227.400 FPS

X usage: 0.5-1%

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Bo Andresen
On Saturday 25 February 2006 15:03, Benno Schulenberg wrote:
> Bo Andresen wrote:
> > Is there a way to disable dri for this test without restarting X?
>
> Good question.  I don't know.  What I do is simply move the driver
> in /usr/lib/modules/dri/ out of the way, or renaming it temporarily
> (to say NOTradeon_dri.so).

That doesn't work for me. But moving /usr/lib/modules/dri/r200_dri.so does. ;) 
Moving the entire directory would of course work for everyone...

-- 
Bo Andresen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot resolve a virtual package name to an ebuild.

2006-02-25 Thread Max Lorenz
Hi,

On 2/25/06, David Corbin <[EMAIL PROTECTED]> wrote:
> trombone dcorbin # emerge -uav portage
>
> These are the packages that I would merge, in order:
>
> Calculating dependencies -!!! Cannot resolve a virtual package name to an
> ebuild.
> !!! This is a bug, please report it. (virtual/libintl-0)
> --
>
> Is there someone way I can work around this?  I don't seem to be able to
> emerge anything.

Your portage is too old, see bug #114798. Try it without the -u, i.e.:
# emerge -av portage
and then sync again.

> David
HTH,
Max

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot resolve a virtual package name to an ebuild.

2006-02-25 Thread Jason Stubbs
On Saturday 25 February 2006 20:03, David Corbin wrote:
> trombone dcorbin # emerge -uav portage
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies -!!! Cannot resolve a virtual package name to an 
> ebuild.
> !!! This is a bug, please report it. (virtual/libintl-0)
> --
> 
> Is there someone way I can work around this?  I don't seem to be able to 
> emerge anything.

Hrmm.. Sorry.

# export PORTDIR="$(portageq envvar PORTDIR)"
# mv $PORTDIR/virtual ./virtual.backup
# emerge --oneshot portage
# mv ./virtual.backup $PORTDIR/virtual

--
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Cannot resolve a virtual package name to an ebuild.

2006-02-25 Thread Jason Stubbs
On Saturday 25 February 2006 20:03, David Corbin wrote:
> trombone dcorbin # emerge -uav portage
> 
> These are the packages that I would merge, in order:
> 
> Calculating dependencies -!!! Cannot resolve a virtual package name to an 
> ebuild.
> !!! This is a bug, please report it. (virtual/libintl-0)
> --
> 
> Is there someone way I can work around this?  I don't seem to be able to 
> emerge anything.

Update portage.

--
Jason Stubbs
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Cannot resolve a virtual package name to an ebuild.

2006-02-25 Thread David Corbin
trombone dcorbin # emerge -uav portage

These are the packages that I would merge, in order:

Calculating dependencies -!!! Cannot resolve a virtual package name to an 
ebuild.
!!! This is a bug, please report it. (virtual/libintl-0)
--

Is there someone way I can work around this?  I don't seem to be able to 
emerge anything.

David
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: [OT] Video streaming solution

2006-02-25 Thread Rafael Bugajewski
James wrote:

> vlc: retransmits video streams
> zoneminder: security stream camera viewer
> mythtv: digital video recorder
> qdvdauthor
> mplayer
> vdr: set top box for DVB
>
>
> many other packages exist, just take a look in the
> /usr/portage/medida-video/  dir, and emerge one for a test

Thank you very much. I will look and see what is possible. If I gain some 
experience I will post back to the list.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Motherboards

2006-02-25 Thread Brett I. Holcomb
Sounds like Asus took all the people who knew what they were doing and 
understood customer service and exiled them to ASRock .  That way the good 
ones don't contaminate Asus!

On Saturday February 25 2006 07:35, Hemmann, Volker Armin wrote:
> On Saturday 25 February 2006 07:55, Jarry wrote:
> > Brett I. Holcomb wrote:
> > > Thanks.  I believe Tom's Hardware liked ASRock, too.  I'll add them to
> > > my list.
> >
> > AFAIK, ASRock is nothing else, then just daughter-company of ASUS, and
> > its primary business-area are low-end (cheap) products which ASUS did not
> > want to sell under name "ASUS". But I do not say they it is a bad choice,
>
> yes, Asrock is a daughter, in their 'how to build a computer' video, they
> even use Asus graphic cards, BUT:
> their support is better. They regularly release updated bios', and when I
> had a problem with my elderly scsi controller, I got an answer in less than
> 36h, which totally solved the problem.
>
> They officially don't support linux, but when some people had problems with
> the K7S8X and some knoppix versions, they released a bios, that fixed the
> problem in a few days. So they are good guys in my book ;)

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Motherboards

2006-02-25 Thread Brett I. Holcomb
That's interesting. 

On Saturday February 25 2006 01:55, Jarry wrote:
> Brett I. Holcomb wrote:
> > Thanks.  I believe Tom's Hardware liked ASRock, too.  I'll add them to my
> > list.
> >
> >>>I need to purchase a motherboard that supports SATA and am looking for
> >>>recommendations.  I used to use ASUS but  their support is non-existent
>
> AFAIK, ASRock is nothing else, then just daughter-company of ASUS, and its
> primary business-area are low-end (cheap) products which ASUS did not want
> to sell under name "ASUS". But I do not say they it is a bad choice,
> personally I have ASUS mobo in my workstation and ASRock in one small
> server. And I'd say ASUS/ASRock support is the same...
>
> Jarry

-- 

Brett I. Holcomb
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Gentoo LVM Newbie Question

2006-02-25 Thread Boyd Stephen Smith Jr.
On Saturday 25 February 2006 04:44, Jarry <[EMAIL PROTECTED]> wrote about 'Re: 
[gentoo-user] Gentoo LVM Newbie Question':
> Hm, about half year ago I asked which fs to use. I counted
> votes, and ext3 won (reiser was 2nd). Nobody mentioned that
> reiserfs can be resized on-line, ext3 not (only off-line).
> It seems I have to revaluate results of that voting...

I think your main problem was not using a Condorcet Method 
(http://en.wikipedia.org/wiki/Condorcet_method), there are a lot of 
problems, pointed out by Arrow, with simple methods like parity or IRV.

 ;)

-- 
Boyd Stephen Smith Jr.
[EMAIL PROTECTED]
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] need to be in wheel for sound?

2006-02-25 Thread Benno Schulenberg
Antoine wrote:
> I just had to add the missus to wheel for her to get sound in kde

Check the permissions and owners in /dev/s{,ou}nd?

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Benno Schulenberg
Bruce Burden wrote:
> # lsmod
> Module  Size  Used by
> radeon 98464  0
> drm61592  1 radeon
> agpgart27216  1 drm

There should also be an agp module specific for your chipset.

> [fglrx:firegl_stub_register] *ERROR* Unable to the open some
> already present DRM kernel module!
>
> So, what am I doing wrong?

You need to choose what you want to use: either the open-source 
radeon driver (x11-drm), or the closed source fglrx (ati-drivers).

> The drm module seems to be the problem child, once I added that,
> fglrx got tempermental...

As far as I know fglrx contains its own drm.

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] 3d rendering with dri radeon

2006-02-25 Thread Benno Schulenberg
Bo Andresen wrote:
> Is there a way to disable dri for this test without restarting X?

Good question.  I don't know.  What I do is simply move the driver 
in /usr/lib/modules/dri/ out of the way, or renaming it temporarily 
(to say NOTradeon_dri.so).

Benno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging Beagle

2006-02-25 Thread Christoph Eckert
Hi,


> I just synced

argh. I also synced and the Mozilla dependency is gone. Sorry for the 
traffic & thanks for the help :) .


Best regards


ce
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] installing gentoo on Asus A8N-VM: sata_nv => kernel panic...

2006-02-25 Thread Jarry
Hi,

did anybody succeeded with installing gentoo/amd64 on this board?
ASUS A8N-VM (nForce 410 + on-board integrated graphics GF6100)

I tried amd64-minimal-livecd, booted gentoo-nofb, but it stops while
loading sata_nv module. I tried booting "gentoo-nofb noapic nodetect",
kernel booted, but I ended with pretty useless system, no networking,
no sata-drives, no gentoo installing...  :-(

I tried to start networking with "modprobe forcedeth", and eth0 was up.
That's one problem solved, but without disk I'm still unable to install,
because trying "modprobe sata_nv" always causes kernel panic...

So what can I do more? Any tips?

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Motherboards

2006-02-25 Thread Hemmann, Volker Armin
On Saturday 25 February 2006 07:55, Jarry wrote:
> Brett I. Holcomb wrote:
> > Thanks.  I believe Tom's Hardware liked ASRock, too.  I'll add them to my
> > list.
> >
> >>>I need to purchase a motherboard that supports SATA and am looking for
> >>>recommendations.  I used to use ASUS but  their support is non-existent
>
> AFAIK, ASRock is nothing else, then just daughter-company of ASUS, and its
> primary business-area are low-end (cheap) products which ASUS did not want
> to sell under name "ASUS". But I do not say they it is a bad choice,
> personally I have ASUS mobo in my workstation and ASRock in one small
> server. And I'd say ASUS/ASRock support is the same...

yes, Asrock is a daughter, in their 'how to build a computer' video, they even 
use Asus graphic cards, BUT:
their support is better. They regularly release updated bios', and when I had 
a problem with my elderly scsi controller, I got an answer in less than 36h, 
which totally solved the problem.

They officially don't support linux, but when some people had problems with 
the K7S8X and some knoppix versions, they released a bios, that fixed the 
problem in a few days. So they are good guys in my book ;)
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] CVSup vs Gentoo's Rsync

2006-02-25 Thread Hemmann, Volker Armin
On Saturday 25 February 2006 07:37, Alexander Skwar wrote:
> Hemmann, Volker Armin wrote:
> > that is the only change I remember at the moment (and which did not went
> > into the wiki).
>
> Not true anymore :) I just added "your" changes to the wiki.

'your' is correct, because I 'stole' it from the forum's thread ;)

Nice, that you updated the wiki.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-25 Thread Alexander Skwar
Holly Bostick wrote:
> Alexander Skwar schreef:
>> 
>> Okay, so the following fs are online resizable, according to you:
>> 
>> - reiser3 - xfs - jfs - ext2, ext3
>> 
>> That's pretty much "every FS", isn't it?
> 
> Yes, but as far as I know from the docs, jfs and xfs can only be *grown*
> online, not shrunk, which could be a problem depending on your needs.

That's right. I originally wrote "Every FS can be extended online",
though. I didn't pay so much attention and thus did not notice
that change.

BTW: reiser3 can also not be shrinked online. But at least
it can be made smaller when it's offline.

Alexander Skwar
-- 
Obviously I was either onto something, or on something.
 -- Larry Wall on the creation of Perl
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-25 Thread Holly Bostick
Alexander Skwar schreef:
> 
> Okay, so the following fs are online resizable, according to you:
> 
> - reiser3 - xfs - jfs - ext2, ext3
> 
> That's pretty much "every FS", isn't it?

Yes, but as far as I know from the docs, jfs and xfs can only be *grown*
online, not shrunk, which could be a problem depending on your needs.

Unless that's changed recently.

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Emerging Beagle

2006-02-25 Thread Willie Wong
On Sat, Feb 25, 2006 at 07:40:53AM +0100, Penguin Lover Alexander Skwar 
squawked:
> Christoph Eckert wrote:
> 
> > Now it wants to pull in www-client/mozilla-1.7.12-r2.
> > 
> > I'd like to avoid that. Anyone a hint if or even how this is possible?
> 
> It's not possible. Upstream says to use it.
> 
> http://bugs.gentoo.org/show_bug.cgi?id=98839
> 

The beagle dependency on gecko-sharp might be just for the 0.1.*
versions though. 

I just synced and looked at the 0.2.1 version, and I don't see a 
dependency on gecko-sharp. Unless there's something else pulling in
mozilla... Here's the output:

[06:06 AM]wwong ~ $ emerge search gecko-sharp
Searching...   
[ Results for search key : gecko-sharp ]
[ Applications found : 1 ]
 
*  dev-dotnet/gecko-sharp
  Latest version available: 0.6
  Latest version installed: [ Not Installed ]
  Size of downloaded files: 108 kB
  Homepage:http://www.go-mono.com/
  Description: A Gtk# Mozilla binding
  License: GPL-2

No gecko-sharp installed

[06:09 AM]wwong ~ $ ACCEPT_KEYWORDS="~x86" emerge --pretend --tree 
app-misc/beagle

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild  N] app-misc/beagle-0.2.1  
[ebuild U ]  media-libs/libexif-0.6.12-r4 [0.5.12-r3] 
[ebuild  N]  dev-db/sqlite-3.3.4  
[ebuild  N]  dev-dotnet/gconf-sharp-2.8.0  
[ebuild  N]   dev-dotnet/glade-sharp-2.8.0  
[ebuild  N]  dev-libs/gmime-2.1.19  
[ebuild  N]  dev-dotnet/gnome-sharp-2.8.0  
[ebuild  N]   gnome-base/gnome-panel-2.12.3  
[ebuild  N]gnome-base/gnome-menus-2.12.0-r1  
[ebuild  N]gnome-base/gnome-desktop-2.12.3  
[ebuild  N] app-text/scrollkeeper-0.3.14-r2  
[ebuild  N]app-text/gnome-doc-utils-0.4.4  
[ebuild  N] x11-themes/gnome-themes-2.12.3  
[ebuild  N]gnome-base/libgnomeui-2.12.1  
[ebuild  N] gnome-base/gnome-keyring-0.4.6  
[ebuild  N] gnome-base/libbonoboui-2.10.1-r1  
[ebuild  N]gnome-base/libgnome-2.12.0.1  
[ebuild  N]x11-libs/libwnck-2.12.3  
[ebuild  N]   dev-dotnet/art-sharp-2.8.0  
[ebuild  N]   dev-dotnet/gnomevfs-sharp-2.8.0  
[ebuild  N]gnome-base/gnome-vfs-2.12.2  
[ebuild  N] gnome-base/libbonobo-2.10.1  
[ebuild  N] gnome-base/gnome-mime-data-2.4.2  
[ebuild  N] gnome-base/gconf-2.12.1  
[ebuild  N]dev-dotnet/gtk-sharp-2.8.0  
[ebuild  N] dev-perl/XML-LibXML-1.58-r1  
[ebuild  N]  dev-perl/XML-LibXML-Common-0.13  
[ebuild  N] dev-util/monodoc-1.1.13  
[ebuild  N] gnome-base/orbit-2.12.5  
[ebuild  N] dev-lang/mono-1.1.12.1-r1  
[ebuild  N]  dev-dotnet/libgdiplus-1.1.11  
[ebuild  N]   gnome-base/libgnomeprintui-2.12.1  
[ebuild  N]gnome-base/libgnomeprint-2.12.1  
[ebuild  N] net-print/libgnomecups-0.2.2  
[ebuild  N]x11-themes/gnome-icon-theme-2.12.1  
[ebuild  N] x11-themes/hicolor-icon-theme-0.9  
[ebuild  N]gnome-base/libgnomecanvas-2.12.0  

W
-- 
M: Even when I know what I am doing, I don't know what I am doing.
M: Like, this first semester, I knew I was going to be an ORFE major, but look
   at me now... I am definitely a classics major...
Sortir en Pantoufles: up 105 days,  3:32
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox & OOo oddness

2006-02-25 Thread Holly Bostick
John J. Foster schreef:
> On Sat, Feb 25, 2006 at 02:59:19AM +0100, Holly Bostick wrote:
>> John J. Foster schreef:
>>> Good evening,
>>> 
>>> I'm running a KDE desktop and in the File Open dialog boxes on
>>> both Firefox & OOo I can't seem to find where to tell them to
>>> display hidden folders and/or files.
>> For firefox, if a Save dialog, select "Browse for other folders",
>> then right-click inside the file list on the right  -- not the
>> folder list on the left-- and select "Show hidden files". For the
>> Open dialog, you don't have to browse, obviously.
> 
> Thanks, that works fine. Even for the "Open File", which I'm not sure
> why you wouldn't think I'd have to browse.

Sorry, it was late for me and I was typing fast. What I meant is that
for the Save dialog, you have to open the "Browse" section of the dialog
window by opening "Browse for other folders", so showing hidden files is
two steps, but the Open dialog begins with a Browse window, so you only
have one step.

>> However, if you do this a lot, you might consider making a symlink
>> from the hidden folder or file to a link of the same name, but
>> without the preceding ".", that way the symlink won't be hidden.
>> 
> Yeah, but that's really lame that I'd have to do that. OOo can be so 
> advanced on some things, and so incredibly stupid on others.

Lame? I dunno. Is it 'lamer' than having to type a path or filename in
the dialog? Or 'lamer' than Joseph's suggestion (which doesn't work for
me using OO.o-2.02_rc2):

Joseph schreef:
> 
> Yes, it is there for OO as well. When you click on Open File, the
> window will have few icons, click on the available icons and you will
> find it :-)
> 

In my Open dialog (OOWriter), there are 3 button icons: Up one level in
the filetree, Make new folder, and Home. This is exactly what I would
expect, and these buttons do exactly what I would expect. There is no
context menu for them, and if the menu exists on the main window, I
don't see it, and I didn't find it in the Preferences screen last night.

I don't know about you, but to me, one 10-second task (making a symlink
to a folder which is likely not hidden by my choice but by default, such
as config files in my /home folder which I often edit), and afterwards
knowing that it's /done/ and I don't have to worry about it any more, is
much less 'lame' than having to search for 10 minutes for a stupid
setting in the program in question (Firefox, as a GNOME program, puts
the setting one place, Krusader, as a KDE program, puts the setting
another place, and OO.o, as an independent program, puts it $DEITY knows
where, if the setting exists at all).

But perhaps you have different needs (as a single home user, I don't
particularly have any need to hide any files from possible abuse, so
while I may work with hidden files often, they aren't
"mission-critical", voluntarily hidden files).

Holly
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-25 Thread Alexander Skwar
Jarry wrote:
> Alexander Skwar wrote:
> 
>>>I could not resize /usr or /var off-line,
>> 
>> That's wrong. I suppose that those are your ext* fs?
>> If so, you can perfectly fine resize those fs while
>> they are offline.
> 
> I mean I can not resize them off-line because I can not unmount them
> while system is running :-)

Ah, okay, that's how you meant it. In that case, you're right.

>>>Then maybe I should get rid of lvm2...
>> 
>> No. Get rid of ext*. reiser3 and xfs are mature, use those instead.
> 
> Hm, about half year ago I asked which fs to use. I counted
> votes, and ext3 won (reiser was 2nd).

Did I vote? If not, I probably would not have voted for
ext*. Well, actually, I *DO* use ext*. ext2 for /boot and
ext3 for /, as those are FS, which I will close to never ever
resize.

> Nobody mentioned that
> reiserfs can be resized on-line,

I must have missed that thread back then :)

> ext3 not (only off-line).

Well, ext3 *CAN* be resized online, with the appropriate
patches. Would I recommend that? No, I wouldn't, because
I have got no experience with those patches. For the same
reason, I wouldn't recommend to NOT use it.

Alexander Skwar
-- 
There are never any bugs you haven't found yet.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-25 Thread Jarry
Alexander Skwar wrote:

>>I could not resize /usr or /var off-line,
> 
> That's wrong. I suppose that those are your ext* fs?
> If so, you can perfectly fine resize those fs while
> they are offline.

I mean I can not resize them off-line because I can not unmount them
while system is running :-)
Maybe booting livecd could be solution, but it is hard to do remotely.

>>Then maybe I should get rid of lvm2...
> 
> No. Get rid of ext*. reiser3 and xfs are mature, use those instead.

Hm, about half year ago I asked which fs to use. I counted
votes, and ext3 won (reiser was 2nd). Nobody mentioned that
reiserfs can be resized on-line, ext3 not (only off-line).
It seems I have to revaluate results of that voting...

Thanks for answer...

Jarry
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] need to be in wheel for sound?

2006-02-25 Thread Antoine

Hi,
I just had to add the missus to wheel for her to get sound in kde - is 
this normal? She was in audio, video, games and users and had no sound. 
I looked at my groups and the only plausible difference was wheel. Sure 
enough adding her to wheel did the trick. Now not that I don't trust the 
wife - but well, should someone have to be in wheel to get sound? Am I 
wrong or is there some logic somewhere that explains this? A config 
option to change?

Cheers
Antoine
--
gentoo-user@gentoo.org mailing list




Re: [gentoo-user] Gentoo LVM Newbie Question

2006-02-25 Thread Alexander Skwar
Jarry wrote:
> Zac Slade wrote:
> 
>> reiser3, resizable online in two ways 
>>  1)resize_reiserfs /path/to/dev 
>>  2)mount -o remount,resize /path/to/dev
>> XFS, MUST be mounted to resize use xfs_grow /mount/point
>> JFS, resizable online with a mount -o remount,resize /path/to/dev
>> ext2/3, resizable offline reliably.  Online resize is a *very* experimental 
>> experiment.  Have good backups.
> 
> If I understand correctly, it is not worth having lvm2 with ext3, right?

Well, "not worth" is too hard. One of the main benefits of LVM
is, that you can easily extend (and theoretically shrink)
filesystems. Since ext* can, in practicallity, only be resized
offline, one of the benefits goes away. Also, extending and
shrinking ext* takes *AGES*, as you MUST run "e2fsck -f $dev"
beforehand.

> I could not resize /usr or /var off-line,

That's wrong. I suppose that those are your ext* fs?
If so, you can perfectly fine resize those fs while
they are offline.

> and resizing while mounted
> is not possible without kernel patch, and still only experimental.
> Then maybe I should get rid of lvm2...

No. Get rid of ext*. reiser3 and xfs are mature, use those
instead.

Alexander Skwar
-- 
If you can keep your head when all about you are losing theirs, then
you clearly don't understand the situation.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: AMD64 & lilo...

2006-02-25 Thread Jarry
Francesco Talamona wrote:

>>does lilo work with amd64, or not?
> It works a charm, never used GRUB on my amd64s

That's what I wanted to know! I want to stay with lilo, just got
frightened by that "...on AMD64, Gentoo only supports using GRUB..."
statement...

Sven Köhler wrote:

> AFAIK, grub does _not_ support RAID.

Strange, that GRand Unified Bootloader does not support something,
that lilo has been supporting for at least ~5 years...

> In addition, i see a stable amd64 ebuild and even a ~amd64 ebuild in
> portage. So what was the problem again?

I just wanted to know, if there are some serious reasons (maybe
stability or compatibility?), why lilo is not supported on amd64.
But if there is no such a problem for amd64+lilo, I'll stick with it...
Thanks for all answers!

Jarry
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: AMD64 & lilo...

2006-02-25 Thread Francesco Talamona
On Saturday 25 February 2006 09:21, Jarry wrote:
> I always used lilo, because I find grub syntax a little "strange",
I find it "irritating", to say the least :-)

> moreover I do not know how grub handles raid (I'm just reading grub
> manual on gnu-site, not a single word about raid), but now I'm not
> sure what to do: does lilo work with amd64, or not?
It works a charm, never used GRUB on my amd64s (one at home, one at 
work).

> How should I translate this lilo.conf into grub.conf:
It seems correct (though I don't know your setup), what kind of issues 
are you experiencing? You can safely ignore that warning.

I'm using a software RAID setup here at home, see my lilo.conf's common 
section:

boot=/dev/md0
raid-extra-boot = mbr
map=/boot/map
install=/boot/boot-bmp.b
bitmap=/boot/lilo/gallery/boot.bmp
bmp-table=227p,233p,1,7
bmp-colors=13,0,,11,0,13
bmp-timer=76,30,11,0
default= 2615r5 # 2615r4 # 2615r2 #2615r1 #2615 #2614r6 #2612r9 
keytable=/boot/it-latin1.klt
lba32
prompt
timeout=50
append="pci=biosirq idebus=33 acpi=off video=scrollback:255K"

HTH.
Francesco

-- 
Linux Version 2.6.15-gentoo-r5, Compiled #1 PREEMPT Sun Feb 12 07:50:34 
CET 2006
One 1GHz AMD Athlon 64 Processor, 2GB RAM, 2007.26 Bogomips Total
aemaeth
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Screen settings

2006-02-25 Thread Linux Blues
On Thu, 23 Feb 2006 01:48:14 -0500
"Frino Klauss" <[EMAIL PROTECTED]> wrote:

> Hi Rajat,
> I suggest u add the following to your Screen section.
> 
> DefaultDepth 24
> 
> just after the Monitor Line.

Nice way to avoid using DRI, I've read two suggestions like this and

On Thu, 23 Feb 2006 09:30:03 +
"Rajat Gujral" <[EMAIL PROTECTED]> wrote:

> (**) I810(0): DRI is disabled because it runs only at 16-bit depth.

So I suggest a DefaultDepth 16 instead of 24 (if you need/want to use
DRI, of course).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] S/P diff question - SOLVED

2006-02-25 Thread Alexander Puchmayr
Am Samstag, 25. Februar 2006 04:22 schrieb Zac Slade:
> On Friday 24 February 2006 09:12, Alexander Puchmayr wrote:
> > Hi there!
> >
> > I'm wondering why dts and aac sound coming from DVD is perfectly
> > transmitted over the spdif port (the A/V receiver recognizes the format
> > ans switches to dts/dolby mode, and -- much important -- I can hear the
> > movie's sound); But if I try the same with a "normal" divx-file or try
> > to play anything else, nothing comes out over the spdif port, only via
> > the analog audio jacks I can hear something.
>
> What program is playing back the DVD?  Is this different from the player
> playing the "other" media files?
>
> Since something can play out the spdif port then it might be important to
> look at that program's setup for audio output.  What device is it using
> etc. --

Finally, I found out *what* really went wrong.

I was using freevo with default settings, which uses xine for playing dvds 
and mplayer for playing avi/mp3/whatever. So, I setup xine as desired and 
where happy that dvds worked fine.

I did not expect that freevo starts mplayer for playing nearly everything 
else, so I did not check the config, and viola: mplayer was configured to 
use oss. This was bad enough to make the alsa driver muting the spdif and 
only using analog output, even when using some other software for playing 
sound. This was where I gave up yesterday.

After finding out which programs where really used, I 
checked /etc/freevo/local_conf.py and configured mplayer correctly to use 
alsa. Now spdif and analog output works as it should :-))


Thanks and greetings
Alex
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: AMD64 & lilo...

2006-02-25 Thread Sven Köhler
> How should I translate this lilo.conf into grub.conf:
> -
> boot = /dev/md0

AFAIK, grub does _not_ support RAID.

You would habe to install grub into the MBR of all drives part of md0.
GRUB cannot be installed into the boot-sector of a partition.

And AFAIK, there are some problems with installing GRUB into both MBR.
Well, LILO manages all the problems for you. GRUB doesn't.

In addition, i see a stable amd64 ebuild and even a ~amd64 ebuild in
portage. So what was the problem again?




signature.asc
Description: OpenPGP digital signature


[gentoo-user] AMD64 & lilo...

2006-02-25 Thread Jarry
Hi all,
does anybody use lilo with amd64? I'm right at installing bootloader,
and to my big surprise I found this statement in handbook:
"While LILO does work on AMD64, Gentoo only supports using GRUB"

I always used lilo, because I find grub syntax a little "strange",
moreover I do not know how grub handles raid (I'm just reading grub
manual on gnu-site, not a single word about raid), but now I'm not
sure what to do: does lilo work with amd64, or not?

How should I translate this lilo.conf into grub.conf:
-
password = ""
restricted
delay=5
boot = /dev/md0
prompt
timeout = 30
default = gentoo

image = /boot/kernel-2.6.15-gentoo-r1
label = gentoo
read-only
root = /dev/md1

image = /boot/kernel-2.6.14-gentoo-r5
label = gentoo.old
read-only
root = /dev/md1
-

Jarry

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Firefox & OOo oddness

2006-02-25 Thread Philip Webb
060224 John J. Foster wrote:
> On my KDE desktop in the File Open dialog boxes on both Firefox & OOo
> I can't find where to tell them to display hidden folders/files.

I'm using Firefox 1.5 & OO 2.0 on KDE 3.5.1 :
for Firefox, R-click on the actual dir/file list & "show hidden files";
for OO, ditto & follow "View" & ditto or toggle with  F8 .

Generally, when you can't find something, R-click often brings up a list.

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban & Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list