FreeCAD (Wikipedie), tj. svobodný multiplatformní parametrický 3D CAD, má nový vtipný a současně užitečný doplněk Banana For Scale (GitHub). Aktuálně umožňuje do výkresu vložit banán nebo plechovku pro porovnání a určení měřítka.
Blender Studio nedávno oznámilo plán vytvořit svůj první otevřený (open source) celovečerní film. Film by se měl jmenovat Overgrown (YouTube). Film vznikne, pokud se zajistí financování. Prvním krokem je získat 7 000 předplatitelů Blender Studia. Cena je od 11,50 eur měsíčně. Aktuálně počet předplatitelů je 5 289. Předplatné pokryje 20 % nákladů. Zbytek, 80 % nákladů, má být financován externími producenty nebo distributory.
Byl vydán Debian 13.6, tj. šestá opravná verze Debianu 13 s kódovým názvem Trixie a Debian 12.15, tj. poslední patnáctá opravná verze Debianu 12 s kódovým názvem Bookworm, k dispozici je LTS. Řešeny jsou především bezpečnostní problémy, ale také několik vážných chyb. Instalační média Debianu 13 a Debianu 12 lze samozřejmě nadále k instalaci používat. Po instalaci stačí systém aktualizovat.
V jádře Linux byla nalezena a v upstreamu již byla opravena kritická zranitelnost GhostLock aneb CVE-2026-43499. Lokálnímu uživateli umožňuje získat práva roota a také obejít kontejnerovou izolaci. Zranitelnost existovala v Linuxu 15 let, tj. od roku 2011, od Linuxu verze 2.6.39.
Evropská komise předběžně shledala, že návykový design aplikací Instagram a Facebook od americké společnosti Meta porušuje unijní nařízení o digitálních službách (DSA). Návykový design zahrnuje například takzvané nekonečné posouvání, automatické přehrávání videí, tzv. push notifikace, kdy aplikace uživatele vybízí k návratu do jejího prostředí, či vysoce personalizovaný algoritmus, který rychle pozná, co uživatele baví a snaží
… více »Byla vydána verze 1.97.0 programovacího jazyka Rust (Wikipedie). Podrobnosti v poznámkách k vydání. Vyzkoušet Rust lze například na stránce Rust by Example.
Švýcarská společnost Punkt. má nově v nabídce telefon Punkt. MC03. Telefon byl navržen ve Švýcarsku s důrazem na soukromí a digitální suverenitu a vyroben v Německu. V telefonu běží operační systém AphyOS (Apostrophy OS) založený na AOSP (Android Open Source Project) 15. Cena telefonu je 745 eur.
TypeScript (Wikipedie), tj. JavaScript rozšířený o statické typování a další atributy, byl vydán v nové verzi 7.0. Kompilátor byl kvůli výkonu přepsán z TypeScriptu do Go.
Europarlament podpořil pozměněnou verzi výjimky známé jako „chat control 1.0“ umožňující firmám skenovat soukromou komunikaci na internetu kvůli ochraně dětí před zneužitím. Pozměňovací návrhy přijaté europoslanci však počítají s tím, že z výjimky bude vyřazena šifrovaná komunikace. Výjimka přestala platit začátkem dubna poté, co se Evropský parlament a Rada EU nedokázaly shodnout na jejím prodloužení. Rada následně přijala
… více »Nejnovější X.Org X server 21.1.24 a Xwayland 24.1.13 řeší 2 bezpečnostní chyby.
xm create -c /etc/xen/xmwebserver.hvm vmid=1dostanem:
Using config file "/etc/xen/xmwebserver.hvm".
Started domain web
Linux version 2.6.21.7-3.fc8xen (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Thu Mar 20 14:57:53 EDT 2008
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000040800000 end: 0000000040800000 type: 1
Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
DMA 0 -> 186366
Normal 186366 -> 186366
HighMem 186366 -> 264192
early_node_map[1] active PFN ranges
0: 0 -> 264192
ACPI in unprivileged domain disabled
Detected 2128.103 MHz processor.
Built 1 zonelists. Total pages: 262129
Kernel command line: 4
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 2128.000 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1024808k/1056768k available (2071k kernel code, 23124k reserved, 1080k data, 188k init, 311304k highmem)
virtual kernel memory layout:
fixmap : 0xf5315000 - 0xf57fe000 (5028 kB)
pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
vmalloc : 0xee000000 - 0xf4ffe000 ( 111 MB)
lowmem : 0xc0000000 - 0xed7fe000 ( 727 MB)
.init : 0xc1319000 - 0xc1348000 ( 188 kB)
.data : 0xc1205e6e - 0xc1313fd4 (1080 kB)
.text : 0xc1000000 - 0xc1205e6e (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4262.80 BogoMIPS (lpj=8525616)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7352k freed
audit: initializing netlink socket (disabled)
audit(1220967661.620:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Linux version 2.6.21.7-3.fc8xen (mockbuild@xenbuilder4.fedora.phx.redhat.com) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33)) #1 SMP Thu Mar 20 14:57:53 EDT 2008
BIOS-provided physical RAM map:
sanitize start
sanitize bail 0
copy_e820_map() start: 0000000000000000 size: 0000000040800000 end: 0000000040800000 type: 1
Xen: 0000000000000000 - 0000000040800000 (usable)
304MB HIGHMEM available.
727MB LOWMEM available.
NX (Execute Disable) protection: active
Zone PFN ranges:
DMA 0 -> 186366
Normal 186366 -> 186366
HighMem 186366 -> 264192
early_node_map[1] active PFN ranges
0: 0 -> 264192
ACPI in unprivileged domain disabled
Detected 2128.103 MHz processor.
Built 1 zonelists. Total pages: 262129
Kernel command line: 4
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
CPU 0 irqstacks, hard=c136c000 soft=c134c000
PID hash table entries: 4096 (order: 12, 16384 bytes)
Xen reported: 2128.000 MHz processor.
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Software IO TLB disabled
vmalloc area: ee000000-f4ffe000, maxmem 2d7fe000
Memory: 1024808k/1056768k available (2071k kernel code, 23124k reserved, 1080k data, 188k init, 311304k highmem)
virtual kernel memory layout:
fixmap : 0xf5315000 - 0xf57fe000 (5028 kB)
pkmap : 0xf5000000 - 0xf5200000 (2048 kB)
vmalloc : 0xee000000 - 0xf4ffe000 ( 111 MB)
lowmem : 0xc0000000 - 0xed7fe000 ( 727 MB)
.init : 0xc1319000 - 0xc1348000 ( 188 kB)
.data : 0xc1205e6e - 0xc1313fd4 (1080 kB)
.text : 0xc1000000 - 0xc1205e6e (2071 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 4262.80 BogoMIPS (lpj=8525616)
Security Framework v1.0.0 initialized
SELinux: Initializing.
selinux_register_security: Registering secondary module capability
Capability LSM initialized as secondary
Mount-cache hash table entries: 512
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 4096K
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 13k freed
Brought up 1 CPUs
NET: Registered protocol family 16
Brought up 1 CPUs
PCI: Fatal: No config space access function found
PCI: setting up Xen PCI frontend stub
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
xen_mem: Initialising balloon driver.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: System does not support PCI
PCI: System does not support PCI
NetLabel: Initializing
NetLabel: domain hash size = 128
NetLabel: protocols = UNLABELED CIPSOv4
NetLabel: unlabeled traffic allowed by default
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1572864 bytes)
TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 7352k freed
audit: initializing netlink socket (disabled)
audit(1220967661.620:1): initialized
highmem bounce pool size: 64 pages
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
ksign: Installing public key data
Loading keyring
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
rtc: IRQ 8 is not free.
Non-volatile memory driver v1.2
Linux agpgart interface v0.102 (c) Dave Jones
RAMDISK driver initialized: 16 RAM disks of 16384K size 4096 blocksize
input: Macintosh mouse button emulation as /class/input/input0
Xen virtual console successfully installed as xvc0
Event-channel device installed.
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
PNP: No PS/2 controller found. Probing ports directly.
i8042.c: No controller found.
mice: PS/2 mouse device common for all mice
TCP bic registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
XENBUS: Device with no driver: device/vbd/2048
XENBUS: Device with no driver: device/vbd/5632
XENBUS: Device with no driver: device/vif/0
XENBUS: Device with no driver: device/console/0
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Freeing unused kernel memory: 188k freed
Write protecting the kernel read-only data: 795k
Red Hat nash version 6.0.19 starting
Mounting proc filesystem
Mounting sysfs filesystem
Creating /dev
Creating initial device nodes
Setting up hotplug.
Creating block device nodes.
Loading ehci-hcd.ko module
Loading ohci-hcd.ko module
Loading uhci-hcd.ko module
USB Universal Host Controller Interface driver v3.0
Loading mbcache.ko module
Loading jbd.ko module
Loading ext3.ko module
Loading raid1.ko module
md: raid1 personality registered for level 1
Loading xor.ko module
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 2465.000 MB/sec
raid5: using function: pIII_sse (2465.000 MB/sec)
Loading raid456.ko module
raid6: int32x1 795 MB/s
raid6: int32x2 867 MB/s
raid6: int32x4 791 MB/s
raid6: int32x8 713 MB/s
raid6: mmxx1 2675 MB/s
raid6: mmxx2 2961 MB/s
raid6: sse1x1 1860 MB/s
raid6: sse1x2 2360 MB/s
raid6: sse2x1 3435 MB/s
raid6: sse2x2 3906 MB/s
raid6: using algorithm sse2x2 (3906 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ahci.ko module
Waiting for driver initialization.
md: md2 stopped.
mdadm: no devices found for /dev/md2
md: md0 stopped.
mdadm: no devices found for /dev/md0
Creating root device.
Mounting root filesystem.
EXT3-fs: unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
md: raid1 personality registered for level 1
Loading xor.ko module
raid5: automatically using best checksumming function: pIII_sse
pIII_sse : 2465.000 MB/sec
raid5: using function: pIII_sse (2465.000 MB/sec)
Loading raid456.ko module
raid6: int32x1 795 MB/s
raid6: int32x2 867 MB/s
raid6: int32x4 791 MB/s
raid6: int32x8 713 MB/s
raid6: mmxx1 2675 MB/s
raid6: mmxx2 2961 MB/s
raid6: sse1x1 1860 MB/s
raid6: sse1x2 2360 MB/s
raid6: sse2x1 3435 MB/s
raid6: sse2x2 3906 MB/s
raid6: using algorithm sse2x2 (3906 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
Loading scsi_mod.ko module
SCSI subsystem initialized
Loading sd_mod.ko module
Loading libata.ko module
Loading ahci.ko module
Waiting for driver initialization.
md: md2 stopped.
mdadm: no devices found for /dev/md2
md: md0 stopped.
mdadm: no devices found for /dev/md0
Creating root device.
Mounting root filesystem.
EXT3-fs: unable to read superblock
mount: error mounting /dev/root on /sysroot as ext3: Invalid argument
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults
setuproot: error mounting /proc: No such file or directory
setuproot: error mounting /sys: No such file or directory
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
switchroot: mount failed: No such file or directory
Booting has failed.
md: stopping all md devices.
xenbus_dev_shutdown: device/console/0: Initialising != Connected, skipping
xenbus_dev_shutdown: device/vif/0: Initialising != Connected, skipping
xenbus_dev_shutdown: device/vbd/5632: Initialising != Connected, skipping
xenbus_dev_shutdown: device/vbd/2048: Initialising != Connected, skipping
System halted.
pre uplnost som sem dal cely vypis. OS je Fedora 8. Xen som instaloval prostrednictvom yum.
disky su v serveri dva dane do SW raid1. /etc/fstab :
/dev/md2 / ext3 defaults 1 1 /dev/md1 /boot ext3 defaults 1 2 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 /dev/md0 swap swap defaults 0 0cize
ARRAY /dev/md3 level=raid1 num-devices=2 uuid=cd53a801:702d9d52:1fb144b3:d42877bb ARRAY /dev/md2 level=raid1 num-devices=2 uuid=d0e2b7c5:d9ca6ea9:e7da53c1:a35ada90 ARRAY /dev/md1 level=raid1 num-devices=2 uuid=74535b8e:83664587:d0e0d33d:45f74966 ARRAY /dev/md0 level=raid1 num-devices=2 uuid=ac834a30:2d3aefa6:0f7461d2:c06688d5pricom v md3 je este spraveny lvm. Myslienka bola taka, ze prave v tomto lvm bude fungovat xen. Je tam teda particia /dev/vg/domu1 (120G) + /dev/vg/domu1.swap (2GB) konfigurak toho xenu je:
import os, re
arch = os.uname()[4]
if re.search('64', arch):
arch_libdir = 'lib64'
else:
arch_libdir = 'lib'
kernel = "/boot/vmlinuz-2.6.21.7-3.fc8xen"
ramdisk = "/boot/initrd-2.6.21.7-3.fc8xen.img"
memory = 1024
name = "web"
vcpus = 1
vif = [ 'type=ioemu, mac=00:17:3A:00:10:55, bridge=xenbr0' ]
disk = [ 'phy:/dev/vg/dom1,ioemu:sda,w' , 'phy:/dev/cdrom,hdc:cdrom,r' ]
vmid=1
# Set root device.
#root = "/dev/md2 ro"
extra = "4"
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
cdrom='/dev/cdrom'
boot='d'
sdl=0
vnc='0'
nographic=0
ne2000=0
vypis grub.conf
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.25.14-69.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.25.14-69.fc8 ro root=/dev/md2
initrd /initrd-2.6.25.14-69.fc8.img
title Fedora (2.6.21.7-3.fc8xen)
root (hd0,0)
kernel /xen.gz-2.6.21.7-3.fc8
module /vmlinuz-2.6.21.7-3.fc8xen selinux=0
module /initrd-2.6.21.7-3.fc8xen.img
Googlujem uz tyzden, a su rozne veci. Najpravdepodobnejsie je,ze mam nespravne spraveny initrd a preto som skusal aj toto:
mkinitrd --omit-scsi-modules --with=xennet --with=xenblk --preload=xenblk initrd-$(uname -r)-no-scsi.img $(uname -r)a vysledok bol uplne rovnaky Neviem si s tym rady, pls. help. dakujem
disk = [ 'phy:/dev/vg/dom1,sda1,w' , 'phy:/dev/cdrom,hdc:cdrom,r' ] root = "/dev/sda1 ro"teda ziadne ioemu.. dalej na
mount -o loop /dev/vg/dom1 /mntpotom zmenit v /mnt/etc/fstab
/dev/sda1 / ext3 defaults 1 1nakoniec samozrejme
umount /mnt
Tiskni
Sdílej: