02-16-2009
OpenBSD downgrades HDD transfer mode, I want to upgrade it WITHOUT BOOTING
Hi,
I have a crappy hard disk and am trying to back up stuff from it onto my newer hopefully less crappy disk. There are dead sectors on the disk and some files can't be read (at all) so OpenBSD downgrades the transfer mode down until PIO mode 4. I noticed the transfer speed slowing down extremely, and I would guess it's due to these downgrades, which are done when reading certain blocks continuously produces errors. But there are files on the disk that ARE READABLE and I don't want to reboot every time I end up on a trashed area on the disk, since the rest is fine and can be read in Ultra-DMA mode 5.
I looked it up a bit, and found out that apparently you can change device flags - including the transfer modes - with the config/UKC (User Kernel Config) utility, but AFAIK that is for rewriting the kernel image without recompiling. When OpenBSD downgrades the DMA modes, it's obviously doing something else, and I just need to do the reverse operation. The point being: if it can be downgraded without booting, it can be changed, and therefore upgraded without booting.
Anyone know how to upgrade from PIO4 without a reboot?
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi there,
Here I have an old HP LC3 server from a client of ours.
The server was running in Raid1 Mirror mode.
Yesterday the server didn't boot anymore and now
I have concluded that 1 drive is damaged.
I pulled it out so it can boot from the "good" one.
Unfortuanally this didn't work.
I... (3 Replies)
Discussion started by: severt
3 Replies
2. Solaris
I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode.
I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to... (9 Replies)
Discussion started by: cheetobandito
9 Replies
3. Solaris
hello gurus,
i have just installed the os on hdd,
when i write down boot command on ok prompt,
I get following error continuously.
what could be the possible problem
WARNING: /ssm@0,0/pci@18,600000/scsi@2/sd@0,0 (sd0):
auto request sense failed (reason=reset)
WARNING:... (2 Replies)
Discussion started by: sameergrover
2 Replies
4. Shell Programming and Scripting
I am having trouble viewing a file in ASCII after doing a 'get' using SFTP. It appears to have come across as machine language. Does the file have to be in ASCII format prior to the 'get' or is there a way to convert it to ascii after I get it onto my server? I have read where the secure file... (0 Replies)
Discussion started by: wsiefkas
0 Replies
5. Red Hat
Hello everyone
Had a problem booting Fedora. I installed it as a server without any desktop environment(kde, gnome) except for X. Problem is when i booting system after it loads kernel suddenly screen messes up with parts of fedora graphics(it's not clear but you can see it -... (8 Replies)
Discussion started by: dimamu15
8 Replies
6. Solaris
Hi Guys,
I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this?
Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies
7. AIX
Hi Folks,
I am facing an issue with the performance.
P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes
P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies
8. Red Hat
Hi Guys
Required help in Redhat 6.1.
After installation of Redhat 6.1 in VMware system is not going in GUI mode.
please to solve the issue...
Thanks... (5 Replies)
Discussion started by: deviltech
5 Replies
9. UNIX for Beginners Questions & Answers
The below is my script.
/usr/bin/expect<<EOD
spawn /usr/bin/sftp -o Port=$PORT $USER@$HOST
expect "sftp>"
expect "password:"
set timout 15
send "$password\r"
expect "sftp>"
send "lcd $remotedir\r"
expect "sftp>"
... (1 Reply)
Discussion started by: Anilsaggu9
1 Replies
LEARN ABOUT REDHAT
createhdf
createhdf(1) Emulators createhdf(1)
NAME
createhdf - Create a blank IDE hard disk image in .hdf format
SYNOPSIS
createhdf [ -c ] [ -s ] cylinders heads sectors file
DESCRIPTION
createhdf creates a blank image of an IDE hard disk in .hdf format for use with Sinclair ZX Spectrum emulators.
OPTIONS
-c specifies that the .hdf image should be created in `compact' mode, where only the low byte of every word is stored in the image.
This is useful for saving space if the hard disk image is for use with an interface which accesses only the low byte of every word.
-s specifies that the .hdf image should not be created as a sparse file. Normally, createhdf will attempt to create the hard disk image
as a `sparse file', where the operating system knows that the file consists mostly of zero bytes and fills those in without using
any space in the file. This option disables this. (There's nothing `magic' about this: if data is written to the file, it will take
up space just like any other data; it's only empty space which is synthesised by the operating system).
-v version
specifies the version of .hdf image to be created. Valid values are `1.0' for a version 1.0 file and `1.1' for a version 1.1 file.
Defaults to creating version 1.1 files.
cylinders
specifies the number of cylinders in the image.
heads specifies the number of heads in the image.
sectors
specifies the number of sectors in the image.
file specifies the file to which the image should be written.
BUGS
None known.
SEE ALSO
fuse(1), fuse-utils(1), libspectrum(3)
The .hdf format specification, at
http://www.ramsoft.bbk.org/hdfform.html.
The comp.sys.sinclair Spectrum FAQ, at
http://www.worldofspectrum.org/faq/index.html.
AUTHOR
Philip Kendall (philip-fuse@shadowmagic.org.uk).
Version 1.0.0 16th December, 2010 createhdf(1)