Hello 9fans, The latest 9pcf kernel (January 5 version) panics on my pc during vga initialization. My pc has a nvidia card, and ktrace(1) indicates that somehow /sys/src/9/pc/vganvidia.c has something to do with it.
I have tried various monitor-vgasize combinations, and the results are more or less the same. Attached is the panic message, panic.txt, that I transcribed (so it may not be accurate), when using monitor=multisync135 vgasize=1280x1024x32 values. I fed this to ktrace, and its output is ktrace.txt. I also attached pci.txt (output of pci) and e820.txt (from /dev/kmesg). Would vga gurus out there please help? -- - kazumi
panic: kernel fault: bad address pc=0xf0171941 addr=0xe93e0000 dumpstack ktrace /kernel/path f0108a64 f0986eb4 <<EOF estackx f0987340 f0986e54=f01088a5 f0986e60=f013c817 f0986e88=f013c95e f0986e9c=f0108a64 f0966eb0=f0108a64 f0986eb4=f01088a9 f0986ebc=f013cd71 f0986f24=f013f8db f0986f2c=f0101734 f0986f44=f01af46f f0986f54=f01accf9 f0986f58=f01ac5e4 f0986f5c=f01c4f62 f0986f64=f01ac765 f0986f78=f01adf94 f0986f84=f0101734 f0986f9c=f010809a f0986fac=f0108353 f0986fb8=f01a17cf f0986fc8=f01ca5d7 f0986fe4=f0108bad f0986fec=f0171941 f0986ff4=f01a17a2 f0986ffc=f0151de9 f0987008=f01cc1e3 f098701c=f01b9362 f098702c=f01b94a6 f0987030=f01ca1c0 f0987044=f01ca1c0 f0987064=f01005d5 f098707c=f0101734 f0987094=f01082d0 f09870a0=f0100712 f09870a4=f01c4f62 f09870b0=f01a17cf f09870bc=f01c5c30 f09870cc=0f1c7669 f09870dc=f01b94a6 f09870e0=f01c12b6 f0987100=f01c4d74 f098712c=f01c0ce3 f098714c=f01005d5 f098718c=f0171941 f09871c4=f0171e17 f09871d0=f019c57d f0987208=f01ab5f0 f0987214=f01ab6d2 f0987228=f01b9362 f0987238=f019cd76 f0987244=f01b99f2 f098724c=f01b43a6 f0987264=f01b5988 f0987290=f01a9f89 f0987298=f01b5a58 f09872a4=f01b5def f09872b8=f0108ee3 f09872d8=f01005d5 f09872ec=f0100c1b f0987314=f010001b f0987324=00000040 f0987328=f0100766 f098732c=0002b39f f0987330=00000023 f0987334=00000296 f0987338=dfffec24 f098733c=0000001b EOF cpu0: exiting
src(0xf0108a64); // dumpstack+0x10 src(0xf013cd71); // panic+0xeb src(0xf0108bad); // fault386+0xa8 src(0xf01082d0); // trap+0x15a src(0xf01005d5); // forkret //passing interrupt frame; last pc found at sp=0xf098714c src(0xf0171941); // nvresetgraphics+0x37 src(0xf0171e17); // nvidiadrawinit+0xf src(0xf019c57d); // vgactl+0x27b src(0xf019cd76); // vgawrite+0x167 src(0xf01b5988); // write+0x196 src(0xf01b5a58); // syspwrite+0x3f src(0xf0108ee3); // syscall+0x1b5 src(0xf0100c1b); // _syscallintr+0x18 //didn't find pc at sp=0xf09872f0, last pc found at sp=0xf09872ec
0.0.0: --- 06.00.00 8086/2530 0 0.1.0: --- 06.04.00 8086/2532 0 0.30.0: --- 06.04.00 8086/244e 0 0.31.0: --- 06.01.00 8086/2440 0 0.31.1: disk 01.01.80 8086/244b 0 4:0000ffa1 16 0.31.2: --- 0c.03.00 8086/2442 11 4:0000ff81 32 0.31.3: --- 0c.05.00 8086/2443 10 4:0000dcd1 16 0.31.4: --- 0c.03.00 8086/2444 9 4:0000ff61 32 1.0.0: vid 03.00.00 10de/0322 7 0:fc000000 16777216 1:f0000008 134217728 2.7.0: --- 04.01.00 1102/0002 7 0:0000ece1 32 2.7.1: --- 09.80.00 1102/7002 0 0:0000ecd9 16 2.9.0: net 02.00.00 8086/1229 3 0:fe2ff000 4096 1:0000ec81 64 2:fe100000 1048576
E820: 00000000 000a0000 memory E820: 000f0000 00100000 reserved E820: 00100000 0ff77000 memory E820: 0ff77000 0ff79000 acpi nvs E820: 0ff79000 10000000 reserved E820: fec00000 fec10000 reserved E820: fee00000 fee10000 reserved E820: ffb00000 100000000 reserved 126 holes free 00018000 0009f000 552960 00315000 067b8000 105525248 106078208 bytes free
