search for: bssecpertrack

Displaying 14 results from an estimated 14 matches for "bssecpertrack".

2017 Mar 24
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
Hi, C/H/S addressing and reading of first block seems to be ok in isohdpfd.bin. The main suspect for the failure of the attempt with isohdpfd.bin is the number or content of the blocks read after the first one. But i have no clue why isohdpfc.bin should do better than isohdpfd.bin. They differ just by one instruction (JC = 0x72 versus JMP = 0xEB) which both are performed before the reading and
2017 Mar 24
2
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...has: ; The following values will have been pushed onto the ; entry stack: ; - partition offset (qword) ; - ES ; - DI ; - DX (including drive number) ; - CBIOS Heads ; - CBIOS Sectors ; - EBIOS flag ; (top of stack) _start_hybrid: pop cx ; EBIOS flag pop word [cs:bsSecPerTrack] pop word [cs:bsHeads] pop dx pop di pop es Shouldn't the sequence of pop word [cs:bsSecPerTrack] pop word [cs:bsHeads] be the reverse sequence of pushw %cx /* -16: Save sectors on the stack */ pushw %ax /* -18...
2015 Jul 13
2
boot... round 2
...>> With the above, I see the caret. >> >> The call to this function in ISOLINUX is in core/isolinux.asm:1163 >> >> .common: >> mov ecx,[Hidden] >> mov ebx,[Hidden+4] >> mov si,[bsHeads] >> mov di,[bsSecPerTrack] >> push ax >> mov al,'$' >> call writechr >> pop ax >> pm_call pm_fs_init >> >> >> With the above, I see the dollar sign then the caret (it also appears >> to need some indentation corrections). &...
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...partition, *path); + return 0; +} + +/* + * Set up private struct based on paramaters. + * This structure will be used later to set up a device + * to (disk x:partition y). + * + * @devno: Device number (range: 0 - (DISKS_MAX - 1)). + * @part_start: Start LBA. + * @bsHeads: Number of heads. + * @bsSecPerTrack: Sectors per track. + */ +static void *get_private(uint8_t devno, uint64_t part_start, + uint16_t bsHeads, uint16_t bsSecPerTrack) +{ + static com32sys_t regs; + static struct bios_disk_private priv; + + priv.regs = &regs; + + regs.edx.b[0] = devno; + regs.edx.b[1] = 0; // TOD...
2015 Jul 03
7
boot... round 2
On Fri, Jul 3, 2015 at 12:50 AM, poma via Syslinux <syslinux at zytor.com> wrote: > - "unsigned char c;" does not solve the problem > > - "c >= 0 && c <= ' '" solves the problem for the current git Could you try the following patch? Feel free to only apply the change to readconfig.c if you want. -- -Gene diff --git
2015 Jul 13
0
boot... round 2
...(void *)&priv); > } > > > With the above, I see the caret. > > The call to this function in ISOLINUX is in core/isolinux.asm:1163 > > .common: > mov ecx,[Hidden] > mov ebx,[Hidden+4] > mov si,[bsHeads] > mov di,[bsSecPerTrack] > push ax > mov al,'$' > call writechr > pop ax > pm_call pm_fs_init > > > With the above, I see the dollar sign then the caret (it also appears > to need some indentation corrections). > > William, the above two simp...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...+ disk = malloc(sizeof(struct disk)); + if (!disk) + return NULL; + memset(&ireg, 0, sizeof ireg); ireg.edx.b[0] = devno; @@ -319,18 +323,18 @@ struct disk *bios_disk_init(void *private) hard_max_transfer = 63; /* CBIOS parameters */ - disk.h = bsHeads; - disk.s = bsSecPerTrack; + disk->h = bsHeads; + disk->s = bsSecPerTrack; if ((int8_t)devno < 0) { /* Get hard disk geometry from BIOS */ - + ireg.eax.b[1] = 0x08; __intcall(0x13, &ireg, &oreg); - + if (!(oreg.eflags.l & EFLAGS_CF)) { - disk.h = oreg.edx.b[1] + 1;...
2015 Jul 09
1
boot... round 2
Still not working with gcc5.2 rc On Thu, Jul 9, 2015, 11:08 William Kennington <william at wkennington.com> wrote: > Trying 5.2-rc now, will report back after the test case is run. > > On Thu, Jul 9, 2015, 07:23 Adam Williamson <awilliam at redhat.com> wrote: > >> On Thu, 2015-07-09 at 06:56 +0000, William Kennington wrote: >> > Does fedora have gcc5
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not
2012 Aug 02
0
[PATCH 1/3] ALPHA: make sector size dynamic in extlinux
...} else { @@ -284,7 +298,7 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd) } set_32(&sbs->bsHugeSectors, totalsectors); - set_16(&sbs->bsBytesPerSec, SECTOR_SIZE); + set_16(&sbs->bsBytesPerSec, sector_size); set_16(&sbs->bsSecPerTrack, geo.sectors); set_16(&sbs->bsHeads, geo.heads); set_32(&sbs->bsHiddenSecs, geo.start); @@ -292,11 +306,11 @@ static int patch_file_and_bootblock(int fd, const char *dir, int devfd) /* Construct the boot file map */ dprintf("directory inode = %lu\n", (u...
2014 Dec 24
14
[PATCH 0/8] extlinux: support unmounted ext2/3/4 filesystem
Hello syslinux, Merry Christmas! These patches will make extlinux work with umounted ext2/3/4 filesystem, for example: $ extlinux -i /dev/sdXN or $ extlinux -i file_block Also it can work with something like: $ extlinux /dev/sdXN --reset-adv or $ extlinux file_block --reset-adv We don't use a new option (I planed to use "-d" but it is already in use), it will check whether the
2015 Jan 02
13
[PATCH 0/9] linux/syslinux: support ext2/3/4 device
Hello, Happy New Year! These patches make syslinux/linux support ext2/3/4, and it doesn't require the root privilege, I'd like to add a separate e2fs/syslinux, if that is more appropriate, it should be easy to do that. I put these patches on github so that you can easily get them in case you'd like to test them. (The repo's name is sys_tmp, which avoids confusing others, I will
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.
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address