SCIENTIFIC-LINUX-DEVEL Archives

September 2006

SCIENTIFIC-LINUX-DEVEL@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
FRANCHISSEUR Robert <[log in to unmask]>
Reply To:
FRANCHISSEUR Robert <[log in to unmask]>
Date:
Fri, 22 Sep 2006 19:07:58 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (90 lines)
----- Original message from Urs Beyerle on Fri Sep 22 09:15:06 2006 -----
> 
> Hi,
> 
> After a clean reboot of your laptop - you still don't see your firewire
> disk?

       Sometimes yes sometimes no !

       It seems it depends on how the modules are loaded. Yesterday I noticed
       that when it worked after a reboot I got an sd_mod module :

       #### rabeson:{root}:/var/log > lsmod
       Module                  Size  Used by
       sd_mod                 17217  0 
       sbp2                   24076  0 
       scsi_mod              122445  2 sd_mod,sbp2
       ohci1394               35784  0 
       ieee1394              298228  2 sbp2,ohci1394 

       which I did'nt see yesterday.

       Today I could see it after many experiments.
       I suceeded by loading modules in that order :

       rmmod  sbp2
       rmmod  sd_mod
       rmmod  scsi_mod
       rmmod  ohci1394
       rmmod  ieee1394
       
       modprobe -v ohci1394            # load ieee1394 and ohci1394
       modprobe -v sbp2                # load scsi_mod and sbp2
       modprobe -v sd_mod              # load sd_mod

       but I wonder if the problem commes from the modules, hotplug ...
       and if I have to config something.


> Or do you "lose" the disk if you plug-in/plug-out the firewire disk when
> your laptop is running?
> 

       If I unplug the disk I losse it:

       #### rabeson:{root}:/home/users/sbob > cat /proc/scsi/scsi 
       Attached devices:
       
       but if I plug it again it reapears :

       #### rabeson:{root}:/home/users/sbob > cat /proc/scsi/scsi 
       Attached devices:
       Host: scsi2 Channel: 00 Id: 00 Lun: 00
         Vendor: Ext Hard Model:  Disk            Rev:     
         Type:   Direct-Access                    ANSI SCSI revision: 06
       
       and /var/log/messages says :
       
       Sep 22 18:31:17 rabeson kernel: scsi2 : SCSI emulation for IEEE-1394 SBP-2 Devices
       Sep 22 18:31:18 rabeson kernel: ieee1394: sbp2: Maximum concurrent logins supported: 4
       Sep 22 18:31:18 rabeson kernel: ieee1394: sbp2: Number of active logins: 0
       Sep 22 18:31:18 rabeson kernel: ieee1394: sbp2: Logged into SBP-2 device
       Sep 22 18:31:18 rabeson kernel:   Vendor: Ext Hard  Model:  Disk             Rev:     
       Sep 22 18:31:18 rabeson kernel:   Type:   Direct-Access                      ANSI SCSI revision: 06
       Sep 22 18:31:18 rabeson kernel: SCSI device sda: 1953546240 512-byte hdwr sectors (1000216 MB)
       Sep 22 18:31:18 rabeson kernel: sda: asking for cache data failed
       Sep 22 18:31:18 rabeson kernel: sda: assuming drive cache: write through
       Sep 22 18:31:18 rabeson kernel: SCSI device sda: 1953546240 512-byte hdwr sectors (1000216 MB)
       Sep 22 18:31:18 rabeson kernel: sda: asking for cache data failed
       Sep 22 18:31:18 rabeson kernel: sda: assuming drive cache: write through
       Sep 22 18:31:18 rabeson kernel:  sda: sda1
       Sep 22 18:31:18 rabeson kernel: Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
       Sep 22 18:31:18 rabeson scsi.agent[12546]: disk at /devices/pci0000:00/0000:00:1e.0/0000:02:0f.2/fw-host0/0030e002e0606072/0030e002e0606072-0/host2/target2:0:0/2:0:0:0
       

       Thanks for your help.

-- 

                 Cordialement,
                               Robert FRANCHISSEUR

 ____ Apollo_gist :-)______________________________________________________
| Robert FRANCHISSEUR - Laboratoire de Météorologie Dynamique -   C.N.R.S. |
| Equipe "R.A.M.S.E.S." - UNIVERSITE P. et M. Curie - Tour 45-55 3ème 315C |
| Boite 99 -        4, place Jussieu        F-75252 PARIS CEDEX 05  FRANCE |
| Phone  : +33 (0)1 44 27 73 87           fax     : +33 (0)1 44 27 62 72   |
| e-mail : robert at lmd . jussieu . fr   http    : //www.lmd.jussieu.fr   |
 -------------------------------------------------------------------------- 

ATOM RSS1 RSS2