Re: [gentoo-user] X server won't load

2007-06-12 Thread Mick
On Monday 11 June 2007 23:34, Andrey Vul wrote:
 Bingo, fixed the problem by removing drm driver from the kernel.

 Is x11-drm stable?

I am using x11-base/x11-drm-20070314 which is stable now.

PS. This M/L prefers top-posting, so, in gmail please click to show quoted 
text and write your response at the bottom.
-- 
Regards,
Mick


pgp0BfW0cwjzb.pgp
Description: PGP signature


Re: [gentoo-user] X server won't load

2007-06-12 Thread Andrey Vul

On 6/12/07, Mick [EMAIL PROTECTED] wrote:

On Monday 11 June 2007 23:34, Andrey Vul wrote:
 Bingo, fixed the problem by removing drm driver from the kernel.

 Is x11-drm stable?

I am using x11-base/x11-drm-20070314 which is stable now.

PS. This M/L prefers top-posting, so, in gmail please click to show quoted
text and write your response at the bottom.
--
Regards,
Mick



Even in 2.6.21.4 (current stable), the kernel tree's radeon driver is
buggy causing 100% CPU usage and a screen of death. (modprobe radeon,
then after a few minutes, the local system is dead and I need to use
SSH to read dmesg. But that doesn't help much because there is no
configuration option in the kernel to make the radeon driver output
with debug verbosity. But it did help a little: my card is Mobility
Radeon X600 (RV480) and the drm driver is using R300 microcode, which
means that the driver is very buggy).

At least there is no kernel panic, which means that I can MagicS,
MagicB, where Magic is AltSysRq
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-11 Thread Hans-Werner Hilse
Hi,

On Sun, 10 Jun 2007 15:25:23 -0400 Andrey Vul [EMAIL PROTECTED]
wrote:

 I forgot to add /usr/src/linux/.config to my previous post!

Oh dear, now you added up to 140kB of almost useless information getting
blasted over the world...

Did you see /any/ error in there? Well, I didn't. So the only
suggestions I can give is
- reemerge drm driver,
- reemerge X video driver,
- if all of this doesn't help, reemerge X server and libraries.

If all of this does not work, blame your experimental kernel...

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-11 Thread Andrey Vul

drm driver is part of the kernel; should I upgrade to -rc4 or
downgrade to 2.6.21.4?

On 6/11/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

Hi,

On Sun, 10 Jun 2007 15:25:23 -0400 Andrey Vul [EMAIL PROTECTED]
wrote:

 I forgot to add /usr/src/linux/.config to my previous post!

Oh dear, now you added up to 140kB of almost useless information getting
blasted over the world...

Did you see /any/ error in there? Well, I didn't. So the only
suggestions I can give is
- reemerge drm driver,
- reemerge X video driver,
- if all of this doesn't help, reemerge X server and libraries.

If all of this does not work, blame your experimental kernel...

-hwh
--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-11 Thread Andrey Vul

On 6/11/07, Andrey Vul [EMAIL PROTECTED] wrote:

drm driver is part of the kernel; should I upgrade to -rc4 or
downgrade to 2.6.21.4?


But first I'll remove the symlink USE flag so that dependencies won't
screw up my system.

I'll try -rc4 first, if that doesn't work, I'll email my .config and
Xorg.0.log (the driver details) to lkml.
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-11 Thread Hans-Werner Hilse
Hi,

On Mon, 11 Jun 2007 12:39:36 -0400 Andrey Vul [EMAIL PROTECTED]
wrote:

 On 6/11/07, Andrey Vul [EMAIL PROTECTED] wrote:
  drm driver is part of the kernel; should I upgrade to -rc4 or
  downgrade to 2.6.21.4?

I'm pretty unsure, but reverting to a stable version is at least worth
a try.

