TEST PROLEMA HARD DISK che si SMINCHIA A CASO

Hard disk da 2TB

[87307.080716] sd 7:0:0:0: Attached scsi generic sg4 type 0 [87307.080993] sd 7:0:0:0: [sdd] 3907029166 512-byte logical blocks: (2.00 TB/1.81 TiB) [87307.081187] sd 7:0:0:0: [sdd] Write Protect is off [87307.081193] sd 7:0:0:0: [sdd] Mode Sense: 03 00 00 00 [87307.100337] sdd: sdd1 [87307.101361] sd 7:0:0:0: [sdd] No Caching mode page found [87307.101369] sd 7:0:0:0: [sdd] Assuming drive cache: write through [87307.101375] sd 7:0:0:0: [sdd] Attached SCSI disk

Disco connesso a NORAD, macchina Linux Mint 17 Mate edition

asbesto@norad ~ $ uname -a Linux norad 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux asbesto@norad ~ $

#deb cdrom:[Linux Mint 17.1 _Rebecca_ - Release amd64 20141126]/ trusty contrib main non-free

PARTIZIONO FRESCO E CREO fs ext4 da zero con gparted

Cosa vede Norad con sto disco montato

viene montato automaticamente alla connessione.

[88600.191391] usb 3-9: new high-speed USB device number 7 using xhci_hcd [88600.208111] usb 3-9: New USB device found, idVendor=14cd, idProduct=6116 [88600.208119] usb 3-9: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [88600.208124] usb 3-9: Product: USB Mass Storage Device [88600.208128] usb 3-9: Manufacturer: Generic [88600.208132] usb 3-9: SerialNumber: 116AC2101219 [88600.208728] usb-storage 3-9:1.0: USB Mass Storage device detected [88600.209032] scsi8 : usb-storage 3-9:1.0 [88601.207515] scsi 8:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0 [88601.207959] sd 8:0:0:0: Attached scsi generic sg4 type 0 [88601.209982] sd 8:0:0:0: [sdd] 3907029166 512-byte logical blocks: (2.00 TB/1.81 TiB) [88601.210185] sd 8:0:0:0: [sdd] Write Protect is off [88601.210191] sd 8:0:0:0: [sdd] Mode Sense: 03 00 00 00 [88601.210428] sd 8:0:0:0: [sdd] No Caching mode page found [88601.210433] sd 8:0:0:0: [sdd] Assuming drive cache: write through [88601.211664] sd 8:0:0:0: [sdd] No Caching mode page found [88601.211673] sd 8:0:0:0: [sdd] Assuming drive cache: write through [88601.228432] sdd: sdd1 [88601.247994] sd 8:0:0:0: [sdd] No Caching mode page found [88601.248008] sd 8:0:0:0: [sdd] Assuming drive cache: write through [88601.248010] sd 8:0:0:0: [sdd] Attached SCSI disk [88601.532470] EXT4-fs (sdd1): mounted filesystem with ordered data mode. Opts: (null) norad asbesto #

/dev/sdd1 on /media/asbesto/287b593a-124e-4142-822d-67ecffd767bc type ext4 (rw,nosuid,nodev,uhelper=udisks2)

norad asbesto # fdisk /dev/sdd

Command (m for help): p

Disk /dev/sdd: 2000.4 GB, 2000398932992 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029166 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00085e8e

/dev/sdd1 2048 3907028991 1953513472 83 Linux

Command (m for help): q



Copio su di esso alcuni files / dir

Ci copio sopra gli MP3 dei Karate.

