Re: [SeaBIOS] Linux-ready Firmware Kit

2012-03-04 Thread Peter Stuge
Fred . wrote: Intel provides a Linux-ready Firmware Kit, available on a LiveCD Yes. I guess it can give us a idea of the quality of the BIOS. So what were your results? //Peter ___ SeaBIOS mailing list SeaBIOS@seabios.org

[SeaBIOS] USB boot failes

2012-03-04 Thread Christian Gmeiner
As my last mail is still waiting for approval, I will resend it. Hi all, I am trying to boot Linux via Grub from an USB stick. I have tried the USB stick on my devel i5 machine and it worked. Log can be found here: http://nopaste.info/2b119334eb.html thanks -- Christian Gmeiner, MSc

Re: [SeaBIOS] [Qemu-devel] [PATCH] seabios: acpi: Add _STA for PCI hotplug slots

2012-03-04 Thread Kevin O'Connor
On Fri, Feb 24, 2012 at 04:21:17PM -0700, Alex Williamson wrote: When a Status method is provided on a slot, the OSPM evaluates _STA in response to the device check notify on the slot. This allows some degree of a handshake between the platform and the OSPM that the hotplug has been

Re: [SeaBIOS] How to Debug read operation on hda

2012-03-04 Thread Kevin O'Connor
On Wed, Feb 29, 2012 at 11:22:34AM +0900, Daniel Castro wrote: Greeting, As part of the xen code for PV-Drivers in Seabios I am trying to boot from a PV drive. The two ends are connected, and it should be working, but when I try to boot from the harddrive it fails. Inside the code I treat

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-04 Thread Kevin O'Connor
On Fri, Mar 02, 2012 at 03:10:33PM -0700, Dave Frodin wrote: Here are my latest results. The sg_modes command has a -a option to dump out all of the supported page codes - it reports that none of the thumbdrives (tested 9) support page code = 4 - it reports that most of the

Re: [SeaBIOS] [PATCH] seabios: acpi: Add _STA for PCI hotplug slots

2012-03-04 Thread Michael S. Tsirkin
On Fri, Feb 24, 2012 at 04:21:17PM -0700, Alex Williamson wrote: When a Status method is provided on a slot, the OSPM evaluates _STA in response to the device check notify on the slot. This allows some degree of a handshake between the platform and the OSPM that the hotplug has been

Re: [SeaBIOS] invalid handle_legacy_disk

2012-03-04 Thread Kevin O'Connor
On Fri, Mar 02, 2012 at 09:32:38AM +0100, Christian Gmeiner wrote: What is the cause of this error message? It means an application (eg, a bootloader) called a BIOS function with an invalid parameter. It's not a SeaBIOS error condition. (Indeed, it's quite common to see the bootloader probe

Re: [SeaBIOS] USB boot failes

2012-03-04 Thread Kevin O'Connor
On Sun, Mar 04, 2012 at 03:48:17PM +0100, Christian Gmeiner wrote: As my last mail is still waiting for approval, I will resend it. Hi all, I am trying to boot Linux via Grub from an USB stick. I have tried the USB stick on my devel i5 machine and it worked. Log can be found here:

Re: [SeaBIOS] Booting from USB thumbdrives, older drives boot, newer drives don't.

2012-03-04 Thread Kevin O'Connor
On Sun, Mar 04, 2012 at 12:05:14PM -0700, Dave Frodin wrote: Kevin/Paolo, Our concern was that actual rotating media (e.g. USB-to-SATA adapter) may have problems without the cdb_mode_sense_geom(). I hope to have my hands on one tomorrow to do some testing. My understanding is that the call

Re: [SeaBIOS] First access to the block drive

2012-03-04 Thread Kevin O'Connor
On Thu, Mar 01, 2012 at 05:39:25PM +0900, Daniel Castro wrote: Hello all, The xen pv drivers are almost done. When I start the booting process from hda seabios tries to read lba at 0 (sector 0) buffer (buf_fl) to 7c00 count 0 operation 0 (read) command 1 (unlisted) I do not understand

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Julian Pidancet
On Sun, Mar 4, 2012 at 7:04 PM, Kevin O'Connor ke...@koconnor.net wrote: On Sun, Mar 04, 2012 at 03:03:49AM +, Julian Pidancet wrote: I've done further debugging, and you can ignore all of the crap above. x86emu badly handles the retl instruction and only pops a 16bit wide value from the

Re: [SeaBIOS] [Seabios] [PATCH 0/6] 64bit PCI BARs allocations (take 2)

2012-03-04 Thread Kevin O'Connor
On Thu, Mar 01, 2012 at 06:50:43PM +1300, Alexey Korolev wrote: Hi, This patch series enables 64bit BAR support in seabios. It has a bit different approach for resources accounting, We did this because we wanted: a) Provide 64bit bar support for PCI BARs and bridges with 64bit memory

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Kevin O'Connor
On Sun, Mar 04, 2012 at 07:26:58PM +, Julian Pidancet wrote: On Sun, Mar 4, 2012 at 7:04 PM, Kevin O'Connor ke...@koconnor.net wrote: So, I guess the question is, how important is support for current/legacy x86emu versions? I've tried to replace .code16gcc with .code16 in

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Julian Pidancet
On Sun, Mar 4, 2012 at 7:54 PM, Kevin O'Connor ke...@koconnor.net wrote: The only thing I can think of would be to post-process the assembler and replace retl instructions with retw $2 instructions.  I'm not sure if it would work and it would be real ugly. As I mentionned, ret is not the

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Kevin O'Connor
On Sun, Mar 04, 2012 at 08:08:12PM +, Julian Pidancet wrote: On Sun, Mar 4, 2012 at 7:54 PM, Kevin O'Connor ke...@koconnor.net wrote: The only thing I can think of would be to post-process the assembler and replace retl instructions with retw $2 instructions.  I'm not sure if it would

