Re: [gentoo-user] .config file for gentoo guest on vmware workstation 7.1.4

2011-04-11 Thread Pandu Poluan
On Mon, Apr 11, 2011 at 09:17, Mike Edenfield kut...@kutulu.org wrote:
 On 4/9/2011 4:57 AM, Neil Bothwick wrote:

 On Sat, 9 Apr 2011 17:02:14 +1000, Adam Carter wrote:

 If you're using PVSCSI, go into SCSI  RAID, then SCSI Low Level
 Driver, then select VMware PVSCSI as built-in, not module.


 Do you know which one workstation uses? AFAICT there's no option to
 choose which controller is presented to the guest.

 You get to choose when you create the VM.

 Only in ESX/vSphere, not for Workstation. At least not yet. Somewhat silly,
 IMO, since the hardware support is there under the hood if you know how to
 find it.

 --Mike




Ain't I glad I use VirtualBox instead of VMware Workstation :-P

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



Re: [gentoo-user] .config file for gentoo guest on vmware workstation 7.1.4

2011-04-11 Thread Neil Bothwick
On Sun, 10 Apr 2011 22:17:12 -0400, Mike Edenfield wrote:

  Do you know which one workstation uses? AFAICT there's no option to
  choose which controller is presented to the guest.  
 
  You get to choose when you create the VM.  
 
 Only in ESX/vSphere, not for Workstation. At least not yet. 
 Somewhat silly, IMO, since the hardware support is there 
 under the hood if you know how to find it.

There's an option to choose the SCSI controller in the new VM wizard.
This is in WS 6.5, I don't have 7, and has been there in previous
releases.

BTW I am subscribed to this list and will see your response without your
sending a copy to my inbox.

 
-- 
Neil Bothwick

It's not a bug, it's tradition!


signature.asc
Description: PGP signature


[gentoo-user] are cgroups automatic ?

2011-04-11 Thread Philip Webb
I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
There's nothing in the docs in  /usr/src/linux
 a search via 'make menuconfig' shows nothing suggestive.
Does the kernel automatically set them up once they're enabled
or does the user have to do something to define them ? -- anyone know ?

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




Re: [gentoo-user] [OT] Disk recommendations?

2011-04-11 Thread Helmut Jarausch
On 04/10/2011 03:50:59 PM, Mark Knecht wrote:
 On Sun, Apr 10, 2011 at 12:50 AM, Peter Humphrey
 pe...@humphrey.ukfsn.org wrote:
 
 I read about again and again is a RAID user who loses 1 drive and
 then, while in the process of fixing the RAID, loses a second drive.
 Most of us (myself included) buy identical drives all at the same 
 time
 from the same vendor. This means all the drives were likely from the
 same manufacturing batch and, if they are drives that will fail at 
 all
 then the group will likely experience multiple drive failures. The

Life time is always a statistical statement and therefore I consider it
very unlikely that two or more of them fail at the same time - perhaps 
with one (big) exception. A given brand/model might be very sensitive 
to power failures or excess voltages, and in that case many of them 
could fail after a power failure - or excess voltage.

Since my data is not rapidly changing, I backup my data several times a 
day onto a spare disk which I spin down in between (using hdparm).
At least I hope to increase the life time of that backup disk this way. 
 

Helmut.



Re: [gentoo-user] Kernel modules not autoloading with 2.6.38-gentoo-r1

2011-04-11 Thread du yang
On Monday 04/11/11 12:57:34 CST, James Wall wrote:
 Hi all,
 Has anyone run into an issue where the kernel is not detecting devices? The
 issue does not show up in 2.6.37 on amd64 testing branch. I just got done
 re-emerging world to rule out any hidden surprises. Any ideas?
 TIA,
 James Wall
 

Could it be manually loaded? 
you could try using modprobe to manually load it to see if there is any error.

I have had my nvidia driver couldn't be loaded, finally I found it is kernel 
version no match.

-- 
oooO:
(..):
:\.(:::Oooo::
::\_)::(..)::
:::)./:::
::(_/



Re: [gentoo-user] Kernel modules not autoloading with 2.6.38-gentoo-r1

2011-04-11 Thread James Wall
On Apr 11, 2011 3:42 AM, du yang duyang@gmail.com wrote:

 On Monday 04/11/11 12:57:34 CST, James Wall wrote:
  Hi all,
  Has anyone run into an issue where the kernel is not detecting devices?
The
  issue does not show up in 2.6.37 on amd64 testing branch. I just got
done
  re-emerging world to rule out any hidden surprises. Any ideas?
  TIA,
  James Wall
 

 Could it be manually loaded?
 you could try using modprobe to manually load it to see if there is any
error.

 I have had my nvidia driver couldn't be loaded, finally I found it is
kernel version no match.

 --
 oooO:
 (..):
 :\.(:::Oooo::
 ::\_)::(..)::
 :::)./:::
 ::(_/

The modules will load if I modprobe them but the video driver which has been
built-in does not detect the radeon 9200 card. I copied over the
configuration from my working 2.6.37 kernel and ran make oldconfig. Thanks
for the suggestion though.
James Wall


Re: [gentoo-user] .config file for gentoo guest on vmware workstation 7.1.4

2011-04-11 Thread Mike Edenfield
On 4/11/2011 3:43 AM, Neil Bothwick wrote:
 On Sun, 10 Apr 2011 22:17:12 -0400, Mike Edenfield wrote:
 
 Do you know which one workstation uses? AFAICT there's no option to
 choose which controller is presented to the guest.  

 You get to choose when you create the VM.  

 Only in ESX/vSphere, not for Workstation. At least not yet. 
 Somewhat silly, IMO, since the hardware support is there 
 under the hood if you know how to find it.
 
 There's an option to choose the SCSI controller in the new VM wizard.
 This is in WS 6.5, I don't have 7, and has been there in previous
 releases.

But that dialog does not give you the option to use the VMWare
Paravirtual controller, correct? Its definitely not there in my
Workstation 7 wizard, and I'd love to make it show up if possible :)

The only options I have are for BusLogic, LSI Logic, and LSI Logic SAS.

 BTW I am subscribed to this list and will see your response without your
 sending a copy to my inbox.

Yah, sorry. Hit Reply to All instead of Reply to List by accident.

--Mike



Re: [gentoo-user] su doesn't work for me.

2011-04-11 Thread Peter Humphrey
On Monday 11 April 2011 01:46:44 Mark Shields wrote:

 That response wasn't really meant for you, your reply just happened to be
 the one I clicked reply on.

What? Just happened? Don't you think before you post?

-- 
Rgds
Peter



[gentoo-user] Raid1 fstab

2011-04-11 Thread James

Hello,

background
I mostly followed these guides to build a raid1
workstation using (2) 2T seagate drives:
http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
http://en.gentoo-wiki.com/wiki/Software_RAID_Install
http://en.gentoo-wiki.com/wiki/RAID/Software

Since I'm just using a very simple partion scheme
raid 1(boot, swap, /) I decided to forgo LVM, for now.
Maybe on the next install, I'll get Dale to coach
me on LVM2 ? 
;-)

Both drives are identical (edited to fit gmane):
Disk identifier: 0xab83344a
   Device Boot Start End  Blocks   Id  System
/dev/sda1   * 2048  526335  262144   fd  Lraid auto
/dev/sda2   52633610573823 5023744   fd  Lraid auto
/dev/sda3   573824  3907029167  1948227672   fd  Lraid auto


OK so my question is does this fstab look ok, workable? improvements?

none/proc   procdefaults 0 0
/dev/cdrom  /mnt/cdrom  autonoauto,rw,user   0 0
shm /dev/shm   tmpfsnodev,nosuid,noexec  0 0
/dev/sdb1 /usr/local/video2  ext4defaults0 1
/dev/md1  /boot  ext4noauto,noatime  1 2
/dev/md3  /  ext4noatime 0 1
/dev/md2  swap   swapdefaults0 0

I did not setup initramfs, as those steps where not 
part of the guides, but googling I did see many places where
initramfs was suggested. thoughts and comments?

http://en.gentoo-wiki.com/wiki/Initramfs

It's my first gentoo software raid.
My email is down; so only post to this list!

hopeful this AM,
James







Re: [gentoo-user] .config file for gentoo guest on vmware workstation 7.1.4

2011-04-11 Thread Neil Bothwick
On Mon, 11 Apr 2011 09:30:42 -0400, Mike Edenfield wrote:

  There's an option to choose the SCSI controller in the new VM wizard.
  This is in WS 6.5, I don't have 7, and has been there in previous
  releases.  
 
 But that dialog does not give you the option to use the VMWare
 Paravirtual controller, correct? Its definitely not there in my
 Workstation 7 wizard, and I'd love to make it show up if possible :)

