[gentoo-user] GHC and documentation

2007-08-14 Thread Iván Pérez Domínguez
Hi,
   I just checked that GHC has no use flags other than doc. My first
question is: can its documentation be generated without having to
compile ghc? Shouldn't its documentation be included as a different
package? (ghc's doc use flag pulling ghc-doc as a post-installation
dependency).

Cheers,
Ivan.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] portage inconsistency?

2007-07-17 Thread Iván Pérez Domínguez
maxim wexler wrote:
> Hi group,
> 
> At tail of emerge --sync its says now emerge portage.
> 
> So, emerge portage results in one package being
> installed, portage, 61kb.
> 
> emerge -u portage lines up 5 or 6 packages plus
> portage, 18Mb.

Can you tell us the list of packages it reported?
(downgrade and run emerge -u again).

> Went ahead and just did the one package, figuring
> later I could do an emerge -u for the rest of it.
> 
> But this is what happens:
> 
> [EMAIL PROTECTED] ~ $ emerge -pv portage
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R   ] sys-apps/portage-2.1.2.9  USE="-build
> -doc -epydoc (-selinux)" LINGUAS="-pl" 0 kB
> 
> Total: 1 package (1 reinstall), Size of downloads: 0
> kB
> 
> What I expected.
> 
> [EMAIL PROTECTED] ~ $ emerge -puv portage
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!

That happened to me too with a different package and I thought the same
you did.

>From the man page:
"Updates  packages to the best version available, which may not always
be the highest version number due to masking for testing and
development.  This will also update direct dependencies  which
may not be what you want. Package atoms specified on the command line
are greedy, meaning that unspecific atoms may match multiple installed
versions of slotted packages."

> Total: 0 packages, Size of downloads: 0 kB
> 
> So why doesn't it list the upgrade part now?
> 
> Maxim

Ivan Perez.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] dev-haskell/network

2007-04-28 Thread Iván Pérez Domínguez
In the official portage there's a package called dev-haskell/network. It
does absolutely nothing (it even says that). Why is it there? What is
the purpose of having that package if it's not a virtual package that,
btw, ghc could provide?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: Sound card problem [SOLVED]

2007-04-28 Thread Iván Pérez Domínguez
I don't know why, but unloading all sound modules and running
/etc/init.d/alsasound restart was enough to solve the problem. I don't
know if it'll come up again when I restart my computer.

