Ti Powerbooks and YDL 2.1 - Problems
Quoted 8 lines · Gavin Hemphill
Well I've just spent an interesting two days documenting a problem with the Ti Powerbooks and the 2.4 series kernels. I have access to two 500Mhz Ti's with the Matshita DVD-ROM SR-8187 drives. When I tried to follow Dan Burcaw's experimental instructions on doing a yup update of YDL2.0 to 2.1 I ran into the problem that a mount of any CD returned the error message "wrong media type" (I hadn't used the CD at all since moving to the 2.4 series kernels).
Did you try to mount it via the loop device:
mount -o loop -t hfs /dev/cdrom /mnt/wherever
If this works, then you hit a kernel bug that was discussed 2 weeks ago on linuxppc-dev
(thread "hfs cdrom broken in 2.4.13-pre" in
http://lists.linuxppc.org/linuxppc-dev/200110/threads5.html). It seems to have been introduced around 2.4.10 and IIRC the result of the discussion was that nobody was going to fix it.
Just a guess, could be something else entirely, of course.
--
Martin
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Well I've just spent an interesting two days documenting a problem with the Ti Powerbooks and the 2.4 series kernels. I have access to two 500Mhz Ti's with the Matshita DVD-ROM SR-8187 drives. When I tried to follow Dan Burcaw's experimental instructions on doing a yup update of YDL2.0 to 2.1 I ran into the problem that a mount of any CD returned the error message "wrong media type" (I hadn't used the CD at all since moving to the 2.4 series kernels). After trying all the various ways of mounting an ISO CD I decided to try the 2.2 series kernels (which of course are on the 2.0 CD - catch 22). After downloading the old kernel RPM's and installing them I was able to mount the CD with no problem and actually completed the yup update to 2.1. However with the new 2.4.10 kernel in place I'm back to the error message if I try and mount the CD I used to do the update. I've tried the latest kernels from Benh, and the bk tree and they all report the same error. It looks like the drive is reporting that it doesn't have a DVD inserted, and fails to allow for the fact that CDROMS are valid. As a side note I've also observed this error message on my G4 733 Tower with the superdrive.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines
Well I've just spent an interesting two days documenting a problem with the Ti Powerbooks and the 2.4 series kernels. I have access to two 500Mhz Ti's with the Matshita DVD-ROM SR-8187 drives. When I tried to follow Dan Burcaw's experimental instructions on doing a yup update of YDL2.0 to 2.1 I ran into the problem that a mount of any CD returned the error message "wrong media type" (I hadn't used the CD at all since moving to the 2.4 series kernels). After trying all the various ways of mounting an ISO CD I decided to try the 2.2 series kernels (which of course are on the 2.0 CD - catch 22). After downloading the old kernel
Quoted 8 lines
RPM's and installing them I was able to mount the CD with no problem and actually completed the yup update to 2.1. However with the new 2.4.10 kernel in place I'm back to the error message if I try and mount the CD I used to do the update. I've tried the latest kernels from Benh, and the bk tree and they all report the same error. It looks like the drive is reporting that it doesn't have a DVD inserted, and fails to allow for the fact that CDROMS are valid. As a side note I've also observed this error message on my G4 733 Tower with the superdrive.
This problem have been introduced by a change in the generic kernel code that no longer does the necessary block size translation to mount the 512 bytes block HFS filesystem from a 2048 bytes block CDROM device.
You have to mount it via the loopback device.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines
Quoted 8 lines
Well I've just spent an interesting two days documenting a problem with the Ti Powerbooks and the 2.4 series kernels. I have access to two 500Mhz Ti's with the Matshita DVD-ROM SR-8187 drives. When I tried to follow Dan Burcaw's experimental instructions on doing a yup update of YDL2.0 to 2.1 I ran into the problem that a mount of any CD returned the error message "wrong media type" (I hadn't used the CD at all since moving to the 2.4 series kernels).
Quoted 6 lines
Did you try to mount it via the loop device:
mount -o loop -t hfs
/dev/cdrom/mnt/whereverIf this works, then you hit a kernel bug that was discussed 2 weeks ago on linuxppc-dev
This isn't a bug but a new feature :-) At least it's part of a new feature (reblocking for filesystems where hardware blocksize doesn't match filesystem blocksize via loopback) introduced in recent 2.4 kernels (which-shoud-really-be-renamed-2.5 (tm)).
Michael
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/