Displaying 20 results from an estimated 21 matches for "fs_init".
Did you mean:
xs_init
2015 Oct 07
2
Hyper-V Gen 2 waiting for ldlinux.e64
...n disable the tsize option (as it appears it
> may be causing the UEFI to hang)?
>
--- a/efi/main.c
+++ b/efi/main.c
@@ -1371,7 +1371,9 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
*/
efi_setcwd(DevicePathToStr(info->FilePath));
+ Print(L"fs_init start\n");
fs_init(ops, (void *)&priv);
+ Print(L"fs_init done.\n");
/*
* There may be pending user input that wasn't processed by
@@ -1383,8 +1385,10 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
status = u...
2015 Oct 08
0
{syslinux} Hyper-V Gen 2 waiting for ldlinux.e64
...ears it may be causing the UEFI to hang)?
> >
> --- a/efi/main.c
> +++ b/efi/main.c
> @@ -1371,7 +1371,9 @@ EFI_STATUS efi_main(EFI_HANDLE image,
> EFI_SYSTEM_TABLE *table)
> */
> efi_setcwd(DevicePathToStr(info->FilePath));
>
> + Print(L"fs_init start\n");
> fs_init(ops, (void *)&priv);
> + Print(L"fs_init done.\n");
>
> /*
> * There may be pending user input that wasn't processed by @@ -
> 1383,8 +1385,10 @@ EFI_STATUS efi_main(EFI_HANDLE image,
> EFI_SYSTEM_TABLE...
2015 Oct 09
0
load_env32 WAS: Hyper-V Gen 2 waiting for ldlinux.e64
...> > may be causing the UEFI to hang)?
> >
> --- a/efi/main.c
> +++ b/efi/main.c
> @@ -1371,7 +1371,9 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
> */
> efi_setcwd(DevicePathToStr(info->FilePath));
>
> + Print(L"fs_init start\n");
> fs_init(ops, (void *)&priv);
> + Print(L"fs_init done.\n");
>
> /*
> * There may be pending user input that wasn't processed by
> @@ -1383,8 +1385,10 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *tab...
2015 Oct 07
3
Hyper-V Gen 2 waiting for ldlinux.e64
> On Wed, Oct 07, 2015 at 05:06:41PM -0500, Clements, James via Syslinux
> wrote:
> > > On Wed, Oct 07, 2015 at 06:01:30PM +0200, Geert Stappers via Syslinux
> wrote:
> > > is for BIOS, not for EFI. So that suggestion can be scraped.
> > >
> > > Which makes
> > > * text which is on the screen of the netbooting (virtual) machine
> > >
2015 Jul 13
2
boot... round 2
...Sun, Jul 12, 2015 at 8:58 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
>> On Thu, Jul 9, 2015 at 4:57 PM, William Kennington via Syslinux
>> <syslinux at zytor.com> wrote:
>>> Still not working with gcc5.2 rc
>>
>> core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the
>> first protected-mode code.
>>
>> void pm_fs_init(com32sys_t *regs)
>> {
>> static struct bios_disk_private priv;
>>
>> writechr('^');
>> priv.regs = regs;
>> fs_init((const struct fs_ops **)reg...
2013 Oct 18
1
[RFC/PATCH 2/3] core: MultiFS infrastructure added.
...m, ebios, sector_size, disk.sector_shift,
- part_start, disk.maxtransfer);
+ devno, cdrom, ebios, sector_size, disk->sector_shift,
+ part_start, disk->maxtransfer);
- disk.private = private;
- return &disk;
+ disk->private = private;
+ return disk;
}
void pm_fs_init(com32sys_t *regs)
diff --git a/core/fs/fs.c b/core/fs/fs.c
index 8c1feea..c1838c2 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -9,9 +9,14 @@
#include "dev.h"
#include "fs.h"
#include "cache.h"
+#include "multifs.h"
-/* The currently mounted filesystem...
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
2013 Oct 18
0
[RFC/PATCH 3/3] Wire up MultiFS support.
...LS_H
+
+#include <syslinux/partiter.h>
+#include "fs.h"
+
+struct part_node {
+ int partition;
+ struct fs_info *fs;
+ struct part_node *next;
+};
+
+struct queue_head {
+ struct part_node *first;
+ struct part_node *last;
+};
+
+/*
+ * Needs to keep ROOT_FS_OPS after fs_init()
+ * to be used by multidisk
+ */
+extern const struct fs_ops **p_ops;
+
+/*
+ * Used to initialize MultiFS support
+ */
+extern void enable_multifs(void *);
+extern void init_multifs(void);
+
+#endif /* MULTIDISK_UTILS_H */
\ No newline at end of file
diff --git a/com32/lib/syslinux/multifs_utils...
2015 Jul 13
0
boot... round 2
...I've seen.
On Sun, Jul 12, 2015 at 8:58 AM, Gene Cumm <gene.cumm at gmail.com> wrote:
> On Thu, Jul 9, 2015 at 4:57 PM, William Kennington via Syslinux
> <syslinux at zytor.com> wrote:
>> Still not working with gcc5.2 rc
>
> core/fs/diskio_bios.c:395 contains pm_fs_init() which I believe is the
> first protected-mode code.
>
> void pm_fs_init(com32sys_t *regs)
> {
> static struct bios_disk_private priv;
>
> writechr('^');
> priv.regs = regs;
> fs_init((const struct fs_ops **)regs->eax.l, (void *)&priv);
>...
2013 May 10
1
[syslinux:firmware] efi: Lookup which file system we were loaded from
On 05/10/2013 06:27 AM, syslinux-bot for Matt Fleming wrote:
>
> diff --git a/efi/main.c b/efi/main.c
> index 31f0bff..27e7f8f 100644
> --- a/efi/main.c
> +++ b/efi/main.c
> @@ -1177,13 +1177,10 @@ static void efi_setcwd(CHAR16 *dp)
>
> EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
> {
> + EFI_PXE_BASE_CODE *pxe;
> EFI_LOADED_IMAGE *info;
2013 Dec 26
0
[PATCH] core: Avoid initializing the cache more than once
....cache_size = 128*1024;
dev.cache_data = malloc(dev.cache_size);
+ dev.cache_init = 0; /* Explicitly set cache as uninitialized */
return &dev;
}
diff --git a/core/fs/fs.c b/core/fs/fs.c
index 8c1feea..d6da8a5 100644
--- a/core/fs/fs.c
+++ b/core/fs/fs.c
@@ -422,8 +422,9 @@ void fs_init(const struct fs_ops **ops, void *priv)
}
this_fs = &fs;
- /* initialize the cache */
- if (fs.fs_dev && fs.fs_dev->cache_data)
+ /* initialize the cache only if it wasn't already initialized
+ * by the fs driver */
+ if (fs.fs_dev && fs.fs_dev-...
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
2013 Mar 02
0
[GIT-PULL] ext4 inline data support
...int cache_get_file(struct inode *inode, void *buf, size_t bytes)
return 0;
}
-
+
static int ext2_readlink(struct inode *inode, char *buf)
{
struct fs_info *fs = inode->fs;
@@ -326,7 +348,7 @@ const struct fs_ops ext2_fs_ops = {
.fs_flags = FS_THISIND | FS_USEMEM,
.fs_init = ext2_fs_init,
.searchdir = NULL,
- .getfssec = generic_getfssec,
+ .getfssec = ext2_getfssec,
.close_file = generic_close_file,
.mangle_name = generic_mangle_name,
.load_config = generic_load_config,
diff --git a/core/fs/ext2/ext2_fs.h b/core/f...
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...at.c
index d7346ae..a718586 100644
--- a/core/fs/fat/fat.c
+++ b/core/fs/fat/fat.c
@@ -1,5 +1,6 @@
#include <dprintf.h>
#include <stdio.h>
+#include <ctype.h>
#include <string.h>
#include <sys/dirent.h>
#include <cache.h>
@@ -777,6 +778,12 @@ static int vfat_fs_init(struct fs_info *fs)
}
sbi->clusters = clusters;
+ /* fs UUID - serial number */
+ if (FAT32 == sbi->fat_type)
+ sbi->uuid = fat.fat32.num_serial;
+ else
+ sbi->uuid = fat.fat12_16.num_serial;
+
/* Initialize the cache */
cache_init(fs->fs_dev, fs->bl...
2014 May 29
0
[PATCH 2/2] core/fs: Add support for Unix File system 1/2.
...> sb->c_blk_frag_shift;
+ sbi->off_inode_tbl = sb->off_inode_tbl >> sb->c_blk_frag_shift;
+ sbi->c_blk_frag_shift = sb->c_blk_frag_shift;
+ sbi->fs_type = ufs_type;
+
+ return sbi;
+}
+
+/*
+ * Init the fs metadata and return block size
+ */
+static int ufs_fs_init(struct fs_info *fs)
+{
+ struct disk *disk = fs->fs_dev->disk;
+ struct ufs_super_block sb;
+ struct cache *cs;
+
+ int ufs_type = ufs_checksb(&sb, disk);
+ if (ufs_type == NONE)
+ return -1;
+
+ ufs_debug("%s SB FOUND!\n", ufs_type == UFS1 ? "UFS1" :...
2013 Jul 12
1
[PATCH 001/001] core/fs: Add support to Unix File system 1/2.
...> sb->c_blk_frag_shift;
+ sbi->off_inode_tbl = sb->off_inode_tbl >> sb->c_blk_frag_shift;
+ sbi->c_blk_frag_shift = sb->c_blk_frag_shift;
+ sbi->fs_type = ufs_type;
+
+ return sbi;
+}
+
+/*
+ * Init the fs metadata and return block size
+ */
+static int ufs_fs_init(struct fs_info *fs)
+{
+ struct disk *disk = fs->fs_dev->disk;
+ struct ufs_super_block sb;
+ struct cache *cs;
+
+ int ufs_type = ufs_checksb(&sb, disk);
+ if (ufs_type == NONE)
+ return -1;
+
+ ufs_debug("%s SB FOUND!\n", ufs_type == UFS1 ? "UFS1" :...
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
2014 May 29
3
[PATCH 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Wrote the documentation below. I think it would be good to push the doc to
the wiki as soon as the UFS support gets merged.
Unix Fast File System (UFS/FFS) 1/2 on Syslinux - (usage/install)
-----
There is a confusion about the name of this file system, then I decided to
contact the author who replied:
"The name has always been
2014 May 29
3
[PATCH v2 0/2] UFS1/2 support series
From: Raphael S. Carvalho <raphael.scarv at gmail.com>
Change since v1:
* Fix bug on dentry structure (thank you specification; btw, sarcasm), and
consequently a bug on ufs_readdir.
* Add readlink support (applied tests for symlinks whose destionation path
were stored in blk pointers and the file itself).
* Several improvements.
Wrote the documentation below. I think it would be good to