norad 287b593a-124e-4142-822d-67ecffd767bc # ls Karate lost+found norad 287b593a-124e-4142-822d-67ecffd767bc # ls -la Karate/ total 24 drwxr-xr-x 6 asbesto asbesto 4096 Mar 29 2010 . drwxr-xr-x 4 asbesto asbesto 4096 Feb 27 11:56 .. drwxr-xr-x 2 asbesto asbesto 4096 May 7 2003 Karate (1996) - Karate drwxr-xr-x 2 asbesto asbesto 4096 May 7 2003 Karate (1997) - In Place Of Real Insight drwxr-xr-x 2 asbesto asbesto 4096 May 7 2003 Karate (1998) - The bed is in the ocean drwxr-xr-x 2 asbesto asbesto 4096 May 7 2003 Karate (2000) - Unsolved norad 287b593a-124e-4142-822d-67ecffd767bc #

SMONTO E SPOSTO DISCO SU GEMINI

ECCOMI SU GEMINI!

rover asbesto # uname -a Linux rover 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:31:42 UTC 2014 i686 i686 i686 GNU/Linux rover asbesto #

rover asbesto # cat /etc/apt/sources.list #deb cdrom:[Linux Mint 17 _Qiana_ - Release i386 20140623]/ trusty contrib main non-free rover asbesto #

COSA VEDE SU GEMINI

[146032.763349] usb 2-1.2: new high-speed USB device number 4 using ehci-pci [146032.856892] usb 2-1.2: New USB device found, idVendor=14cd, idProduct=6116 [146032.856900] usb 2-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [146032.856905] usb 2-1.2: Product: USB Mass Storage Device [146032.856909] usb 2-1.2: Manufacturer: Generic [146032.856912] usb 2-1.2: SerialNumber: 116AC2101219 [146032.857298] usb-storage 2-1.2:1.0: USB Mass Storage device detected [146032.857456] scsi8 : usb-storage 2-1.2:1.0 [146033.856664] scsi 8:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0 [146033.857230] sd 8:0:0:0: Attached scsi generic sg1 type 0 [146033.857814] sd 8:0:0:0: [sdb] 3907029166 512-byte logical blocks: (2.00 TB/1.81 TiB) [146033.858462] sd 8:0:0:0: [sdb] Write Protect is off [146033.858467] sd 8:0:0:0: [sdb] Mode Sense: 03 00 00 00 [146033.859234] sd 8:0:0:0: [sdb] No Caching mode page found [146033.859241] sd 8:0:0:0: [sdb] Assuming drive cache: write through [146033.861982] sd 8:0:0:0: [sdb] No Caching mode page found [146033.861989] sd 8:0:0:0: [sdb] Assuming drive cache: write through [146033.880410] sdb: sdb1 [146033.882907] sd 8:0:0:0: [sdb] No Caching mode page found [146033.882914] sd 8:0:0:0: [sdb] Assuming drive cache: write through [146033.882920] sd 8:0:0:0: [sdb] Attached SCSI disk

[146122.038178] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)

Monto il disco, vede i file, nessun problema. ci copio altre cose:

rover asbesto # fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398932992 bytes 255 heads, 63 sectors/track, 243201 cylinders, total 3907029166 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00085e8e

/dev/sdb1 2048 3907028991 1953513472 83 Linux

Command (m for help): q

rover asbesto #



RIFICCO SU NORAD PER PROVARE SE VA

Perfetto, aperto senza problemi, tutto ok

SPOSTIAMOCI SU COSMOS

asbesto@cosmos:~$ uname -a Linux cosmos 2.6.32-5-686 #1 SMP Tue May 13 16:33:32 UTC 2014 i686 GNU/Linux asbesto@cosmos:~$

asbesto@cosmos:~$ cat /etc/apt/sources.list deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main

