[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#636854: linux>=2.38 CD/DVD on PPC/Mac no longer works with udev because a powerpc specific module is not compiled



Package: linux-image-2.6.39-2-powerpc64
Version: 2.6.39-3
Severity: grave
Source: linux-2.6

(And a new one: reportbug segfaults here and no time to investigate
why, so back to old way to submit bugs.)

No comments from message
http://lists.debian.org/debian-kernel/2011/07/msg00630.html on
debian-kernel list, so here I am :)

I guess the real bug should be tagged against the kernel-source
package and it also affects the linux-image-2.6.39-2-powerpc package
at least (and probably the smp one also, but I can't test this later
one).


Here is the recent problem:
Since a udev update a few weeks ago, CD and DVD are no longer
recognized on (at least several) PPC Mac hardware with Testing.

The problem seems to be related to bug #635107 i.e. the ide driver is
now marked as deprecated, and the pata (or sata when relevant) drivers
should be used in place.

If I analyzed the situation correctly, the pata driver does exist for
PPC Mac but is not provided by the debian kernel:

>From lspci for two of my machines under testing:

PowerMac G5:
0001:03:0d.0 Unassigned class [ff00]: Apple Computer Inc. Shasta IDE
0001:03:0d.0 ff00: 106b:0050

Mac-mini G4:
0002:20:0d.0 Unassigned class [ff00]: Apple Computer Inc.
UniNorth/Intrepid ATA/100
0002:20:0d.0 ff00: 106b:003b

According to http://cateee.net/lkddb/web-lkddb/PATA_MACIO.html the
PATA driver for both is drivers/ata/pata_macio.c activated with
CONFIG_ATA CONFIG_PATA_MACIO Nonetheless, the configuration file of
the kernel says:

PowerMac:
$ grep PATA_MACIO /boot/config-2.6.39-2-powerpc64
# CONFIG_PATA_MACIO is not set

and Mac-mini:
$ grep PATA_MACIO /boot/config-2.6.39-2-powerpc
# CONFIG_PATA_MACIO is not set

Therefore, the patch should be as trivial as (not tested though):

--- config.old	2011-08-06 12:52:46.000000000 +0200
+++ config	2011-08-06 12:53:43.000000000 +0200
@@ -1560,7 +1560,7 @@
 # CONFIG_PATA_IT8213 is not set
 CONFIG_PATA_IT821X=m
 CONFIG_PATA_JMICRON=m
-# CONFIG_PATA_MACIO is not set
+CONFIG_PATA_MACIO=m
 CONFIG_PATA_MARVELL=m
 # CONFIG_PATA_NETCELL is not set
 # CONFIG_PATA_NINJA32 is not set

Regards,
-- 
Stephane



Reply to: