User Tools

Site Tools


informatica:hp_xw4400_400sb_upgrade_2017

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
informatica:hp_xw4400_400sb_upgrade_2017 [2017/05/19 16:16]
miquel [Disc dur amb problemes]
informatica:hp_xw4400_400sb_upgrade_2017 [2017/05/31 15:52] (current)
miquel [Impressora en PDF]
Line 149: Line 149:
  
 Elimino els següents metapackages per poder eliminar altres paquets o programes que depenen d'ells sense haver de desinstal·lar altres paquets que sí que m'interessen, Elimino els següents metapackages per poder eliminar altres paquets o programes que depenen d'ells sense haver de desinstal·lar altres paquets que sí que m'interessen,
-  * :fail: gnome+  * :ok: gnome 
 +  * :fail: task-gnome-desktop
   * :fail: gnome-desktop-environment   * :fail: gnome-desktop-environment
   * :fail: gnome-office   * :fail: gnome-office
 +  * :fail: gnome-documents
  
 Llavors desinstal·lo: Llavors desinstal·lo:
-  * :fail: gnome-games, gnome-games-data, gnome-games-extra-data +  * :ok: gnome-games, gnome-games-data, gnome-games-extra-data 
-  * :fail: simple-scan, xsane, xsane-common, i les biblioteques relacionades+  * :ok: simple-scan
   * ...   * ...
  
Line 387: Line 389:
 ==== Avahi ==== ==== Avahi ====
  
-FIXME S'ha de configurar (fitxer ''/etc/avahi/avahi-daemon.conf'') per tal de restringir la difusió dels serveis disponibles a l'ordinador i, potser, la cerca de serveis a la xarxa.+Aturo i desactivo el servei amb les comandes 
 +  * ''systemctl stop avahi-daemon''''systemctl disable avahi-daemon'';
 +  * ''systemctl stop avahi-daemon.socket''''systemctl disable avahi-daemon.socket''
  
 ==== Trivial FTP daemon ==== ==== Trivial FTP daemon ====
  
-Enllaços sobre la configuració del //tftpd// +FIXME Enllaços sobre la configuració del //tftpd// 
  
   * http://chschneider.eu/linux/server/tftpd-hpa.shtml   * http://chschneider.eu/linux/server/tftpd-hpa.shtml
Line 399: Line 403:
 ==== Bootparam ==== ==== Bootparam ====
  
-Cal configurar-lo per servir el sistema operatiu de la consola.+FIXME Cal configurar-lo per servir el sistema operatiu de la consola.
  
 ==== NFS ==== ==== NFS ====
  
-Cal configurar-lo per servir el sistema operatiu de la consola.+FIXME Cal configurar-lo per servir el sistema operatiu de la consola.
  
 ==== NTP ==== ==== NTP ====