Ah, no. I don't think that controller is available in 6.x. Good idea
that, add an option but don't let users enable it. I suppose it keeps the
bug reports down.


-- 
Neil Bothwick

Every morning is the dawn of a new error...


signature.asc
Description: PGP signature


[gentoo-user] Re: Raid1 fstab

2011-04-11 Thread James
James wireless at tampabay.rr.com writes:


 /dev/sdb1 /usr/local/video2  ext4defaults0 1

oops, ignore this line







Re: [gentoo-user] Raid1 fstab

2011-04-11 Thread Joost Roeleveld
On Monday 11 April 2011 13:59:04 James wrote:
 Hello,
 
 background
 I mostly followed these guides to build a raid1
 workstation using (2) 2T seagate drives:
 http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
 http://en.gentoo-wiki.com/wiki/Software_RAID_Install
 http://en.gentoo-wiki.com/wiki/RAID/Software
 
 Since I'm just using a very simple partion scheme
 raid 1(boot, swap, /) I decided to forgo LVM, for now.
 Maybe on the next install, I'll get Dale to coach
 me on LVM2 ?
 ;-)
 
 Both drives are identical (edited to fit gmane):
 Disk identifier: 0xab83344a
Device Boot Start End  Blocks   Id  System
 /dev/sda1   * 2048  526335  262144   fd  Lraid auto
 /dev/sda2   52633610573823 5023744   fd  Lraid auto
 /dev/sda3   573824  3907029167  1948227672   fd  Lraid auto
 
 
 OK so my question is does this fstab look ok, workable? improvements?
 
 none/proc   procdefaults 0 0
 /dev/cdrom  /mnt/cdrom  autonoauto,rw,user   0 0
 shm /dev/shm   tmpfsnodev,nosuid,noexec  0 0
 /dev/sdb1 /usr/local/video2  ext4defaults0 1
 /dev/md1  /boot  ext4noauto,noatime  1 2
 /dev/md3  /  ext4noatime 0 1
 /dev/md2  swap   swapdefaults0 0
 
 I did not setup initramfs, as those steps where not
 part of the guides, but googling I did see many places where
 initramfs was suggested. thoughts and comments?
 
 http://en.gentoo-wiki.com/wiki/Initramfs
 
 It's my first gentoo software raid.
 My email is down; so only post to this list!
 
 hopeful this AM,
 James

I don't use an initrd and my OS is on a RAID1-partition.
Eg. that isn't necessary.

About your /etc/fstab, I have some concerns.
One of your RAID-devices is /dev/sda

What is the other one? I hope it isn't /dev/sdb. If it is, you will have 
issues with the /usr/local/video2 mountpoint.

I would suggest using a LABEL for that mountpoint to avoid any possible 
issues.

Apart from that, it looks fine. Please ignore the error-message when 
rebooting/shutting down the system that /dev/md3 can't be stopped. (It is in 
use for the root-partition ( / )

--
Joost



[gentoo-user] Re: Raid1 fstab

2011-04-11 Thread James
Joost Roeleveld joost at antarean.org writes:



  /dev/sdb1 /usr/local/video2  ext4defaults0 1

This line is a typo, i.e. already deleted.




 I don't use an initrd and my OS is on a RAID1-partition.
 Eg. that isn't necessary.

Good to know.

 About your /etc/fstab, I have some concerns.
 One of your RAID-devices is /dev/sda
 
 What is the other one? I hope it isn't /dev/sdb. If it is, you will have 
 issues with the /usr/local/video2 mountpoint.

the other drive is sdb, but the video2 line was extraneous (deleted gone).


 I would suggest using a LABEL for that mountpoint to avoid any possible 
 issues.

I made noise a while back about LABELS. Lots of comments, but
nothing clear to follow in the docs or a wiki or a how to. I confused
disklables and file system labels and other forms of lables. 
I even filed a bug, which was closed, since *I* did not 
have a proposal on better docs to use LABELS

