search for: start_console

Displaying 3 results from an estimated 3 matches for "start_console".

2011 Mar 30
1
menu.c32 hangs
...#!ipxe dhcp chain http://my-site/menu.c32 http://my-site/boot.php After ipxe promote "http://my-site/menu.c32...... ok", the machine hangs. Then I try to figure out where it does stop. First I put a printf() statement in In syslinux/com32/menu/menumain.c:main:, right after start_console(), then boot the machine, but the statement is not reached. So I advanced start_console() to before parse_config(), and after a couple of trace, I reached syslinux/com32/lib/sys/open.c:open: I made such changes: printf("file: %s line: %d fd: %d fp: %p\n", __FILE__, __LINE__, fd, fp);...
2010 Apr 23
1
Path simple menu integrated progress indicator
...went bad; return to menu */ } diff -uprN syslinux-3.86-vanilla//com32/menu/menu.c syslinux-3.86/com32/menu/menu.c --- syslinux-3.86-vanilla//com32/menu/menu.c 2010-03-31 11:24:25.000000000 -0500 +++ syslinux-3.86/com32/menu/menu.c 2010-04-15 10:07:34.000000000 -0500 @@ -42,3 +42,25 @@ void start_console(void) { console_ansi_raw(); } + +void draw_progress(const char *file, size_t cur, size_t total) +{ + static bool once = true; + float percent; + percent = ((float)cur / (float)total) * 100.0; + + if (opt_quiet) + return; + + if (once) { + printf("Loading %s&...
2010 May 20
0
Bug#582363: xen-utils-3.4: blktapctrl not started by default
...removed in tools-misc-xend-startup.diff @@ -120,24 +86,14 @@ if not sys.argv[1:]: print 'usage: %s {start|stop|reload|restart}' % sys.argv[0] elif sys.argv[1] == 'start': - if os.uname()[0] != "SunOS": - start_xenstored() - start_consoled() - start_blktapctrl() return daemon.start() xenstored and consoled have been started in /etc/init.d/xend instead, but it appears blktapctrl has been forgotten. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (1000, 'stable'), (50, '...