[gentoo-user] grub-install error

2023-10-04 Thread dhk



After setting up a new laptop the grub-install command produces an 
error:  "grub-install: error: disk `lvm/nvme0n1p1' not found."


A few comments about the system . . it is a basic setup except that it 
uses luks2 on each partition; lvm is not used, but the decrypted 
partitions are in /dev/mapper and may be the reason lvm is in the error 
message.  The device.map file does not exist on my other working 
machines so it is not clear if that is even necessary.  Also the 
/dev/mapper/nvme0n1p1 partition is certainly there, it is vfat and 
mounted on /efi. The intent is to use a custom initramfs to do the 
decryption.


The laptop will be rebuilt a couple times to work out some ideas, but 
before starting over it would be helpful to understand this error (it is 
not one of the two errors mentioned in the Debugging GRUB section of the 
Handbook).  Responses to questions will be slow since all my traffic 
goes through the weekly digest.


Thanks in advance.

Below is the output of some commands.

* The grub-install command run twice first without and second with 
--verbose.

(chroot) livecd / # grub-install --target=x86_64-efi --efi-directory=/efi
Installing for x86_64-efi platform.
grub-install: error: disk `lvm/nvme0n1p1' not found.

(chroot) livecd / # grub-install --target=x86_64-efi 
--efi-directory=/efi --verbose

Installing for x86_64-efi platform.
grub-install: info: cannot open `/boot/grub/device.map': No such file or 
directory.

grub-install: info: changing current directory to /dev/mapper.
grub-install: info: /dev/mapper/nvme0n1p1 is not present.
grub-install: info: /dev/mapper/nvme0n1p1 is not present.
grub-install: info: /dev/mapper/nvme0n1p1 is not present.
grub-install: info: Scanning for DISKFILTER devices on disk host.
grub-install: info: Scanning for mdraid1x devices on disk host.
grub-install: info: Scanning for mdraid09_be devices on disk host.
grub-install: info: Scanning for mdraid09 devices on disk host.
grub-install: info: Scanning for dmraid_nv devices on disk host.
grub-install: info: Scanning for ldm devices on disk host.
grub-install: info: scanning host for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk host.
grub-install: info: Scanning for DISKFILTER devices on disk proc.
grub-install: info: Scanning for mdraid1x devices on disk proc.
grub-install: info: Scanning for mdraid09_be devices on disk proc.
grub-install: info: Scanning for mdraid09 devices on disk proc.
grub-install: info: Scanning for dmraid_nv devices on disk proc.
grub-install: info: Scanning for ldm devices on disk proc.
grub-install: info: scanning proc for LDM.
grub-install: info: no LDM signature found.
grub-install: info: Scanning for lvm devices on disk proc.
grub-install: info: drive = -1.
grub-install: error: disk `lvm/nvme0n1p1' not found.

* The /efi partition is vfat.
(chroot) livecd / # fdisk -l /dev/mapper/nvme0n1p1
Disk /dev/mapper/nvme0n1p1: 34 MiB, 35651584 bytes, 69632 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x

* The lsblk command on the drive.
(chroot) livecd /usr/src/linux # lsblk /dev/nvme0n1
NAME  MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINTS
nvme0n1   259:0    0 238.5G  0 disk
├─nvme0n1p1   259:1    0    50M  0 part
│ └─nvme0n1p1 253:0    0    34M  0 crypt /efi
├─nvme0n1p2   259:2    0 2G  0 part
│ └─nvme0n1p2 253:1    0   1.9G  0 crypt /boot
├─nvme0n1p3   259:3    0    16G  0 part
│ └─nvme0n1p3 253:2    0    16G  0 crypt [SWAP]
├─nvme0n1p4   259:4    0    10G  0 part
│ └─nvme0n1p4 253:3    0    10G  0 crypt /
├─nvme0n1p5   259:5    0 2G  0 part
│ └─nvme0n1p5 253:4    0 2G  0 crypt /tmp
├─nvme0n1p6   259:6    0    60G  0 part
│ └─nvme0n1p6 253:5    0    60G  0 crypt /usr
├─nvme0n1p7   259:7    0    25G  0 part
│ └─nvme0n1p7 253:6    0    25G  0 crypt /var
├─nvme0n1p8   259:8    0    20G  0 part
│ └─nvme0n1p8 253:7    0    20G  0 crypt /opt
└─nvme0n1p9   259:9    0 103.5G  0 part
  └─nvme0n1p9 253:8    0 103.5G  0 crypt /home

* The emerge --info
(chroot) livecd / # emerge --info
!!! CONFIG_PROTECT is empty
Portage 3.0.51 (python 3.11.5-final-0, 
default/linux/amd64/17.1/no-multilib, gcc-13, glibc-2.37-r7, 
6.1.28-gentoo-x86_64 x86_64)

=
System uname: 
Linux-6.1.28-gentoo-x86_64-x86_64-11th_Gen_Intel-R-_Core-TM-_i5-1145G7_@_2.60GHz-with-glibc2.37

KiB Mem:    16154684 total,  15575452 free
KiB Swap:   16760828 total,  16760828 free
Timestamp of repository gentoo: Wed, 04 Oct 2023 03:00:01 +
Head commit of repository gentoo: 5194d8a0709d5d13abf436928bd7d6299e404a43
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:    1.3.5::gentoo
app-shells/bash:   5.1_p16-r6::gentoo
dev-lang/perl: 5.38.0-r1::gentoo
dev-lang/python:   3.11.5::gentoo

Re: [gentoo-user] Loading modules prevents shutdown

2023-06-17 Thread dhk
Thanks for the tips.  After spending a lot of time on and off for a few 
weeks trying to keep /lib/modules on its own partition, it just did not 
work right; the system was scrapped and rebuilt per the trivial solution 
with /lib/modules on the root partition.  Now it works as expected.


A good explanation as to why /lib/modules cannot be a separate partition 
would be nice, but after learning learning the hard way again it stays 
on the root partition going forward.




On 5/23/23 15:58, dhk wrote:
After a new install on an HP EliteBook with an Intel I7 core, when the 
iwlwifi module is loaded the system fails to complete shutdown and 
power off.


The install is mostly a standard openrc install for a personal use 
laptop.  The usual partitions were created and only /var, /opt and 
/home are on lvm2; one non-standard partition configuration is 
/usr/src and /lib/modules are on their own partition.  The /usr/src 
partition should be benign since it is only used when building the 
kernel; however, the /lib/modules partition was the cause of one issue 
that has already been resolved and may be the cause of the other.


First, the resolved issue.
On boot, the iwlwifi module was not found and the following message 
was displayed.

  * Loading kernel modules ...
   modprobe: FATAL: Module iwlwifi not found in directory 
/lib/modules/6.1.19-gentoo-x86_64
This was puzzling, since once logged in a find command found it where 
it should be and the module could be added on the command line without 
any problem.  This issue caused me to reboot and shutdown many times 
until noticing that modprobe was trying to load the iwlwifi module 
before /lib/modules was mounted.  This was easily fixed by adding a 
"/lib/modules" line to the /etc/initramfs.mounts file.  The one thing 
noticed from all the shutdowns and reboots was, when the iwlwifi 
module was not loaded the system shutdown fine and when it was loaded 
the system failed to shutdown and power off completely.


Second, Loading modules prevents shutdown,
The issue was discovered with iwlwifi, but occurs when any module from 
the /lib/modules/6.1.19-gentoo-x86_64 directory is tried instead and 
deleting the module before the "shutdown -h -P now" does not make a 
difference.


To get a better look at what is going on, the rc_logger variable was 
set to "YES" in /etc/rc.conf (rc_logger="YES").



Now the difference between the console display and /var/log/rc.log 
file on a clean shutdown and one with a module loaded preventing a 
clean shutdown.


Whether a module is loaded or not, the console and /var/log/rc.log 
match up to and including "Stopping the Logical Volume Manager" and 
then things start to deviate.


 * Stopping syslog-ng ...  [ ok 
]  <= console and 
/var/log/rc.log match.

 * Unmounting loop devices * Unmounting filesystems
 *   Unmounting /var ...  [ ok ]
 *   Unmounting /opt ...  [ ok ]
 *   Unmounting /home ...  [ ok ]
 *   Unmounting /usr/src ...  [ ok ]
 *   Unmounting /tmp ...  [ ok ]
 *   Unmounting /lib/modules ...  [ ok ]
 *   Unmounting /boot ...  [ ok ]
 * Deactivating swap devices ...  [ ok 
]       <= console and 
/var/log/rc.log match.
 * Stopping the Logical Volume Manager ...        <= When a module is 
loaded, this is the last line on the console.

  0 logical volume(s) in volume group "vg1" now active
  0 logical volume(s) in volume group "vg0" now active [ ok ] <= When 
a module is loaded, this is the last line in /var/log/rc.log.
 * Setting hardware clock using the system clock [UTC] ...  [ ok ] <= 
When no module is loaded, this is on the console and in /var/log/rc.log.
 * Stopping udev ...  [ ok ] <= When no module is loaded, this is on 
the console and in /var/log/rc.log.
 rc shutdown logging stopped at Thu May 18 05:44:09 2023 <= When no 
module is loaded, this is the last line in /var/log/rc.log.
 * Terminating remaining processes ...  [ ok ] <= When no module is 
loaded, this is on the console (See: /etc/init.d/killprocs).
 * Killing remaining processes ...  [ ok ] 
<= When no module is loaded, this is on the console (See:  
/etc/init.d/killprocs).
 * Saving dependency cache ...  [ ok ] <= When no module is loaded, 
this is on the console (See: /etc/init.d/savecache).
 * Remounting remaining filesystems read-only ...  [ ok ] <= When no 
module is loaded, this is on the console (See: /etc/init.d/mount-ro).
 *   Remounting / read only ...  [ ok 
] <= When no module is loaded, this is 
on the console.
reboot:  Power 
down <= When 
no module is loaded, this is on the console.



In short, it looks like the LVM was stopped correctly and everything 
was good up to that point; however, when a module is loaded it looks 
li

[gentoo-user] Loading modules prevents shutdown

2023-05-23 Thread dhk
After a new install on an HP EliteBook with an Intel I7 core, when the 
iwlwifi module is loaded the system fails to complete shutdown and power 
off.


The install is mostly a standard openrc install for a personal use 
laptop.  The usual partitions were created and only /var, /opt and /home 
are on lvm2; one non-standard partition configuration is /usr/src and 
/lib/modules are on their own partition.  The /usr/src partition should 
be benign since it is only used when building the kernel; however, the 
/lib/modules partition was the cause of one issue that has already been 
resolved and may be the cause of the other.


First, the resolved issue.
On boot, the iwlwifi module was not found and the following message was 
displayed.

  * Loading kernel modules ...
   modprobe: FATAL: Module iwlwifi not found in directory 
/lib/modules/6.1.19-gentoo-x86_64
This was puzzling, since once logged in a find command found it where it 
should be and the module could be added on the command line without any 
problem.  This issue caused me to reboot and shutdown many times until 
noticing that modprobe was trying to load the iwlwifi module before 
/lib/modules was mounted.  This was easily fixed by adding a 
"/lib/modules" line to the /etc/initramfs.mounts file.  The one thing 
noticed from all the shutdowns and reboots was, when the iwlwifi module 
was not loaded the system shutdown fine and when it was loaded the 
system failed to shutdown and power off completely.


Second, Loading modules prevents shutdown,
The issue was discovered with iwlwifi, but occurs when any module from 
the /lib/modules/6.1.19-gentoo-x86_64 directory is tried instead and 
deleting the module before the "shutdown -h -P now" does not make a 
difference.


To get a better look at what is going on, the rc_logger variable was set 
to "YES" in /etc/rc.conf (rc_logger="YES").



Now the difference between the console display and /var/log/rc.log file 
on a clean shutdown and one with a module loaded preventing a clean 
shutdown.


Whether a module is loaded or not, the console and /var/log/rc.log match 
up to and including "Stopping the Logical Volume Manager" and then 
things start to deviate.


 * Stopping syslog-ng ...  [ ok 
]  <= console and 
/var/log/rc.log match.

 * Unmounting loop devices * Unmounting filesystems
 *   Unmounting /var ...  [ ok ]
 *   Unmounting /opt ...  [ ok ]
 *   Unmounting /home ...  [ ok ]
 *   Unmounting /usr/src ...  [ ok ]
 *   Unmounting /tmp ...  [ ok ]
 *   Unmounting /lib/modules ...  [ ok ]
 *   Unmounting /boot ...  [ ok ]
 * Deactivating swap devices ...  [ ok 
]       <= console and 
/var/log/rc.log match.
 * Stopping the Logical Volume Manager ...        <= When a module is 
loaded, this is the last line on the console.

  0 logical volume(s) in volume group "vg1" now active
  0 logical volume(s) in volume group "vg0" now active [ ok ] <= When a 
module is loaded, this is the last line in /var/log/rc.log.
 * Setting hardware clock using the system clock [UTC] ...  [ ok ] <= 
When no module is loaded, this is on the console and in /var/log/rc.log.
 * Stopping udev ...  [ ok ] <= When no module is loaded, this is on 
the console and in /var/log/rc.log.
 rc shutdown logging stopped at Thu May 18 05:44:09 2023 <= When no 
module is loaded, this is the last line in /var/log/rc.log.
 * Terminating remaining processes ...  [ ok ] <= When no module is 
loaded, this is on the console (See: /etc/init.d/killprocs).
 * Killing remaining processes ...  [ ok ] 
<= When no module is loaded, this is on the console (See:  
/etc/init.d/killprocs).
 * Saving dependency cache ...  [ ok ] <= When no module is loaded, 
this is on the console (See: /etc/init.d/savecache).
 * Remounting remaining filesystems read-only ...  [ ok ] <= When no 
module is loaded, this is on the console (See: /etc/init.d/mount-ro).
 *   Remounting / read only ...  [ ok ] 
<= When no module is loaded, this is on the console.
reboot:  Power 
down <= When no 
module is loaded, this is on the console.



In short, it looks like the LVM was stopped correctly and everything was 
good up to that point; however, when a module is loaded it looks like 
nothing in /etc/runlevels/shutdown/ gets kicked off and the system is 
waiting.


My preference is to have this work while keeping the /lib/modules 
partition.  How it can be fixed?


FYI: Answering may be slow since my emails are received weekly through 
the digest.


Thank you.















[gentoo-user] Re: LVM and the /usr Logical Volume

2022-04-25 Thread dhk
Having /dev/dm-1 mounted on /usr would not be an issue if it was 
supposed to be that way; however, nothing in the handbook or anything 
else I have read says that is correct.  In addition, every other system 
I have setup or used always had /usr as the mount point in the fstab.


My primary questions are:
  * Why is it different this time?
  * What changed to make /usr mount the block device?
  * Why is the /usr record in the fstab being ignored and being handled 
differently that /var, /opt, /home and /vm ?


Even though everything seems to be work correctly, without a good and 
authoritative explanation my confidence level in the stability is not 
too high and is preventing me from relying on it as primary host.


My concerns about not having a good explanation for why df -h shows 
/dev/dm-1 on /usr instead of /dev/mapper/vg0-usr are:
* There could be problems interfacing directly with the block device 
(/dev/dm-1) and not the link (/dev/mapper/vg0-usr).
* When it comes time to extend the /usr logical volume and use commands 
like lvextend, resize2fs, lvresize and some others it may cause problems.
* The documentation does not say this is correct, in fact the 
documentation specifically says the opposite that the fstab is used for 
the mount points.
* It looks like the initramfs is not letting go of the temporary /usr 
mount and mounting /usr in the vg0-usr volume group correctly.


After reinstalling Gentoo with a new liveusb, my system still looks 
similar to the way it was before.  I started with the existing partition 
schema and wiped everything and performed a separate independent 
install.  I am still not sure why the /dev/dm-1 block device is mounted 
on /usr which is not what the fstab is instructing.


UUIDs are not being used because the handbook says:
*Important:*  UUIDs of the filesystem on a LVM volume and its LVM 
snapshots are identical, therefore using UUIDs to mount LVM volumes 
should be avoided.


/etc/fstab:
/dev/nvme0n1p6  /boot   ext2 
defaults,noatime    0 2
/dev/nvme0n1p7  none    swap 
sw  0 0
/dev/nvme0n1p8  /   ext4 
defaults,noatime,discard    0 1
/dev/nvme0n1p9  /lib/modules    ext4 
defaults,noatime,discard    0 1
/dev/nvme0n1p10 /tmp    ext4 
defaults,noatime,discard    0 1
/dev/mapper/vg0-usr /usr    ext4 
defaults,noatime,discard    0 0
/dev/mapper/vg0-home    /home   ext4 
defaults,noatime,discard    0 1
/dev/mapper/vg0-opt /opt    ext4 
defaults,noatime,discard    0 1
/dev/mapper/vg0-var /var    ext4 
defaults,noatime,discard    0 1
/dev/mapper/vg1-vm  /vm ext4 
noauto,noatime,discard  0 1

/dev/cdrom  /mnt/cdrom  auto rw,exec,noauto,user 0 0

/etc/initramfs.mounts has:
/usr

# ls -l /dev/mapper/vg0-usr
lrwxrwxrwx 1 root root 7 Apr 23 05:56 /dev/mapper/vg0-usr -> ../dm-1

# mount /usr
mount: /usr: /dev/mapper/vg0-usr already mounted or mount point busy.

# df -h /usr
Filesystem  Size  Used Avail Use% Mounted on
/dev/dm-1    25G  3.2G   20G  14% /usr

Thank you

[gentoo-user] Re: LVM and the /usr Logical Volume

2022-04-06 Thread dhk
So it sounds like /usr being under /dev/dm-1 instead of /dev/mapper does 
not look right.


The UUID was tried in the fstab and the same results occurred, same as 
with LABEL and mount points.


Since /usr is mounted temporarily at boot it almost looks as if there is 
something wrong with the way the initramfs is handling it. The tmpfs is 
built into the kernel and the /etc/initramfs.mounts looks correct with 
only /usr in it, but /lib/modules was tried also and did not make a 
difference.


Could this be a bug with genkernel or udev?

Thanks







[gentoo-user] LVM and the /usr Logical Volume

2022-04-05 Thread dhk
My new laptop is set up to dual boot and has a clean Gentoo install as 
the second operating system.  It looks like there may be an issue with 
the /usr Logical Volume (LV) somewhere between LVM, initramfs and udev.  
Only the base system has been installed and updated (no desktop).


The issue is the /usr logical volume is not mounted as expected. After 
booting without the livecd:
  * The df -h command show /usr on /dev/dm-1 and not 
/dev/mapper/vg0-usr like the in the fstab.
  * My expectation is it should follow the other LVs (home, var, opt, 
vm) and be in the vg0 Volume Group on /dev/mapper .
  * However the mount /usr command indicates that it is mounted 
correctly:  mount: /usr: /dev/mapper/vg0-usr already mounted or mount 
point busy.


Is there something off here or is this correct behavior?

The laptop is a new HP Envy x360, 2-in-1 Flip Laptop, 15.6" Full HD 
Touchscreen, AMD Ryzen 7 5700U Processor, 64GB RAM and 1TB PCIe SSD.


Below is the /etc/fstab and output from lsblk, df -h and the links in 
the volume group after booting to the livecd and booting to the ssd.


Thank you

# 
*

# /etc/fstab:  This is a dual boot system (Windows 11 & Gentoo), the
# same results occurred using straight mount points, LABEL and UUID.
# 
*
#          


#/dev/nvme0n1p1 /efi    vfat noauto,noatime    1 2
#/dev/nvme0n1p2 /
#/dev/nvme0n1p3 /Win11
#/dev/nvme0n1p4 /Win11Data
#/dev/nvme0n1p5 /Win11Recovery
/dev/nvme0n1p6  /boot   ext2 defaults,noatime  0 2
/dev/nvme0n1p7  none    swap sw    0 0
/dev/nvme0n1p8  /   ext4 defaults,noatime,discard  0 1
/dev/nvme0n1p9  /lib/modules    ext4 defaults,noatime,discard  0 1
/dev/nvme0n1p10 /tmp    ext4 defaults,noatime,discard  0 2

#/dev/mapper/vg0-usr /usr    ext4 defaults,noatime,discard  0 0
#/dev/mapper/vg0-home    /home   ext4 defaults,noatime,discard  0 1
#/dev/mapper/vg0-opt /opt    ext4 defaults,noatime,discard  0 1
#/dev/mapper/vg0-var /var    ext4 defaults,noatime,discard  0 1
#/dev/mapper/vg1-vm  /vm ext4 noauto,noatime,discard,user   0 1

#Use blkid /dev/mapper/* to get the LABEL and UUID (quotes cause errors).
LABEL=usr   /usr    ext4    defaults,noatime,discard  0 0
LABEL=home  /home   ext4    defaults,noatime,discard  0 1
LABEL=opt   /opt    ext4    defaults,noatime,discard  0 1
LABEL=var   /var    ext4    defaults,noatime,discard  0 1
LABEL=vm    /vm ext4    noauto,noatime,discard,user   0 1

#UUID=d9237094-6589-4e90-989d-17bfe74082a4 /usr    ext4 
defaults,noatime,discard  0 0
#UUID=53831f3e-6266-4186-a7e1-90ecd027b981 /home   ext4 
defaults,noatime,discard  0 1
#UUID=cbdfcbb5-dff1-4b21-8eca-d1684b621fb2 /opt    ext4 
defaults,noatime,discard  0 1
#UUID=d43c8c7a-1a83-42f7-958d-9402e7bcc48f /var    ext4 
defaults,noatime,discard  0 1
#UUID=95ea1fcc-df9d-4c0b-bce4-a979f8430728 /vm ext4 
noauto,noatime,discard,user   0 1


/dev/cdrom  /mnt/cdrom  auto rw,exec,noauto,user   0 0


# 
*

# Booting to the livecd and before chroot, all looks good.
# 
*

livecd ~ # lsblk
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0  7:0    0 385.7M  1 loop /mnt/livecd
sda    8:0    1 2G  0 disk
└─sda1 8:1    1 2G  0 part /mnt/cdrom
nvme0n1  259:0    0 931.5G  0 disk
├─nvme0n1p1  259:1    0   100M  0 part
├─nvme0n1p2  259:2    0    16M  0 part
├─nvme0n1p3  259:3    0  52.2G  0 part
├─nvme0n1p4  259:4    0  40.2G  0 part
├─nvme0n1p5  259:5    0 608.6M  0 part
├─nvme0n1p6  259:6    0   2.8G  0 part /mnt/gentoo/boot
├─nvme0n1p7  259:7    0   4.7G  0 part [SWAP]
├─nvme0n1p8  259:8    0   9.3G  0 part /mnt/gentoo
├─nvme0n1p9  259:9    0   3.7G  0 part /mnt/gentoo/lib/modules
├─nvme0n1p10 259:10   0   2.8G  0 part /mnt/gentoo/tmp
├─nvme0n1p11 259:11   0 186.3G  0 part
│ ├─vg0-usr  253:1    0    25G  0 lvm  /mnt/gentoo/usr
│ ├─vg0-var  253:2    0    20G  0 lvm  /mnt/gentoo/var
│ ├─vg0-home 253:3    0    80G  0 lvm  /mnt/gentoo/home
│ └─vg0-opt  253:4    0    20G  0 lvm  /mnt/gentoo/opt
├─nvme0n1p12 259:12   0 186.3G  0 part
│ └─vg1-vm   253:0    0   150G  0 lvm  /mnt/gentoo/vm
├─nvme0n1p13 259:13   0  93.1G  0 part
├─nvme0n1p14 259:14   0  93.1G  0 part
├─nvme0n1p15 259:15   0  46.6G  0 part
├─nvme0n1p16 259:16   0  46.6G  0 part
├─nvme0n1p17 259:17   0  46.6G  0 part
├─nvme0n1p18 259:18   0  46.6G  0 part
├─nvme0n1p19 259:19   0  46.6G  0 part
└─nvme0n1p20 259:20   0  23.5G  0 part

livecd ~ # df -h
Filesystem    Size  Used Avail 

Re: [gentoo-user] Updating a Standalone

2011-08-24 Thread dhk
Okay, thanks, it looks like I'll have to set up a mirror site on my
laptop.  Is there a good howto for this?  How much space does it require?

Thanks again,

dhk

On 08/12/2011 10:43 AM, Thanasis wrote:
 on 08/12/2011 05:08 PM Paul Hartman wrote the following:
 On Fri, Aug 12, 2011 at 8:26 AM, Thanasis thana...@asyr.hopto.org wrote:
 Keep an updated image of the standalone on laptop, update it via chroot,
 and sync back to the standalone.

 This is what i came here to suggest. :) But I think it'll only work if
 the 2 machines are using compatible arch, right?

 
 If the host is 64bit (amd or intel) it can work with a 32bit (and 64bit)
 chroot. You only need to fix* the -march= in the chroot(ed) make.conf
 (CFLAGS=) and call chroot via linux32 or linux64 accordingly.
 ls -l /usr/bin/linux*
 lrwxrwxrwx 1 root root 7 Aug  9 09:58 /usr/bin/linux32 - setarch
 lrwxrwxrwx 1 root root 7 Aug  9 09:58 /usr/bin/linux64 - setarch
 
 *(do not set march to native)
 
 




[gentoo-user] Updating a Standalone

2011-08-12 Thread dhk
I have a Gentoo Box that is a standalone with no internet access.  Is
there a way I can update it by using my laptop?

It would be nice to be able to sync a copy of my world list on my laptop
without clobbering my laptop's world list.  Then do a fetch for the
standalone world and when on the console pf the standalone do the update
to the fetched packages on the laptop.  The idea is not to have the
laptop as an image of the standalone, but as a server to sync to while
keeping the laptop's world separate.

Thanks,

dhk



Re: [gentoo-user] Re: Updating a Standalone

2011-08-12 Thread dhk
On 08/12/2011 06:25 AM, Pandu Poluan wrote:
 On Fri, Aug 12, 2011 at 17:16, Nikos Chantziaras rea...@arcor.de wrote:
 On 08/12/2011 12:58 PM, dhk wrote:

 I have a Gentoo Box that is a standalone with no internet access.  Is
 there a way I can update it by using my laptop?

 It would be nice to be able to sync a copy of my world list on my laptop
 without clobbering my laptop's world list.  Then do a fetch for the
 standalone world and when on the console pf the standalone do the update
 to the fetched packages on the laptop.  The idea is not to have the
 laptop as an image of the standalone, but as a server to sync to while
 keeping the laptop's world separate.

 Er, can't you just give the box Internet access by using the laptop's
 connection?

 
 Agree with Nikos.
 
 Another (ultra-roundabout) way:
 
 * Get portage-latest.tar.xz
 * Untar to your standalone system
 * emerge -puf @world
 * Get the files on an Internet-connected system
 * Put the files on the standalone's portage DISTDIR
 * emerge -au @world
 
 DISCLAIMER: Not tested :-)
 
 Rgds,

There's no Internet access where the standalone is, it's remote, when I
go with the laptop the laptop doesn't have Internet access either.

I didn't really want to tar or burn stuff to disk.  I think I'd like to
just be able --sync the laptop for itself and then have the ability to
do another sync for the standalone.  Of coarse the second sync for the
standalone wouldn't install anything.  Then when I travel to the
standalone I'd like to do any emerge -uDNp world to the laptop which
would most likely be the setting in the make.conf on the standalone.  Thanks



Re: [gentoo-user] emerge --depclean - libcurl.la

2011-06-06 Thread dhk

On Fri, Jun 3, 2011 at 8:48 PM, dhk...@optonline.net wrote:


Correct, not in world.

Sent from my LG phone

Mick michaelkintz...@gmail.com wrote:


On Friday 03 Jun 2011 19:36:19 dhk wrote:
libtool: link: cannot find the library `/usr/lib64/libcurl.la' or 
unhandled


