With the diff below it resumes ok to X, but when I try to switch
to text console or do a shutdown, I get this panic:

/etc/rc.shutdown in progress...
/etc/rc.shutdown complete.
Stopped at      cpu_idle_cycle+0xf:     ret
ddb{1}> bt
No such command
ddb{1}> trace
cpu_idle_cycle(d406ac00) at cpu_idle_cycle+0xf
Bad frame pointer: 0xf546ef5c
ddb{1}> machine ddbcpu 0
Stopped at      Debugger+0x4:   popl    %ebp
ddb{0}> bt
No such command
ddb{0}> trace
Debugger(d0b035e0,f54c2f08,0,14,6b) at Debugger+0x4
i386_ipi_handler(0,20,0,f54c0010,d0510010) at i386_ipi_handler+0x5f
Xintripi() at Xintripi+0x49
--- interrupt ---
kputchar(6b,14,0,1,0) at kputchar+0x1a
kprintf(d08f3d1a,14,0,0,f54c2ef8) at kprintf+0x254
db_printf(d08f3d1a,1b88d72e,b,d03db6c2,0) at db_printf+0x3e
kdbprinttrap(109,0,d9ddae24,1000,d0a47d44) at kdbprinttrap+0x1e
kdb_trap(109,0,f54c2fa8,3,ffee3bd) at kdb_trap+0x1fc
trap() at trap+0x2e7
--- trap (number 0) ---
0:
ddb{0}> 

Index: vga_pci.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/vga_pci.c,v
retrieving revision 1.68
diff -u -r1.68 vga_pci.c
--- vga_pci.c   22 Aug 2012 20:58:30 -0000      1.68
+++ vga_pci.c   2 Sep 2012 17:42:09 -0000
@@ -186,7 +186,13 @@
            {   0xffff, 0xffff, 0x0000, 0x0000 }, 1, 0
        },
 
-       {       /* All ATI video until further notice */
+       {       
+           {   PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_X1400,
+               0x0000, 0x0000 },
+           {   0xffff, 0xffff, 0x0000, 0x0000}, 0, 0
+       },
+
+       {       /* Other ATI video until further notice */
            {   PCI_VENDOR_ATI, 0x0000,
                0x0000, 0x0000 },
            {   0xffff, 0x0000, 0x0000, 0x0000}, 1, 0

* Alexander Polakov <p...@sdf.org> [120902 21:40]:
> Suspending system...
> # Stopped at      x86emu_halt_sys+0x47f7: movl    0x40(%edi),%ecx
> x86emu_halt_sys(d408804c,3,f5470d6c,d0725f1c,d4088000) at 
> x86emu_halt_sys+0x47f
> 7
> x86emu_exec(d4088000,c000,3,d05b0887,0) at x86emu_exec+0x41
> vga_post_call(d4088000,c0,f5470dbc,f5470d8c,d4016400) at vga_post_call+0x6c
> vga_pci_activate(d4016400,3,f5470dbc,d05b2208,d3f29180) at 
> vga_pci_activate+0x9
> 8
> config_activate_children(d3f29180,3,f5470dec,d05b019c,0) at 
> config_activate_chi
> ldren+0x45
> config_activate_children(d4016600,3,4,100107,f5470e1c) at 
> config_activate_child
> ren+0x45
> ppbactivate(d4016600,3,f5470e5c,d05b2208,d3f29380) at ppbactivate+0x345
> config_activate_children(d3f29380,3,f5470e8c,d0840914,c0) at 
> config_activate_ch
> ildren+0x45
> config_activate_children(d4015fc0,3,1,f5470ebc,0) at 
> config_activate_children+0
> x45
> acpi_resume(d4013c00,3,0,d409a560,d4013c00) at acpi_resume+0x134
> ddb{0}> trace
> x86emu_halt_sys(d408804c,3,f5470d6c,d0725f1c,d4088000) at 
> x86emu_halt_sys+0x47f
> 7
> x86emu_exec(d4088000,c000,3,d05b0887,0) at x86emu_exec+0x41
> vga_post_call(d4088000,c0,f5470dbc,f5470d8c,d4016400) at vga_post_call+0x6c
> vga_pci_activate(d4016400,3,f5470dbc,d05b2208,d3f29180) at 
> vga_pci_activate+0x9
> 8
> config_activate_children(d3f29180,3,f5470dec,d05b019c,0) at 
> config_activate_chi
> ldren+0x45
> config_activate_children(d4016600,3,4,100107,f5470e1c) at 
> config_activate_child
> ren+0x45
> ppbactivate(d4016600,3,f5470e5c,d05b2208,d3f29380) at ppbactivate+0x345
> config_activate_children(d3f29380,3,f5470e8c,d0840914,c0) at 
> config_activate_ch
> ildren+0x45
> config_activate_children(d4015fc0,3,1,f5470ebc,0) at 
> config_activate_children+0
> x45
> acpi_resume(d4013c00,3,0,d409a560,d4013c00) at acpi_resume+0x134
> acpi_sleep_state(d4013c00,3,0,d0840d41,d409a560) at acpi_sleep_state+0x7a
> acpi_sleep_task(d4013c00,3,d9fd0744,1,d4013c00) at acpi_sleep_task+0x1a
> acpi_dotask(d4013c00,20,d09ccf9d,0,d03db6c2) at acpi_dotask+0x42
> acpi_thread(d3f27770) at acpi_thread+0x123
> Bad frame pointer: 0xd0bbbe28
> ddb{0}> boot reboot
> cbb0: bad Vcc request. sock_ctrl 0xffffff88, sock_status 0xffffffff
> rebooting...

Reply via email to