This shows you the differences between two versions of the page.
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' | 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' | ||
- | * :fail: gnome | + | |
+ | | ||
* :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, | + | * :ok: gnome-games, |
- | * :fail: simple-scan, xsane, xsane-common, | + | * :ok: simple-scan |
* ... | * ... | ||
Line 387: | Line 389: | ||
==== Avahi ==== | ==== Avahi ==== | ||
- | FIXME S'ha de configurar (fitxer | + | Aturo i desactivo el servei amb les comandes |
+ | * '' | ||
+ | * '' | ||
==== Trivial FTP daemon ==== | ==== Trivial FTP daemon ==== | ||
- | Enllaços sobre la configuració del // | + | FIXME Enllaços sobre la configuració del // |
* http:// | * http:// | ||
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:// | * [[https:// | ||
* [[https:// | * [[https:// | ||
+ | |||
+ | === Gnome Shell Extensions === | ||
+ | |||
+ | Segueixo les instruccions a [[https:// | ||
+ | * [[https:// | ||
+ | * ... | ||
+ | |||
===== Instal·lació del TopSpin ===== | ===== Instal·lació del TopSpin ===== | ||
Line 604: | Line 615: | ||
< | < | ||
[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: | [167527.620235] end_request: | ||
[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: | [167535.691098] end_request: | ||
[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: | [167576.211140] end_request: | ||
[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: | ||
- | [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: | ||
- | [167609.355696] Buffer I/O error on device sdb8, logical block 0 | ||
</ | </ | ||
Line 696: | Line 680: | ||
</ | </ | ||
+ | i el resultat d' | ||
+ | |||
+ | < | ||
+ | root@cie-55-31:/ | ||
+ | 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: | ||
+ | Device Model: | ||
+ | Serial Number: | ||
+ | Firmware Version: 3.AHL | ||
+ | User Capacity: | ||
+ | Sector Size: 512 bytes logical/ | ||
+ | Device is: In smartctl database [for details use: -P show] | ||
+ | ATA Version is: | ||
+ | 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: | ||
+ | was completed without error. | ||
+ | Auto Offline Data Collection: Enabled. | ||
+ | Self-test execution status: | ||
+ | without error or no self-test has ever | ||
+ | been run. | ||
+ | Total time to complete Offline | ||
+ | data collection: ( 433) seconds. | ||
+ | Offline data collection | ||
+ | capabilities: | ||
+ | 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: | ||
+ | power-saving mode. | ||
+ | Supports SMART auto save timer. | ||
+ | Error logging capability: | ||
+ | General Purpose Logging supported. | ||
+ | Short self-test routine | ||
+ | recommended polling time: ( 2) minutes. | ||
+ | Extended self-test routine | ||
+ | recommended polling time: ( 54) minutes. | ||
+ | SCT capabilities: | ||
+ | SCT Error Recovery Control supported. | ||
+ | |||
+ | SMART Attributes Data Structure revision number: 10 | ||
+ | Vendor Specific SMART Attributes with Thresholds: | ||
+ | ID# ATTRIBUTE_NAME | ||
+ | 1 Raw_Read_Error_Rate | ||
+ | 3 Spin_Up_Time | ||
+ | 4 Start_Stop_Count | ||
+ | 5 Reallocated_Sector_Ct | ||
+ | 7 Seek_Error_Rate | ||
+ | 9 Power_On_Hours | ||
+ | 10 Spin_Retry_Count | ||
+ | 12 Power_Cycle_Count | ||
+ | 187 Reported_Uncorrect | ||
+ | 189 High_Fly_Writes | ||
+ | 190 Airflow_Temperature_Cel 0x0022 | ||
+ | 194 Temperature_Celsius | ||
+ | 195 Hardware_ECC_Recovered | ||
+ | 197 Current_Pending_Sector | ||
+ | 198 Offline_Uncorrectable | ||
+ | 199 UDMA_CRC_Error_Count | ||
+ | 200 Multi_Zone_Error_Rate | ||
+ | 202 Data_Address_Mark_Errs | ||
+ | |||
+ | 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: | ||
+ | SS=sec, and sss=millisec. It " | ||
+ | |||
+ | 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 | ||
+ | -- -- -- -- -- -- -- -- ---------------- | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | 25 00 08 18 b8 4e e0 00 00: | ||
+ | 25 00 08 00 c0 4e e0 00 00: | ||
+ | 25 00 08 18 18 e9 e0 00 00: | ||
+ | 25 00 08 f8 0e e9 e0 00 00: | ||
+ | |||
+ | 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 | ||
+ | -- -- -- -- -- -- -- -- ---------------- | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | ef 03 45 00 00 00 a0 00 00: | ||
+ | 00 00 08 00 00 00 00 04 00: | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | 25 00 08 f8 b6 a2 e0 00 00: | ||
+ | |||
+ | 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 | ||
+ | -- -- -- -- -- -- -- -- ---------------- | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | 25 00 08 f8 b6 a2 e0 00 00: | ||
+ | 25 00 10 f8 b7 a2 e0 00 00: | ||
+ | 25 00 08 f8 ae 4e e0 00 00: | ||
+ | 25 00 08 f8 af 4e e0 00 00: | ||
+ | |||
+ | 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 | ||
+ | -- -- -- -- -- -- -- -- ---------------- | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | 25 00 08 00 b0 4e e0 00 00: | ||
+ | ef 03 45 00 00 00 a0 00 00: | ||
+ | 00 00 08 00 00 00 00 04 00: | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | |||
+ | 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 | ||
+ | -- -- -- -- -- -- -- -- ---------------- | ||
+ | 25 00 08 00 08 00 e0 00 00: | ||
+ | 25 00 08 08 b8 4e e0 00 00: | ||
+ | 25 00 08 00 b8 4e e0 00 00: | ||
+ | ef 03 45 00 00 00 a0 00 00: | ||
+ | 00 00 08 00 00 00 00 04 00: | ||
+ | |||
+ | SMART Self-test log structure revision number 1 | ||
+ | Num Test_Description | ||
+ | # 1 Short offline | ||
+ | |||
+ | SMART Selective self-test log data structure revision number 1 | ||
+ | | ||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | En relació a l' | ||
+ | * [[https:// | ||
+ | |||
+ | Per altra banda, aquesta es la traça de l' | ||
+ | |||
+ | < | ||
+ | root@cie-55-31:/ | ||
+ | execve("/ | ||
+ | brk(0) | ||
+ | access("/ | ||
+ | mmap(NULL, 8192, PROT_READ|PROT_WRITE, | ||
+ | access("/ | ||
+ | open("/ | ||
+ | fstat(3, {st_mode=S_IFREG|0644, | ||
+ | mmap(NULL, 98535, PROT_READ, MAP_PRIVATE, | ||
+ | close(3) | ||
+ | access("/ | ||
+ | open("/ | ||
+ | read(3, " | ||
+ | fstat(3, {st_mode=S_IFREG|0755, | ||
+ | mmap(NULL, 3844640, PROT_READ|PROT_EXEC, | ||
+ | mprotect(0x7f7385dea000, | ||
+ | mmap(0x7f7385fea000, | ||
+ | mmap(0x7f7385ff0000, | ||
+ | close(3) | ||
+ | mmap(NULL, 4096, PROT_READ|PROT_WRITE, | ||
+ | mmap(NULL, 4096, PROT_READ|PROT_WRITE, | ||
+ | mmap(NULL, 4096, PROT_READ|PROT_WRITE, | ||
+ | arch_prctl(ARCH_SET_FS, | ||
+ | mprotect(0x7f7385fea000, | ||
+ | mprotect(0x611000, | ||
+ | mprotect(0x7f7386214000, | ||
+ | munmap(0x7f73861f9000, | ||
+ | brk(0) | ||
+ | brk(0xef5000) | ||
+ | open("/ | ||
+ | fstat(3, {st_mode=S_IFREG|0644, | ||
+ | mmap(NULL, 1607712, PROT_READ, MAP_PRIVATE, | ||
+ | close(3) | ||
+ | open("/ | ||
+ | ioctl(3, HDIO_GETGEO, | ||
+ | uname({sys=" | ||
+ | ioctl(3, BLKGETSIZE64, | ||
+ | open("/ | ||
+ | fstat(4, {st_mode=S_IFREG|0644, | ||
+ | mmap(NULL, 4096, PROT_READ|PROT_WRITE, | ||
+ | read(4, "# Locale name alias data base.\n#" | ||
+ | read(4, "", | ||
+ | close(4) | ||
+ | munmap(0x7f7386211000, | ||
+ | open("/ | ||
+ | open("/ | ||
+ | open("/ | ||
+ | open("/ | ||
+ | fstat(1, {st_mode=S_IFCHR|0620, | ||
+ | mmap(NULL, 4096, PROT_READ|PROT_WRITE, | ||
+ | write(1, " | ||
+ | ) = 1 | ||
+ | write(1, "Disk /dev/sdb: 19457 cylinders, "..., 60Disk /dev/sdb: 19457 cylinders, 255 heads, 63 sectors/ | ||
+ | ) = 60 | ||
+ | lseek(3, 0, SEEK_SET) | ||
+ | read(3, " | ||
+ | write(2, " | ||
+ | write(2, " | ||
+ | DOS and Linux will interpret the contents differently.) = 121 | ||
+ | write(2, " | ||
+ | ) = 1 | ||
+ | lseek(3, 20001586176, | ||
+ | read(3, " | ||
+ | lseek(3, 25000148992, | ||
+ | read(3, " | ||
+ | lseek(3, 37000052736, | ||
+ | read(3, " | ||
+ | lseek(3, 56999542784, | ||
+ | read(3, " | ||
+ | write(1, " | ||
+ | |||
+ | ) = 74 | ||
+ | write(1, " | ||
+ | ) = 61 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | write(1, "/ | ||
+ | ) = 63 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | write(1, "/ | ||
+ | ) = 75 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | write(1, "/ | ||
+ | ) = 60 | ||
+ | close(3) | ||
+ | close(1) | ||
+ | munmap(0x7f7386211000, | ||
+ | close(2) | ||
+ | exit_group(0) | ||
+ | +++ exited with 0 +++ | ||
+ | </ | ||
==== 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 /// | 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 /// | ||
+ | |||
+ | ===== Impressora en PDF ===== | ||
+ | |||
+ | Instal·lo el paquet // | ||
+ | |||
+ | < | ||
+ | sermnadmin@cie-55-31: | ||
+ | [sudo] password for sermnadmin: | ||
+ | sermnadmin@cie-55-31: | ||
+ | Synchronizing state for cups-browsed.service with sysvinit using update-rc.d... | ||
+ | Executing / | ||
+ | Executing / | ||
+ | insserv: warning: current start runlevel(s) (empty) of script `cups-browsed' | ||
+ | insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `cups-browsed' | ||
+ | sermnadmin@cie-55-31: | ||
+ | ● cups-browsed.service - Make remote CUPS printers available locally | ||
+ | | ||
+ | | ||
+ | |||
+ | 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. | ||
+ | </ | ||
+ | |||
+ | 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, | ||
+ | |||
+ | < | ||
+ | Printing has been cancelled: | ||
+ | java.awt.print.PrinterIOException | ||
+ | (Original message = Printing has been cancelled: | ||
+ | java.awt.print.PrinterIOException) | ||
+ | |||
+ | ==================================================== | ||
+ | 31 May 2017 13: | ||
+ | Topspin Version | ||
+ | JVM Version | ||
+ | JVM Total memory = 110 MB | ||
+ | JVM Free memory = 42 MB | ||
+ | |||
+ | java.lang.Exception: | ||
+ | at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.getDetailsString(AbstractMessage.java: | ||
+ | at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.setMsgSource(AbstractMessage.java: | ||
+ | at bruker.bio.topspin.bfw.gui.warn.AbstractMessage.< | ||
+ | at de.bruker.nmr.mfw.base.BWarning.< | ||
+ | at de.bruker.nmr.mfw.base.BError.< | ||
+ | at de.bruker.nmr.mfw.base.BError.< | ||
+ | at de.bruker.nmr.pr.plot.media.MediaFactory.doPrint(MediaFactory.java: | ||
+ | at de.bruker.nmr.pr.plot.LayoutEditor$PlotPreviewHelperThread.run(LayoutEditor.java: | ||
+ | </ | ||
+ | |||
+ | Per trobar una solució, consultar els enllaços: | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * ... | ||
+ | </ | ||
+ | |||
+ | ====== Nautilus scripts ====== | ||
+ | |||
+ | <WRAP todo> | ||
+ | Decidir si s' | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | </ | ||