All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Richter <stefanr@s5r6.in-berlin.de>
To: linux1394-user@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: Data about Apple iPod, Mac, Powerbook, iBook needed
Date: Sat, 08 Apr 2006 19:36:19 +0200	[thread overview]
Message-ID: <4437F493.9000803@s5r6.in-berlin.de> (raw)

Hi all,

a number of Apple iPods have buggy firmware which report a wrong disk 
size when plugged in. This may lead to I/O errors, making the iPod 
inaccessible under Linux. I have been told this happens especially if 
the kernel is configured for EFI partition support.

The USB storage driver already contains a workaround for several iPod 
models. We need to add the same to the FireWire storage driver (sbp2). 
Alas we cannot use the same model IDs like usb-storage to detect whether 
a disk is actually an iPod. In particular, sbp2 must be able to 
distinguish between iPods and Apple Macs or Powerbooks or iBooks which 
are attached to a Linux box in "target disk mode".

Therefore I need help from people who have a FireWire iPod and a Linux 
box with FireWire port:

1. Please plug it in via FireWire and report the output of
    $ cat /sys/bus/ieee1394/devices/000a27*-0/model_id
    and of
    $ dmesg | grep "hdwr sectors"
2. If it is an USB/FireWire combo iPod, please also plug it in
    via USB and report the output of
    $ dmesg | grep "hdwr sectors"
I would also like to know the model of iPod (i.e. generation of iPod) 
and the version of the Linux kernel.

I also need help from people who have an Apple Mac or Powerbook or iBook 
and a Linux box with FireWire port:

A. On the Linux box, unload the sbp2 driver:
    # modprobe -r sbp2
    Reload it with the following parameter:
    # modprobe sbp2 force_inquiry_hack=1
    Also make sure that ohci1394 is loaded. (Check with lsmod. Some
    rare host adapters need pcilynx instead oh ohci1394.)
B. Reboot the Apple and hold the "t" key. This boots the Mac into
    "target disk mode", i.e. lets it expose its built-in HDD as a
    FireWire disk. The "t" key can be released when a big FireWire
    symbol is shown on the screen.
C. Connect the Mac and the Linux box via FireWire. The sbp2 driver
    should now log in into the Mac, which will be shown in the kernel
    log as well as in /proc/scsi/scsi. Please report the output of
    $ dmesg | grep firmware_revision
D. The Mac can be unplugged and normally rebooted after this.

Thanks in advance to everyone who takes the time to collect these data.
-- 
Stefan Richter
-=====-=-==- -=-- -=---
http://arcgraph.de/sr/

             reply	other threads:[~2006-04-08 17:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-08 17:36 Stefan Richter [this message]
2006-04-15  7:55 ` Data about Apple iPod, Mac, Powerbook, iBook needed Jon Masters
2006-04-18  9:41   ` Jody McIntyre
2006-04-18 13:06     ` Jon Masters
2006-04-18 16:42       ` Stefan Richter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4437F493.9000803@s5r6.in-berlin.de \
    --to=stefanr@s5r6.in-berlin.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux1394-user@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.