Line 509: Line 513:
     * [[https://wiki.archlinux.org/index.php/GNOME_Tips | GNOME Tips]]     * [[https://wiki.archlinux.org/index.php/GNOME_Tips | GNOME Tips]]
     * [[https://wiki.archlinux.org/index.php/GNOME_2.28_Changes#Configuring_gdm_2.28 | Configuring GDM 2.28]]     * [[https://wiki.archlinux.org/index.php/GNOME_2.28_Changes#Configuring_gdm_2.28 | Configuring GDM 2.28]]
 +
 +=== Gnome Shell Extensions ===
 +
 +Segueixo les instruccions a [[https://unix.stackexchange.com/questions/353962/debian-jessie-unable-to-install-gnome-extension-the-native-host-connector-is-no | stackexchange.com]] per poder instal·lar les següents extensions pel Gnome:
 +  * [[https://extensions.gnome.org/extension/118/no-topleft-hot-corner/ | No Topleft Hot Corner]]
 +  * ...
 +
  
 ===== Instal·lació del TopSpin ===== ===== Instal·lació del TopSpin =====
Line 604: Line 615:
 <file> <file>
 [167527.620207] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [167527.620207] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
- 
 [167527.620210] sd 11:0:0:0: [sdb]   [167527.620210] sd 11:0:0:0: [sdb]  
 [167527.620213] Sense Key : Medium Error [current]  [167527.620213] Sense Key : Medium Error [current] 
Line 613: Line 623:
 [167527.620235] end_request: critical medium error, dev sdb, sector 2048 [167527.620235] end_request: critical medium error, dev sdb, sector 2048
 [167527.620240] Buffer I/O error on device sdb, logical block 256 [167527.620240] Buffer I/O error on device sdb, logical block 256
- 
 [167535.691059] sd 11:0:0:0: [sdb] Unhandled sense code [167535.691059] sd 11:0:0:0: [sdb] Unhandled sense code
 [167535.691066] sd 11:0:0:0: [sdb]   [167535.691066] sd 11:0:0:0: [sdb]  
Line 625: Line 634:
 [167535.691098] end_request: critical medium error, dev sdb, sector 2048 [167535.691098] end_request: critical medium error, dev sdb, sector 2048
 [167535.691103] Buffer I/O error on device sdb, logical block 256 [167535.691103] Buffer I/O error on device sdb, logical block 256
- 
 [167576.211102] sd 11:0:0:0: [sdb] Unhandled sense code [167576.211102] sd 11:0:0:0: [sdb] Unhandled sense code
 [167576.211109] sd 11:0:0:0: [sdb]   [167576.211109] sd 11:0:0:0: [sdb]  
Line 637: Line 645:
 [167576.211140] end_request: critical medium error, dev sdb, sector 111329280 [167576.211140] end_request: critical medium error, dev sdb, sector 111329280
 [167576.211146] Buffer I/O error on device sdb8, logical block 0 [167576.211146] Buffer I/O error on device sdb8, logical block 0
- 
-[167591.821201] sd 11:0:0:0: [sdb] Unhandled sense code 
-[167591.821206] sd 11:0:0:0: [sdb]   
-[167591.821208] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 
-[167591.821210] sd 11:0:0:0: [sdb]   
-[167591.821212] Sense Key : Medium Error [current]  
-[167591.821215] sd 11:0:0:0: [sdb]   
-[167591.821217] Add. Sense: Unrecovered read error 
-[167591.821219] sd 11:0:0:0: [sdb] CDB:  
-[167591.821220] Read(10): 28 00 00 00 08 00 00 00 08 00 
-[167591.821227] end_request: critical medium error, dev sdb, sector 2048 
-[167591.821232] Buffer I/O error on device sdb1, logical block 0 
- 
-[167609.355662] sd 11:0:0:0: [sdb] Unhandled sense code 
-[167609.355667] sd 11:0:0:0: [sdb]   
-[167609.355670] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE 
-[167609.355672] sd 11:0:0:0: [sdb]   
-[167609.355674] Sense Key : Medium Error [current]  
-[167609.355677] sd 11:0:0:0: [sdb]   
-[167609.355679] Add. Sense: Unrecovered read error 
-[167609.355682] sd 11:0:0:0: [sdb] CDB:  
-[167609.355683] Read(10): 28 00 06 a2 c0 00 00 00 08 00 
-[167609.355691] end_request: critical medium error, dev sdb, sector 111329280 
-[167609.355696] Buffer I/O error on device sdb8, logical block 0 
 </file> </file>
  
Line 696: Line 680:
 </file> </file>
  
 +i el resultat d'executar la comanda ''smartclt -a /dev/sdb'' és,
 +
 +<file>
 +root@cie-55-31:/home/sermnadmin/Documents/old-old-hdd-recovery# smartctl -a /dev/sdb
 +smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-4-amd64] (local build)
 +Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org
 +
 +=== START OF INFORMATION SECTION ===
 +Model Family:     Seagate Barracuda 7200.9
 +Device Model:     ST3160812AS
 +Serial Number:    5LS68H19
 +Firmware Version: 3.AHL
 +User Capacity:    160,041,885,696 bytes [160 GB]
 +Sector Size:      512 bytes logical/physical
 +Device is:        In smartctl database [for details use: -P show]
 +ATA Version is:   ATA/ATAPI-7 (minor revision not indicated)
 +Local Time is:    Fri May 19 16:26:32 2017 CEST
 +SMART support is: Available - device has SMART capability.
 +SMART support is: Enabled
 +
 +=== START OF READ SMART DATA SECTION ===
 +SMART overall-health self-assessment test result: PASSED
 +
 +General SMART Values:
 +Offline data collection status:  (0x82) Offline data collection activity
 + was completed without error.
 + Auto Offline Data Collection: Enabled.
 +Self-test execution status:      (   0) The previous self-test routine completed
 + without error or no self-test has ever 
 + been run.
 +Total time to complete Offline 
 +data collection: (  433) seconds.
 +Offline data collection
 +capabilities: (0x5b) SMART execute Offline immediate.
 + Auto Offline data collection on/off support.
 + Suspend Offline collection upon new
 + command.
 + Offline surface scan supported.
 + Self-test supported.
 + No Conveyance Self-test supported.
 + Selective Self-test supported.
 +SMART capabilities:            (0x0003) Saves SMART data before entering
 + power-saving mode.
 + Supports SMART auto save timer.
 +Error logging capability:        (0x01) Error logging supported.
 + General Purpose Logging supported.
 +Short self-test routine 
 +recommended polling time: (   2) minutes.
 +Extended self-test routine
 +recommended polling time: (  54) minutes.
 +SCT capabilities:        (0x0009) SCT Status supported.
 + SCT Error Recovery Control supported.
 +
 +SMART Attributes Data Structure revision number: 10
 +Vendor Specific SMART Attributes with Thresholds:
 +ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
 +  1 Raw_Read_Error_Rate     0x000f   100   253   006    Pre-fail  Always             0
 +  3 Spin_Up_Time            0x0002   094   094   000    Old_age   Always             0
 +  4 Start_Stop_Count        0x0033   100   100   020    Pre-fail  Always             71
 +  5 Reallocated_Sector_Ct   0x0033   100   100   036    Pre-fail  Always             37
 +  7 Seek_Error_Rate         0x000f   085   060   030    Pre-fail  Always             356768337
 +  9 Power_On_Hours          0x0032   021   021   000    Old_age   Always             69653
 + 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always             0
 + 12 Power_Cycle_Count       0x0033   100   100   020    Pre-fail  Always             82
 +187 Reported_Uncorrect      0x0032   068   068   000    Old_age   Always             32
 +189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always             0
 +190 Airflow_Temperature_Cel 0x0022   063   063   045    Old_age   Always             37 (Min/Max 37/37)
 +194 Temperature_Celsius     0x0022   037   040   000    Old_age   Always             37 (0 16 0 0 0)
 +195 Hardware_ECC_Recovered  0x001a   102   048   000    Old_age   Always             124688544
 +197 Current_Pending_Sector  0x0012   001   001   000    Old_age   Always             4403
 +198 Offline_Uncorrectable   0x0010   001   001   000    Old_age   Offline      -       4403
 +199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always             0
 +200 Multi_Zone_Error_Rate   0x0000   100   253   000    Old_age   Offline      -       0
 +202 Data_Address_Mark_Errs  0x0032   100   253   000    Old_age   Always             0
 +
 +SMART Error Log Version: 1
 +ATA Error Count: 167 (device log contains only the most recent five errors)
 + CR = Command Register [HEX]
 + FR = Features Register [HEX]
 + SC = Sector Count Register [HEX]
 + SN = Sector Number Register [HEX]
 + CL = Cylinder Low Register [HEX]
 + CH = Cylinder High Register [HEX]
 + DH = Device/Head Register [HEX]
 + DC = Device Command Register [HEX]
 + ER = Error register [HEX]
 + ST = Status register [HEX]
 +Powered_Up_Time is measured from power on, and printed as
 +DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
 +SS=sec, and sss=millisec. It "wraps" after 49.710 days.
 +
 +Error 167 occurred at disk power-on lifetime: 4117 hours (171 days + 13 hours)
 +  When the command that caused the error occurred, the device was active or idle.
 +
 +  After command completion occurred, registers were:
 +  ER ST SC SN CL CH DH
 +  -- -- -- -- -- -- --
 +  40 51 00 00 08 00 e0  Error: UNC at LBA = 0x00000800 = 2048
 +
 +  Commands leading to the command that caused the error were:
 +  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 +  -- -- -- -- -- -- -- --  ----------------  --------------------
 +  25 00 08 00 08 00 e0 00      00:06:38.518  READ DMA EXT
 +  25 00 08 18 b8 4e e0 00      00:06:38.516  READ DMA EXT
 +  25 00 08 00 c0 4e e0 00      00:06:38.502  READ DMA EXT
 +  25 00 08 18 18 e9 e0 00      00:06:34.538  READ DMA EXT
 +  25 00 08 f8 0e e9 e0 00      00:06:30.491  READ DMA EXT
 +
 +Error 166 occurred at disk power-on lifetime: 4117 hours (171 days + 13 hours)
 +  When the command that caused the error occurred, the device was active or idle.
 +
 +  After command completion occurred, registers were:
 +  ER ST SC SN CL CH DH
 +  -- -- -- -- -- -- --
 +  40 51 00 00 08 00 e0  Error: UNC at LBA = 0x00000800 = 2048
 +
 +  Commands leading to the command that caused the error were:
 +  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 +  -- -- -- -- -- -- -- --  ----------------  --------------------
 +  25 00 08 00 08 00 e0 00      00:06:38.518  READ DMA EXT
 +  ef 03 45 00 00 00 a0 00      00:06:38.516  SET FEATURES [Set transfer mode]
 +  00 00 08 00 00 00 00 04      00:06:38.502  NOP [Abort queued commands]
 +  25 00 08 00 08 00 e0 00      00:06:34.538  READ DMA EXT
 +  25 00 08 f8 b6 a2 e0 00      00:06:30.491  READ DMA EXT
 +
 +Error 165 occurred at disk power-on lifetime: 4117 hours (171 days + 13 hours)
 +  When the command that caused the error occurred, the device was active or idle.
 +
 +  After command completion occurred, registers were:
 +  ER ST SC SN CL CH DH
 +  -- -- -- -- -- -- --
 +  40 51 00 00 08 00 e0  Error: UNC at LBA = 0x00000800 = 2048
 +
 +  Commands leading to the command that caused the error were:
 +  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 +  -- -- -- -- -- -- -- --  ----------------  --------------------
 +  25 00 08 00 08 00 e0 00      00:05:58.830  READ DMA EXT
 +  25 00 08 f8 b6 a2 e0 00      00:05:54.874  READ DMA EXT
 +  25 00 10 f8 b7 a2 e0 00      00:05:50.836  READ DMA EXT
 +  25 00 08 f8 ae 4e e0 00      00:06:34.538  READ DMA EXT
 +  25 00 08 f8 af 4e e0 00      00:06:30.491  READ DMA EXT
 +
 +Error 164 occurred at disk power-on lifetime: 4117 hours (171 days + 13 hours)
 +  When the command that caused the error occurred, the device was active or idle.
 +
 +  After command completion occurred, registers were:
 +  ER ST SC SN CL CH DH
 +  -- -- -- -- -- -- --
 +  40 51 00 00 08 00 e0  Error: UNC at LBA = 0x00000800 = 2048
 +
 +  Commands leading to the command that caused the error were:
 +  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 +  -- -- -- -- -- -- -- --  ----------------  --------------------
 +  25 00 08 00 08 00 e0 00      00:05:58.830  READ DMA EXT
 +  25 00 08 00 b0 4e e0 00      00:05:54.874  READ DMA EXT
 +  ef 03 45 00 00 00 a0 00      00:05:50.836  SET FEATURES [Set transfer mode]
 +  00 00 08 00 00 00 00 04      00:05:46.773  NOP [Abort queued commands]
 +  25 00 08 00 08 00 e0 00      00:05:46.726  READ DMA EXT
 +
 +Error 163 occurred at disk power-on lifetime: 4117 hours (171 days + 13 hours)
 +  When the command that caused the error occurred, the device was active or idle.
 +
 +  After command completion occurred, registers were:
 +  ER ST SC SN CL CH DH
 +  -- -- -- -- -- -- --
 +  40 51 00 00 08 00 e0  Error: UNC at LBA = 0x00000800 = 2048
 +
 +  Commands leading to the command that caused the error were:
 +  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
 +  -- -- -- -- -- -- -- --  ----------------  --------------------
 +  25 00 08 00 08 00 e0 00      00:05:13.529  READ DMA EXT
 +  25 00 08 08 b8 4e e0 00      00:05:54.874  READ DMA EXT
 +  25 00 08 00 b8 4e e0 00      00:05:50.836  READ DMA EXT
 +  ef 03 45 00 00 00 a0 00      00:05:46.773  SET FEATURES [Set transfer mode]
 +  00 00 08 00 00 00 00 04      00:05:46.726  NOP [Abort queued commands]
 +
 +SMART Self-test log structure revision number 1
 +Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
 +# 1  Short offline       Completed without error       00%                 -
 +
 +SMART Selective self-test log data structure revision number 1
 + SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
 +    1        0        0  Not_testing
 +    2        0        0  Not_testing
 +    3        0        0  Not_testing
 +    4        0        0  Not_testing
 +    5        0        0  Not_testing
 +Selective self-test flags (0x0):
 +  After scanning selected spans, do NOT read-scan remainder of disk.
 +If Selective self-test is pending on power-up, resume after 0 minute delay.
 +</file>
 +
 +En relació a l'error "Error: UNC at LBA = ..." consultar les recomanacions a:
 +  * [[https://serverfault.com/questions/381012/is-unc-s-m-a-r-t-error-serious-need-to-take-action]]
 +
 +Per altra banda, aquesta es la traça de l'execució de la comanda ''sfdisk -l /dev/sdb''
 +
 +<file>
 +root@cie-55-31:/home/sermnadmin/Documents/old-hdd-recovery/partition-backup# strace sfdisk -l /dev/sdb
 +execve("/sbin/sfdisk", ["sfdisk", "-l", "/dev/sdb"], [/* 20 vars */]) = 0
 +brk(0)                                  = 0xed4000
 +access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
 +mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7386212000
 +access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
 +open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
 +fstat(3, {st_mode=S_IFREG|0644, st_size=98535, ...}) = 0
 +mmap(NULL, 98535, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f73861f9000
 +close(3)                                = 0
 +access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
 +open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
 +read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\34\2\0\0\0\0\0"..., 832) = 832
 +fstat(3, {st_mode=S_IFREG|0755, st_size=1738176, ...}) = 0
 +mmap(NULL, 3844640, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f7385c49000
 +mprotect(0x7f7385dea000, 2097152, PROT_NONE) = 0
 +mmap(0x7f7385fea000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1a1000) = 0x7f7385fea000
 +mmap(0x7f7385ff0000, 14880, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f7385ff0000
 +close(3)                                = 0
 +mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f73861f8000
 +mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f73861f7000
 +mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f73861f6000
 +arch_prctl(ARCH_SET_FS, 0x7f73861f7700) = 0
 +mprotect(0x7f7385fea000, 16384, PROT_READ) = 0
 +mprotect(0x611000, 4096, PROT_READ)     = 0
 +mprotect(0x7f7386214000, 4096, PROT_READ) = 0
 +munmap(0x7f73861f9000, 98535)           = 0
 +brk(0)                                  = 0xed4000
 +brk(0xef5000)                           = 0xef5000
 +open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
 +fstat(3, {st_mode=S_IFREG|0644, st_size=1607712, ...}) = 0
 +mmap(NULL, 1607712, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f738606d000
 +close(3)                                = 0
 +open("/dev/sdb", O_RDONLY)              = 3
 +ioctl(3, HDIO_GETGEO, {heads=255, sectors=63, cylinders=19457, start=0}) = 0
 +uname({sys="Linux", node="cie-55-31", ...}) = 0
 +ioctl(3, BLKGETSIZE64, 160041885696)    = 0
 +open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 4
 +fstat(4, {st_mode=S_IFREG|0644, st_size=2492, ...}) = 0
 +mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7386211000
 +read(4, "# Locale name alias data base.\n#"..., 4096) = 2492
 +read(4, "", 4096)                       = 0
 +close(4)                                = 0
 +munmap(0x7f7386211000, 4096)            = 0
 +open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
 +open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
 +open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
 +open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
 +fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 8), ...}) = 0
 +mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7386211000
 +write(1, "\n", 1
 +)                       = 1
 +write(1, "Disk /dev/sdb: 19457 cylinders, "..., 60Disk /dev/sdb: 19457 cylinders, 255 heads, 63 sectors/track
 +) = 60
 +lseek(3, 0, SEEK_SET)                   = 0
 +read(3, "\353c\220\20\216\320\274\0\260\270\0\0\216\330\216\300\373\276\0|\277\0\6\271\0\2\363\244\352!\6\0"..., 512) = 512
 +write(2, "sfdisk: ", 8sfdisk: )                 = 8
 +write(2, "Warning: extended partition does"..., 121Warning: extended partition does not start at a cylinder boundary.
 +DOS and Linux will interpret the contents differently.) = 121
 +write(2, "\n", 1
 +)                       = 1
 +lseek(3, 20001586176, SEEK_SET)         = 20001586176
 +read(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 512) = 512
 +lseek(3, 25000148992, SEEK_SET)         = 25000148992
 +read(3, "\3310\3320\3330\3340\3350\3360\3370\3400\3410\3420\3430\3440\3450\3460\3470\3500"..., 512) = 512
 +lseek(3, 37000052736, SEEK_SET)         = 37000052736
 +read(3, "\17\377\0\0\330\315\0\0\t\233\0\0\303c\0\0`&\0\0\30\347\377\377\244\253\377\377\217s\377\377"..., 512) = 512
 +lseek(3, 56999542784, SEEK_SET)         = 56999542784
 +read(3, "9\246\f\0'O\5\0\232\n\1\0\356\223\6\0\236\307\n\0\360\226\1\0z?\363\377\222\303\355\377"..., 512) = 512
 +write(1, "Units: cylinders of 8225280 byte"..., 74Units: cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
 +
 +) = 74
 +write(1, "   Device Boot Start     End   #"..., 61   Device Boot Start     End   #cyls    #blocks   Id  System
 +) = 61
 +write(1, "/dev/sdb1        0+   2431-   "..., 60/dev/sdb1        0+   2431-   2432-  19530752   83  Linux
 +) = 60
 +write(1, "/dev/sdb2       2431+  19457-  1"..., 63/dev/sdb2       2431+  19457-  17026- 136757249    5  Extended
 +) = 63
 +write(1, "/dev/sdb3          0          "..., 60/dev/sdb3          0                      0    0  Empty
 +) = 60
 +write(1, "/dev/sdb4          0          "..., 60/dev/sdb4          0                      0    0  Empty
 +) = 60
 +write(1, "/dev/sdb5       2431+   3039-   "..., 60/dev/sdb5       2431+   3039-    608-   4881408   83  Linux
 +) = 60
 +write(1, "/dev/sdb6       3039+   4498-   "..., 75/dev/sdb6       3039+   4498-   1459-  11717632   82  Linux swap / Solaris
 +) = 75
 +write(1, "/dev/sdb7       4498+   6929-   "..., 60/dev/sdb7       4498+   6929-   2432-  19529728   83  Linux
 +) = 60
 +write(1, "/dev/sdb8       6929+  19457-  1"..., 60/dev/sdb8       6929+  19457-  12528- 100625408   83  Linux
 +) = 60
 +close(3)                                = 0
 +close(1)                                = 0
 +munmap(0x7f7386211000, 4096)            = 0
 +close(2)                                = 0
 +exit_group(0)                           = ?
 ++++ exited with 0 +++
 +</file>
 ==== Disc dur anterior ==== ==== Disc dur anterior ====
  
Line 771: Line 1050:
  
 Per evitar que els usuaris facin ús dels ports USB per connectar pendrives o discos externs, o del lector de CD/DVD, edito el fitxer ///etc/group// i els bloquejo l'accés eliminant l'usuari //sermnuab// dels grups //cdrom// i //plugdev//. Per evitar que els usuaris facin ús dels ports USB per connectar pendrives o discos externs, o del lector de CD/DVD, edito el fitxer ///etc/group// i els bloquejo l'accés eliminant l'usuari //sermnuab// dels grups //cdrom// i //plugdev//.
 +
 +===== Impressora en PDF =====
 +
 +Instal·lo el paquet //printer-driver-cups-pdf// per crear una impressora virtual en fitxers PDF. Això fa que s'instal·li el gestor d'impressió [[https://www.cups.org/ | CUPS]] i que a la llista d'impressores surtin les que troba a la xarxa. Per eliminar-les desactivo el servei de descoberta d'impressores:
 +
 +<file>
 +sermnadmin@cie-55-31:~$ sudo systemctl stop cups-browsed.service 
 +[sudo] password for sermnadmin: 
 +sermnadmin@cie-55-31:~$ sudo systemctl disable cups-browsed.service 
 +Synchronizing state for cups-browsed.service with sysvinit using update-rc.d...
 +Executing /usr/sbin/update-rc.d cups-browsed defaults
 +Executing /usr/sbin/update-rc.d cups-browsed disable
 +insserv: warning: current start runlevel(s) (empty) of script `cups-browsed' overrides LSB defaults (2 3 4 5).
 +insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `cups-browsed' overrides LSB defaults (0 1 6).
 +sermnadmin@cie-55-31:~$ sudo systemctl status cups-browsed.service 
 +● cups-browsed.service - Make remote CUPS printers available locally
 +   Loaded: loaded (/lib/systemd/system/cups-browsed.service; disabled)
 +   Active: inactive (dead)
 +
 +May 31 12:47:30 cie-55-31 systemd[1]: Starting Make remote CUPS printers available locally...
 +May 31 12:47:30 cie-55-31 systemd[1]: Started Make remote CUPS printers available locally.
 +May 31 12:56:32 cie-55-31 systemd[1]: Stopping Make remote CUPS printers available locally...
 +May 31 12:56:32 cie-55-31 systemd[1]: Stopped Make remote CUPS printers available locally.
 +</file>
 +
 +i les impressores de xarxa despareixen i només queda la impressora virtual local.
 +
 +<WRAP alert>
 +FIXME La impressió des de la pestanya //plot// del TopSpin dóna un error, 
 +
 +<file>
 +Printing has been cancelled:
 +java.awt.print.PrinterIOException
 +(Original message = Printing has been cancelled:
 +java.awt.print.PrinterIOException)
 +
 +====================================================
 +31 May 2017 13:12:06.490 +0200
 +Topspin Version  = 3.5 pl 6 (of August 4 2016),build 1784
 +JVM Version      = 1.8.0_102 (32 bit) Oracle Corporation
 +JVM Total memory = 110 MB
 +JVM Free  memory = 42 MB
 +
 +java.lang.Exception: Stack trace
 + at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.getDetailsString(AbstractMessage.java:827)
 + at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.setMsgSource(AbstractMessage.java:790)
 + at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.<init>(AbstractMessage.java:774)
 + at de.bruker.nmr.mfw.base.BWarning.<init>(BWarning.java:102)
 + at de.bruker.nmr.mfw.base.BError.<init>(BError.java:93)
 + at de.bruker.nmr.mfw.base.BError.<init>(BError.java:72)
 + at de.bruker.nmr.pr.plot.media.MediaFactory.doPrint(MediaFactory.java:583)
 + at de.bruker.nmr.pr.plot.LayoutEditor$PlotPreviewHelperThread.run(LayoutEditor.java:1059)
 +</file>
 +
 +Per trobar una solució, consultar els enllaços:
 +  * [[https://docs.oracle.com/javase/7/docs/api/java/awt/print/PrinterIOException.html]]
 +  * [[https://stackoverflow.com/questions/17694722/java-awt-print-printerexception-printer-is-not-accepting-job]]
 +  * [[http://copy-con.blogspot.com.es/2009/12/printer-is-not-accepting-job.html]]
 +  * [[https://www.questarter.com/q/java-printing-with-cups-printers-not-found-3_860495.html]]
 +  * [[https://www.experts-exchange.com/questions/28406389/Custom-VKP80-Printer-is-not-printing-anything-at-all.html]]
 +  * [[http://www.cups-pdf.de]]
 +  * ...
 +</WRAP>
 +
 +====== Nautilus scripts ======
 +
 +<WRAP todo>
 +Decidir si s'instal·len i, en tot cas, quins s'instal·len:
 +  * [[https://packages.debian.org/jessie/nautilus-scripts-manager]]
 +  * [[https://help.ubuntu.com/community/NautilusScriptsHowto]]
 +  * [[http://g-scripts.sourceforge.net/]]
 +</WRAP>
  
  
informatica/hp_xw4400_400sb_upgrade_2017.1495203412.txt.gz · Last modified: 2017/05/19 16:16 by miquel