[opensuse-virtual] PV driver problem about Opensuse 12.1 xen
Hi, We installed Opensuse 12.1 Xen and create Opensuse 12.1 as guest, but guest booting has I/O error and system can't boot correctly. I checked the code and find qemu unplug IDE disk and try to use PV driver disk. We used default configuration for opensuse installation. Now we disable pv driver in qemu, but it's not the default configuration for user. Does Opensuse 12.1 use PV driver by default? Does user need some special configuration for it, or any solution? Copy relative code: =====PV driver====: static int __devinit platform_pci_init(struct pci_dev *pdev, ... /* * Disconnect the emulated devices. */ outl(1, (ioaddr + 4)); ... ======Qemu =====: static void platform_ioport_write(void *opaque, uint32_t addr, uint32_t val) ... case 4: fprintf(logfile, "Disconnect IDE hard disk...\n"); ide_unplug_harddisks(); fprintf(logfile, "Disconnect SCSI hard disk...\n"); pci_unplug_scsi(); ... Best Regards, Xudong Hao -- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Hi, all Does anyone work on it and know the solution of this issue? Thanks, -Xudong
-----Original Message----- From: Hao, Xudong Sent: Monday, June 18, 2012 4:23 PM To: opensuse-virtual@opensuse.org Subject: PV driver problem about Opensuse 12.1 xen
Hi,
We installed Opensuse 12.1 Xen and create Opensuse 12.1 as guest, but guest booting has I/O error and system can't boot correctly. I checked the code and find qemu unplug IDE disk and try to use PV driver disk. We used default configuration for opensuse installation.
Now we disable pv driver in qemu, but it's not the default configuration for user. Does Opensuse 12.1 use PV driver by default? Does user need some special configuration for it, or any solution?
Copy relative code:
=====PV driver====: static int __devinit platform_pci_init(struct pci_dev *pdev, ... /* * Disconnect the emulated devices. */ outl(1, (ioaddr + 4)); ...
======Qemu =====: static void platform_ioport_write(void *opaque, uint32_t addr, uint32_t val) ... case 4: fprintf(logfile, "Disconnect IDE hard disk...\n"); ide_unplug_harddisks(); fprintf(logfile, "Disconnect SCSI hard disk...\n"); pci_unplug_scsi(); ...
Best Regards, Xudong Hao
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Hao, Xudong wrote:
Hi, all
Does anyone work on it and know the solution of this issue?
This question was answered on an internal mailing list, but opensuse-virtual was not included. Here is Olaf's answer: 12.1 has no PV drivers in the inst-sys, in addition the ata_piix driver is compiled into the kernel, and the installer uses kexec to boot from first stage of installation into second stage of installation. The sum of all that leads to the issues described below, in a HVM guest. 12.2 has these issues fixed, as of current Factory. Olaf
-----Original Message----- From: Hao, Xudong Sent: Monday, June 18, 2012 4:23 PM To: opensuse-virtual@opensuse.org Subject: PV driver problem about Opensuse 12.1 xen
Hi,
We installed Opensuse 12.1 Xen and create Opensuse 12.1 as guest, but guest booting has I/O error and system can't boot correctly. I checked the code and find qemu unplug IDE disk and try to use PV driver disk. We used default configuration for opensuse installation.
Now we disable pv driver in qemu, but it's not the default configuration for user. Does Opensuse 12.1 use PV driver by default? Does user need some special configuration for it, or any solution?
Copy relative code:
=====PV driver====: static int __devinit platform_pci_init(struct pci_dev *pdev, ... /* * Disconnect the emulated devices. */ outl(1, (ioaddr + 4)); ...
======Qemu =====: static void platform_ioport_write(void *opaque, uint32_t addr, uint32_t val) ... case 4: fprintf(logfile, "Disconnect IDE hard disk...\n"); ide_unplug_harddisks(); fprintf(logfile, "Disconnect SCSI hard disk...\n"); pci_unplug_scsi(); ...
Best Regards, Xudong Hao
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
Jim, Thanks for share this answer to me. Thanks, -Xudong
-----Original Message----- From: Jim Fehlig [mailto:jfehlig@suse.com] Sent: Wednesday, June 20, 2012 1:40 PM To: Hao, Xudong Cc: 'opensuse-virtual@opensuse.org' Subject: Re: [opensuse-virtual] RE: PV driver problem about Opensuse 12.1 xen
Hao, Xudong wrote:
Hi, all
Does anyone work on it and know the solution of this issue?
This question was answered on an internal mailing list, but opensuse-virtual was not included. Here is Olaf's answer:
12.1 has no PV drivers in the inst-sys, in addition the ata_piix driver is compiled into the kernel, and the installer uses kexec to boot from first stage of installation into second stage of installation. The sum of all that leads to the issues described below, in a HVM guest.
12.2 has these issues fixed, as of current Factory.
Olaf
-----Original Message----- From: Hao, Xudong Sent: Monday, June 18, 2012 4:23 PM To: opensuse-virtual@opensuse.org Subject: PV driver problem about Opensuse 12.1 xen
Hi,
We installed Opensuse 12.1 Xen and create Opensuse 12.1 as guest, but guest booting has I/O error and system can't boot correctly. I checked the code and find qemu unplug IDE disk and try to use PV driver disk. We used default configuration for opensuse installation.
Now we disable pv driver in qemu, but it's not the default configuration for user. Does Opensuse 12.1 use PV driver by default? Does user need some special configuration for it, or any solution?
Copy relative code:
=====PV driver====: static int __devinit platform_pci_init(struct pci_dev *pdev, ... /* * Disconnect the emulated devices. */ outl(1, (ioaddr + 4)); ...
======Qemu =====: static void platform_ioport_write(void *opaque, uint32_t addr, uint32_t val) ... case 4: fprintf(logfile, "Disconnect IDE hard disk...\n"); ide_unplug_harddisks(); fprintf(logfile, "Disconnect SCSI hard disk...\n"); pci_unplug_scsi(); ...
Best Regards, Xudong Hao
-- To unsubscribe, e-mail: opensuse-virtual+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-virtual+owner@opensuse.org
participants (2)
-
Hao, Xudong
-
Jim Fehlig