Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Valery Sedletski

Pages: 1 ... 17 18 [19] 20 21 ... 24
271
General Discussion / Re: 2ine - OS/2 on Linux
« on: February 23, 2018, 07:09:58 pm »
Yes. I knew about that from OSNews RSS feed. Very interesting. His approaches are very interesting. I can share some thoughts with him. Very interesting his attempts to implement 16-bit segments tiling, with covering only some areas (not the whole first 512 MB). Maybe, his approach is feasible on L4/Fiasco too. (on Fiasco, LDT is limited to cover only 32 MB, because LDT is limited to 4096 byte -- one page). Also, contrary to his case, I have an idea how I could implement TLMA (Thread Local Memory Area) on Fiasco. OS/2 kernel just does memcpy over TLMA from Thread Control Block (TCB) on each thread switch. This could be done from preempter thread on Fiasco, I think. Linux also seems to have something called Thread Context Hooks, it seems (I saw something like this in Linux-specific VBox sources). But on Linux kernel it requires to run in kernel. On Fiasco, it is easily done from userland.

Regarding that it's useless. Yes, it is not the whole OS/2 ecosystem reimplementation on top of Linux kernel, but still, a good progress. Maybe, it will evolve enough with some time. WINE even has it's own Explorer, I heard. So, maybe they could run WPS some time later ;)

PS: I posted some notes in that blog' comments. More comments should follow soon.

272
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 15, 2018, 04:58:18 am »
2Rich Walsh: This works not only with arcaos, but with any OS/2 version. Also, arcanoae yum repository contains newer CDRTOOLS version, 3.01. Why it is not working for you?

2Andreas Kohl:

Quote
If it would use libscg properly, no warning text should be displayed. I'm using cdrecord for different Unices and even there the transport mechanisms can differ. And "unofficial" means undocumented resulting unreliable behaviour.

Warning is just because this libscg transport is unknown to CDRTOOLS build system. Unofficial means that Nickk and Froloff did not inform Joerg Schilling about the backend they wrote. It was tested many times by many people.

Quote
So it seems the ALPHA cdrtools fork shipped via ArcaNoae RPM is using a different approach. And the contained text file doesn't match with the output from:

Code: [Select]
cdrecord dev=help

Yes, they are different. Probably, arca did their own port from scratch, because Nick and Froloff did not published their patches.

273
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 13, 2018, 11:16:50 am »
2David Graser: Yes, it looks like DVD/CD Toys installs Froloff's version of OS2CDROM.DMD. And RSJ does not work with it. You can try install DVD Toys, and restore the original OS2CDROPM.DMD 10.163 which was installed before. It seems to be overwritten by DVD Toys. Maybe they will work after that.

274
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 13, 2018, 11:06:08 am »
2Lars:

aspinkk.sys, which works fine on mys system. Why it could not load? Never seen this. "/RSJ" switch -- I never used it. Just commenting the lockcdr.flt out, with adding the set to config.sys like "SET CDR_DEVICE_NAME1=DVD_RW ND-3500AG" does the job. And finally, you'll need to add a line to cddrv.inf file, describing your CD-writer:

Quote
_NEC       "DVD_RW ND-3500AG"  N/A    "_NEC    DVD_RW ND-3500AG" N/A                      cdatapi   ATAPI      CUESHEET     N/A

So that, now RSJ does not lock the CDR, and does not detect it each time on boot. Instead, it uses description from cddrv.inf, pointed by "SET" in config.sys.

Regarding DANIATAPI, it seems to be not needed with newer Danis506.add (it includes DaniATAPI.flt). OS2AHCI.ADD seems to be including the same functionality, too. (Though, I never tried AHCI-attached CD-writers, as I haven't them).

USB CD writers only work via a drive letters. They cannot work via SCSI emulation. (I have an USB CD/DVD and USB BD writer)

2Dave Yeo: Indeed, I see CDRTOOLS 3.01 in arcanoae yum repository I have configured. It is available for download without any password. Strange, but good. :)