Iván Pérez Domínguez wrote:
> Yesterday I was sent [1] a new kernel config through this list that
> solved the main problem I was suffering. A new one has shown up: the
> kernel module i810_audio detects my sound card. Even alsa detects my
> sound card (alsaconf shows it's name). However, I cannot access card #0,
> alsamixer is incapable of accessing the sound card, I no program can
> play any sound.
> 
> Since I already sent the lspci and the kernel config was sent by
> Guillermo A. Amaral (27/04/04 05:40) to the list, can somebody take a
> look and tell me what's going on? I tried reloading the module, but the
> information that it reports to /var/log/messages is not enough clue to
> me. Here it is, anyway:
> 
> [53560.668000] Intel 810 + AC97 Audio, version 1.01, 12:33:27 Apr 27 2007
> [53560.668000] PCI: Setting latency timer of device :00:1f.5 to 64
> [53560.668000] i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM
> 0xdc00 and 0xd800, IRQ 11
> [53560.668000] i810: Intel ICH4 mmio at 0xf90fcc00 and 0xf90fe800
> [53561.168000] i810_audio: Primary codec has ID 0
> [53561.168000] i810_audio: Audio Controller supports 6 channels.
> [53561.168000] i810_audio: Defaulting to base 2 channel mode.
> [53561.168000] i810_audio: Resetting connection 0
> [53561.168000] i810_audio: Connection 0 with codec id 0
> [53561.168000] ac97_codec: AC97 Audio codec, id: ALG64 (Unknown)
> [53561.168000] i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
> [53561.168000] PM: Adding info for No Bus:mixer
> [53561.172000] PM: Adding info for No Bus:dsp
> [53731.864000] loop: loaded (max 8 devices)
> [53928.528000] kjournald starting.  Commit interval 5 seconds
> [53928.528000] EXT3-fs warning: checktime reached, running e2fsck is
> recommended
> [53928.528000] EXT3 FS on dm-1, internal journal
> [53928.528000] EXT3-fs: mounted filesystem with ordered data mode.
> [55815.056000] PM: Removing info for No Bus:seq
> [55815.08] PM: Removing info for No Bus:timer
> [55895.192000] PM: Adding info for No Bus:timer
> [55895.392000] PM: Adding info for No Bus:seq
> [55931.536000] PM: Removing info for No Bus:seq
> [55931.564000] PM: Removing info for No Bus:timer
> [55931.78] PM: Adding info for No Bus:timer
> [55931.82] PM: Adding info for No Bus:seq
> [55996.26] PM: Adding info for No Bus:sequencer
> [55996.26] PM: Adding info for No Bus:sequencer2
> 
> Cheers,
> Ivan
> 
> 
> [1] "Kernel hangs after detecting the hard disk"
> 

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Sound card problem

2007-04-28 Thread Iván Pérez Domínguez
Yesterday I was sent [1] a new kernel config through this list that
solved the main problem I was suffering. A new one has shown up: the
kernel module i810_audio detects my sound card. Even alsa detects my
sound card (alsaconf shows it's name). However, I cannot access card #0,
alsamixer is incapable of accessing the sound card, I no program can
play any sound.

Since I already sent the lspci and the kernel config was sent by
Guillermo A. Amaral (27/04/04 05:40) to the list, can somebody take a
look and tell me what's going on? I tried reloading the module, but the
information that it reports to /var/log/messages is not enough clue to
me. Here it is, anyway:

[53560.668000] Intel 810 + AC97 Audio, version 1.01, 12:33:27 Apr 27 2007
[53560.668000] PCI: Setting latency timer of device :00:1f.5 to 64
[53560.668000] i810: Intel ICH4 found at IO 0x18c0 and 0x1c00, MEM
0xdc00 and 0xd800, IRQ 11
[53560.668000] i810: Intel ICH4 mmio at 0xf90fcc00 and 0xf90fe800
[53561.168000] i810_audio: Primary codec has ID 0
[53561.168000] i810_audio: Audio Controller supports 6 channels.
[53561.168000] i810_audio: Defaulting to base 2 channel mode.
[53561.168000] i810_audio: Resetting connection 0
[53561.168000] i810_audio: Connection 0 with codec id 0
[53561.168000] ac97_codec: AC97 Audio codec, id: ALG64 (Unknown)
[53561.168000] i810_audio: AC'97 codec 0 supports AMAP, total channels = 2
[53561.168000] PM: Adding info for No Bus:mixer
[53561.172000] PM: Adding info for No Bus:dsp
[53731.864000] loop: loaded (max 8 devices)
[53928.528000] kjournald starting.  Commit interval 5 seconds
[53928.528000] EXT3-fs warning: checktime reached, running e2fsck is
recommended
[53928.528000] EXT3 FS on dm-1, internal journal
[53928.528000] EXT3-fs: mounted filesystem with ordered data mode.
[55815.056000] PM: Removing info for No Bus:seq
[55815.08] PM: Removing info for No Bus:timer
[55895.192000] PM: Adding info for No Bus:timer
[55895.392000] PM: Adding info for No Bus:seq
[55931.536000] PM: Removing info for No Bus:seq
[55931.564000] PM: Removing info for No Bus:timer
[55931.78] PM: Adding info for No Bus:timer
[55931.82] PM: Adding info for No Bus:seq
[55996.26] PM: Adding info for No Bus:sequencer
[55996.26] PM: Adding info for No Bus:sequencer2

Cheers,
Ivan


[1] "Kernel hangs after detecting the hard disk"
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel hangs after detecting the hard disk

2007-04-27 Thread Iván Pérez Domínguez
Guillermo A. Amaral wrote:
> On Thursday 26 April 2007 17:34, Iván Pérez Domínguez wrote:
>> Here's the lspci. (It doesn't look very legible in my thunderbird, hope
>> it's not the same for you).
>>
>> 
>>
> 
> Try this out for size, it might work out.
> 
> 

:) I love you!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel hangs after detecting the hard disk

2007-04-26 Thread Iván Pérez Domínguez
Looks like I've come with a different situation now:

I installed Ubuntu in a different partition, it works fine.
I took it's kernel's config and tried to recompile gentoo's with it.

Things are a little better now, but looks like it cannot find /dev/hda2
(my root partition) nor /dev/sda2. Since no root can be found, it cannot
boot, and remains asking for the root password. If I log in, I cannot
access my files in any way. I don't know why.

On the other hand, I also tried to boot Gentoo using Ubuntu's kernel by
setting root=/dev/sda2 (Gentoo's root partition) instead of
root=/dev/sda3 (Ubuntu's). It goes perfectly (it even mounts the root
partition), but stops after trying to remount proc (it cannot be mounted
because it has already been mounted) since it's considered a critical task.

Any ideas?

Shall I send the new kernel config as well?

btw, is there any web site with a huge database with config files or
parts of them for different hardware, distributions (if applicable), and
kernels? (I already did my homework trying to find it) If not, I think
that would be a great idea.

Iván Pérez Domínguez wrote:
> Hans-Werner Hilse wrote:
>> Hi,
>>
>> On Tue, 24 Apr 2007 21:07:38 +0200
>> Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote:
>>
>>>I'm having another problem, this time it's a kernel related problem.
>>> I'm currently using kernel 2.6.13, and most things work fine. However,
>>> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my laptop
>>> hangs after detecting the hard disk. If I don't use initrd, it stops
>>> when udev is loaded.
>> What's the last (few lines of) message on screen?
>>
>> Did you configure your kernel to use the new libata stuff instead of
>> traditional IDE drivers?
> 
> I don't know. That might be the problem.
> 
> The old kernel config (2.6.13) is attached. I tried to change it but
> couldn't find any good combination.
> 
>> -hwh
> 
> Cheers,
> Ivan.
> 

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kernel hangs after detecting the hard disk

2007-04-26 Thread Iván Pérez Domínguez
Hans-Werner Hilse wrote:
> Hi,
> 
> On Tue, 24 Apr 2007 21:07:38 +0200
> Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote:
> 
>>I'm having another problem, this time it's a kernel related problem.
>> I'm currently using kernel 2.6.13, and most things work fine. However,
>> when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my laptop
>> hangs after detecting the hard disk. If I don't use initrd, it stops
>> when udev is loaded.
> 
> What's the last (few lines of) message on screen?
> 
> Did you configure your kernel to use the new libata stuff instead of
> traditional IDE drivers?

I don't know. That might be the problem.

The old kernel config (2.6.13) is attached. I tried to change it but
couldn't find any good combination.

>
> -hwh

Cheers,
Ivan.
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.13-gentoo-r3
# Sun Oct 22 13:00:45 2006
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_CLEAN_COMPILE=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_HOTPLUG=y
CONFIG_KOBJECT_UEVENT=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_CC_ALIGN_FUNCTIONS=0
CONFIG_CC_ALIGN_LABELS=0
CONFIG_CC_ALIGN_LOOPS=0
CONFIG_CC_ALIGN_JUMPS=0
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_HPET_TIMER is not set
# CONFIG_SMP is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_HIGHMEM=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CONFIG_HZ_1000 is not set
CONFIG_HZ=250
CONFIG_PHYSICAL_START=0x10
# CONFIG_KEXEC is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_SOFTWARE_SUSPEND is not set

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
# CONFIG_ACPI_SLEEP is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=m
CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/linux/dsdt_table.h"

[gentoo-user] Kernel hangs after detecting the hard disk

2007-04-24 Thread Iván Pérez Domínguez
Hi again,

   I'm having another problem, this time it's a kernel related problem.
I'm currently using kernel 2.6.13, and most things work fine. However,
when I try to update to a newer kernel (say 2.6.17 or 2.6.20), my laptop
hangs after detecting the hard disk. If I don't use initrd, it stops
when udev is loaded.

I decided not to submit my different kernel .config  with this email, I
don't want to bother anyone. In case you think I should send them (since
that information above is not really meaningful), tell me and I will.

Any ideas?
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] System hangs when requesting dhcp on wireless card