BTW: The drm drivers are developed out of tree, AFAIK. I don't really
know how good they're currently in sync. Gentoo has the x11-drm
ebuild for the out-of-tree drivers.

 [...]
 I'll try -rc4 first, if that doesn't work, I'll email my .config and
 Xorg.0.log (the driver details) to lkml.

Don't. You did understand that there doesn't seem to be any indication
in what you posted here? So why even bother wasting even more peoples'
bandwith? Examine the Xorg log file yourself, especially regarding
warnings and errors. If it doesn't contain any, you just need to tell
what card and driver you're using. On LKML, the .config /might/ be
interesting.

If you feel that it is absolutely necessary to make Xorg.0.log
and .config available, put them online on some kind of webspace. As a
rule of thumb: Don't attach large files to mails to mailing lists.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-11 Thread Andrey Vul

Bingo, fixed the problem by removing drm driver from the kernel.

Is x11-drm stable?

On 6/11/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

Hi,

On Mon, 11 Jun 2007 12:39:36 -0400 Andrey Vul [EMAIL PROTECTED]
wrote:

 On 6/11/07, Andrey Vul [EMAIL PROTECTED] wrote:
  drm driver is part of the kernel; should I upgrade to -rc4 or
  downgrade to 2.6.21.4?

I'm pretty unsure, but reverting to a stable version is at least worth
a try.

BTW: The drm drivers are developed out of tree, AFAIK. I don't really
know how good they're currently in sync. Gentoo has the x11-drm
ebuild for the out-of-tree drivers.

 [...]
 I'll try -rc4 first, if that doesn't work, I'll email my .config and
 Xorg.0.log (the driver details) to lkml.

Don't. You did understand that there doesn't seem to be any indication
in what you posted here? So why even bother wasting even more peoples'
bandwith? Examine the Xorg log file yourself, especially regarding
warnings and errors. If it doesn't contain any, you just need to tell
what card and driver you're using. On LKML, the .config /might/ be
interesting.

If you feel that it is absolutely necessary to make Xorg.0.log
and .config available, put them online on some kind of webspace. As a
rule of thumb: Don't attach large files to mails to mailing lists.

-hwh
--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Hans-Werner Hilse
Hi,

On Sat, 9 Jun 2007 23:29:49 -0400
Andrey Vul [EMAIL PROTECTED] wrote:

 I rebooted into my 2.6.22-rc3-rsdl1.0-hrt2 kernel and the X server
 crashes (reminds me of Beryl on Ubuntu, but this time, there is a
 blank black screen and no mouse). The problem is, my laptop has no
 serial port, and therefore, I can't dmesg after starting X. Because my
 keyboard has gone belly-up (because Xorg acquired it), I cant
 [Control][Alt][Fn] to get into the virtual console and I need to a
 safe hard reboot ([Alt][PrintScreen][R,S,E,I,K,U,B]) to get back to
 the console.
 
 What info should I post? And if this is a kernel bug, what info should
 I email to lkml?

Any chance to SSH in via network? Or does the laptop have no network
connection?

I don't think that this would be a problem w/ the kernel (although,
you're using an older -rc, one never knows). X mocks a lot with the
hardware w/o the kernel coming into play...

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

last time I did ssh was when installing LFS; been a looong time and I forgot.

Refresh my memory, please?
I have sshd on my laptop, putty on my desktop

On 6/10/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

Hi,

On Sat, 9 Jun 2007 23:29:49 -0400
Andrey Vul [EMAIL PROTECTED] wrote:

 I rebooted into my 2.6.22-rc3-rsdl1.0-hrt2 kernel and the X server
 crashes (reminds me of Beryl on Ubuntu, but this time, there is a
 blank black screen and no mouse). The problem is, my laptop has no
 serial port, and therefore, I can't dmesg after starting X. Because my
 keyboard has gone belly-up (because Xorg acquired it), I cant
 [Control][Alt][Fn] to get into the virtual console and I need to a
 safe hard reboot ([Alt][PrintScreen][R,S,E,I,K,U,B]) to get back to
 the console.

 What info should I post? And if this is a kernel bug, what info should
 I email to lkml?