275
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 10:42:39 pm »
2David Graser:

Quote
Given a choice between the newer version or the earlier version, at this moment I have go with the earlier version.  I want USB writer capability.

USB writers work with Froloff's cdrecord and OS2CDROM.DMD 10.163 on my machine. Did not tried CD/DVD Toys with it, though. I use CDRECORD directly from command line.

Quote
Can Froloff's driver be disassembled to possibly see what he added or changed?

I don't know. If someone has time and skills -- maybe.

2 Dave Yeo:

Quote
Cdrecord-ProDVD-ProBD 3.01 (i386-pc-os2-gnu) Copyright (C) 1995-2015 Joerg Schilling

Where did you took 3.01? Is this available from ArcaNoae repositories only? Access to non-arca users is closed?

276
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 08:16:44 pm »
2ivan: SCSI descriptors like [bus,]id[,lun] helpful only for SCSI/ATAPI CD writers. They work via DaniS (or DaniATAPI? -- don't remember). For USB CD writers, you'll need OS2CDROM.DMD which works via drive letters, only. Interesting, does OS2AHCI supply a SCSI emulation, like DaniS does? So, SATA-atached writers will work too? Or, how else would SATA writers work? (I don't know as I haven't SATA CD writers)

277
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 08:03:12 pm »
2Andreas Kohl: I don't know what is undocumented in OS/2 version of cdrtools. It works the same as UNIX versions. AFAIK, it uses libscg too (It wrote a string like "Unofficial libscg transport ..." to the screen when writing CD's) .

Quote
As long HBA support for OS/2 is existing there should not too much problems. That should set the limit to 10 year old workstation hardware in real life btw.

What is HBA?

Quote
 
Quote
    The custom version from Froloff is a bit older that that is offered in UDF package. So, it's better to install the version from UDF.
 

Does it mean that ArcaOS delivered an outdated or incapable version of OS2DASD.DMD?

No, as I checked in my arcaos copy, it has latest OS2CDROM.DMD v. 10.163, the same as supplied with UDF 2.16