2007-04-23 Thread Iván Pérez Domínguez
I'm coming with a very strange problem here:

My systems freezes completely when I try to get an IP address using
dhcp. I have an ipw2200, and it used to work perfectly.

The main problem in these kind of situations is that there's nothing
I can do to check what failed. Any ideas on what to do?

Cheers,
Ivan
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Kernel config when a symbol has disappeared

2007-04-23 Thread Iván Pérez Domínguez
I'm currently using kernel 2.6.13. I tried to download newer versions,
but using the same configuration leads to many warnings that claim that
some symbols my .config talks about do not exist anymore.

What can I do to find what should be changed? I tried reviewing the
kernel documentation, but couldn't find anything about it, and my new
kernels can't get through the whole boot process all times (most of the
times, they just hang the computer after detecting the input devices).

Any clues?

Cheers,
Ivan.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gettext won't emerge for me

2007-01-28 Thread Iván Pérez Domínguez
Kevin O'Gorman wrote:
> On 1/28/07, Iván Pérez Domínguez <[EMAIL PROTECTED]> wrote:
>> Well, no help there, but surprisingly I just
>> updated emacs and gettext after it, and everything went well.
>> I don't have /usr/share/emacs/site-list/site-gentoo, only
>> /usr/share/emacs/site-lisp/site-gentoo.el, btw.
> 
> 
> So my copy of the ebuild or Makefile may be damaged.  I wonder:
> 1) how that slipped through
> 2) how I can fix it.
> 