Since the guides use (old style mount 
points) for raid, then until the guides change, I (like dale)
not comfortable at all with LABELS(already tried several
time and got borked systems...) I'm not waisting any more time
on LABELS until there are some docs or examples to follow
The light just never turned on  and I'm done waisting time
on LABELS



 Apart from that, it looks fine. Please ignore the error-message when 
 rebooting/shutting down the system that /dev/md3 can't be stopped. (It is in 
 use for the root-partition ( / )

Good to know...

Any body else, before I reboot this (turkey) new install
of a system?


James







[gentoo-user] are cgroups automatic ?

2011-04-11 Thread Philip Webb
I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
There's nothing in the docs in  /usr/src/linux
 a search via 'make menuconfig' shows nothing suggestive.
Does the kernel automatically set them up once they're enabled
or does the user have to do something to define them ? -- anyone know ?

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




Re: [gentoo-user] are cgroups automatic ?

2011-04-11 Thread Bill Longman
On 04/11/2011 08:13 AM, Philip Webb wrote:
 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
  a search via 'make menuconfig' shows nothing suggestive.
 Does the kernel automatically set them up once they're enabled
 or does the user have to do something to define them ? -- anyone know ?
 

Are you sure there's no documentation?

/usr/src/linux/Documentation
$ grep -il cgroup */*.txt
accounting/cgroupstats.txt
block/cfq-iosched.txt
cgroups/blkio-controller.txt
cgroups/cgroups.txt
cgroups/cpuacct.txt
cgroups/cpusets.txt
cgroups/devices.txt
cgroups/freezer-subsystem.txt
cgroups/memcg_test.txt
cgroups/memory.txt
cgroups/resource_counter.txt
filesystems/tmpfs.txt
scheduler/sched-design-CFS.txt
scheduler/sched-rt-group.txt
sysctl/vm.txt
vm/hwpoison.txt
vm/numa_memory_policy.txt
vm/unevictable-lru.txt




Re: [gentoo-user] are cgroups automatic ?

2011-04-11 Thread Florian Philipp
Am 11.04.2011 17:13, schrieb Philip Webb:
 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
  a search via 'make menuconfig' shows nothing suggestive.
 Does the kernel automatically set them up once they're enabled
 or does the user have to do something to define them ? -- anyone know ?
 

I haven't tried 2.6.38 yet but I'm one of the authors of
http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups

I guess you can follow that guide (except that step about adding lines
to ~/.bashrc which is supposedly obsolete in 2.6.38). Then you can see
for yourself how the kernel arranges your processes in cgroups.

Your cgroup mount point should contain directories (different groups)
and in each directory there is a tasks file containing process ids of
the associated tasks.

While you are at it, you could update the information on the wiki. Any
help there is appreciated. :)

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


[gentoo-user] Gentoo/FBSD

2011-04-11 Thread Michael Orlitzky
Has anyone successfully set up a Gentoo/FBSD system in the
somewhat-recent past? I'd like to do some testing, but all of the
install docs are out of date.

I'd appreciate a thirty-second overview of how you did it.



Re: [gentoo-user] are cgroups automatic ?

2011-04-11 Thread dong l
You can dmesg|grep cgroup to see it works..
Sounds like
rquiss@Karata-Laptop ~ $ dmesg|grep cgroup
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
allocated 41943040 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio


2011/4/11 Philip Webb purs...@ca.inter.net

 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
  a search via 'make menuconfig' shows nothing suggestive.
 Does the kernel automatically set them up once they're enabled
 or does the user have to do something to define them ? -- anyone know ?

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





Re: [gentoo-user] [OT] Disk recommendations?

2011-04-11 Thread pk
On 2011-04-10 09:50, Peter Humphrey wrote:

 what are the comparative virtues of the Samsung disks?

Not sure if you know about this (only affects F4 Ecogreen 2TB):
http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks

Best regards

Peter K



Re: [gentoo-user] Raid1 fstab

2011-04-11 Thread Thanasis
on 04/11/2011 04:59 PM James wrote the following:
 snip...

 Both drives are identical (edited to fit gmane):
 Disk identifier: 0xab83344a
Device Boot Start End  Blocks   Id  System
 /dev/sda1   * 2048  526335  262144   fd  Lraid auto
 /dev/sda2   52633610573823 5023744   fd  Lraid auto
 /dev/sda3   573824  3907029167  1948227672   fd  Lraid auto


 OK so my question is does this fstab look ok, workable? improvements?
 snip...
 /dev/md2  swap   swapdefaults0 0

I guess you have made md2 a RAID0 for swap, right (post the output of:
cat /proc/mdstat)?
I think you don't need to put swap on RAID0.
Just make the swap (in fstab) with the same priority (pri=) like:
/dev/sda2noneswapsw,pri=30 0
/dev/sdb2noneswapsw,pri=30 0
(of course, first stop md2, change the partition ids to 82, and then
mkswap ...)





Re: [gentoo-user] [OT] Disk recommendations?

2011-04-11 Thread Peter Humphrey
On Monday 11 April 2011 17:51:18 pk wrote:
 On 2011-04-10 09:50, Peter Humphrey wrote:
  what are the comparative virtues of the Samsung disks?
 
 Not sure if you know about this (only affects F4 Ecogreen 2TB):
 http://sourceforge.net/apps/trac/smartmontools/wiki/SamsungF4EGBadBlocks

Interesting. Looks like it applies to F4 disks, but I think (hope) i'm safe 
with 
F3.

-- 
Rgds
Peter



[gentoo-user] Re: Raid1 fstab

2011-04-11 Thread James
Thanasis thanasis at asyr.hopto.org writes:


 I guess you have made md2 a RAID0 for swap, right (post the output of:
 cat /proc/mdstat)?

nope, swap is raid1

 I think you don't need to put swap on RAID0.

I agree. Everything I read did say may swap on raid 1
so if a disk fails, your swap still works

(chroot) slam / # cat /proc/mdstat
Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] 
md3 : active raid1 sdb3[1] sda3[0]
  1948226512 blocks super 1.2 [2/2] [UU]
  
md2 : active raid1 sdb2[1] sda2[0]
  5022708 blocks super 1.2 [2/2] [UU]
  
md1 : active raid1 sdb1[1] sda1[0]
  262132 blocks super 1.2 [2/2] [UU]
  
unused devices: none


none/proc   procdefaults 0 0
/dev/cdrom  /mnt/cdrom  autonoauto,rw,user   0 0
shm /dev/shm   tmpfsnodev,nosuid,noexec  0 0

/dev/md1  /boot  ext4noauto,noatime  1 2
/dev/md3  /  ext4noatime 0 1
/dev/md2  swap   swapdefaults0 0


(still in chroot)

new post on raid 1 grub ext4 soon


James






[gentoo-user] raid1 grub ext4

2011-04-11 Thread James
Hello,

Following the guides (previous post) I'm not able to set
up grub:
http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
http://en.gentoo-wiki.com/wiki/RAID

grub find /boot/grub/stage1

does not work, even though the stage one file is there 
grub.conf look like the example in these files.

grub  root (hd0,0)
 Filesystem type unknown, partition type 0xfd


I used ext4 for / and /boot partitions.
(is this a problem? (sys-boot/grub-0.97-r10}

ideas? lots of old posts about not being
able to boot grub-0.97 off of ext4, unless
patched?

James







Re: [gentoo-user] [OT] Disk recommendations?

2011-04-11 Thread Paul Hartman
On Sat, Apr 9, 2011 at 3:00 PM, Peter Humphrey pe...@humphrey.ukfsn.org wrote:
 Hello list,

 I've seen some discussion of hard disks on this list recently, but I didn't
 notice any reference to Samsung Spinpoint F3 disks.

 I have two of these in my workstation; if I were thinking of adding 3 more to
 make a more robust system, what advice would I receive?

My boot/root/home is on one:
SAMSUNG Spinpoint F3 HD103SJ 1TB 7200 RPM

Then I have a RAID5 for storage made up of five:
SAMSUNG EcoGreen F3 HD203WI 2TB 5400 RPM

So far I've been using it for a year 24/7 with no problems. hdparm is
able to set them so they never spin down. Otherwise it seems to be
fast and they don't have funny sector sizes or anything.



Re: [gentoo-user] are cgroups automatic ?

2011-04-11 Thread Paul Hartman
On Mon, Apr 11, 2011 at 10:13 AM, Philip Webb purs...@ca.inter.net wrote:
 I have enabled cgroups in kernel 2.6.38 , but am not sure how they work.
 There's nothing in the docs in  /usr/src/linux
  a search via 'make menuconfig' shows nothing suggestive.
 Does the kernel automatically set them up once they're enabled
 or does the user have to do something to define them ? -- anyone know ?

AFAIK if you use 2.6.38 and see
/proc/sys/kernel/sched_autogroup_enabled = 1 then it should be active
and you don't need to do anything else special. But I could be wrong.



Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Mick
On Monday 11 April 2011 19:12:36 James wrote:
 Hello,
 
 Following the guides (previous post) I'm not able to set
 up grub:
 http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml
 http://en.gentoo-wiki.com/wiki/RAID
 
 grub find /boot/grub/stage1
 
 does not work, even though the stage one file is there
 grub.conf look like the example in these files.
 
 grub  root (hd0,0)
  Filesystem type unknown, partition type 0xfd
 
 
 I used ext4 for / and /boot partitions.
 (is this a problem? (sys-boot/grub-0.97-r10}
 
 ideas? lots of old posts about not being
 able to boot grub-0.97 off of ext4, unless
 patched?

James, if I'm not wrong (legacy) sys-boot/grub-0.97-r10 does not have drivers 
for ext4.  Not sure if there's a patch for it, or if grub2 can boot from ext4.

Either way, why is it that /boot needs to be on ext4?
-- 
Regards,
Mick


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


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Neil Bothwick
On Mon, 11 Apr 2011 18:12:36 + (UTC), James wrote:

 grub find /boot/grub/stage1  
 
 does not work, even though the stage one file is there 
 
 I used ext4 for / and /boot partitions.

If /boot is on a separate partition, you should be using

find /grub/stage1


-- 
Neil Bothwick

Religious error: (A)tone, (R)epent, (I)mmolate?


signature.asc
Description: PGP signature


[gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-11 Thread Carlos Sura
Hello mates,

I cannot use LibreOffice, when I try as root, got this message:
*GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
assertion failed: (connection-initialization_error == NULL)*
*
*
I have tried: revdep-rebuild and re emerging: glibc glibmm

# revdep-rebuild
 * Configuring search environment for revdep-rebuild

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

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

 * Dynamic linking on your system is consistent... All done.



this is my info: http://tinypaste.com/7ccc27


For now, the problem just happen with LibreOffice Should I downgrade ??

Regards,
-- 
Carlos Sura.-


Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-11 Thread Neil Bothwick
On Mon, 11 Apr 2011 16:44:40 -0600, Carlos Sura wrote:

 I cannot use LibreOffice, when I try as root, got this message:
 *GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
 assertion failed: (connection-initialization_error == NULL)*

Are you running it from a root desktop, or from a root terminal on a user
desktop? Why are you running it as root in the first place? What happens
when you try it as root?

Also, is this libreoffice or libreoffice-bin, and which version?


-- 
Neil Bothwick

Will we ever get out of this airport? asked Tom interminably.


signature.asc
Description: PGP signature


Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-11 Thread Carlos Sura
On 11 April 2011 18:05, Neil Bothwick n...@digimed.co.uk wrote:

 On Mon, 11 Apr 2011 16:44:40 -0600, Carlos Sura wrote:

  I cannot use LibreOffice, when I try as root, got this message:
  *GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
  assertion failed: (connection-initialization_error == NULL)*

 Are you running it from a root desktop, or from a root terminal on a user
 desktop? Why are you running it as root in the first place? What happens
 when you try it as root?

 Also, is this libreoffice or libreoffice-bin, and which version?


 --
 Neil Bothwick

 Will we ever get out of this airport? asked Tom interminably.



Hello Neil Bothwick,

Thank you for answer me.

Let me explain you a little bit more... I am trying to execute from a root
terminal, because as a normal user, it justs show me the splash screen (of
libre office) but, it does not open the program.

So, in a root terminal it shows me the error above.

I'm using libreoffice, ~amd64

Before updating world everything was working fine...
-- 
Carlos Sura.-


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Mark Shields
On Mon, Apr 11, 2011 at 3:49 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Mon, 11 Apr 2011 18:12:36 + (UTC), James wrote:

  grub find /boot/grub/stage1
 
  does not work, even though the stage one file is there
 
  I used ext4 for / and /boot partitions.

 If /boot is on a separate partition, you should be using

 find /grub/stage1


 --
 Neil Bothwick

 Religious error: (A)tone, (R)epent, (I)mmolate?


If the symlink is there for boot - /boot -- and it is by default -- both
work.


Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-11 Thread Philip Webb
110411 Carlos Sura wrote:
 I cannot use LibreOffice, when I try as root, got this message:
   *GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
   assertion failed: (connection-initialization_error == NULL)*
 I have tried: revdep-rebuild and re emerging: glibc glibmm

First  usually best bet, enter the error msg in Google.
When I did that just now I got :

  https://bbs.archlinux.org/viewtopic.php?pid=837847
  http://fedoraforum.org/forum/showthread.php?p=1423295
  http://lists.opensuse.org/opensuse-bugs/2011-02/msg03139.html

These suggest that the problem described above is caused
by trying to run a GUI app as root, which is never a good idea anyway,
so that's not your real problem.

Go back to running LO as user, tell us the details of what happens
 hopefully someone wb able to help you make progress.

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




Re: [gentoo-user] LibreOffice + GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed

2011-04-11 Thread Carlos Sura
On 11 April 2011 22:23, Philip Webb purs...@ca.inter.net wrote:

 110411 Carlos Sura wrote:
  I cannot use LibreOffice, when I try as root, got this message:
*GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init:
assertion failed: (connection-initialization_error == NULL)*
  I have tried: revdep-rebuild and re emerging: glibc glibmm

 First  usually best bet, enter the error msg in Google.
 When I did that just now I got :

  https://bbs.archlinux.org/viewtopic.php?pid=837847
  http://fedoraforum.org/forum/showthread.php?p=1423295
  http://lists.opensuse.org/opensuse-bugs/2011-02/msg03139.html

 These suggest that the problem described above is caused
 by trying to run a GUI app as root, which is never a good idea anyway,
 so that's not your real problem.

 Go back to running LO as user, tell us the details of what happens
  hopefully someone wb able to help you make progress.

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




Hello Philip Webb,

Thank you for answer me, I know it is not good to run applications as root,
but I tried to see error logs.

When I try to run LibreOffice as normal user, I can see the splash (of
libreoffice) but nothing more... Cannot use any libreoffice application, it
just don't work, fas as I can see is the libreoffice splash. No errors (as
normal user), after the libreoffice splash it closes.

By the way, I've already checked Google, and none of those are my problem,
it just happen with LibreOffice, after a world update.
-- 
Carlos Sura.-


Re: [gentoo-user] Re: Raid1 fstab

2011-04-11 Thread Stroller

On 11/4/2011, at 3:38pm, James wrote:
 ...
 I would suggest using a LABEL for that mountpoint to avoid any possible 
 issues.
 
 I made noise a while back about LABELS. Lots of comments, but
 nothing clear to follow in the docs or a wiki or a how to. I confused
 disklables and file system labels and other forms of lables. 
 I even filed a bug, which was closed, since *I* did not 
 have a proposal on better docs to use LABELS
 
 Since the guides use (old style mount 
 points) for raid, then until the guides change, I (like dale)
 not comfortable at all with LABELS(already tried several
 time and got borked systems...) I'm not waisting any more time
 on LABELS until there are some docs or examples to follow
 The light just never turned on  and I'm done waisting time
 on LABELS


Whilst it would be nice if LABELs were documented in Gentoo's installation 
guide and other docs, I seem to recall there was a reasonable explanation for 
not doing so. 

Meanwhile LABELs have been fairly comprehensively discussed on this list, and 
IMO there's very little mystery to them. I'm pretty sure that Dale now *is* 
using LABELs, and has been for some time (e.g. see [1]). IMO your criticism is 
misleading.

If you have problems with them, post back and people will try to help. I'm sure 
we can get you up and running. 

Stroller.



[1] http://www.gossamer-threads.com/lists/gentoo/user/221438#221438


Re: [gentoo-user] raid1 grub ext4

2011-04-11 Thread Stroller

On 11/4/2011, at 9:18pm, Mick wrote:
 ...
 I used ext4 for / and /boot partitions.
 (is this a problem? (sys-boot/grub-0.97-r10}
 
 James, if I'm not wrong (legacy) sys-boot/grub-0.97-r10 does not have drivers 
 for ext4.  Not sure if there's a patch for it, or if grub2 can boot from ext4.

Use ext2 for /boot, James.

There's no need for extents on such a small partition, nor journalling (because 
you write to /boot so rarely, the likelihood of a power failure when you're 
doing so is minuscule).

Stroller.