2David Graser:
Good that the version from cdrtools 2.01.01.a59 works for you. But v. 10.163 is newer and has more features. Some IOCTL's are missing from Froloff's version. RSJ may not work with it too. And UDF will not work with it, too. Did you checked, which CDRTOOLS version is supplied together with CD/DVD Toys? I'd suspect that this version work well with Froloff's version of OS2CDROM.DMD (because CD/DVD Toys uses Froloff's version of CDRTOOLS), but RSJ needs OS2CDROM.DMD from UDF distribution. This is only a hypothesis. Hm, looking into my version of DVD Toys, I don't see cdrecord in its installation directory. Where does it looks for it, interesting?

Yes, too bad that Nickk/Froloff disappeared both and did not left the sources.

278
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 04:47:12 pm »
CD/DVD Toys are only a frontend for CDRTools, so you can use CDRECORD directly, so command line mode will be available. So, this is not a problem. No idea why it cannot work for newer machines. It should work the same.

The custom version from Froloff is a bit older that that is offered in UDF package. So, it's better to install the version from UDF.

279
Hardware / Re: Limitation on using an USB DVD and CD writer under ArcaOS
« on: February 12, 2018, 03:02:09 pm »
2David Graser: What is your os2cdrom.dmd version? You need a custom version from Froloff (cdrtools 2.01.01a59, or so), or from latest UDF 2.14-2.16. Older versions of OS2CDROM.DMD may not support ioctl's required to write CD's in packet mode. OS2CDROM.DMD 10.163 works for me.

280
Hardware / Re: Best FAT32 driver settings
« on: February 11, 2018, 10:28:36 am »
2David Graser: Ok, so it looks like the problem was with icons. Indeed, in FC/2, with no GUI, I don't observe any delays or waits to populate the directory.

BTW, I also uploaded new version r333, where I removed OBJ_ANY in DosAllocMem (which prevented CHKDSK to start), so now CHKDSK should work ok.

Also, in last versions (it was in November), I added new cool feature: now fat32.ifs can mount FS images, laying on any other file system. The images can be simple diskette images, RAW harddisk images (partition images, or whole hard disk images), VM images (e.g., VPC images, now readonly, yet). Supported VM image formats are Raw/bochs/cloop/dmg/vpc/vmdk/parallels/vvfat/qcow. I ported the image access library from QEMU, you just use the f32mount.exe utility, to mount them. Now cachef32.exe contains code to read sectors from VM images. The IFS calls cachef32.exe, to read sectors, so that, the code for reading images is run in a usermode process. You can mount images like this:

Quote
f32mount win98.dsk <directory on a FAT drive>

-- this will mount a diskette image, or,

Quote
f32mount win98.vhd dir1 /p:1

-- this will mount a win98.vhd VPC image to dir1 subdirectory, "/p:1" selects a primary partition in this HDD image. Numbers 1-4 specify primary partitions, 5-... specify logical partitions. Also, you can specify an optional header size as "/o:<size>", if your filesystem starts at offset <size> from the beginning of the image. "/p:..." and "/o:..." options can be combined, if you have a header before the partition table. Note that such way, you can mount any FAT12/FTA16/FAT32/exFAT partition image to a subdirectory on another FAT12/FAT16/FAT32/exFAT drive.

Also, (this feature is unfinished and alpha-quality, yet) you can mount an image to a subdirectory, and run CHKDSK/FORMAT against the mountpoint. To specify a mountpoint, you use the following syntax:

Quote
chkdsk d: /m:<path to mountpoint> [/f]

So, d: will be ignored, and <path to mountpoint> will be checked instead. It is done this way, because you cannot pass a directory to chkdsk/format (only a driveletter), so we pass a directory as a separate parameter, instead. And likewise, for format (the same "/m:..." parameter). But I don't recommend to use format on a mountpoint this time, yet, because this feature is not finished, and it can corrupt the image.

Does anybody want to try these features? ;)

281
Hardware / Re: Best FAT32 driver settings
« on: February 10, 2018, 10:52:25 am »
Strange. What filesystem has your disk C: ? It seems, it wrongly assumes this disk being FAT. The message

Quote
FAT32: Error: Sector 7 does not exist on drive C:

means that number of sectors on disk < 7 (usually 0). Also, please, check the newer version fat32.ifs, r332: ftp://osfree.org/upload/fat32/fat32-0.10-r332-os2.zip, I made some additional checks in FS_MOUNT, so it should not wrongly mount other file systems, than FAT/FAT32/exFAT.

PS: No idea, why it is slower on a SMP machine. Maybe, it needs some SMP optimisations, I did none so far. Did not noticed such effects on my SMP machines.

282
Storage / Re: Low level format error with JFS
« on: February 10, 2018, 04:02:21 am »
Disks > 512 GB are officially not supported on eCS / ArcaOS. But unofficially, they work with some tricks. You need to use DFSee to create volumes on them, and assign drive letters. The reason is a non-standard geometry of such drives. DaniS506 and OS2AHCI on drives from 512 GB to 1 TB assign a geometry of 127 sectors per track, and for drives from 1 TB to 2 TB, a geometry of 255 sectors per track, instead of 63 standard sectors per track. Some tools like lvm.exe or IBM Boot manager, or AirBoot, may not like such drives. So, special tricks with DFSee are required. I'm using two 2 TB drives on two machines, successfully, but OS/2 Boot manager or AirBoot don't even boot a boot sector. I use my FreeLDR or _dixie_'s QSINIT instead, as they aren't so picky regarding the disk geometry.

PS: I observed JFS CHKDSK/FORMAT errors with such drives, too. Looks like in your case too.

