cvsup to RELENG_6 from yesterday kills my Xorg server

2006-06-25 Thread Ales

My notebook runs 6.1-STABLE from 23.May 2006 with xorg 6.9.0 just OK.

Yesterday I cvsuped my notebook to RELENG_6. After standard buildproces 
(I do that aprox. once a  month on a few boxes) I have problems with 
xorg (6.9.0 from ports) server. I use KDE desktop wit kdm win manager. 
After booting, xserver starts OK and I have kdm login prompt. When I try 
to login, screen  become black and nothing can be done except reboot 
with Ctl-Alt-Del. I even can't kill xserver.


Xorg driver is "savage" on "Twister KN133" card.

The funny thing is that booting old kernel from 23. May can' help also 
anymore. But before cvsup-ing and rebuilding everything was fine. I'm 
lost here. At the end  I must say that I did NOT touch X server at all.
What happened with sources last month that can affect xorg server? Maybe 
it's dri related? It is the only thing I can imagine, but don't know how 
to fix it.


Thanks, Aleš
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Kernel panic after upgrade to 6.0-STABLE

2005-11-05 Thread Ales

Hello.

After upgrade to RELENG_6, buildworld, buildkernel, installkernel, 
reboot I got this error. With 5.4 there was no problem. Can anyone see 
what is going on with this hw?


Aleš


---
Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-STABLE #0: Sat Nov 5 12:53:54 CET 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Sempron(tm) (2200.47-MHz 686-class CPU)
Origin = "AuthenticAMD" Id = 0x681 Stepping = 1
Features=0x383fbff
AMD Features=0xc0480800
real memory = 536805376 (511 MB)
avail memory = 511782912 (488 MB)
npx0: [FAST]
npx0:  on motherboard
npx0: INT 16 interface
cpu0 on motherboard
pcib0:  pcibus 0 on motherboard
pir0:  on motherboard
pci0:  on pcib0
pcib1:  at device 1.0 on pci0
pci1:  on pcib1
nvidia0:  mem 
0xde00-0xdeff,0xd000-0xd7ff irq 11 at device 0.0 on pci1

WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x480008
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc07168c8
stack pointer = 0x28:0xc102082c
frame pointer = 0x28:0xc102082c
code segment = base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process = 0 (swapper)
trap number = 12
panic: page fault
Uptime: 1s
-
In 5.4 the next dmesg message looks like this. So is this VIA SATA 
controller causing problem?


pcib1:  at device 1.0 on pci0
pci1:  on pcib1
nvidia0:  mem 
0xd000-0xd7ff,0xde00-0xdeff irq 16 at device 0.0 on pci1
atapci0:  port 
0xd800-0xd8ff,0xdc00-0xdc0f,0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec07 
irq 20 at device 15.0 on pci0

ata2: channel #0 on atapci0
ata3: channel #1 on atapci0


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel panic after upgrade to 6.0-STABLE

2005-11-05 Thread Ales

Joao Barros wrote:


You should recompile the nvidia port with the new kernel.
Boot with the driver disabled in the meantime.

On 11/5/05, Ales <[EMAIL PROTECTED]> wrote:
 


Hello.

After upgrade to RELENG_6, buildworld, buildkernel, installkernel,
reboot I got this error. With 5.4 there was no problem. Can anyone see
what is going on with this hw?

Aleš


   

Thanks for the fast (realy fast) reply. As I'm not expert, could you 
help me some more. How do I disable driver, and how do I recompile 
nvidia port?


Thanks again.

Aleš
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel panic after upgrade to 6.0-STABLE

2005-11-06 Thread Ales

Joao Barros wrote:


You should recompile the nvidia port with the new kernel.
Boot with the driver disabled in the meantime.


--
Joao Barros
 

 

Well, it looks like the nvidia driver doesn't support 6-STABLE (yet). 
Did you guys managed to recompile the driver?


After trying to recompile nvidia driver:

romcek# make install
===> src (install)
"/usr/share/mk/bsd.compat.mk", line 36: warning: NOOBJ is deprecated in 
favor of NO_OBJ

@ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
awk -f @/tools/makeobjops.awk @/kern/device_if.m -h
awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h
awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
cc -O2 -fno-strict-aliasing -pipe -march=athlon-xp -I/src 
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 
-D__KERNEL__ -UDEBUG -U_DEBUG -DNDEBUG -O -fno-common 
-fno-unit-at-a-time -minline-all-stringops -Werror -D_KERNEL 
-DKLD_MODULE -nostdinc -I-  -I/src -I. -I@ -I@/contrib/altq 
-I@/../include -I/usr/include -finline-limit=8000 -fno-common  
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx 
-mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -c 
nvidia_ctl.c

In file included from nvidia_ctl.c:14:
./nv-freebsd.h:25:2: #error This driver does not support FreeBSD 
6.x/-CURRENT!

*** Error code 1

Stop in /usr/home/romcek/NVIDIA-FreeBSD-x86-1.0-7676/src.
*** Error code 1

Stop in /usr/home/romcek/NVIDIA-FreeBSD-x86-1.0-7676.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Kernel panic after upgrade to 6.0-STABLE

2005-11-06 Thread Ales

Roland Smith wrote:


On Sun, Nov 06, 2005 at 10:18:12AM +0100, Ales wrote:

 

Well, it looks like the nvidia driver doesn't support 6-STABLE (yet). 
Did you guys managed to recompile the driver?


After trying to recompile nvidia driver:
   



 


In file included from nvidia_ctl.c:14:
./nv-freebsd.h:25:2: #error This driver does not support FreeBSD 
6.x/-CURRENT!

*** Error code 1
   



Try editing the nv-freebsd.h file, remove the line with the #error
directive, and recompile. It might compile. It might even run. ;-)

Roland
 

Problem solved. I was trying to compile nvidia driver from nvidia home 
page, not from ports. Driver from ports compiled cleanly.
I'm back with 6-STABLE and I can say that the upgrade was quite easy 
(except for the nvidia part)


Thanks to all involved.

Aleš
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange boot messages under 6.0-STABLE

2005-11-14 Thread Ales

During boot process under 6.0-STABLE I spoted some strange messages.

...
...
Nov 14 18:18:45 romcek kernel: cd0 at ata1 bus 0 target 0 lun 0
Nov 14 18:18:45 romcek kernel: cd0:  Removable 
CD-ROM SCSI-0 device

Nov 14 18:18:45 romcek kernel: cd0: 33.000MB/s transfers
Nov 14 18:18:45 romcek kernel: cd0: Attempt to query device size failed: 
NOT READY, Medium not present

Nov 14 18:18:45 romcek kernel: Trying to mount root from ufs:/dev/ad4s1a
Nov 14 18:18:45 romcek savecore: reboot after panic: page fault
Nov 14 18:18:45 romcek savecore: no dump, not enough free space on 
device (143858 available, need 523842)

Nov 14 18:18:45 romcek savecore: unsaved dumps found but not saved
Nov 14 18:22:01 romcek /usr/libexec/save-entropy[722]: 
/var/db/entropy/saved-entropy.8 is not a regular file, and therefore it 
will not be rotated. Entropy file harvesting is aborted.

.

That "reboot after panic" message is strange, because the box is running 
normally.

Can someone plese tell me why I'm geting those messages.

My system is 6.0-STABLE and I upgraded from 5.4.

FreeBSD 6.0-STABLE #4: Sun Nov 6 14:09:42 CET 2005

Aleš
Slovenia
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"