[ 27.652013] eth1: no IPv6 routers present [ 155.492154] usb 1-8: new high speed USB device using ehci_hcd and address 3 [ 155.625237] usb 1-8: New USB device found, idVendor=14cd, idProduct=6116 [ 155.625243] usb 1-8: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [ 155.625247] usb 1-8: Product: USB Mass Storage Device [ 155.625250] usb 1-8: Manufacturer: Generic [ 155.625253] usb 1-8: SerialNumber: 116AC2101219 [ 155.625403] usb 1-8: configuration #1 chosen from 1 choice [ 155.719431] Initializing USB Mass Storage driver... [ 155.719516] usbcore: registered new interface driver usb-storage [ 155.719520] USB Mass Storage support registered. [ 155.727184] scsi4 : SCSI emulation for USB Mass Storage devices [ 155.730627] usbcore: registered new interface driver ums-cypress [ 155.732976] usb-storage: device found at 3 [ 155.732980] usb-storage: waiting for device to settle before scanning [ 160.732182] usb-storage: device scan complete [ 160.732668] scsi 4:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0 [ 160.734080] sd 4:0:0:0: Attached scsi generic sg2 type 0 [ 160.734783] sd 4:0:0:0: [sdb] 3907029166 512-byte logical blocks: (2.00 TB/1.81 TiB) [ 160.735281] sd 4:0:0:0: [sdb] Write Protect is off [ 160.735287] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00 [ 160.735290] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 160.737103] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 160.737111] sdb: sdb1 [ 160.743649] sd 4:0:0:0: [sdb] Assuming drive cache: write through [ 160.743656] sd 4:0:0:0: [sdb] Attached SCSI disk [ 167.928023] usb 1-8: reset high speed USB device using ehci_hcd and address 3 [ 173.249479] EXT4-fs (sdb1): mounted filesystem with ordered data mode

MONTATO

root@cosmos:/media/287b593a-124e-4142-822d-67ecffd767bc# ls Karate lost+found pifimon-0.4rc2.tar.gz PROVA root@cosmos:/media/287b593a-124e-4142-822d-67ecffd767bc# ls PROVA rtl8188eu-master.zip root@cosmos:/media/287b593a-124e-4142-822d-67ecffd767bc#

i files ci sono, tutto ok

COSA VEDE COSMOS

/dev/sdb1 on /media/287b593a-124e-4142-822d-67ecffd767bc type ext4 (rw,nosuid,nodev,uhelper=udisks)

root@cosmos:~# fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398932992 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00085e8e

/dev/sdb1 1 243202 1953513472 83 Linux

Command (m for help):

CFDISK: FATAL ERROR: Bad primary partition 0: Partition ends in the final partial cylinder

gparted: /dev/sdb1 UNKNOWN

[ 173.249479] EXT4-fs (sdb1): mounted filesystem with ordered data mode [ 285.928023] usb 1-8: reset high speed USB device using ehci_hcd and address 3 [ 313.112020] usb 1-8: reset high speed USB device using ehci_hcd and address 3 [ 326.112020] usb 1-8: reset high speed USB device using ehci_hcd and address 3 [ 385.112046] usb 1-8: reset high speed USB device using ehci_hcd and address 3 [ 408.112033] usb 1-8: reset high speed USB device using ehci_hcd and address 3 root@cosmos:~#

DISCO SPARITO dai device montabili dall'icona "Computer" di GNOME.

STACCO E RIATTACCO USB

il disco non sale piu'

STACCO E RIATTACCO USB DI MERDA

IL DISCO NON VIENE PIU' VISTO DAL DESKTOP, NON VIENE MONTATO.

COSA VEDE COSMOS DI MERDA ORA

root@cosmos:~# fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to

Command (m for help): p

Disk /dev/sdb: 2000.4 GB, 2000398932992 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00085e8e

/dev/sdb1 1 243202 1953513472 83 Linux

Command (m for help): q

root@cosmos:~#

root@cosmos:~# mount /dev/sdb1 /mnt mount: you must specify the filesystem type root@cosmos:~# mount /dev/sdb1 /mnt -t ext4 mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

root@cosmos:~#

FILESYSTEM FOTTUTO!

STACCO il cavo usb e

root@cosmos:~# Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Message from syslogd@cosmos at Feb 27 12:19:12 ...

Kernel failure message 1: BUG: unable to handle kernel paging request at 2f367473 IP: [<2f367473>] 0x2f367473 *pde = 00000000 Oops: 0000 [#1] SMP last sysfs file: /sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8/idVendor Modules linked in: ext4 jbd2 crc16 ums_cypress usb_storage speedstep_lib cpufreq_conservative cpufreq_userspace cpufreq_powersave cpufreq_stats binfmt_misc fuse loop snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm radeon ttm snd_seq drm_kms_helper snd_timer snd_seq_device drm intel_rng i2c_algo_bit snd soundcore snd_page_alloc rng_core shpchp i2c_i801 i2c_core pci_hotplug parport_pc processor parport pcspkr evdev button psmouse serio_raw ext3 jbd mbcache sg sr_mod cdrom sd_mod crc_t10dif ata_generic ata_piix thermal uhci_hcd e100 floppy thermal_sys mii libata ehci_hcd scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]

Pid: 2246, comm: udisks-probe-at Not tainted (2.6.32-5-686 #1) EIP: 0060:[<2f367473>] EFLAGS: 00010002 CPU: 0 EIP is at 0x2f367473 EAX: efd0d640 EBX: efd0d640 ECX: 2f367473 EDX: efd0d640 ESI: 01282c40 EDI: efeec000 EBP: efd0d640 ESP: ed44fc90

Process udisks-probe-at (pid: 2246, ti=ed44e000 task=ef9f1dc0 task.ti=ed44e000) Stack:

<0> ed44fd24 c112f9a0 efdd0e00 efeec000 eff40600 00000000 00000000 00000000 <0> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Call Trace:

Code: Bad EIP value. EIP: [<2f367473>] 0x2f367473 SS:ESP 0068:ed44fc90 CR2: 000000002f367473 ---[ end trace d9b9738ac05d5045 ]---

DEBIAN DI MERDA!!!!!!!!!!!!!!!!!!!!

RIPORTO IL DISCO USB DI LA', SU GEMINI

[147498.501036] usb 2-1.2: new high-speed USB device number 6 using ehci-pci [147498.594567] usb 2-1.2: New USB device found, idVendor=14cd, idProduct=6116 [147498.594576] usb 2-1.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2 [147498.594581] usb 2-1.2: Product: USB Mass Storage Device [147498.594584] usb 2-1.2: Manufacturer: Generic [147498.594588] usb 2-1.2: SerialNumber: 116AC2101219 [147498.595007] usb-storage 2-1.2:1.0: USB Mass Storage device detected [147498.595137] scsi10 : usb-storage 2-1.2:1.0 [147499.594704] scsi 10:0:0:0: Direct-Access Mass Storage Device PQ: 0 ANSI: 0 [147499.595333] sd 10:0:0:0: Attached scsi generic sg1 type 0 [147499.595834] sd 10:0:0:0: [sdb] 3907029166 512-byte logical blocks: (2.00 TB/1.81 TiB) [147499.596539] sd 10:0:0:0: [sdb] Write Protect is off [147499.596545] sd 10:0:0:0: [sdb] Mode Sense: 03 00 00 00 [147499.597482] sd 10:0:0:0: [sdb] No Caching mode page found [147499.597490] sd 10:0:0:0: [sdb] Assuming drive cache: write through [147499.603749] sd 10:0:0:0: [sdb] No Caching mode page found [147499.603758] sd 10:0:0:0: [sdb] Assuming drive cache: write through [147499.615987] sdb: sdb1 [147499.618473] sd 10:0:0:0: [sdb] No Caching mode page found [147499.618479] sd 10:0:0:0: [sdb] Assuming drive cache: write through [147499.618485] sd 10:0:0:0: [sdb] Attached SCSI disk rover asbesto #

Nessuna icona su desktop, provo a montare a mano

rover asbesto # mount /dev/sdb1 /mnt mount: you must specify the filesystem type rover asbesto # mount /dev/sdb1 /mnt -t ext4 mount: wrong fs type, bad option, bad superblock on /dev/sdb1,

rover asbesto #

PORCO DIOOO!!!