283
Hardware / Re: Best FAT32 driver settings
« on: February 10, 2018, 03:43:28 am »
2David Graser: hi

I'm using

Quote
ifs=d:\os2\boot\fat32.ifs /cache:2048 /h /ac:* /largefiles /fat /exfat /eas /plus
call=d:\os2\cachef32.exe /f /p:2 /m:50000 /b:250 /d:5000

As far as I can see this is almost the same settings as you have, except for "/fat" for FAT12/FAT16 support, "/exfat" for exFAT support, "/eas" for EAs support, and "/plus" for support of files whose sizes are larger or equal than 4 GB. These are very useful switches, if you don't know. Also, I don't use FM/2, but use FC/2, I have a 1 TB FAT32 USB drive -- it works relatively fast (only needs to spin up first, as it goes to sleep usually). My 128 GB microSDXC card works fast too -- they both reread in a second or so, not 40 seconds, as you report. So, it is probably, specific somehow to FM/2, I'd suppose.

PS: Also, AFAICS, WPS opens these 128 GB and 1 TB drives faster than 40 s. It scans all directory structure for about 10 s (folder view), but just opening an icon view is fast -- 1-2 s. FC/2 does not scan whole directory structure each time, but FM/2 probably, does.

284
Programming / Re: OS/4 & PmDDk.sys
« on: December 23, 2017, 01:15:34 pm »
It works fine on two my machines (one with eCS 2.2 and Panorama video driver, another with MCP2 and SNAP video driver). Tested with both the latest OS/4 kernel and 14.200 kernel from Arca. I see no problems with it so far.

285
Article Discussions / Re: Large Floppy Support Discussion - USBMSD.ADD
« on: November 28, 2017, 09:44:14 am »
2Andreas Kohl:

> Actually I'm only 1/4 немецкий but 3/4 германский. I don't know how to translate it into English. :D

What's the difference between немецкий and германский? I found them synonymous :)

Quote
I don't want to be confusing. EXPART support for CP simply exchanges the following files:

Code: [Select]
\os2\dll\ENGINE.DLL
\os2\dll\LVM.DLL
\os2\boot\OS2DASD.DMD
\os2\boot\OS2LVM.DMD
\os2\boot\IBM1S506.ADD
\os2\FORMAT.COM
\os2\LVM.EXE
\os2\LVMGUI.CMD
\os2\javaapps\LVMGUI.ZIP
\OS2DUMP
\OS2KRNL

Moveton from #os2russian said that his copy of EXPART package has os2krnl.smp file too. So, no SMP restriction, indeed. His package is, probably, is newer than yours.

> For an end-user or operator it's only interesting that OS2LVM device mapper relies on OS2DASD.

Of course. OS2DASD.DMD/OS2LVM.DMD pair from Aurora-level systems are used together. They could be exchanged to danidasd.dmd or os2dasd.dmd from Merlin, and everything will work. OS2DASD.DMD from Merlin and DANIDASD.DMD are 16-bit drivers. OS2DASD.DMD/OS2LVM.DMD from Aurora are 32-bit ones.

Quote
Quote
If so, it is also possible to assign a 0x7 partition type to an ext2 partition. Linux does not care about partition types, so it would not hurt it. So, we can try testing it.

Sounds sane. Every IFS (ext2, hpfs, jfs) should also use the specified IFS partition id which is 7 (dual 0111). ;)

Ok, I tried to create an ext2fs partition with type 0x7. Without ext2fs partitions, mwdd32.sys/ext2-os2.ifs/ext2_lw.exe are loaded syccessfully and everything boots fine. With an ext2fs partition created, it hangs on pmshell.exe start (or on cntrl.exe start). It looks that it hangs on an attempt to mount a partition (all partitions, except for the OS/2 boot partition, are mounted about this point). So, it tries to mount it, but hangs, for some reason. This needs further investigation.

Pages: 1 ... 17 18 [19] 20 21 ... 24