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

Re: hotplug: unmounting a firewire external hard drive [CDRW]



UPDATE:

Upon plugging the firewire hard drive I get this from the kernel:

sda

        kernel: ieee1394: SelfIDs failed root check
        kernel: ieee1394: Error in SelfID stage, resetting
        kernel: ieee1394: Node changed: 0-00:1023 -> 0-02:1023
        kernel: ieee1394: Node resumed: ID:BUS[0-02:1023]
        GUID[00d001010000a2fd]
        kernel: ieee1394: The root node is not cycle master capable;
        selecting a new root node and resetting...
        kernel: ieee1394: Node changed: 0-02:1023 -> 0-00:1023
        kernel: ieee1394: Node changed: 0-00:1023 -> 0-02:1023
        kernel: scsi2 : SCSI emulation for IEEE-1394 SBP-2 Devices
        kernel: ieee1394: sbp2: Logged into SBP-2 device
        kernel: ieee1394: Node 0-00:1023: Max speed [S400] - Max payload
        [2048]
        kernel:   Vendor: FireWire  Model:  1394 Disk Drive  Rev:     
        kernel:   Type:   Direct-Access                      ANSI SCSI
        revision: 02
        kernel: SCSI device sda: 11733120 512-byte hdwr sectors (6007
        MB)
        kernel: sda: cache data unavailable
        kernel: sda: assuming drive cache: write through
        

sr0 (Lacie CDRW)

Turning on the device is just fine with these results:

        kernel: ieee1394: Node added: ID:BUS[0-00:1023]
        GUID[00d04b01070340de]
        kernel: ieee1394: Node changed: 0-00:1023 -> 0-01:1023
        kernel: scsi7 : SCSI emulation for IEEE-1394 SBP-2 Devices
        kernel: ieee1394: sbp2: Node 0-00:1023: Using 36byte inquiry
        workaround
        kernel: ieee1394: sbp2: Logged into SBP-2 device
        scsi.agent[7172]: cdrom
        at /devices/pci0001:10/0001:10:0d.0/0001:11:0a.0/fw-host0/00d04b01070340de/00d04b01070340de-0/host7/7:0:0:0
        kernel: ieee1394: Node 0-00:1023: Max speed [S400] - Max payload
        [2048]
        kernel:   Vendor: LACIE     Model: CDBP-241040A      Rev: 6.34
        kernel:   Type:   CD-ROM                             ANSI SCSI
        revision: 02
        kernel: sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda
        tray
        udev: configured rule in '/etc/udev/rules.d/udev.rules' at line
        17 applied, added symlink '%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}'
        udev: configured rule in '/etc/udev/rules.d/udev.rules' at line
        20 applied, 'sr0' becomes '%k'
        udev: creating device node '/dev/sr0'
        kernel: Attached scsi CD-ROM sr0 at scsi7, channel 0, id 0, lun
        0
        ieee1394.agent[7165]:      sbp2: already loaded
        kernel: Device not ready.  Make sure there is a disc in the
        drive.
        kernel: Device not ready.  Make sure there is a disc in the
        drive.
        kernel: Device not ready.  Make sure there is a disc in the
        drive.
        last message repeated 3 times


I can use the device and then upon shutting it down I get this and can't
use it again till I reboot or recreate /dev/sr0:

        udev: removing device node '/dev/sr0'
        kernel: ieee1394: Node changed: 0-01:1023 -> 0-00:1023
        kernel: ieee1394: Node suspended: ID:BUS[0-00:1023]
        GUID[00d04b01070340de]
        

Then I can't not reuse the drive.  It seams like udev does not
recreate /dev/sr0 and I have create it by hand to use the drive again
without rebooting.

My test results show that out of 7 plugging and unplugging a firewire
hard drive to be sucessful but with the CDRW I can only get one use out
of it before I have to step in.

-adam



Reply to: