On Tuesday, August 03, 2010 6:49:07 am Oleg Sharoyko wrote: > Hi! > > I'm trying to make FreeBSD (9-Current, checkout on 2010-08-01) correctly > suspend/resume on macbook pro. As of now I have to issues with resume: > > 1. Display stays blank upon resume. Got 'vga0: failed to reload state' > in dmesg, but I haven't looked into this yet. > > 2. Some hardware is missing upon resume, specifically ath, msk and firewire. > This devices disappear because rather strange values are being > read from pci config space (such as vendor id, device id and others).
I wonder if the bus numbers for PCI-PCI bridges need to be restored on resume? If they aren't then config transactions won't be routed properly. You could add a pcib_resume() method that prints out the various bus register values after resume to see if they match what we print out during boot. -- John Baldwin _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"