Any chance to SSH in via network? Or does the laptop have no network
connection?

I don't think that this would be a problem w/ the kernel (although,
you're using an older -rc, one never knows). X mocks a lot with the
hardware w/o the kernel coming into play...

-hwh
--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Hans-Werner Hilse
Hi,

On Sun, 10 Jun 2007 10:10:19 -0400
Andrey Vul [EMAIL PROTECTED] wrote:

 last time I did ssh was when installing LFS; been a looong time and I forgot.
 
 Refresh my memory, please?
 I have sshd on my laptop, putty on my desktop

Just start sshd (it's usually configured to run straight out of the box
on gentoo), /etc/init.d/sshd start, or permanently: 
rc-update add sshd default

You can then use e.g. putty from the desktop and connect to the laptop,
providing your normal login data. You'll have a command line (_if_ the
kernel is alive and kicking), can issue the dmesg, inspect the Xorg
log file and try to kill the running, broken X server. Basically what
you would do w/ a serial line.

-hwh
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

ssh only works in loopback :(

putty whines that Incoming packet was garbled on decryption

On 6/10/07, Hans-Werner Hilse [EMAIL PROTECTED] wrote:

Hi,

On Sun, 10 Jun 2007 10:10:19 -0400
Andrey Vul [EMAIL PROTECTED] wrote:

 last time I did ssh was when installing LFS; been a looong time and I forgot.

 Refresh my memory, please?
 I have sshd on my laptop, putty on my desktop

Just start sshd (it's usually configured to run straight out of the box
on gentoo), /etc/init.d/sshd start, or permanently:
rc-update add sshd default

You can then use e.g. putty from the desktop and connect to the laptop,
providing your normal login data. You'll have a command line (_if_ the
kernel is alive and kicking), can issue the dmesg, inspect the Xorg
log file and try to kill the running, broken X server. Basically what
you would do w/ a serial line.

