search for: writestr

Displaying 20 results from an estimated 39 matches for "writestr".

2005 Dec 09
2
Development Question for version 2.11 of isolinux
...rd key is pressed in an amount of time it should boot from the next device configured in BIOS (INT 18h). I looked up the isolinux.asm and tried 2 entry points for my code: 1. entry point: label _start1 after the mov si,syslinux_banner call writestr I implemented following code (have to say that I'm assembler newbie): mov si,really_boot call writestr mov si,caution_str call writestr mov cx,20 jmp sleep_loop jmp k...
2005 Mar 14
4
[SMB 3.0.10] File Locking Mechanism Windows <-> Unix
Hello, Iam facing a problem in locking of files across samba shares. We have samba 3.0.10 running on Solaris 9 with the smb.conf as follows. # Global parameters [global] workgroup = NMUINT netbios name = NMUINTFS interfaces = <IP> bind interfaces only = Yes security = DOMAIN password server = XXX.XXX.XXX.XXX log level = 1 ldap
2001 Aug 12
1
R (D)COM automation server for windows, type mismatch?
...he function GetGFX) Where is the mistake? Any hints? Thanks, Thilo. --- >From the Object Browser: --------------------------------------------------------------- Library STATCONNECTORCLNTLib ...\rw1030\bin\StatConnectorClnt.dll ISGFX: ... StatConnectorCharacterDevice: Clear() WriteString(bstrLine As String) WriteStringLevel(bstrLine As String, lLevel As Long) StatConnectorGraphicsDevice: BackColor As OLE_COLOR ... * GetGFX() As ISGFX --------------------------------------------------------------- Library STATCONNECTORSRVLib ...\rw1030\bin\StatConnectorSrv.ex...
2002 Feb 04
6
pxelinux hang: problem freeing memory?
trying to set up a IBM 4500R with pxelinux 1.67 with an Intel eepro(ish) NIC. Got DHCP (ISC 2.0) and atftpd working. pxelinux downloads the boot.msg, kernel and initrd, but when it tries to load the kernel we get: boot: Loading 7.1/vmlinuz............. Loading 7.1/initrd.img.............. ready. Failed to free base memory, sorry... [system hangs] I tried enabling debugging in pxelinux.asm, but
2008 Sep 09
1
[PATCH] parsecmd: show keyword in err_noparm message
...======================== --- syslinux-3.72-pre5.orig/core/parsecmd.inc 2008-06-23 17:11:47.000000000 +0200 +++ syslinux-3.72-pre5/core/parsecmd.inc 2008-09-09 22:11:35.000000000 +0200 @@ -82,9 +82,11 @@ ; No parameter .noparm: mov si,err_noparm - mov al,10 ; Already at EOL -.error: call writestr + mov si,trackbuf + call writestr + call crlf + mov al,10 ; Already at EOL jmp short .skipline .found_keywd: lodsw ; Load argument into ax @@ -103,7 +105,7 @@ section .data err_badcfg db 'Unknown keyword in configuration file: ',0 -err_noparm db 'Missing par...
2013 Jul 11
2
make efi64 install in syslinux-6.02-pre3 fail
Hello, I tried to make my own binary with 'make efi64 install' but it fail with make[3]: *** No rule to make target `/root/syslinux-6.02-pre3/efi64/efi/../core//writestr.o', needed by `syslinux.so'. Stop. make[3]: Leaving directory `/root/syslinux-6.02-pre3/efi64/efi' make[2]: *** [install] Error 2 make[2]: Leaving directory `/root/syslinux-6.02-pre3/efi64' make[1]: *** [efi64] Error 2 make[1]: Leaving directory `/root/syslinux-6.02-pre3' make:...
2015 Jan 15
0
PXE Error Reporting
...ooks like < 5.x. > > the one from Fedora 20, syslinux-4.05. > > It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports > "Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and LDLINUX is special: core/elflink/load_env32.c 170:out: 171: writestr("\nFailed to load "); 172: writestr(LDLINUX); > "Loading <FILE>... failed: No such file or directory" when the TFTP > server replies with "Permission denied" for the kernel or initrd. open() returns ENOENT for all errors: com32/lib/sys/open.c 68:...
2003 Jul 23
3
ov_open returning OV_EBADHEADER
Hi there. I'm having this problem when trying to open the stream to play it. What I'm doing is the following: archivo_original = fopen(Archivo.c_str(), "r"); if (archivo_original == NULL) { if (EventLog) EventLog->WriteString(Format("No se pudo abrir el archivo %s", ARRAYOFCONST((Archivo)))); WaveOut->Stop(); return; } if (resultado = ov_open(archivo_original, &oggvorbis_file, NULL, 0)) { I don't know what could be wrong with the file, as I can play it without problems in Wi...
2009 Feb 08
2
Graphic boot ...
...se - things messed up - no kernel, no initrd, ... - User selection is really needed (decision with no defined default) So I started with the lss16 graphics, which is nice but limited to 14 clolors I continued with vesamenu background - nice - but I still see messages. I commented out few calls to writestr and writechr in the sources - no more messages or menu. The problem I have now is that before loading the kernel the graphic menu returns to text mode (blank dark screen). How can I tell the vesamenu sub-system not to return to the text mode? Any help will be appreciated, If anyone want the cha...
2015 Jan 15
3
PXE Error Reporting
Sebastian, On 01/15/2015 12:49 AM, Sebastian Herbszt wrote: > which version of pxelinux were you trying? Looks like < 5.x. the one from Fedora 20, syslinux-4.05. It turns out that pxelinux.0 from Fedora 21, syslinux-6.03, reports "Failed to load ldlinux.c32" when ldlinux.c32 can't be read, and "Loading <FILE>... failed: No such file or directory" when the
2002 Mar 08
0
PXELINUX: suggestion for improvement
...i386' + mov dword [di-4],0 + + ; check if we can change EFLAGS.ID + pushfd + pop eax + mov edx,eax + xor eax,1<<21 ; EFLAGS.ID + push eax + popfd + pushfd + pop eax + xor eax,edx + and eax,1<<21 + jnz .do_cpuid + .done_cpuid: + mov si,trying_msg + call writestr + mov di,trackbuf + mov si,di + call writestr + call crlf + call open + popad + pop dword [di-8] + pop dword [di-4] + ret + + .do_cpuid: + xor eax,eax + cpuid + cmp ecx,'cAMD' + jne .not_amd + mov byte [di-8],'a' + mov eax,80000001h + cpuid + shr e...
2004 Oct 07
1
x86 vs. x86_64 detection proof of concept patch (try two)
...00 @@ -304,6 +304,7 @@ command_line resb max_cmd_len+2 ; Command line buffer alignb 4 default_cmd resb max_cmd_len+1 ; "default" command line +CpuIs64 resw 1 ; Is this cpu a x86_64 machine? ; ; PXE packets which don't need static initialization @@ -392,6 +393,27 @@ call writestr ; +; ID the CPU: Shamelessly borrowed from the Linux kernel arch/x86_64/kernel/head.S +; + mov word [CpuIs64], 0 + mov eax, 80000000h + cpuid + cmp eax, 80000000h + jbe afterbits + ; Check if long mode is implemented + mov eax, 80000001h + cpuid + bt edx, 29 + jnc afterbits + mov word...
2013 Jul 12
0
[PATCH 001/001] core/serial: Add support for serial output functions.
...* along with this program; if not, write to the + * Free Software Foundation, Inc., + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#include <sys/io.h> +#include <serial.h> +#include <stdint.h> +#include <stdio.h> +#include <stdarg.h> + +extern void writestr(const char *); + +/* + * Taken from linux/arch/x86/lib/delay.c + * simple loop based delay: + */ +static void delay_loop(unsigned long loops) +{ + asm volatile( + " test %0,%0 \n" + " jz 3f \n" + " jmp 1f \n" + +...
2014 Jun 09
1
syslinux (pxelinux.0) debug prints
...For example If I want to print something in gpxe_init() which is at the > start of the pxelinux.0 execution, how I can do that? Can you use a serial port? If you can't, this would mean you need to avoid printf()/dprintf() for your debugging and you're looking at a far simpler function, writestr() or attempting to restructure what's in pxelinux.0 (a task that's likely non-trivial). I'll try to test current head iPXE ISO with 6.03-pre12 tonight. -- -Gene A: Because it messes up the order in which people normally read text, especially the archives of mailing lists. Q: Why is...
2012 Apr 17
2
[GIT PULL] elflink warning fixes and auto extension support
...type to core.h ldlinux: Include write_serial() prototype meminfo: If we allocate with lmalloc() we should free with lfree() localboot: Include header files for function prototypes init: Fix up compiler warnings hello: Delete unused variable 'console_init' writestr: Include core.h for writechr() prototype font: Cast away compiler warning graphics: Fix GXPix* assignment conio: Fix up compiler warnings elflink: Delete obsolete constructor code elflink: Allocate space for 'realname' fs: Include header for close() proto...
2013 Jul 12
2
[PATCH 001/001] core/serial: Add support for serial output functions.
...* along with this program; if not, write to the + * Free Software Foundation, Inc., + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. +*/ + +#include <sys/io.h> +#include <serial.h> +#include <stdint.h> +#include <stdio.h> +#include <stdarg.h> + +extern void writestr(const char *); + +/* + * Taken from linux/arch/x86/lib/delay.c + * simple loop based delay: + */ +static void delay_loop(unsigned long loops) +{ + asm volatile( + " test %0,%0 \n" + " jz 3f \n" + " jmp 1f \n" + + ".alig...
2015 Apr 14
0
debugging pxelinux
...t loaded, printf() shouldn't work though printf() in 1 context might not be the same as another. > I assume (given the dprintfs) that ldlinux.c32 is loaded by the time > pxe_init is run, so printf calls should be legal. > > What am I missing? See #0. Also, you may need to look at writestr(). -- -Gene
2010 Mar 21
0
[PATCH] core: use MY_NAME for syslinux_banner
...syslinux_banner in isolinux and pxelinux. This is already done in ldlinux and extlinux. Signed-off-by: Sebastian Herbszt <herbszt at gmx.de> diff --git a/core/isolinux.asm b/core/isolinux.asm index ef7d92d..23429bd 100644 --- a/core/isolinux.asm +++ b/core/isolinux.asm @@ -1034,7 +1034,7 @@ writestr_early equ writestr ; Data that needs to be in the first sector ; ----------------------------------------------------------------------------- -syslinux_banner db CR, LF, 'ISOLINUX ', VERSION_STR, ' ', DATE_STR, ' ', 0 +syslinux_banner db CR, LF, MY_NAME, ' ', VE...
2013 Jul 12
0
make efi64 install in syslinux-6.02-pre3 fail
On Thu, 11 Jul, at 01:55:12PM, Michael Szerencsits wrote: > Hello, > > I tried to make my own binary with 'make efi64 install' but it fail with > > make[3]: *** No rule to make target `/root/syslinux-6.02-pre3/efi64/efi/../core//writestr.o', needed by `syslinux.so'. Stop. > make[3]: Leaving directory `/root/syslinux-6.02-pre3/efi64/efi' > make[2]: *** [install] Error 2 > make[2]: Leaving directory `/root/syslinux-6.02-pre3/efi64' > make[1]: *** [efi64] Error 2 > make[1]: Leaving directory `/root/sysl...
2014 May 31
1
syslinux (pxelinux.0) debug prints
>Message: 6 >Date: Fri, 30 May 2014 07:35:30 -0400 >From: Gene Cumm <gene.cumm at gmail.com> >To: Wissam Shoukair <wissams at mellanox.com> >Cc: For discussion of Syslinux and tftp-hpa <syslinux at zytor.com> >Subject: Re: [syslinux] syslinux (pxelinux.0) debug prints >Message-ID: > <CAD0Rxem_P4kOycVcSZUuaTjdKe=Gm5MLTjO6P6dMkbtsLOrVNQ at