04-10-2005
Thanks
Thanks. I used fixmbr in recovery mode using Windows XP instead. That worked.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
for some reason I cannot read / write my windows xp partitions.
I have Suse Linux 7.0.
Can someone tell me how I can ????
thnx,
Dennis (2 Replies)
Discussion started by: dvvelzen
2 Replies
2. UNIX for Dummies Questions & Answers
I run a dual boot WinXP/Red Hat 8 system on my laptop. Since my hard drive is inherently small(laptop) I am trying to creat a swap partition for keeping mutually used files such as music/video etc... I have created a 2.5GB Fat32 partition with Partition Magic Pro and have windows recognizing the... (2 Replies)
Discussion started by: djtrippin
2 Replies
3. UNIX for Advanced & Expert Users
Dear All
I tried to follow the instruction in this link:
http://multiboot.solaris-x86.org/v/2.html
I created all these partitions as mentioned in the link above by using partition commander 9
Fist stage:
I installed XP in first partition (hda1)....success.
Second stage:
Install... (0 Replies)
Discussion started by: zillah
0 Replies
4. Linux
in between work somehow i deleted the linux partition from windows. now i am booting up in the grub mode. and it doesnt even accept the cd drive also that too in a notebook. i went to bios and changed my order of booting to cd->rom and then hdd.. but it directly goes to the grub command line when i... (2 Replies)
Discussion started by: rejoy_stud
2 Replies
5. UNIX for Dummies Questions & Answers
Can I run unix in the same partition with windows xp? Because I have one for now.. Thank you for answers. (2 Replies)
Discussion started by: olddays
2 Replies
6. Red Hat
Dear all
i hav dual operating system ie windows 2003 and Red Hat Advance Server3
trying to mount windows partition on linux operating system using the following method
1)mkdir /mnt/windows
2)mount -t ntfs /dev/hda1 /mnt/windows
mount: fs type ntf not supported by kernel
and my kernel... (2 Replies)
Discussion started by: maooah
2 Replies
7. SuSE
Hi everyone
i was able to mount windows partition in open suse 10.3 and was able to view all contents of windows but unable to create any content in that one.
Can it be done or not? (0 Replies)
Discussion started by: ganapathy.psgit
0 Replies
8. Filesystems, Disks and Memory
Hi!
I have a really big problem right now. I (accidently) formatted a ext3 partition with "mkfs.ext3 /dev/sda1". The problem is that I REALLY need some files from there. The partition had a size of about 4GB, after accidently formatting it, I accidently rewrote Grub on it :wall: I hope I didn't... (3 Replies)
Discussion started by: al0x
3 Replies
9. Red Hat
Hello All,
I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows,
/boot - Linux Partition & another is
LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc).
Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies
10. Windows & DOS: Issues & Discussions
I have a 1TB HD, suspect it had bad sectors and blocks...
it was pre-installed with windows 8.0..
I was able to boot up ubuntu and looked at the partitions and run a badblocks comand to verify secotors, after getting a serious of Input and Output errors mounting the partition and doing any... (2 Replies)
Discussion started by: ppchu99
2 Replies
LEARN ABOUT DEBIAN
modbus_set_error_recovery
MODBUS_SET_ERROR_REC(3) Libmodbus Manual MODBUS_SET_ERROR_REC(3)
NAME
modbus_set_error_recovery - set the error recovery mode
SYNOPSIS
int modbus_set_error_recovery(modbus_t *ctx, modbus_error_recovery_mode error_recovery);
DESCRIPTION
The modbus_set_error_recovery() function shall set the error recovery mode to apply when the connection fails or the byte received is not
expected. The argument error_recovery may be bitwise-or'ed with zero or more of the following constants.
By default there is no error recovery (MODBUS_ERROR_RECOVERY_NONE) so the application is responsible for controlling the error values
returned by libmodbus functions and for handling them if necessary.
When MODBUS_ERROR_RECOVERY_LINK is set, the library will attempt an immediate reconnection (which may hang for several seconds if the
network to the remote target unit is down). This mode will try a infinite close/connect loop until success on send call and will just try
one time to retablish the connection on select/read calls (if the connecton was down, the values to read are certainly not available
anymore after reconnection, except for slave/server). This mode will also run flush requests after a delay based on the current response
timeout in some situations (eg. timeout of select call).
When MODBUS_ERROR_RECOVERY_PROTOCOL is set, a sleep and flush sequence will be used to cleanup the ongoing communication, this can occurs
when the message length is invalid, the TID is wrong or the received function code is not the expected one.
The modes are mask values and so they are complementary.
It's not recommended to enable error recovery for slave/server.
RETURN VALUE
The modbus_set_error_recovery() function shall return 0 if successful. Otherwise it shall return -1 and set errno to one of the values
defined below.
ERRORS
EINVAL
The value of the argument error_recovery is not positive.
EXAMPLE
modbus_set_error_recovery(ctx,
MODBUS_ERROR_RECOVERY_LINK |
MODBUS_ERROR_RECOVERY_PROTOCOL);
AUTHORS
The libmodbus documentation was written by Stephane Raimbault <stephane.raimbault@gmail.com[1]>
NOTES
1. stephane.raimbault@gmail.com
mailto:stephane.raimbault@gmail.com
libmodbus 3.0.3 05/26/2012 MODBUS_SET_ERROR_REC(3)