Displaying 20 results from an estimated 74 matches for "devicename".
2007 Jul 24
1
Custom kinit to find device by "label"
...adBytes: TsSize;
DeviceFound: boolean;
dev_minor: dev_t;
begin
Result := False;
SetLength(ActualFSLabel, Length(RootFSLabel));
//loop through all devices that might have our root filesystem sda2 to sdp2
dev_minor := 2;
while dev_minor < 243 do begin // last one is 242
if mknod(DEVICENAME, DEV_MODE, (DEV_MAJOR shl 8) or dev_minor) = 0 then
begin
WriteLn('Created device node "', DEVICENAME, '". dev_minor = ',
dev_minor);
end
else begin
WriteError('mknod with dev_minor: ' + IntToStr(dev_minor));
EXIT; //exit w/ error...
2020 Oct 27
1
Bug in Dial() string processing
Hi.
I've discovered a bug in the Dial() string processing (for Asterisk 13.14.1 at
least).
According to the documentation in channels/chan_sip.c the Dial() string syntax
is:
* SIP/devicename
* or SIP/username at domain (SIP uri)
* or SIP/username[:password[:md5secret[:authname[:transport]]]]@host[:port]
* or SIP/devicename/extension
* or SIP/devicename/extension/IPorHost
* or SIP/username at domain//IPorHost
*
* and there is an optional [!dnid] argument you can append to alter t...
2007 Mar 19
1
winecfg problem
...t
accessible.
Warning: the specified System directory L"c:\\windows\\system32" is not
accessible.
Warning: could not find DOS drive for current working directory '/',
starting in the Windows directory.
/* Setting up Drives here: */
err:winecfg:apply_drive_changes unable to define devicename of 'C:',
targetpath of '/'
err:winecfg:apply_drive_changes unable to define devicename of 'D:',
targetpath of '/home'
err:winecfg:apply_drive_changes unable to define devicename of 'E:',
targetpath of '/windows/C'
err:winecfg:apply_drive_changes unabl...
2008 Nov 10
1
Console and disk-devicenames in DomU on Lenny?
Hi,
I've tried to setup a new DomU on Lenny and I'm a little bit confused on
which device names I should use for disks and console in the various
DomU-kernels?
Is it correct that:
2.6.18-xen-kernel from Etch
start with no "extra"
tty1 in /etc/inittab
/dev/sd for disks
2.6.26-xen-kernel from Lenny:
start with no "extra"
hvc0 in /etc/inittab
/dev/xvd for disks
2012 Jun 10
3
SNMP agent for NUT
...e current output that I get from a snmpwalk
is like this (for 6 devices):
NUT-MIB::deviceIndex.1 = INTEGER: 1
NUT-MIB::deviceIndex.2 = INTEGER: 2
NUT-MIB::deviceIndex.3 = INTEGER: 3
NUT-MIB::deviceIndex.4 = INTEGER: 4
NUT-MIB::deviceIndex.5 = INTEGER: 5
NUT-MIB::deviceIndex.6 = INTEGER: 6
NUT-MIB::deviceName.1 = STRING: ups2
NUT-MIB::deviceName.2 = STRING: xxx
NUT-MIB::deviceName.3 = STRING: upsoutlet
NUT-MIB::deviceName.4 = STRING: ups3p1
NUT-MIB::deviceName.5 = STRING: ups3p2
NUT-MIB::deviceName.6 = STRING: ups3
NUT-MIB::deviceDesc.1 = STRING: UPS2 10 KVA Lacerda Titan Black
tri-mono 10KVA (220v) Ser...
2012 Jun 10
3
SNMP agent for NUT
...e current output that I get from a snmpwalk
is like this (for 6 devices):
NUT-MIB::deviceIndex.1 = INTEGER: 1
NUT-MIB::deviceIndex.2 = INTEGER: 2
NUT-MIB::deviceIndex.3 = INTEGER: 3
NUT-MIB::deviceIndex.4 = INTEGER: 4
NUT-MIB::deviceIndex.5 = INTEGER: 5
NUT-MIB::deviceIndex.6 = INTEGER: 6
NUT-MIB::deviceName.1 = STRING: ups2
NUT-MIB::deviceName.2 = STRING: xxx
NUT-MIB::deviceName.3 = STRING: upsoutlet
NUT-MIB::deviceName.4 = STRING: ups3p1
NUT-MIB::deviceName.5 = STRING: ups3p2
NUT-MIB::deviceName.6 = STRING: ups3
NUT-MIB::deviceDesc.1 = STRING: UPS2 10 KVA Lacerda Titan Black
tri-mono 10KVA (220v) Ser...
2012 Jul 09
6
3.5.0-rc6: btrfs and LVM snapshots -> wrong devicename in /proc/mounts
Hi,
using btrfs with LVM snapshots seems to be confusing /proc/mounts
After mounting a snapshot of an original filesystem, the devicename of the
original filesystem is overwritten with that of the snapshot in /proc/mounts.
Steps to reproduce:
arnd@kallisto:/mnt$ sudo mount /dev/vg0/original /mnt/original
[ 107.041432] device fsid 5c3e8ca2-da56-4ade-9fef-103a6a8a70c2 devid 1 transid 4 /dev/mapper/vg0-original
[ 107.044691] btrfs:...
2011 Aug 08
1
virt-manager - how to add /dev/mapper as a storage pool
Hi,
I would like to be able to configure VMs running off dm-crypt devices
that were unlocked in the host. Unlocked dm-crypt devices show up in
/dev/mapper/devicename, with devicename being the second parameter
given to cryptsetup luksOpen.
The LVM storage pool type insists on searching in /dev/vgname and
cannot be tricked into reading /dev/mapper by giving it a fake VG
named mapper; the LVM storage pool type "dir" mishandles
/dev/mapper/control (&quo...
2012 Sep 20
1
[PATCH] rename local variable to avoid clash with match macro
...mdadm_app_free);
if (!*map) g->abort_cb();
- for (char **match = matches; *match != NULL; match++) {
+ for (char **_match = matches; *_match != NULL; _match++) {
/* Get device name and uuid for each array */
- char *dev_path = safe_asprintf(g, "%s/devicename", *match);
+ char *dev_path = safe_asprintf(g, "%s/devicename", *_match);
char *dev = guestfs_aug_get(g, dev_path);
free(dev_path);
if (!dev) goto error;
- char *uuid_path = safe_asprintf(g, "%s/uuid", *match);
+ char *uuid_path = safe_asprintf(g,...
2020 Oct 25
2
chan_sip doesn't authenticate on INVITE from a Dial() command
....
I'm trying to get Asterisk 13 to authenticate when it sends an INVITE, and for
some reason it's simply not doing it.
I've even resorted to reading the source code to try and work out what I'm
doing wrong...
In channels/chan_sip.c I find:
* SIP Dial string syntax:
* SIP/devicename
* or SIP/username at domain (SIP uri)
* or SIP/username[:password[:md5secret[:authname[:transport]]]]@host[:port]
* or SIP/devicename/extension
* or SIP/devicename/extension/IPorHost
* or SIP/username at domain//IPorHost
* and there is an optional [!dnid] argument you can append to alter the...
2006 Nov 29
2
External Devices
...disk array and want to monitor its UPS(s) in order to shutdown yourself
before the disk dies and you lose data. There may be other devices as well
that would cause you to want to shutdown before they lose power.
To this end I have added the EXTMON and EXTMINSUPPLIES directives to nut.
EXTMON <devicename> <ups> <power> <username> <password>
EXTMINSUPPLIES <devicename> <value>
This allows you to say which UPSs supply my disk array and how many supplies
it needs.
I have successfully tested these changes both in nut (on Ubuntu Dapper) and in
the WinNut client...
2020 Oct 25
0
chan_sip doesn't authenticate on INVITE from a Dial() command
...an now get it to authenticate, although it's
still not dialling on to the correct number.
> I've even resorted to reading the source code to try and work out what I'm
> doing wrong...
>
> In channels/chan_sip.c I find:
>
> * SIP Dial string syntax:
> * SIP/devicename
> * or SIP/username at domain (SIP uri)
> * or
> SIP/username[:password[:md5secret[:authname[:transport]]]]@host[:port] *
> or SIP/devicename/extension
> * or SIP/devicename/extension/IPorHost
> * or SIP/username at domain//IPorHost
> * and there is an optional [!dnid] arg...
2010 Jan 29
0
New feature: Asterisk Manager Interface commands for DeviceState
...d all
devicestates from AMI.
It would be very nice if someone could help me test this feature, and report
back to the issue tracker.
To test, log into AMI as usual, and then issue something like the following
(please also test to Get device state from real devices too):
--
Action: DeviceStateSet
DeviceName: Custom:lamp1
DeviceState: INUSE
--
Which should yield:
--
Response: Success
Message: Success
--
Then you can check the state by doing:
--
Action: DeviceStateGet
DeviceName: Custom:lamp1
--
And you should receive the following:
--
Response: Success
Message: Result will follow
Event: DeviceS...
2006 Mar 28
3
winecfg not creating ~/.wine/config file
...My Video"'.
err:shell:SHGetFolderPathW Failed to create directory
'L"c:\\windows\\profiles\\flo\\Desktop"'.
err:shell:SHGetFolderPathW Failed to create directory
'L"c:\\windows\\profiles\\flo\\Desktop"'.
err:winecfg:apply_drive_changes unable to define devicename of 'C:',
targetpath of '../drive_c'
err:winecfg:apply_drive_changes unable to define devicename of 'D:',
targetpath of '/'
err:shell:SHGetFolderPathW Failed to create directory
'L"c:\\windows\\profiles\\flo\\Desktop"'.
err:shell:SHGetFolderPathW F...
2020 Sep 26
1
Using CentOS 7 to attempt recovery of failed disk
Well, I'm not a noted expert on ddrescue, but my limited experience tells
me that when it hits bad spots (or a big cluster of them) it can go very
slowly as it tries multiple times to read each sector (or track, I'm not
sure which, in this case). It keeps a list of bad spots and goes back at
the end to try again to read something from them. Of course, if you've had,
eg. a head crash,
2011 Apr 01
2
Can gtalk.conf work with multiple GoogleVoice numbers?
Hello. I would like to configure Asterisk to accept incoming calls from two
different GoogleVoice numbers via gtalk and jabber. I'm running Asterisk
1.8.3.2 and I can get one number working just fine. However, I can't figure
out how to modify the gtalk.conf file shown on the Asterisk wiki site to
work with two different jabber profiles. Do all incoming GoogleVoice calls
have to go
2024 Jan 10
1
no video with Aspeed (ast module) and latest kernel
Hello,
I have a CentOS Stream 9 server.
It is an Intel D50DNP1SBB one with:
02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics
Family (rev 52) (prog-if 00 [VGA controller])
DeviceName: ASPEED AST2600
Subsystem: ASPEED Technology, Inc. ASPEED Graphics Family
Flags: medium devsel, IRQ 16, NUMA node 0, IOMMU group 42
Memory at 94000000 (32-bit, non-prefetchable) [size=16M]
Memory at 95000000 (32-bit, non-prefetchable) [size=256K]
I/O ports at...
2009 Feb 05
1
udev by-id symlinks randomly missing for tape drives on centos5
...; I can see all of the devices listed there.
IBM 'itdt' tape drive / tapelibrary diagnostic tool works OK too, and
always shows all the devices.
I don't have any errors in the dmesg/syslog, and the devices work OK if I use
/dev/nst* (tape drives) or /dev/sg* (mediumchanger/tapelibrary) devicenames to access them.
I'd like to be able to use /dev/tape/by-id/<foo> symlinks to make sure correct devices are accesssed.
The server in question is running CentOS 5.2 x86_64 (with latest updates installed).
Any thoughts?
-- Pasi
2010 May 14
3
Replacement patch...
This one incorporates feedback from mburns and apevec to ensure
that all multipath devices are excluded in the list of available
drives.
Only drives with an identified bus are included in the list now.
2011 May 05
2
AW: debian Lenny -> Squeeze domU mdX software raidmigration - failed to assemble arrays
...i 07:38 e8b97b59-a790-417c-8231-fe8da8b6e6ee -> ../../sda1
In /etc/fstab inside the domU, '/dev/sda2' would be replaced by 'UUID=39a2a64b-0716-47ad-92f4-a7437cac54ee' and '/dev/sda1' by 'UUID=e8b97b59-a790-417c-8231-fe8da8b6e6ee'
If pvgrub or pygrub is used, the devicename needs to be replaced inside the domU in /boot/grub/menu.lst from e.g. 'root=/dev/sda2' to 'root=UUID=39a2a64b-0716-47ad-92f4-a7437cac54ee'
If, like in your case, the domU kernel is directly booted by a cfg statement, the root statement needs to be changed in the cfg file by using t...