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

[debian-users:35004] can't umount ieee1394 removable disk(ipod)



広野と申します。

ieee1394関連ではまってます。ipodをマウントまではできている
のですが、アンマウントできません。対処方法を教えて下さい。

【症状】

1.概要
 ipod(windows版5G)をマウントし、gnupod
 http://www.blinkenlights.ch
 を使用して、書き込むことまではできています。

 しかし、その後、umountしようとすると、次のようになって
 アンマウントできません。
# umount /mnt/ipod/
umount: /mnt/ipod: デバイスを使用中です

 どうも、scsi1が使用中のままになってしまっているような気
もしますが、原因と対処がわかりません。

2.環境
(1)linux
 debian woody(x86)
 カーネル:2.4.19-k7(testingから持ってきました)
  #woodyの2.4.18-k7では、ieee1394でipodの認識がうまくいかな
  かったため。

(2)機械
 CPU: athron XP 1500+
  ieee1394ボード: logitec LHA1394L
  (チップセットは調べましたがわかりません。TIのようですが)

3.ブート後、問題に至るまでの経緯

$ su
# modprobe ohci1394
# modprobe sbp2
(ここでdmesgで確認するときちんと認識されていないため)
# rmmod sbp2 && insmod sbp2
(これで認識されるようになる)
# mount /dev/sda2 /mnt/ipod
(その後、gnupod を使用する)
(例)
# gnupod_addsong.pl /mnt/ipod /home/jun/mp3/cab_calloway/minnie_the_moocher/*               
gnupod addsong 0.41 (C) 2002 Adrian Ulrich
Part of the gnupod-tools collection
This tool copies files to your iPod and updates the gnuPod file

This action would add 21 item(s) to your iPod wich is mounted at
 /mnt/ipod

Hit ENTER to continue, CTRL+C to abort.

> Parsing old GNUtunesDB (time to pray!)
> Done, last used id was 294
> Searching space for new files and creating elements..
+ /home/jun/mp3/cab_calloway/minnie_the_moocher/emaline.mp3
...snip...
+ /home/jun/mp3/cab_calloway/minnie_the_moocher/zaz_zuh_zaz.mp3
done, writing file
-> done, added 21 file(s)
-> NOTE: run 'mktunes.pl' *BEFORE* unmounting your iPod!
# mktunes.pl /mnt/ipod
mktunes.pl 0.41 (C) 2002 Adrian Ulrich
Part of the gnupod-tools collection
This tool updates your iTunesDB with the content of the gnuPodDB

This action will *REPLACE* your current iTunesDB with the contents of the
current GNUpod file

Hit ENTER to continue, CTRL+C to abort

> Parsing '/mnt/ipod/iPod_Control/.gnupod/GNUtunesDB' (time to pray!)
> Creating File Database..
Writing 11100000
> Creating Playlists..
> Generating playlists, found 0
> Packing file

You can now umount your iPod. [Files: 273]
  - May the iPod be with you!

hosakaII:~# umount /mnt/ipod/
umount: /mnt/ipod: デバイスを使用中です

となってしまいます。

参考に、この時点でのlsmod と dmesg (関連部分のみ)を添付します。

--lsmod の結果---
# lsmod
Module                  Size  Used by    Not tainted
nls_cp437               4380   2  (autoclean)
sbp2                   15872   1 
sd_mod                 10796   2  (autoclean)
ohci1394               15916   0  (unused)
ieee1394               30540   0  [sbp2 ohci1394]
sg                     29052   0  (autoclean)
sr_mod                 12240   0  (autoclean)
cdrom                  29216   0  (autoclean) [sr_mod]
parport_pc             21224   1  (autoclean)
lp                      6496   0  (autoclean)
parport                23328   1  (autoclean) [parport_pc lp]
apm                     9256   2  (autoclean)
audio                  38200   1 
soundcore               3684   2  [audio]
uhci                   24304   0  (unused)
hid                    19428   0  (unused)
usbcore                56384   0  [audio uhci hid]
mousedev                3864   0  (unused)
input                   3424   0  [hid mousedev]
af_packet              12008   0  (autoclean)
isa-pnp                28516   0  (unused)
ide-scsi                7664   0 
scsi_mod               87480   5  [sbp2 sd_mod sg sr_mod ide-scsi]
eepro100               17496   1 
vfat                    9532   1 
fat                    29752   0  [vfat]
rtc                     5948   0  (autoclean)
unix                   13640 113  (autoclean)
ext2                   31104   2  (autoclean)
ide-disk                9568   3  (autoclean)
ide-probe-mod           8624   0  (autoclean)
ide-mod               151272   3  (autoclean) [ide-scsi ide-disk ide-probe-mod]
ext3                   57632   0  (autoclean)
jbd                    36472   0  (autoclean) [ext3]

---dmesg の結果---
#dmesg
...
ohci1394: $Rev: 530 $ Ben Collins <bcollins@debian.org>
ohci1394_0: OHCI-1394 1.1 (PCI): IRQ=[5]  MMIO=[ef107000-ef107800]  Max Packet=[2048]
ieee1394: Host added: Node[00:1023]  GUID[00018ea006004724]  [Linux OHCI-1394]
scsi1 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
$Rev: 530 $ James Goodwin <jamesg@xxxxxxxxxxx>
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
- Exclusive login: yes
ieee1394: got invalid ack 11 from node 65472 (tcode 4)
ieee1394: got invalid ack 11 from node 65472 (tcode 4)
ieee1394: got invalid ack 11 from node 65472 (tcode 4)
ieee1394: ConfigROM quadlet transaction error for node 00:1023
ieee1394: Node 00:1023 changed to 01:1023
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
ieee1394: Device added: Node[00:1023]  GUID[000a2700020588ca]  [Apple Computer, Inc.]
ieee1394: sbp2: Logged out of SBP-2 device
scsi : 1 host left.
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
scsi1 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
$Rev: 530 $ James Goodwin <jamesg@xxxxxxxxxxx>
SBP-2 module load options:
- Max speed supported: S400
- Max sectors per I/O supported: 255
- Max outstanding commands supported: 8
- Max outstanding commands per lun supported: 1
- Serialized I/O (debug): no
- Exclusive login: yes
  Vendor: Apple     Model: iPod              Rev: 1.20
  Type:   Direct-Access                      ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi1, channel 0, id 0, lun 0
SCSI device sda: 9780750 512-byte hdwr sectors (5008 MB)
sda: test WP failed, assume Write Enabled
 /dev/scsi/host1/bus0/target0/lun0: p1 p2
ieee1394: sbp2: Logged out of SBP-2 device
scsi : 1 host left.
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]
scsi1 : IEEE-1394 SBP-2 protocol driver (host: ohci1394)
$Rev: 530 $ James Goodwin <jamesg@xxxxxxxxxxx>
SBP-2 module load options: