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

Bug#685414: installation-reports: Hangs while searching drives on a Mac Mini G4 (PowerPC)



Hi Gunnar

Gunnar Wolf <gwolf@gwolf.org> writes:

> I just tried with the daily image for today, and got exactly the same
> results :(

Not good :-(

Which daily image did you use exactly. You may need to use a netboot
image to really get the latest mountmedia. I'm not sure how the daily
cdroms images are currently built. They may be built with the beta1
installer. Please verify that you have mountmedia 0.21 on your
installation  medium. 

This image contains mountmedia 0.21:
http://d-i.debian.org/daily-images/powerpc/daily/powerpc/netboot/mini.iso

>
> The bug you mention happens at a much later stage (at
> partman-auto-lvm, my lockup happens just after localechooser),
> although it does sound related - Trying to mount /dev/sda1 from the
> console still hangs. However, the following messages in
> /var/log/syslog grab my attention:

The bug I mentioned happens every time mountmedia is run. The
installation report also reports two hangs earlier during installation.

#684293 is the corresponding bug in the linux kernel which is the root
cause of the issue I suspect to be your problem.

>
> Aug 27 16:05:32 hw-detect: Missing modules 'pata_macio (KeyLargo ATA)

As Milan pointed out this is harmless.

>
> Before getting to hw-detect, a request to mount any of the partitions
> results in:
>
> # mount /dev/sda1 /media
> mount: mounting /dev/sda1 on /media failed: No such file or directory
> # mount /dev/sda2 /media
> mount: mounting /dev/sda2 on /media failed: No such file or directory
>
> But once at this stage, "real" partitions mount successfully:
>
> # mount /dev/sda2 /media
> #

So it seems that at least some part to make the partitions work is
missing before hw-detect. You could compare the list of loaded kernel
modules. But I'm not sure if this is really relevant because after
hw-detect at least /dev/sda2 is fine.

>
> But attempting to mount /dev/sda1 just hangs, without issuing any
> messages either to the console or to the syslog. Even attempting to
> kill -9 the 'mount' process fails.
>
> FWIW, the mount command that's also stalled from d-i is:
>
> mount -t auto -o ro /dev/sda1 /hd-media
>

I think that's the important part. This is exactly the same behavior as
in the two bug reports I mentioned. The fix in mountmedia skips
partitions we know to hang. This leaves to posibilities. Either your
image does not have the fixed mountmedia or the fix is not correct for
powerpc (apple partition tables). What does 

blkid -p -s PART_ENTRY_TYPE /dev/sda1 | cut -d ' ' -f 2 | cut -d \" -f 2

report? In mountmedia we currently skip tpyes 0x5 and 0xf. Maybe another
type has to be skipped for apple partition tables. If your partition
type is different you can modify /bin/mountmedia with nano and add your
partition type to the list of types to avoid.

Gaudenz

-- 
Ever tried. Ever failed. No matter.
Try again. Fail again. Fail better.
~ Samuel Beckett ~


Reply to: