OT Electronics Help
by Will Yonker
Okay so this is way off topic but I need some help. I tried doing a
Google search but I don't know enough to get my query right.
I have several external components that I would like to come on when my
computer comes on. I would also like them to go off when my computer goes
off. Some sort of electronic switch that I could plug in to one of my
PC's spare 4 pin power plugs work work fine.
To make things a little more complicated (and Linux related) I would also
like this. I have a water cooling system with a variable voltage water
pump. It would be nice if I could simply poll lmsensors and have a
program bump up the voltage until the CPU is below a certain temperature.
Does anyone know where I should start? I don't mind wiring up something
myself as long as I know what components I should be looking at.
Thanks for the help in advance.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
15 years, 7 months
eject: unable to find or open device for: `cdrom'
by Paul Smith
Dear All,
When I try to open the DVD burner tray with the command eject, I get
the following problem:
$ eject
eject: unable to find or open device for: `cdrom'
$
Any ideas?
Thanks in advance,
Paul
15 years, 7 months
service; ps & grep help
by James Pifer
I could use a little help with ps and grep. When running a command like:
# ps -ewf | grep sendmail
root 2730 1 0 Jul14 ? 00:00:01 sendmail: accepting connections
smmsp 2739 1 0 Jul14 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
root 6500 6362 0 07:51 pts/3 00:00:00 grep sendmail
Is there any way to run this command and get these results, but exclude
the actual grep itself, which is the last line?
A little background, I have a java based application that I've used a
custom start and stop script for. Basically the stop script does:
stop() {
for pid in `ps -efww | grep myapp | grep -v grep | cut -b 10-15`;do
#echo $pid
kill -9 $pid
done
RETVAL=$?
return $RETVAL
}
This has worked for years, but for some reason it has stopped working. I
think it may be because the process is killing itself before it kills
the app?
I assume the correct way to do this is store the pid in a file that you
reference, but I haven't figured out how to do that yet.
Any help is appreciated.
Thanks,
James
15 years, 7 months
help with setting up graphics
by Beartooth
On Mon, 30 Jun 2008 21:05:38 +0100, Frank Murphy wrote:
[...]
[In a long thread, called "Hardware browser??" about ways to
configure a PC with unknown video card, so that it can use a HP w2207h
1680x1050 monitor]
> look under /var/log/Xorg.0.log
>
> it will give you a lot of info about your monitor and card.
>
> If your unsure what to look for.
>
> Start a new tread with maybe subject: help with setting up graphics/
I made that "cat /var/log/Xorg.0.log|most" and started slogging.
Other than the two lines below, I see nothing that even might be
enlightening.
===== ===== =====
(II) VESA(0): VESA VBE OEM: VIA K8M890CE
(II) <default pointer>: Setting mouse protocol to "ExplorerPS/2" (It's
actually a USB mouse, currently behind a MiniView G-CSIO4U KVM switch.)
===== ===== =====
Btw, I *run* machines behind the KVM switch; but I *install* OSs,
one machine at a time, with the machine pulled out from behind the switch
and connected directly to the peripherals.
--
Beartooth Staffwright, PhD, Neo-Redneck Linux Convert
Fedora 8 & 9; Alpine 1.10, Pan 0.132; Privoxy 3.0.6;
nine (count 'em -- nine) different browsers
Remember I know precious little of what I am talking about.
15 years, 7 months
error messages during ctorrent download
by g
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
receiving error message while downloading f8 respin.
++++
inode_doinit-with_dentry: context_to_sid(unconfined_u:object_r:file_t:s0) \
returned 22 for dev-hdb1 inode=273647
inode_doinit-with_dentry: context_to_sid(unconfined_u:object_r:file_t:s0) \
returned 22 for dev-hdb1 inode=273646
inode_doinit-with_dentry: context_to_sid(unconfined_u:object_r:file_t:s0) \
returned 22 for dev-hdb1 inode=257546
followed with last 2 digits changing of;
51,67,86,69,65,85,66,83,84,82,52,74,72,88,73,90,70,89,75,93,71,87,56,59,57,61
then;
db: dma_timer_expiry: dma status == 0x41 ide: failed opcode was uknown
++++
only part of error message google search would hit on where related to;
'context_to_sid'
can someone enlighten me as to what is happening>
- --
tc,hago.
g
.
in a free world without fences, who needs gates.
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html.gz
'The Linux Documentation Project' http://www.tldp.org/
'HowtoForge' http://howtoforge.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org
iD8DBQFIuovu+C4Bj9Rkw/wRAqDxAJ4gfWbNAWza8ExaTxfJX9yqkjvQHQCgp+/j
AhyVgXsNeyQLnfhw+LsRcUc=
=vRDI
-----END PGP SIGNATURE-----
15 years, 7 months
Bootable FC9 Disk Copy
by Nickolas Gray
I am attempting to create a bootable copy of a running SELinux box on
FC9. I think I am close but I am coming up with a kernel panic (text
at end) Here are the steps and a brief reason. If anyone has any
suggestions where I might have made a mistake or left something out a
comment would be appreciated. The only requirements so far is that it
has to be a disk to disk copy with no CD/DVD rescue involved and it
has to use LVM Snapshot.
The original looks like
mbr on boot sector
/dev/sda1 ext3 /boot
/dev/sda2 LVM
VolGroup00/LogVol00 is root
VolGroup00/LogVol01 is swap
This is what I am doing.
• This seemed like an efficient way to dup the filesystems of the
source to the target.
sfdisk -d /dev/sda | sfdisk /dev/sdb
•Duplicate the MBR
dd if=/dev/sda1 of=/dev/sdb1 bs=512k
•Copy the entire /boot from a to b
dd if=/dev/sda of=/dev/sdb bs=664 count=1
•Add the /dev/sdb2 to LVM
pvcreate /dev/sdb2
create the VolGroup for /
vgcreate -s 32m VolGroup01 /dev/sdb2
Create the logical volume for / and swap
lvcreate -l 1562 -n LogVol00 VolGroup01
lvcreate -l 62 -n LogVol01 VolGroup01
Create the swap area
mkswap /dev/VolGroup01/LogVol01
Format the / filesystem
mkfs -t ext3 /dev/VolGroup01/LogVol00
Create the snapshot
lvcreate -L 20g -s -n snap /dev/VolGroup00/LogVol00
Mount the snapshot
mount /dev/VolGroup00/snap /snapshot
Mount the target
mount /dev/VolGroup01/LogVol00 /target
Rsync over the snapshot
rsync -vXxpr /snapshot/* /target
Unmount the snapshot
umount /snapshot
lvremove -f VolGroup00/snap
At this point I fixed the initrd, the fstab and grub.conf on the
target to point to VolGroup01 instead of VolGroup00.
I would think this should be it.
What I get is.
root (hd0,0)
Filesystem type is .....
kerne /vmlinuz ......
Linux bzimage.....
initrd / initrd ....
Linux initrd
Decompresing Linux ... Done
Booting the kernel
Red Hat nash version 6,0,52 starting
Reading all physical volumes this make take awhile ....
Found volume group VolGroup01 now active
ERROR: exec of init (/sbin/init) failed failed!!!! No such file or
directory
ERROR: failed in exec of /bin/echo: No such file or directory
a couple messages about not finding /bin/sleep
Kernel Panic
I am not really sure where this is getting to. I thought it was
getting to the initrd but now I am not sure.
Thanks Nick
--
fedora-selinux-list mailing list
fedora-selinux-list(a)redhat.com
https://www.redhat.com/mailman/listinfo/fedora-selinux-list
15 years, 7 months
ocsigen install / sqlite3 library
by Jimmy Provoyeur, Jr.
Has anyone successfully been able to install ocsigen framework webserver onto Fedora 9, if so any installation steps, tips, hints,etc....
I am also trying to install sqlite and it's taking forever onthe "make" file; any thoughts on this would be greatly appreciated.
15 years, 7 months
Fedora 9 Freeze At Login
by Kyle Lanigan
So I've put in Fedora 9 just the other day, but it doesn't matter when
I login into Fedora 9 after booting up into it, that everything
freezes once the login screen goes away after entering my username and
password. I'm not sure what I'm suppose to do to get this working.
Kyle Lanigan
k.a.lanigan(a)gmail.com
15 years, 7 months
F9 install: anaconda fails: Unable to read package metadata.
by Colin Brace
Hi all,
I tried reinstalling F9 from the DVD on a new disk this afternoon, but
anaconda kept failing at the point when it started installing packages:
"Unable to read package metadata. This may be due to a missing repodate
directory. Please ensure that your install tree has been correctly
generated."
Bug-buddy was then launched at this point; there was no way of changing any
configuration, only rebooting. Eventually I installed F8, then tried
updating from the DVD. Still the same error. For the time being, I am
running F8 again.
Yes, I checked the media.
Any ideas what is going on here?
Thanks.
-----
Colin Brace
Amsterdam
http://lim.nl
--
View this message in context: http://www.nabble.com/F9-install%3A-anaconda-fails%3A-Unable-to-read-pack...
Sent from the Fedora List mailing list archive at Nabble.com.
15 years, 7 months
Ping KDE users
by Anne Wilson
I'm collecting some informal statistics to help the KDE usability group.
Could you please email me off-list with replies to the following questions:
In kickoff (the new-style menu), do you use
The favorites tab
The recently used tab
Neither
Both
Not use kickoff at all
Thanks for your help
Anne
15 years, 7 months