eSATA removable drive
by D. Hugh Redelmeier
I have an eSATA external hard drive case. I want to hotplug / unplug it.
My system is Fedora 11.
I added an external eSATA port on my desktop computer by adding a bracket
(with an internal cable connected to one of the ordinary SATA sockets on
the motherboard.)
The SATA controller is an intel ICH9R. To make hotplug work, I needed
to go the computer's BIOS and change the SATA mode to AHCI (it was
IDE).
I can now hotplug the drive.
I cannot unplug the drive. If I tell the system to eject the drive,
it complains:
# eject /dev/sdi
eject: device "/dev/sdi" doesn't have a removable or hotpluggable flag
# cat /sys/block/sdi/removable
0
(I don't know where or what a hotpluggable flag is.)
I guess that makes sense: the system doesn't know that I added an
eSATA bracket.
What are the reasonable ways to tell the system that that SATA port is
an eSATA port and should allow for hotplugging/unplugging?
My guess is some kind of HAL rule but I'm not an initiate. Maybe
something in here would work:
<http://www.thinkwiki.org/wiki/How_to_hotswap_UltraBay_devices>
Surely lots of people have already encountered this issue. If so,
there ought to be a non-wizard way to handle it.
13 years, 10 months
Kernel boot problems or is my hard drive failing ?
by linux guy
If I power down my laptop via the usual KStart->Shutdown means, it can
take up to 4 restart attempts before it fully boots.
It has no problem launching grub and the kernel selection screen. That
it does reliably every time. After that, there are issues.
Twice I will get a back screen with a flashing cursor. Then I will get
an ehci -19 error. Then it will boot properly.
My fscks are fine. I had a block error once, about two weeks ago, but
that was with an older F12 kernel after completely crashing during a
resume from suspend to RAM.
Is anyone else experiencing a problem booting ? Does this sound like a
kernel problem or is my hard drive failing ?
Thanks
$ uname -a
Linux localhost.localdomain 2.6.31.9-174.fc12.i686.PAE #1 SMP Mon Dec 21
06:04:56 UTC 2009 i686 i686 i386 GNU/Linux
13 years, 10 months
Vinagre???
by Antonio M
I have two boxes, both have UltraVNC and Vinagre (Remote desktop
viewer), exactly the same packages both in F11 fully updated
When I connect from A to B both Vinagre and UltraVNC work, but when I
connect from Ato B UltraVNC works fine but in Vinagre I see the list
of remote desktops, but when I try to connect I get the message
Connection closed: The connection to host B has been closed.
Any idea??
Tnx
--
Antonio Montagnani
Skype : antoniomontag
SIP: antoniomontag(a)ekiga.net
13 years, 10 months
assertion in NetworkManager
by Philipp Böhm
Hello @all,
after upgrading to Fedora 12 I get some problems with NetworkManager for
example Wireless Networks were disabled and you couldn't avtivate this.
Some entries in /var/log/messages shows me an assertion in
NetworkManager. I will post these line and I hope that somebody can help
me. My wireless-device is an Atheros AR242x 802.11abg Wireless PCI
Express Adapter (wlan0).
/var/log/messages:
Nov 22 11:00:18 philipps-toshi NetworkManager: <info> Wireless now
enabled by radio killswitch
Nov 22 11:00:18 philipps-toshi rpc.statd[1270]: Version 1.2.1 Starting
Nov 22 11:00:19 philipps-toshi NetworkManager: ifcfg-rh: parsing
/etc/sysconfig/network-scripts/ifcfg-wlan0 ...
Nov 22 11:00:19 philipps-toshi NetworkManager: ifcfg-rh: error:
Missing SSID
Nov 22 11:00:19 philipps-toshi NetworkManager: ifcfg-rh: parsing
/etc/sysconfig/network-scripts/ifcfg-eth0 ...
Nov 22 11:00:19 philipps-toshi NetworkManager: ifcfg-rh: read
connection 'System eth0'
Nov 22 11:00:19 philipps-toshi NetworkManager: ifcfg-rh: parsing
/etc/sysconfig/network-scripts/ifcfg-lo ...
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): driver
supports SSID scans (scan_capa 0x01).
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): new
802.11 WiFi device (driver: 'ath5k')
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): exported
as /org/freedesktop/NetworkManager/Devices/0
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): now managed
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): device
state change: 1 -> 2 (reason 2)
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0): bringing
up device.
Nov 22 11:00:19 philipps-toshi kernel: ADDRCONF(NETDEV_UP): wlan0: link
is not ready
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0):
preparing device.
Nov 22 11:00:19 philipps-toshi NetworkManager: <info> (wlan0):
deactivating device (reason: 2).
Nov 22 11:00:19 philipps-toshi NetworkManager:
supplicant_interface_acquire: assertion `mgr_state ==
NM_SUPPLICANT_MANAGER_STATE_IDLE' failed
13 years, 11 months
Fedora 11 GDM - unwanted list of all local users and impossible to customize?
by jaivuk
Hello guys,
I did not use gdm for some time and now I'm not happy how it looks in Fedora
11.
First of all - the list of local users is unacceptable from security
reasons. Even if it supports such "an " option - how it can be the default
one?!
Second problem I have is shutdown button (and possibly restart as well) -
when you click on shutdown button by mistake, system will shut - there is no
confirmation dialog.
I also tried to find some ways how to customize gdm in Fedora 11 but I did
not find any usable guide.
Can anybody please advise me how can I have prompt asking for username only
(showing last logged user at maximum) and not displaying the list of all
local users?
Also can I somehow add confirmation or remove shutdown restart buttons from
gdm screen?
Or can you please advise any alternative to gdm?
Thank you very much,
Jan
13 years, 11 months
Fedora 12, Xorg, and Apex Outlook KVM, - can't nail resolution
by Styma, Robert E (Robert)
Hi,
I've been looking at this for some time in both the
archives of the list and the web in general. The problem
is that when my Fedora 12 machine is connected though the
KVM (Apex Outlook 8 port) the monitor shows up as "Unknown"
and the resolution is limited to 800x600.
If I plug the monitor directly into the machine, it resolves
just fine and I have the full range of resolutions.
I tried an number of things so far and the one which seemed
most promising was to plug the monitor directly into the
machine and go to run level 3. I then ran "xorg -configure"
which created /root/xorg.conf.new (I may be remembering the
syntax of the command incorrectly). I copied that to
/etc/X11/xorg.conf and uncommented the NoDDC option with the syntax:
Option "NoDDC" "True"
Unfortunately the results are unchanged. The Xorg.0.log appears
to show that the xorg.conf file is being read, but it goes out
and probes the monitor anyway.
http://www.styma.org/xorg.conf
http://www.styma.org/Xorg.0.log
I have put the xorg.conf file and Xorg.0.log out at my web
site in the hope someone can give me a pointer on how to
make X use what I tell it in the xorg.conf file and not
do the probes itself. Note that my Fedora 6 machine, Redhat 9
machine, sparc 20, and assorted Windows machines work
fine.
I appreciate any time and help which can be offered.
Bob Styma
13 years, 11 months
Rendering chart from bootchart
by Suvayu Ali
Hi everyone,
I have been seeing very long boot times for the last few months so I ran
bootchart. But I can't render the chart after booting. The web interface
seems to be down. And the java application supplied with bootchart
generates the following error.
> $ java -jar /usr/share/java/bootchart.jar
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
> Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
> Could not find the main class: org.bootchart.Main. Program will exit.
I have the Java Development Kit files installed:
> $ rpm -qa *openjdk*
> java-1.6.0-openjdk-1.6.0.0-30.b16.fc11.x86_64
> java-1.6.0-openjdk-devel-1.6.0.0-30.b16.fc11.x86_64
> java-1.6.0-openjdk-plugin-1.6.0.0-30.b16.fc11.x86_64
What seems to be wrong?
--
Suvayu
Open source is the future. It sets us free.
13 years, 12 months
SSH tunnel for ssh traffic
by Christoph Höger
Hi,
I need to ssh to some remote VM that sit in a private LAN. For any other
service (e.g. RDP) I'd use ssh tunneling just normal.
But what do I do for ssh traffic? Since ssh is not host agnostic, it
will always complain about localhost having a different RSA key.
I just do not want to edit the known_hosts every time I need to connecto
to a new machine!
Is there some way to tell ssh to use a tunnel directly for a connection?
regards
Christoph
14 years
Hang w/ F12 or F13 Alpha
by Brian C. Huffman
All,
I'm having problems with a new system and it appears to be Linux rather than hardware since I've been running for about 2 days now with Win XP SP2 installed on the same hardware.
It's a MSI P41-C31 motherboard with an Intel Core2 Duo E7500 processor. I'm using a PCI Express SPARKLE SFPX84GS256U2LP GeForce 8400 GS video card.
I experience complete hangs (no key presses acknowledged, system not pingable) almost randomly but moreso when using Video. For example, trying to boot into graphical mode will hang almost immediately. Text console will hang within 1/2 hour or less.
I've swapped the video card with another computer (it works fine there) and also tried different power supplies and hard drives. Most recently I've installed Windows XP SP3 on the same computer and it's been running for about 2 days now without problems. So, this seems to be a linux issu.
I've tried increasing the PCI-Express bus speed from 100 to 105 and it will run a little longer before crashing with video, but appears to create some other instability. So, this is not an acceptable solution.
Does anyone have any ideas on what I could do to resolve this? The RMA Hell is killing me. :-(
Thanks,
Brian
14 years