If that is the case, emerge --sync should fix your problems.

But I really doubt your case is the same as mine, I guess the problem is
somewhere else. Maybe you should try to see what package owns those
directories (equery might be handy here), where is the variable that
points to /usr/share/emacs/site-something set, what value is assigned to
it, how it is calculated,...

By the way, gettext has explicit support for emacs, you can
enable/disable it with USE="emacs" and USE="-emacs".


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Gettext won't emerge for me

2007-01-28 Thread Iván Pérez Domínguez
Well, no help there, but surprisingly I just
updated emacs and gettext after it, and everything went well.
I don't have /usr/share/emacs/site-list/site-gentoo, only
/usr/share/emacs/site-lisp/site-gentoo.el, btw.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] xmule

2007-01-22 Thread Iván Pérez Domínguez
I was going to update xmule and realized it is not in portage anymore.
I read about the removal in Gentoo Newsletter, but couldn't find any
information nor bugs about this removal. Anyone knows why it was removed?


smime.p7s
Description: S/MIME Cryptographic Signature


Re: [gentoo-user] Re: single command line argument not working on boot

2007-01-21 Thread Iván Pérez Domínguez
Harm Geerts wrote:
> On Sunday 21 January 2007 22:10, John covici wrote:
>> Hi.  I was under the impression that I could boot into a shell before
>> the runlevel default started by adding single to my boot command
>> line.  There is nothing in the single directory and right now when I
>> say single it goes right to run level 3.
>>
>> Any assistance would be appreciated.
> 
> The single runlevel is different from what you want.
> 
> If you want a shell instead of a runlevel you can boot with the init 
> parameter 
> like this:
>  init=/bin/sh

If you just want to prevent a specific daemon from loading, you can also
press 'I' when the runlevel starts. This will give you an interactive boot.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] etc-update automerge-trivial-changes-only flag

2007-01-14 Thread Iván Pérez Domínguez
A few weeks ago I modified etc-update to add a new flag.
This new flag makes etc-update to apply trivial changes
exit without showing the menu.

A bug was filed, but had no response so far.

http://bugs.gentoo.org/show_bug.cgi?id=159080

I just wanted to know what you think.

PS. This etc-update could be automatically run after each emerge, so
that trivial changes are auto-merged and you are informed about
non-trivial changes only.



smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Problem with kernel 2.6.18-r6

2007-01-14 Thread Iván Pérez Domínguez
Hi there.

I'm having a problem with kernel 2.6.18-r6. My laptop hangs during boot,
right after detecting the mouse and the keyboard. it doesn't matter
whether I enable initrd or not, dies anyway. No kernel panic, no oops
messages, it simply freezes.

