Datamaskin shopbot

Fra Bitraf
Revisjon per 1. jun. 2022 kl. 20:12 av Tingo (diskusjon | bidrag) (Bilder: lagt inn et bilde av Windows "about" etter at PC'en ble vekket til live igjen.)
(diff) ← Eldre revisjon | Nåværende revisjon (diff) | Nyere revisjon → (diff)
Hopp til navigering Hopp til søk

Dedikert datamaskin for å styre ShopBot og kjøre jobber på den. Maskinen er kjøpt på AliExpress[1].

Operativsystem

Maskinen kjører Windows 10, fordi programvaren som brukes til styring og kjøring av jobber på ShopBot'en krever windows.

Om maskinen

merke 
Hystou[2]
navn 
modell 
P05B-i7-7500U
CPU 
Intel Core i7 7500U @ 2.70 GHz
minne 
16GB RAM DDR3L
lagring 
512 GB SSD - KingSpec MT-512[3], msata
hovedkort 
GSKL1-VERB

Shopbot-maskinen ble kjøpt Sep 6, 2018. Spekken var ganske grei "16GB RAM 512GB SSD, DDR3L i7 7500U". Vi betalte ca 6500 for den inkl frakt fra Kina.

BIOS

  • BIOS: AMI BIOS 5.12
    • UEFI 2.5; PI 1.4
    • GKBL1 1.06 x64
    • 12/04/2017
  • Board ID: SKYBAY

Keys: Esc, Del - enter BIOS menus

To boot from a removable device (for example, usb memory stick): insert usb stick, enter bios, and find the "Boot override" menu on the "Save and exit" page in the bios. Select correct device there.

Bilder

2022-06-01 
Windows "about" etter at Shopbot PCen er vekket til live igjen.

Bilder av PCen.

Historikk

2022-06-01 
sjekket PC'en. Strømforsyning ok, gir 12V inn. BIOS-batteri ok. Etter at jeg tok ut BIOA-batteriet og satte det inn igjen så fungerer PC'en (måtte sette opp rett boot device på nytt). Testet noen ganger med strøm av og på - PCen fungerer. Tingo (diskusjon) 1. jun. 2022 kl. 20:55 (CEST)
2022-05-20 
Thomas melder (på slack) "Det ser dessverre ut som om frese-PCen til Shopboten har tatt kvelden  Evt. er mine diagnostiseringsskills for dårlige. Det er ingen livstegn å spore når man skrur den på, selv med annen monitor koblet på. Ja, den er koblet til strøm. Strømforsyningen gir 12V ut, det jeg tror er en liten LED foran på PCen lyser ikke." Thomas
2020-11-24 
reinstallert Windows 10 (custom install). Det gjenstår å sette opp ShopBot programver, dropbox og annet som trengs. Tingo (diskusjon) 24. nov. 2020 kl. 22:03 (CET)
2020-11-24 
testet med følgende (fra Win 10 install usb)
bootrec /fixmbr - ok
bootsect /nt60 all
bootrec /fixboot - ok
bootrec /rebuildbcd - ok

chkdsk c: /scan - ok
sfc /scannow - ok

da er det ingen vei utenom - Windows må reinstalleres. Tingo (diskusjon) 24. nov. 2020 kl. 22:02 (CET)

2020-11-24 
run ntfsfix without '-n', see if there is a difference
root@kg-test:~ # ntfsfix  /dev/ada0p4
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/ada0p4 was processed successfully.

root@kg-test:~ # ntfsfix /dev/ada0p5
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/ada0p5 was processed successfully.

nope, seems the same. Tingo (diskusjon) 24. nov. 2020 kl. 19:05 (CET)

2020-11-24 
info from ntfsfix:
root@kg-test:~ # ntfsfix -n /dev/ada0p4
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/ada0p4 was processed successfully.
root@kg-test:~ # ntfsfix -n /dev/ada0p5
Mounting volume... OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... OK
NTFS volume version is 3.1.
NTFS partition /dev/ada0p5 was processed successfully.

both volumes seems to be ok. Tingo (diskusjon) 24. nov. 2020 kl. 19:00 (CET)

2020-11-24 
info fra ntfsinfo (ntfs-3g, fra FreeBSD):

partisjon 4

root@kg-test:~ # ntfsinfo -m /dev/ada0p4
Volume Information 
	Name of device: /dev/ada0p4
	Device state: 11
	Volume Name: 
	Volume State: 91
	Volume Flags: 0x0000
	Volume Version: 3.1
	Sector Size: 512
	Cluster Size: 4096
	Index Block Size: 4096
	Volume Size in Clusters: 26069503
MFT Information 
	MFT Record Size: 1024
	MFT Zone Multiplier: 0
	MFT Data Position: 24
	MFT Zone Start: 786432
	MFT Zone End: 4045119
	MFT Zone Position: 786432
	Current Position in First Data Zone: 4045119
	Current Position in Second Data Zone: 0
	Allocated clusters 179392 (0.7%)
	LCN of Data Attribute for FILE_MFT: 786432
	FILE_MFTMirr Size: 4
	LCN of Data Attribute for File_MFTMirr: 2
	Size of Attribute Definition Table: 2560
	Number of Attached Extent Inodes: 0
FILE_Bitmap Information 
	FILE_Bitmap MFT Record Number: 6
	State of FILE_Bitmap Inode: 80
	Length of Attribute List: 0
	Number of Attached Extent Inodes: 0
FILE_Bitmap Data Attribute Information
	Decompressed Runlist: not done yet
	Base Inode: 6
	Attribute Types: not done yet
	Attribute Name Length: 0
	Attribute State: 3
	Attribute Allocated Size: 3260416
	Attribute Data Size: 3258688
	Attribute Initialized Size: 3258688
	Attribute Compressed Size: 0
	Compression Block Size: 0
	Compression Block Size Bits: 0
	Compression Block Clusters: 0
	Free Clusters: 9108116 (34.9%)

partisjon 5

root@kg-test:~ # ntfsinfo -m /dev/ada0p5
Volume Information 
	Name of device: /dev/ada0p5
	Device state: 11
	Volume Name: Stuff
	Volume State: 91
	Volume Flags: 0x0080
	Volume Version: 3.1
	Sector Size: 512
	Cluster Size: 4096
	Index Block Size: 4096
	Volume Size in Clusters: 98812159
MFT Information 
	MFT Record Size: 1024
	MFT Zone Multiplier: 0
	MFT Data Position: 24
	MFT Zone Start: 786432
	MFT Zone End: 13137951
	MFT Zone Position: 786432
	Current Position in First Data Zone: 13137951
	Current Position in Second Data Zone: 0
	Allocated clusters 64 (0.0%)
	LCN of Data Attribute for FILE_MFT: 786432
	FILE_MFTMirr Size: 4
	LCN of Data Attribute for File_MFTMirr: 2
	Size of Attribute Definition Table: 2560
	Number of Attached Extent Inodes: 0
FILE_Bitmap Information 
	FILE_Bitmap MFT Record Number: 6
	State of FILE_Bitmap Inode: 80
	Length of Attribute List: 0
	Number of Attached Extent Inodes: 0
FILE_Bitmap Data Attribute Information
	Decompressed Runlist: not done yet
	Base Inode: 6
	Attribute Types: not done yet
	Attribute Name Length: 0
	Attribute State: 3
	Attribute Allocated Size: 12353536
	Attribute Data Size: 12351520
	Attribute Initialized Size: 12351520
	Attribute Compressed Size: 0
	Compression Block Size: 0
	Compression Block Size Bits: 0
	Compression Block Clusters: 0
	Free Clusters: 98775653 (100.0%)

Guess: the smaller partition is the Windows "C" drive? Tingo (diskusjon) 24. nov. 2020 kl. 18:57 (CET)

2020-11-24 
info om partisjoner på disken (ved hjelp av gpart - FreeBSD)
root@kg-test:~ # gpart show -p ada0
=>        34  1000215149    ada0  GPT  (477G)
          34        2014          - free -  (1.0M)
        2048      921600  ada0p1  ms-recovery  (450M)
      923648      204800  ada0p2  efi  (100M)
     1128448       32768  ada0p3  ms-reserved  (16M)
     1161216   208556032  ada0p4  ms-basic-data  (99G)
   209717248   790497280  ada0p5  ms-basic-data  (377G)
  1000214528         655          - free -  (328K)

og info fra disktype (også FreeBSD)

root@kg-test:~ # disktype /dev/ada0

--- /dev/ada0
Character device, size 476.9 GiB (512110190592 bytes)
DOS/MBR partition map
Partition 1: 2.000 TiB (2199023255040 bytes, 4294967295 sectors from 1)
  Type 0xEE (EFI GPT protective)
GPT partition map, 128 entries
  Disk size 476.9 GiB (512110190592 bytes, 1000215216 sectors)
  Disk GUID EF468556-0A05-7243-99E7-C42BCBB05B4D
Partition 1: 450 MiB (471859200 bytes, 921600 sectors from 2048)
  Type Unknown (GUID A4BB94DE-D106-404D-A16A-BFD50179D6AC)
  Partition Name "Basic data partition"
  Partition GUID 505EBACA-7F19-C346-9A8A-57087B744965
  NTFS file system
    Volume size 450.0 MiB (471858688 bytes, 921599 sectors)
Partition 2: 100 MiB (104857600 bytes, 204800 sectors from 923648)
  Type EFI System (FAT) (GUID 28732AC1-1FF8-D211-BA4B-00A0C93EC93B)
  Partition Name "EFI system partition"
  Partition GUID 8754439B-5B0A-7845-A522-09E8C63D364D
  FAT32 file system (hints score 4 of 5)
    Volume size 96 MiB (100663296 bytes, 98304 clusters of 1 KiB)
Partition 3: 16 MiB (16777216 bytes, 32768 sectors from 1128448)
  Type MS Reserved (GUID 16E3C9E3-5C0B-B84D-817D-F92DF00215AE)
  Partition Name "Microsoft reserved partition"
  Partition GUID AA04689B-3EBC-E143-B151-5735E52C4490
Partition 4: 99.45 GiB (106780688384 bytes, 208556032 sectors from 1161216)
  Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
  Partition Name "Basic data partition"
  Partition GUID EC47BE6C-0957-324F-9836-BFD333BAE0E6
  NTFS file system
    Volume size 99.45 GiB (106780687872 bytes, 208556031 sectors)
Partition 5: 376.9 GiB (404734607360 bytes, 790497280 sectors from 209717248)
  Type Basic Data (GUID A2A0D0EB-E5B9-3344-87C0-68B6B72699C7)
  Partition Name "Basic data partition"
  Partition GUID 5FD3B78A-A47B-E64E-AC2C-BEBFA49388FE
  NTFS file system
    Volume size 376.9 GiB (404734606848 bytes, 790497279 sectors)
Partition 6: unused

Tingo (diskusjon) 24. nov. 2020 kl. 18:36 (CET)

testet disken ved hjelp av # smartctl -t <test> /dev/ada0, med test "offline", "short", "long". Resultat (fra # smartctl -a /dev/ada0:
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%     18833         -
# 2  Extended offline    Completed without error       00%     18833         -
# 3  Short offline       Completed without error       00%     18807         -

så selve disken virker å være i orden. Tingo (diskusjon) 24. nov. 2020 kl. 17:31 (CET)

info om disken på maskina, fra smartctl
root@kg-test:~ # smartctl -i /dev/ada0
smartctl 7.1 2019-12-30 r5022 [FreeBSD 11.3-RELEASE amd64] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     MT-512
Serial Number:    978080695598
LU WWN Device Id: 5 000000 000000000
Firmware Version: H180516
User Capacity:    512,110,190,592 bytes [512 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 (minor revision not indicated)
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Tue Nov 24 17:25:39 2020 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

info fra dmesg (FreeBSD)

root@kg-test:~ # dmesg | grep ada0
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
hdaa1: ada0: <MT-512 H180516> ACS-2 ATA SATA 3.x device
ada0: Serial Number 978080695598
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 488386MB (1000215216 512 byte sectors)

så, en msata ssd på 512GB. Tingo (diskusjon) 24. nov. 2020 kl. 17:27 (CET)

testet minnet på maskinen ved hjelp av Memtest86+ (en runde) - minnet er ok. Tingo (diskusjon) 24. nov. 2020 kl. 16:46 (CET)

Referanser