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 Roland Smith
On Sun, Nov 06, 2005 at 10:18:12AM +0100, Ales wrote:
snip
 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:
snip
 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
-- 
R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send e-mail as plain text.
public key: http://www.xs4all.nl/~rsmith/pubkey.txt


pgpVr290rnNXM.pgp
Description: PGP signature


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:
snip
 

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:
   


snip
 


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]


Re: Kernel panic after upgrade to 6.0-STABLE

2005-11-05 Thread Joao Barros
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š


 ---
 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=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
 AMD Features=0xc0480800SYSCALL,MP,MMX+,3DNow+,3DNow
 real memory = 536805376 (511 MB)
 avail memory = 511782912 (488 MB)
 npx0: [FAST]
 npx0: math processor on motherboard
 npx0: INT 16 interface
 cpu0 on motherboard
 pcib0: Host to PCI bridge pcibus 0 on motherboard
 pir0: PCI Interrupt Routing Table: 10 Entries on motherboard
 pci0: PCI bus on pcib0
 pcib1: PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 nvidia0: GeForce FX 5500 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: PCI-PCI bridge at device 1.0 on pci0
 pci1: PCI bus on pcib1
 nvidia0: GeForce FX 5500 mem
 0xd000-0xd7ff,0xde00-0xdeff irq 16 at device 0.0 on pci1
 atapci0: VIA 6420 SATA150 controller 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]



--
Joao Barros
___
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-05 Thread Tofik Suleymanov

Ales wrote:


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š


  


I've hit the same problem when upgrading to RELENG_6_0.Recompilation of 
the nvidia driver with the new kernel made the problem go away.
In order to make system usable first - just disable loading of nvidia 
module by looking in /boot/loader.conf



___
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 Joao Barros
On 11/5/05, Ales [EMAIL PROTECTED] wrote:
 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?

In the boot loader you can try:
unset nvidia_load
or
set nvidia_load=NO

a 'make clean install' on the nvidia port dir should do the trick ;)

--
Joao Barros
___
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 Reed Loefgren

On Sat, 5 Nov 2005, Joao Barros wrote:


On 11/5/05, Ales [EMAIL PROTECTED] wrote:
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?


In the boot loader you can try:
unset nvidia_load
or
set nvidia_load=NO

a 'make clean install' on the nvidia port dir should do the trick ;)

--
Joao Barros


Ales,

I had this problem to, both with 4.10+ and now with 6.0. I always thought 
the nvidia.ko was getting loaded too early in the boot sequence when I 
had it listed in rc.conf. What I did was to write a script that gave the 
command 'kldload nvidia' and put that in /usr/local/etc/rc.d. Scripts 
there are run pretty late in the boot sequence. Problem gone (for me 
anyway), and I've done it that way ever since. In any event I agree with 
Joao that you should re-compile the module under the new system.


HTH

r

 --
I'd rather flunk my Wassermann Test
Than read the poems of Edgar Guest.

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