The funny thing is that sometimes it keeps running a little more
(detects the hard disk, sometimes even the dvd drive), and 1 in 100
times, everything works fine and it boots normally.

I'm currently running kernel 2.6.13 and everything works fine (despite
the things that need >2.6.13 to work).

I attach my kernel config, maybe someone knows what I'm doing wrong.

Cheers,

  Ivan
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-gentoo-r6
# Sun Jan 14 03:03:47 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=m
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED="noop"

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not

[gentoo-user] Problem with kernel 2.6.18-r6

2007-01-14 Thread Iván Pérez Domínguez
I'm having a problem with kernel 2.6.18-r6. My laptop hangs during boot,
right after detecting the mouse and the keyboard. I doesn't matter
whether I enable initrd or not, it dies anyway. No kernel panic, no oops
messages, it simply freezes.

The funny thing is that sometimes it keeps running a little more
(detects the hard disk, sometimes even the dvd drive), and 1 in 100
times, everything works fine and it boots normally.

I'm currently running kernel 2.6.13 and everything works fine (despite
the things that need >2.6.13 to work).

I attach my kernel config, maybe someone knows what I'm doing wrong.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.18-gentoo-r6
# Sun Jan 14 03:03:47 2007
#
CONFIG_X86_32=y
CONFIG_GENERIC_TIME=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_DMI=y
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_BROKEN_ON_SMP=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32

#
# General setup
#
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_RELAY is not set
CONFIG_INITRAMFS_SOURCE=""
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL=y
CONFIG_KALLSYMS=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_SHMEM=y
CONFIG_SLAB=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
# CONFIG_SLOB is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y

#
# Block layer
#
# CONFIG_LBD is not set
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_LSF is not set

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=m
CONFIG_IOSCHED_DEADLINE=m
CONFIG_IOSCHED_CFQ=m
# CONFIG_DEFAULT_AS is not set
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
CONFIG_DEFAULT_NOOP=y
CONFIG_DEFAULT_IOSCHED="noop"

#
# Processor type and features
#
# CONFIG_SMP is not set
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
# CONFIG_MPENTIUMIII is not set
CONFIG_MPENTIUMM=y
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MEFFICEON is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MGEODEGX1 is not set
# CONFIG_MGEODE_LX is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_CMPXCHG64=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_X86_TSC=y
# CONFIG_HPET_TIMER is not set
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_BKL=y
# CONFIG_X86_UP_APIC is not set
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
CONFIG_VM86=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_X86_REBOOTFIXUPS is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
# CONFIG_DELL_RBU is not set
# CONFIG_DCDBAS is not set
# CONFIG_NOHIGHMEM is not set
CONFIG_HIGHMEM4G=y
# CONFIG_HIGHMEM64G is not set
CONFIG_PAGE_OFFSET=0xC000
CONFIG_HIGHMEM=y
CONFIG_ARCH_FLATMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_SELECT_MEMORY_MODEL=y
CONFIG_FLATMEM_MANUAL=y
# CONFIG_DISCONTIGMEM_MANUAL is not set
# CONFIG_SPARSEMEM_MANUAL is not set
CONFIG_FLATMEM=y
CONFIG_FLAT_NODE_MEM_MAP=y
CONFIG_SPARSEMEM_STATIC=y
CONFIG_SPLIT_PTLOCK_CPUS=4
# CONFIG_RESOURCES_64BIT is not set
# CONFIG_HIGHPTE is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
# CONFIG_REGPARM is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
CONFIG_HZ_250=y
# CO

