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 - Paul Smedley

Pages: [1] 2 3 ... 69
1
Networking / Re: Samba 4.13.x Update/Status
« on: August 14, 2022, 11:41:03 am »
Hey All,

I think I found the problem with SMB2+ connections. Samba 4.13 changed a writev() call to sendmsg() - seems the sendmsg() call fails for us.

Rebuilding now, and will do some more local testing, but I might have something to test shortly :)

Cheers,

Paul

2
Networking / Samba 4.13.x Update/Status
« on: August 14, 2022, 11:05:06 am »
Hi All,

As some would be aware, Ubuntu 20.04 LTS switched to Samba 4.13.x a while back, mainly due to a particular security fix that couldn't be backported to 4.11.

This was a problem for us, as Samba 4.12+ introduced the use of some API that we don't have (openat, renameat and friends). I initially raised a bww ticket for these (https://github.com/bitwiseworks/libcx/issues/81) but there seems to be no interest in working on this.

Meanwhile, I started working on my own implementation, which seems to be sufficient for now - see https://github.com/psmedley/at-funcs

With these in place, I was still having issues with directory listings, and using the debugger, noticed we're also missing fdopendir - so I implemented that too.

I can now get directory listings and transfer files using SMB1 and Samba 4.13.14

With SMB2, I'm getting:
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED

So there's still work to do to understand why this is happening.

More news when there's something worth sharing

Cheers,

Paul

3
Multimedia / Re: Updated Uniaud32 build
« on: August 09, 2022, 12:37:05 am »
Hye Mark,

However, I was unable to get any sound on the other system (HYPERFIRE) which has an F1- A75V Motherboard equipped with an ALC892 8 channel HDA chipset, using the March releases of UniAud32. On that system, the chipset (Adapter 0) generates no sound but PMUnimix v0.8.2 reports all 9 normal volume sections - putting sound volumes to the max produces no sound. Sound is generated using the UniAud32 version that comes with the ArcaOS package. Tested both the release and debug versions at the time.

Are you able to generate a testlog for this system using http://88watts.net/dlfile.php?F=testlog- ? It's quite possible there is a specific 'fix' for this hardware that is currently in code that is commented out (long story, the short version is that openwatcom is old).

Best if you can open a ticket for the hardware at https://trac.netlabs.org/uniaud to save me having to trawl through the forum to find logs.

Cheers,

Paul.

4
Multimedia / Re: Updated Uniaud32 build
« on: August 08, 2022, 11:03:40 am »
Hey Martin,

Hey Martin,

Hi Paul

I'm using the "release" version.
- Enabled Serial port and take the output as a RAW file.
- Enabled COM.SYS
- Added /p:1 on Uniaud.
- Rebooted and changed to "ICH AC97" to reproduce the trap.

This is what it showed on the RAW text file.

Quote
Uniaud32 version 3.01.01
Based on linux 5.15.59
pci_register_driver: query_device found 28 8086:2415 class=40100 checking intel8x0
pci_register_driver: matched 0 8086:2415/40100 with 8086:2415/0 0 (intel8x0)

It is something else I need to do?

Thanks - I'll see if I can reproduce with the release version tonight, and try and debug it.

Looks like it's trapping in a similar spot to the initial 5.15.59 build - during the initialisation of the hardware.

I can reproduce the trap with a release build of uniaud32.sys on ac97 hardware. Investigating now.

Edit: really weird why it's trapping where it is with release vs debug....

Cheers,

Paul

5
Multimedia / Re: Updated Uniaud32 build
« on: August 08, 2022, 04:56:13 am »
Hey Martin,

Hi Paul

I'm using the "release" version.
- Enabled Serial port and take the output as a RAW file.
- Enabled COM.SYS
- Added /p:1 on Uniaud.
- Rebooted and changed to "ICH AC97" to reproduce the trap.

This is what it showed on the RAW text file.

Quote
Uniaud32 version 3.01.01
Based on linux 5.15.59
pci_register_driver: query_device found 28 8086:2415 class=40100 checking intel8x0
pci_register_driver: matched 0 8086:2415/40100 with 8086:2415/0 0 (intel8x0)

It is something else I need to do?

Thanks - I'll see if I can reproduce with the release version tonight, and try and debug it.

Looks like it's trapping in a similar spot to the initial 5.15.59 build - during the initialisation of the hardware.

Cheers,

Paul.

6
Multimedia / Re: Updated Uniaud32 build
« on: August 08, 2022, 12:07:40 am »
Hey Martin,

https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220807b.zip hacks around the issues causing traps with non-HDA hardware (tested with AC97 on Virtualbox).
I also went straight for the 20220807b and got a trap on VirtualBox.
I tested it with ArcaOS 5.0.7 VM guest on VBox 6.1.36 (Windows 10 host).
- VM ICH AC97: traps
- VM Intel HD Audio: Works, Audio control working, no traps.

I'm pretty interested in the trap on Virtualbox - as I specifically tested AC97 here on Virtualbox (but under Ubuntu). Was this with the debug or release driver? I only tested the debug driver. Are you able to get a serial port log?

Enable serial port in Virtualbox, and there's an option to save the serial port output to a text file.
Make com.sys (or pscom.sys) is loaded
add /p:1 to the uniaud32 driver line in config.sys
reboot

Cheers,

Paul.

7
Multimedia / Re: Updated Uniaud32 build
« on: August 07, 2022, 08:09:01 am »
Hey Dave,
  I went straight for the 20220807b version and it seems to work fine - system sounds, Youtube, PM123, double click an MP3 in the WPS all work great - thanks again! And I agree with Dariusz - the sound seems to be enhanced somehow...

Great to hear! Interesting that the sound 'sounds' better - although I guess that's the point of keeping the code up to date (as far as practicable) with linux :)

Cheers,

Paul

8
Multimedia / Re: Updated Uniaud32 build
« on: August 07, 2022, 03:24:06 am »
https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220807b.zip hacks around the issues causing traps with non-HDA hardware (tested with AC97 on Virtualbox).

9
Multimedia / Re: Updated Uniaud32 build
« on: August 07, 2022, 01:50:16 am »
5.15.20 - alsa.log looks OK in Virtualbox - I'm not getting sound, but that's not unusual here when virtualised...
https://smedley.id.au/tmp/uniaud32-linux-5.15.20-20220807.zip

NB: non-HDA hardware will probably still trap with this build - will try investigate that today.

5.15.40 shows the same issue as 5.15.59. Some tweaks appear to resolve the issue...

https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220807.zip

10
Multimedia / Re: Updated Uniaud32 build
« on: August 07, 2022, 12:57:32 am »
5.15.20 - alsa.log looks OK in Virtualbox - I'm not getting sound, but that's not unusual here when virtualised...
https://smedley.id.au/tmp/uniaud32-linux-5.15.20-20220807.zip

NB: non-HDA hardware will probably still trap with this build - will try investigate that today.

11
Multimedia / Re: Updated Uniaud32 build
« on: August 06, 2022, 02:10:03 am »
Hey Dave,
This one is no different - alsahlp$ attached...

Yep...
Code: [Select]
channels: 2, period size: b00
channels selected: 2
HWP: SR rate 44100, BPS 16, CH 2, PRSZ 2c0, periods 16
Period size min=2c0 max=2c0
Error -123398048 second time.. Bailing
Unknown error 123398048
U16: StartStream: ConfigDev failed!!

<sigh> I'll likely end up merging 5.15.20 or so and see if that works, then 5.15.40 and try and isolate the breaking change....

12
Multimedia / Re: Updated Uniaud32 build
« on: August 05, 2022, 11:34:52 pm »
https://smedley.id.au/tmp/uniaud32-linux-5.15.59-20220806.zip might fix the lack of audio...

Or it might not based on my testing in Virtualbox... For those that have no sound with HDA hardware in 5.15.59, does your alsa.log end with something like:
Code: [Select]
channels: 2, period size: b00
channels selected: 2
HWP: SR rate 44100, BPS 16, CH 2, PRSZ 2c0, periods 16
Period size min=2c0 max=2c0
Error -125548448 second time.. Bailing
Unknown error 125548448
U16: StartStream: ConfigDev failed!!

13
Multimedia / Re: Updated Uniaud32 build
« on: August 05, 2022, 12:23:20 pm »
Thanks Dave, I'll try and investigate over the weekend. I'm also getting a trap with AC97 hardware in VirtualBox.

14
Multimedia / Re: Updated Uniaud32 build
« on: August 05, 2022, 04:30:59 am »

15
Multimedia / Re: Updated Uniaud32 build
« on: August 05, 2022, 12:41:20 am »
Hey All,

It's been a while between drinks, but I updated uniaud32 to the 5.15 kernel. I first looked at this almost a year ago, and got lost in trying to implement the missing kernel functionality.

I took a slightly different approach this time, and got a compiled binary, that seems to work in virtualbox. I'll try see if my real hardware works as well over the weekend.

Link is https://smedley.id.au/tmp/uniaud32-linux-5.15-20220805.zip

Next steps will be to get to the current 5.15.x LTS build (5.15.59 at the time of writing)

The 5.15 kernel is a Long Term Support kernel, that has a projected end of life date of October 2023.

Cheers,

Paul

Pages: [1] 2 3 ... 69