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#3664 - SATA DVD not recognized

Attached to Project: Arch Linux
Opened by Moo-Crumpus (Moo-Crumpus) - Monday, 26 December 2005, 06:18 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 02 January 2006, 21:51 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

DVD drive not recognized

The ata_piix SATA driver grabs ownership over the IDE ports when it is loaded, but (by default) does not support PATA ATAPI devices such as the Ultrabay optical drives. Thus, if the ide driver is compiled as a module and loaded after ata_piix, the DVD drive will not be recognized by either driver.

Either of the following configurations will work:

* For kernel 2.6.14 and newer: enable ATAPI support in the SATA system using libata.atapi_enabled=1 (this is experimental).
* Compile IDE into the kernel (non-module).
* Compile both IDE and SATA as modules and make sure IDE is loaded first (the module is called 'ide_generic').
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 03 January 2006, 14:17 GMT
Reason for closing:  Fixed
Comment by Judd Vinet (judd) - Monday, 26 December 2005, 06:45 GMT
Thanks for investigating, Moo-Crumpus.

It seems that the third option is the easiest to do. Tpowa, do you see any downsides to automatically loading ide_generic (and ide-core) before other modules in the initrd?

If so, the other option is to properly document this little gotcha in the installation FAQ and elsewhere.
Comment by Moo-Crumpus (Moo-Crumpus) - Monday, 26 December 2005, 08:15 GMT
Quick response, how nice. Btw, the 7.1 pre installation image is affected, too. I can only test my environment - and only own a sata dvd - but it is not recognized.
Comment by Tobias Powalowski (tpowa) - Monday, 26 December 2005, 09:11 GMT
should be possible, the ppl can still remove the modules with remove= array
Comment by Tobias Powalowski (tpowa) - Monday, 26 December 2005, 09:23 GMT
moo could you try this mkinitrd?
it should fix your problem
   mkinitrd (21.3 KiB)
Comment by sml (sml) - Monday, 26 December 2005, 10:42 GMT
This bug duplicates Bug ID 3645 raised on 21 Dec 05.

One should be superceded.
Comment by Moo-Crumpus (Moo-Crumpus) - Monday, 26 December 2005, 12:06 GMT
tpowa, what to do with the mkinitrd?
code:
mkinitrd full
?
Comment by Tobias Powalowski (tpowa) - Monday, 26 December 2005, 12:13 GMT
replace your /sbin/mkinitrd with it
and rerun mkinitrd auto
Comment by sml (sml) - Monday, 26 December 2005, 12:20 GMT
Thanks tpowa ... I tested the new mkinitrd and these errors were noted ... I could see no sign of the DVD/CDROM drive being recognised in dmesg

Dec 26 22:36:32 myhost udev[3844]: main: action, subsystem or devpath missing
Dec 26 22:36:32 myhost ide0: I/O resource 0x1F0-0x1F7 not free.
Dec 26 22:36:32 myhost ide0: ports already in use, skipping probe
Dec 26 22:36:32 myhost ide1: I/O resource 0x170-0x177 not free.
Dec 26 22:36:32 myhost ide1: ports already in use, skipping probe
Dec 26 22:36:32 myhost hw_random: RNG not detected
Dec 26 22:36:32 myhost shpchp: acpi_shpchprm:\_SB_.PCI0.PCI1 _HPP fail=0x5
Dec 26 22:36:32 myhost shpchp: acpi_pciehprm:\_SB_.PCI0.PCI1 OSHP fails=0x5
Comment by Moo-Crumpus (Moo-Crumpus) - Monday, 26 December 2005, 12:27 GMT
not solved, 2
should appear as /dev/scd* - here as /dev/scd1 as /dev/scd0 is already available as scsi, but it doesn't.
Comment by sml (sml) - Monday, 26 December 2005, 13:02 GMT
Rather than creating workarounds for 2.6.14 could we compile a 2.6.15rc kernel in testing? The issue is resolved in 2.6.15.
Comment by Tobias Powalowski (tpowa) - Monday, 26 December 2005, 13:29 GMT
Moo do you mean ide-generic or generic? tehy are both for ide?
Comment by Moo-Crumpus (Moo-Crumpus) - Monday, 26 December 2005, 15:18 GMT
The readme mentions "ide_generic". ide_generic must be the first to be loaded. How about sml's idea - not to puzzle with 2.14, but do 2.6.15 to testing / unstable. I don't know when the 7.1 iso shall be released, and what kernel it will use to boot. If one has only sata dvd, he can't start the installation, if it will be 2.6.14. If it will be 2.6.15, then have a nice day all of you. :)
Comment by Tobias Powalowski (tpowa) - Tuesday, 27 December 2005, 08:32 GMT
hi now new mkinitrd changed the name from _ to - so it might work now.
   mkinitrd (21.3 KiB)
Comment by sml (sml) - Tuesday, 27 December 2005, 10:15 GMT
Thanks tpowa. I created the new initrd26.img. When I checked dmesg there was no sign that the dvd/cdrom was detected.
This comment was noted in dmesg ...
libata version 1.12 loaded.

Comment by Tobias Powalowski (tpowa) - Tuesday, 03 January 2006, 11:53 GMT
is this now fixed with 2.6.15-2?
Comment by Tobias Powalowski (tpowa) - Tuesday, 03 January 2006, 13:49 GMT
ok next mkinitrd try, please report success i think i have found the problem atapi_enabled=1 was never passsed to module.
   mkinitrd (21.3 KiB)
Comment by Tobias Powalowski (tpowa) - Tuesday, 03 January 2006, 14:17 GMT
ok mkinitrd update is up ont they way, this one fixes it \o/

Loading...