Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7459 - Different names of (virtual) hard drives, install CD boot vs. hda boot

Attached to Project: Arch Linux
Opened by Dmitry Golubovsky (golubovsky) - Monday, 18 June 2007, 14:55 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 19 June 2007, 13:36 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When booting from the installation CD (LinuxTag 2007 FTP ISO), QEMU/KVM's virtual PIIX3 IDE controller is used as a scsi-over-ata device, and disks are sdaX. When booting the unstalled system from virtual disk, the controller is used as a pure IDE device, and disks are hdaX. Comparison of dmesg's in both cases shows that libata is not loaded (and neither is scsi-over-ata layer) when booting from hda.

Additional info:

See this forum message for details:

http://bbs.archlinux.org/viewtopic.php?id=34225

Not tested on real PIIX controllers.

Steps to reproduce:

Install ArchLinux from CD. Analyze dmesg output. Boot the installed system. Analyze dmesg output.

PS This may be an issue with QEMU/KVM emulation, when booting from a "hard disk" puts the virtual IDE controller in the state when it cannot be correctly identified as requiring loading libata, contrary to the boot from "cdrom".

Otherwise there is some difference in the boot scripts between those on the CD and installed.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 19 June 2007, 13:36 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Tuesday, 19 June 2007, 11:30 GMT
AFAIR PIIX3 is supported by libata in 2.6.22 now.
Please test new kernel from http://archlinux.org/~tpowa/rc-kernel/
Comment by Dmitry Golubovsky (golubovsky) - Tuesday, 19 June 2007, 12:49 GMT
Does this mean that kernel on the CD and kernel installed (kernel26) are different? IMHO kernel installed was newer: the LinuxTag CD is of May 27, 2007, and kernel26 is of June 12, 2007. Unless the CD kernel has any special patches that support PIIX3, but kernel26 does not. Or initrd images differ between CD and what is installed (arch-fallback only worked for me).
Comment by Tobias Powalowski (tpowa) - Tuesday, 19 June 2007, 13:11 GMT
the support of libata should be there since .21 kernel, the question is how you installed archlinux, did you choose hwdetect to do autoconfiguration?
if not its your own stuff to get things correct.
Comment by Dmitry Golubovsky (golubovsky) - Tuesday, 19 June 2007, 13:34 GMT
I just ran the /arch/quickinst script (with manual changes per  FS#7445 , but they are not relevant). I did not do anything specific to enable hwdetect: my goal was to try to install Arch Linux on a virtual machine in the most straightforward way, and see what happens.

A side question: if hwdetect is enabled in CD boot (likely it is) then why isn't it enabled by default in what is installed?

Earlier I installed x86_64 version of Duke, disks show up as sda in both CD and hda boots.

So I'm just trying to narrow the problem down - it may be one of:

- my own omission that running quickinst I skipped some steps
- KVM/QEMU issue how it emulates block devices
- kernel issue when different device configuration is compiled on CD and in kernel26
- installed boot scripts which run hardware detection differently from CD ones

Comment by Tobias Powalowski (tpowa) - Tuesday, 19 June 2007, 13:36 GMT
quickinst is the hackiest way to isntall archlinux and only for experts that know how everything works, it will not modifiy any files for ya, thats the reason for your problems, use setup it's as fast as quickinst but does modify everything for you.

Loading...