search for: driveno

Displaying 20 results from an estimated 21 matches for "driveno".

Did you mean: driven
2009 Nov 20
0
[PATCH] memdisk: Use boot_lba logic for booting an offset within the di
...uint32_t sectors; /* Sector count */ uint32_t c, h, s; /* C/H/S geometry */ uint32_t offset; /* Byte offset for disk */ + uint32_t boot_lba; /* LBA of bootstrap code */ uint8_t type; /* Type byte for INT 13h AH=08h */ uint8_t driveno; /* Drive no */ uint16_t sector_size; /* Sector size in bytes (512 vs. 2048) */ @@ -451,6 +452,9 @@ static const struct geometry *get_disk_image_geometry(uint32_t where, /* If we have an emulation mode, set the offset to the image */ if (boot_cat->initial_ent...
2010 May 26
1
[PATCH] RHEV: Only mark the first disk as bootable
...39; ? 2 : 0); - # The libvirt QEMU driver marks all disks as bootable - $diske->setAttribute('ovf:boot', 'True'); + # The libvirt QEMU driver marks the first disk (in document order) as + # bootable + $diske->setAttribute('ovf:boot', $driveno == 1 ? 'True' : 'False'); # Add disk to VirtualHardware my $item = $ovf->createElement('Item'); -- 1.7.0.1
2009 Sep 12
1
[PATCH] Let MEMDISK honor the quiet append option
...isk_size); @@ -868,7 +881,8 @@ pptr->configflags |= CONFIG_SAFEINT; } - printf("Disk is %s%d, %u%s K, C/H/S = %u/%u/%u (%s/%s), EDD %s, %s\n", + if (!quiet) { + printf("Disk is %s%d, %u%s K, C/H/S = %u/%u/%u (%s/%s), EDD %s, %s\n", (geometry->driveno & 0x80) ? "hd" : "fd", geometry->driveno & 0x7f, geometry->sectors >> 1, @@ -878,25 +892,26 @@ do_edd ? "on" : "off", pptr->configflags & CONFIG_READONLY ? "ro" : "rw"); - put...
2017 Mar 25
2
where to swap
...m> --- mbr/isohdpfx.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S index 17e1efe..a693ccb 100644 --- a/mbr/isohdpfx.S +++ b/mbr/isohdpfx.S @@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4 stack = 0x7c00 partoffset = (stack-8) driveno = (stack-14) -heads = (stack-16) -sectors = (stack-18) +sectors = (stack-16) +heads = (stack-18) ebios_flag = (stack-20) secpercyl = (stack-24) _______________________________________________ Syslinux-commits mailing list Syslinux-commits at zytor.com http://www.zytor.com/mailman/listinfo/...
2009 Mar 22
1
[PATCH] [memdisk] Additional comments in memdisk.inc and postprocess.pl
...ndex 1e2076b..0df6c77 100644 --- a/memdisk/memdisk.inc +++ b/memdisk/memdisk.inc @@ -36,6 +36,7 @@ %endif ; DEBUG_TRACERS +; Flags we test our configuration against %define CONFIG_READONLY 0x01 %define CONFIG_RAW 0x02 %define CONFIG_SAFEINT 0x04 @@ -104,6 +105,8 @@ Int13Start: xor dl,[cs:DriveNo] pop dx js .nomatch ; If SF=0, we have a class match here + ; 0x00 the sign bit for FD + ; 0x80 the sign bit for HD jz .our_drive ; If ZF=1, we have an exact match cmp dl,[cs:DriveNo] jb .nomatch ; Drive < Our drive @@ -115,13 +118,13 @@ Int13Start: pushf push bp...
2013 Feb 08
6
[PATCH] 4k_sector: Support dynamic sectors in GPT MBR
This patches add support for dynamic sectors to GPT MBR code. First 3 patches are trick and optimizations to gain some space for the forth patch. I have a modified version of SeaBIOS, some code and some script o test it I'll send on a different mail.
2017 Mar 22
0
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...detection version to boot the iso. Please David if you see this, try this. Patch: diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S index 6d8ab36..5a8b267 100644 --- a/mbr/isohdpfx.S +++ b/mbr/isohdpfx.S @@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4 stack = 0x7c00 partoffset = (stack-8) driveno = (stack-14) -heads = (stack-16) -sectors = (stack-18) +sectors = (stack-16) +heads = (stack-18) ebios_flag = (stack-20) secpercyl = (stack-24) -- MartinS
2017 Mar 25
0
where to swap
...rtin Str|mberg <ams at ludd.ltu.se> ... > diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S > index 17e1efe..a693ccb 100644 > --- a/mbr/isohdpfx.S > +++ b/mbr/isohdpfx.S > @@ -48,8 +48,8 @@ isolinux_start_hybrid = 0x7c00+64+4 > stack = 0x7c00 > partoffset = (stack-8) > driveno = (stack-14) > -heads = (stack-16) > -sectors = (stack-18) > +sectors = (stack-16) > +heads = (stack-18) > ebios_flag = (stack-20) > secpercyl = (stack-24) Yes. It is. However by now we know that that correction is wrong. You need to revert that and use the one in <http...
2002 Apr 23
1
SYSLINUX 1.73-pre1
I have released SYSLINUX 1.73-pre1. This isn't a bug fix release (thank God), but given the rather painful quality of the last couple of releases I wanted to get another prerelease out as I'm working on the new core code. I'm trying to eliminate differences between the various syslinux components whereever possible; there has been some unnecessary differences in the past which
2002 Jul 27
2
Isolinux doesn't boot
hi, i've been trying around for a month or so to get isolinux on my toshiba satellite 4010cdt running. It doesn't really work. The debug version says the following: ISOLINUX 1.75 2002-06-14 ... isolinux: Startinug up, DL = 82 isolinux: Loaded spec packed OK, drive = 82 and that's it. No boot there. If I chain-load (or however that's called) my Isolinux - CDs with "Smart
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...fine DEBUG_PRINT 1 #include "adjust.h" .code16 .text HYBRID_MAGIC = 0x7078c0fb isolinux_hybrid_signature = 0x7c00+64 isolinux_start_hybrid = 0x7c00+64+4 .globl bootsec /* Important: the top 6 words on the stack are passed to isolinux.bin */ stack = 0x7c00 partoffset = (stack-8) driveno = (stack-14) heads = (stack-16) sectors = (stack-18) ebios_flag = (stack-20) secpercyl = (stack-24) BIOS_kbdflags = 0x417 BIOS_page = 0x462 /* gas/ld has issues with doing this as absolute addresses... */ .section ".bootsec", "a", @nobits .globl bootsec bootsec: .space...
2017 Mar 22
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi, given the fact that the conversion has the factor HC*SH = "secpercyl", which is invariant under swapping, there remains as suspect in read_sector_cbios only this division: divb (sectors) There is a suspicious discrepancy in the code: heads = (stack-16) sectors = (stack-18) ... /* here we computer CHS values or just do some dummy computation for EBIOS */ andw $0x3f,
2012 Aug 10
1
[PATCH 4/4] Support sectors >512
...- shrw $9,%ax + divw -6(%bp) /* %dx == 0 here */ xchgw %ax,%cx incw %cx @@ -214,7 +230,7 @@ boot: movl (32+20)(%si),%eax movl (36+20)(%si),%edx call read_sector_phdr - cmpw $0xaa55, -2(%bx) + cmpw $0xaa55, (0x7c00+0x1fe) jne missing_os /* Not a valid boot sector */ movw %bp, %sp /* driveno == bootsec-6 */ popw %dx /* dl -> drive number */ @@ -258,12 +274,12 @@ read_sector: /* This chunk is skipped if we have ebios */ /* Do not clobber %es:%bx or %edx:%eax before this chunk! */ read_sector_cbios: - divl -6(%bp) /* secpercyl */ + divl -36(%bp) /* secpercyl */ shlb $6, %ah...
2007 Nov 15
3
3.53-pre5 released - release candidate
...issues Typo cleanup In 32-bit mode, "xor eax,eax" is shorter than "xor ax,ax" Add sha256crypt and sha512crypt; not yet enabled Remove unused variable BufSafeSec Fix boot sectors; cleanup_hardware must preserve registers ISOLINUX: Change DriveNo -> DriveNumber mbr.S: fix loading from logical partitions Preserve ES:DI instead of probing for $PnP -hpa
2009 Dec 07
3
[PATCH] memdisk: "safe hook" and mBFT
...2] = ''F''; + mBFT->acpi.signature[3] = ''T''; + mBFT->safe_hook = (uint32_t)safe_hook; + mBFT->acpi.checksum = -checksum_buf(mBFT, mBFT->acpi.length); + } + /* Update various BIOS magic data areas (gotta love this shit) */ if (geometry->driveno & 0x80) { -- 1.5.6.3 --------------010300080909010906030809--
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.
2006 Nov 17
1
gjournal on 6.x wont build
Hi all, I was intending on trying out gjournal on a new disk i've added in my desktop. I had a look to see what the most recent patch provided by Pawel and found http://people.freebsd.org/~pjd/patches/gjournal6_20061024.patch I created the directories as per Pawel's original post (http://lists.freebsd.org/pipermail/freebsd-fs/2006-June/001962.html) and the patch succeeded with no failed
2010 Mar 30
3
[PATCH 1/2] Refactor guest and volume creation into Sys::VirtV2V::Target::LibVirt
Move all target-specific functionality into its own module in preparation for output to RHEV. --- MANIFEST | 1 + lib/Sys/VirtV2V/Connection.pm | 46 ++--- lib/Sys/VirtV2V/Converter.pm | 138 +------------ lib/Sys/VirtV2V/Target/LibVirt.pm | 419 +++++++++++++++++++++++++++++++++++++ lib/Sys/VirtV2V/Transfer/ESX.pm | 91 +++------ po/POTFILES.in
2011 Mar 11
2
[PATCH 1/2] Allow reading more data than the reported size of a volume
If a volume is not an exact multiple of 512 bytes, qemu-img will report its size rounded down to a 512 byte boundary. However, when copying, the file is still read until EOF, which will return more data than was expected. This change prevents that causing a failure in itself. The situation is still not resolved, however, as there are still situations where this will cause a failure. For example,
2012 Sep 03
1
[GIT-PULL] XFS filesystem driver
...offset 0x800 (4 sectors), so we + * need to adjust %eax (%eax + 4) to read the right sector into 0x7C00. + */ + addl $0x800 >> 0x09, %eax /* plus 4 sectors */ + call read_sector + jc disk_error + +no_xfs: cmpw $0xaa55, (bootsec+510) jne missing_os /* Not a valid boot sector */ movw $driveno, %sp /* driveno == bootsec-6 */