Hector "marcan" Martin, vedoucí projektu Asahi Linux aneb Linux na Apple Siliconu, skončil jako upstream vývojář linuxového jádra. Se slovy "už nemám žádnou důvěru v proces vývoje jádra … další vývoj Apple/ARM bude pokračovat downstream" odstranil své jméno ze souboru MAINTAINERS. Důvodem jsou neshody kolem Rustu v linuxovém jádru [Hacker News, No rust code in kernel/dma, please.].
Mistral AI včera představil nový vylepšený Le Chat. Nově také jako aplikace pro iOS a Android.
Britské bezpečnostní orgány nařídily americké firmě Apple, aby vytvořila takzvaná "zadní vrátka", která by umožnila dostat se k šifrovanému obsahu uživatelů uloženému v cloudu. Tajné nařízení, vydané v lednu, vyžaduje plošný přístup k šifrovanému účtu jakéhokoliv uživatele přístrojů Apple kdekoliv na světě. Britské úřady tedy Apple nežádají pouze o asistenci s přístupem k účtu konkrétního uživatele, ale rovnou chtějí mít přístup ke všem účtům, kdykoliv budou chtít.
Byla vydána (𝕏) lednová aktualizace aneb nová verze 1.97 editoru zdrojových kódů Visual Studio Code (Wikipedie). Přehled novinek i s náhledy a animovanými gify v poznámkách k vydání. Ve verzi 1.97 vyšlo také VSCodium, tj. komunitní sestavení Visual Studia Code bez telemetrie a licenčních podmínek Microsoftu.
Nedávno se povedlo do pdf souborů vložit Tetris a DOOM a po otevření příslušného pdf souboru v na Chromiu založeném webovém prohlížeči vybranou hru přímo v pdf spustit. LinuxPDF ukazuje, že do pdf lze vložit také RISC-V emulátor a rozběhnout Linux.
Kancelářský balík LibreOffice byl vydán ve verzi 25.2. Podrobnosti v poznámkách k vydání.
Byla vydána nová stabilní major verze 24.10 linuxové distribuce primárně určené pro routery a vestavěné systémy OpenWrt (Wikipedie). Jedná se o nástupce předchozí major verze 23.05. Přehled novinek v poznámkách k vydání. Podporováno je více než 1970 zařízení. Samozřejmě včetně OpenWrt One. Linux byl povýšen z verze 5.15 na verzi 6.6.
Byla vydána nová verze 6.12 živé linuxové distribuce Tails (The Amnesic Incognito Live System), jež klade důraz na ochranu soukromí uživatelů a anonymitu. Přináší důležité bezpečnostní opravy díky bezpečnostnímu auditu od společností Radically Open Security. Tor Browser byl povýšen na verzi 14.0.5. Thunderbird na verzi 128.6.0. Další změny v příslušném seznamu.
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=0vypis 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.imgGooglujem 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: