Newsgroup: it.comp.os.linux.iniziare
Titolo: FC2: firewire (ieee1394) e hard disk esterno


Oct  6 17:26:02 myhost kernel: scsi1 : SCSI emulation for IEEE-1394 SBP-2 Devices
Oct  6 17:26:03 myhost kernel: ieee1394: sbp2: Logged into SBP-2 device
Oct  6 17:26:03 myhost kernel:   Vendor: TOSHIBA   Model: MK4021GAS         Rev:
Oct  6 17:26:03 myhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 06
Oct  6 17:26:03 myhost kernel: SCSI device sdd: 78140160 512-byte hdwr sectors (40008 MB)
Oct  6 17:26:03 myhost kernel: sdd: asking for cache data failed
Oct  6 17:26:03 myhost kernel: sdd: assuming drive cache: write through
Oct  6 17:26:13 myhost scsi.agent[4998]: Attribute /sys/devices/pci0000:00/0000:00:0a.0/fw-host0/00d0b80e790012fd/00d0b80e790012fd-0/host1/1:0:0:0/type does not exist
Oct  6 17:26:13 myhost udev[5021]: creating device node '/udev/sdd'
Oct  6 17:26:33 myhost kernel:  sdd:<3>ieee1394: sbp2: aborting sbp2 command
Oct  6 17:26:33 myhost kernel: Read (10) 00 00 00 00 00 00 00 08 00
Oct  6 17:26:43 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct  6 17:26:43 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct  6 17:26:43 myhost kernel: ieee1394: sbp2: reset requested
Oct  6 17:26:43 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct  6 17:26:53 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct  6 17:26:53 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct  6 17:26:53 myhost kernel: ieee1394: sbp2: reset requested
Oct  6 17:26:53 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct  6 17:27:13 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct  6 17:27:13 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct  6 17:27:13 myhost kernel: ieee1394: sbp2: reset requested
Oct  6 17:27:13 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct  6 17:27:33 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct  6 17:27:33 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct  6 17:27:33 myhost kernel: scsi: Device offlined - not ready after error recovery: host 1 channel 0 id 0 lun 0
Oct  6 17:27:33 myhost kernel: SCSI error : <1 0 0 0> return code = 0x50000
Oct  6 17:27:33 myhost kernel: end_request: I/O error, dev sdd, sector 0
Oct  6 17:27:33 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct  6 17:27:33 myhost kernel: scsi1 (0:0): rejecting I/O to offline device
Oct  6 17:27:33 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct  6 17:27:33 myhost kernel: scsi1 (0:0): rejecting I/O to offline device
Oct  6 17:27:33 myhost kernel: Buffer I/O error on device sdd, logical block 9767519
Oct  6 17:27:33 myhost kernel: scsi1 (0:0): rejecting I/O to offline device
Oct  6 17:27:33 myhost kernel: Buffer I/O error on device sdd, logical block 9767519
Oct  6 17:27:33 myhost kernel: scsi1 (0:0): rejecting I/O to offline device
Oct  6 17:27:33 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct  6 17:27:33 myhost kernel:  unable to read partition table
Oct  6 17:27:33 myhost kernel: Attached scsi disk sdd at scsi1, channel 0, id 0, lun 0
Oct  6 17:27:33 myhost kernel: Attached scsi generic sg5 at scsi1, channel 0, id 0, lun 0,  type 0
Oct  6 17:27:43 myhost udev[5047]: creating device node '/udev/sg5'
ho monitorato quello che accadeva.
Con
# cat /proc/scsi/scsi
Attached devices:
.....
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: TOSHIBA  Model: MK4021GAS        Rev:
  Type:   Direct-Access                    ANSI SCSI revision: 06
ho effettuato una riprova.
Ma di tutto questo non riesco a capire come faccio a montare le
partizione dentro l'hard disk. 
Io pensavo che fosse la quinta periferica scsi ma con
#fdisk -l /dev/sdd
non succede niente.
Con la connessione USB funziona regolarmente (su questo PC) e anche con la
firewire sotto windows anche se di un'altro PC, visto che io ed il mio PC
siamo alleggirci ai prodotti schifosoft.
Ho dato uno sguardo in giro ed ho visto che i moduli caricati dovrebbero
essere giusti, come pure il device; anche se le info lette facevano
riferimento al device /dev/sda perchè non avevano altre periferiche SCSI.
Qualcuno è in grado di aiutarmi?
Grazie mille,
			Dino

 /udev/sg5
<cut>
prova a montarla in questo punto
-- 
[ Running Linux Fedora Core 2 ]
 ~ 
http://www.lasteden.it
 ~ ICQ: 61670579
 ~ Coltiva Linux che tanto Windows si pianta da solo

 <cut>
dici in questo modo:
#mount /udev/sg5 /mnt/hd_ext
la risposta è:
mount: /udev/sg5 non è un dispositivo di blocchi
Con:
#fdisk -l /udev/sg5
non ottengo un bel niente.
All'interno del disco ci sono due partizioni.
Grazie mille,
			Dino

 #mount /udev/sg5 /mnt/hd_ext
indica anche il tipo di filesystem che c'è su quel disco.
ad esempio se è ext3 dai
#mount -t ext3 /udev/sg5 /mnt/hd_ext


 #mount -t ext3 /udev/sg5 /mnt/hd_ext
Io è un bel pezzo che non uso il flag "-t".
Comunque non è questo il problema, il problema è ce non viene visto come
un hard disk ma chissa come viene visto. Sempre il medesimo hard disk, se
collegato alla porta USB funziona correttamente.
Questo è quanto avviene con USB:
Oct 21 11:01:23 myhost kernel: usb 1-2: new full speed USB device using address 16
Oct 21 11:01:24 myhost kernel: updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device
Oct 21 11:01:24 myhost last message repeated 3 times
Oct 21 11:01:24 myhost kernel: scsi16 : SCSI emulation for USB Mass Storage devices
Oct 21 11:01:24 myhost kernel:   Vendor: TOSHIBA   Model: MK4021GAS         Rev: GA22
Oct 21 11:01:24 myhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 21 11:01:24 myhost kernel: SCSI device sdd: 78140161 512-byte hdwr sectors (40008 MB)
Oct 21 11:01:24 myhost kernel: sdd: assuming drive cache: write through
Oct 21 11:01:24 myhost kernel:  sdd:Current sdd: sense key No Sense
Oct 21 11:01:24 myhost kernel:  sdd1 sdd2
Oct 21 11:01:24 myhost kernel: Attached scsi disk sdd at scsi16, channel 0, id 0, lun 0
Oct 21 11:01:25 myhost kernel: Attached scsi generic sg5 at scsi16, channel 0, id 0, lun 0,  type 0
Oct 21 11:01:25 myhost scsi.agent[28113]: disk at /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2:1.0/host16/16:0:0:0
Oct 21 11:01:25 myhost kernel: usb 1-2: USB disconnect, address 16
Oct 21 11:01:25 myhost kernel: updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device
Oct 21 11:01:25 myhost last message repeated 3 times
Oct 21 11:01:25 myhost kernel: usb 1-2: new full speed USB device using address 17
Oct 21 11:01:26 myhost kernel: updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device
Oct 21 11:01:26 myhost last message repeated 3 times
Oct 21 11:01:27 myhost kernel: scsi17 : SCSI emulation for USB Mass Storage devices
Oct 21 11:01:27 myhost kernel:   Vendor: TOSHIBA   Model: MK4021GAS         Rev: GA22
Oct 21 11:01:27 myhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 21 11:01:27 myhost kernel: SCSI device sdd: 78140161 512-byte hdwr sectors (40008 MB)
Oct 21 11:01:27 myhost kernel: sdd: assuming drive cache: write through
Oct 21 11:01:27 myhost kernel:  sdd:Current sdd: sense key No Sense
Oct 21 11:01:27 myhost kernel:  sdd1 sdd2
Oct 21 11:01:27 myhost kernel: Attached scsi disk sdd at scsi17, channel 0, id 0, lun 0
Oct 21 11:01:27 myhost kernel: Attached scsi generic sg5 at scsi17, channel 0, id 0, lun 0,  type 0
Oct 21 11:01:28 myhost scsi.agent[28267]: disk at /devices/pci0000:00/0000:00:04.2/usb1/1-2/1-2:1.0/host17/17:0:0:0
Oct 21 11:01:34 myhost udev[28313]: creating device node '/udev/sdd'
Oct 21 11:01:34 myhost udev[28314]: creating device node '/udev/sdd1'
Oct 21 11:01:34 myhost udev[28315]: creating device node '/udev/sdd2'
Oct 21 11:01:34 myhost udev[28333]: removing device node '/udev/sdd2'
Oct 21 11:01:34 myhost udev[28338]: removing device node '/udev/sdd1'
Oct 21 11:01:34 myhost udev[28317]: creating device node '/udev/sg5'
Oct 21 11:01:34 myhost udev[28343]: removing device node '/udev/sdd'
Oct 21 11:01:34 myhost udev[28352]: removing device node '/udev/sg5'
Oct 21 11:01:37 myhost udev[28361]: creating device node '/udev/sdd'
Oct 21 11:01:37 myhost udev[28362]: creating device node '/udev/sdd1'
Oct 21 11:01:37 myhost udev[28363]: creating device node '/udev/sdd2'
Oct 21 11:01:37 myhost udev[28365]: creating device node '/udev/sg5'
Mentre con la firewire:
Oct 21 11:19:44 myhost kernel: scsi19 : SCSI emulation for IEEE-1394 SBP-2 Devices
Oct 21 11:19:45 myhost kernel: ieee1394: sbp2: Logged into SBP-2 device
Oct 21 11:19:45 myhost kernel:   Vendor: TOSHIBA   Model: MK4021GAS         Rev:
Oct 21 11:19:45 myhost kernel:   Type:   Direct-Access                      ANSI SCSI revision: 06
Oct 21 11:19:45 myhost kernel: SCSI device sdd: 78140160 512-byte hdwr sectors (40008 MB)
Oct 21 11:19:45 myhost kernel: sdd: asking for cache data failed
Oct 21 11:19:45 myhost kernel: sdd: assuming drive cache: write through
Oct 21 11:19:55 myhost scsi.agent[28855]: Attribute /sys/devices/pci0000:00/0000:00:0a.0/fw-host0/00d0b80e790012fd/00d0b80e790012fd-0/host19/19:0:0:0/type does not exist
Oct 21 11:19:55 myhost udev[28877]: creating device node '/udev/sdd'
Oct 21 11:20:15 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct 21 11:20:15 myhost kernel: Read (10) 00 00 00 00 00 00 00 08 00
Oct 21 11:20:25 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct 21 11:20:25 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct 21 11:20:25 myhost kernel: ieee1394: sbp2: reset requested
Oct 21 11:20:25 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct 21 11:20:35 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct 21 11:20:35 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct 21 11:20:35 myhost kernel: ieee1394: sbp2: reset requested
Oct 21 11:20:35 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct 21 11:20:55 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct 21 11:20:55 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct 21 11:20:55 myhost kernel: ieee1394: sbp2: reset requested
Oct 21 11:20:55 myhost kernel: ieee1394: sbp2: Generating sbp2 fetch agent reset
Oct 21 11:21:15 myhost kernel: ieee1394: sbp2: aborting sbp2 command
Oct 21 11:21:15 myhost kernel: Test Unit Ready 00 00 00 00 00
Oct 21 11:21:15 myhost kernel: scsi: Device offlined - not ready after error recovery: host 19 channel 0 id 0 lun 0
Oct 21 11:21:15 myhost kernel: SCSI error : <19 0 0 0> return code = 0x50000
Oct 21 11:21:15 myhost kernel: end_request: I/O error, dev sdd, sector 0
Oct 21 11:21:15 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct 21 11:21:15 myhost kernel: scsi19 (0:0): rejecting I/O to offline device
Oct 21 11:21:15 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct 21 11:21:15 myhost kernel: scsi19 (0:0): rejecting I/O to offline device
Oct 21 11:21:15 myhost kernel: Buffer I/O error on device sdd, logical block 9767519
Oct 21 11:21:15 myhost kernel: scsi19 (0:0): rejecting I/O to offline device
Oct 21 11:21:15 myhost kernel: Buffer I/O error on device sdd, logical block 9767519
Oct 21 11:21:15 myhost kernel: scsi19 (0:0): rejecting I/O to offline device
Oct 21 11:21:15 myhost kernel: Buffer I/O error on device sdd, logical block 0
Oct 21 11:21:15 myhost kernel:  unable to read partition table
Oct 21 11:21:15 myhost kernel: Attached scsi disk sdd at scsi19, channel 0, id 0, lun 0
Oct 21 11:21:15 myhost kernel: Attached scsi generic sg5 at scsi19, channel 0, id 0, lun 0,  type 0
Oct 21 11:21:25 myhost udev[28907]: creating device node '/udev/sg5'
Grazie mille,
			Dino