rosbridge
<hbelusca> ```
06 fffff880`04bb8d00 fffff800`004052bc : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : win32k!NtGdiOpenDCW+0x2b4 [H:\reactosx64\win32ss\gdi\ntgdi\dclife.c @ 779]
07 fffff880`04bb8df0 000007ff`b353f5a2 : 000007ff`b350d8a9 00000000`0012ea00 000007ff`b25a2108 00000000`00000000 : nt!KiSystemServiceExit (TrapFrame @ fffff880`04bb8e70)
08 00000000`0012e968 000007ff`b350d8a9 : 00000000`0012ea00 000007ff`b25a2108 00000000`00000000 000007ff`b25c5a68 : gdi32!NtGdiOpenDCW+0xa
09 00000000`0012e970 00000000`0012ea00 : 000007ff`b25a2108 00000000`00000000 000007ff`b25c5a68 000007ff`00000001 : gdi32!IntCreateDICW+0x359 [H:\reactosx64\win32ss\gdi\gdi32\objects\dc.c @ 62]
```
rosbridge
<hbelusca> ```
0a 00000000`0012e978 000007ff`b25a2108 : 00000000`00000000 000007ff`b25c5a68 000007ff`00000001 00000000`00000000 : 0x12ea00
0b 00000000`0012e980 00000000`00000000 : 000007ff`b25c5a68 000007ff`00000001 00000000`00000000 00000000`0012e9b8 : user32!DISPLAYW
kd> ?? cx
unsigned long 0
kd> ?? cy
unsigned long 0
```
rosbridge
<hbelusca> (Ends there)
Chungy
@LothaireLaBrebis stop being a tard. 64-bit and multi-core are two entirely disconnected topics. 64-bit support is great and doesn't require the other in the slightest.
Chungy
It's also significantly harder to develop and debug. Most hobby OSes never bother with multi-core, and most of them these days are x86_64.
Mike
Which is the best VM to try 64 bit reactos?
Chungy
any should work, I imagine.
Chungy
as long as you can run 64-bit VMs
🦥Alex Fails
✝️ ☺️🌞 HD Scania
✝️ ☺️🌞 HD Scania
https://www.forbes.com/sites/daveywinder/2020/01/15/us-government-issues-critical-windows-10-update-now-alert/amp/ get fucked normies
Anonymous
Chungy
i think he means to ask when ReactOS supports native UEFI booting. Unless someone gets the itch, I doubt it'll be any time soon. Most mainboards even today still support legacy boot.
Chungy
personally I use legacy boot for a lot of reasons. (I hate UEFI with a passion)
Anonymous
Chungy
That's not even true nor remotely related to why I don't use it. In fact, if Secure Boot benefited my personal desktop (and it doesn't), I would go through the pain to put up with the rest of it.
Anonymous
Chungy
It's way too overcomplicated and difficult to use in its goal to replace bootloaders; and it's not even very good at that task so everyone in the Linux world just has it load grub.efi anyway and if you can get that to work, your boot process from there looks similar to legacy :b
Chungy
I have four hard drives though and I want them set up in a redundant fashion so any one of them can fail and I don't have to do anything to continue booting successfully. UEFI expects the EFI System Partition to exist on one and only one drive and doesn't natively support any kind of redundancy for it. There's hacks that work on some boards, not mine. Installing the efi variables didn't seem to do much, I spent a couple days fighting it and having to type out the path name to my kernel even when it should be automatic. I gave up. Legacy boot is easier, its only method it knows to boot a drive is to jump program execution; special partitions or file systems aren't necessary. It's easy to have the same boot code on all drives and it works perfectly well.
Anonymous
Chungy
the fact I became practically partitionless(*) just before UEFI started to rear its ugly head didn't make me happy. From partitionless to requiring special partitions... blah. :P
(*) on a technical implementation side, they exist, but I have a system where I don't need to worry about them at all.
Anonymous
Chungy
UEFI puts too many constraints on how you can boot.
Anonymous
Anonymous
By the way, UEFI was advertised to eliminate some steps in the booting process so it'll boot a bit faster, but I never saw more than 2-3 seconds difference
Chungy
UEFI pulls the processor instantly into 32- or 64-bit mode and the operating system doesn't need to concern itself with stepping up from real mode or initializing certain hardware drivers. Both are required in legacy booting.
Anonymous
Chungy
not really. GRUB just needs a little place to install its stage1 image that has the bare-minimum amount of drivers to access the boot files. on MBR disks it normally tries to wedge itself between the MBR and first partition, if space exists. On GPT disks (which I use), it requires a specific partition type, ef02 in gdisk. the stage1 image is only a few kilobytes and it doesn't even hurt to put it on a ~1MB partition in "slack" space that normally never gets used between the GPT and first real partition (it's in an unoptimial-for-read layout, but it loads so fast it doesn't matter)
Chungy
Linux is not and will not be anytime soon "64-bit only", nor will it discontinue old booting methods. the multiboot protocol used by GRUB is identical whether GRUB is loaded from BIOS or UEFI.
Chungy
the kernel doesn't really care what firmware is used.
Anonymous
Chungy
legacy boot knows nothing about partitions. Its main job is to jump program execution to some drive and whatever code is on the drive's sector takes over.
Chungy
GRUB installs code that reads the GPT, looks for the type needed, loads the image from there, and it goes from there.
Chungy
GPT is defined in the UEFI spec, but it's still pretty well divorced. GPT works fine on BIOS. UEFI even works with MBR disks (the ESP gets type 0xEF)
Chungy
It's handled in exactly the same way. Boot code exists at the very first sector of the disk. GPT even includes a 'fake' MBR that spans the whole disk so legacy partitioners don't screw it up.
Anonymous
Anonymous
Chungy
and some people manage to abuse the dual-life of GPT and MBR so partitions can be seen by OSes that recognize either type. It gets very fragile in such setups (one should especially never edit partitions from a GPT-unaware OS)
Chungy
# fdisk -l -t dos /dev/sda
Disk /dev/sda: 3.65 TiB, 4000787030016 bytes, 7814037168 sectors
Disk model: WDC WD40EFRX-68N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sda1 1 4294967295 4294967295 2T ee GPT
Anonymous
Chungy
telling fdisk to ignore gpt, display only the dos (MBR) partitions :P
Chungy
also without some gross and largely-incompatible-with-everything hacks, MBR only supports up to 2TiB. So despite being a 4TB disk, it shows the GPT protective partition being 2T.
Anonymous
Chungy
it is kind of possible to push MBR to support up to 16TiB, but it only really works on OSes that already support GPT so it's pointless and you might as well just use GPT.
Chungy
Chungy
I might need to double-check, I'm not sure if it's really 16E, might be bigger.
Chungy
ok, it's up to 2^64 sectors for a disk. 8ZiB for 512B sectors. that works out to 64ZiB on 4K sectors.
Anonymous
Chungy
GPT's limits are big enough that it's literally impossible to make a drive with that full capacity even if you use every atom in the planet Earth to make one.
Chungy
that's more bytes than there exists atoms on this planet.
Chungy
Anonymous
Anonymous
Chungy
It's possible to use MBR with 4096B sectors for disks/partitions up to 16TiB, but any OS where MBR is needed won't support the 4096B sectors... so it's pointless.
Anonymous
Because if I understand correctly, it's not only a matter of getting GPT support inside the OS, it's also to get it properly working with the rest of the OS, and that every single aspect of the system can communicate with the drive
Anonymous
Chungy
probably depends on the OS design I guess. I don't know how NT handles it. It's a bit simple on Linux at least; kernel drivers understand all kinds of partition layouts, and create block devices for each partition. File system drivers see a big block device and work off of that, totally unaware of partition layout.
Anonymous
Chungy
GPT supports unlimited amounts of partitions, though largely fixed to a certain size at creation time. Minimum 4, almost everything creates a label big enough for 128 partitions by default. It supports capacities that go way beyond physical limits of the planet earth, and uses 128-bit UUIDs to identify partition types with the goal of avoiding collisions like frequently happens with MBR (of course, collisions already happened, but due to people copy+pasting IDs instead of generating new ones)
Chungy
Partitions can get labels in up to 36 UCS-2 characters, too.
Chungy
it also has 64 bits for partition attributes (hidden, read-only, boot, etc) that basically get ignored by every OS
Chungy
also the special partition UUID for BIOS booting is 21686148-6449-6E6F-744E-656564454649
It's funny if you look at it from a hexdump point of view.
Chungy
Anonymous
Anonymous
Chungy
because it is a dev joke.
Chungy
GPT is defined as part of the UEFI standard but nothing about it is really tied to UEFI.
Chungy
i've been running purely off GPT since way before I even had a UEFI mainboard. :P
Chungy
I even use it on all my USB drives even though it's a bit atypical.