Only to add that I haven't got this file in my amd64 system either:

$ ls -la /usr/lib64/libcurl.la
ls: cannot access /usr/lib64/libcurl.la: No such file or directory

--
Regards,
Mick



Alright, the problem seems to be fixed though I don't know exactly why. 
The libcurl.la file was used by the Berkeley XML Database:  I think the 
Xerces and Xquilla parts.  I reinstalled the Berkeley XML Database and, 
even though the libcurl.la file didn't come back, the problem 
disappeared.  The program I have that uses the database now builds and 
runs fine.


dhk



Re: [gentoo-user] emerge --depclean - libcurl.la

2011-06-03 Thread dhk




On Thu, Jun 2, 2011 at 11:44 AM, dhk...@optonline.net wrote:



- Original Message -
From: Paul Hartman
Date: Thursday, June 2, 2011 11:24 am
Subject: Re: [gentoo-user] emerge --depclean - libcurl.la
To: gentoo-user@lists.gentoo.org


On Thu, Jun 2, 2011 at 9:54 AM, wrote:

emerge --depclean removed libcurl.la a few days ago.  I have a
program that's not in world that uses it when built:  libtool 
complains that it's

missing.  In /usr/lib64 there are libcurl .so files but no .la

files.
How can I get the libcurl.la library back and keep it so emerge 
--depclean doesn't remove it?


Have you run lafilefixer --justfixit? I wonder if you have old .la 
files from packages emerged before portage 2.1.9.
After running it once, you shouldn't need it anymore since portage 
will auto-fix them upon installation.
You should run the lafilefixer command before trying revdep-rebuild, 
or else you might have a lot of unnecessary emerges.
AFAIK the usage of .la files is basically deprecated and only a few 
packages still require them. Flameeyes posted a lot of details about 
it on his blog last year. (http://blog.flameeyes.eu)




I did the lafilefixer and revdep-rebuild and it still happens.  I think 
it may be in my project directory.  In there I have three files libtool, 
Makefile.in, and acinclude.m4 each make reference to libtool.  It's 
commented out in the configure.ac file.



Something is still looking for libcurl.la and libtool is trying to link 
to it.  I grep'ed for curl and nothing is returned.  I'm using the 
Berkeley C++ xml database, libxml2, and other things.  I cleaned up all 
the Makefiles and reran libtoolize.  The error is as follows.


gcc -DHAVE_CONFIG_H -I. -I.. -Wall -g2 -O0 -DDEBUG 
-DG_LOG_DOMAIN=\domain\

-DPACKAGE_DATA_DIR=\/tmp/domain\
-DPACKAGE_LOCALE_DIR=\/tmp/domain/locale\
-DROOTLOGICDIR=\/tmp/domain\
-I/opt/BerkeleyDB/dbxml-2.5.16/install/include -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/gtk-2.0

-I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 
-I/usr/include/pixman-1

-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/libxml2
-DMAKE_POS0 -DEXACTNESS   -g2 -ggdb -O0 -DDEBUG=1   -MT 
pso0-companySpecific.o
-MD -MP -MF .deps/pso0-companySpecific.Tpo -c -o pso0-companySpecific.o 
`test

-f 'companySpecific.c' || echo './'`companySpecific.c
mv -f .deps/pso0-companySpecific.Tpo .deps/pso0-companySpecific.Po
/bin/sh ../libtool --tag=CXX   --mode=link g++  -g -O2 -export-dynamic
-rdynamic -L/opt/BerkeleyDB/dbxml-2.5.16/install/lib  -o pso0 
pso0-main.o

pso0-xt.o pso0-bdb.o pso0-bdbInventory.o pso0-bdbXaction.o
pso0-interfaceBuilder.o pso0-epsonPrint.o pso0-number.o 
pso0-initialize.o
pso0-support.o pso0-callbacks.o pso0-psoGetOpts.o pso0-menus.o 
pso0-psosubs.o

pso0-putMsg.o pso0-pso.o pso0-psoGuiBuild.o pso0-ipms.o pso0-plu.o
pso0-companySpecific.o -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo 
-lpng14
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0

-lrt -lglib-2.0 -lxml2-ldb -ldb_cxx -ldbxml -lxqilla -lxerces-c
libtool: link: cannot find the library `/usr/lib64/libcurl.la' or 
unhandled

argument `/usr/lib64/libcurl.la'
make[3]: *** [pso0] Error 1
make[3]: Leaving directory `/home/shtarker/Dev/pso/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/shtarker/Dev/pso/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/shtarker/Dev/pso'
make: *** [all] Error 2

libtool: link: cannot find the library `/usr/lib64/libcurl.la' or 
unhandled


Thanks,

dhk


Re: [gentoo-user] emerge --depclean - libcurl.la

2011-06-03 Thread dhk...@optonline.net
Correct, not in world.

Sent from my LG phone

Mick michaelkintz...@gmail.com wrote:

On Friday 03 Jun 2011 19:36:19 dhk wrote:
 libtool: link: cannot find the library `/usr/lib64/libcurl.la' or 
 unhandled

Only to add that I haven't got this file in my amd64 system either:

$ ls -la /usr/lib64/libcurl.la
ls: cannot access /usr/lib64/libcurl.la: No such file or directory

-- 
Regards,
Mick



Re: [gentoo-user] Gentoo and a Mobile Phone

2011-05-17 Thread dhk
On 05/17/2011 06:10 AM, Dave Kuhl wrote:
 I had mail forwarding turned on, so my replies to gentoo-user were getting 
 kicked.   Hopefully adding myself and then replying will keep this the same 
 thread.
 
 
 
 
 
 From: Florian Philipp li...@binarywings.net
 To: gentoo-user@lists.gentoo.org
 Sent: Mon, May 16, 2011 1:12:07 PM
 Subject: Re: [gentoo-user] Gentoo and a Mobile Phone
 
 Am 16.05.2011 15:39, schrieb dhk...@optonline.net:
 I have an Optimus V 3G mobile phone.  When I connect it to my Gentoo box
 with the usb cable, and turn on usb storage, I get the following message
 in a pop-up box.

 Unable to mount 2.0 GB Filesystem
 Not Authorized

 Should I make the device rwx for all, make a udev rule, or do something
 else?  The problem is depending on what's plugged in, it may not always
 be /dev/sdb .  Also, what applications are out there that can interact
 with the device?  One of the first things I'd like to do is backup and
 edit my contacts on the Gentoo box and sync it to the phone.

 Thanks,

 dhk


 
 What permissions are currently set? Maybe you just need to add your user
 to another group (plugdev?).
 
 I guess normal USB sticks work?
 
 Otherwise, udev is the way to go.
 
 Hope this helps,
 Florian Philipp
 

When I plug the phone in the follow shows up.
brw-rw 1 root disk 8, 0 May 16 17:02 /dev/sdb
brw-rw 1 root disk 8, 1 May 16 17:02 /dev/sdb1

I have to mount other usb sticks manually, although I wouldn't mind if
it was automatic.

Are there apps to interface with the phone?  Right now I'd like to get
pictures and contacts off it.

Thanks,

dhk



[gentoo-user] emerge --depclean removed python 2.6

2011-04-15 Thread dhk
After a recent update I got python 2.7 installed.  The emerge --depclean
command removed python 2.6 which I thought would be alright since I now
have 2.7.  I also used eselect python to set 2.7 as my default.  Now
revdep-rebuild has a load of broke links that are due to 2.6 being
missing.  Now vi and other stuff doesn't work.  What should be done next?

Thanks,

dhk



Re: [gentoo-user] emerge --depclean removed python 2.6

2011-04-15 Thread dhk
On 04/15/2011 06:20 AM, Adam Carter wrote:
 On Fri, Apr 15, 2011 at 8:16 PM, dhk dhk...@optonline.net wrote:
 
 After a recent update I got python 2.7 installed.  The emerge --depclean
 command removed python 2.6 which I thought would be alright since I now
 have 2.7.  I also used eselect python to set 2.7 as my default.  Now
 revdep-rebuild has a load of broke links that are due to 2.6 being
 missing.  Now vi and other stuff doesn't work.  What should be done next?

 
 Run python-updater.
 

I forgot about that command.  Thanks.



[gentoo-user] My email address will change

2011-04-13 Thread dhk
My email address will change soon.  Is there a place to change it so I
keep getting the gentoo-user emails or do I cancel and resubscribe?

dhk



Re: [gentoo-user] My email address will change

2011-04-13 Thread dhk
On 04/13/2011 05:51 AM, Florian Philipp wrote:
 Am 13.04.2011 11:25, schrieb dhk:
 My email address will change soon.  Is there a place to change it so I
 keep getting the gentoo-user emails or do I cancel and resubscribe?

 dhk

 
 AFAIK, you have to cancel and resubscribe. At least that's what I did.
 
 
 Regards,
 Florian Philipp
 

That's what it looks like:  an unsubscribe-subscribe.  Other lists I'm
on let you change the email and postpone delivery if you need to.  Those
are nice features.  Sometimes you know you're not going to get to the
mail, like when you're on vacation, and it can be stopped for awhile.
Right now I'm moving and I don't have access in the new place.

Thanks,

dhk




Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-30 Thread dhk
On 03/15/2011 08:42 AM, dhk wrote:
 On 03/07/2011 11:15 AM, Mick wrote:
 On 7 March 2011 12:41, dhk dhk...@optonline.net wrote:

 Here's an update.  Yesterday morning I recompiled the kernel, but I took
 most everything out that didn't look like one of the three audio cards
 I've been trying to get working.  I rebooted and tested the audio with
 the new kernel and it didn't work.  Then I rebooted again before I went
 out for the day, the machine ran all day and all night without any
 activity before I logged in this morning.  Now I have audio again.  Now
 I think I have to pay attention as to whether audio begins working after
 a period of computer uptime.  Does this sound plausible?

 I wouldn't think so.  /etc/init.d/alsasound should run at default
 level, load modules and restore settings.  Assuming that you have run
 the alsaconf command to unmute your channels, then you should have
 sound straight off the peg.

 However, I have an old laptop which always starts with the Master
 volume control muted.  I have to press the special sound control
 buttons on the keyboard to unmute sound every time I reboot.  I guess
 this is a hardware quirk of this MoBo and it is the only PC that I
 have come across something like this.
 
 
 Here's an update.  The sound comes and goes.  I've been leaving the
 sound on all the time now and not just when I need it.  I test it
 frequently just to see if it works.  I haven't found any pattern other
 than when I do a reboot or shutdown when the box powers up again
 sometimes I have the audio and sometimes I don't.  However, even when
 there's no audio it looks like the modules load and alsasound starts.
 
 
 
 

Another update.  It seem all I need to do to get sound back is run
alsaconf (take all the defaults) and reboot.  I'm not sure why it stops
working after two or three reboots, but if I run alsaconf again and
reboot it's back.  It never works right after alsaconf, it always needs
a reboot.  It would be nice if the sound state didn't get lost, but at
least I can get it back.  I'd also wouldn't mind knowing why it happens.

Thanks,
dhk



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-15 Thread dhk
On 03/07/2011 11:15 AM, Mick wrote:
 On 7 March 2011 12:41, dhk dhk...@optonline.net wrote:
 
 Here's an update.  Yesterday morning I recompiled the kernel, but I took
 most everything out that didn't look like one of the three audio cards
 I've been trying to get working.  I rebooted and tested the audio with
 the new kernel and it didn't work.  Then I rebooted again before I went
 out for the day, the machine ran all day and all night without any
 activity before I logged in this morning.  Now I have audio again.  Now
 I think I have to pay attention as to whether audio begins working after
 a period of computer uptime.  Does this sound plausible?
 
 I wouldn't think so.  /etc/init.d/alsasound should run at default
 level, load modules and restore settings.  Assuming that you have run
 the alsaconf command to unmute your channels, then you should have
 sound straight off the peg.
 
 However, I have an old laptop which always starts with the Master
 volume control muted.  I have to press the special sound control
 buttons on the keyboard to unmute sound every time I reboot.  I guess
 this is a hardware quirk of this MoBo and it is the only PC that I
 have come across something like this.


Here's an update.  The sound comes and goes.  I've been leaving the
sound on all the time now and not just when I need it.  I test it
frequently just to see if it works.  I haven't found any pattern other
than when I do a reboot or shutdown when the box powers up again
sometimes I have the audio and sometimes I don't.  However, even when
there's no audio it looks like the modules load and alsasound starts.





[gentoo-user] Logout of Desktop Hangs on Laptop

2011-03-11 Thread dhk
I have a new laptop with LXDE and XFCE4 installed for the desktop
environment.  I boot to run level 3 and then run startx.  When logging
out of the either desktop it never returns to the command prompt,
there's just a blank screen and I can not switch to an alternate
terminal.  However, the Alt-SysRq EISUB does work and reboots the system.

From what I've read on the web this is a common problem with laptops and
it seems to happen with all desktop environments.  The solutions
mentioned had quite a range and included the way the ~/.initrc is
configured to power management settings.  However, none have worked, and
there's nothing that can be done after logging out except to reboot.

How can I log out of a desktop and return to the command prompt that I
started from before running startx?

Thanks,

dhk



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-07 Thread dhk
On 03/06/2011 04:31 PM, Mark Knecht wrote:
 On Sun, Mar 6, 2011 at 12:38 PM, James Wall wallservi...@gmail.com wrote:
 Two dozen??? How many computers do you have?

 
 For audio work I have six. 2-3 sound cards/machine. Typically 1
 card/machine is dedicated to junk system sounds. The others run Jack
 for more interesting audio work. (Recording live, soft-synths, etc.)
 
 Many cards are just older things I've had for years. They will
 continue to be useful until the machines die and I don't have PCI
 slots in new ones to plug them into.
 
 - Mark
 
 

Here's an update.  Yesterday morning I recompiled the kernel, but I took
most everything out that didn't look like one of the three audio cards
I've been trying to get working.  I rebooted and tested the audio with
the new kernel and it didn't work.  Then I rebooted again before I went
out for the day, the machine ran all day and all night without any
activity before I logged in this morning.  Now I have audio again.  Now
I think I have to pay attention as to whether audio begins working after
a period of computer uptime.  Does this sound plausible?





Re: [gentoo-user] LXDE

2011-03-06 Thread dhk
On 03/05/2011 09:39 PM, Kevin McCarthy wrote:
 On Sat, Mar 05, 2011 at 02:51:54PM -0500, dhk wrote:
 On 03/03/2011 10:25 PM, daid kahl wrote:

 I installed xdm and slim, but strange things happen with that.  When I
 run /etc/xinit.d/xdm start the slim login appears, but the right half of
 my keyboard doesn't work right.  For example when I press the k key a
 2 is printed.  Very strange.

 
 I bet you are on a laptop that doesn't have a dedicated number pad. If
 you look, you will see that JKL are also 123 when the numlock is on.
 SLiM's default setting is to turn the numlock on when it starts. 
 
 You can turn this off  with the numlock setting in /etc/slim.conf. 
 

You are correct.  Thanks.



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-06 Thread dhk
On 03/06/2011 04:28 AM, Dale wrote:
 Mick wrote:
 On Saturday 26 February 2011 21:53:52 walt wrote:
   
 There is a very recent post from someone (Walter?) that says he got
 audio
 only after compiling all the kernel sound features as modules, but he
 has
 no idea why (nor do I) but, as no one yet has a better idea, I'd try
 it as
 an experiment.
  
 Because alsaconf needs to probe one module at a time and set its
 parameters.

 
 Just to confuse things more, I have the same driver for my sound and I
 build everything into my kernel and always have.  The sound worked as
 soon as I unmuted it.
 
 root@fireball / # cat /usr/src/linux/.config | grep REALTEK
 CONFIG_SND_HDA_CODEC_REALTEK=y
 root@fireball / #
 
 Weird huh?
 
 Dale
 
 :-)  :-)
 
 

It looks like I have the same thing.
# cat /usr/src/linux/.config | grep REALTEK
CONFIG_REALTEK_PHY=m
CONFIG_SND_HDA_CODEC_REALTEK=y

FYI: This is my main box, not my laptop which is a dual boot.  I haven't
tried setting up sound on the laptop yet.

Thanks





[gentoo-user] Thunderbird problem

2011-03-05 Thread dhk
After a recent update on a new laptop Thunderbird would error and the
same when revdep-rebuild ran.  The USE variables changed a few times,
but now they are back the way they were when there weren't any errors.
However, now there's errors.

Since I haven't started using the laptop for anything important and I
was trying to get LXDE working (a different thread) I uninstalled
Thunderbird (emerge -Cp) and was going to reinstall it when I was ready
for it.  Now revdep-rebuild says there are broken drm library links and
want to pull in Thunderbird and enigmail.  How can I uninstall so
there's really no trace of the program?  I wouldn't mind reinstalling
it, but it keeps erroring.  Below is some output.  I don't understand the:
* ERROR: mail-client/thunderbird-3.1.7 failed:
*   python_set_active_version() can be used only in pkg_setup() phase

Thanks for the help.

# cat /var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log
 * Package:mail-client/thunderbird-3.1.7
 * Repository: gentoo
 * Maintainer: mozi...@gentoo.org
 * USE:  alsa amd64 crypt elibc_glibc kernel_linux lightning multilib
userland_GNU
 * You are enabling official branding. You may not redistribute this build
 * to any users on your network or the internet. Doing so puts yourself into
 * a legal problem with Mozilla Foundation
 * You can disable it by emerging thunderbird _with_ the bindist USE-flag
 Unpacking source...
 Unpacking thunderbird-3.1.7.source.tar.bz2 to
/var/tmp/portage/mail-client/thunderbird-3.1.7/work
 Unpacking thunderbird-3.1-patches-1.2.tar.bz2 to
/var/tmp/portage/mail-client/thunderbird-3.1.7/work
 * ERROR: mail-client/thunderbird-3.1.7 failed:
 *   python_set_active_version() can be used only in pkg_setup() phase
 *
 * Call stack:
 * ebuild.sh, line   56:  Called src_unpack
 *   environment, line 5924:  Called linguas
 *   environment, line 3208:  Called python_set_active_version '2'
 *   environment, line 5602:  Called die
 * The specific snippet of code:
 *   [[ ${EBUILD_PHASE} != setup ]]  die ${FUNCNAME}() can be
used only in pkg_setup() phase;
 *
 * If you need support, post the output of 'emerge --info
=mail-client/thunderbird-3.1.7',
 * the complete build log and the output of 'emerge -pqv
=mail-client/thunderbird-3.1.7'.
 * The complete build log is located at
'/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/environment'.
 * S: '/var/tmp/portage/mail-client/thunderbird-3.1.7/work/comm-1.9.2'


# emerge --info =mail-client/thunderbird-3.1.7
Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0,
2.6.36-gentoo-r5 x86_64)
=
System Settings
=
System uname:
Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_Neo_X2_Dual_Core_Processor_L335-with-gentoo-1.12.14
Timestamp of tree: Sat, 05 Mar 2011 09:45:01 +
app-shells/bash: 4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.6-r2, 3.1.3-r1
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -@EULA AdobeFlash-10.1 skype-eula dlj-1.1
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc/fstab /etc/make.conf
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
/etc/sandbox.d /etc/terminfo
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--jobs=2 --with-bdeps y
FEATURES=assume-digests binpkg-logs collision-protect distlocks
fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://mirror.mcs.anl.gov/pub/gentoo
http://www.gtlib.gatech.edu/pub/gentoo;
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X aac acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups
cxx device-mapper dri extras ffmpeg fortran gdbm gdu gpm gtk iconv ipv6
java jpeg mmx modules mpeg mudflap multilib ncurses nls nptl nptlonly
nsplugin openmp pam pcre perl png policykit pppd python readline session
sqlite sse sse2 ssl svg sysfs tcpd tiff udev unicode xml xorg xulrunner
xvid 

Re: [gentoo-user] Thunderbird problem

2011-03-05 Thread dhk
On 03/05/2011 07:28 AM, dhk wrote:
 After a recent update on a new laptop Thunderbird would error and the
 same when revdep-rebuild ran.  The USE variables changed a few times,
 but now they are back the way they were when there weren't any errors.
 However, now there's errors.
 
 Since I haven't started using the laptop for anything important and I
 was trying to get LXDE working (a different thread) I uninstalled
 Thunderbird (emerge -Cp) and was going to reinstall it when I was ready
 for it.  Now revdep-rebuild says there are broken drm library links and
 want to pull in Thunderbird and enigmail.  How can I uninstall so
 there's really no trace of the program?  I wouldn't mind reinstalling
 it, but it keeps erroring.  Below is some output.  I don't understand the:
 * ERROR: mail-client/thunderbird-3.1.7 failed:
 *   python_set_active_version() can be used only in pkg_setup() phase
 
 Thanks for the help.
 
 # cat /var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log
  * Package:mail-client/thunderbird-3.1.7
  * Repository: gentoo
  * Maintainer: mozi...@gentoo.org
  * USE:  alsa amd64 crypt elibc_glibc kernel_linux lightning multilib
 userland_GNU
  * You are enabling official branding. You may not redistribute this build
  * to any users on your network or the internet. Doing so puts yourself into
  * a legal problem with Mozilla Foundation
  * You can disable it by emerging thunderbird _with_ the bindist USE-flag
 Unpacking source...
 Unpacking thunderbird-3.1.7.source.tar.bz2 to
 /var/tmp/portage/mail-client/thunderbird-3.1.7/work
 Unpacking thunderbird-3.1-patches-1.2.tar.bz2 to
 /var/tmp/portage/mail-client/thunderbird-3.1.7/work
  * ERROR: mail-client/thunderbird-3.1.7 failed:
  *   python_set_active_version() can be used only in pkg_setup() phase
  *
  * Call stack:
  * ebuild.sh, line   56:  Called src_unpack
  *   environment, line 5924:  Called linguas
  *   environment, line 3208:  Called python_set_active_version '2'
  *   environment, line 5602:  Called die
  * The specific snippet of code:
  *   [[ ${EBUILD_PHASE} != setup ]]  die ${FUNCNAME}() can be
 used only in pkg_setup() phase;
  *
  * If you need support, post the output of 'emerge --info
 =mail-client/thunderbird-3.1.7',
  * the complete build log and the output of 'emerge -pqv
 =mail-client/thunderbird-3.1.7'.
  * The complete build log is located at
 '/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/environment'.
  * S: '/var/tmp/portage/mail-client/thunderbird-3.1.7/work/comm-1.9.2'
 
 
 # emerge --info =mail-client/thunderbird-3.1.7
 Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0,
 2.6.36-gentoo-r5 x86_64)
 =
 System Settings
 =
 System uname:
 Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_Neo_X2_Dual_Core_Processor_L335-with-gentoo-1.12.14
 Timestamp of tree: Sat, 05 Mar 2011 09:45:01 +
 app-shells/bash: 4.1_p9
 dev-java/java-config: 2.1.11-r3
 dev-lang/python: 2.6.6-r2, 3.1.3-r1
 dev-util/cmake:  2.8.1-r2
 sys-apps/baselayout: 1.12.14-r1
 sys-apps/sandbox:2.4
 sys-devel/autoconf:  2.13, 2.65-r1
 sys-devel/automake:  1.10.3, 1.11.1
 sys-devel/binutils:  2.20.1-r1
 sys-devel/gcc:   4.4.5
 sys-devel/gcc-config: 1.4.1
 sys-devel/libtool:   2.2.10
 sys-devel/make:  3.81-r2
 virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA AdobeFlash-10.1 skype-eula dlj-1.1
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=k8 -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc/fstab /etc/make.conf
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
 /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
 /etc/sandbox.d /etc/terminfo
 CXXFLAGS=-march=k8 -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--jobs=2 --with-bdeps y
 FEATURES=assume-digests binpkg-logs collision-protect distlocks
 fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms
 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
 GENTOO_MIRRORS=ftp://mirror.mcs.anl.gov/pub/gentoo
 http://www.gtlib.gatech.edu/pub/gentoo;
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
 USE=X aac acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups
 cxx device-mapper dri extras ffmpeg fortran gdbm gdu gpm gtk iconv ipv6
 java jpeg mmx modules mpeg mudflap multilib ncurses nls nptl nptlonly
 nsplugin

Re: [gentoo-user] Thunderbird problem

2011-03-05 Thread dhk
On 03/05/2011 11:38 AM, dhk wrote:
 On 03/05/2011 07:28 AM, dhk wrote:
 After a recent update on a new laptop Thunderbird would error and the
 same when revdep-rebuild ran.  The USE variables changed a few times,
 but now they are back the way they were when there weren't any errors.
 However, now there's errors.

 Since I haven't started using the laptop for anything important and I
 was trying to get LXDE working (a different thread) I uninstalled
 Thunderbird (emerge -Cp) and was going to reinstall it when I was ready
 for it.  Now revdep-rebuild says there are broken drm library links and
 want to pull in Thunderbird and enigmail.  How can I uninstall so
 there's really no trace of the program?  I wouldn't mind reinstalling
 it, but it keeps erroring.  Below is some output.  I don't understand the:
 * ERROR: mail-client/thunderbird-3.1.7 failed:
 *   python_set_active_version() can be used only in pkg_setup() phase

 Thanks for the help.

 # cat /var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log
  * Package:mail-client/thunderbird-3.1.7
  * Repository: gentoo
  * Maintainer: mozi...@gentoo.org
  * USE:  alsa amd64 crypt elibc_glibc kernel_linux lightning multilib
 userland_GNU
  * You are enabling official branding. You may not redistribute this build
  * to any users on your network or the internet. Doing so puts yourself into
  * a legal problem with Mozilla Foundation
  * You can disable it by emerging thunderbird _with_ the bindist USE-flag
 Unpacking source...
 Unpacking thunderbird-3.1.7.source.tar.bz2 to
 /var/tmp/portage/mail-client/thunderbird-3.1.7/work
 Unpacking thunderbird-3.1-patches-1.2.tar.bz2 to
 /var/tmp/portage/mail-client/thunderbird-3.1.7/work
  * ERROR: mail-client/thunderbird-3.1.7 failed:
  *   python_set_active_version() can be used only in pkg_setup() phase
  *
  * Call stack:
  * ebuild.sh, line   56:  Called src_unpack
  *   environment, line 5924:  Called linguas
  *   environment, line 3208:  Called python_set_active_version '2'
  *   environment, line 5602:  Called die
  * The specific snippet of code:
  *   [[ ${EBUILD_PHASE} != setup ]]  die ${FUNCNAME}() can be
 used only in pkg_setup() phase;
  *
  * If you need support, post the output of 'emerge --info
 =mail-client/thunderbird-3.1.7',
  * the complete build log and the output of 'emerge -pqv
 =mail-client/thunderbird-3.1.7'.
  * The complete build log is located at
 '/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/mail-client/thunderbird-3.1.7/temp/environment'.
  * S: '/var/tmp/portage/mail-client/thunderbird-3.1.7/work/comm-1.9.2'


 # emerge --info =mail-client/thunderbird-3.1.7
 Portage 2.1.9.25 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.11.3-r0,
 2.6.36-gentoo-r5 x86_64)
 =
 System Settings
 =
 System uname:
 Linux-2.6.36-gentoo-r5-x86_64-AMD_Athlon-tm-_Neo_X2_Dual_Core_Processor_L335-with-gentoo-1.12.14
 Timestamp of tree: Sat, 05 Mar 2011 09:45:01 +
 app-shells/bash: 4.1_p9
 dev-java/java-config: 2.1.11-r3
 dev-lang/python: 2.6.6-r2, 3.1.3-r1
 dev-util/cmake:  2.8.1-r2
 sys-apps/baselayout: 1.12.14-r1
 sys-apps/sandbox:2.4
 sys-devel/autoconf:  2.13, 2.65-r1
 sys-devel/automake:  1.10.3, 1.11.1
 sys-devel/binutils:  2.20.1-r1
 sys-devel/gcc:   4.4.5
 sys-devel/gcc-config: 1.4.1
 sys-devel/libtool:   2.2.10
 sys-devel/make:  3.81-r2
 virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
 ACCEPT_KEYWORDS=amd64
 ACCEPT_LICENSE=* -@EULA AdobeFlash-10.1 skype-eula dlj-1.1
 CBUILD=x86_64-pc-linux-gnu
 CFLAGS=-march=k8 -O2 -pipe
 CHOST=x86_64-pc-linux-gnu
 CONFIG_PROTECT=/etc/fstab /etc/make.conf
 CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
 /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild
 /etc/sandbox.d /etc/terminfo
 CXXFLAGS=-march=k8 -O2 -pipe
 DISTDIR=/usr/portage/distfiles
 EMERGE_DEFAULT_OPTS=--jobs=2 --with-bdeps y
 FEATURES=assume-digests binpkg-logs collision-protect distlocks
 fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms
 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
 GENTOO_MIRRORS=ftp://mirror.mcs.anl.gov/pub/gentoo
 http://www.gtlib.gatech.edu/pub/gentoo;
 LDFLAGS=-Wl,-O1 -Wl,--as-needed
 MAKEOPTS=-j2
 PKGDIR=/usr/portage/packages
 PORTAGE_CONFIGROOT=/
 PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
 --compress --force --whole-file --delete --stats --timeout=180
 --exclude=/distfiles --exclude=/local --exclude=/packages
 PORTAGE_TMPDIR=/var/tmp
 PORTDIR=/usr/portage
 SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
 USE=X aac acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups
 cxx device-mapper dri extras ffmpeg fortran gdbm gdu gpm gtk iconv ipv6
 java jpeg mmx modules mpeg mudflap multilib

Re: [gentoo-user] LXDE

2011-03-05 Thread dhk
On 03/03/2011 10:25 PM, daid kahl wrote:
 I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
 (amd64).  It seems to work, but when I logout it hangs.  It never
 returns to the command prompt and the keyboard doesn't work so I can
 switch to an alternate terminal.
 
 Strange.  Never used LXDE, but KDE and Xfce I never had such a problem
 with startx.  Anyway, if you're serious about using it, probably
 you'll want xdm and likely slim (since you're running something
 lightweight).  Yeah, I ran startx for two years because I'm that
 lazy, but anyway, it's a good idea.
 
From XDM you can get a terminal if you want.  This is only at best a
 work around (or indication of deeper problems), but you may try it.
 
 Just make sure you edit slim.conf for your login_cmd since for zsh you
 get a little wrecked if you don't...
 
 Cheers,
 daid
 
 

After installing xfce4 I found out this problem is not an lxde problem
it seems to be a desktop environment or windows manager problem.  When I
click the logout button in xfce4 it hangs also, it never brings me back
to the command prompt.  The only thing I can do is Alt-SysReq-EISUB
which works really well and suggested in an earlier thread.

I installed xdm and slim, but strange things happen with that.  When I
run /etc/xinit.d/xdm start the slim login appears, but the right half of
my keyboard doesn't work right.  For example when I press the k key a
2 is printed.  Very strange.

dhk



Re: [gentoo-user] Thunderbird problem

2011-03-05 Thread dhk
On 03/05/2011 02:02 PM, Daniel Pielmeier wrote:
 dhk schrieb am 05.03.2011 19:53:

 However, now I can't do a fresh install thunderbird or enigmail.  I get
 the same errors as above about python.
 
 https://bugs.gentoo.org/357525
 


Yes, that's the problem.  I guess it means it will be in the next
version.  In the meantime I added =mail-client/thunderbird-3.1.7 to
/etc/portage/package.mask and everything seems to be fine.

Thanks.





Re: [gentoo-user] Re: ALSA - Still No Sound

2011-03-05 Thread dhk
On 02/26/2011 04:53 PM, walt wrote:
 On 02/15/2011 02:43 AM, dhk wrote:
 On 02/14/2011 12:29 PM, walt wrote:
 On 02/14/2011 03:43 AM, dhk wrote:

 What are the Intel HD Audio codecs?  I don't
 remember doing anything explicitly for them.  How do I check them?
 Thanks.

 Under the HD-Intel sound card driver menu there are several codecs for
 specific sound chips.  e.g. I use the one for realtek, but yours may be
 a different one.  Doesn't hurt to build them all as modules and see
 which
 one(s) your kernel actually uses.




 It looks like all the codec's are built in.  I'm not sure what the last
 one in the list does.

 # grep -i realtek /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_REALTEK_PHY=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 # grep -i codec /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_SND_AC97_CODEC=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 CONFIG_SND_HDA_CODEC_ANALOG=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_VIA=y
 CONFIG_SND_HDA_CODEC_ATIHDMI=y
 CONFIG_SND_HDA_CODEC_NVHDMI=y
 CONFIG_SND_HDA_CODEC_INTELHDMI=y
 CONFIG_SND_HDA_CODEC_CIRRUS=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_HDA_CODEC_CA0110=y
 CONFIG_SND_HDA_CODEC_CMEDIA=y
 CONFIG_SND_HDA_CODEC_SI3054=y
 # CONFIG_SND_SOC_ALL_CODECS is not set

 This is the genkernel so pretty much everything is built in.
 
 There is a very recent post from someone (Walter?) that says he got audio
 only after compiling all the kernel sound features as modules, but he has
 no idea why (nor do I) but, as no one yet has a better idea, I'd try it as
 an experiment.
 
 
 
 

This probably won't make any sense, but for some reason I had good clear
sound for a few minutes today.  Since I've been working on other things
and audio is a luxury for me I haven't been trying to get it to work
lately.  However, this afternoon I plugged in the speaker and tried a
wave file and it played great.  Then, since the machine has been running
a for a while and I've done updates recently, I rebooted to have a clean
start.  I though it might get rid of the bouncing vertical scrollbar,
but that's another issue.  I was all set to play music and videos, but
after the reboot the audio wasn't working anymore.  Something somewhere
got the audio working only for it to stop after a reboot.  I checked
alsasound and it's running.  Any ideas?

Thanks





[gentoo-user] LXDE

2011-03-03 Thread dhk
I want to use LXDE as a Desktop on a fresh install of Gentoo on a laptop
(amd64).  It seems to work, but when I logout it hangs.  It never
returns to the command prompt and the keyboard doesn't work so I can
switch to an alternate terminal.  Has anyone had this problem and know
how to fix it?

Thanks,

dhk



Re: [gentoo-user] Dual Boot Partitions

2011-03-02 Thread dhk
On 02/28/2011 08:25 AM, Mick wrote:
 On 28 February 2011 13:11, dhk dhk...@optonline.net wrote:
 
 Alright, I found a couple thing in Grub that I had wrong.  1) The
 (hd0,0) for the splash should have been (hd0,2).  That fixed the problem
 with no Grub menu.  2) The Windows menu option was (hd0,1) and should
 have been (hd0,0) for the Windows boot partition not the Window
 Operating System.

 Now when I boot the Grub menu comes up and booting to Windows works.
 However, I still have the same problem booting to Linux.  It chokes on
 /dev/sda7 which is my root partition and my real_root kernel option.
 
 Ah!  Our messages crossed in the post!
 
 Check that you have compile in the kernel the fs for your root
 partition and that you have root (hd0,6) in your grub.conf and
 real_root=/dev/sda7.
 


All works now.  It looks like it was in the genkernel.  The only thing I
changed in the config file was turning off Raid like the documentation
said, I must have missed that.  So I'm not sure what fixed it, but after
I recompiled it worked and in grub it was (hd0,2).

Thanks all,

dhk



Re: [gentoo-user] Dual Boot Partitions

2011-02-28 Thread dhk
On 02/27/2011 02:39 PM, Mick wrote:
 On Sunday 27 February 2011 18:04:26 Florian Philipp wrote:
 Am 27.02.2011 17:02, schrieb Petri Rosenström:
 On Sun, Feb 27, 2011 at 5:01 PM, dhk dhk...@optonline.net wrote:
 
 First, the observations.  I tried to partition my disk with fdisk the
 way I wanted.  
 
 I would recommend you use 'parted -a optimal' or gparted for this purpose 
 (see 
 below).
 
 
 It had the usual Linux partitions and a partition that I
 was going to use for Window 7.  I wanted to make this an LVM2 partition,
 but that didn't work; I guess that was too ambitious.
 
 I am not sure that you can use LVM2 for MSWindows - as far as I know they use 
 Logical Disk Manager which it is not the same with any other sane LVM 
 implementation - come on now, would you expect them to seek compatibility or 
 interoperability?!!
 
 http://en.wikipedia.org/wiki/Logical_Disk_Manager
 
 Then I just made
 it an ordinary static HPFS/NTFS partition on /dev/sda5.  When installing
 Windows 7 it wouldn't install on that partition.  I deleted all the
 partitions and just installed it on the first 50Gigs of the disk.

 Second, the questions.  The Windows 7 install on the first 50Gigs of the
 disk needed to created two partitions.  The first was a very small boot
 partition that I increased to 128Megs, and the second is the rest of
 Windows 7.  Now when I boot to the livecd to partition the rest of the
 disk for Gentoo fdisk says Partition 1 does not end on a cylinder
 boundary.  Is this a problem?  The other big question is:  what do I do

 Dunno, it might be that win7 changed the amount of heads/sectors that
 could give that notice from fdisk. I would not be to worrified about
 it (Installing windows would be more horrifying). If you have a
 traditional hd then the worst thing I think might be that reads/writes
 would be slower.

 If I'm not mistaken, this alignment is actually a good thing. It is
 related to the transition from 512 B blocks to 4 kB and also helps
 alignments for SSDs. In this regard, Win 7 behaves very clever and
 really much better than the old and proven Linux tools (unless you know
 what you are doing and are aware of every issue). IMHO it is a real
 shame that most Linux tools are still behind in this regard.
 
 Only some are.
 
 The 'parted -a optimal' or gparted will seek to align the end of a partition, 
 but you will find that it may under/overshoot your specified size to achieve 
 that.
 
 fdisk et al have some development to do yet.
 
 
 If you think you have an HDD with 4kB blocks, ask and I can provide you
 with some links on that topic.

 about the first partition in the partition table?  It is an HPFS/NTFS
 partition and has been toggled bootable.  It also has some stuff in it
 that looks like it's important to Windows:  a BOOTSECT.BAK file, a Boot
 directory, a System Volume Information directory, and a bootmgr file.
 Now for my Gentoo install, how and where do I make a /boot partition?
 Do I replace the Windows 7 boot partition with /boot?  If so, what
 happens to the contents?  or Do I make a /boot partition on /dev/sda3
 and toggle the bootable flag there?

 Something like that. You could install gentoo on one partition (I
 don't recommend).
 
 No!  Nothing like that.  Leave the MS Windows boot partition alone and 
 flagged 
 as boot.  MS Windows needs this, while Linux does not.
 
 
 Just make partitions like you would do without windows. When you do
 the grub-install script or by hand grub links the boot to the
 partition where boot exists. You should not remove or change the
 windows partitions or the data windows will probably brake when you
 do.
 
 Yep.  Create a new partition; e.g. /dev/sda3 and use that as the /boot 
 mountpoint for your Linux OS.  This is where the grub fs, Linux OS kernels 
 and 
 related files will be saved.
 
 
 AFAIK, grub does not need the bootable flag. Leave it alone. Maybe
 Windows needs it, maybe it is just for good measure, I don't know.
 
 This is correct, MS Windows needs it and it will not boot without it, 
 especially if you retain the MSWindows MBR boot code - although you can 
 install GRUB in the MBR and chainload MSWindows from there with it.
 
 HTH.

Thanks for all the input.  It helped clear up a lot of questions.  I
spent the weekend installing to Operating Systems and it looks like it
almost worked.  I think the problem is in the Grub setup, so it should
be repairable once I find the mistake.  If it's something else, I may be
doing this again next weekend.

Thanks again,

dhk



Re: [gentoo-user] Dual Boot Partitions

2011-02-28 Thread dhk
On 02/28/2011 06:39 AM, Mick wrote:
 On 28 February 2011 11:26, dhk dhk...@optonline.net wrote:
 
 Thanks for all the input.  It helped clear up a lot of questions.  I
 spent the weekend installing to Operating Systems and it looks like it
 almost worked.  I think the problem is in the Grub setup, so it should
 be repairable once I find the mistake.  If it's something else, I may be
 doing this again next weekend.

 Thanks again,

 dhk
 
 What error does it give you?
 
 PS. Are you chainloading Gentoo from the MSWindows boot manager, or
 MSWindows from GRUB?

I did everything in Grub and haven't touched the MS Windows partitions
since the initial install.

The problem looks like Grub and some other stuff.  Can't boot to Windows
or Linux.  It looks like the Grub menu never comes up.  However, it
seems to know about it, because the menu options can still gets executed
either after the time out or by pressing Enter.  Then some stuff gets
printed to the screen and the boot process begins, but it errors before
the Operating Systems come up.  When trying to boot to Windows, I have
no idea why it errors.  When trying to boot to Linux, the fsck.ext3
fails on /dev/sda7 which is my root partition.  It seems to think it's
ext2, but when I checked (by booting to the livecd) with tune2fs -j it
says it's already journaling.  After the boot fails and I give the root
password, I looked in /dev and there aren't any sda partitions and I
have 12 on the disk.  My disk looks like the following.

Filesystem   ~Size Mounted
/dev/sda1 128M MS Windows 7 boot partition - HPFS/NTFS
/dev/sda2  50G MS Windows 7 - HPFS/NTFS
/dev/sda3 512M /boot - ext2
/dev/sda4 extended partition
/dev/sda5 512M swap
/dev/sda6   5G FAT32
/dev/sda7  12G / - ext3
/dev/sda8  50G LVM2 - ext3
/dev/sda9  50G LVM2 - ext3
/dev/sda10 50G LVM2 - ext3
/dev/sda11 50G LVM2 - ext3
/dev/sda12 50G LVM2 - ext3
/dev/mapper/vg-usr  8G /usr
/dev/mapper/vg-home 5G /home
/dev/mapper/vg-opt  3G /opt
/dev/mapper/vg-var  2G /var
/dev/mapper/vg-tmp  1G /tmp

Thanks
dhk



Re: [gentoo-user] Dual Boot Partitions

2011-02-28 Thread dhk
On 02/28/2011 07:25 AM, dhk wrote:
 On 02/28/2011 06:39 AM, Mick wrote:
 On 28 February 2011 11:26, dhk dhk...@optonline.net wrote:

 Thanks for all the input.  It helped clear up a lot of questions.  I
 spent the weekend installing to Operating Systems and it looks like it
 almost worked.  I think the problem is in the Grub setup, so it should
 be repairable once I find the mistake.  If it's something else, I may be
 doing this again next weekend.

 Thanks again,

 dhk

 What error does it give you?

 PS. Are you chainloading Gentoo from the MSWindows boot manager, or
 MSWindows from GRUB?
 
 I did everything in Grub and haven't touched the MS Windows partitions
 since the initial install.
 
 The problem looks like Grub and some other stuff.  Can't boot to Windows
 or Linux.  It looks like the Grub menu never comes up.  However, it
 seems to know about it, because the menu options can still gets executed
 either after the time out or by pressing Enter.  Then some stuff gets
 printed to the screen and the boot process begins, but it errors before
 the Operating Systems come up.  When trying to boot to Windows, I have
 no idea why it errors.  When trying to boot to Linux, the fsck.ext3
 fails on /dev/sda7 which is my root partition.  It seems to think it's
 ext2, but when I checked (by booting to the livecd) with tune2fs -j it
 says it's already journaling.  After the boot fails and I give the root
 password, I looked in /dev and there aren't any sda partitions and I
 have 12 on the disk.  My disk looks like the following.
 
 Filesystem   ~Size Mounted
 /dev/sda1 128M MS Windows 7 boot partition - HPFS/NTFS
 /dev/sda2  50G MS Windows 7 - HPFS/NTFS
 /dev/sda3 512M /boot - ext2
 /dev/sda4 extended partition
 /dev/sda5 512M swap
 /dev/sda6   5G FAT32
 /dev/sda7  12G / - ext3
 /dev/sda8  50G LVM2 - ext3
 /dev/sda9  50G LVM2 - ext3
 /dev/sda10 50G LVM2 - ext3
 /dev/sda11 50G LVM2 - ext3
 /dev/sda12 50G LVM2 - ext3
 /dev/mapper/vg-usr  8G /usr
 /dev/mapper/vg-home 5G /home
 /dev/mapper/vg-opt  3G /opt
 /dev/mapper/vg-var  2G /var
 /dev/mapper/vg-tmp  1G /tmp
 
 Thanks
 dhk
 
 

Alright, I found a couple thing in Grub that I had wrong.  1) The
(hd0,0) for the splash should have been (hd0,2).  That fixed the problem
with no Grub menu.  2) The Windows menu option was (hd0,1) and should
have been (hd0,0) for the Windows boot partition not the Window
Operating System.

Now when I boot the Grub menu comes up and booting to Windows works.
However, I still have the same problem booting to Linux.  It chokes on
/dev/sda7 which is my root partition and my real_root kernel option.

Thanks,
dhk



[gentoo-user] Dual Boot Partitions

2011-02-27 Thread dhk
I have a new laptop that I need to set up for dual booting.  As much as
I despise Microsoft, I have to use it for certain things.  Such as some
obscure peripherals, like my slide photo scanner, it doesn't support
Linux and TD Ameritrade's streaming Java tools don't work the same as on
Linux.  Until corporation's smarten up Microsoft will be a problem.

The setup for dual booting seem pretty straight forward.  Install
windows first, then Linux, and modify the boot loader.  However, I have
a couple of question and observations.

First, the observations.  I tried to partition my disk with fdisk the
way I wanted.  It had the usual Linux partitions and a partition that I
was going to use for Window 7.  I wanted to make this an LVM2 partition,
but that didn't work; I guess that was too ambitious.  Then I just made
it an ordinary static HPFS/NTFS partition on /dev/sda5.  When installing
Windows 7 it wouldn't install on that partition.  I deleted all the
partitions and just installed it on the first 50Gigs of the disk.

Second, the questions.  The Windows 7 install on the first 50Gigs of the
disk needed to created two partitions.  The first was a very small boot
partition that I increased to 128Megs, and the second is the rest of
Windows 7.  Now when I boot to the livecd to partition the rest of the
disk for Gentoo fdisk says Partition 1 does not end on a cylinder
boundary.  Is this a problem?  The other big question is:  what do I do
about the first partition in the partition table?  It is an HPFS/NTFS
partition and has been toggled bootable.  It also has some stuff in it
that looks like it's important to Windows:  a BOOTSECT.BAK file, a Boot
directory, a System Volume Information directory, and a bootmgr file.
Now for my Gentoo install, how and where do I make a /boot partition?
Do I replace the Windows 7 boot partition with /boot?  If so, what
happens to the contents?  or Do I make a /boot partition on /dev/sda3
and toggle the bootable flag there?

I apologize for the long story.  Thanks in advance for all the help.

dhk



Re: [gentoo-user] ssh problem

2011-02-26 Thread dhk
On 02/26/2011 03:13 AM, Mick wrote:
 On Saturday 26 February 2011 07:49:44 Adam Carter wrote:
 The nc command does nothing when run from the same host I'm trying to
 ssh in to.

 Ok so you may not have an ssh problem (so ignore the ssh specific stuff for
 now) you have a network problem. It will be either routing or firewalling.
 If you can ping the box, then its a firewall problem. So, try pinging it
 first, and if that works then you know that routing is in place and its a
 firewall problem. If that doesn't work try traceroute to see how far you
 can get, and the last hop may provide clues as to why you can access it by
 sending an ICMP message. Post back what you find.
 
 Depending on configuration of routers and firewalls ICMP packets may be 
 dropped, so if plain ping/traceroute fails use httping and tcptraceroute (or 
 traceroute -T -p 22)

I don't know why I would have a firewall or network problem, the set up
I have has been here for 8+ years.  The setup is like this.  In the
basement the cable internet comes in and into a cable modem. Then an
RJ45 out of the cable modem into an 8-port NETGEAR Router/Switch.
Upstairs is a hub with three computers connected and this hub is
connected to the switch in the basement.  The only problem I ever had
was when the dhcp address changed, then it needed to be added to the
PORT FORWARDING section of the switch with port 22.

Remember I can still log in remotely from Redhat and Suse boxes that
weren't updated with the new openssh.

When ssh'ing in from a remote updated Gentoo box the Read from socket
failed: Connection reset by peer message is displayed.  This message is
not displayed when trying to ssh in from inside the network.

Alright, back to the task at hand.  When I tell the switch to Respond
to Ping on Internet WAN Port the ping statistics are good:  3 packets
transmitted, 3 received, 0% packet loss, time 2007ms.

I'm not sure where to go from here.

Is there anything in the sshd_config or ssh_config files that I need?
After the upgrade the new files were merged with the current.

Thanks
dhk





Re: [gentoo-user] Re: ALSA - Still No Sound

2011-02-25 Thread dhk
On 02/15/2011 06:35 AM, dhk wrote:
 On 02/15/2011 06:10 AM, laconism wrote:
 you can use 'lspci' in shell to know something about your sound card,then 
 http://www.gentoo.org/doc/en/alsa-guide.xml  has a guide about how to 
 set your hardware and kernel,the information used to make sure the model of 
 your sound card is porvided in 'lspci',look it up clearly
 if you don't know how to update the kernel,see 
 herehttp://www.gentoo.org/doc/en/kernel-upgrade.xml
 My English is not very good, i wish that you can understand
 At 2011-02-15 18:43:57,dhk dhk...@optonline.net wrote:
 On 02/14/2011 12:29 PM, walt wrote:
 On 02/14/2011 03:43 AM, dhk wrote:
  
 What are the Intel HD Audio codecs?  I don't
 remember doing anything explicitly for them.  How do I check them? 
 Thanks.

 Under the HD-Intel sound card driver menu there are several codecs for
 specific sound chips.  e.g. I use the one for realtek, but yours may be
 a different one.  Doesn't hurt to build them all as modules and see which
 one(s) your kernel actually uses.




 It looks like all the codec's are built in.  I'm not sure what the last
 one in the list does.

 # grep -i realtek /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_REALTEK_PHY=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 # grep -i codec /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_SND_AC97_CODEC=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 CONFIG_SND_HDA_CODEC_ANALOG=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_VIA=y
 CONFIG_SND_HDA_CODEC_ATIHDMI=y
 CONFIG_SND_HDA_CODEC_NVHDMI=y
 CONFIG_SND_HDA_CODEC_INTELHDMI=y
 CONFIG_SND_HDA_CODEC_CIRRUS=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_HDA_CODEC_CA0110=y
 CONFIG_SND_HDA_CODEC_CMEDIA=y
 CONFIG_SND_HDA_CODEC_SI3054=y
 # CONFIG_SND_SOC_ALL_CODECS is not set

 This is the genkernel so pretty much everything is built in.

 Could this be a bug in the kernel?  I haven't had sound for about a
 year, but I know it use to work on this hardware.  It probably went out
 with an upgrade and never came back with a new install.

 Any ideas are appreciated.

 Thanks,

 dhk




 
 Been there, done that, still no sound.  Thanks.
 
 

I think I have made some progress.  After getting a new sound card
(Sound Blaster X-Fi) and building X-Fi in the kernel I have some sound,
but it sounds terrible.  It's mostly a static noise with a hint of the
actual audio underneath.  Also the volume is almost all the way up, but
the volume still sounds low.

The ALSA Soundcard Matrix for this card says:
Sound Blaster X-Fi emu20k1 Details [PCI] Partially supported on 1.0.21;
EAX and Advanced sound options like crystalizer not available

and

# lspci | grep -i audio
02:09.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster

I set the ALSA_CARDS variable in /etc/make.conf to emu20k1 and CA0106,
but neither make a difference.  When alsaconf is run it always set the
card as CA0106.

After each change I run alsaconf and alsamixer to make sure all is set
correctly.

When the ALSA_CARDS variable is changed, is there anything that need to
run or be updated?

The following 764 lines is the output from alsa-info.

# cat /tmp/alsa-info.txt.vaKO90QJzT
upload=truescript=truecardinfo=
!!
!!ALSA Information Script v 0.4.60
!!

!!Script ran on: Fri Feb 25 11:47:59 UTC 2011


!!Linux Distribution
!!--

Gentoo Base System release 1.12.14


!!DMI Information
!!---

Manufacturer:  ASUSTek Computer Inc.
Product Name:  K8N-E
Product Version:   System Version


!!Kernel Information
!!--

Kernel release:2.6.36-gentoo-r5
Operating System:  GNU/Linux
Architecture:  x86_64
Processor: AMD Athlon(tm) 64 Processor 3200+
SMP Enabled:   Yes


!!ALSA Version
!!

Driver version: 1.0.23
Library version:1.0.23
Utilities version:  1.0.23


!!Loaded ALSA modules
!!---

snd_ca0106
snd_mpu401


!!Sound Servers on this system
!!

No sound servers found.


!!Soundcards recognised by ALSA
!!-

 0 [CA0106 ]: CA0106 - CA0106
  X-Fi Extreme Audio [SB] at 0xb000 irq 16
 1 [UART   ]: MPU-401 UART - MPU-401 UART
  MPU-401 UART at 0x300, irq 5


!!PCI Soundcards installed in the system
!!--

02:09.0 Multimedia audio controller: Creative Labs CA0106 Soundblaster


!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!

02:09.0 0401: 1102:0007
Subsystem: 1102:1013


!!Loaded sound module options
!!--

!!Module: snd_ca0106
enable : Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y
id :
(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null

Re: [gentoo-user] ssh problem

2011-02-25 Thread dhk
On 02/24/2011 08:08 PM, dhk wrote:
 On 02/24/2011 06:30 PM, Mick wrote:
 On Thursday 24 February 2011 21:51:56 dhk wrote:

 Thanks, but I've tried that.  ssh'ing to the hostname and loopback
 address work.  However, when I go out to the WAN it doesn't.  So I can't
 ssh user@123.123.123.123 even though I have port 22 open on the switch
 for my ip.

 Just to state the obvious, have your tried something like:

 $ nc -v -z 123.123.123.123 22
 123.123.123.123 (ssh) open

 from a WAN client to make sure that the port is open?
 
 I don't have the nc comand.  What package is it in?
 
 

The nc command does nothing when run from the same host I'm trying to
ssh in to.  I'm not sure what that means other than it can't make a
connection.  With the -w option I get:

# nc -w 3 -v -z 123.123.123.123 22
ool-43505ef2.dyn.optonline.net [123.123.123.123] 22 (ssh) : Connection
timed out




Re: [gentoo-user] ssh problem

2011-02-25 Thread dhk
On 02/25/2011 05:36 AM, Adam Carter wrote:
 Did you remember to restart the sshd on your amd64 system? If not, try
 disabling the new high performance stuff on the client. I had a problem
 logging into a solaris box until i disabled it. In my ~/.ssh/config file I
 added;
 
 host ip or hostname
 HPNDisabled yes
 


I don't have a ~/.ssh/config.  Will it default to ssh_config in /etc/ssh
or do I need to create one?



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/23/2011 03:42 AM, Joost Roeleveld wrote:
 On Tuesday 22 February 2011 14:51:31 Mick wrote:
 On 22 February 2011 14:19,  dhk...@optonline.net wrote:
 - Original Message -
 From: Mick

 There was a change in the default ssh encryption algorithm. You may
 want to check if that is causing the problem.

 How would I do that?

 By examining your config files?  Previously your keys would be in
 ~/.ssh/id_dsa[rsa].pub, but now with ECDSA being the default they
 would be in ~/.ssh/id_ecdsa.pub

 I recall something being mentioned in the elog asking to regenerate
 the key-pair.

 HTH.
 
 If this is the case, you could try speciying your key on the command-line 
 using the -i flag:
 
 # ssh -i .ssh/id_dsa.pub host
 
 Replace the file with the one on your machine.
 
 HTH,
 
 Joost
 
 

I still haven't gotten this to work.  Am I the only one using this?  The
ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
socket failed: Connection reset by peer with or without the -i option.

When I re-emerged openssh the following output is displayed.

# emerge openssh
Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) net-misc/openssh-5.8_p1-r1
 Installing (1 of 1) net-misc/openssh-5.8_p1-r1
 Jobs: 1 of 1 complete   Load avg: 2.80,
1.95, 1.43

 * Messages for package net-misc/openssh-5.8_p1-r1:

 * Starting with openssh-5.8p1, the server will default to a newer key
 * algorithm (ECDSA).  You are encouraged to manually update your stored
 * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
 * Remember to merge your config files in /etc/ssh/ and then
 * reload sshd: '/etc/init.d/sshd reload'.
 * Please be aware users need a valid shell in /etc/passwd
 * in order to be allowed to login.
 Auto-cleaning packages...

 No outdated packages were found on your system.

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

The ssh-keyscan man page hasn't helped.

As of now I can only log in from older systems.

dhk



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 08:53 AM, Mick wrote:
 On 24 February 2011 13:17, dhk dhk...@optonline.net wrote:
 On 02/23/2011 03:42 AM, Joost Roeleveld wrote:
 On Tuesday 22 February 2011 14:51:31 Mick wrote:
 On 22 February 2011 14:19,  dhk...@optonline.net wrote:
 - Original Message -
 From: Mick

 There was a change in the default ssh encryption algorithm. You may
 want to check if that is causing the problem.

 How would I do that?

 By examining your config files?  Previously your keys would be in
 ~/.ssh/id_dsa[rsa].pub, but now with ECDSA being the default they
 would be in ~/.ssh/id_ecdsa.pub

 I recall something being mentioned in the elog asking to regenerate
 the key-pair.

 HTH.

 If this is the case, you could try speciying your key on the command-line
 using the -i flag:

 # ssh -i .ssh/id_dsa.pub host

 Replace the file with the one on your machine.

 HTH,

 Joost



 I still haven't gotten this to work.  Am I the only one using this?  The
 ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
 socket failed: Connection reset by peer with or without the -i option.

 When I re-emerged openssh the following output is displayed.

 # emerge openssh
 Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) net-misc/openssh-5.8_p1-r1
 Installing (1 of 1) net-misc/openssh-5.8_p1-r1
 Jobs: 1 of 1 complete   Load avg: 2.80,
 1.95, 1.43

  * Messages for package net-misc/openssh-5.8_p1-r1:

  * Starting with openssh-5.8p1, the server will default to a newer key
  * algorithm (ECDSA).  You are encouraged to manually update your stored
  * keys list as servers update theirs.  See ssh-keyscan(1) for more info.
  * Remember to merge your config files in /etc/ssh/ and then
  * reload sshd: '/etc/init.d/sshd reload'.
  * Please be aware users need a valid shell in /etc/passwd
  * in order to be allowed to login.
 Auto-cleaning packages...

 No outdated packages were found on your system.

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

 The ssh-keyscan man page hasn't helped.

 As of now I can only log in from older systems.
 
 This would imply that your older (rsa/dsa) server keys still work.
 
 What have you changed on your Gentoo client?
 
 Have you tried using ssh user@host to login with?

At first all I did was an update:  emerge -uDN world .  They when it
didn't work I removed all public and private keys and restarted sshd.
That didn't work then I tried the ssh-keygen and ssh-keyscan.  That
didn't work so I removed all keys again and restarted sshd.  Are there
ssh_config or sshd_config options that should be set?

Thanks,

dhk



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 03:01 PM, Matthew Marlowe wrote:
 On Thursday, February 24, 2011 10:09:22 am dhk wrote:

 I still haven't gotten this to work.  Am I the only one using this?  The
 ssh -i .ssh/id_dsa.pub host didn't work.  I get a message Read from
 socket failed: Connection reset by peer with or without the -i option.

 
 I encountered a similar, if not the same, problem this morning.
 Upgraded SSH, rebooted server, and no longer able to login.  Logs showed 
 errors I had not seen before.
 
 I managed to solve the problem when I noticed that ssh'ing to the fqdn of the 
 server failed, but ssh'ing to the server hostname worked.  This implied there 
 might be an issue with the known_hosts file, so I blew away that on both the 
 client and server and all was well.
 
 I'm guessing the upgrade modified the default ssh host keys, the new code 
 somehow doesn't give the normal error about discrepencies in known_hosts, and 
 consequently although ones user keys are still fine, it fails.  The issue 
 here 
 is really the new error isn't nearly as understandable as the old.
 
 Anyhow, try it and I hope it works.
 
 Matt

Thanks, but I've tried that.  ssh'ing to the hostname and loopback
address work.  However, when I go out to the WAN it doesn't.  So I can't
ssh user@123.123.123.123 even though I have port 22 open on the switch
for my ip.



Re: [gentoo-user] ssh problem

2011-02-24 Thread dhk
On 02/24/2011 06:30 PM, Mick wrote:
 On Thursday 24 February 2011 21:51:56 dhk wrote:
 
 Thanks, but I've tried that.  ssh'ing to the hostname and loopback
 address work.  However, when I go out to the WAN it doesn't.  So I can't
 ssh user@123.123.123.123 even though I have port 22 open on the switch
 for my ip.
 
 Just to state the obvious, have your tried something like:
 
 $ nc -v -z 123.123.123.123 22
 123.123.123.123 (ssh) open
 
 from a WAN client to make sure that the port is open?

I don't have the nc comand.  What package is it in?



[gentoo-user] ssh problem

2011-02-22 Thread dhk
After a recent upgrade to ssh I can no longer log into my Gentoo box
(amd64) from another Gentoo box (x86) that has also had a recent upgrade
to ssh.  However, I can log in to it from Suse and Redhat boxes.

Any ideas?

Thanks

dhk



Re: [gentoo-user] ssh problem

2011-02-22 Thread dhk
On 02/22/2011 07:37 AM, Alan McKinnon wrote:
 On Tuesday 22 February 2011 06:43:33 dhk wrote:
 After a recent upgrade to ssh I can no longer log into my Gentoo box
 (amd64) from another Gentoo box (x86) that has also had a recent upgrade
 to ssh.  However, I can log in to it from Suse and Redhat boxes.

 Any ideas?
 
 None whatsoever.
 
 Supplying logs might change that though.
 
 

I don't see anything in the logs, but with the -v command I get the
following when trying to log in through the WAN.  Also port 22 is open
on the switch.


$ ssh -v -v -v user@12.12.12.123
OpenSSH_5.8p1-hpn13v10, OpenSSL 1.0.0d 8 Feb 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug2: ssh_connect: needpriv 0
debug1: Connecting to 12.12.12.123 [12.12.12.123] port 22.



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-02-15 Thread dhk
On 02/14/2011 12:29 PM, walt wrote:
 On 02/14/2011 03:43 AM, dhk wrote:
  
 What are the Intel HD Audio codecs?  I don't
 remember doing anything explicitly for them.  How do I check them? 
 Thanks.
 
 Under the HD-Intel sound card driver menu there are several codecs for
 specific sound chips.  e.g. I use the one for realtek, but yours may be
 a different one.  Doesn't hurt to build them all as modules and see which
 one(s) your kernel actually uses.
 
 
 

It looks like all the codec's are built in.  I'm not sure what the last
one in the list does.

# grep -i realtek /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
CONFIG_REALTEK_PHY=m
CONFIG_SND_HDA_CODEC_REALTEK=y
# grep -i codec /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
CONFIG_SND_AC97_CODEC=m
CONFIG_SND_HDA_CODEC_REALTEK=y
CONFIG_SND_HDA_CODEC_ANALOG=y
CONFIG_SND_HDA_CODEC_SIGMATEL=y
CONFIG_SND_HDA_CODEC_VIA=y
CONFIG_SND_HDA_CODEC_ATIHDMI=y
CONFIG_SND_HDA_CODEC_NVHDMI=y
CONFIG_SND_HDA_CODEC_INTELHDMI=y
CONFIG_SND_HDA_CODEC_CIRRUS=y
CONFIG_SND_HDA_CODEC_CONEXANT=y
CONFIG_SND_HDA_CODEC_CA0110=y
CONFIG_SND_HDA_CODEC_CMEDIA=y
CONFIG_SND_HDA_CODEC_SI3054=y
# CONFIG_SND_SOC_ALL_CODECS is not set

This is the genkernel so pretty much everything is built in.

Could this be a bug in the kernel?  I haven't had sound for about a
year, but I know it use to work on this hardware.  It probably went out
with an upgrade and never came back with a new install.

Any ideas are appreciated.

Thanks,

dhk



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-02-15 Thread dhk
On 02/15/2011 06:10 AM, laconism wrote:
 you can use 'lspci' in shell to know something about your sound card,then 
 http://www.gentoo.org/doc/en/alsa-guide.xml  has a guide about how to set 
 your hardware and kernel,the information used to make sure the model of your 
 sound card is porvided in 'lspci',look it up clearly
 if you don't know how to update the kernel,see 
 herehttp://www.gentoo.org/doc/en/kernel-upgrade.xml
 My English is not very good, i wish that you can understand
 At 2011-02-15 18:43:57,dhk dhk...@optonline.net wrote:
 On 02/14/2011 12:29 PM, walt wrote:
 On 02/14/2011 03:43 AM, dhk wrote:
  
 What are the Intel HD Audio codecs?  I don't
 remember doing anything explicitly for them.  How do I check them? 
 Thanks.

 Under the HD-Intel sound card driver menu there are several codecs for
 specific sound chips.  e.g. I use the one for realtek, but yours may be
 a different one.  Doesn't hurt to build them all as modules and see which
 one(s) your kernel actually uses.




 It looks like all the codec's are built in.  I'm not sure what the last
 one in the list does.

 # grep -i realtek /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_REALTEK_PHY=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 # grep -i codec /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5
 CONFIG_SND_AC97_CODEC=m
 CONFIG_SND_HDA_CODEC_REALTEK=y
 CONFIG_SND_HDA_CODEC_ANALOG=y
 CONFIG_SND_HDA_CODEC_SIGMATEL=y
 CONFIG_SND_HDA_CODEC_VIA=y
 CONFIG_SND_HDA_CODEC_ATIHDMI=y
 CONFIG_SND_HDA_CODEC_NVHDMI=y
 CONFIG_SND_HDA_CODEC_INTELHDMI=y
 CONFIG_SND_HDA_CODEC_CIRRUS=y
 CONFIG_SND_HDA_CODEC_CONEXANT=y
 CONFIG_SND_HDA_CODEC_CA0110=y
 CONFIG_SND_HDA_CODEC_CMEDIA=y
 CONFIG_SND_HDA_CODEC_SI3054=y
 # CONFIG_SND_SOC_ALL_CODECS is not set

 This is the genkernel so pretty much everything is built in.

 Could this be a bug in the kernel?  I haven't had sound for about a
 year, but I know it use to work on this hardware.  It probably went out
 with an upgrade and never came back with a new install.

 Any ideas are appreciated.

 Thanks,

 dhk

 
 
 

Been there, done that, still no sound.  Thanks.



Re: [gentoo-user] Re: ALSA - Still No Sound

2011-02-14 Thread dhk
On 02/13/2011 09:21 PM, Nikos Chantziaras wrote:
 On 02/14/2011 01:19 AM, dhk wrote:
 I still can't get sound to work.  Can someone tell me what's wrong?  In
 addition to my earlier thread below I have INPUT_DEVICES=evdev and
 ALSA_CARDS=AC97 in my make.conf.
 
 Dumb question, but did you unmute the channels in 'alsamixer'?  I almost
 always had to do that the first time I configured ALSA.  For reason the
 defaults seemed to mute the channels.
 
 
 

Yes, all channels are unmuted.  Thanks.



Re: [gentoo-user] ALSA - Still No Sound

2011-02-14 Thread dhk
On 02/13/2011 09:01 PM, Bill Kenworthy wrote:
 what does lsmod say?
 
 This is on a jetway MB with an onboard nvidia chipset so not quite the
 same as yours (only sound and the nvidia module are modularised) - in
 particular make sure that you are building the Intel HD Audio codecs -
 it isnt immediately obvious that its required.
 
 BillK
 
 
 myth3 linux # lsmod
 Module  Size  Used by
 snd_pcm_oss37091  0 
 snd_mixer_oss  14409  1 snd_pcm_oss
 snd_seq_dummy   1335  0 
 snd_seq_oss26582  0 
 snd_seq_midi_event  5148  1 snd_seq_oss
 snd_seq47261  5
 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_usb_audio  76036  0 
 snd_usb_lib16911  1 snd_usb_audio
 snd_rawmidi17403  1 snd_usb_lib
 snd_seq_device  4917  4
 snd_seq_dummy,snd_seq_oss,snd_seq,snd_rawmidi
 snd_hda_codec_nvhdmi12443  1 
 snd_hda_codec_realtek   261601  1 
 easycap  1258666  0 
 nvidia  10078248  36 
 snd_hda_intel  20392  4 
 snd_hda_codec  67766  3
 snd_hda_codec_nvhdmi,snd_hda_codec_realtek,snd_hda_intel
 lirc_wb677 22727  1 
 snd_hwdep   5724  2 snd_usb_audio,snd_hda_codec
 lirc_dev   10091  3 lirc_wb677
 snd_pcm68302  5
 snd_pcm_oss,snd_usb_audio,easycap,snd_hda_intel,snd_hda_codec
 snd_timer  17708  2 snd_seq,snd_pcm
 snd49975  23
 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_usb_audio,snd_usb_lib,snd_rawmidi,snd_seq_device,snd_hda_codec_realtek,easycap,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
 soundcore   5135  1 snd
 snd_page_alloc  6641  2 snd_hda_intel,snd_pcm
 myth3 linux #
 
 On Sun, 2011-02-13 at 18:19 -0500, dhk wrote:
 I still can't get sound to work.  Can someone tell me what's wrong?  In
 addition to my earlier thread below I have INPUT_DEVICES=evdev and
 ALSA_CARDS=AC97 in my make.conf.

 The following that someone suggented does nothing.
 modprobe snd-intel8x0; modprobe snd-pcm-oss; modprobe snd-mixer-oss;
 modprobe snd-seq-oss

 I've also tried a second sound card and alternate set of speakers.  Also
 nothing is muted or turned down.

 According to http://kmuto.jp/debian/hcl/ my card works.
 10de00ea Yes nVidia Corporation nForce3 250Gb AC'97 Audio Controller
 snd-intel8x0 v2.6.25-


 On 01/22/2011 08:16 PM, dhk wrote:
 Can someone tell me why I don't have sound?  I've followed the
 instructions at http://www.gentoo.org/doc/en/alsa-guide.xml and
 everything seems to be working, but there's still no sound.  I've also
 swapped out the speakers, made sure they were powered on, and the volume
 turned up.  Also I'm in the audio group and the channels are unmuted
 with the volume at 75%.

 One thing I did notice is that after running alsaconf there aren't any
 modules in /etc/modules.d/, in fact the directory doesn't even exist.
 Now if there aren't any modules to load that's fine, but since I don't
 hear anything I'm not so sure.

 Below is what's on my ~amd64 system.

 Thanks.

 # rc-update show | grep -i alsa
alsasound | boot

 # /etc/init.d/alsasound restart
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
   [ ok ]
  * Loading ALSA modules ...
  *   Loading: snd-card-0 ...
   [ ok ]
  * Restoring Mixer Levels ...
   [ ok ]

 # lspci -v | grep -i audio
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)

 # cat /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 | egrep -i
 'sound|ac97|alsa'
 CONFIG_SOUND=m
 CONFIG_SOUND_OSS_CORE=y
 CONFIG_SOUND_OSS_CORE_PRECLAIM=y
 CONFIG_SND_AC97_CODEC=m
 # CONFIG_SND_AC97_POWER_SAVE is not set
 # CONFIG_SOUND_PRIME is not set
 CONFIG_AC97_BUS=m
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 # CONFIG_CRYPTO_SALSA20 is not set
 CONFIG_CRYPTO_SALSA20_X86_64=m

 # cat /proc/asound/cards
  0 [CK8S   ]: NFORCE - NVidia CK8S
   NVidia CK8S with ALC850 at irq 20
  1 [UART   ]: MPU-401 UART - MPU-401 UART
   MPU-401 UART at 0x300, irq 5

 # cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.23.

 # cat /proc/asound/oss/sndstat
 Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
 Kernel: Linux jenny 2.6.36-gentoo-r5 #1 SMP Wed Jan 12 16:53:04 EST 2011
 x86_64
 Config options: 0

 Installed drivers:
 Type 10: ALSA emulation

 Card config:
 NVidia CK8S with ALC850 at irq 20
 MPU-401 UART at 0x300, irq 5

 Audio devices:
 0: NVidia CK8S (DUPLEX)

 Synth devices: NOT ENABLED IN CONFIG

 Midi devices:
 1: MPU-401 UART MIDI

 Timers:
 31: system timer

 Mixers:
 0: Realtek ALC850 rev 0
 1: mixer10

 Thanks again,

 dhk

 
 
 
 

Below is the full lsmod.  What are the Intel HD Audio codecs?  I don't
remember doing anything explicitly for them.  How do I check them?  Thanks.

# lsmod
Module  Size  Used by
ipv6  206158

[gentoo-user] ALSA - Still No Sound

2011-02-13 Thread dhk
I still can't get sound to work.  Can someone tell me what's wrong?  In
addition to my earlier thread below I have INPUT_DEVICES=evdev and
ALSA_CARDS=AC97 in my make.conf.

The following that someone suggented does nothing.
 modprobe snd-intel8x0; modprobe snd-pcm-oss; modprobe snd-mixer-oss;
modprobe snd-seq-oss

I've also tried a second sound card and alternate set of speakers.  Also
nothing is muted or turned down.

According to http://kmuto.jp/debian/hcl/ my card works.
10de00ea Yes nVidia Corporation nForce3 250Gb AC'97 Audio Controller
snd-intel8x0 v2.6.25-


On 01/22/2011 08:16 PM, dhk wrote:
 Can someone tell me why I don't have sound?  I've followed the
 instructions at http://www.gentoo.org/doc/en/alsa-guide.xml and
 everything seems to be working, but there's still no sound.  I've also
 swapped out the speakers, made sure they were powered on, and the volume
 turned up.  Also I'm in the audio group and the channels are unmuted
 with the volume at 75%.

 One thing I did notice is that after running alsaconf there aren't any
 modules in /etc/modules.d/, in fact the directory doesn't even exist.
 Now if there aren't any modules to load that's fine, but since I don't
 hear anything I'm not so sure.

 Below is what's on my ~amd64 system.

 Thanks.

 # rc-update show | grep -i alsa
alsasound | boot

 # /etc/init.d/alsasound restart
  * WARNING:  you are stopping a boot service.
  * Storing ALSA Mixer Levels ...
   [ ok ]
  * Loading ALSA modules ...
  *   Loading: snd-card-0 ...
   [ ok ]
  * Restoring Mixer Levels ...
   [ ok ]

 # lspci -v | grep -i audio
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)

 # cat /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 | egrep -i
 'sound|ac97|alsa'
 CONFIG_SOUND=m
 CONFIG_SOUND_OSS_CORE=y
 CONFIG_SOUND_OSS_CORE_PRECLAIM=y
 CONFIG_SND_AC97_CODEC=m
 # CONFIG_SND_AC97_POWER_SAVE is not set
 # CONFIG_SOUND_PRIME is not set
 CONFIG_AC97_BUS=m
 CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
 # CONFIG_CRYPTO_SALSA20 is not set
 CONFIG_CRYPTO_SALSA20_X86_64=m

 # cat /proc/asound/cards
  0 [CK8S   ]: NFORCE - NVidia CK8S
   NVidia CK8S with ALC850 at irq 20
  1 [UART   ]: MPU-401 UART - MPU-401 UART
   MPU-401 UART at 0x300, irq 5

 # cat /proc/asound/version
 Advanced Linux Sound Architecture Driver Version 1.0.23.

 # cat /proc/asound/oss/sndstat
 Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
 Kernel: Linux jenny 2.6.36-gentoo-r5 #1 SMP Wed Jan 12 16:53:04 EST 2011
 x86_64
 Config options: 0

 Installed drivers:
 Type 10: ALSA emulation

 Card config:
 NVidia CK8S with ALC850 at irq 20
 MPU-401 UART at 0x300, irq 5

 Audio devices:
 0: NVidia CK8S (DUPLEX)

 Synth devices: NOT ENABLED IN CONFIG

 Midi devices:
 1: MPU-401 UART MIDI

 Timers:
 31: system timer

 Mixers:
 0: Realtek ALC850 rev 0
 1: mixer10

Thanks again,

dhk



Re: [gentoo-user] OT: sed on the commandline

2011-02-12 Thread dhk
On 02/12/2011 06:25 AM, meino.cra...@gmx.de wrote:
 
 Hi,
 
  I am trying to instruct sed to insert a line of text before 
  a matched line. The whole command should fit into one 
  physical (command) line.
 
  Is it possible? And how is it possible?
 
  Thank you very much for any hint in advance!
  Best regards,
  mcc
 
 
 

Try the ampersand  like the example below.

Make a file of phone numbers.
$ cat phone.txt
555-1212
555-1234
555-

Then run the following command to prefix the number with 212 and a dash.
$ sed 's/555/212-/' phone.txt
212-555-1212
212-555-1234
212-555-

Try moving the ampersand around the replacement string.  If moved to the
beginning it transposes the numbers.  Note:  The dash was moved to make
the result look better, it has nothing to do with the command.
$ sed 's/555/-212/' phone.txt
555-212-1212
555-212-1234
555-212-






Re: [gentoo-user] ALSA - No Sound

2011-01-23 Thread dhk
On 01/23/2011 06:10 AM, Dale wrote:
 Hazen Valliant-Saunders wrote:
 Alsaconf will probe the right module for you.

 have you run alsamixer? (Or gmixer or whichever mixer you like to
 unumte the channels with?)

 You need to unmute the channells;

 
 I will add this.  It seems every time I do a install, I have to unmute
 the sound with both alsa and Kmix to get sound.  I assume alsa controls
 the card itself and kmix is sort of like software.  You may have hit
 something similar here.  If even one thing is muted, no sound.  Finding
 them all is fun tho.
 
 Dale
 
 :-)  :-)
 
 

I had all the channels unmuted.  I ran alsamixer and
gnome-volume-control to unmute and to verify, but still no sound.  In
the /etc/make.conf I have ALSA_CARDS=AC97 set, but I don't think that
matters according to the documentation.





Re: [gentoo-user] ALSA - No Sound

2011-01-23 Thread dhk
On 01/23/2011 07:20 AM, Dale wrote:
 dhk wrote:
 On 01/23/2011 06:10 AM, Dale wrote:
   
 Hazen Valliant-Saunders wrote:
 
 Alsaconf will probe the right module for you.

 have you run alsamixer? (Or gmixer or whichever mixer you like to
 unumte the channels with?)

 You need to unmute the channells;


 I will add this.  It seems every time I do a install, I have to unmute
 the sound with both alsa and Kmix to get sound.  I assume alsa controls
 the card itself and kmix is sort of like software.  You may have hit
 something similar here.  If even one thing is muted, no sound.  Finding
 them all is fun tho.

 Dale

 :-)  :-)


  
 I had all the channels unmuted.  I ran alsamixer and
 gnome-volume-control to unmute and to verify, but still no sound.  In
 the /etc/make.conf I have ALSA_CARDS=AC97 set, but I don't think that
 matters according to the documentation.


 
 Does lspci -k show it is using some sort of driver?  Mine for example
 shows this:
 
 01:00.1 Audio device: nVidia Corporation Device 0be2 (rev a1)
 Subsystem: nVidia Corporation Device 069a
 Kernel driver in use: HDA Intel
 
 If yours doesn't show a kernel driver in use, then it is likely a driver
 problem.  If it does show one, make sure it is the correct one.  I
 usually use this as a guide:
 
 http://kmuto.jp/debian/hcl/
 
 Just run the lspci -n command and paste it in there.  It works well.  If
 it shows it is loading the correct driver, something is muted somewhere
 or maybe it is as simple as you have the speakers plugged into the wrong
 plug.  I did that once on my first build.  I had two green plugs.  Sort
 of got the wrong one.  ;-)
 
 I can't think of anything else at the moment.
 
 Dale
 
 :-)  :-)
 
 

It looks like it's got a driver from the following:
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
AC'97 Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0

The full output is below.

# lspci -k
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: agpgart-amd64
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management
(rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0
Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: forcedeth
Kernel modules: forcedeth
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
AC'97 Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller
(v2.5) (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: AMD_IDE
Kernel modules: ata_generic, pata_acpi, pata_amd
00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller
(rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: sata_nv
Kernel modules: ata_generic, pata_acpi, sata_nv
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI
Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge
(rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV36 [GeForce FX
5700LE] (rev a1)
Kernel driver in use: nvidia
Kernel modules: nvidia




Re: [gentoo-user] ALSA - No Sound

2011-01-23 Thread dhk
On 01/23/2011 07:44 AM, Dale wrote:
 dhk wrote:
 On 01/23/2011 07:20 AM, Dale wrote:
   
 dhk wrote:
 
 On 01/23/2011 06:10 AM, Dale wrote:

   
 Hazen Valliant-Saunders wrote:

 
 Alsaconf will probe the right module for you.

 have you run alsamixer? (Or gmixer or whichever mixer you like to
 unumte the channels with?)

 You need to unmute the channells;



 I will add this.  It seems every time I do a install, I have to unmute
 the sound with both alsa and Kmix to get sound.  I assume alsa
 controls
 the card itself and kmix is sort of like software.  You may have hit
 something similar here.  If even one thing is muted, no sound. 
 Finding
 them all is fun tho.

 Dale

 :-)  :-)



  
 I had all the channels unmuted.  I ran alsamixer and
 gnome-volume-control to unmute and to verify, but still no sound.  In
 the /etc/make.conf I have ALSA_CARDS=AC97 set, but I don't think that
 matters according to the documentation.



 Does lspci -k show it is using some sort of driver?  Mine for example
 shows this:

 01:00.1 Audio device: nVidia Corporation Device 0be2 (rev a1)
  Subsystem: nVidia Corporation Device 069a
  Kernel driver in use: HDA Intel

 If yours doesn't show a kernel driver in use, then it is likely a driver
 problem.  If it does show one, make sure it is the correct one.  I
 usually use this as a guide:

 http://kmuto.jp/debian/hcl/

 Just run the lspci -n command and paste it in there.  It works well.  If
 it shows it is loading the correct driver, something is muted somewhere
 or maybe it is as simple as you have the speakers plugged into the wrong
 plug.  I did that once on my first build.  I had two green plugs.  Sort
 of got the wrong one.  ;-)

 I can't think of anything else at the moment.

 Dale

 :-)  :-)


  
 It looks like it's got a driver from the following:
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. K8N-E
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

 The full output is below.

 # lspci -k
 SNIP
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. K8N-E
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

 
 From that, I would think it is working driver and hardware wise, key
 word is think.  The only things I can think of is something somewhere is
 muted or plugged up wrong.  Do you have something like this:
 
 root@fireball / # ls -al /dev/snd/
 total 0
 drwxr-xr-x  3 root root  420 Jan 22 00:44 .
 drwxr-xr-x 14 root root 4380 Jan 22 00:45 ..
 drwxr-xr-x  2 root root   80 Jan 22 00:44 by-path
 crw-rw  1 root audio 116, 10 Jan 22 00:44 controlC0
 crw-rw  1 root audio 116, 19 Jan 22 00:44 controlC1
 crw-rw  1 root audio 116,  9 Jan 22 00:44 hwC0D0
 crw-rw  1 root audio 116, 18 Jan 22 00:44 hwC1D0
 crw-rw  1 root audio 116, 17 Jan 22 00:44 hwC1D1
 crw-rw  1 root audio 116, 16 Jan 22 00:44 hwC1D2
 crw-rw  1 root audio 116, 15 Jan 22 00:44 hwC1D3
 crw-rw  1 root audio 116,  8 Jan 22 00:44 pcmC0D0c
 crw-rw  1 root audio 116,  7 Jan 23 06:37 pcmC0D0p
 crw-rw  1 root audio 116,  6 Jan 22 00:44 pcmC0D1c
 crw-rw  1 root audio 116,  5 Jan 22 00:44 pcmC0D1p
 crw-rw  1 root audio 116,  4 Jan 22 00:44 pcmC0D2c
 crw-rw  1 root audio 116, 14 Jan 22 00:44 pcmC1D3p
 crw-rw  1 root audio 116, 13 Jan 22 00:44 pcmC1D7p
 crw-rw  1 root audio 116, 12 Jan 22 00:44 pcmC1D8p
 crw-rw  1 root audio 116, 11 Jan 22 00:44 pcmC1D9p
 crw-rw  1 root audio 116,  3 Jan 22 00:44 seq
 crw-rw  1 root audio 116,  2 Jan 22 00:44 timer
 root@fireball / #
 
 Yours may vary a bit so it is just something to compare too.  I think we
 are using different cards but some should look the same.  I list those
 because my sound works here.
 
 Can I also assume you have checked to make sure you are in the right
 groups for sound?  I would think audio would be the only one needed but
 since we are grasping at straws, compare to this:
 
 root@fireball / # cat /etc/group | grep dale
 tty::5:nut,dale
 lp::7:lp,dale
 wheel::10:root,dale
 uucp::14:uucp,nut,dale
 audio::18:dale
 cdrom::19:haldaemon,dale
 dialout::20:root,dale
 video::27:root,dale
 usb::85:haldaemon,dale
 users::100:games,dale
 utmp:x:406:dale
 lpadmin:x:106:dale
 games:x:35:dale
 plugdev:x:999:haldaemon,dale
 dale:x:1000:
 nut:x:84:nut,dale
 wireshark:x:993:dale
 root@fireball / #
 
 Again, yours may vary but it may help.  This may not help but at least
 you can be pretty sure of what it is not.  When working on something
 like this, am I the only one that feels like Sherlock Holmes?  lol
 
 Dale
 
 :-)  :-)
 
 

By the way, that link is really good.  It did confirm that I'm using the
correct driver.  I checked the plugs and nothing.  I think I might try
another sound card.  The one I've been

Re: [gentoo-user] ALSA - No Sound

2011-01-23 Thread dhk
On 01/23/2011 07:55 AM, dhk wrote:
 On 01/23/2011 07:44 AM, Dale wrote:
 dhk wrote:
 On 01/23/2011 07:20 AM, Dale wrote:
   
 dhk wrote:
 
 On 01/23/2011 06:10 AM, Dale wrote:

   
 Hazen Valliant-Saunders wrote:

 
 Alsaconf will probe the right module for you.

 have you run alsamixer? (Or gmixer or whichever mixer you like to
 unumte the channels with?)

 You need to unmute the channells;



 I will add this.  It seems every time I do a install, I have to unmute
 the sound with both alsa and Kmix to get sound.  I assume alsa
 controls
 the card itself and kmix is sort of like software.  You may have hit
 something similar here.  If even one thing is muted, no sound. 
 Finding
 them all is fun tho.

 Dale

 :-)  :-)



  
 I had all the channels unmuted.  I ran alsamixer and
 gnome-volume-control to unmute and to verify, but still no sound.  In
 the /etc/make.conf I have ALSA_CARDS=AC97 set, but I don't think that
 matters according to the documentation.



 Does lspci -k show it is using some sort of driver?  Mine for example
 shows this:

 01:00.1 Audio device: nVidia Corporation Device 0be2 (rev a1)
  Subsystem: nVidia Corporation Device 069a
  Kernel driver in use: HDA Intel

 If yours doesn't show a kernel driver in use, then it is likely a driver
 problem.  If it does show one, make sure it is the correct one.  I
 usually use this as a guide:

 http://kmuto.jp/debian/hcl/

 Just run the lspci -n command and paste it in there.  It works well.  If
 it shows it is loading the correct driver, something is muted somewhere
 or maybe it is as simple as you have the speakers plugged into the wrong
 plug.  I did that once on my first build.  I had two green plugs.  Sort
 of got the wrong one.  ;-)

 I can't think of anything else at the moment.

 Dale

 :-)  :-)


  
 It looks like it's got a driver from the following:
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. K8N-E
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0

 The full output is below.

 # lspci -k
 SNIP
 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
 AC'97 Audio Controller (rev a1)
 Subsystem: ASUSTeK Computer Inc. K8N-E
 Kernel driver in use: Intel ICH
 Kernel modules: snd-intel8x0


 From that, I would think it is working driver and hardware wise, key
 word is think.  The only things I can think of is something somewhere is
 muted or plugged up wrong.  Do you have something like this:

 root@fireball / # ls -al /dev/snd/
 total 0
 drwxr-xr-x  3 root root  420 Jan 22 00:44 .
 drwxr-xr-x 14 root root 4380 Jan 22 00:45 ..
 drwxr-xr-x  2 root root   80 Jan 22 00:44 by-path
 crw-rw  1 root audio 116, 10 Jan 22 00:44 controlC0
 crw-rw  1 root audio 116, 19 Jan 22 00:44 controlC1
 crw-rw  1 root audio 116,  9 Jan 22 00:44 hwC0D0
 crw-rw  1 root audio 116, 18 Jan 22 00:44 hwC1D0
 crw-rw  1 root audio 116, 17 Jan 22 00:44 hwC1D1
 crw-rw  1 root audio 116, 16 Jan 22 00:44 hwC1D2
 crw-rw  1 root audio 116, 15 Jan 22 00:44 hwC1D3
 crw-rw  1 root audio 116,  8 Jan 22 00:44 pcmC0D0c
 crw-rw  1 root audio 116,  7 Jan 23 06:37 pcmC0D0p
 crw-rw  1 root audio 116,  6 Jan 22 00:44 pcmC0D1c
 crw-rw  1 root audio 116,  5 Jan 22 00:44 pcmC0D1p
 crw-rw  1 root audio 116,  4 Jan 22 00:44 pcmC0D2c
 crw-rw  1 root audio 116, 14 Jan 22 00:44 pcmC1D3p
 crw-rw  1 root audio 116, 13 Jan 22 00:44 pcmC1D7p
 crw-rw  1 root audio 116, 12 Jan 22 00:44 pcmC1D8p
 crw-rw  1 root audio 116, 11 Jan 22 00:44 pcmC1D9p
 crw-rw  1 root audio 116,  3 Jan 22 00:44 seq
 crw-rw  1 root audio 116,  2 Jan 22 00:44 timer
 root@fireball / #

 Yours may vary a bit so it is just something to compare too.  I think we
 are using different cards but some should look the same.  I list those
 because my sound works here.

 Can I also assume you have checked to make sure you are in the right
 groups for sound?  I would think audio would be the only one needed but
 since we are grasping at straws, compare to this:

 root@fireball / # cat /etc/group | grep dale
 tty::5:nut,dale
 lp::7:lp,dale
 wheel::10:root,dale
 uucp::14:uucp,nut,dale
 audio::18:dale
 cdrom::19:haldaemon,dale
 dialout::20:root,dale
 video::27:root,dale
 usb::85:haldaemon,dale
 users::100:games,dale
 utmp:x:406:dale
 lpadmin:x:106:dale
 games:x:35:dale
 plugdev:x:999:haldaemon,dale
 dale:x:1000:
 nut:x:84:nut,dale
 wireshark:x:993:dale
 root@fireball / #

 Again, yours may vary but it may help.  This may not help but at least
 you can be pretty sure of what it is not.  When working on something
 like this, am I the only one that feels like Sherlock Holmes?  lol

 Dale

 :-)  :-)


 
 By the way, that link is really good.  It did confirm that I'm using the
 correct driver.  I checked the plugs and nothing.  I think I might try
 another

Re: [gentoo-user] ALSA - No Sound

2011-01-23 Thread dhk
On 01/23/2011 12:47 PM, pk wrote:
 On 2011-01-23 14:23, dhk wrote:
 
 The Sound Blaster didn't work either.  Should I try enabling the
 deprecated OSS in the kernel?
 
 You can always try it but I highly doubt it would improve the situation...
 
 What sound related USE flags have you enabled (i.e. alsa, oss[for
 compatibility] etc.)?
 
 Are you using any sound daemons (like Esound or Pulseaudio)? Shut them
 down. Are you sure you've plugged the speaker/headphone cable(s) into
 the right jack? Whenever I install a new computer I always put some
 music on and try the different audio jacks to find the right one. How do
 you play sound to verify that you have (or not, in your case) sound? For
 the last part I would advise to keep it as simple as possible i.e. try
 ogg123 or mpg123 or mplayer (as an example).
 
 Best regards
 
 Peter K
 
 

My make.conf Use is: USE=-arts -doc -evo -firefox -kde -qt -qt3 -qt4
-java X alsa cairo cdr device-mapper extras gdu gnome gtk jpeg png
policykit sqlite svg tiff udev xml xulrunner xvmc

Everything is plugged in correctly and checked many times.  As far as I
know there aren't any sound daemons running, this is a new install, only
a couple of weeks old.  Everything looks like it should be working, the
only thing is I don't hear anything.  Since I hear other things I'm sure
I'm not deaf and can rule that out.  This is a basic set up with lvm2,
gnome, firefox, thunderbird, and openoffice.  That's about it, nothing
fancy.




[gentoo-user] ALSA - No Sound

2011-01-22 Thread dhk
Can someone tell me why I don't have sound?  I've followed the
instructions at http://www.gentoo.org/doc/en/alsa-guide.xml and
everything seems to be working, but there's still no sound.  I've also
swapped out the speakers, made sure they were powered on, and the volume
turned up.  Also I'm in the audio group and the channels are unmuted
with the volume at 75%.

One thing I did notice is that after running alsaconf there aren't any
modules in /etc/modules.d/, in fact the directory doesn't even exist.
Now if there aren't any modules to load that's fine, but since I don't
hear anything I'm not so sure.

Below is what's on my ~amd64 system.

Thanks.

# rc-update show | grep -i alsa
   alsasound | boot

# /etc/init.d/alsasound restart
 * WARNING:  you are stopping a boot service.
 * Storing ALSA Mixer Levels ...
  [ ok ]
 * Loading ALSA modules ...
 *   Loading: snd-card-0 ...
  [ ok ]
 * Restoring Mixer Levels ...
  [ ok ]

# lspci -v | grep -i audio
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
AC'97 Audio Controller (rev a1)

# cat /etc/kernels/kernel-config-x86_64-2.6.36-gentoo-r5 | egrep -i
'sound|ac97|alsa'
CONFIG_SOUND=m
CONFIG_SOUND_OSS_CORE=y
CONFIG_SOUND_OSS_CORE_PRECLAIM=y
CONFIG_SND_AC97_CODEC=m
# CONFIG_SND_AC97_POWER_SAVE is not set
# CONFIG_SOUND_PRIME is not set
CONFIG_AC97_BUS=m
CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
# CONFIG_CRYPTO_SALSA20 is not set
CONFIG_CRYPTO_SALSA20_X86_64=m

# cat /proc/asound/cards
 0 [CK8S   ]: NFORCE - NVidia CK8S
  NVidia CK8S with ALC850 at irq 20
 1 [UART   ]: MPU-401 UART - MPU-401 UART
  MPU-401 UART at 0x300, irq 5

# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.

# cat /proc/asound/oss/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.23 emulation code)
Kernel: Linux jenny 2.6.36-gentoo-r5 #1 SMP Wed Jan 12 16:53:04 EST 2011
x86_64
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
NVidia CK8S with ALC850 at irq 20
MPU-401 UART at 0x300, irq 5

Audio devices:
0: NVidia CK8S (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices:
1: MPU-401 UART MIDI

Timers:
31: system timer

Mixers:
0: Realtek ALC850 rev 0
1: mixer10




Re: [gentoo-user] ALSA - No Sound

2011-01-22 Thread dhk
On 01/22/2011 08:51 PM, David Abbott wrote:
 On Sat, Jan 22, 2011 at 8:16 PM, dhk dhk...@optonline.net wrote:
 Can someone tell me why I don't have sound?
 What happens when you;
 modprobe snd-intel8x0 ; modprobe snd-pcm-oss ; modprobe snd-mixer-oss
 ; modprobe snd-seq-oss
 
 

After executing the four modprobes above, nothing happens.





[gentoo-user] Firefox doesn't build - gcc compilers

2010-12-13 Thread dhk
How can I get Firefox and Imagemagick working?

I had two gcc compiles installed on my machine 3.4.3 and 4.4.4.  After
reading that gcc 3.4.3 was not necessary anymore since gcc 4.4.4 was
stable.  I removed gcc 3.4.3 and left 4.4.4 to get imagemagick updated.
 Now both imagemagick and firefox fail to build ( [ebuild U ]
media-gfx/imagemagick-6.6.5.6 [6.6.2.5] USE=corefonts%* ).  I'm not
sure if there are other things not working also.  Should I have kept gcc
3.4.3?  Thanks dhk

# uname -a
Linux dhcppc3 2.6.34-gentoo-r6 #1 SMP Fri Sep 24 06:12:23 EDT 2010
x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

# emerge --info =www-client/firefox-3.6.13
!!! No gcc found. You probably need to 'source /etc/profile'
!!! to update the environment of this terminal and possibly
!!! other terminals also.
Portage 2.1.9.24 (default/linux/amd64/10.0, [unavailable],
glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64)
=
System Settings
=
System uname:
Linux-2.6.34-gentoo-r6-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Mon, 13 Dec 2010 11:45:03 +
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p7
dev-lang/python: 2.6.5-r3, 3.1.2-r4
dev-util/ccache: 2.4-r7
dev-util/cmake:  2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:   4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:  3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS=amd64
ACCEPT_LICENSE=* -...@eula AdobeFlash-10.1 skype-eula
CBUILD=x86_64-pc-linux-gnu
CFLAGS=-march=k8 -O2 -pipe
CHOST=x86_64-pc-linux-gnu
CONFIG_PROTECT=/etc/make.conf
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo
CXXFLAGS=-march=k8 -O2 -pipe
DISTDIR=/usr/portage/distfiles
EMERGE_DEFAULT_OPTS=--jobs=2 --with-bdeps y
FEATURES=assume-digests binpkg-logs ccache collision-protect distlocks
fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch
GENTOO_MIRRORS=ftp://mirror.mcs.anl.gov/pub/gentoo
http://www.gtlib.gatech.edu/pub/gentoo;
LDFLAGS=-Wl,-O1 -Wl,--as-needed
MAKEOPTS=-j2
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
SYNC=rsync://rsync.namerica.gentoo.org/gentoo-portage
USE=X acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt cups cxx
dri fortran gdbm gnome gpm gtk hal iconv ipv6 jpeg mmx modules mudflap
multilib ncurses nls nptl nptlonly nvidia openmp pam pcre perl png pppd
python readline session sse sse2 ssl svg sysfs tcpd tiff unicode xml
xorg xulrunner xvmc zlib ALSA_CARDS=emu10k1 ALSA_PCM_PLUGINS=adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug
ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route
share shm softvol APACHE2_MODULES=actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
file_cache filter headers include info log_config logio mem_cache mime
mime_magic negotiation rewrite setenvif speling status unique_id userdir
usertrack vhost_alias COLLECTD_PLUGINS=df interface irq load memory
rrdtool swap syslog ELIBC=glibc GPSD_PROTOCOLS=ashtech aivdm
earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea
ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf
superstar2 timing tsip tripmate tnt ubx INPUT_DEVICES=evdev
KERNEL=linux LCD_DEVICES=bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text PHP_TARGETS=php5-2 RUBY_TARGETS=ruby18
USERLAND=GNU VIDEO_CARDS=nvidia XTABLES_ADDONS=quota2 psd pknock
lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee
tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



Re: [gentoo-user] Firefox doesn't build - gcc compilers

2010-12-13 Thread dhk
On 12/13/2010 07:50 AM, Xavier Parizet wrote:
 On Mon, 13 Dec 2010 07:34:16 -0500, dhk dhk...@optonline.net wrote:
 How can I get Firefox and Imagemagick working?

 I had two gcc compiles installed on my machine 3.4.3 and 4.4.4.  After
 reading that gcc 3.4.3 was not necessary anymore since gcc 4.4.4 was
 stable.  I removed gcc 3.4.3 and left 4.4.4 to get imagemagick updated.
  Now both imagemagick and firefox fail to build ( [ebuild U ]
 media-gfx/imagemagick-6.6.5.6 [6.6.2.5] USE=corefonts%* ).  I'm not
 sure if there are other things not working also.  Should I have kept gcc
 3.4.3?  Thanks dhk

 # uname -a
 Linux dhcppc3 2.6.34-gentoo-r6 #1 SMP Fri Sep 24 06:12:23 EDT 2010
 x86_64 AMD Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux

 # emerge --info =www-client/firefox-3.6.13
 !!! No gcc found. You probably need to 'source /etc/profile'
 !!! to update the environment of this terminal and possibly
 !!! other terminals also.
 
 You need to run:
 gcc-config x86_64-pc-linux-gnu-4.4.4  source /etc/profile  gcc -v
 
 If the above commande output gcc version 4.4.4, then you're done, just
 re-run emerge.
 
 Portage 2.1.9.24 (default/linux/amd64/10.0, [unavailable],
 glibc-2.11.2-r3, 2.6.34-gentoo-r6 x86_64)
 [SNIP]

That was easy.  It works.  Thanks.



Re: [gentoo-user] Which architecture ???

2010-12-09 Thread dhk
On 12/08/2010 01:59 PM, meino.cra...@gmx.de wrote:
 KIM WHALEN dhk...@optonline.net [10-12-08 18:33]:

 On Wed, Dec 8, 2010 at 8:45 AM, Matthew Summers wrote:

 On Wed, Dec 8, 2010 at 6:58 AM, dhk dhk...@optonline.net wrote:
 On 12/08/2010 07:57 AM, Michael Hampicke wrote:
 I don't see any address size but when I cat /proc/cpuinfo | grep 
 size I
 get casche size 256 KB and clflush size 64.  The laptop has 4G of 
 memory.

 With 4G or more I would go with amd64.



 Thanks all, I'll give it a try.



 Hi,

 If you don't mind, could you post the output of 'cat /proc/cpuinfo'? I
 am interested in some of the details of that CPU. Mainly I am curious
 if it is a fam10 cpu or something else.

 TIA,
 -- 
 Matthew W. Summers



 livecd ~ # cat /proc/cpuinfo
 processor: 0
 vendor_id: AuthenticAMD
 cpu family   : 15
 model: 107
 model name   : AMD Athlon(tm) Neo X2 Dual Core Processor L335
 stepping : 2
 cpu MHz  : 1595.727
 cache size   : 256 KB
 physical id  : 0
 siblings : 2
 core id  : 0
 cpu cores: 2
 apicid   : 0
 initial apicid   : 0
 fpu  : yes
 fpu_exception: yes
 cpuid level  : 1
 wp   : yes
 flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
 mca cmov 
 pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt 
 rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm 
 cmp_legacy svm extapic cr8_legacy 3dnowprefetch
 bogomips : 3191.45
 TLB size : 1024 4K pages
 clflush size : 64
 cache_alignment  : 64
 address sizes: 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp tm stc 100mhzsteps

 processor: 1
 vendor_id: AuthenticAMD
 cpu family   : 15
 model: 107
 model name   : AMD Athlon(tm) Neo X2 Dual Core Processor L335
 stepping : 2
 cpu MHz  : 1595.727
 cache size   : 256 KB
 physical id  : 0
 siblings : 2
 core id  : 1
 cpu cores: 2
 apicid   : 1
 initial apicid   : 1
 fpu  : yes
 fpu_exception: yes
 cpuid level  : 1
 wp   : yes
 flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge 
 mca cmov 
 pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt 
 rdtscp lm 3dnowext 3dnow rep_good extd_apicid pni cx16 lahf_lm 
 cmp_legacy svm extapic cr8_legacy 3dnowprefetch
 bogomips : 3191.89
 TLB size : 1024 4K pages
 clflush size : 64
 cache_alignment  : 64
 address sizes: 40 bits physical, 48 bits virtual
 power management: ts fid vid ttp tm stc 100mhzsteps

 livecd ~ #

 
 Hi,
 
 from the above youu will find
 
 address sizes: 40 bits physical, 48 bits virtual
 
 may be you mistyped the grep keyword ?
 
 :)
 
 Welcome to the AMD64 family ! :)
 
 Have a nice evening!
 Best regards,
 mcc
 
 
 
 
 
 
 

Yes, thanks.

Now I have an other small problem setting up the dual boot.  I'll start
another thread on that later.

Thanks again.



[gentoo-user] Which architecture ???

2010-12-08 Thread dhk
I have a laptop which has an AMD Athlon Neo X2 L335 2.2GHz Dual Core
processor on it and I'd like to know which architecture (handbook and
livecd) to use.

The handbook choices are:  x86, sparc, amd64, ppc, ppc64, alpha, hppa,
mips, ia64, arm.  I'm guessing the x86, but I's like to be sure.

Thanks

dhk



Re: [gentoo-user] Which architecture ???

2010-12-08 Thread dhk
On 12/08/2010 07:21 AM, Helmut Jarausch wrote:
 On 12/08/10 12:25:23, dhk wrote:
 I have a laptop which has an AMD Athlon Neo X2 L335 2.2GHz Dual Core
 processor on it and I'd like to know which architecture (handbook and
 livecd) to use.

 The handbook choices are:  x86, sparc, amd64, ppc, ppc64, alpha, 
 hppa,
 mips, ia64, arm.  I'm guessing the x86, but I's like to be sure.

 
 x86 will do for sure.
 But you can check
 
 cat /proc/cpuinfo | grep address sizes 
 
 If it shows more than 32 bits (e.g. 48 bits)
 then you could use amd64, as well.
 AFAIK, 64 is mean stream today.
 How much memory do you have installed?
 If more than 4G you have to use adm64 to fully use it.
 I'd prefer amd64 if possible,
 
 Helmut.
 
 
 

I don't see any address size but when I cat /proc/cpuinfo | grep size I
get casche size 256 KB and clflush size 64.  The laptop has 4G of memory.





Re: [gentoo-user] Which architecture ???

2010-12-08 Thread dhk
On 12/08/2010 07:57 AM, Michael Hampicke wrote:
 I don't see any address size but when I cat /proc/cpuinfo | grep size I
 get casche size 256 KB and clflush size 64.  The laptop has 4G of memory.
 
 With 4G or more I would go with amd64.
 
 

Thanks all, I'll give it a try.



Re: [gentoo-user] MIT-MAGIC-COOKIE

2010-11-11 Thread dhk
On 11/10/2010 06:45 PM, Neil Bothwick wrote:
 On Wed, 10 Nov 2010 18:35:20 -0500, dhk wrote:
 
 Lately I've been getting this MIT-MAGIC-COOKIE error.  It only happens
 when I'm logged into my home amd64 box from my office x86 box.  I use
 ssh -X ip.add.res.s to log in.
 
 Have you tried using -Y instead of -X?
 
 

I haven't tried -Y, but I'll give it a shot when I get to the office.
However, shouldn't -X work?  It's been working all along.

Thanks,

--dhk



Re: [gentoo-user] MIT-MAGIC-COOKIE

2010-11-11 Thread dhk
On 11/11/2010 04:42 PM, Paul Hartman wrote:
 On Wed, Nov 10, 2010 at 5:35 PM, dhk dhk...@optonline.net wrote:
 Lately I've been getting this MIT-MAGIC-COOKIE error.  It only happens
 when I'm logged into my home amd64 box from my office x86 box.  I use
 ssh -X ip.add.res.s to log in.  Everything seems to work and save fine
 except for the error message and not being able to run an x-application
 remotely.

 The first error occurs when I try to run an x-application remotely.
 $ jpilot
 Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
 (jpilot:16276): Gtk-WARNING **: cannot open display: localhost:11.0

 The second error occurs after I exit a file from a text editor.
 $ vi file.txt
 Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key

 I've been doing this for years without any problems and this probably
 started in the last month or so.

 I've seen a few things on line, but nothing that looks right.  I also
 don't want to run the xhost+ command.

 Any ideas?
 
 I think you need to use xauth to check the permissions. Did your
 remote machine name or something else like that significantly change
 recently?
 
 


Very good, the -Y option worked, but I'm still confused why the -X
stopped working.  I suspect it has to do with the openssl update a few
weeks ago on the x86 box at the office.  After that update my ssh
sessions were timing out, also, even though I have Client ans Server
Alive's set in sshd_config and ssh_config.

Thanks,

--dhk




[gentoo-user] MIT-MAGIC-COOKIE

2010-11-10 Thread dhk
Lately I've been getting this MIT-MAGIC-COOKIE error.  It only happens
when I'm logged into my home amd64 box from my office x86 box.  I use
ssh -X ip.add.res.s to log in.  Everything seems to work and save fine
except for the error message and not being able to run an x-application
remotely.

The first error occurs when I try to run an x-application remotely.
$ jpilot
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key
(jpilot:16276): Gtk-WARNING **: cannot open display: localhost:11.0

The second error occurs after I exit a file from a text editor.
$ vi file.txt
Invalid MIT-MAGIC-COOKIE-1 keyInvalid MIT-MAGIC-COOKIE-1 key

I've been doing this for years without any problems and this probably
started in the last month or so.

I've seen a few things on line, but nothing that looks right.  I also
don't want to run the xhost+ command.

Any ideas?

Thanks,

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-08 Thread dhk
On 11/08/2010 05:28 AM, Coert Waagmeester wrote:
 Volker Armin Hemmann wrote:
 On Thursday 04 November 2010, dhk wrote:
 I've always used the genkernel, but now am trying to make a manual one.
  I think the kernel is alright since all the default setting seemed
 reasonable and the build was easy enough.  However, when I boot to it I
 get a kernel panic and it complains about the root device /dev/hda3. So
 I think the problem has to do with my parameters or syntax in grub.conf.
  Below are three grub menu options.  The first two have the problem and
 the third is the genkernel that works fine.  Is there something wrong
 with the way the first two are?  Thanks.

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
 splash=verbose video=vesafb:mtrr,ywrap udev
 # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

 # This a genkernel and works
 title Gentoo Linux x86 2.6.34-r6
 root (hd0,0)
 kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
 ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
 video=vesafb:mtrr,ywrap udev
 initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

 --dhk

 grub must point to sda3 not hda3


 
 Yes, I had a similar problem.
 The device names are different on my machine between genkernel and my
 own kernel.
 Make sure to change that in your /etc/fstab as well.
 
 Dont know if this is always the case though.
 
 Regards,
 Coert Waagmeester
 
 

I'm booting to an IDE hard disk.  Are you say the device name should
change from /dev/hda3 to /dev/sda3?  If I change it in /etc/fstab and it
doesn't work, I'll have problems, I'll probably have to boot to the livecd.

Thanks,

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-05 Thread dhk
On 11/04/2010 03:25 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 19:36 on Thursday 04 November 2010, dhk did 
 opine thusly:
 
 On 11/04/2010 01:08 PM, Neil Bothwick wrote:
 On Thu, 04 Nov 2010 13:00:21 -0400, dhk wrote:
 The reason I didn't include the exact error is that I can't capture it.

  I'd have to write it on paper and then reboot to the working kernel.

 Which is a lot less work than trying to fix the problem by guesswork.

 I have /boot as ext2 and the rest ext3 with lvm2.

 $ df -k
 Filesystem   1K-blocks  Used Available Use% Mounted on
 /dev/hda3  8262068712028   7130344  10% /
 udev 10240   336  9904   4% /dev
 /dev/mapper/vg-usr15481840  12867912   1827496  88% /usr
 /dev/mapper/vg-home   51606140  42781428   6203272  88% /home
 /dev/mapper/vg-opt 5160576   2635064   2263368  54% /opt
 /dev/mapper/vg-var15481840   2387500  12307908  17% /var
 /dev/mapper/vg-tmp 2064208 68708   1890644   4% /tmp
 shm 512572 0512572   0% /dev/shm

 The ext2 wasn't compiled in, so I compiled it in and rebooted.  I got
 the same error.

 kernel panic - not syncing : VFS: unable to mount root FS on
 unknown-block (2,0)

 This is what I had.
   Second extended fs support   │ │
   │ │* Ext3 journalling file system support
   │ │
   │ │[ ]   Default to 'data=ordered' in ext3
   │ │
   │ │[*]   Ext3 extended attributes
   │ │
   │ │[*] Ext3 POSIX Access Control Lists
   │ │
   │ │[*] Ext3 Security Labels

 This is what I added.
 * Second extended fs support   │ │
   │ │[ ]   Ext2 extended attributes (NEW)
   │ │
   │ │[ ]   Ext2 execute in place support (NEW)
   │ │
   │ │* Ext3 journalling file system support
   │ │
   │ │[ ]   Default to 'data=ordered' in ext3
   │ │
   │ │[*]   Ext3 extended attributes
   │ │
   │ │[*] Ext3 POSIX Access Control Lists
   │ │
   │ │[*] Ext3 Security Labels
   │ │

 Thanks,

 --dhk
 
 
 Is your / partition in or out of the lvm?
 
 

The / is out of lvm2 and is ext3, /boot is ext2.




Re: [gentoo-user] kernel panic on manually built kernel

2010-11-05 Thread dhk
On 11/04/2010 03:51 PM, Neil Bothwick wrote:
 On Thu, 04 Nov 2010 13:36:25 -0400, dhk wrote:
 
 The ext2 wasn't compiled in, so I compiled it in and rebooted.  I got
 the same error.

 kernel panic - not syncing : VFS: unable to mount root FS on
 unknown-block (2,0)
 
 It's saying unknown block, not unknown fs. I suspect you haven't compiled
 in the drivers for your hard disk controller.
 
 

All my hard disks are sata except the main one with the os on it that is
ide.  Is a fairly new disk, may be a year old, but should the following
driver be compiled in?
[ ]   Very old hard disk (MFM/RLL/IDE) driver

I went back to ide a few years ago because I had problems with sata.
First, the system would never boot with more than one sata drive
connected.  There's something call Staggered Spin-up Detection which
load balances the power going to the disks.  The bios would error saying
that there weren't any hard disks, when really they weren't powered up
by time the bios finished checking them.  Second, I broke a couple of
motherboard sata connectors.  Apparently the wire connection to the
connector is tighter than the connector's connection to the motherboard,
they pulled right off the board.




Re: [gentoo-user] kernel panic on manually built kernel

2010-11-05 Thread dhk
On 11/05/2010 06:33 AM, Neil Bothwick wrote:
 On Fri, 05 Nov 2010 05:47:42 -0400, dhk wrote:
 
 It's saying unknown block, not unknown fs. I suspect you haven't
 compiled in the drivers for your hard disk controller.

   

 All my hard disks are sata except the main one with the os on it that is
 ide.  Is a fairly new disk, may be a year old, but should the following
 driver be compiled in?
 [ ]   Very old hard disk (MFM/RLL/IDE) driver
 
 It's unlikely, more likely is that you don't have support for your
 controller chipset built in. Boot fro the genkernel kernel and run lspci
 -k to see which module it uses for the controller, then compile that into
 your kernel.
 
 Second, I broke a couple of
 motherboard sata connectors.  Apparently the wire connection to the
 connector is tighter than the connector's connection to the motherboard,
 they pulled right off the board.
 
 That's happened to me a few times too. Fortunately, they push back on
 almost as easily as they pull off.
 
 
This is what I have.

$ lspci -k
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: agpgart-amd64
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management
(rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ohci_hcd
Kernel modules: ohci-hcd
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0
Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: forcedeth
Kernel modules: forcedeth
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb
AC'97 Audio Controller (rev a1)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: Intel ICH
Kernel modules: snd-intel8x0

I think this may be the missing one(s).  I can't find it in the
list, but the AMD64/PATA is selected to be compiled in.
vv
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller
(v2.5) (rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: AMD_IDE
Kernel modules: pata_acpi, ata_generic, pata_amd
00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller
(rev a2)
Subsystem: ASUSTeK Computer Inc. K8N-E
Kernel driver in use: sata_nv
Kernel modules: sata_nv, pata_acpi, ata_generic
^^^

00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI
Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge
(rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV36 [GeForce FX
5700LE] (rev a1)
Kernel driver in use: nvidia
Kernel modules: nvidia
02:07.0 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 61)
Subsystem: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
02:07.1 USB Controller: VIA Technologies, Inc. VT82x UHCI USB 1.1
Controller (rev 61)
Subsystem: VIA Technologies, Inc. VT82x UHCI USB 1.1 Controller
Kernel driver in use: uhci_hcd
Kernel modules: uhci-hcd
02:07.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
Subsystem: VIA Technologies, Inc. USB 2.0
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
02:07.3 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE
1394 OHCI Link Layer Controller (rev 46)
Subsystem: VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link
Layer Controller
Kernel driver in use: ohci1394
Kernel modules: ohci1394

--dhk



[gentoo-user] kernel panic on manually built kernel

2010-11-04 Thread dhk
I've always used the genkernel, but now am trying to make a manual one.
 I think the kernel is alright since all the default setting seemed
reasonable and the build was easy enough.  However, when I boot to it I
get a kernel panic and it complains about the root device /dev/hda3. So
I think the problem has to do with my parameters or syntax in grub.conf.
 Below are three grub menu options.  The first two have the problem and
the third is the genkernel that works fine.  Is there something wrong
with the way the first two are?  Thanks.

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

# This is a Manually built kernel with default settings.  kernel panic
title Gentoo Linux x86 2.6.34-r12
root (hd0,0)
kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
splash=verbose video=vesafb:mtrr,ywrap udev
# From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

# This a genkernel and works
title Gentoo Linux x86 2.6.34-r6
root (hd0,0)
kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
video=vesafb:mtrr,ywrap udev
initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-04 Thread dhk
On 11/04/2010 12:52 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 18:34 on Thursday 04 November 2010, dhk did 
 opine thusly:
 
 I've always used the genkernel, but now am trying to make a manual one.
  I think the kernel is alright since all the default setting seemed
 reasonable and the build was easy enough.  However, when I boot to it I
 get a kernel panic and it complains about the root device /dev/hda3. So
 I think the problem has to do with my parameters or syntax in grub.conf.
  Below are three grub menu options.  The first two have the problem and
 the third is the genkernel that works fine.  Is there something wrong
 with the way the first two are?  Thanks.
 
 Why did you think it a good idea to NOT post the *actual* error? 
 
 Your grub entries are correct.
 
 I'll bet money that you built one or more of your chipset drivers, libata, or 
 root filesystem driver as a module.
 
 These must not be modules, they must be built-in (otherwise you need an 
 initrd)
 
 
 

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
 splash=verbose video=vesafb:mtrr,ywrap udev
 # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

 # This a genkernel and works
 title Gentoo Linux x86 2.6.34-r6
 root (hd0,0)
 kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
 ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
 video=vesafb:mtrr,ywrap udev
 initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

 --dhk
 

Thanks all, I check those suggestions and get back to you.

The reason I didn't include the exact error is that I can't capture it.
 I'd have to write it on paper and then reboot to the working kernel.
By then it doesn't seem to be in any of the logs.  I'll see what I can
do about that.

Thanks again.

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-04 Thread dhk
On 11/04/2010 01:08 PM, Neil Bothwick wrote:
 On Thu, 04 Nov 2010 13:00:21 -0400, dhk wrote:
 
 The reason I didn't include the exact error is that I can't capture it.
  I'd have to write it on paper and then reboot to the working kernel.
 
 Which is a lot less work than trying to fix the problem by guesswork.
 
 

I have /boot as ext2 and the rest ext3 with lvm2.

$ df -k
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/hda3  8262068712028   7130344  10% /
udev 10240   336  9904   4% /dev
/dev/mapper/vg-usr15481840  12867912   1827496  88% /usr
/dev/mapper/vg-home   51606140  42781428   6203272  88% /home
/dev/mapper/vg-opt 5160576   2635064   2263368  54% /opt
/dev/mapper/vg-var15481840   2387500  12307908  17% /var
/dev/mapper/vg-tmp 2064208 68708   1890644   4% /tmp
shm 512572 0512572   0% /dev/shm

The ext2 wasn't compiled in, so I compiled it in and rebooted.  I got
the same error.

kernel panic - not syncing : VFS: unable to mount root FS on
unknown-block (2,0)

This is what I had.
  Second extended fs support   │ │
  │ │* Ext3 journalling file system support
  │ │
  │ │[ ]   Default to 'data=ordered' in ext3
  │ │
  │ │[*]   Ext3 extended attributes
  │ │
  │ │[*] Ext3 POSIX Access Control Lists
  │ │
  │ │[*] Ext3 Security Labels

This is what I added.
* Second extended fs support   │ │
  │ │[ ]   Ext2 extended attributes (NEW)
  │ │
  │ │[ ]   Ext2 execute in place support (NEW)
  │ │
  │ │* Ext3 journalling file system support
  │ │
  │ │[ ]   Default to 'data=ordered' in ext3
  │ │
  │ │[*]   Ext3 extended attributes
  │ │
  │ │[*] Ext3 POSIX Access Control Lists
  │ │
  │ │[*] Ext3 Security Labels
  │ │

Thanks,

--dhk



Re: [gentoo-user] kernel panic on manually built kernel

2010-11-04 Thread dhk
On 11/04/2010 02:12 PM, cov...@ccs.covici.com wrote:
 Dale rdalek1...@gmail.com wrote:
 
 dhk wrote:
 I've always used the genkernel, but now am trying to make a manual one.
   I think the kernel is alright since all the default setting seemed
 reasonable and the build was easy enough.  However, when I boot to it I
 get a kernel panic and it complains about the root device /dev/hda3. So
 I think the problem has to do with my parameters or syntax in grub.conf.
   Below are three grub menu options.  The first two have the problem and
 the third is the genkernel that works fine.  Is there something wrong
 with the way the first two are?  Thanks.

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3

 # This is a Manually built kernel with default settings.  kernel panic
 title Gentoo Linux x86 2.6.34-r12
 root (hd0,0)
 kernel /boot/kernel-2.6.34-gentoo-r12 root=/dev/hda3 vga=791
 splash=verbose video=vesafb:mtrr,ywrap udev
 # From Documentation: video=uvesafb:mtrr:3,ywrap,1024x768...@85

 # This a genkernel and works
 title Gentoo Linux x86 2.6.34-r6
 root (hd0,0)
 kernel /boot/kernel-genkernel-x86_64-2.6.34-gentoo-r6 init=/linuxrc
 ramdisk=8192 real_root=/dev/hda3 vga=791 splash=verbose
 video=vesafb:mtrr,ywrap udev
 initrd /boot/initramfs-genkernel-x86_64-2.6.34-gentoo-r6

 --dhk




 When I get a kernel panic, it's usually because I'm pointing to the
 wrong partition or I forgot to include the file system that the root
 partition uses.  Since the one you made and the genkernel match up, I
 would check to make sure you included the correct file system and it
 is BUILT IN not a module.

 Hope that helps or someone else comes up with another idea.
 He does not have the ramdisk or initrd in his manual ones.  That would
 do it right there.  Be sure to generate the ramdisk as well.
 

The documentation doesn't say to use ramdisk or initrd for a manual
kernel, only the genkernel.




Re: [gentoo-user] Uploading Files to Windows CE

2010-10-08 Thread dhk
On 10/08/2010 05:17 AM, Sebastian Beßler wrote:
 Am 07.10.2010 23:45, schrieb dhk:
 Does anyone know how to upload files from a Gentoo box to Windows CE?
 The CE device has a cradle with a usb connection which appears as
 character device in /dev/ttyUSB0 .  The Windows cetools / cecopy does it
 if you want to use Windows.  However, I would like to do it from Gentoo
 if possible.  Any ideas?
 
 metat...@shao ~ $ eix -S windows ce
 * app-pda/synce
  Available versions:  (~)0.13 (~)0.14 {gnome hal kde serial}
  Homepage:http://sourceforge.net/projects/synce/
  Description: Synchronize Windows CE devices with Linux.
 
 From the Homepage of synce at http://www.synce.org/moin/
 The purpose of the SynCE project is to provide a means of communication
 with a Windows Mobile device from a computer running Linux, *BSD or
 other unixes using USB or Bluetooth. One can then use one's computer to
 browse files, install applications and synchronize contacts, calendar
 and tasks with their PIM application of choice.
 
 I don't have tried it because I don't own a WinCE device but it sounds
 like the right thing to me.
 
 Hth
 Sebastian Beßler
 
 

You know I have that installed.  It looks like I tried it once, but
didn't get far with it and then started exploring other options.  Since
I haven't found other options so I think I need to revisit this.

Thanks,

dhk



Re: [gentoo-user] dev-util/autotoolset

2010-10-07 Thread dhk
On 10/05/2010 10:01 AM, BRM wrote:
 - Original Message 
 
 From: Alan McKinnon alan.mckin...@gmail.com
 To: gentoo-user@lists.gentoo.org
 Cc: dhk dhk...@optonline.net
 Sent: Tue, October 5, 2010 7:34:02 AM
 Subject: Re: [gentoo-user] dev-util/autotoolset

 Apparently, though unproven, at 12:33 on Tuesday 05 October 2010, dhk did 
 opine thusly:

 On 10/05/2010 05:28 AM, Alan McKinnon  wrote:
 Apparently, though unproven, at 10:25 on Tuesday 05 October  2010, dhk did

 opine thusly:
 What  should I do about dev-util/autotoolset?  I use it every day for a
   project, but today it looks like I'm being told to remove it.   What is
 the alternative?

 In  my package.keywords file I have dev-util/autotoolset ~amd64
  unmasked since I use autotools for a project.

  After the output of emerge -uDNp world this morning the following
   message is displayed.

 !!! The  following installed packages are masked:
 -  dev-util/autotoolset-0.11.4-r1 (masked by: package.mask)
  /usr/portage/profiles/package.mask:
 # Diego E. Pettenò flamee...@gentoo.org (04 Oct  2010)
 #  on behalf of QA team
 #
   # Ironically, it is misusing autotools (bug #255831). It was
   # added in 2004 and never version bumped since; autotools
   # have since evolved a fair amount, while this is based
   # still on automake 1.6. Avoid keeping it around.
  #
 # Removal on 2010-12-03

  For more information, see the MASKED PACKAGES section in the emerge
   man page or refer to the Gentoo Handbook.

   As stated above, what should I Avoid keeping it around?  Is  it
 autotoolset, automake 1.6, ...?  Also, what's getting  removed on
 2010-12-03?  If autotoolset is removed, what  should be used to build
 projects?

  The text applies to autotoolset and the reason it is being removed. It  
 is
 autotoolset that is not being kept around anymore.

 It's actually quite obvious once you calm down, get over your  fright, and
 read the message.

 You do not  need autotoolset to build projects. You need autotools which
 is not  the same thing.

 Even though I have autotoolset  installed, search shows it as being
 masked.

 # emerge --search autotoolset
  Searching...
 [ Results for search key : autotoolset ]
   [ Applications found : 1 ]

 *   dev-util/autotoolset [ Masked ]

Latest version available: 0.11.4-r1
Latest version installed: 0.11.4-r1
   Size  of files: 1,133 kB
   Homepage:   http://autotoolset.sourceforge.net/
Description:   colection of small tools to simplify project
   
 development with autotools

 License:   GPL-2
   
 What to do now?

 Why are  you worried? You use autotools not autotoolset. Let the thing be
  removed, After 6 years of no updates you shouldn't be using it anyway.

 So are you saying if I remove autotoolset that I'll still have  autoconf,
 automake, and the rest; and everything will work the  same?  I thought
 all the autotools were in autotoolset.  I  guess I don't know the
 difference between autotools and autotoolset and  what they are made up of.


 autotools != autotoolset

 The  description from eix that you yourself posted tells you as much.

 Run  equery files autotoolset and see what is in the package. Decide for 
 yourself if you want to keep it and if so move the ebuild to your local 
 overlay where you can maintain it for yourself.
 
 Reading over the website it seems almost as if it is a fork of GNU autotools.
 
 http://autotoolset.sourceforge.net/
 
 But to the original question - if they do not remain installed then you can 
 always install them individually as well.
 
 Ben
 
 
 

I thought all the auto tools were in the autotoolset, that's not the
case.  It looks like the only tool I use in autotoolset is acmkdir.  If
I remove autotoolset, how can I get acmkdir back?  Even though it's not
necessary, it's a nice tool for starting a project.

Thanks,

dhk




Re: [gentoo-user] dev-util/autotoolset

2010-10-07 Thread dhk
On 10/07/2010 05:41 AM, Willie Wong wrote:
 On Thu, Oct 07, 2010 at 04:01:14AM -0400, dhk wrote:

 I thought all the auto tools were in the autotoolset, that's not the
 case.  It looks like the only tool I use in autotoolset is acmkdir.  If
 I remove autotoolset, how can I get acmkdir back?  Even though it's not
 necessary, it's a nice tool for starting a project.
 
 I have somewhat of a suspicious that `acmkdir' may be just a shell
 script? (Never used it, so I don't know.) If so then you can just find
 it on your system and copy it to /usr/local/bin or something like that
 (it possibly copies the templates from somewhere else, so you will
 need to find those also). 
 
 Note that it may make use of deprecated autotool commands, and if not
 updated, may break in the future. 
 
 HTH, 
 
 W
 

Yes, it is a shell script.  It makes the necessary files and directories
to get start a project.  After running it with a name for your project
directory you get something like the following in that directory.

AUTHORS configCOPYING  m4   README src
autom4te.cache  configure doc  Makefile.am  README.in  THANKS
ChangeLog   configure.ac  INSTALL  NEWS reconf



[gentoo-user] Uploading Files to Windows CE

2010-10-07 Thread dhk
Does anyone know how to upload files from a Gentoo box to Windows CE?
The CE device has a cradle with a usb connection which appears as
character device in /dev/ttyUSB0 .  The Windows cetools / cecopy does it
if you want to use Windows.  However, I would like to do it from Gentoo
if possible.  Any ideas?

Thanks,

dhk



[gentoo-user] dev-util/autotoolset

2010-10-05 Thread dhk
What should I do about dev-util/autotoolset?  I use it every day for a
project, but today it looks like I'm being told to remove it.  What is
the alternative?

In my package.keywords file I have dev-util/autotoolset ~amd64
unmasked since I use autotools for a project.

After the output of emerge -uDNp world this morning the following
message is displayed.

!!! The following installed packages are masked:
- dev-util/autotoolset-0.11.4-r1 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Diego E. Pettenò flamee...@gentoo.org (04 Oct 2010)
#  on behalf of QA team
#
# Ironically, it is misusing autotools (bug #255831). It was
# added in 2004 and never version bumped since; autotools
# have since evolved a fair amount, while this is based
# still on automake 1.6. Avoid keeping it around.
#
# Removal on 2010-12-03

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

As stated above, what should I Avoid keeping it around?  Is it
autotoolset, automake 1.6, ...?  Also, what's getting removed on
2010-12-03?  If autotoolset is removed, what should be used to build
projects?

Even though I have autotoolset installed, search shows it as being masked.

# emerge --search autotoolset
Searching...
[ Results for search key : autotoolset ]
[ Applications found : 1 ]

*  dev-util/autotoolset [ Masked ]
  Latest version available: 0.11.4-r1
  Latest version installed: 0.11.4-r1
  Size of files: 1,133 kB
  Homepage:  http://autotoolset.sourceforge.net/
  Description:   colection of small tools to simplify project
development with autotools
  License:   GPL-2


What to do now?

Thanks,

dhk




Re: [gentoo-user] dev-util/autotoolset

2010-10-05 Thread dhk
On 10/05/2010 04:44 AM, Dale wrote:
 dhk wrote:
 What should I do about dev-util/autotoolset?  I use it every day for a
 project, but today it looks like I'm being told to remove it.  What is
 the alternative?

 In my package.keywords file I have dev-util/autotoolset ~amd64
 unmasked since I use autotools for a project.

 After the output of emerge -uDNp world this morning the following
 message is displayed.

 !!! The following installed packages are masked:
 - dev-util/autotoolset-0.11.4-r1 (masked by: package.mask)
 /usr/portage/profiles/package.mask:
 # Diego E. Pettenòflamee...@gentoo.org  (04 Oct 2010)
 #  on behalf of QA team
 #
 # Ironically, it is misusing autotools (bug #255831). It was
 # added in 2004 and never version bumped since; autotools
 # have since evolved a fair amount, while this is based
 # still on automake 1.6. Avoid keeping it around.
 #
 # Removal on 2010-12-03

 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 As stated above, what should I Avoid keeping it around?  Is it
 autotoolset, automake 1.6, ...?  Also, what's getting removed on
 2010-12-03?  If autotoolset is removed, what should be used to build
 projects?

 Even though I have autotoolset installed, search shows it as being
 masked.

 # emerge --search autotoolset
 Searching...
 [ Results for search key : autotoolset ]
 [ Applications found : 1 ]

 *  dev-util/autotoolset [ Masked ]
Latest version available: 0.11.4-r1
Latest version installed: 0.11.4-r1
Size of files: 1,133 kB
Homepage:  http://autotoolset.sourceforge.net/
Description:   colection of small tools to simplify project
 development with autotools
License:   GPL-2


 What to do now?

 Thanks,

 dhk


 
 Here are a couple options.  Subscribe to -dev and see if you can take
 over maintaining the package.  Then do whatever needs to be done to get
 it updated and keep it stable.  If you can do that, they could let the
 package stay in the tree.
 
 Next option, copy the ebuild to a local overlay and maintain it there. 
 Keep in mind, doing this is about the same as above except it affects
 just you.  You do all the work locally.
 
 One other option, use different tools to do your project.  I don't know
 anything about autotoolset or what it does but there may be better tools
 to use.
 
 If you don't do one of the above, autotoolses ebuild will be removed and
 you will eventually have to do something because there will be no more
 updates.  Which appears to be the case now anyway.  No updates since 2004.
 
 There's some options.  Someone else may have a couple more.
 
 Dale
 
 :-)  :-)
 

This isn't good.  It sounds like my project is in deep trouble since the
whole build and distribution is done with the autotools.  Taking over
and maintaining the package is an option, but I think it will be gone
before I can get up to speed on it. I wonder how many developers out
there have an interest in it if it's that antiquated.  Personally I
think it's a great tool.  Anyone know what other tools are being used to
build and distribute programs with dependencies?

Thanks,

dhk



Re: [gentoo-user] dev-util/autotoolset

2010-10-05 Thread dhk
On 10/05/2010 05:28 AM, Alan McKinnon wrote:
 Apparently, though unproven, at 10:25 on Tuesday 05 October 2010, dhk did 
 opine thusly:
 
 What should I do about dev-util/autotoolset?  I use it every day for a
 project, but today it looks like I'm being told to remove it.  What is
 the alternative?

 In my package.keywords file I have dev-util/autotoolset ~amd64
 unmasked since I use autotools for a project.

 After the output of emerge -uDNp world this morning the following
 message is displayed.

 !!! The following installed packages are masked:
 - dev-util/autotoolset-0.11.4-r1 (masked by: package.mask)
 /usr/portage/profiles/package.mask:
 # Diego E. Pettenò flamee...@gentoo.org (04 Oct 2010)
 #  on behalf of QA team
 #
 # Ironically, it is misusing autotools (bug #255831). It was
 # added in 2004 and never version bumped since; autotools
 # have since evolved a fair amount, while this is based
 # still on automake 1.6. Avoid keeping it around.
 #
 # Removal on 2010-12-03

 For more information, see the MASKED PACKAGES section in the emerge
 man page or refer to the Gentoo Handbook.

 As stated above, what should I Avoid keeping it around?  Is it
 autotoolset, automake 1.6, ...?  Also, what's getting removed on
 2010-12-03?  If autotoolset is removed, what should be used to build
 projects?
 
 The text applies to autotoolset and the reason it is being removed. It is 
 autotoolset that is not being kept around anymore.
 
 It's actually quite obvious once you calm down, get over your fright, and 
 read 
 the message.
 
 You do not need autotoolset to build projects. You need autotools which is 
 not 
 the same thing.
 
 Even though I have autotoolset installed, search shows it as being masked.

 # emerge --search autotoolset
 Searching...
 [ Results for search key : autotoolset ]
 [ Applications found : 1 ]

 *  dev-util/autotoolset [ Masked ]
   Latest version available: 0.11.4-r1
   Latest version installed: 0.11.4-r1
   Size of files: 1,133 kB
   Homepage:  http://autotoolset.sourceforge.net/
   Description:   colection of small tools to simplify project
 development with autotools
   License:   GPL-2


 What to do now?
 
 Why are you worried? You use autotools not autotoolset. Let the thing be 
 removed, After 6 years of no updates you shouldn't be using it anyway.
 
 
 

So are you saying if I remove autotoolset that I'll still have autoconf,
automake, and the rest; and everything will work the same?  I thought
all the autotools were in autotoolset.  I guess I don't know the
difference between autotools and autotoolset and what they are made up of.



[gentoo-user] Monitor Resolution

2010-09-24 Thread dhk
After a recent xorg upgrade my display hasn't been quite right.  It's
all usable, but it looks like the resolution is wrong.  The resolution
is now set at the highest 1024x768 where it use to be 1280x1024.

Gnome-System-Preference-Monitors
Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
doesn't seem to do anything.  The only other option under Resolution is
800x600.

I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
graphics card.

Any ideas on how to get my display back?

Thanks,

dhk



Re: [gentoo-user] Monitor Resolution

2010-09-24 Thread dhk
On 09/24/2010 07:06 AM, Albert Hopkins wrote:
 On Fri, 2010-09-24 at 06:47 -0400, dhk wrote:
 After a recent xorg upgrade my display hasn't been quite right.  It's
 all usable, but it looks like the resolution is wrong.  The resolution
 is now set at the highest 1024x768 where it use to be 1280x1024.

 Gnome-System-Preference-Monitors
 Under Monitor Preferences the monitor is Unknown, Resolution 1024x768,
 Refresh Rate 0 Hz, and Rotation Normal.  The Detect monitors button
 doesn't seem to do anything.  The only other option under Resolution is
 800x600.

 I have a fairly new Samsung 932BW LCD Monitor and using an Nvidia
 graphics card.

 Any ideas on how to get my display back?

 Thanks,
 
 First, the obligatory have you looked at the logs?
 
 Not a lot of information was given (upgraded to what version? what
 drivers?, etc). but here is a guess.
 
 Since you are using an nvidia card, I'm guessing you are using the
 proprietary nvidia drivers.  The gnome preference thingie uses xrandr
 which, as far as I know, the proprietery nvidia drivers do not support.
 I don't use nvidia cards anymore, but from my memory the GNOME monitor
 app has never worked with Nvidia.
 
 I'm also guessing that you upgraded to xorg-server 1.9.  Based on that,
 and the fact that Nvidia drivers are usually behind Xorg updates, I'm
 going to guess that the proprietary drivers are not working correctly,
 either because Nvidia has to push out an update that supports 1.9 or you
 have not re-compiled your drivers after upgrading the server.
 
 So I would say first to try recompiling the Nvidia driver (if you
 haven't already done so) and if that doesn't fix the problem you'll
 might have to wait until Nvidia updates their proprietary drivers.
 
 Anyway that's just a guess, since I no longer use Nvidia and based on
 the limited information received.  You will likely find more information
 (that you can post) by looking at the X server's log file.
 
 -a
 
 
 

After doing the following I didn't notice any difference and the nvidia
driver wasn't installed in the first place.

First)
# emerge x11-drivers/nvidia-drivers
Calculating dependencies... done!
 Verifying ebuild manifests
 Starting parallel fetch
 Emerging (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (2 of 4) x11-libs/libvdpau-0.4
 Installing (2 of 4) x11-libs/libvdpau-0.4
 Installing (1 of 4) app-emulation/emul-linux-x86-opengl-20100611
 Emerging (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Installing (3 of 4) x11-drivers/nvidia-drivers-195.36.31
 Recording x11-drivers/nvidia-drivers in world favorites file...
 Emerging (4 of 4) media-video/nvidia-settings-195.36.24
 Installing (4 of 4) media-video/nvidia-settings-195.36.24
 Jobs: 4 of 4 complete   Load avg: 3.49,
2.20, 1.21

* Messages for package x11-drivers/nvidia-drivers-195.36.31:

* * WARNING *
*
* You are currently installing a version of nvidia-drivers that is
* known not to work with a video card you have installed on your
* system. If this is intentional, please ignore this. If it is not
* please perform the following steps:
*
* Add the following mask entry to /etc/portage/package.mask by
* echo =x11-drivers/nvidia-drivers-177.0.0 
* /etc/portage/package.mask
*
* Failure to perform the steps above could result in a non-working
* X setup.
*
* For more information please read:
* http://www.nvidia.com/object/IO_32667.html
* You must be in the video group to use the NVIDIA device
* For more info, read the docs at
* http://www.gentoo.org/doc/en/nvidia-guide.xml#doc_chap3_sect6
*
* This ebuild installs a kernel module and X driver. Both must
* match explicitly in their version. This means, if you restart
* X, you must modprobe -r nvidia before starting it back up
*
* To use the NVIDIA GLX, run eselect opengl set nvidia
*
* NVIDIA has requested that any bug reports submitted have the
* output of /usr/bin/nvidia-bug-report.sh included.
*
* To work with compiz, you must enable the
* AddARGBGLXVisuals option.
*
* If you are having resolution problems, try
* disabling DynamicTwinView.
 Auto-cleaning packages...
 No outdated packages were found on your
 system.
* GNU info directory index is up-to-date.

Second)
echo =x11-drivers/nvidia-drivers-177.0.0  /etc/portage/package.mask

Third)
modprobe has nothing to do.
# modprobe -rn nvidia

Original opengl setting
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia
  [2]   xorg-x11 *

Restarted and nothing changed.

fourth)
# eselect opengl set nvidia
# eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11

Restarted and nothing changed.

Do I need to set the resolution somewhere?  I haven't used an xorg.conf
file in sometime.

Thanks,

dhk



Re: [gentoo-user] broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2

2010-09-09 Thread dhk
On 09/09/2010 04:59 AM, Alan McKinnon wrote:
 Apparently, though unproven, at 01:18 on Thursday 09 September 2010, dhk did 
 opine thusly:
 
 Well I deleted /usr/lib32/qt4/libQtOpenGL.so.4.6.2 and ran
 revdep-rebuild and got the following
 . . .
 * Checking dynamic linking consistency
 [ 39% ]  *   broken
 /usr/lib32/qt4/plugins/graphicssystems/libqglgraphicssystem.so (requires
 libQtOpenGL.so.4)
 [ 100% ]
 * Generated new 3_broken.rr
 . . .
 * All prepared. Starting rebuild
 emerge --oneshot  --jobs=2 --with-bdeps y
 app-emulation/emul-linux-x86-qtlibs:0
 ..
 Calculating dependencies... done!

 After revdep-rebuild finished the library was back.
 
 
 So it's back to being broken?
 
 Maybe you should just mask that emul stuff out in revdep-rebuild and be done 
 with it.
 
 revdep-rebuild is supposed to tell you about breakage you can fix. You can't 
 fix the linking on prebuilt binaries so just omit it from your checks. Or, 
 you 
 could give the package what it wants and gratuitously emerge nvidia-drivers 
 :-)
 
 