Re: [SeaBIOS] Linux-ready Firmware Kit

2012-03-04 Thread Fred .
I haven't actually ran it yet. Just though I'd post it here as I came across it and thought it might be useful for the people here to know about. On Sun, Mar 4, 2012 at 12:34 PM, Peter Stuge pe...@stuge.se wrote: Fred . wrote: Intel provides a Linux-ready Firmware Kit, available on a LiveCD

Re: [SeaBIOS] usb ohci pipe free fix

2012-03-04 Thread Kevin O'Connor
On Sun, Mar 04, 2012 at 10:42:45PM +0100, Nils wrote: Hi kevin, Op zaterdag 03-03-2012 om 22:33 uur [tijdzone -0500], schreef Kevin O'Connor: I don't see anything wrong with the above code. (The barrier() should be moved, but I don't see that causing the problems you're seeing.)

Re: [SeaBIOS] [PATCH] seabios: acpi: Add _STA for PCI hotplug slots

2012-03-04 Thread Alex Williamson
On Sun, 2012-03-04 at 20:53 +0200, Michael S. Tsirkin wrote: On Fri, Feb 24, 2012 at 04:21:17PM -0700, Alex Williamson wrote: When a Status method is provided on a slot, the OSPM evaluates _STA in response to the device check notify on the slot. This allows some degree of a handshake

Re: [SeaBIOS] [PATCH] seabios: acpi: Add _STA for PCI hotplug slots

2012-03-04 Thread Michael S. Tsirkin
On Sun, Mar 04, 2012 at 08:30:00PM -0700, Alex Williamson wrote: On Sun, 2012-03-04 at 20:53 +0200, Michael S. Tsirkin wrote: On Fri, Feb 24, 2012 at 04:21:17PM -0700, Alex Williamson wrote: When a Status method is provided on a slot, the OSPM evaluates _STA in response to the device

Re: [SeaBIOS] [PATCH 4/6] Mapping of BARs and Bridge regions

2012-03-04 Thread Alexey Korolev
On 02/03/12 20:21, Gerd Hoffmann wrote: On 03/01/12 23:01, Alexey Korolev wrote: On 01/03/12 22:22, Gerd Hoffmann wrote: On 03/01/12 07:57, Alexey Korolev wrote: In pci_bios_map_regions() we try to reserve memory for all entries of root bus regions. If pci_bios_init_root_regions() fails -

Re: [SeaBIOS] [Seabios] [PATCH 0/6] 64bit PCI BARs allocations (take 2)

2012-03-04 Thread Alexey Korolev
On 03/01/12 22:48, Alexey Korolev wrote: Hi, What is your setup? I want to reproduce this case qemu: latest master with a few patches (mst's bridge patches, pci64 fixes from me, posted to qemu-devel a few days ago), bundle pushed to http://www.kraxel.org/cgit/qemu/log/?h=pci64 for your

Re: [SeaBIOS] [Seabios] [PATCH 0/6] 64bit PCI BARs allocations (take 2)

2012-03-04 Thread Alexey Korolev
On Thu, Mar 01, 2012 at 06:50:43PM +1300, Alexey Korolev wrote: Hi, This patch series enables 64bit BAR support in seabios. It has a bit different approach for resources accounting, We did this because we wanted: a) Provide 64bit bar support for PCI BARs and bridges with 64bit memory

Re: [SeaBIOS] [PATCH] seabios: acpi: Add _STA for PCI hotplug slots

2012-03-04 Thread Michael S. Tsirkin
On Sun, Mar 04, 2012 at 08:30:00PM -0700, Alex Williamson wrote: On Sun, 2012-03-04 at 20:53 +0200, Michael S. Tsirkin wrote: On Fri, Feb 24, 2012 at 04:21:17PM -0700, Alex Williamson wrote: When a Status method is provided on a slot, the OSPM evaluates _STA in response to the device

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Gerd Hoffmann
On 03/04/12 20:06, Kevin O'Connor wrote: On Fri, Mar 02, 2012 at 10:09:10AM +0100, Gerd Hoffmann wrote: Hi, Did some more testing of the vgabios today, two issues popped up: (1) screen isn't cleared in some cases. Visible with grub1 in text mode. When it displays the menu a few

Re: [SeaBIOS] vgabios testing

2012-03-04 Thread Gerd Hoffmann
Hi, It may be possible to post-process the resulting assembler code, but (assuming we could) it would be quite ugly. Too bad, but there is no way around that :( I've applied the following patch to x86emu and it seems to work better: So, I guess the question is, how important is support