[Eisfair] [E1] als Gast in KVM (virtio-Treiber)

Rolf Bensch azubi at bensch-net.de
Mi Sep 13 20:05:04 CEST 2017


Hallo Marcus,

Am 13.09.2017 um 19:16 schrieb Marcus Roeckrath:
>> Ergebnis: busybox :-(
> 
> Du hast das Modul auch in das passende Verzeichnis der initramfs kopiert:
> 
> /lib/modules/3.16.47-eisfair-1-VIRT
> 
> Dein Pfad oben läßt vermjten, dass du hier einen Bezug im root-Dateisystem
> versuchst, was aber noch nicht verfügbar ist.

korrekt vermutet, das habe ich jetzt behoben. Diese Fehlermeldung ist 
jetzt weg, busybox bleibt. Auch das parallel gesendete Posting habe ich 
gelesen und verstanden. Das ist (noch) ein Spielsystem.

> Falls das virtio_scsi weitere Module benötigt (Ausgabe von lsmod im
> laufenden System hilft bei der Ermittlung), müssen auch diese Module ins
> initramfs Dateisystem kopiert und im init-Skript in richtiger Reihenfolge
> geladen werden.

Das ist nicht so einfach. Habe die Boot-Platte jetzt bei SATA belassen 
und zusätzlich eine virtio-Platte eingebunden. Die virtio-Platte beibt 
unsichtbar.

> eis # lsmod
> Module                  Size  Used by
> ipv6                  211280  10
> virtio_net             13867  0
> isofs                  17515  0
> ide_tape               12697  0
> ide_cd_mod             20327  0
> cdrom                  18556  1 ide_cd_mod
> virtio_scsi             6769  0
> ahci                   21510  4
> libahci                15321  1 ahci
> libata                120804  2 ahci,libahci
> sd_mod                 27190  5
> scsi_mod               71083  3 libata,sd_mod,virtio_scsi
> hid_cherry              1044  0
> hid_generic              669  0
> usbhid                 20600  0
> hid                    39334  3 hid_cherry,hid_generic,usbhid
> xhci_hcd               76063  0
> ohci_pci                2072  0
> ohci_hcd               16032  1 ohci_pci
> uhci_hcd               17493  0
> ehci_pci                2460  0
> ehci_hcd               34921  1 ehci_pci
> usbcore               112398  7 uhci_hcd,ohci_hcd,ohci_pci,ehci_hcd,ehci_pci,usbhid,xhci_hcd
> usb_common              1072  1 usbcore
> psmouse                46491  0

Was kann ich daraus erkennen? Der virtio-Treiber ist geladen - aber 
fehlt irgendwas?

/var/log/messages zum Thema SCSI:

> Sep 13 19:54:41 eis kernel: SCSI subsystem initialized
> Sep 13 19:54:41 eis kernel: libata version 3.00 loaded.
> Sep 13 19:54:41 eis kernel: ahci 0000:00:05.0: version 3.0
> Sep 13 19:54:41 eis kernel: ahci 0000:00:05.0: irq 44 for MSI/MSI-X
> Sep 13 19:54:41 eis kernel: ahci 0000:00:05.0: AHCI 0001.0000 32 slots 6 ports 1.5 Gbps 0x3f impl SATA mode
> Sep 13 19:54:41 eis kernel: ahci 0000:00:05.0: flags: ncq only 
> Sep 13 19:54:41 eis kernel: scsi0 : ahci
> Sep 13 19:54:41 eis kernel: scsi1 : ahci
> Sep 13 19:54:41 eis kernel: scsi2 : ahci
> Sep 13 19:54:42 eis kernel: input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input3
> Sep 13 19:54:42 eis kernel: scsi3 : ahci
> Sep 13 19:54:42 eis kernel: scsi4 : ahci
> Sep 13 19:54:42 eis kernel: scsi5 : ahci
> Sep 13 19:54:42 eis kernel: ata1: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1100 irq 44
> Sep 13 19:54:42 eis kernel: ata2: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1180 irq 44
> Sep 13 19:54:42 eis kernel: ata3: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1200 irq 44
> Sep 13 19:54:42 eis kernel: ata4: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1280 irq 44
> Sep 13 19:54:42 eis kernel: ata5: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1300 irq 44
> Sep 13 19:54:42 eis kernel: ata6: SATA max UDMA/133 abar m4096 at 0xfebd1000 port 0xfebd1380 irq 44
> Sep 13 19:54:42 eis kernel: ata2: SATA link down (SStatus 0 SControl 300)
> Sep 13 19:54:42 eis kernel: ata6: SATA link down (SStatus 0 SControl 300)
> Sep 13 19:54:42 eis kernel: ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> Sep 13 19:54:42 eis kernel: ata1.00: ATA-7: QEMU HARDDISK, 2.0.0, max UDMA/100
> Sep 13 19:54:42 eis kernel: ata1.00: 83466650 sectors, multi 16: LBA48 NCQ (depth 31/32)
> Sep 13 19:54:42 eis kernel: ata1.00: applying bridge limits
> Sep 13 19:54:42 eis kernel: ata1.00: configured for UDMA/100
> Sep 13 19:54:42 eis kernel: scsi 0:0:0:0: Direct-Access     ATA      QEMU HARDDISK    0    PQ: 0 ANSI: 5
> Sep 13 19:54:42 eis kernel: ata5: SATA link down (SStatus 0 SControl 300)
> Sep 13 19:54:43 eis kernel: ata3: SATA link down (SStatus 0 SControl 300)
> Sep 13 19:54:43 eis kernel: ata4: SATA link down (SStatus 0 SControl 300)
> Sep 13 19:54:43 eis kernel: sd 0:0:0:0: [sda] 83466650 512-byte logical blocks: (42.7 GB/39.7 GiB)
> Sep 13 19:54:43 eis kernel: sd 0:0:0:0: [sda] Write Protect is off
> Sep 13 19:54:43 eis kernel: sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> Sep 13 19:54:43 eis kernel: sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> Sep 13 19:54:43 eis kernel:  sda: sda1 sda2 sda3 sda4
> Sep 13 19:54:43 eis kernel: sd 0:0:0:0: [sda] Attached SCSI disk
> Sep 13 19:54:43 eis kernel: virtio-pci 0000:00:08.0: irq 45 for MSI/MSI-X
> Sep 13 19:54:43 eis kernel: virtio-pci 0000:00:08.0: irq 46 for MSI/MSI-X
> Sep 13 19:54:43 eis kernel: virtio-pci 0000:00:08.0: irq 47 for MSI/MSI-X
> Sep 13 19:54:43 eis kernel: virtio-pci 0000:00:08.0: irq 48 for MSI/MSI-X
> Sep 13 19:54:43 eis kernel: scsi6 : Virtio SCSI HBA
> Sep 13 19:54:43 eis kernel: EXT3-fs (sda3): error: couldn't mount because of unsupported optional features (240)
> Sep 13 19:54:43 eis kernel: EXT2-fs (sda3): error: couldn't mount because of unsupported optional features (240)
> Sep 13 19:54:43 eis kernel: EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
> Sep 13 19:54:43 eis kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
> Sep 13 19:54:43 eis kernel: apm: overridden by ACPI.
> Sep 13 19:54:43 eis kernel: Adding 131068k swap on /dev/sda2.  Priority:-1 extents:1 across:131068k FS
> Sep 13 19:54:43 eis kernel: EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
> Sep 13 19:54:44 eis kernel: EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro
> Sep 13 19:54:44 eis kernel: EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: errors=remount-ro
> Sep 13 19:54:44 eis kernel: EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
> Sep 13 19:54:44 eis kernel: EXT4-fs (sda3): re-mounted. Opts: errors=remount-ro,acl,user_xattr
> Sep 13 19:54:44 eis kernel: EXT4-fs (sda4): re-mounted. Opts: acl,user_xattr
> Sep 13 19:54:44 eis kernel: ide-cd driver 5.00
> Sep 13 19:54:44 eis kernel: random: nonblocking pool is initialized
> Sep 13 19:54:44 eis kernel: ide-cd: hdc: ATAPI 4X DVD-ROM drive, 512kB Cache
> Sep 13 19:54:44 eis kernel: cdrom: Uniform CD-ROM driver Revision: 3.20
> Sep 13 19:54:44 eis kernel: virtio-pci 0000:00:03.0: irq 49 for MSI/MSI-X
> Sep 13 19:54:44 eis kernel: virtio-pci 0000:00:03.0: irq 50 for MSI/MSI-X
> Sep 13 19:54:44 eis kernel: virtio-pci 0000:00:03.0: irq 51 for MSI/MSI-X

Grüße Rolf


Mehr Informationen über die Mailingliste Eisfair