All of lore.kernel.org
 help / color / mirror / Atom feed
* AHCI Boot disk?
@ 2012-02-13  8:55 Conrad Wood
  2012-02-13  9:50 ` Gleb Natapov
  0 siblings, 1 reply; 3+ messages in thread
From: Conrad Wood @ 2012-02-13  8:55 UTC (permalink / raw)
  To: kvm

Hello,

I am attempting to test AHCI disks and find that I am unable to boot of
the disk, even though the disk is seen if I do a network boot.

This works:

-drive
file=/srv/kvm/debian.raw,if=virtio,cache=writeback,bus=0,index=0,media=disk,format=raw,serial=1,boot=on

This [1] does not:

-drive file=/srv/kvm/debian.raw,if=none,id=${AHCIID} \
-device ahci,id=${AHCIID} \
-device ide-hd,drive=${AHCIID},bus=${AHCIID}.0 

The latter gives me : "Boot failed. Could not read the boot disk"

1. Should it work?
2. If so, what am I doing wrong? ;)

Any help much appreciated!

Conrad

[1]
http://wiki.qemu.org/ChangeLog/0.14#IDE_.2F_AHCI


-- 
Conrad Wood
(Deputy CTO, Head of Research & Innovations)

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
 
Office:         +49 30 51 64 09 21
DDI:            +49 30 51 300 021
Email:          conrad.wood@profitbricks.com
URL:            http://www.profitbricks.com/
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AHCI Boot disk?
  2012-02-13  8:55 AHCI Boot disk? Conrad Wood
@ 2012-02-13  9:50 ` Gleb Natapov
  2012-02-13  9:51   ` Conrad Wood
  0 siblings, 1 reply; 3+ messages in thread
From: Gleb Natapov @ 2012-02-13  9:50 UTC (permalink / raw)
  To: Conrad Wood; +Cc: kvm

On Mon, Feb 13, 2012 at 09:55:46AM +0100, Conrad Wood wrote:
> Hello,
> 
> I am attempting to test AHCI disks and find that I am unable to boot of
> the disk, even though the disk is seen if I do a network boot.
> 
> This works:
> 
> -drive
> file=/srv/kvm/debian.raw,if=virtio,cache=writeback,bus=0,index=0,media=disk,format=raw,serial=1,boot=on
> 
You shouldn't use boot=on.

> This [1] does not:
> 
> -drive file=/srv/kvm/debian.raw,if=none,id=${AHCIID} \
> -device ahci,id=${AHCIID} \
> -device ide-hd,drive=${AHCIID},bus=${AHCIID}.0 
> 
> The latter gives me : "Boot failed. Could not read the boot disk"
> 
> 1. Should it work?
AFAIK yes if you BIOS is up-to-date.

> 2. If so, what am I doing wrong? ;)
> 
Try to compile BIOS from git://git.seabios.org/seabios.git

> Any help much appreciated!
> 
> Conrad
> 
> [1]
> http://wiki.qemu.org/ChangeLog/0.14#IDE_.2F_AHCI
> 
> 
> -- 
> Conrad Wood
> (Deputy CTO, Head of Research & Innovations)
> 
> ProfitBricks GmbH
> Greifswalder Str. 207
> D - 10405 Berlin
>  
> Office:         +49 30 51 64 09 21
> DDI:            +49 30 51 300 021
> Email:          conrad.wood@profitbricks.com
> URL:            http://www.profitbricks.com/
> Sitz der Gesellschaft: Berlin
> Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
> Geschäftsführer: Andreas Gauger, Achim Weiss
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
			Gleb.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: AHCI Boot disk?
  2012-02-13  9:50 ` Gleb Natapov
@ 2012-02-13  9:51   ` Conrad Wood
  0 siblings, 0 replies; 3+ messages in thread
From: Conrad Wood @ 2012-02-13  9:51 UTC (permalink / raw)
  To: Gleb Natapov; +Cc: kvm

On Mon, 2012-02-13 at 11:50 +0200, Gleb Natapov wrote:
> On Mon, Feb 13, 2012 at 09:55:46AM +0100, Conrad Wood wrote:
> > Hello,
> > 
> > I am attempting to test AHCI disks and find that I am unable to boot of
> > the disk, even though the disk is seen if I do a network boot.
> > 
> > This works:
> > 
> > -drive
> > file=/srv/kvm/debian.raw,if=virtio,cache=writeback,bus=0,index=0,media=disk,format=raw,serial=1,boot=on
> > 
> You shouldn't use boot=on.

Yes... but in our specific case we cannot use boot-order (yet)...
Thanks for point it out though ;)


> 
> > This [1] does not:
> > 
> > -drive file=/srv/kvm/debian.raw,if=none,id=${AHCIID} \
> > -device ahci,id=${AHCIID} \
> > -device ide-hd,drive=${AHCIID},bus=${AHCIID}.0 
> > 
> > The latter gives me : "Boot failed. Could not read the boot disk"
> > 
> > 1. Should it work?
> AFAIK yes if you BIOS is up-to-date.
> 
> > 2. If so, what am I doing wrong? ;)
> > 
> Try to compile BIOS from git://git.seabios.org/seabios.git

ok, will do. Thanks

Conrad

-- 
Conrad Wood
(Deputy CTO, Head of Research & Innovations)

ProfitBricks GmbH
Greifswalder Str. 207
D - 10405 Berlin
 
Office:         +49 30 51 64 09 21
DDI:            +49 30 51 300 021
Email:          conrad.wood@profitbricks.com
URL:            http://www.profitbricks.com/
Sitz der Gesellschaft: Berlin
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-13  9:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13  8:55 AHCI Boot disk? Conrad Wood
2012-02-13  9:50 ` Gleb Natapov
2012-02-13  9:51   ` Conrad Wood

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.