Re: [gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iván Pérez Domínguez
Alex Schuster wrote:
> Iván Pérez Domínguez writes:
> 
>> After installing Gentoo in different machines several times, I wonder if
>> is there any way to tell emerge to keep installing as much as possible
>> even when something goes wrong.
> 
> Sure there is. Have a look at the emerge man page, there 's lots uf useful 
> information. portage also has a nice man page.

I just read both (and make.conf as well). Maybe I missed something, but
I think that suggestion has not been implemented so far.

> 
> 
>>  emerge stuff1 stuff2 stuff3
>>
>> emerge says "the following packages will be emerged" and so on.
>>
>> Alright. Then stuff1 fails to compile. I'd like emerge to continue
>> trying to install stuff2 and stuff3 when possible.
> 
> emerge --resume --skipfirst
> This resumes the last emerge, skipping the first package. Leave 
> the --skipfirst to try again.

This one I already knew.

> I like to use "FEATURES=keepwork 
> emerge --resume" to resume an interrupted emerge without restarting from 
> scratch, but this feature seems to be broken at the moment.
> 
>> I know I could write several emerges in different lines (something like
>> emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this
>> feature should have an option of its own in emerge (i.e.
>> --keep-going-as-far-as-possible).
> 
> Maybe, but on the other hand it's a little bash one-liner.

I don't get your point here, sorry.

> 
>> This could be very handy when updating world or, in general, when the
>> emerge is going to take a lot of time and you decide to leave, expecting
>> everything to be merged when you come back.
> 
> This will emerge world and continue after every error, skipping that 
> package:
> emerge world -u || while ! emerge --resume --skipfirst; do :; done
> 
>   Alex
> 

As I said before, the line above (emerge a; emerge b; emerge c;) could
work as well. The main point is that, in my opinion, that feature should
be included in emerge itself.

Your line has a problem: it won't skip the first package in your line,
it will skip only the first package to be emerged, which may be a
required dependency to build another package, propagating an error in
one compilation to later compilations. Even worse, some package could
get installed without one of its dependencies.

   Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] Telling emerge to continue when something goes wrong

2007-01-14 Thread Iván Pérez Domínguez
Hi,

After installing Gentoo in different machines several times, I wonder if
is there any way to tell emerge to keep installing as much as possible
even when something goes wrong.

Here's an example:

 emerge stuff1 stuff2 stuff3


emerge says "the following packages will be emerged" and so on.

Alright. Then stuff1 fails to compile. I'd like emerge to continue
trying to install stuff2 and stuff3 when possible.

I know I could write several emerges in different lines (something like
emerge stuff1; emerge stuff2; emerge stuff3), I just feel like this
feature should have an option of its own in emerge (i.e.
--keep-going-as-far-as-possible).

This could be very handy when updating world or, in general, when the
emerge is going to take a lot of time and you decide to leave, expecting
everything to be merged when you come back.

I'm posting this here before going to gentoo-portage-dev or other list
to know what you think and to try to write a better suggestion.

Cheers,

Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature


[gentoo-user] USE flags and configure-time problems

2007-01-14 Thread Iván Pérez Domínguez
Hi there.

 I just happend to emerge evince and, after half an hour got the
following error:


18:07:32 (44.99 KB/s) - `/usr/portage/distfiles/evince-0.6.1.tar.bz2'
saved [1212271/1212271]

 * checking ebuild checksums ;-) ...
  [ ok ]
 * checking auxfile checksums ;-) ...
  [ ok ]
 * checking miscfile checksums ;-) ...
  [ ok ]
 * checking evince-0.6.1.tar.bz2 ;-) ...
  [ ok ]
 * Please re-emerge app-text/poppler-bindings with the gtk USE flag set

!!! ERROR: app-text/evince-0.6.1 failed.
Call stack:
  ebuild.sh, line 1626:   Called dyn_setup
  ebuild.sh, line 701:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  evince-0.6.1.ebuild, line 67:   Called die

!!! poppler-bindings needs gtk flag set
!!! If you need support, post the topmost build error, and the call
stack if relevant.


I understand why this happend, and I know how to solve it.

My point is: should the RDEPEND and DEPEND syntax in ebuilds be changed
so that this kind of problems can be detected before emerging?

Here's an example. Imagine program A depends on B, and if A is built
with use flag "dvi", then it depends on C to be built with use flag
dvi2. The following could be A's DEPEND:

DEPEND="dvi? ([dvi2 C])
B"

This is just an example, and I'm sure there's a different syntax that
could be more appropriate.

What do you this of it?

Is there any ongoing implementation to solve it in a different way?

Cheers,

Ivan.


smime.p7s
Description: S/MIME Cryptographic Signature