How do I use SEARCH_DIRS_MASK, is there a doc?  I didn't see anything
under man make.conf.  I don't think I want to exclude the whole
directory, just the library:  right?

Thanks,

dhk



[gentoo-user] broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2

2010-09-08 Thread dhk
Below is the output when I run revdep-rebuild --ignore.  This started
in the spring and never cleared up.  Everything on my amd64 box runs
fine and nothing complains about the missing library.  I regularly do
updates and everytime I run revdep-rebuild --ignore I get the same
results.  How can I fix or get rid of this problem?

# revdep-rebuild --ignore
 * 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
[ 39% ]  *   broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2 (requires
libGL.so.1)
[ 100% ]
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib32/qt4/libQtOpenGL.so.4.6.2 -
app-emulation/emul-linux-x86-qtlibs
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot  --jobs=2 --with-bdeps y
app-emulation/emul-linux-x86-qtlibs:0
..
Calculating dependencies... done!
 Verifying ebuild manifests
 Emerging (1 of 1) app-emulation/emul-linux-x86-qtlibs-20100611
 Installing (1 of 1) app-emulation/emul-linux-x86-qtlibs-20100611
 Jobs: 1 of 1 complete   Load avg: 2.16,
1.59, 1.75
 Auto-cleaning packages...

 No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
 * Build finished correctly. Removing temporary files...
 *
 * You can re-run revdep-rebuild to verify that all libraries and binaries
 * are fixed. Possible reasons for remaining inconsistencies include:
 *   orphaned files
 *   deep dependencies
 *   packages installed outside of portage's control
 *   specially-evaluated libraries
#

Thanks,

dhk



Re: [gentoo-user] broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2

2010-09-08 Thread dhk
On 09/08/2010 09:36 AM, Alan McKinnon wrote:
 Apparently, though unproven, at 15:11 on Wednesday 08 September 2010, dhk did 
 opine thusly:
 
 Below is the output when I run revdep-rebuild --ignore.  This started
 in the spring and never cleared up.  Everything on my amd64 box runs
 fine and nothing complains about the missing library.  I regularly do
 updates and everytime I run revdep-rebuild --ignore I get the same
 results.  How can I fix or get rid of this problem?

 # revdep-rebuild --ignore
  * 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
 [ 39% ]  *   broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2 (requires
 libGL.so.1)
 
 
 LibGL is normally provided by xorg (or by emul-linux-x86-opengl) for the 32 
 bit lib on a 64 bits system.
 
 In my case, I have this:
 
 a...@nazgul ~ $ ls -al /usr/lib32/libGL.so
 lrwxrwxrwx 1 root root 33 2010-09-01 11:29 /usr/lib32/libGL.so - 
 opengl/nvidia/lib/libGL.so.256.53
 a...@nazgul ~ $ ls -al /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
 -rwxr-xr-x 1 root root 473556 2010-06-11 11:29 /usr/lib32/opengl/xorg-
 x11/lib/libGL.so.1.2
 a...@nazgul ~ $ ls -al /usr/lib32/opengl/nvidia/lib/libGL.so*
 lrwxrwxrwx 1 root root 15 2010-09-01 11:29 
 /usr/lib32/opengl/nvidia/lib/libGL.so - libGL.so.256.53
 lrwxrwxrwx 1 root root 15 2010-09-01 11:29 
 /usr/lib32/opengl/nvidia/lib/libGL.so.1 - libGL.so.256.53
 -rwxr-xr-x 1 root root 765460 2010-09-01 11:29 
 /usr/lib32/opengl/nvidia/lib/libGL.so.256.53
 
 
 I think you need to run eselect opengl to fix all your symlinks
 
 
 

I ran the following, but the revdep-rebuild --ignore results are the same.
# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *
# eselect opengl set 1
Switching to xorg-x11 OpenGL interface... done
# eselect opengl list
Available OpenGL implementations:
  [1]   xorg-x11 *

I also don't have the following.
# ls -l /usr/lib32/opengl*
ls: cannot access /usr/lib32/opengl*: No such file or directory
# ls -al /usr/lib32/libGL.so
ls: cannot access /usr/lib32/libGL.so: No such file or directory

Thanks,

dhk




Re: [gentoo-user] broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2

2010-09-08 Thread dhk
On 09/08/2010 05:47 PM, Alan McKinnon wrote:
 Apparently, though unproven, at 23:19 on Wednesday 08 September 2010, dhk did 
 opine thusly:
 
 On 09/08/2010 09:36 AM, Alan McKinnon wrote:
 Apparently, though unproven, at 15:11 on Wednesday 08 September 2010, dhk
 did

 opine thusly:
 Below is the output when I run revdep-rebuild --ignore.  This started
 in the spring and never cleared up.  Everything on my amd64 box runs
 fine and nothing complains about the missing library.  I regularly do
 updates and everytime I run revdep-rebuild --ignore I get the same
 results.  How can I fix or get rid of this problem?

 # revdep-rebuild --ignore

  * 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

 [ 39% ]  *   broken /usr/lib32/qt4/libQtOpenGL.so.4.6.2 (requires
 libGL.so.1)

 LibGL is normally provided by xorg (or by emul-linux-x86-opengl) for the
 32 bit lib on a 64 bits system.

 In my case, I have this:

 a...@nazgul ~ $ ls -al /usr/lib32/libGL.so
 lrwxrwxrwx 1 root root 33 2010-09-01 11:29 /usr/lib32/libGL.so -
 opengl/nvidia/lib/libGL.so.256.53
 a...@nazgul ~ $ ls -al /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2
 -rwxr-xr-x 1 root root 473556 2010-06-11 11:29 /usr/lib32/opengl/xorg-
 x11/lib/libGL.so.1.2
 a...@nazgul ~ $ ls -al /usr/lib32/opengl/nvidia/lib/libGL.so*
 lrwxrwxrwx 1 root root 15 2010-09-01 11:29
 /usr/lib32/opengl/nvidia/lib/libGL.so - libGL.so.256.53
 lrwxrwxrwx 1 root root 15 2010-09-01 11:29
 /usr/lib32/opengl/nvidia/lib/libGL.so.1 - libGL.so.256.53
 -rwxr-xr-x 1 root root 765460 2010-09-01 11:29
 /usr/lib32/opengl/nvidia/lib/libGL.so.256.53


 I think you need to run eselect opengl to fix all your symlinks

 I ran the following, but the revdep-rebuild --ignore results are the
 same. # eselect opengl list
 Available OpenGL implementations:
   [1]   xorg-x11 *
 # eselect opengl set 1
 Switching to xorg-x11 OpenGL interface... done
 # eselect opengl list
 Available OpenGL implementations:
   [1]   xorg-x11 *

 I also don't have the following.
 # ls -l /usr/lib32/opengl*
 ls: cannot access /usr/lib32/opengl*: No such file or directory
 # ls -al /usr/lib32/libGL.so
 ls: cannot access /usr/lib32/libGL.so: No such file or directory
 
 
 In that case, I think you need to conclude that  emul-linux-x86-qtlibs is 
 built to link to libGL which you don't have and which you can't fix (it's a 
 binary package). So you could 
 
 - delete /usr/lib32/qt4/libQtOpenGL.so.4.6.2 as I doubt you are running 32 
 bit 
 Qt apps, or 
 - use SEARCH_DIRS_MASK to tell revdep-rebuild to just ignore that file
 
 
 
 

Well I deleted /usr/lib32/qt4/libQtOpenGL.so.4.6.2 and ran
revdep-rebuild and got the following
. . .
* Checking dynamic linking consistency
[ 39% ]  *   broken
/usr/lib32/qt4/plugins/graphicssystems/libqglgraphicssystem.so (requires
libQtOpenGL.so.4)
[ 100% ]
* Generated new 3_broken.rr
. . .
* All prepared. Starting rebuild
emerge --oneshot  --jobs=2 --with-bdeps y
app-emulation/emul-linux-x86-qtlibs:0
..
Calculating dependencies... done!

After revdep-rebuild finished the library was back.

dhk



Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?

2010-08-25 Thread dhk
On 08/24/2010 08:07 PM, Dale wrote:
 dhk wrote:
 On 08/24/2010 06:59 PM, Paul Hartman wrote:
   
 On Tue, Aug 24, 2010 at 5:37 PM, Dalerdalek1...@gmail.com  wrote:
 
 Paul Hartman wrote:
   
 On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gormankogor...@gmail.com
   wrote:

 
 Yah, I might have some luck with that.  Since I'm years out of
 practice
 fooling with this stuff (last seen in 2002) can someone point me
 at the
 tools for
 1) Computing a modeline (I understand the quality varies a lot)
 2) Configuring an xorg.conf


 Check out x11-apps/amlc -- it has an interactive modeline generator
 where you tell it the aspect ratio   size of your screen and it spits
 out modelines for you.  You'll still need to fill in the
 HSync/VSync/Clock speed stuff.



  
 Does this help any?

 Section Screen
 Identifier Screen0
 Device Card0
 MonitorMonitor0
 Option DPMS TRUE
 SubSection Display
 Viewport0 0
 Depth   24
 Modes  1280x1024 1024x768 800x600
 EndSubSection
 SubSection Display
 Viewport0 0
 Modes  1280x1024 1024x768 800x600
 EndSubSection
 SubSection Display
 Viewport0 0
 Depth   4
 Modes  1280x1024 1024x768 800x600
 EndSubSection
 SubSection Display
 Viewport0 0
 Depth   8
 Modes  1280x1024 1024x768 800x600
 EndSubSection

 That's just a part of my xorg.conf.  I don't use hal and don't like
 udev
 doing mine so I still got my full xorg.conf file.  If you need more,
 just
 let me know.  Heck, I'll post the whole thing if it will help you any.

 Also, have you tried running X -configure yet?  I used it on another
 machine and it worked pretty well.

 Dale

 After creating a basic xorg.conf the modeline should go in the
 Monitor section. I don't use a modeline now but the only example I
 have from my xorg.conf archives are these:

 Section Monitor
# 2048x1152 @ 50.00 Hz (GTF) hsync: 59.30 kHz; pclk: 162.24 MHz
Modeline 2048x1152_50.00  162.24  2048 2176 2392 2736  1152 1153
 1156 1186  -HSync +Vsync
# 2048x1152 @ 60.00 Hz (GTF) hsync: 71.52 kHz; pclk: 197.97 MHz
Modeline 2048x1152_60.00  197.97  2048 2184 2408 2768  1152 1153
 1156 1192  -HSync +Vsync
 EndSection

 And then in the Screen section like Dale posted you'd use for example
 2048x1152_60.00 as your modeline (or whatever you decided to entitle
 your modes).

 At least that's how it used to work. With modern video cards  modern
 Xorg/Gnome/KDE it does a pretty good job of autodetecting that kind of
 thing so I haven't had to worry about it in a long time. :)


  
 My monitor resolution is a little off after the last Xorg upgrade today.
   Everything looks larger than usual.  As far as this email thread goes,
 I thought xorg.conf was obsolete.


 
 It is if you can use udev and hal to sort out things.  Only thing is, if
 hal or udev doesn't work, you are stuck with using xorg.conf.  As some
 may know here, hal didn't work for me.  It was good at locking up my
 keyboard and mouse tho.  At one point, even the SysRq key wouldn't work.
 
 I don't know where but I also read where someone had trouble with a LCD
 screen one time.  It would work on a console but no GUI.  They had to
 use a xorg.conf file to set the display up properly so that it would
 work.  Hal works for most people  but doesn't for others.  Then some
 others can do some minor tweaking and get it to work.
 
 I wouldn't even think of trying to tell someone how to tweak hal's
 config file.  It's in xml and I can't read that.
 
 I did find this link which may help.  The part at the bottom is what I
 think you need.
 
 http://howto-pages.org/ModeLines/
 
 Hope that helps.
 
 Dale
 
 :-)  :-)
 
 

We'll I have an LCD screen that stopped displaying correctly yesterday
after the Xorg update.  It's not terrible, but not like it was.  I may
have to use xorg.conf now.



Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?

2010-08-24 Thread dhk
On 08/24/2010 06:59 PM, Paul Hartman wrote:
 On Tue, Aug 24, 2010 at 5:37 PM, Dale rdalek1...@gmail.com wrote:
 Paul Hartman wrote:

 On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gormankogor...@gmail.com
  wrote:


 Yah, I might have some luck with that.  Since I'm years out of practice
 fooling with this stuff (last seen in 2002) can someone point me at the
 tools for
 1) Computing a modeline (I understand the quality varies a lot)
 2) Configuring an xorg.conf


 Check out x11-apps/amlc -- it has an interactive modeline generator
 where you tell it the aspect ratio  size of your screen and it spits
 out modelines for you.  You'll still need to fill in the
 HSync/VSync/Clock speed stuff.




 Does this help any?

 Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
Option DPMS TRUE
SubSection Display
Viewport0 0
Depth   24
Modes  1280x1024 1024x768 800x600
EndSubSection
SubSection Display
Viewport0 0
Modes  1280x1024 1024x768 800x600
EndSubSection
SubSection Display
Viewport0 0
Depth   4
Modes  1280x1024 1024x768 800x600
EndSubSection
SubSection Display
Viewport0 0
Depth   8
Modes  1280x1024 1024x768 800x600
EndSubSection

 That's just a part of my xorg.conf.  I don't use hal and don't like udev
 doing mine so I still got my full xorg.conf file.  If you need more, just
 let me know.  Heck, I'll post the whole thing if it will help you any.

 Also, have you tried running X -configure yet?  I used it on another
 machine and it worked pretty well.

 Dale
 
 After creating a basic xorg.conf the modeline should go in the
 Monitor section. I don't use a modeline now but the only example I
 have from my xorg.conf archives are these:
 
 Section Monitor
   # 2048x1152 @ 50.00 Hz (GTF) hsync: 59.30 kHz; pclk: 162.24 MHz
   Modeline 2048x1152_50.00  162.24  2048 2176 2392 2736  1152 1153
 1156 1186  -HSync +Vsync
   # 2048x1152 @ 60.00 Hz (GTF) hsync: 71.52 kHz; pclk: 197.97 MHz
   Modeline 2048x1152_60.00  197.97  2048 2184 2408 2768  1152 1153
 1156 1192  -HSync +Vsync
 EndSection
 
 And then in the Screen section like Dale posted you'd use for example
 2048x1152_60.00 as your modeline (or whatever you decided to entitle
 your modes).
 
 At least that's how it used to work. With modern video cards  modern
 Xorg/Gnome/KDE it does a pretty good job of autodetecting that kind of
 thing so I haven't had to worry about it in a long time. :)
 
 

My monitor resolution is a little off after the last Xorg upgrade today.
 Everything looks larger than usual.  As far as this email thread goes,
I thought xorg.conf was obsolete.




Re: [gentoo-user] /var/log/messages is huge

2010-08-17 Thread dhk
On 08/17/2010 02:45 AM, Florian CROUZAT wrote:
 
 On 17 août 2010, at 02:58, Adam Carter wrote:
 
 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
 Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
 Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
 xfer 13 bytes
 Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
 Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
 Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
 Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
 0x5c33 R 0 Stat 0x0
 Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
 Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.

 What's going on here?  Why all these usb-storage messages?
 
 You've probably turned on CONFIG_USB_STORAGE_DEBUG when you configured the 
 kernel
 
 Yeah and not only it makes your logs huge, but it also slows down your box 
 using your CPU to flood while doing USB transfer.
 On my old box, with CONFIG_USB_STORAGE_DEBUG set, syslog-ng eats 25% of my 
 CPU when doing ntfs3g.
 Totally something you want to turn off, unless you have serious issues with 
 USB.
 
 
 Florian
 / For security reasons, all text in this mail 
   is double-rot13 encrypted. /
 

Yes, I have it turned on in the kernel.
# grep CONFIG_USB_STORAGE_DEBUG
/etc/kernels/kernel-config-x86_64-2.6.32-gentoo-r7
CONFIG_USB_STORAGE_DEBUG=y

I don't understand why it just started to be a problem.  I've had this
kernel for almost four months.  Shouldn't the log's be rotated and purged?

I've been using the default kernel config from the install.  I'll make a
new kernel with it turned off.

Thanks,

dhk



Re: [gentoo-user] /var/log/messages is huge

2010-08-17 Thread dhk
On 08/17/2010 07:17 AM, Alex Schuster wrote:
 dhk writes:
 
 I don't understand why it just started to be a problem.  I've had this
 kernel for almost four months.  Shouldn't the log's be rotated and
 purged?
 
 Depends on your system logger. Metalog does this automatically, but for 
 others you probably have to install logrotate.
 
   Wonko
 
 
 
Right, I need logrotate.  I though it was installed.  Must have been on
the old system.

Thanks,

dhk



[gentoo-user] /var/log/messages is huge

2010-08-16 Thread dhk
Last week I got a message the my /var partition was almost full.  Since
it was 10G and I am using lvm2 I added 5G more to it.  This evening I
got the same message, now I had to investigate.  When I did I found that
/var/log/messages is huge.

# ls -lh /var/log/messages
-rw--- 1 root root 12G Aug 16 20:15 /var/log/messages

It seem to be constantly written to and growing.

# ls -l /var/log/messages
-rw--- 1 root root 11986603021 Aug 16 20:20 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986687279 Aug 16 20:20 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986759997 Aug 16 20:21 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986783403 Aug 16 20:21 /var/log/messages
# ls -l /var/log/messages
-rw--- 1 root root 11986830215 Aug 16 20:21 /var/log/messages

When I tail it I get the following.
# tail /var/log/messages
Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
Aug 16 20:22:59 host kernel: usb-storage: Bulk command transfer result=0
Aug 16 20:22:59 host kernel: usb-storage: Attempting to get CSW...
Aug 16 20:22:59 host kernel: usb-storage: usb_stor_bulk_transfer_buf:
xfer 13 bytes
Aug 16 20:22:59 host kernel: usb-storage: Status code 0; transferred 13/13
Aug 16 20:22:59 host kernel: usb-storage: -- transfer complete
Aug 16 20:22:59 host kernel: usb-storage: Bulk status result = 0
Aug 16 20:22:59 host kernel: usb-storage: Bulk Status S 0x53425355 T
0x5c33 R 0 Stat 0x0
Aug 16 20:22:59 host kernel: usb-storage: scsi cmd done, result=0x0
Aug 16 20:22:59 host kernel: usb-storage: *** thread sleeping.

What's going on here?  Why all these usb-storage messages?

I don't know exactly when this started, but I'm guessing it has to do
with a recent upgrade.

I also thought there's suppose to be some sort of log rotation going on
to prevent this.

Any ideas?

Right now I'm going to cat /dev/null  /var/log/messages so I can boot
up in the morning.

Now my /var dropped to 16%.

Thanks,

dhk






Re: [gentoo-user] boot log

2010-08-05 Thread dhk
On 08/05/2010 03:54 AM, Neil Bothwick wrote:
 On Thu, 05 Aug 2010 08:19:29 +0800, Bill Kenworthy wrote:
 
 Is there a way to log the boot messages - dmesg after booting up doesnt
 show module load failures and they scroll off the screen and I can find
 what they are.
 
 Set rc_logger=YES in /etc/rc.conf to have the boot sequence logged
 to /var/log/rc.log. This is for BL2, BL1 has a similar setting.
 
 It gives this output here
 
 rc boot logging started at Tue Aug  3 17:39:35 2010
 
  * Setting system clock using the hardware clock [UTC] ...
  [ ok ]
  * Loading module fuse ...
  [ ok ]
  * Loading module rfcomm ...
  [ ok ]
  * Loading module kvm-intel ...
  [ ok ]
  * Autoloaded 3 module(s)
 ...
 
 You can also increase the size of the dmesg ring buffer, which was
 discussed on this list last month.
 
 

After booting try Shift-PageUp.  Hopefully your not booting to run level
5, if you are you need to get to the alternate terminal with all the
messages on it.  Try Shift-PageUp before and after logging in.  The
buffer isn't that big and I'd like to know how it can be increased so I
can go back to earlier messages, but I haven't found that out yet.

The Shift-PageUp may get you back far enough to see the message that
scrolled by.



[gentoo-user] Sync'ing with Windows CE

2010-07-23 Thread dhk
I'm on an ~amd64 platform and I have a Windows CE device connected
through a serial port that I need to upload to and download from.

What kind of programs are available for sync'ing with a Windows CE
device?  Which ones work the best?  How can I connect and browse the
device through a terminal on my Gentoo box?

I see in the app-pda (emerge --search @app-pda) there are quite a few
options, but they're all masked.

Thanks in advance.

--dhk



[gentoo-user] Java EE 6

2010-07-01 Thread dhk
I would like to install Java EE 6, but not sure of the package name.  A
while back J2EE was rename to JEE and now the latest version is Java EE
6.  The portage tree doesn't have anything when a search is done on JEE
or java ee, but a search on J2EE results in the following.

 # emerge --search j2ee
Searching...
[ Results for search key : j2ee ]
[ Applications found : 2 ]

*  dev-java/sun-j2ee [ Masked ]
  Latest version available: 1.3.1-r4
  Latest version installed: [ Not Installed ]
  Size of files: 14,515 kB
  Homepage:  http://java.sun.com/j2ee/sdk_1.3/
  Description:   Sun's Java 2 Enterprise Edition Development Kit
  License:   sun-bcla-j2ee

How do I find Java EE 6?

Thanks,

--dhk



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

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

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

The following is what's installed.

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

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

Thanks,

--dhk



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

2010-06-27 Thread dhk
On 06/27/2010 12:03 PM, Mick wrote:
 On Sunday 27 June 2010 16:00:04 Etaoin Shrdlu wrote:
 On Sunday 27 June 2010, dhk wrote:
 Adobe Flash use to work on my amd64 box, but after the last upgrade it
 stopped working.  When I visit sites that use it I'm told that Adobe
 Flash is not installed or to download the plugin.

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

 The following is what's installed.

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

 *  www-plugins/adobe-flash

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

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

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

 Furthermore, there are stability problems when running 10.1 in a
 64-bit browser with nspluginwrapper.  The current recommended
 configuration is to use a 32-bit browser such as
 www-client/firefox-bin:
   http://bugs.gentoo.org/324365
 
 Or just reinstall nsplugginwrapper and restart your FF.  That's what I did 
 (search this list for thread titled: www-plugins/adobe-flash-10.1.53.64 won't 
 play in FF  Konqueror).
 
 HTH.

That worked.

Thanks,

--dhk



Re: [gentoo-user] Re: Trying to shutdown/reboot computer from gnome

2010-06-23 Thread dhk
On 04/23/2010 06:13 AM, Damian wrote:
 Damian damian.o...@gmail.com writes:
 
 Currently I cannot turn off the computer, nor reboot using gnome 2.28.2.
 Googling around it seems that it is a polkit related problem. I've tried
 to do what is mentioned here:
 
 http://www.linuxquestions.org/questions/linux-mint-84/authentication-to-restart-and-turn-off-789357/

 But polkit-auth --show-obtainable shows nothing.

 I'm running gnome via startx, and the .xinitrc file looks like this:
 export XDG_MENU_PREFIX=gnome-
 exec ck-launch-session gnome-session

 Could anybody manage to get this working?
 Ok, the problem seemed to be gone after the addition of the gnome, polkit,
 policykit, and consolekit use flags. I don't know which flag got it
 working.
 
 
 

I have the same problem.  The shutdown option disappeared as an option
from the menu about the same time as this email and a gnome release.  It
just took a few months to get around to it.  I have gnome built with
policykit (see below), but still no shutdown option.  I have to log in
as root to shutdown properly.

# emerge -pv gnome

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

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gnome-2.28.2  USE=cdr cups policykit
-accessibility -dvdr -ldap -mono 0 kB

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

Also why doesn't alacarte have shutdown and some other stuff for adding
and removing in the main menu?

Shutting down from the gnome desktop would make things easier.  How can
I get that option back?

Thanks,

--dhk





[gentoo-user] gSoap

2010-06-19 Thread dhk
I recently installed gSoap and have be trying to use build the examples
in tutorials ( Such as: http://websrv.cs.fsu.edu/~engelen/soap.html ).
Since everything seems pretty simple and breaks on step 2, I was
wondering if it has something to do with the ebuild.

gsoap is installed as follows.

# emerge -pv net-libs/gsoap
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild   R   ] net-libs/gsoap-2.7.13  USE=ssl -debug -doc -examples 0 kB

Step 1 is to save the .c file with the main() in it.

Step 2 is to run a command which has a few problems.  The results of
which are below.  The problems I see are 1) typemap.dat - this may or
may not be an issue.  It's not mentioned as being required or explained
very well.  2) An error occurred while parsing WSDL or XSD.  3) The .h
file it generates is empty.

This is just one example, but I've tried many and the all fail.


$ wsdl2h -o quote.h
http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsd

**  The gSOAP WSDL parser for C and C++ 1.2.13
**  Copyright (C) 2000-2009 Robert van Engelen, Genivia Inc.
**  All Rights Reserved. This product is provided as is, without any
warranty.
**  The gSOAP WSDL parser is released under one of the following two
licenses:
**  GPL or the commercial license by Genivia Inc. Use option -l for more
info.

Saving quote.h

Cannot open file 'typemap.dat'
Problem reading type map file 'typemap.dat'.
Using internal type definitions for C++ instead.

Connecting to
'http://services.xmethods.net/soap/urn:xmethods-delayed-quotes.wsd' to
retrieve WSDL/XSD... connected, receiving... redirected to
'http://domainnotfound.optimum.net/cablevassist/dnsassist/main/?domain=services.xmethods.net'...

Connecting to
'http://domainnotfound.optimum.net/cablevassist/dnsassist/main/?domain=services.xmethods.net'
to retrieve WSDL/XSD... connected, receiving...
An error occurred while parsing WSDL or XSD from ''
Error 3 fault: SOAP-ENV:Client [no subcode]
Validation constraint violation: tag name or namespace mismatch in
element html
Detail: [no detail]

html
!-- ** HERE ** --

head id=icePage_ctl01

link
href='http://assist.infospace.com.edgesuite.net/cablevassist/style/min-styles.css/_iceUrlFlag=13?_IceUrl=true'
rel=stylesheet type=text/css /
link
href='http://assist.infospace.com.edgesuite.net/cablevassist/style/min-cobrand.css/_iceUrlFlag=13?_IceUrl=true'
rel=stylesheet type=text/css /
link
href='http://assist.infospace.com.edgesuite.net/cablevassist/style/styles_OT.css/_iceUrlFlag=13?_IceUrl=true'
rel=stylesheet type=text/css /
title Optimum Online - Domain not found  services.xmethods.net/title
script type=text/javascript
function openModal(url)
{
var w = screen.availWidth;
var h = screen.availHeight;
var popW = w*0.6;
var popH = h*0.6;
var leftPos = (w-popW)/2
var topPos = (h-popH)/2;
if(window.showModalDialog != null 
typeof(window.showModalDialog) != 'undefined')
window.showM


Thanks,

--dhk






  1   2   >