-hwh
--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Norberto Bensa
Andrey Vul wrote:
 ssh only works in loopback :(

 putty whines that Incoming packet was garbled on decryption


Try:

iptables -F
iptables -t nat -F


and try ssh again

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

now to wait 5 minutes to recompile and reinstall my kernel, remerge
iptables, and reboot and try again..

On 6/10/07, Norberto Bensa [EMAIL PROTECTED] wrote:

Andrey Vul wrote:
 ssh only works in loopback :(

 putty whines that Incoming packet was garbled on decryption


Try:

iptables -F
iptables -t nat -F


and try ssh again

--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

putty still whines about garbled packets


On 6/10/07, Norberto Bensa [EMAIL PROTECTED] wrote:

Andrey Vul wrote:
 ssh only works in loopback :(

 putty whines that Incoming packet was garbled on decryption


Try:

iptables -F
iptables -t nat -F


and try ssh again

--
[EMAIL PROTECTED] mailing list





--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

Fixed the SSH problem.
Link: 
http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/ssh2-aesctr-openssh.html

Fix: #USE=-ldap emerge openssh
(but first unmask openssh-4.6)

Putty was just affected by bug (openssh-4.5+openssl-0.9.8e)

Now to use SSH to debug the crashing X server...

On 6/10/07, Andrey Vul [EMAIL PROTECTED] wrote:

putty still whines about garbled packets


On 6/10/07, Norberto Bensa [EMAIL PROTECTED] wrote:
 Andrey Vul wrote:
  ssh only works in loopback :(
 
  putty whines that Incoming packet was garbled on decryption
 

 Try:

 iptables -F
 iptables -t nat -F


 and try ssh again

 --
 [EMAIL PROTECTED] mailing list




--
-
Andrey Vul




--
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] X server won't load

2007-06-10 Thread Andrey Vul

I forgot to add /usr/src/linux/.config to my previous post!
So here it is (/usr/src/linux/.config)(zcat /proc/config.gz):
#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.22-rc3
# Sun Jun 10 13:23:17 2007
#
CONFIG_X86_64=y
CONFIG_64BIT=y
CONFIG_X86=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_TIME_VSYSCALL=y
CONFIG_ZONE_DMA32=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_SEMAPHORE_SLEEPERS=y
CONFIG_MMU=y
CONFIG_ZONE_DMA=y
CONFIG_RWSEM_GENERIC_SPINLOCK=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_X86_CMPXCHG=y
CONFIG_EARLY_PRINTK=y
CONFIG_GENERIC_ISA_DMA=y
CONFIG_GENERIC_IOMAP=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
CONFIG_ARCH_POPULATES_NODE_MAP=y
CONFIG_DMI=y
CONFIG_AUDIT_ARCH=y
CONFIG_GENERIC_BUG=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
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=y
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_IPC_NS=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
CONFIG_BSD_PROCESS_ACCT=y
# CONFIG_BSD_PROCESS_ACCT_V3 is not set
# CONFIG_TASKSTATS is not set
# CONFIG_UTS_NS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
CONFIG_SYSFS_DEPRECATED=y
# CONFIG_RELAY is not set
CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=
CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=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_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0

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

#
# Block layer
#
CONFIG_BLOCK=y
# CONFIG_BLK_DEV_IO_TRACE is not set

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

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_VSMP is not set
CONFIG_MK8=y
# CONFIG_MPSC is not set
# CONFIG_MCORE2 is not set
# CONFIG_GENERIC_CPU is not set
CONFIG_X86_L1_CACHE_BYTES=64
CONFIG_X86_L1_CACHE_SHIFT=6
CONFIG_X86_INTERNODE_CACHE_BYTES=64
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
CONFIG_X86_CPUID=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_MTRR=y
# 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_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_FLATMEM_ENABLE=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 is not set
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=1
CONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_IOMMU=y
# CONFIG_CALGARY_IOMMU is not set
CONFIG_SWIOTLB=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_INTEL=y
CONFIG_X86_MCE_AMD=y
# CONFIG_KEXEC is not set
# CONFIG_CRASH_DUMP is not set
# CONFIG_RELOCATABLE is not set
CONFIG_PHYSICAL_START=0x20
CONFIG_SECCOMP=y
# CONFIG_CC_STACKPROTECTOR is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_K8_NB=y
CONFIG_GENERIC_HARDIRQS=y
CONFIG_GENERIC_IRQ_PROBE=y
CONFIG_ISA_DMA_API=y

#
# Power management options
#
CONFIG_PM=y
# CONFIG_PM_LEGACY is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_PM_SYSFS_DEPRECATED is not set
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_STD_PARTITION=

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_SLEEP_PROC_SLEEP=y
CONFIG_ACPI_PROCFS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_VIDEO is not set
CONFIG_ACPI_FAN=y
# CONFIG_ACPI_DOCK is not set
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_BLACKLIST_YEAR=0
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y
# CONFIG_ACPI_CONTAINER is not set
# CONFIG_ACPI_SBS is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y

[gentoo-user] X server won't load

2007-06-09 Thread Andrey Vul

I rebooted into my 2.6.22-rc3-rsdl1.0-hrt2 kernel and the X server
crashes (reminds me of Beryl on Ubuntu, but this time, there is a
blank black screen and no mouse). The problem is, my laptop has no
serial port, and therefore, I can't dmesg after starting X. Because my
keyboard has gone belly-up (because Xorg acquired it), I cant
[Control][Alt][Fn] to get into the virtual console and I need to a
safe hard reboot ([Alt][PrintScreen][R,S,E,I,K,U,B]) to get back to
the console.

What info should I post? And if this is a kernel bug, what info should
I email to lkml?
-
Andrey Vul
--
[EMAIL PROTECTED] mailing list