search for: devpath

Displaying 20 results from an estimated 73 matches for "devpath".

Did you mean: dev_path
2013 Aug 29
2
Re: [PATCH V1 17/29] xen/arm: Mark each device used by Xen as disabled in DOM0 FDT
...speficic options (see in each UART driver) > */ > static char __initdata opt_dtuart[30] = ""; > @@ -38,7 +39,7 @@ void __init dt_uart_init(void) > { > struct dt_device_node *dev; > int ret; > - const char *devalias = opt_dtuart; > + const char *devpath = opt_dtuart; > char *options; > > if ( !console_has("dtuart") || !strcmp(opt_dtuart, "") ) > @@ -53,12 +54,15 @@ void __init dt_uart_init(void) > else > options = ""; > > - early_printk("Looking for UART cons...
2001 Oct 13
3
ttyS0 access
Until last week my wine runs a Microcontroler Programmer under serial port very well, But in this week have problems to work wine for serial ports on my new Mandrake 8.1. Well, in Mdk 8.1 there is no ttyS0 devices but links to /dev/tts/0 and /dev/tts/1 I realy don't remember how was until last week, but I think about users and perms to devices. I try to chmod a+rw for /dev/tts/0 and tts/1
2016 Jun 14
2
Getting HTTP path-prefix to work with syslinux.efi
...bizarrely essentially empty: Dell OptiPlex 990 A19 (EFI 2.0 Revision 4.632 American Megatrends): Shell> dh -p Net Handle dump by protocol 'Net' Dell OptiPlex 9010 A22 (EFI 2.31 Revision 4.653 American Megatrends): Shell> dh -p Net Handle dump by protocol 'Net' 326: DevPath (..9,0x0)/MAC(xxxxxxxxxxxx,0x0))Net MNPSb ARPSb DHCPv4Sb IPv4Sb IPv4Config UDPv4Sb MTFTPv4Sb HiiConfAccess 341: DevPath (..HCP,0.0.0.0,0.0.0.0,0.0.0.0))Load Net Pxebc 349: DevPath (..00:0000:0000:0000:0000:0000))Load Net Pxebc Dell OptiPlex 9020 A16 (EFI 2.31 Revision 4.653 American Megat...
2016 Jun 15
0
Getting HTTP path-prefix to work with syslinux.efi
...9 (EFI 2.0 Revision 4.632 American Megatrends): > > Shell> dh -p Net > Handle dump by protocol 'Net' > > > > Dell OptiPlex 9010 A22 (EFI 2.31 Revision 4.653 American Megatrends): > > Shell> dh -p Net > Handle dump by protocol 'Net' > > 326: DevPath (..9,0x0)/MAC(xxxxxxxxxxxx,0x0))Net MNPSb ARPSb DHCPv4Sb > IPv4Sb IPv4Config UDPv4Sb MTFTPv4Sb HiiConfAccess > > 341: DevPath (..HCP,0.0.0.0,0.0.0.0,0.0.0.0))Load Net Pxebc > > 349: DevPath (..00:0000:0000:0000:0000:0000))Load Net Pxebc > > > > Dell OptiPlex 9020 A16 (E...
2020 Feb 03
4
USB devices with same vendor:product id
Hi, We have a VM with several USB devices attached. Everything works well, but sometimes, after a reboot of the host, some usb device get a different bus/device number and that prevent the reboot of the VM : ------- error: Failed to start domain xxx error: internal error: Did not find USB device 04b9:0300 bus:1 device:5 ------- I guess this is because we have multiple usb devices with the same
2013 Feb 07
1
[PATCH] New API: is_whole_device
...@@ -245,6 +245,33 @@ do_part_to_partnum (const char *part) } int +do_is_whole_device (const char *device) +{ + #define PREFIX "/dev/" + + /* Shouldn't be possible because we already sanity checked our input */ + if (!STRPREFIX (device, PREFIX)) return 0; + + CLEANUP_FREE char *devpath = NULL; + if (asprintf (&devpath, "/sys/block/%s/device", + device + strlen (PREFIX)) == -1) + { + reply_with_perror ("asprintf"); + return -1; + } + + struct stat statbuf; + if (stat (devpath, &statbuf) == -1) { + if (errno == ENOENT || errn...
2015 Jul 02
2
EFI: PXE: "My IP is 0.0.0.0"
...a NIC device are installed together on the NIC's device handle, so you can get all of them when you have chosen a special NIC handle."" Unfortunately there are PCs with UEFI implementations not following the former rule. i.e. HP Elitebook 2570p (single NIC) shell> dh ... 172: DevPath (..9,0x0)/MAC(FC15B4E81CAC,0x0))Net MNPSb ARPSb DHCPv4Sb TCPv4Sb IPv4Sb IPv4Config UDPv4Sb MTFTPv4Sb ... 184: DevPath (..00:0000:0000:0000:0000:0000))Load Net Pxebc ... 19D: DevPath (..v4(0.0.0.0,UDP,DHCP,0.0.0.0))Load Net Pxebc ... shell> dh 172 Handle 172 (730D8A98) Dpath (730D8E98)...
2020 Feb 03
0
Re: USB devices with same vendor:product id
...ange, and udev supports globbing. Here's my udev rules. Note I've left in the non-globbed old rules, so that you can see how a typical bus distribution can look in my OS under /sys/devices. /etc/udev/rules.d/99-libvirt-wireless-dongles.rules: # This doesn't work for removal since ATTR{devpath} isn't available at # that point. #SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="148f", ENV{ID_MODEL_ID}=="5370", ATTR{busnum}=="8", ATTR{devpath}=="6", RUN+="/usr/local/bin/usb-libvirt-hotplug.sh gromit" SUBSYSTEM=="usb", ENV{ID_VE...
2016 Jun 13
2
Getting HTTP path-prefix to work with syslinux.efi
> > Is syslinux.efi supposed to be able to handle HTTP URLs? > > If the underlying firmware can. Try just specifying an HTTP URL in the > config or on the command line instead of the path-prefix option. Doesn't work. Apparently the Dell UEFI PXE firmware doesn't know HTTP. Somehow I was under the impression improvements from pxelinux variants like lpxelinux were
2005 Dec 06
1
RE: Hotplug scripts not working... xen/ia64 domU stoppedworking
...esent > Could you try udevmonitor --env and we''ll see if there''s > anything odd in the environment that might be doing this. Here is the output of ''udevmonitor --env'' during the create: UEVENT[1133883393] add@/devices/xen-backend/vbd-6-2049 ACTION=add DEVPATH=/devices/xen-backend/vbd-6-2049 SUBSYSTEM=xen-backend SEQNUM=1205 PHYSDEVBUS=xen-backend XENBUS_TYPE=vbd XENBUS_PATH=backend/vbd/6/2049 XENBUS_BASE_PATH=backend/vbd XENBUS_FRONTEND_ID=6 UEVENT[1133883393] add@/devices/xen-backend/vif-6-0 ACTION=add DEVPATH=/devices/xen-backend/vif-6-0 SUBSYSTEM=xe...
2019 Jan 23
0
[PATCH v2] fix build failure when CONFIG_KLIBC_ZLIB is not set
...ifdef mess. usr/kinit/ramdisk_load.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_load.c index 2b3503ad..f43339c8 100644 --- a/usr/kinit/ramdisk_load.c +++ b/usr/kinit/ramdisk_load.c @@ -46,6 +46,7 @@ static int change_disk(const char *devpath, int rfd, int disk) return open(devpath, O_RDONLY); } +#ifdef CONFIG_KLIBC_ZLIB /* Also used in initrd.c */ int load_ramdisk_compressed(const char *devpath, FILE * wfd, off_t ramdisk_start) @@ -133,6 +134,14 @@ err2: err1: return -1; } +#else +int load_ramdisk_compressed(const ch...
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
...org.uk> --- usr/kinit/ramdisk_load.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr/kinit/ramdisk_load.c b/usr/kinit/ramdisk_load.c index 2b3503a..f43339c 100644 --- a/usr/kinit/ramdisk_load.c +++ b/usr/kinit/ramdisk_load.c @@ -46,6 +46,7 @@ static int change_disk(const char *devpath, int rfd, int disk) return open(devpath, O_RDONLY); } +#ifdef CONFIG_KLIBC_ZLIB /* Also used in initrd.c */ int load_ramdisk_compressed(const char *devpath, FILE * wfd, off_t ramdisk_start) @@ -133,6 +134,14 @@ err2: err1: return -1; } +#else +int load_ramdisk_compressed(const ch...
2009 Nov 13
1
Xorcom Astribank udev issue in Ubuntu 9.10
...oaded: udevd[452]: reading '/etc/udev/rules.d/40-xpp.rules' as rules file However, these rules do not seem to be triggered: # udevadm trigger --attr-match=idVendor=e4e4 --action add UDEV [1258155881.753357] add /devices/pci0000:00/0000:00:1a.7/usb1/1-1 (usb) UDEV_LOG=7 ACTION=add DEVPATH=/devices/pci0000:00/0000:00:1a.7/usb1/1-1 SUBSYSTEM=usb DEVNAME=/dev/bus/usb/001/009 DEVTYPE=usb_device DRIVER=usb DEVICE=/proc/bus/usb/001/009 PRODUCT=e4e4/1141/ffff TYPE=0/0/0 BUSNUM=001 DEVNUM=009 SEQNUM=1516 ID_VENDOR=Xorcom_LTD ID_VENDOR_ENC=Xorcom\x20LTD ID_VENDOR_ID=e4e4 ID_MODEL=Astribank I...
2013 May 15
8
[Bug 64645] New: Massive corruption
...ed) [ 1141.679] (II) Open ACPI successful (/var/run/acpid.socket) [ 1142.691] (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused) [ 1143.691] (II) Open ACPI successful (/var/run/acpid.socket) udev information: ----------------- P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1 E: EV=3 E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_PATH=acpi-LNXPWRBN:00 E: ID_PATH_TAG=acpi-LNXPWRBN_00 E: KEY=10000000000000 0 E: MODALIAS=input:b0019v0000p0001e0000-e0,1,k74,ramlsfw E: NAME="Power Button" E: PHYS="LNXPWRBN/button/input0&quo...
2012 Feb 06
8
Cdrom on Linux domU PV
I tried to use cdrom in domU linux pv (Linux Mint 11 based on Natty). With ''/mnt/vm/iso/test.iso,raw,xvdb,ro,cdrom'', Mint sees it as internal disk (not cdrom) and only administrators can mount it. I tried also ''/dev/scd0,raw,xvdb,ro,cdrom'' does the same thing. Is possible use cdrom on linux domU pv full working where also normal user can mount it without
2010 Apr 29
24
[Bug 27905] New: DVI monitor is blank - DVI detected as Display Port ?
...g.conf Contents of /etc/X11/xorg.conf: Section "Device" Identifier "n" Driver "nouveau" EndSection udev information: P: /devices/platform/i8042/serio0/input/input0/event0 N: input/event0 S: char/13:64 S: input/by-path/platform-i8042-serio-0-event-kbd E: UDEV_LOG=3 E: DEVPATH=/devices/platform/i8042/serio0/input/input0/event0 E: MAJOR=13 E: MINOR=64 E: DEVNAME=/dev/input/event0 E: SUBSYSTEM=input E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_INPUT_KEYBOARD=1 E: ID_SERIAL=noserial E: ID_PATH=platform-i8042-serio-0 E: XKBMODEL=pc105 E: XKBLAYOUT=fr E: XKBVARIANT=latin9 E: XKBOPTI...
2015 Jul 03
2
EFI: PXE: "My IP is 0.0.0.0"
...ng all 3 handles, the image handle, Pxebc handle, and ServiceBinding handle.? Presumably the UDP and TCP handles _should_ be the same... -- -Gene <<< OK now it works. Everything is done within efi_create_binding(EFI_GUID *bguid, EFI_GUID *pguid) from image_DeviceHandle I get the right DevPath handle, I parse it and I get the MAC address. Next I LibLocateHandle(ByProtocol, bguid, NULL, &nr_handles, &handles) what gives me all the handles that include the Service Binding Protocol "bguid". For each of this handles I get the DevPath handle and I parse it looking for the ma...
2009 Jul 31
1
[PATCH] [memdisk] Additional EDD Device Parameter Table fields
...if implemented +.dpilen db 2ch ; DPI len +.res1 db 0 ; Reserved +.res2 db 0 ; Reserved +.bustype equ ''PCI '' ; Host bus type (4 bytes, space padded) +.inttype equ ''ATA '' ; Interface type (8 bytes, spc. padded) +.intpath dd 0, 0 ; Interface path +.devpath dd 0, 0, 0, 0 ; Device path +.res3 db 0 ; Reserved +.chksum db 0 ; DPI checksum (not implemented) =20 %endif =20 diff --git a/memdisk/setup.c b/memdisk/setup.c index 98c4b69..b8efd8a 100644 --- a/memdisk/setup.c +++ b/memdisk/setup.c @@ -80,6 +80,16 @@ struct edd_dpt { uint64_t sectors...
2019 Jan 22
1
[PATCH] fix build failure when CONFIG_KLIBC_ZLIB is not set
...mdisk_load.c +++ b/usr/kinit/ramdisk_load.c @@ -13,7 +13,9 @@ #include "kinit.h" #include "do_mounts.h" #include "fstype.h" +#ifdef CONFIG_KLIBC_ZLIB #include "zlib.h" +#endif #define BUF_SZ 65536 @@ -46,6 +48,7 @@ static int change_disk(const char *devpath, int rfd, int disk) return open(devpath, O_RDONLY); } +#ifdef CONFIG_KLIBC_ZLIB /* Also used in initrd.c */ int load_ramdisk_compressed(const char *devpath, FILE * wfd, off_t ramdisk_start) @@ -133,6 +136,7 @@ err2: err1: return -1; } +#endif static int load_ramdisk_raw(const...
2013 Mar 02
7
libxl device_disk_add orphans blktap devices on transaction error
I''m using the CentOS 6 bundle of xen from http://dev.centos.org/centos/6/xen-c6/ and ran into an issue when creating domains with multiple VHD tap disks. Comparing unstable to the 4.2.1 code I''m using, it seems this issue still applies. I''m using a configuration line that looks something like disk = [