Smartd error
by Timothy Murphy
Yesterday I got an internal email from smartd telling me
of an error on one disk (on my server):
------------------------------
Device: /dev/sdb, 1 Currently unreadable (pending) sectors
------------------------------
I'm getting a copy of this email every hour.
I'm not sure how serious a warning like this is.
Also, I don't know how I can discover
on which partition the problem occurs.
Any advice or suggestions gratefully received.
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
13 years, 8 months
Re: [Fedora] Re: java (sun), java-openjdk and java-gcj
by Deepak Bhole
* Walter Cazzola <cazzola(a)disi.unige.it> [2010-09-10 12:33]:
> On Fri, 10 Sep 2010, Deepak Bhole wrote:
>
> >* Walter Cazzola <cazzola(a)dico.unimi.it> [2010-09-10 11:34]:
> >>Dear all,
> >>On my Fedora 13 machine I've to use the sun/oracle jdk distribution. To
> >>install and configure this is not a problem (downloaded the bin from the
> >>sun web site and run it).
>
> >May I ask what it is specifically that requires Sun/Oracle that
> >OpenJDK cannot satisfy?
>
> yes, we have developed an extension of the java language (@java
> http://homes.dico.unimi.it/~cazzola/atjava.html) that manipulates a
> little the bytecode and at the moment (we are still try to understand
> why) it works only with that virtual machine and also with a specific
> version.
>
> Since at the moment I'm doing some experiment (quite urgent) for a paper
> I don't have the time to explore the issue and doing the porting so I
> prefer to reinstall the environment I know it works.
>
Ah I see.
> >>But we I try to install something based on java (e.g., antlr, javassist,
> >>bcel, ...) yum always proposes to install either java-1.5.0-gcj or
> >>java-1.6.0-openjdk as java wasn't installed at all.
>
> >This is due to a requirement on java/java-devel that the Sun/Oracle
> >RPM does not provide.
>
> is there a way to accomplish this requirement?
>
You need to create a dummy package that provides those things. The
jpackage compat packages will do that for you though, so once you
install them, it should be fine.
Cheers,
Deepak
> >>For several reasons I'm bound to a specific version of sun JVM (v1.5)
> >>and I can't use the other virtual machines
>
> >Not that I am trying to preach or anything, but Sun/Oracle no longer
> >supports 1.5 for consumers.. if your software is bound to that
> >specifically, you should change it as the 1.5 JDK security issues will
> >no longer be addressed.
>
> I know that but fortunately our is all except a product line so I can
> live with 1.5 without worrying about security (it is just confined in a
> virtualbox's guest and it is not used to implement critical sw); it
> should just a proof-of-concepts at the moment.
>
> >>So there is a way to convince yum that I've installed java and to use it
> >>when I'll try to add some java related software?
>
> >You can try installing the sun compat rpm from JPackage
> >(www.jpackage.org).
>
> I'll give it a try, thanks for the link
>
> Walter
>
> --
> Walter Cazzola, PhD - Assistant Professor, DICo, University of Milano
> E-mail cazzola(a)dico.unimi.it Ph.: +39 02 503 16300 Fax: +39 02 503 16253
> · · · ---------------------------- · · · ---------------------------- · · ·
> ... recursive: adjective, see recursive ...
> · · · ---------------------------- · · · ---------------------------- · · ·
13 years, 8 months
MPD without audio
by Mats Rauhala
Hi,
I've been trying to setup mpd but I don't seem to get any audio out.
Usually mpd has just worked for me, but now I can't seem to get it
right, and not even really sure where to look. My audio config is taken
from mpd wiki [1] with no luck. I tried using alsa hw directly, but mpd
complained about permissions.
[1] http://mpd.wikia.com/wiki/PulseAudio
/var/lib/mpd/mpd.log
Sep 14 10:55 : avahi: Shutting down interface
Sep 14 10:55 : listen: listen_global_finish called
Sep 14 10:55 : db_finish took 0.000000 seconds
Sep 14 10:55 : avahi: Initializing interface
Sep 14 10:55 : avahi: Client changed to state 2
Sep 14 10:55 : avahi: Client is RUNNING
Sep 14 10:55 : avahi: Registering service _mpd._tcp/Music Player
Sep 14 10:55 : avahi: Service group changed to state 0
Sep 14 10:55 : avahi: Service group is UNCOMMITED
Sep 14 10:55 : state_file: Saving state file
Sep 14 10:55 : database: get song: musicfile
Sep 14 10:55 : avahi: Service group changed to state 1
Sep 14 10:55 : avahi: Service group is REGISTERING
Sep 14 10:55 : avahi: Service group changed to state 2
Sep 14 10:55 : avahi: Service 'Music Player' successfully established.
Sep 14 10:55 : client: [0] opened from 127.0.0.1:41411
Sep 14 10:55 : client: [0] process command list
Sep 14 10:55 : command_process_list: process command "status"
Sep 14 10:55 : command_process_list: command returned 0
Sep 14 10:55 : command_process_list: process command "currentsong"
Sep 14 10:55 : command_process_list: command returned 0
Sep 14 10:55 : client: [0] process command list returned 0
Sep 14 10:55 : client: [0] closed
Sep 14 10:55 : client: [1] opened from 127.0.0.1:41412
Sep 14 10:55 : client: [1] process command "play"
Sep 14 10:55 : playlist: play 0:"01 - 1000% SPARKING!.mp3"
Sep 14 10:55 : decoder: audio_format=44100:24:2, seekable=true
Sep 14 10:55 : client: [1] command returned 0
Sep 14 10:55 : client: [1] process command list
Sep 14 10:55 : command_process_list: process command "status"
Sep 14 10:55 : command_process_list: command returned 0
Sep 14 10:55 : command_process_list: process command "currentsong"
Sep 14 10:55 : command_process_list: command returned 0
Sep 14 10:55 : client: [1] process command list returned 0
Sep 14 10:55 : client: [1] closed
Sep 14 10:55 : alsa: ALSA device "pulse": converting 24 bit to 32 bit
Sep 14 10:55 : alsa: default period_time = buffer_time/4 = 500000/4 =
125000
Sep 14 10:55 : alsa: buffer_size=22050 period_size=5512
Sep 14 10:55 : output: opened plugin=alsa name="My Pulse Output"
audio_format=44100:32:2
Sep 14 10:55 : output: converting from 44100:24:2
--
Mats Rauhala
sip:MasseR@ekiga.net
13 years, 8 months
Adobe Flash Player 10
by Marvin Kosmal
Hi
Was trying to watch some youtube video and got a message I needed
Adobe Flash Player 10.
Is that one of the rpmfusion things or what?
TIA
Marvin
13 years, 8 months
pcmcia SATA adapters
by JD
I have been googling for pcmcia SATA adapters
that interact with BIOS to announce the drives
connected to them to BIOS.
If anyone recalls, many PCI SCSI and IDE adapters
could do that.
I have not found any such pcmcia adapter.
Would greatly appreciate any tips for finding one.
Reason: Because my bios does not know of the drives attached
to the pcmcia SATA ports, I cannot boot from these drives.
Have tried many tricks suggested by others, to no avail.
13 years, 8 months
Reset grub?
by Alex
Hi,
After an update recently, I have a desktop that won't boot. After some
investigation, grub.conf was zero length. I recreated it to the best
of my ability, although it still doesn't boot. It now not only does
not boot, but doesn't even provide the grub prompt, It doesn't print
anything. It just sits there after the basic POST.
I tried booting from a rescue disk, uninstalling all the installed
kernels and reinstalling the default kernel from FC13, but it hasn't
helped. How can I reinstall grub? Will removing the grub and grubby
RPMs do this for me?
My root partition is /dev/sda1, so the root line would be "root
hd(0,0)", correct?
Thanks,
Alex
13 years, 8 months
Compiz fails after upgrading the Kernel
by fedora
Hi listers
I upgraded myhost to the following version of fedora 13 this morning.
[myuser@myhost ~]$ uname -a
Linux myhost.lan 2.6.34.6-54.fc13.x86_64 #1 SMP Sun Sep 5 17:16:27 UTC
2010 x86_64 x86_64 x86_64 GNU/Linux
[myuser@myhost ~]$
After the upgrade compiz failed to work in the upgraded system. When I
try to start compiz, it says:
[myuser@myhost ~]$ compiz --replace &
[1] 3012
[myuser@myhost ~]$ compiz (core) - Fatal: GLX_EXT_texture_from_pixmap is
missing
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
[1]+ Exit 1 compiz --replace
[myuser@myhost ~]$
I thought that it was a failure in a library or in the xorg-server
alltoghether and googled around with that in mind to find a solution. I,
however, didn't find anything which helped. I also did not find any
convincing error in the /var/log/Xorg.0.log, except that according to
this log
[ 20.929] (WW) RADEON(0): Direct rendering disabled
When I did, however,
[myuser@myhost ~]$ glxinfo |grep -i direct
direct rendering: Yes
[myuser@myhost ~]$
I then gave the old kernel (2.6.33.6-147.2.4.fc13.x86_64) a try and -
unexpectedly - compiz workes fine with the new libraries when using the
old kernel.
This is how I start the two kernels:
title upper Disk Fedora (2.6.34.6-54.fc13.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.34.6-54.fc13.x86_64 ro
root=UUID=afe5a1d5-a316-4cfb-90e0-d7e44b582037 rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=sg
resume=UUID=767752a5-5c99-4076-82d0-8912ef12a0db
initrd /initramfs-2.6.34.6-54.fc13.x86_64.img
title upper disk Fedora (2.6.33.6-147.2.4.fc13.x86_64)
root (hd0,0)
kernel /vmlinuz-2.6.33.6-147.2.4.fc13.x86_64 ro
root=UUID=afe5a1d5-a316-4cfb-90e0-d7e44b582037 rd_NO_LUKS rd_NO_LVM
rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=sg
resume=UUID=767752a5-5c99-4076-82d0-8912ef12a0db
initrd /initramfs-2.6.33.6-147.2.4.fc13.x86_64.img
Note that I do not use the "nomodeset" flag.
The graphics driver is radeon:
[root@myhost ~]# lsmod |grep radeon
radeon 711725 2
ttm 54819 1 radeon
drm_kms_helper 24738 1 radeon
drm 176953 4 radeon,ttm,drm_kms_helper
i2c_algo_bit 5045 1 radeon
i2c_core 25709 5
i2c_piix4,radeon,drm_kms_helper,drm,i2c_algo_bit
[root@myhost ~]#
[root@myhost ~]# cat /etc/X11/xorg.conf
Section "Device"
Identifier "Videocard0"
Driver "radeon"
Option "AccelMethod" "EXA"
Option "DRI" "1"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
[root@myhost ~]#
Has somebody had a similar problem? How did you solve the problem with
the new kernel?
suomi
13 years, 8 months
Problems installing with multiple drives
by Emmett Culley
I have an Asus MB in a system with five SATA drives and an SATA DVD burner. Each time I attempted to install Fedora 13 it would fail to reboot after the installation. I finally noticed that upon reboot the drive names (e.g. /dev/sda) would change. I'd configure sda and sdb to create md0 (/boot) and md1 (Physical volume), but upon restart sda would be named /dev/sde and all other drives would be named sdf, sdg, sdh and sdi.
No matter how many time I attempted to install, the drive device names would always be different upon first reboot. Sometimes during installation anaconda would show me /dev/sda through /dev/sde during drive configuration, yet it would still reboot with /dev/sde through /dev/sdi. Other time anaconda showed me /dev/sda, /dev/sdb, /dev/sdi, /dev/sdj and /dev/sdk.
I was finally able to get a "good" installation by only selecting the two drives with md0, md1 and swap space within the storage select dialog. The system rebooted and is operational, I suppose because the only partitions used were either identified by UUDI or mapper (LVM partitions), because the two drives show up as devices /dev/sdf and /dev/sdg, yet they started out as /dev/sda and /dev/sdb during installation.
I had a somewhat similar issue with Fedora 12 in that it would never automatically recognize the md2 and md3 that were defined for the next two drives in the system. I was required to running partprobe on each drive (/dev/sdc and /dev/sdd) then mdadm to assemble the raid pairs.
I cannot see how this can be a hardware issue, but it is the only system I've installed with more that two drives.
I suppose I should put in a bug report, and I will, but I'd like to know if I am the only on experiencing this issue.
Emmett
13 years, 8 months
No Sound
by AnneMarie Robinson
I don't have any sound. Can you suggest anything?
13 years, 8 months