Problem with SCSI drive order
by Dan Haines
Hi list
I have a problem. (who doesnt, right?)
I have a cluster setup, high availability, using clumanager. I also
have external RAID configured on these two machines.
Originally, when I upgraded to FC2, the RAID came up as /dev/sda, and
the internal hdd came up as /dev/sdb. With that not being desirable, I
made a change to the initrd, using this command:
mkinitrd -f -v --preload=aic79xx /boot/initrd-2.6.5-1.358custom.img
2.6.5-1.358custom
The preloaded scsi driver, is the one controlling the internal drive.
This change, made the internal drive become /dev/sda again, and the RAID
/dev/sdb, like I want it.
Now, Ive just installed a 146gb SCSI disk into one of the servers, and
after a reboot (I could see no way to make FC2 pick up the SCSI drive
without rebooting) its picked up the 146gb new SCSI disk as /dev/sda,
moved the original internal SCSI disk to /dev/sdb, and moved the RAID to
/dev/sdc.
Preferably, I would like this:
/dev/sda = Internal SCSI disk
/dev/sdb = external RAID
/dev/sdc = the new SCSI disk ive just added
I need /dev/sdb to be the RAID, as Im using RAWDEVICES to allocate some
common drive space, for the cluster software to run. These RAWDEVICES
are /dev/sdb1 and /dev/sdb2 (on RAID)..
Please, can anyone offer me some assistance, or a way to force the new
SCSI disk ive just added, to become /dev/sdc?
TIA!!!!
Dan
20 years
Webmin & FC1
by Fedora List
Hi list
Are there any known issues with webmin and FC1?
Thanks
Stuart
20 years
Time and Date
by Don Dupy
does anyone know a simple way to change the time and date
on a FC1 machine in command line mode
I don't have a gui installed
I don't quite understand the "date" command options
Thanks
Don Dupy
Systems Administrator
Maxxrad PC Services
http://www.maxxrad.net
email: fedora(a)maxxrad.net
20 years
Xorg.conf + IDE snags in FC2
by Romain Kang
I was previously running FC1 on a Shuttle SB61G2 (P4 2.8E, 865g/ICH5),
with an SGI 1600SW monitor (1600x1024) via Radeon 9200SE. It runs
MythTV (with Hauppauge 401 card), so I decided to move to a larger
HDD. I also wanted xfs for the video store; I had been using
reiserfs because it empirically appeared to cause less disk I/O
while recording than ext3.
I installed the new HDD in the internal rack. Since there's no
space for another HDD inside, I rejumpered the old HDD as an IDE
slave and hooked it up on the same chain with the optical drive,
sitting on top of the works with the external cover off. The
FC2 installer found both HDDs as well as the FC1 installation
on /dev/hdd. I opted for a fresh install on the new /dev/hda.
So far, so good.
When I booted the new installation, it tried to bring up the firstboot
screen. However, I had a bad Xorg.conf, so firstboot blew up. I
retrieved the modeline from my old HDD and rebooted, coming back
with the normal X login screen instead of firstboot. I had to kick
it a few times to get the right mode because the X root window was
misdimensioned as 1600x1050. (My recollection was that FC1 brought
up a usable X11 config, minus the 1600x1024 mode, which I had to
install by hand).
To get firstboot to finish its business, I eventually discovered
that I had to "rm /etc/sysconfig/firstboot". Fine.
When I brought back my home directory from the old HDD, I was missing
the sawfish window manager. No problem, run metacity and go back
to the CDs. Oops, there was no /dev/hdc anymore, only /dev/hda and
/dev/hdd. The IDE probe correctly saw the optical drive (and the
installer wanted to upgrade the FC1 partition, for goodness' sake):
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
But nothing for hdc shows up under /proc/ide. Curses. Attempting
to mount /dev/hdc gets the infamous "not a valid block device"
error. ide-scsi is deprecated, attempting to put "hdc=ide-cdrom"
into the kernel boot args does nothing. After Googling and poking
at this for a while (and missing a MythTV recording scheduled
overnight) I decide to remove the old HDD. Voila, /dev/hdc reappears
and I'm back in business:
hdc: SONY DVD RW DRU-510A, ATAPI CD/DVD-ROM drive
OK, install sawfish and its prereqs. The old HDD goes into a USB
2.0 enclosure. Oops, have to rejumper it as IDE master in order
to make it visible. Copying old videos to the new drive appears
to move about 13 MB/s.
Hope this account helps someone...
Romain Kang Disclaimer: I speak for myself alone,
romain(a)kzsu.stanford.edu except when indicated otherwise.
20 years
re alsa sound and xmms
by Richard E Miles
|hi,
|try to find more information through
|http://alsa.opensrc.org/index.php?page=aadebug . And then alsaconf might
|help. And see the options of xmms, whether the right plug-in for output
|is set.
|greet
|Ilja
Ilja here is the results of the aadebug script:
ALSA Audio Debug v0.0.7 - Sun May 30 14:06:46 PDT 2004
http://alsa.opensrc.org/?aadebug
Kernel ----------------------------------------------------
Linux localhost.localdomain 2.6.5-1.358.8kstacks #1 Sat May 22 21:46:42 EDT 2004 i686 athlon i386 GNU/Linux
Loaded Modules --------------------------------------------
./aadebug: line 10: lsmod: command not found
Modules Conf ----------------------------------------------
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
Proc Asound -----------------------------------------------
Advanced Linux Sound Architecture Driver Version 1.0.4rc2 (Tue Mar 30 08:19:30 2004 UTC).
Compiled on May 22 2004 for kernel 2.6.5-1.358.8kstacks.
0 [AudioPCI ]: ENS1371 - Ensoniq AudioPCI
Ensoniq AudioPCI ENS1371 at 0xa000, irq 12
0: [0- 0]: ctl
8: [0- 0]: raw midi
17: [0- 1]: digital audio playback
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer
33: : timer
cat: /proc/asound/hwdep: No such file or directory
00-00: ES1371/1 : ES1371 DAC2/ADC : playback 1 : capture 1
00-01: ES1371/2 : ES1371 DAC1 : playback 1
Dev Snd ---------------------------------------------------
controlC0 hwC2D3 midiC1D2 midiC3D1 pcmC0D4c pcmC1D3p pcmC2D3c pcmC3D2p
controlC1 hwC3D0 midiC1D3 midiC3D2 pcmC0D4p pcmC1D4c pcmC2D3p pcmC3D3c
controlC2 hwC3D1 midiC1D4 midiC3D3 pcmC0D5c pcmC1D4p pcmC2D4c pcmC3D3p
controlC3 hwC3D2 midiC1D5 midiC3D4 pcmC0D5p pcmC1D5c pcmC2D4p pcmC3D4c
hwC0D0 hwC3D3 midiC1D6 midiC3D5 pcmC0D6c pcmC1D5p pcmC2D5c pcmC3D4p
hwC0D1 midiC0D0 midiC1D7 midiC3D6 pcmC0D6p pcmC1D6c pcmC2D5p pcmC3D5c
hwC0D2 midiC0D1 midiC2D0 midiC3D7 pcmC0D7c pcmC1D6p pcmC2D6c pcmC3D5p
hwC0D3 midiC0D2 midiC2D1 pcmC0D0c pcmC0D7p pcmC1D7c pcmC2D6p pcmC3D6c
hwC1D0 midiC0D3 midiC2D2 pcmC0D0p pcmC1D0c pcmC1D7p pcmC2D7c pcmC3D6p
hwC1D1 midiC0D4 midiC2D3 pcmC0D1c pcmC1D0p pcmC2D0c pcmC2D7p pcmC3D7c
hwC1D2 midiC0D5 midiC2D4 pcmC0D1p pcmC1D1c pcmC2D0p pcmC3D0c pcmC3D7p
hwC1D3 midiC0D6 midiC2D5 pcmC0D2c pcmC1D1p pcmC2D1c pcmC3D0p seq
hwC2D0 midiC0D7 midiC2D6 pcmC0D2p pcmC1D2c pcmC2D1p pcmC3D1c timer
hwC2D1 midiC1D0 midiC2D7 pcmC0D3c pcmC1D2p pcmC2D2c pcmC3D1p
hwC2D2 midiC1D1 midiC3D0 pcmC0D3p pcmC1D3c pcmC2D2p pcmC3D2c
CPU -------------------------------------------------------
model name : AMD Duron(tm) processor
cpu MHz : 1212.381
RAM -------------------------------------------------------
MemTotal: 257136 kB
SwapTotal: 524396 kB
Hardware --------------------------------------------------
./aadebug: line 51: lspci: command not found
--
Richard Miles
Federal Way, WA
registered linux user 46097
20 years
NTPD errors
by Mike Chambers
I keep getting this in my logs and can't figure out what the problem is.
May 29 11:30:31 scooby ntpd[1202]: can't open /etc/ntp/drift.TEMP:
Permission denied
Here are the permissions..
drwxr-xr-x 2 root root 4096 May 3 08:16 ntp
The file does exist....
-rw-r--r-- 1 root root 1 May 3 08:16 drift.TEMP
Permissions problem?
--
Mike Chambers
Madisonville, KY
"It's always better to hurt a little now, than to hurt a lot later!"
20 years
Re: xosview scaling error on DISK throughput
by Ron Yorston
I've had a look at the source for xosview and I don't see how it can
possibly be giving sensible values for disk activity. It tries to get
the disk i/o data by looking in /proc/stat for a line starting with
'page', but this seems to have vanished in the 2.6 kernel. Presumably
because disk statistics are now in /proc/diskstats.
(And incidentally,
// Find the line with 'page'
stats >> buf;
while (strncmp(buf, "page", 9))
Why 9?)
One for bugzilla, perhaps?
Ron
20 years
sane-backends-1.0.14 for fc2
by Olaf Mueller
Hi,
are there any sane-backends rpms in actual version 1.0.14 out there for
fc2? I only found sane-backends rpms in version 1.0.13-7.
thanks
Olaf
20 years
re alsa sound and xmms
by Richard E Miles
On Sat, 29 May 2004 12:11:20 -0700, Richard E Miles wrote:
>> Ive been having abit of difficulty getting sound to work in FC2. I did
>> not have these problems in FC1.
>> While invoking xmms to play a wav file. the following pop-up window was
>> observed:
>> couldn't open audio
>> Please check that
>> your soundcard is configured properly
>> you have the correct output plugin selected
>> no sound program is blocking the soundcard
>>
>> I also noticed the following when starting the system with startx:
>> a series of messages saying audio_alsa: no cards found.
>>
>> I ran system-config soundcard and it detected my ens1371 sound card and
>> was able to play the test sound.
>> I tried to play the wav file again with the same popup window message
>> occuring. I did a ctrl-alt-F1 to see what messages occured. The same
>> "audio_alsa: no cards found" message (2 times) was seen.
>>
>> I also do not have gnome sound events even after installing the libgnome
>> update.
>
>
Is this an upgrade or a fresh install?
An upgrade.
What do you find in /etc/modprobe.conf (and /etc/modules.conf)?
This is modprobe.conf:
# Note: for use under 2.4, changes must also be made to modules.conf!
alias parport_lowlevel parport_pc
alias eth0 8139too
alias usb-controller uhci-hcd
options ide-cd ignore=hdc
alias char-major-116-* snd
alias char-major-14-* soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
install char-major-13-0 /bin/true
install char-major-188 /bin/true
install char-major-81 /bin/true
install sg { modprobe ide-scsi; } ; /sbin/modprobe --first-time --ignore-install sg
install snd-card-0 /sbin/modprobe --first-time --ignore-install snd-card-0 && {
/usr/sbin/alsactl restore >/dev/null 2>&1 || :; }
remove snd-card-0 { /usr/sbin/alsactl store >/dev/null 2>&1 || :; } ; /sbin/modprobe -r --first-time --ignore-remove snd-card-0
alias char-major-195* nvidia
This is modules.conf:
alias parport_lowlevel parport_pc
alias eth0 8139too
alias usb-controller usb-uhci
alias char-major-188 off
alias char-major-81 off
alias char-major-13-0 off
options ide-cd ignore=hdc
pre-install sg modprobe ide-scsi
# --- Save and restores the ALSA mixer settings. ---
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 salias char-major-81 off
alias char-major-13-0 off
options ide-cd ignore=hdc
pre-install sg modprobe ide-scsi
# --- Save and restores the ALSA mixer settings. ---
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 1.0.4 ---
alias char-major-116 snd
alias char-major-14 soundcore
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-ens1371
alias sound-slot-0 snd-ens1371
# --- END: Generated by ALSACONF, do not edit. ---
alias char-major-195 nvidia
# Note: for use under 2.6, changes must also be made to modprobe.conf!
(END)
What output driver is configured in XMMS preferences? If you choose
"OSS Driver" just for testing, does that work?
output plugin is eSound Output Plugin 1.2.10
Don't know about OSS Driver output (see running under root below)
What kernel modules are loaded when you try XMMS? Run /sbin/lsmod
Here is /sbin/lsmod:
Module Size Used by
snd_pcm_oss 41636 0
snd_mixer_oss 14336 3 snd_pcm_oss
nvidia 2073448 12
binfmt_misc 7176 1
parport_pc 19392 1
lp 8236 0
parport 29640 2 parport_pc,lp
snd_seq_midi 5792 0
snd_seq_midi_event 5504 1 snd_seq_midi
snd_seq 39568 2 snd_seq_midi,snd_seq_midi_event
snd_ens1371 17120 2
snd_rawmidi 17184 2 snd_seq_midi,snd_ens1371
snd_seq_device 6152 3 snd_seq_midi,snd_seq,snd_rawmidi
snd_pcm 69256 2 snd_pcm_oss,snd_ens1371
snd_page_alloc 7940 1 snd_pcm
snd_timer 17284 2 snd_seq,snd_pcm
snd_ac97_codec 50436 1 snd_ens1371
snd 38500 11 snd_pcm_oss,snd_mixer_oss,snd_seq_midi,snd_seq_midi_event,snd_seq,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec
soundcore 6112 3 snd
gameport 3328 1 snd_ens1371
ipv6 184544 19
autofs4 10752 0
sunrpc 101320 1
iptable_filter 2048 0
ip_tables 13440 1 iptable_filter
8139too 17792 0
mii 3584 1 8139too
floppy 47440 0
sg 27936 0
scsi_mod 91472 1 sg
joydev 7232 0
dm_mod 33184 0
uhci_hcd 23708 0
button 4504 0
battery 6924 0
asus_acpi 8472 0
ac 3340 0
ext3 102376 2
jbd 40216 1 ext3
Do you find anything audio/ALSA/ens1371 related in /var/log/messages?
no.
root:
When starting up as root the problems don't occur:
no "audio_alsa: could not find card" messages
system sounds work
xmms works
It's almost like a promissions problem it would seem? Right now I am running as root with no further problems occuring. Stange!
---------
--
Richard Miles
Federal Way, WA
registered linux user 46097
20 years
[FC2] How to translata a modules.conf in modprobe.conf language??? IMPORTANT
by Coume - Lubox.com
Hello,
I am stuck and badly stuck due to the modprobe.conf which has replaced
the modules.conf
I know from some dev what I should write in modules.conf, but since I'm
under FC2 and there is not anymore modules.conf I'm badly stuck!!!
Do you know how to translate the following into modprobes.conf
language??? The beginning seems ok, it start being not understood from
"add"
**********to translate*************
alias char-major-81 videodev
alias char-major-81-0 ivtv
options tda9887 secam=L debug=1
options ivtv ivtv_debug=1 tuner=22 tda9887=1
options tuner type=22 pal=L
options msp3400 once=1 simple=1 debug=1 standard=0x09
add below ivtv msp3400 saa 7115 tuner tda9887
post-install ivtv ivtv_init
************************************
Any idea???
Thxs in advance
Regards,
Ludovic
______________________________________
http://www.mythTVtalk.com (Now Open!!!)
Feel free to assist us in building a MythTV community!
20 years