search for: ireg

Displaying 20 results from an estimated 35 matches for "ireg".

Did you mean: greg
2007 Jan 27
1
FXS - Init Indirect Registers UNSUCCESSFULLY.
...card. If it helps, I have a TDM20B (just FXS modules) that does not see this problem when I place it in the same slot. Here is what dmesg shows for the TDM22B when the system boots, or when I issues modprobe wctdm: Freshmaker version: 73 Freshmaker passed register test !!!!!!! LOOP_CLOSE_TRES iREG 1C = 1 should be 1000 !!!!!!! RING_TRIP_TRES iREG 1D = 8000 should be 3600 !!!!!!! COMMON_MIN_TRES iREG 1E = 0 should be 1000 !!!!!!! COMMON_MAX_TRES iREG 1F = 0 should be 200 !!!!!!! PWR_ALARM_Q1Q2 iREG 20 = 1480 should be 7C0 !!!!!!! PWR_ALARM_Q3Q4 iREG 21 = 37C0 should be 2600 !!!!!!! PWR_ALARM_...
2011 Feb 21
3
Problem installing FXS module in old digium 4 channel tdm card
I just installed an FXS module onto a 4 channel tdm thats about 5 years old and it wont work. Running dmesg I can see the following error: Zapata Telephony Interface Registered on major 196 Freshmaker version: 71 Freshmaker passed register test !!!!!!! LOOP_CLOSE_TRES iREG 1C = 1 should be 1000 !!!!!!! RING_TRIP_TRES iREG 1D = 8000 should be 3600 !!!!!!! COMMON_MIN_TRES iREG 1E = 0 should be 1000 !!!!!!! COMMON_MAX_TRES iREG 1F = 0 should be 200 !!!!!!! PWR_ALARM_Q1Q2 iREG 20 = 1480 should be 7C0 !!!!!!! PWR_ALARM_Q3Q4 iREG 21 = 37C0 should be 2600 !!!!!!!...
2014 Feb 20
2
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...s/diskio_bios.c syslinux-6.02/core/fs/diskio_bios.c --- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13 21:59:03.000000000 +0400 +++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-20 12:15:08.000000000 +0400 @@ -337,7 +337,7 @@ struct disk *bios_disk_init(void *privat /* Get EBIOS support */ ireg.eax.b[1] = 0x41; ireg.ebx.w[0] = 0x55aa; - ireg.eflags.b[0] = 0x3; /* CF set */ + ireg.edx.b[0] = devno; __intcall(0x13,&ireg,&oreg); @@ -353,6 +353,7 @@ struct disk *bios_disk_init(void *privat edd_params.len = sizeof edd_params; ireg.eax.b[1] = 0x48; +...
2019 Jan 21
2
A bug in command localboot was introduced in version 6.03.
diff --git a/core/localboot.c b/core/localboot.c index 0b8769e4..30bfb272 100644 --- a/core/localboot.c +++ b/core/localboot.c @@ -63,7 +63,6 @@ __export void local_boot(int16_t ax) ireg.eax.w[0] = 0; /* Reset drive */ __intcall(0x13, &ireg, NULL); - memset(&ireg, 0, sizeof(ireg)); ireg.eax.w[0] = 0x0201; /* Read one sector */ ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first sector) */ ireg.ebx.w[0] = OFFS(trackbuf); 21.01.2019 11:03, Erwan Velu writes: > Ca...
2014 Feb 23
1
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...syslinux-6.02/core/fs/diskio_bios.c --- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13 13:59:03.000000000 -0400 +++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-23 14:04:17.876084866 -0500 @@ -337,6 +337,7 @@ struct disk *bios_disk_init(void *privat /* Get EBIOS support */ ireg.eax.b[1] = 0x41; ireg.ebx.w[0] = 0x55aa; + ireg.edx.b[0] = devno; ireg.eflags.b[0] = 0x3; /* CF set */ __intcall(0x13, &ireg, &oreg); @@ -353,6 +354,7 @@ struct disk *bios_disk_init(void *privat edd_params.len = sizeof edd_params; ireg.eax.b[1]...
2007 Feb 09
0
TDM2400: some FXS module fail
...my server. One has 24FXS and the other has 16 FXS and 4 FXO. They are both connected to power. Unfortunately some of the FXS module fail to initialize and I find following messages in the logs (the rest of the FXS modules work well). Could someone give me some advice? !!!!!!! LOOP_CLOSE_TRES iREG 1C = 1 should be 1000 Feb 9 18:09:45 [kernel] !!!!!!! RING_TRIP_TRES iREG 1D = 8000 should be 3600 Feb 9 18:09:45 [kernel] !!!!!!! COMMON_MIN_TRES iREG 1E = 0 should be 1000 Feb 9 18:09:45 [kernel] !!!!!!! COMMON_MAX_TRES iREG 1F = 0 should be 200 Feb 9 18:09:45 [kernel] !!!!!!! PWR_ALAR...
2006 Oct 29
1
The simple menu system doesn't work with serial console
...it doesn't seem to work in 0.3x and 0.4x. I confirmed that this patch fixed the bug. *** com32/lib/sys/xserial_write.c~ 2006-10-30 08:30:35.000000000 +0900 --- com32/lib/sys/xserial_write.c 2006-10-30 08:31:30.000000000 +0900 *************** *** 43,49 **** { static com32sys_t ireg; /* Zeroed with the BSS */ ! ireg.eax.w[0] = 0x0400 | (unsigned char)ch; __intcall(0x21, &ireg, NULL); } --- 43,50 ---- { static com32sys_t ireg; /* Zeroed with the BSS */ ! ireg.eax.b[1] = 0x04; ! ireg.edx.b[0] = ch; __intcall(0x21, &ireg, NULL); } --...
2014 Oct 30
0
Display graphic from filename broken?
> Hi, > > the display of LSS16 files from a DISPLAY file (as documented in > http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:) > seems heavily broken since syslinux has been converted from assembler to > C. I already discovered one bug in core/include/graphics.h (and > core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but > should
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2014 Oct 30
3
Display graphic from filename broken?
Hi, the display of LSS16 files from a DISPLAY file (as documented in http://www.syslinux.org/wiki/index.php/SYSLINUX#Display_graphic_from_filename:) seems heavily broken since syslinux has been converted from assembler to C. I already discovered one bug in core/include/graphics.h (and core/graphics.c): the pointer VGAFilePtr is of type uint16_t*, but should be plain char*. This bug causes the
2012 Aug 14
1
[GIT PULL] elflink fixes
...nfig", IMAGE_TYPE_CONFIG }, + { NULL, 0 }, }; extern int create_args_and_load(char *); -void execute(const char *cmdline, enum kernel_type type) +void execute(const char *cmdline, uint32_t type) { - const char *p, *const *pp; const char *kernel, *args; + const char *p; com32sys_t ireg; char *q; @@ -79,22 +79,31 @@ void execute(const char *cmdline, enum kernel_type type) dprintf("kernel is %s, args = %s type = %d \n", kernel, args, type); - if (kernel[0] == '.' && type == KT_NONE) { + if (kernel[0] == '.') { /* It might be a type sp...
2014 Feb 22
0
[PATCH] core: Incorrect detection of EDD in /core/fs/diskio_bios.c
...x-6.02/core/fs/diskio_bios.c > --- syslinux-6.02.orig/core/fs/diskio_bios.c 2013-10-13 21:59:03.000000000 +0400 > +++ syslinux-6.02/core/fs/diskio_bios.c 2014-02-20 12:15:08.000000000 +0400 > @@ -337,7 +337,7 @@ struct disk *bios_disk_init(void *privat > /* Get EBIOS support */ > ireg.eax.b[1] = 0x41; > ireg.ebx.w[0] = 0x55aa; > - ireg.eflags.b[0] = 0x3; /* CF set */ I don't understand where the removal of that line matches with 'DL register is not set' from the description of this patch. > + ireg.edx.b[0] = devno; > > __intcall(0x13,&am...
2019 Jan 21
0
A bug in command localboot was introduced in version 6.03.
...:37 AM Victor Sologoubov via Syslinux <syslinux at zytor.com> wrote: > > diff --git a/core/localboot.c b/core/localboot.c > index 0b8769e4..30bfb272 100644 > --- a/core/localboot.c > +++ b/core/localboot.c > @@ -63,7 +63,6 @@ __export void local_boot(int16_t ax) > ireg.eax.w[0] = 0; /* Reset drive */ > __intcall(0x13, &ireg, NULL); > > - memset(&ireg, 0, sizeof(ireg)); > ireg.eax.w[0] = 0x0201; /* Read one sector */ > ireg.ecx.w[0] = 0x0001; /* C/H/S = 0/0/1 (first sector) */ > ireg.ebx.w[0] = O...
2005 May 30
1
Where to start to solve hardware problem?
...ge test. Check for short circuit DC-DC cal has a surprising direct 107 of 0xff! ##### Loop error (ff) ##### ##### Loop error (ff) ##### ##### Loop error (ff) ##### ##### Loop error (ff) ##### ##### Loop error (ff) ##### ##### Loop error (ff) ##### ##### Loop error (ff) ##### !!!!!!! DTMF_ROW_0_PEAK iREG 0 = FFFF should be 55C2 ##### Loop error (ff) ##### ##### Loop error (ff) ##### !!!!!!! DTMF_ROW_1_PEAK iREG 1 = FFFF should be 51E6 ##### Loop error (ff) ##### ##### Loop error (ff) ##### !!!!!!! DTMF_ROW_2_PEAK iREG 2 = FFFF should be 4B85 ##### Loop error (ff) ##### ##### Loop error (ff) ##### !...
2019 Jan 21
2
A bug in command localboot was introduced in version 6.03.
I created a bootable usb flash with boot menu. One of items was "Boot from hard drive" with command "localboot 0x81". This item worked when this usb flash was prepared with syslinux 6.02. And it stopped working when the flash was prepared with syslinux 6.03. The message was Booting from local disk... Boot error I extracted the source code, investigated, changed, compiled
2010 Apr 23
1
Path simple menu integrated progress indicator
...har* name, size_t cur, size_t total)) +{ + void *data; + size_t len; + + if (loadfile_w_callback(filename, &data, &len, callback)) + return -1; + + return initramfs_add_data(ihead, data, len, len, 4); +} + + void execute(const char *cmdline, enum kernel_type type) { com32sys_t ireg; - const char *p, *const *pp; + char *p, *const *pp; char *q = __com32.cs_bounce; const char *kernel, *args; - memset(&ireg, 0, sizeof ireg); - kernel = q; p = cmdline; while (*p && !my_isspace(*p)) { @@ -48,22 +151,60 @@ void execute(const char *cmdli...
2011 May 25
1
[GIT PULL] elflink ldlinux
...ERNEL) { + } else if (type == KT_KERNEL) { /* Need add one item for kernel load, as we don't use * the assembly runkernel.inc any more */ new_linux_kernel(kernel, cmdline); @@ -148,14 +148,15 @@ void execute(const char *cmdline, enum kernel_type type) if (type == KT_LOCALBOOT) { ireg.eax.w[0] = 0x0014; /* Local boot */ ireg.edx.w[0] = strtoul(kernel, NULL, 0); + } else { + ireg.eax.w[0] = 0x0016; /* Run kernel image */ + ireg.esi.w[0] = OFFS(kernel); + ireg.ds = SEG(kernel); + ireg.ebx.w[0] = OFFS(args); + ireg.es = SEG(args); + ireg.edx.l = type - KT_KERNEL; +...
2008 Jul 19
0
[PATCH] ethersel: use library functions
...struct match *m; if ( !filename ) - filename = get_config(); + filename = syslinux_config_file(); f = fopen(filename, "r"); if ( !f ) @@ -198,19 +189,6 @@ return list; } -static void __attribute__((noreturn)) -execute(const char *cmdline) -{ - static com32sys_t ireg; - - strcpy(__com32.cs_bounce, cmdline); - ireg.eax.w[0] = 0x0003; /* Run command */ - ireg.ebx.w[0] = OFFS(__com32.cs_bounce); - ireg.es = SEG(__com32.cs_bounce); - __intcall(0x22, &ireg, NULL); - exit(255); /* Shouldn't return */ -} - int main(int argc, char *argv[]) { s...
2007 Oct 01
1
Patch to vesamenu.c32 from Syslinux 3.51
...splay to properly render for those apps that don't set the display mode before writing: --- menumain.orig 2007-09-27 16:27:45.000000000 -0700 +++ menumain.c 2007-09-27 16:27:30.000000000 -0700 @@ -1036,6 +1036,8 @@ } else { if (type < KT_KERNEL) type = KT_KERNEL; + ireg.eax.w[0]= 0x0003; /* Return to text mode */ + __intcall(0x10, &ireg, NULL); ireg.eax.w[0] = 0x0016; /* Run kernel image */ ireg.esi.w[0] = OFFS(kernel); ireg.ds = SEG(kernel);
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse