c0l0
Semiprofi
- Mitglied seit
- 06.04.2024
- Beiträge
- 64
- Ort
- AT, Wien
- Desktop System
- ryzealot
- Prozessor
- AMD Ryzen 5 PRO 5650G with Radeon Graphics
- Mainboard
- ASRock B550M-ITX/ac
- Kühler
- Noctua NH-D9L
- Speicher
- 2x Kingston 9965745-042.A01G
- Display
- HP X27q
- SSD
- Samsung SSD 970 EVO Plus 500GB
- Gehäuse
- Raijintek Metis Evo ALS
- Netzteil
- SilverStone Nightjar Series 400W SST-ST40NF
- Keyboard
- Blitzwolf BW-KB2
- Mouse
- Sharkoon SharkForce II
- Betriebssystem
- Arch Linux
- Webbrowser
- Mozilla Firefox
Nachdem gestern der Paketbote einen kleinen Stapel Boards hier abgestellt hat, hab ich mich heute darangesetzt, das erste in einen Ziegelstein zu verwandeln (was bisher noch nicht passiert ist, aber auch noch nicht *ernsthaft* versucht wurde ):
Bootlog habe ich schon mal bekommen:
Das Bauen eines aktuellen AST2500-Images von OpenBMC hab ich schon vorgestern versucht, ist momentan aber an den zu geringen Ressourcen meines Buildenvs (ich bin ein sparsam computerisierender Mensch ) gescheitert. Das werde ich am Wochenende wohl zu beheben schaffen, wenn mich der angekuendigte Besuch meines Schwagers nicht zu sehr aufhaelt...
Der Plan ist dann mal mit der U-Boot-Konsole zu interagieren, ein im qemu-AST2500-Emulator bootfaehiges OpenBMC-Image zu bauen, das DTS/DTB-Zeug zu verstehen und aus der AMI-Firmware zu kratzen, das dann mit dem OpenBMC-Buildenv sinnvoll zu verheiraten, das so resultierende Image hoffentlich mittels qemu als brauchbar zu verfizieren, um es dann auf die echte HW zu flashen... und am Ende ohne Ziegelstein dazustehen
Ich melde mich jedenfalls hier mit relevanten Zwischenerfolgen und ggf. auch Fehlschlaegen
Bootlog habe ich schon mal bekommen:
Code:
$ picocom /dev/ttyUSB0 --baud=115200 --parity=n
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 115200
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
DRAM Init-V12-DDR4
0abc1-4Gb-Done
Read margin-DL:0.3823/DH:0.3921 CK (min:0.30)
U-Boot 2013.07 (Apr 22 2021 - 16:43:55)
I2C: ready
DRAM: 424 MiB
eSPI Handshake complete
OEM_BOARD_INIT - Start (BMC)
LPC mode
OEM_BOARD_INIT - End
Flash: Found SPI Chip Micron/Numonyx N25Q512A(0x20ba) 2x I/O READ, NORMAL WRITE
64 MiB
MMC:
Net: RTL8211E, EEECR = 0x06
RTL8211E, EEEAR = 0x00
RTL8211E, EEELPAR = 0x06
RTL8211E, LACR = 0xc1
RTL8211E, LCR = 0x9742
ast_eth0, ast_eth1
DRAM ECC enabled
Hit any key to stop autoboot: 0
Image to be booted is 1
conf @ /dev/mtdblock1 Address 20060000
conf @ /dev/mtdblock2 Address 20260000
ec @ /dev/mtdblock3 Address 20460000
Found Root File System @ /dev/mtdblock4
Root File System is CRAMFS
root @ /dev/mtdblock4 Address 20560000
dre @ /dev/mtdblock5 Address 22b70000
www @ /dev/mtdblock6 Address 22bf0000
Un-Protect Flash Bank # 1
Booting from Primary side
Booting from MODULE_PIMAGE ...
Bootargs = [root=/dev/mtdblock4 ro ip=none mem=424M console=ttyS4,115200 rootfstype=cramfs bigphysarea=6144 imagebooted=1]
## Booting kernel from Legacy Image at 80100000 ...
Image Name: Linux-3.14.17-ami
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2793016 Bytes = 2.7 MiB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.17-ami (AMI@localhost) (gcc version 4.9.4 (GCC) ) #1 Thu Apr 22 16:43:06 CST 2021
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: AST2500EVB
[ 0.000000] cma: CMA: reserved 44 MiB at 97c00000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 107696
[ 0.000000] Kernel command line: root=/dev/mtdblock4 ro ip=none mem=424M console=ttyS4,115200 rootfstype=cramfs bigphysarea=6144 imagebooted=1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 354976K/434176K available (3854K kernel code, 194K rwdata, 1276K rodata, 150K init, 127K bss, 79200K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xdb000000 - 0xff000000 ( 576 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xda800000 ( 424 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc050add4 (5132 kB)
[ 0.000000] .init : 0xc050b000 - 0xc053082c ( 151 kB)
[ 0.000000] .data : 0xc0532000 - 0xc0562a20 ( 195 kB)
[ 0.000000] .bss : 0xc0562a20 - 0xc0582780 ( 128 kB)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:64
[ 0.000000] AST Interrupt Controller Enabled
[ 0.000000] AST Timer Enabled
[ 0.000000] sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 21474836480000000ns
[ 0.120000] console [ttyS4] enabled
[ 0.120000] Calibrating delay loop... 789.70 BogoMIPS (lpj=3948544)
[ 0.170000] pid_max: default: 32768 minimum: 301
[ 0.170000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.180000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.190000] CPU: Testing write buffer coherency: ok
[ 0.190000] Setting up static identity map for 0x803c9f10 - 0x803c9f48
[ 0.200000] devtmpfs: initialized
[ 0.220000] NET: Registered protocol family 16
[ 0.220000] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.300000] bio: create slab <bio-0> at 0
[ 0.310000] usbcore: registered new interface driver usbfs
[ 0.320000] usbcore: registered new interface driver hub
[ 0.330000] usbcore: registered new device driver usb
[ 0.340000] FS-Cache: Loaded
[ 0.340000] CacheFiles: Loaded
[ 0.360000] NET: Registered protocol family 2
[ 0.360000] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.380000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.380000] TCP: reno registered
[ 0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] NET: Registered protocol family 1
[ 0.400000] RPC: Registered named UNIX socket transport module.
[ 0.410000] RPC: Registered udp transport module.
[ 0.410000] RPC: Registered tcp transport module.
[ 0.420000] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.430000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.470000] bigphysarea: Allocated 6144 pages at 0xd6089000.
[ 0.490000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.500000] FS-Cache: Netfs 'nfs' registered for caching
[ 0.510000] NFS: Registering the id_resolver key type
[ 0.510000] Key type id_resolver registered
[ 0.520000] Key type id_legacy registered
[ 0.520000] FS-Cache: Netfs 'cifs' registered for caching
[ 0.530000] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[ 0.540000] fuse init (API version 7.22)
[ 0.550000] msgmni has been set to 781
[ 0.560000] alg: No test for stdrng (krng)
[ 0.560000] io scheduler noop registered (default)
[ 0.570000] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[ 0.590000] serial8250: ttyS2 at MMIO 0x1e78e000 (irq = 33, base_baud = 1500000) is a 16550A
[ 0.610000] serial8250: ttyS3 at MMIO 0x1e78f000 (irq = 34, base_baud = 1500000) is a 16550A
[ 0.630000] serial8250: ttyS4 at MMIO 0x1e784000 (irq = 10, base_baud = 1500000) is a 16550A
[ 0.680000] brd: module loaded
[ 0.700000] loop: module loaded
[ 0.700000] Ractrends Flash mapping: 0x08000000 at 0x20000000
[ 0.710000] Flash total banks (2)
[ 0.710000] Probing for Flash at Bank # 0
[ 0.720000] Found SPI Chip Micron/Numonyx N25Q512A(0x20ba) 2x I/O READ, NORMAL WRITE
[ 0.730000] Probing for Flash at Bank # 1
[ 0.730000] Ractrends: No spi compatible flash device found
[ 0.730000] *PartCount is 0
[ 0.740000] MTD Partition 0 : fullpart @ 0x0 of Size 0x4000000
[ 0.740000] MTD Partition 1 : conf @ 0x60000 of Size 0x1f0000
[ 0.750000] MTD Partition 2 : conf @ 0x260000 of Size 0x1f0000
[ 0.760000] MTD Partition 3 : ec @ 0x460000 of Size 0x0
[ 0.760000] MTD Partition 4 : root @ 0x560000 of Size 0x2343000
[ 0.770000] MTD Partition 5 : dre @ 0x2b70000 of Size 0x70000
[ 0.770000] MTD Partition 6 : www @ 0x2bf0000 of Size 0x513000
[ 0.780000] Creating 7 MTD partitions on "Ractrends":
[ 0.790000] 0x000000000000-0x000004000000 : "fullpart"
[ 0.800000] 0x000000060000-0x000000250000 : "conf"
[ 0.810000] 0x000000260000-0x000000450000 : "conf"
[ 0.820000] 0x000000460000-0x000004000000 : "ec"
[ 0.820000] 0x000000560000-0x0000028a3000 : "root"
[ 0.830000] mtd: partition "root" doesn't end on an erase block -- force read-only
[ 0.840000] 0x000002b70000-0x000002be0000 : "dre"
[ 0.850000] 0x000002bf0000-0x000003103000 : "www"
[ 0.860000] mtd: partition "www" doesn't end on an erase block -- force read-only
[ 0.870000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 0.910000] i2c /dev entries driver
[ 0.920000] sdhci: Secure Digital Host Controller Interface driver
[ 0.920000] sdhci: Copyright(c) Pierre Ossman
[ 0.970000] AST SoC SD/MMC Driver Init Success
[ 0.970000] Netfilter messages via NETLINK v0.30.
[ 0.980000] nfnl_acct: registering with nfnetlink.
[ 0.980000] xt_time: kernel timezone is -0000
[ 0.990000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 0.990000] arp_tables: (C) 2002 David S. Miller
[ 1.000000] TCP: cubic registered
[ 1.010000] NET: Registered protocol family 10
[ 1.010000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.020000] sit: IPv6 over IPv4 tunneling driver
[ 1.030000] NET: Registered protocol family 17
[ 1.030000] 8021q: 802.1Q VLAN Support v1.8
[ 1.040000] Key type dns_resolver registered
[ 1.050000] VFS: Mounted root (cramfs filesystem) readonly on device 31:4.
[ 1.060000] devtmpfs: mounted
[ 1.060000] Freeing unused kernel memory: 148K (c050b000 - c0530000)
Mount failed for selinuxfs on /sys/fs/selinux: No such file or directory
INIT: version 2.88 booting
Sat Jan 1 00:00:00 UTC 2000
Creating new /var/tmp/libfeature ...
[611 : 611 INFO]JFFS2 Workaround: Mounting default conf partition is successful
[611 : 611 INFO]/conf/if_inet6.txt: Not a Regular File
[611 : 611 INFO]/conf/localtime: Not a Regular File
[611 : 611 INFO]Distination File :-1096374924 can't be created
[611 : 611 CRITICAL][mountall.c:1070]Failed to mount /ec..ret=-1
[ 7.350000] Helper Module Driver Version 1.2
[ 7.360000] Copyright (c) 2009-2015 American Megatrends Inc.
##### Load espi driver start #####
[ 7.410000] The eSPI Driver is loaded successfully.
[ 7.430000] ast_espi: eSPI mode is not enable
insmod: can't insert '/lib/modules/generic/misc/espi_hw.ko': Operation not permitted
##### Load espi driver end #####
RTC disable.
[ 7.600000] random: nonblocking pool is initialized
SEL last Time Stamp is 2022-01-16 11:07:25
Sun Jan 16 11:07:25 GMT 2022
root=/dev/mtdblock4 ro ip=none mem=424M console=ttyS4,115200 rootfstype=cramfs bigphysarea=6144 imagebooted=1
imagebooted 1
bank0size=4000000 bank1size=0
bank1size 0
##### SKU UPDATE ROUTINE #####
[ 8.800000] Registered bus id: i2c-0
[ 8.800000] Registered bus id: i2c-1
[ 8.810000] Registered bus id: i2c-2
[ 8.820000] Registered bus id: i2c-3
[ 8.820000] Registered bus id: i2c-4
[ 8.830000] Registered bus id: i2c-5
[ 8.830000] ERROR: I2C2: BUS recovery did not succeed
[ 8.840000] Registered bus id: i2c-6
[ 8.840000] Registered bus id: i2c-7
[ 8.850000] Registered bus id: i2c-8
[ 8.850000] Registered bus id: i2c-9
[ 8.860000] Registered bus id: i2c-10
[ 8.870000] Registered bus id: i2c-11
[ 8.870000] Registered bus id: i2c-12
[ 8.880000] Registered bus id: i2c-13
[ 8.900000] PWMTACH Common Driver, (c) 2009-2015 American Megatrends Inc.
[ 8.960000] The GPIO Driver is loaded successfully.
[ 8.980000] APSEED AST SoC GPIO HW Driver, (c) 2009-2015 American Megatrends Inc.
SKU: search flash ...
sku_get: bad header
SKU: search EEPROM ...
SKU: found SKU Raw Data
sku_apply: succeed to apply sku.xml.gz
eeprom_read_bp: fail to read
##### Update FRU Component #####
call gbtdisplay to config
set VGA config
I2C Device not found
Make a dummy FRU
I2C Device not found
Make a dummy FRU
I2C Device not found
Make a dummy FRU
Dynamic MAP Selection
Use internal map source
##### Update Fan Profile Component #####
DSC2.0: (MC12_LE0) FanProfile Ready
##### Update SDR #####
cp: can't stat '/conf/redfish/bios/BiosAttributeRegistry': No such file or directory
sdrgen success!
##### Update default value #####
root=/dev/mtdblock4 ro ip=none mem=424M console=ttyS4,115200 rootfstype=cramfs bigphysarea=6144 imagebooted=1
imagebooted 1
kernel.panic = 5
net.ipv4.conf.default.arp_ignore = 1
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.tcp_max_syn_backlog = 2048
net.ipv4.tcp_synack_retries = 3
net.ipv4.tcp_timestamps = 0
Starting Execution Daemon.
Starting Process Manager.
Starting IPMI Stack: IPMIMain node_new: fail to generate node AST2500
node_new: fail to generate node ECFW
Error on operation
[ 18.350000] Reset Common Driver, (c) 2009-2015 American Megatrends Inc.
[ 18.400000] ami_lpc : Using Irq 8
[ 19.060000] KCS Common Driver, (c) 2009-2015 American Megatrends Inc.
[ 19.080000] ami_kcs : Using Irq 8
[ 19.120000] Snoop Common Driver, (c) 2009-2015 American Megatrends Inc.
[ 19.140000] ami_snoop : Using Irq 8
[ 19.160000] ADC Driver Version 1.0
[ 19.160000] Copyright (c) 2009-2015 American Megatrends Inc.
[ 19.320000] ADC HW module loaded
[ 19.330000] Watchdog Common Driver, (c) 2010 American Megatrends Inc.
[ 19.340000] PECI Common Driver, (c) 2009-2015 American Megatrends Inc.
[ 19.360000] ami_peci : Using Irq 15
[ 19.390000] The JTAG Driver is loaded successfully.
[ 19.410000] The CPLD Hardware Driver is loaded successfully
[ 19.410000] Network Interface Monitor Version 6.4.0
[ 19.420000] Copyright (c) 2009-2015 American Megatrends Inc.
[ 19.430000] AST UARTROUTE Driver Version 103.0
[ 19.430000] Copyright (c) 2010 American Megatrends Inc.
[ 19.450000] ast_espi: eSPI mode is not enable
[ 19.470000] The eSPI OOB Driver is loaded successfully.
[ 19.490000] ast_espioob: eSPI mode is not enable
[ 19.510000] The eSPI MAFS Driver is loaded successfully.
[ 19.510000] ast_espimafs: eSPI mode is not enable
[921 : 955 CRITICAL][libssif.c:119]Cannot open i2c device file /dev/i2c255
[921 : 955 CRITICAL][SSIFIfc.c:285]SSIFIfc.c : Error while setting /dev/i2c255 to enable SSIF mode
[ 19.550000] Initializing USB Devices
[ 19.560000] USB Device Endpoint Driver
[ 19.560000] Copyright 2006 American Megatrends Inc.
[ 19.600000] USB Driver is Successfully Initialized
[ 19.610000] Loading iUSB Module...
[ 19.620000] ami_usbhub : Using Irq 5
[ 19.660000] Loading CDROM Device Module...
[ 21.220000] Loading Hdisk Device Module...
[ 22.690000] Loading Ethernet Device Module...
rm: can't remove '/tmp/GBT_SOCKEK_CLIENT*': No such file or directory
[ 24.270000] dev 0 does not connect to host
[921 : 1001 INFO[ 24.390000] Wrong edge trigger type for sensor int
]Cleanup Old Int[ 24.390000] ami_gpio : Using Irq 20
errupt Registrat[ 24.400000] ami_sgpio_master : Using Irq 40
ion for GPIO.
[921 : 1001 INFO]Interrupt registration Success for GPIO.
[921 : 921 CRITICAL][IfcSupport.c:206]( 5c )command is already present in the Command Select Hndlr,hence not adding!!!
[921 : 921 CRITICAL][IfcSupport.c:206]( 5e )command is already present in the Command Select Hndlr,hence not adding!!!
[921 : 921 CRITICAL][IfcSupport.c:206]( 5f )command is already present in the Command Select Hndlr,hence not adding!!!
[921 : 921 CRITICAL][IfcSupport.c:206]( 45 )command is already present in the Command Select Hndlr,hence not adding!!!
[921 : 921 CRITICAL][IfcSupport.c:206]( 46 )command is already present in the Command Select Hndlr,hence not adding!!!
[921 : 921 INFO]IPMIStack is successfully responding to requests...
[921 : 921 INFO]Setting UART1 to UART3 routing also for S OL logging..
[ 25.270000] dev 1 does not connect to host
.
Starting redisrsync Services for /tmp/redis-dump.rdb.gz ..........
Starting redisrsync Services for /tmp/redis-dump.rdb.gz to /conf/redis-dump.rdb.gz ..........
Starting redis-server: redis-server.
gzip: can't open '/tmp/redis-dump.rdb': File exists
Starting Sync Agent
cat: read error: Invalid argument
cat: read error: Invalid argument
LAN count : 1
Eth Index : 2
Eth Chan : 1
LAN count : 1
Eth Index : 2
Eth Chan : 1
IFACEname : bond0
ami_get_service_conf db fail
LAN count : 1
Eth Index : 2
Eth Chan : 1
LAN count : 1
Eth Index : 2
Eth Chan : 1
IFACEname : bond0
ami_get_service_conf db fail
LAN count : 1
Eth Index : 2
Eth Chan : 1
LAN count : 1
Eth Index : 2
Eth Chan : 1
IFACEname : bond0
RMEDIA is not enabled
Invalid FRU Header Version for ID 5
Invalid FRU Header Version for ID 6
Invalid FRU Header Version for ID 7
Invalid FRU Header Version for ID 8
Invalid FRU Header Version for ID 9
Init telemetry success
In update service init agent script
[1064 : 1064 CRITICAL][redfishflashlib.c:1442]GetFWInfo: fopen() failed
Error GetIMG1FWInfo. Error code is : 2
watch fail /var/run/lighttpd.pid
watch fail /var/run/ifstate
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /tmp/redfish_linkChange
.
Starting Redfish Server
/etc/rcS.d/S29redfish-server: line 65: 1: not found
Non Empty allow-header directory
[I 2022/01/16 11:08:02] Adding Host Interface Support to PCIeDeviceHandler
[I 2022/01/16 11:08:02] Adding Host Interface Support to PCIeDeviceFunctionHandler
[I 2022/01/16 11:08:02] Adding Host Interface Support to EndpointInstanceHandler
watch fail /var/run/lighttpd.pid
watch fail /var/run/ifstate
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /tmp/redfish_linkChange
watch fail /var/run/lighttpd.pid
watch fail /var/run/ifstate
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /tmp/redfish_linkChange
[I 2022/01/16 11:08:04] Adding Host Interface Support to RedfishHandler
Launching Task-Service...
Launching Event-Service...
Redfish Server ready to work
Starting MCTP Stack: MCTPMain .
Start MCTP Message Handler Task...
Starting PAM Helper Daemon: PAMHelperD .
Start MCTP over I2C Interface for bus number 4 ...
Start MCTP over I2C Sending Data Task ...
[ 50.440000] NCSI Interface Driver Version 1.1
[ 50.440000] Copyright (c) 2009-2015 American Megatrends Inc.
[ 50.460000] NCSI(eth0): Detect NCSI Packages and Channels
[ 53.430000] Manufacturer ID :: (0x57010000)
Setting USB interface
cat: read error: Invalid argument
[ 56.380000] NC-SI Set Flow Control Command SUCCESSNCSI(eth0): Set Link : Failed.Power Mode Conflict
[ 56.400000] NCSI(eth0): 0.0 Set Link Conflict
[ 56.410000] NCSI(eth0): Initializing the Timer for getting the link state(Pkg:0, Ch:0).
[ 57.420000] NCSI(eth1): Detect NCSI Packages and Channels
[ 57.440000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
LAN count : 1
Eth Index : 2
Eth Chan : 1
LAN count : 1
Eth Index : 2
Eth Chan : 1
IFACEname : bond0
ami_get_service_conf db fail
Init telemetry success
watch fail /var/run/lighttpd.pid
watch fail /var/run/ifstate
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /tmp/redfish_linkChange
[ 60.450000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
watch fail /var/run/lighttpd.pid
watch fail /var/run/ifstate
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /tmp/redfish_linkChange
Enabling User Specified NCSI Port ...
[ 63.790000] NC-SI Set Flow Control Command SUCCESS
[ 63.810000] Manufacturer ID :: (0x57010000)
[ 67.890000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 67.930000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
starting iptables...
Restoring normal configuration..
/conf/iptables.conf Success
starting ip6tables...
Success.
[ 68.170000] bonding: bond0 is being deleted...
[ 68.170000] bonding: bond0: released all slaves
Setting the network link mode as specified in the configuration file - /conf/phycfg.conf ...
[ 70.360000] IPv6: ADDRCONF(NETDEV_UP): lo: link is not ready
[ 70.360000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 70.370000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 70.370000] IPv6: ADDRCONF(NETDEV_UP): sit0: link is not ready
[ 70.380000] IPv6: ADDRCONF(NETDEV_UP): ip6tnl0: link is not ready
Interface lo is going to go up
Interface lo is up
IPv6 entry is not present in interfaces file
Interface bond0 is going to go up
[ 71.570000] bonding: unable to delete non-existent bond0
sh: write error:[ 71.590000] bonding: bond0 is being created...
No such device
[ 71.710000] bonding: bond0: Setting MII monitoring interval to 100.
[ 71.710000] bonding: bond0: Setting use_carrier to 0.
[ 71.810000] bonding: bond0: Adding slave eth1.
[ 71.870000] bonding: bond0: making interface eth1 the new active one.
[ 71.870000] bonding: bond0: enslaving eth1 as an active interface with an up link.
[ 71.920000] bonding: bond0: Adding slave eth0.
[ 72.010000] bonding: bond0: enslaving eth0 as a backup interface with a down link.
bond0 of type 1 created with interfaces eth1,eth0.
[ 72.160000] 8021q: adding VLAN 0 to HW filter on device bond0
Calling udhcpc....
DHCP internal =
udhcpc (v1.21.1) started
Sending discover...
Sending select for 1.2.3.203...
Lease of 1.2.3.203 obtained, lease time 3600
serverid: 1.2.3.254
Address : 1.2.3.203
Netmask : 255.255.255.0
deleting routers
Router : 1.2.3.254
Domain : lan
DnsServer : 1.2.3.254
No NTP support
Interface bond0 is up
sh: ==: argument expected
Start Checking Log Directory...
DNS Registering AMID85ED343F2E7.lan 1.2.3.203 A 0
[1815 : 1815 WARNING][nsupdate.c:302]No nameserver found for the requested zone
DNS Registering AMID85ED343F2E7.lan aaaa:bbbb:cccc:dddd:da5e:d3ff:fe43:f2e6 AAAA 0
[1851 : 1851 WARNING][nsupdate.c:302]No nameserver found for the requested zone
Interface bond0 is going to go up
bond0 has been found in the bonding_masters.
calling dhcp6c....
Interface bond0 is up
sh: ==: argument expected
DNS Registering AMID85ED343F2E7.lan 1.2.3.203 A 0
[2018 : 2018 WARNING][nsupdate.c:302]No nameserver found for the requested zone
DNS Registering AMID85ED343F2E7.lan aaaa:bbbb:cccc:dddd::fce AAAA 0
[2055 : 2055 WARNING][nsupdate.c:302]No nameserver found for the requested zone
DNS Registering AMID85ED343F2E7.lan aaaa:bbbb:cccc:dddd:da5e:d3ff:fe43:f2e6 AAAA 0
[2077 : 2077 WARNING][nsupdate.c:302]No nameserver found for the requested zone
Start SOL application.Starting to Read Current PostCode buffer...
No Post Codes ...
No other running app. .
Starting UART Mirror Log application[2211 : 2211 INFO]
Creating shared memory for serial session
Remote path not mounted so skipping rsync process.
insmod: can't insert '/lib/modules/generic/misc/espi.ko': File exists
[ 86.750000] ast_espi: eSPI mode is not enable
insmod: can't insert '/lib/modules/generic/misc/espi_hw.ko': Operation not permitted
Calling OnBoot
[2211 : 2211 INFO]UART Logging from device: /dev/ttyS3 into File: /var/sollog/SOLHostCapture.log
Stopping the rsync process [2211 : 2277 INFO]Send Thread: Starting the thread to mirror data from /dev/ttyS3 to (null)
[2211 : 2278 INFO]Archive Thread: Starting the thread to archive the Serial data from Rolling Buffers upon request
[2211 : 2279 INFO]Recv Thread: Starting the thread to mirror data from (null) to /dev/ttyS3
Starting OpenSLP server: slpd.
.
Starting Syslog Monitor Daemon: SyslogMonitorD.
INIT: Entering runlevel: 3
Starting NTP Server
NTP mode is Manual - Exiting NTP Daemon
Starting enhanced syslogd: rsyslogd.
Starting DHCP monitor.
DHCP monitor: Renewing bond0 interface for IPv4
DHCP monitor: Renewing bond0 interface for IPv6
Renewing DNS for bond0 interface.
Secure Port is enabled for [ssh] with 22
Starting OpenBSD Secure Shell server: sshd.
sh: 0: unknown operand
[telnet] is enabled.
Secure Port is disabled for [telnet].
Both Secure and Non secure ports are incorrect in /conf/ncml.conf file for [telnet].Trying to get ports from /etc/defconfig/ncml.conf.
IFACEname : bond0
ami_get_service_conf db fail
Both Secure and Non secure ports are incorrect even in /etc/defconfig/ncml.conf file for [telnet]..
Starting TELNET Service in port number : : telnetdstart-stop-daemon: unable to stat /usr/sbin/telnetd (No such file or directory)
failed!
Starting system message bus: dbusUnknown group "netdev" in message bus configuration file
.
Starting SSL tunnels: stunnel[ ] Clients allowed=500
[.] stunnel 5.30 on arm-unknown-linux-gnueabi platform
[.] Compiled with OpenSSL 1.0.2j 26 Sep 2016
[.] Running with OpenSSL 1.0.2t 10 Sep 2019
[.] Update OpenSSL shared libraries or rebuild stunnel
[.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI
[ ] errno: (*__errno_location ())
[.] Reading configuration from file /conf/stunnel.conf
[.] UTF-8 byte order mark not detected
[ ] Cron thread initialized
[.] FIPS mode disabled
[ ] Compression disabled
[ ] PRNG seeded successfully
[ ] Initializing inetd mode configuration
[!] Service [stunnel]: Inetd mode must define one endpoint
[Failed: /etc/stunnel/stunnel.conf]. Check if pid= is specified in the file
Starting VM Application: vmapp
0
Stopping CD Redirection Server: cdserver.
Stopping HD Redirection Server: hdserver.
Starting CD Redirection Server: cdserver
Number of Virtual CD Devices = 1
Starting HD Redirection Server: hdserverwatch fail /var/run/lighttpd.pid
watch fail /var/run/hdserver.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
Number of Virtual HD Devices = 1
Starting CD Redirection Server: cdserverStarting HD Redirection Server: hdserverStarting Video Redirection Server :adviserd[ 98.570000] Loading HID Device Module...
[ 98.570000] UsbConfigureLS(): USB Device 3 is running in Low Speed
[ 99.600000] AST Video Capture Driver, (c) 2009-2015 American Megatrends Inc.
[ 99.630000] ami_videocap : Using Irq 7
.
sh: true: unknown operand
Starting Redfish upnp discovery: upnpDelete the /conf/upnp/desc.tmpl for upnp restart
(integer) 0
.
Starting Remote Media Server
INFO: Remote Media is not enabled ... exiting
.
Starting Firmware Upgrade Utility: flasher.
MegaRAC Firmware Upgrade Utility
Copyright (c) 2009-2015 American Megatrends Inc.
FlashStart = 0x20000000
FlashSize = 0x8000000
UsedFlashStart = 0x20000000
UsedFlashSize = 0x3F00000
EnvStart = 0x20040000
EnvSize = 0x10000
Starting periodic command scheduler: cron.
Binding Redfish Server to loopback.
Lighttpd configurations exists
WEB is enabled and port numbers are NON-SSL:0x50 SSL:0x1bb
2022-01-16 11:09:02: (log.c.164) server started
Starting lighttpd
Starting Fail Safe Services for /bkupconf
Starting SNMP Daemons : snmpd/conf/snmp/snmpd.conf exists, no need to start first.
.
NET-SNMP version 5.8
Starting Timeout Daemon Utility: timeoutd.
Starting Boot CompleteCheck ipmi and rest: PASS
0a 3c 00
.
Starting Component Manager.
AMID85ED343F2E7 login: [2801 : 2801 CRITICAL][compmngrnvme.c:336]COMP_MNGR : Registering the NVMe MI component
[2801 : 2801 CRITICAL][compmngrnvme.c:325]COMP_MNGR : Initializing the NVMe MI Component
[2801 : 2801 INFO]Loading the Storelib Library
[2801 : 2801 INFO]Error while intilizing the MegaRAID Controller
[2801 : 2801 INFO]Loading the StorelibIR3 Library
[2801 : 2801 INFO]SAS IT (HBA) Device ( a) is not present on the bus 2
[2801 : 2801 INFO]Error while initializing the library, library type = 2
[2801 : 2801 INFO]Error while initlizing the SAS IT Controller
g_CompMngrDynInfoTblcount 7
compmanager Go to sleep mode
IFACEname : bond0
ami_get_service_conf db fail
Delete the /conf/upnp/desc.tmpl for upnp restart
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
IFACEname : bond0
ami_get_service_conf db fail
IFACEname : bond0
ami_get_service_conf db fail
raid_storage_init Initialize
raid_storage_init call ipmi cmd
[3184 : 3184 INFO]Error while getting the RAID Controller Count 188
LIBIPMI_HL_AMIGetRAIDCtrlCount failed wRet is 392
Error in raid_storage_init.Initialize: 392
hba_init Initialize
hba_init call ipmi cmd
Init hba Failure: ./libs/redis.lua:0: ./extensions/ipmi/libipmi/HBA.lua:0: /usr/local/lib/libipmi.so: undefined symbol: LIBIPMI_HL_AMIGetSASITCtrlCount
Init telemetry success
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
IFACEname : bond0
ami_get_service_conf db fail
IFACEname : bond0
ami_get_service_conf db fail
Delete the /conf/upnp/desc.tmpl for upnp restart
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
watch fail /conf/ssdp.conf
watch fail /var/run/ntpd.pid
Das Bauen eines aktuellen AST2500-Images von OpenBMC hab ich schon vorgestern versucht, ist momentan aber an den zu geringen Ressourcen meines Buildenvs (ich bin ein sparsam computerisierender Mensch ) gescheitert. Das werde ich am Wochenende wohl zu beheben schaffen, wenn mich der angekuendigte Besuch meines Schwagers nicht zu sehr aufhaelt...
Der Plan ist dann mal mit der U-Boot-Konsole zu interagieren, ein im qemu-AST2500-Emulator bootfaehiges OpenBMC-Image zu bauen, das DTS/DTB-Zeug zu verstehen und aus der AMI-Firmware zu kratzen, das dann mit dem OpenBMC-Buildenv sinnvoll zu verheiraten, das so resultierende Image hoffentlich mittels qemu als brauchbar zu verfizieren, um es dann auf die echte HW zu flashen... und am Ende ohne Ziegelstein dazustehen
Ich melde mich jedenfalls hier mit relevanten Zwischenerfolgen und ggf. auch Fehlschlaegen
Code:
AMID85ED343F2E7 login: sysadmin
Password:
[4133 : 4133 INFO]SERIAL Login from IP:127.0.0.1 user:sysadmin
sysadmin [~]# id
uid=0(sysadmin) gid=0(sysadmin) groups=0(sysadmin)
sysadmin [~]# ps -ef
UID PID PPID C STIME TTY TIME CMD
sysadmin 1 0 0 11:07 ? 00:00:00 init [3]
sysadmin 2 0 0 11:07 ? 00:00:00 [kthreadd]
sysadmin 3 2 0 11:07 ? 00:00:00 [ksoftirqd/0]
sysadmin 5 2 0 11:07 ? 00:00:00 [kworker/0:0H]
sysadmin 6 2 0 11:07 ? 00:00:00 [kworker/u2:0]
sysadmin 7 2 0 11:07 ? 00:00:00 [watchdog/0]
sysadmin 8 2 0 11:07 ? 00:00:00 [khelper]
sysadmin 9 2 0 11:07 ? 00:00:00 [kdevtmpfs]
sysadmin 10 2 0 11:07 ? 00:00:00 [kworker/u2:1]
sysadmin 121 2 0 11:07 ? 00:00:00 [writeback]
sysadmin 124 2 0 11:07 ? 00:00:00 [bioset]
sysadmin 125 2 0 11:07 ? 00:00:00 [crypto]
sysadmin 127 2 0 11:07 ? 00:00:00 [kblockd]
sysadmin 137 2 0 11:07 ? 00:00:00 [khubd]
sysadmin 160 2 0 11:07 ? 00:00:03 [kworker/0:1]
sysadmin 161 2 0 11:07 ? 00:00:00 [rpciod]
sysadmin 166 2 0 11:07 ? 00:00:00 [kswapd0]
sysadmin 214 2 0 11:07 ? 00:00:00 [fsnotify_mark]
sysadmin 230 2 0 11:07 ? 00:00:00 [nfsiod]
sysadmin 235 2 0 11:07 ? 00:00:00 [cifsiod]
sysadmin 272 2 0 11:07 ? 00:00:00 [hwrng]
sysadmin 386 2 0 11:07 ? 00:00:00 [ipv6_addrconf]
sysadmin 394 2 0 11:07 ? 00:00:00 [deferwq]
sysadmin 614 2 0 11:07 ? 00:00:00 [jffs2_gcd_mtd1]
sysadmin 615 2 0 11:07 ? 00:00:00 [jffs2_gcd_mtd2]
sysadmin 616 2 0 11:07 ? 00:00:00 [jffs2_gcd_mtd5]
sysadmin 851 1 0 11:07 ? 00:00:00 /usr/local/bin/gbtfw
sysadmin 857 1 0 11:07 ? 00:00:00 /bin/sh /sbin/log_manager.sh
sysadmin 914 1 0 11:07 ? 00:00:00 /usr/local/bin/execdaemon
sysadmin 916 1 0 11:07 ? 00:00:01 /usr/local/bin/processmanager
sysadmin 921 1 2 11:07 ? 00:00:10 /usr/local/bin/IPMIMain --daemon
sysadmin 958 2 0 11:07 ? 00:00:00 [USBDPC]
sysadmin 968 2 0 11:08 ? 00:00:00 [usbe_eth_queue]
sysadmin 1029 1 0 11:08 ? 00:00:00 /bin/sh /redisrsyncconf.sh /tmp/
sysadmin 1051 1 1 11:08 ? 00:00:04 /usr/bin/redis-server *:0
sysadmin 1165 1 2 11:08 ? 00:00:09 luajit agent.lua
sysadmin 1172 1 0 11:08 ? 00:00:00 luajit subagents/redfish-2-redfi
sysadmin 1183 1 0 11:08 ? 00:00:00 luajit subagents/redfishgroup-2-
sysadmin 1189 1 0 11:08 ? 00:00:00 luajit subagents/telemetry.lua
sysadmin 1307 1 0 11:08 ? 00:00:00 luajit ./task-service/task-servi
sysadmin 1318 1 0 11:08 ? 00:00:00 luajit ./event-service/event-ser
sysadmin 1321 1 0 11:08 ? 00:00:01 luajit server.lua
sysadmin 1334 1 0 11:08 ? 00:00:00 /usr/local/bin/MCTPMain
sysadmin 1337 1 0 11:08 ? 00:00:00 /usr/local/bin/pam_helperd
sysadmin 1354 2 0 11:08 ? 00:00:00 [NCSI]
sysadmin 1536 2 0 11:08 ? 00:00:00 [kworker/0:2]
sysadmin 1654 2 0 11:08 ? 00:00:00 [bond0]
sysadmin 1743 1 0 11:08 ? 00:00:00 udhcpc -b -p /var/run/udhcpc.bon
sysadmin 1966 1 0 11:08 ? 00:00:00 dhcp6c -p /var/run/dhcp6c.eth.pi
sysadmin 2305 1 0 11:09 ? 00:00:00 /usr/local/bin/solagent
sysadmin 2313 1 0 11:09 ttyS3 00:00:00 /usr/local/bin/uartmirrorlog
daemon 2354 1 0 11:09 ? 00:00:00 /usr/sbin/slpd
sysadmin 2393 1 0 11:09 ? 00:00:00 /usr/local/bin/syslogmonitord
sysadmin 2427 1 0 11:09 ? 00:00:00 /usr/local/bin/dhcpmonitor
sysadmin 2428 1 0 11:09 ? 00:00:00 /usr/sbin/rsyslogd
sysadmin 2519 1 0 11:09 ? 00:00:00 /usr/sbin/sshd -p 22 -f /etc/ssh
message+ 2578 1 0 11:09 ? 00:00:00 /usr/bin/dbus-daemon --system
sysadmin 2620 1 0 11:09 ? 00:00:00 /usr/local/bin/cdserverapp
sysadmin 2630 1 0 11:09 ? 00:00:00 /usr/local/bin/hdserverapp
sysadmin 2632 1 0 11:09 ? 00:00:00 /usr/local/bin/vmapp
sysadmin 2650 1 0 11:09 ? 00:00:00 /usr/local/bin/adviserd
sysadmin 2705 1 0 11:09 ? 00:00:00 /usr/local/bin/flasher
sysadmin 2709 1 0 11:09 ? 00:00:00 /usr/sbin/cron
sysadmin 2727 1029 0 11:09 ? 00:00:00 inotifywait -q -q -e close_write
sysadmin 2744 1 0 11:09 ? 00:00:00 /usr/local/sbin/lighttpd -f /con
sysadmin 2746 2744 0 11:09 ? 00:00:01 /usr/local/bin/spx_restservice
sysadmin 2750 2744 0 11:09 ? 00:00:00 /usr/local/bin/spx_restservice_e
sysadmin 2765 1 0 11:09 ? 00:00:00 /bin/sh /etc/rsyncconf.sh /conf
sysadmin 2837 1 0 11:09 ? 00:00:01 /usr/sbin/snmpd -c /var/snmpd.co
sysadmin 2853 1 0 11:09 ? 00:00:00 /usr/local/bin/timeoutd
sysadmin 2890 1 0 11:09 ? 00:00:00 ./compmanager
sysadmin 3800 1 0 11:10 ? 00:00:00 /usr/local/bin/redfish_device -w
sysadmin 3819 2765 0 11:10 ? 00:00:00 inotifywait -q -q -r -e close_wr
sysadmin 4133 1 0 11:12 ttyS4 00:00:00 /bin/login -- sysadmin
sysadmin 4174 857 0 11:12 ? 00:00:00 sleep 120
sysadmin 4183 4133 0 11:12 ttyS4 00:00:00 -/bin/sh
sysadmin 4350 4183 0 11:14 ttyS4 00:00:00 ps -ef
Zuletzt bearbeitet: