FreeBSD 4.8 and iPod remounting problems
Hidetoshi Shimokawa
simokawa at sat.t.u-tokyo.ac.jp
Mon Oct 6 22:35:28 PDT 2003
At Tue, 07 Oct 2003 13:40:02 +0900,
Hidetoshi Shimokawa wrote:
>
> At Mon, 06 Oct 2003 19:26:41 -0400,
> dhelder at gizmolabs.org wrote:
> > > > [root at sorrow] dhelder -: camcontrol devlist
> > > > <LITE-ON LTR-48246S SGS3> at scbus1 target 0 lun 0 (pass0)
> > > > <Apple Co iPod 2700> at scbus2 target 0 lun 0
> > > > (probe0,da0,pass1)
> >
> > Yes, but it's not plugged in and fwcontrol doesn't show it. It's a
> > ghost.
>
> If it's not listed in 'fwcontrol' (not 'fwcontorl -t'), it must be
> detached. In that case, there might be some reason why CAM layer
> cannot detach the device. The output of dmesg might help.
Try this patch or 4.9-RC.
Index: sbp.c
===================================================================
RCS file: /home/ncvs/src/sys/dev/firewire/sbp.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- sbp.c 29 Apr 2003 23:40:04 -0000 1.46
+++ sbp.c 30 Apr 2003 10:32:32 -0000 1.47
@@ -1982,6 +1982,9 @@
if (sdev->status == SBP_DEV_RESET)
continue;
if (sdev->path) {
+ xpt_release_devq(sdev->path,
+ sdev->freeze, TRUE);
+ sdev->freeze = 0;
xpt_async(AC_LOST_DEVICE, sdev->path, NULL);
xpt_free_path(sdev->path);
sdev->path = NULL;
/\ Hidetoshi Shimokawa
\/ simokawa at sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
More information about the freebsd-firewire
mailing list