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#25753 - [linux] disable CONFIG_BLK_DEV_IDECD

Attached to Project: Arch Linux
Opened by Tom Gundersen (tomegun) - Thursday, 25 August 2011, 13:13 GMT
Last edited by Thomas Bächler (brain0) - Thursday, 25 August 2011, 13:22 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This would remove the ide-cd module, which has been deprecated for some time.

Rationale:

udev's cdrom handling have for a long time not dealt with drives using this module. We have a rule to partially compensate for this (it puts cdrom drives using the legacy module in the 'optical' group). However, there are many other features in udev's cdrom handling that we don't support.

I don't like supporting things half-way. We should either make upstream support legacy ide-cd properly, or we should remove ide-cd altogether.

I asked Kay (upstream) about this, and he told me that the new sr module supports all the drives that ide-cd did:

[14:12] <tomegun> kay: speaking of cdrom's i have been meaining to ask: i noticed that there is no longer support for legacy (ide) cdrom's in the upstream cdrom rules. we still have them in Arch,but i want to kill them (or move them upstream if they cannot be killed). is it known that ide-cdrom is never needed anymore? i know it is marked as depreecated, but i see it is shipped by e.g. fedora, so wonder if some hw still needs it?
[14:36] <kay> tomegun: it's dead. will not come back
[14:37] <kay> tomegun: disable it in the kernel
[14:38] <tomegun> ok, so I assume all hardware is supported by the new sr module?
[14:41] <kay> tomegun: yeah, it is since very long. there was some old powermac stuff missing, but long ago

I guess the worst case scenario if we disable this is that we find a bug in sr, which will either get fixed in sr, or the legacy cdrom support will get added back to udev.
This task depends upon

Closed by  Thomas Bächler (brain0)
Thursday, 25 August 2011, 13:22 GMT
Reason for closing:  Won't implement
Comment by Thomas Bächler (brain0) - Thursday, 25 August 2011, 13:22 GMT
Your rationale is completely wrong and I suggest you do some research first next time.

The sr_mod module is not a replacement for the ide-cd module. They are based on completely different subsystems. You cannot disable ide-cd and keep the rest of the IDE subsystem around, as that would make CD drives unusable that are attached to the IDE bus using the legacy IDE subsystem.

The only sensible option here is disabling CONFIG_IDE entirely. As for that, see https://bugzilla.kernel.org/show_bug.cgi?id=41582.

Loading...