CentOS 5 :: Moving From Centos 5.2 To 5.3 Breaks USB HUB Use?
Jul 4, 2009
I help develop an Asterisk channel driver that uses USB audio devices to link amateur radio stations via the Internet.All worked well under Centos 5.2 but I recently upgraded to Centos 5.3. I now get either "cannot submit datapipe for urb 0, error -28: not enough bandwidth" followed by a kernel panic or choppy audio depending on the use of either single or multi-TT hubs. For at least 4 devices, things do work under Centos 5.3 if I have a PC with 4 USB ports and do not use a hub. Of course I need to use a hub in most cases errors but even with a single device connected, data seems to be lost resulting in choppy audio. We need the hubs to work for larger systems and PC's with only 2 USB ports.Hardware:
USB 2.0 Audio Device Class 1.0, C-Media CM108
USB 2.0 HUB, 7 port with one TT, NEC UPD720113 or
HUB 2.0 HUB, 7 port with multiple TT's, Genesys Logic GL852.
I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?
I got a crash on intel machine running intel cpu (CENTOS 5)I would like to know if i can move hdd to new machine with amd cpu? 3 hdd (raid 0 on 2 of them)system is on hdd without raid.
i got an Compaq proliant ML530 server that i installed CentOS 5.3 on i tested the connectivity to the LAN and to the WAN and everything worked. Then i ran:
"yum install xen xen-kernel"
and after that i can't connect to the network if i ping my other servers there's no replay. i assume this have to do with Xen bridge. But since the tutorials dont mention any configuration needed, i assumed that it would work out of the box.
I'm a long-time user of Seamonkey, from since it was called Mozilla. The recent 2.1 and 2.2 updates seem to have broken Java support on my Centos 5.5 box (32 bits) and I really can't figure this out. Seamonkey is installed in /usr/local. Starting from 2.1, the /usr/local/seamonkey/plugins directory is gone. As per the release notes, plugins are now managed on a per-user basis in $HOME/.mozilla/plugins So far, so good.
I used to have a link in /usr/local/seamonkey/plugins pointing to /usr/local/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so (I install Sun's JREs in /usr/local too... it shows my BSD background I guess). So I moved that link to $HOME/.mozilla/plugins but now about :plugins doesn't show any Java plugin detected. Worse, $HOME/.mozilla/seamonkey/<profile name>.default/pluginreg.dat shows that the plugin is rejected.
It contains: [INVALID] /usr/local/jre1.6.0_12/plugin/i386/ns7/libjavaplugin_oji.so:$ 1232187965000:$
I vaguely suspect that there might be a shared library issue with the newest Seamonkey binaries and Centos 5.5, but then every other plugin works OK, including Flash and all. So what's the issue with the Java plugin? There's no error when I start seamonkey from a terminal window. I must not be the only Seamonkey user on Centos 5.5.
What I'm doing is attempting to create a minimalized CentOS which only installs the base components.
I decided that I'd install everything I need, then I did a ..
rpm -qa > installed-packages
I think used this new file to move all the RPMs that were used during the installation from ~/CentOS/disk/CentOS/ to ~/CentOS/graveyard
[root@localhost CentOS]# cat installed-rpms-no-vers | while read file; do mv disk/CentOS/${file}* ~/CentOS/graveyard/ ;done mv: cannot stat `disk/CentOS/iptables-ipv6*': No such file or directory mv: cannot stat `disk/CentOS/nss-tools*': No such file or directory
I have formatted a second internal drive as ext3. It worked fine until I copied (rsynch) my /home to the new drive. Now when I try to delete anything I'm forced to delete immediately or skip the deletion. I also tried moving the /usr/local directory to the second drive and it works fine, it doesn't break the Trash. I tried moving /home back to the root drive and the problem is gone. The second drive again works properly. I can reproduce this. The problem only occurs when I move the /home directory to the new drive.
# / was on /dev/sda1 during installation UUID=89a54f23-98ef-45d2-bef9-47d51992fd01 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation UUID=fb609b91-7322-4903-9309-2f0d3a6b87d4 none swap sw 0 0
# My shared volume /dev/sdb1 (show it on desktop) UUID=a726a583-03e5-47c6-9618-ddbfcdd4c1d6 /media/data ext3 defaults, users, exec0 0
This might be a common topic but searching yielded me no results. I am trying to take one of my NAS servers from an IDE hard disk to a new SATA hard disk. Reinstalling the OS is not an option. I have a working system and have cloned the disk using Acronis True Image to a SATA hard disk.
First, Grub has to be reinstalled which is no problem. I have done this and it works just fine. My SATA drive is booting through Grub and attempting to load CentOS. Obviously the problem lies in that my original drive is /dev/hda and my new disk is /dev/sda
I have changed the following to try and correct the issue: /boot/grub/menu.lst /boot/grub/device.map /etc/fstab
The new disk is still having problems booting. I have attempted before to create a new inittab but I am not sure it was successful and I encountered the same issues. After booting via Grub, here is the message that I receive
Unable to access resume device (LABEL=SWAP-hda3) mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory
[Code]...
There must be some places that still reference hda. That first line of the panic message talks about SWAP-hda3. I have changed an entry like that in the Grub config but it still shows up at boot time.
Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.
Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:
So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)
I have recently lost quite a bit of electronics around the house to a power surge/lightning strike (all items were on APC backups). The drives from my server were undamaged and I have a new server to host them in. I am having a hard time getting the new server to boot up with the old drives (trying to avoid a fresh install/rebuild of server). The hardware is very similar but not identical. At this point it gets to the following during the boot process:
Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.
Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.
What Im going to do now is:
1.Mount the new mirrored filesystem under /root1 2.use find | cpio to copy everything from the existing / to /root1 3.use grub to create a boot record on /root1 4.edit /root1/etc/fstab to point / to the new disk 5. reboot the system and keep my fingers crossed
I've a pc running Centos 5.4 with an uniq external hard disk hooked by USB (no internal drive). I'd like to hook it through e-sata to get performance improvment. So I am using a sata->e-sata connector to plug the disk.The disk is well detected by the bios, and Centos begin to boot but when it wants to mount the volume groups I've a kernel panic.VG and LV names are detected, but the system says it can't find them (there is a /dev/root not found error message)If I boot the system through a live cd I can mount and access VG/LV without problem any hint to get the system up and running through sata ?
grub.conf:
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that
I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.
#! /bin/bash
# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............
Problems with xen 3.1.2 creating and installing domU CentOS 5.5 I am trying to do a virt-install --prompt --paravirt, and the install error out while trying to download install RPMs. I have googled for xen centos virt-install and various permutations. I have found similar howtos for 5.4 and 5.3, but they resulted in the same outcome. I did find several posts with similar issues, but no solution was posted.[URL]..
I am in the process of building a new server on an Asus P5QPL-AM motherboard and an Intel E8600 processor.explain to me the difference between the two versions and what would you recommend.Also, is there any advantage of SATA over IDE hard drives?
On my home test 5.5 VM, after converting to ext4, moving items to the trashcan in Gnome results in nothing showing in the desktop Trashcan. Looks like a bug in gnome-vfs' support (or lack of it) for ext4, or have I got some other more subtle corruption going on? It's of little importance to me as I'm rarely in the GUI, but it would be nice to see confirmation or otherwise.
The installer can't see my raid controller (I assume) as I'm getting the following error:"Error opening /dev/mapper/isw_jbhgjgjj_Vol0: No such device or address"It just sees them as 4 individual drives: sda, sdb, sdc and sdd.Please note that I have set up the RAID 5 in the controller bios interface and the image name is Vol0, which it seems that it tries to load but for some particular reason it can't.I have also tried different bios settings and nothing worked.
I'm running a fresh install on an intel i7 system on an asus p6t deluxe v2 motherboard with the onboard NIC (Marvell Technology pci-e). I know the NIC is working as when I boot into the onboard OS that Asus provides (Asus Express Gate SSD)I have a working net connection.Booting up CentOS hangs at determining IP information for eth0 and eventually fails with the following error:PING xxx.170.30.1 from xxx.170.31.231 eth0: 56(84) bytes of data---xxx.170.30.1 ping statistics ---4 packets transmitted, o received, +3 errors, 100% packet loss, time 2999ms, pipe 3 failed.
I'm trying to install a dual booting machine with OpenSUSE v11.1 32bit and CentOS v5.2 64bit. I installed OpenSUSE first and allowed it to install and configure grub in the MBR and after that I wanted to proceed with CentOS v5.2. The installation went fine with two notable exceptions:- when I had to configure grub installation parameters, CentOS offered me only 2 solutions: either install it on the MBR of the first hard disk or not installing it at all. Other distributions are more flexible allowing you to install it in the boot sector of the root partition for example. Because I didn't want to ruin the existent grub onfiguration, I reluctantly accepted not to install it for CentOS assuming that I could manually configure the entry later in grub's menu.lst file.
- when I was presented with the options for software components installation, I've clicked on virtualization category/function because I intend to use the machine as a VMware host. There was no guidance on screen at that point and I blindly assumed that by choosing the virtualization function I would get necessary tools and drivers that will help me further on. It seems that this was a wrong move as you can see it below.
After completing the installation, I tried to search for a template or guiding on how the menu entry in menu.lst should look like but the grub directory was empty, not surprisingly because I've told CentOS earlier not to install it. Using the files in the /boot directory from the CentOS installation I tried to improvise a menu entry but it's not working. The boot stops with famous Error 13: Invalid or unsupported executable format. Using the file command to check what kind of files I'm trying to load as kernels I'm getting :
marte:~ # file /mnt/vmlinuz-2.6.18-92.el5xen /mnt/vmlinuz-2.6.18-92.el5xen: gzip compressed data, from Unix, last modified: Tue Jun 10 19:20:51 2008, max compression
The first server I installed installed fine. The second server, installed with the same config, went to "kernel panic not syncing no init found try passing init= option in kernel" error. I tried reinstalling but it keeps going to that error after install reboot. The storage is ISCSI connected via Intel Server Adapter, which allows it to boot from ISCSI. Not sure if that's the cause for the problem, but the first server is connected to the same ISCSI and installed just fine.
Is there a way that I can make sure ISCSI module installs during installation? Although I think it is installed since it's able to copy the files and setup /dev/sda. I just wana make sure that it installs during setup.
I'm trying to create a CentOS based liveCD that mounts a NFS share and executes one script there. The NFS never mounts altough while logged I can mount it with the very same command that I use in the KS.
In the %post I have :
%post --log=/tmp/post.log --erroronfail mkdir /mnt/nfs mount -o nolock 10.23.1.1:/csc/RemoteHome /mnt/nfs
I added the --log in order to debug, but nothing is written in /tmp/post.log. I tried redirection on the mount command with >> /tmp/debug.log but this is not written. Maybe during the post sequence /tmp is RO ? Anyway, I tried with ifup lo, service portmap start in the %post, but doesnt change (I even have a service : command not found in the live cd creator output).
Here is the remainder of the KS : lang en_US.UTF-8 keyboard us timezone US/Eastern
I've got two USB webcams I'm trying to get running with CentOS 5.4 x86_64. I've downloaded and installed the gspca driver from http://mxhaard.free.fr/spca5xx.html. Running lsusb yields:
Bus 002 Device 003: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam Bus 002 Device 002: ID 0ac8:307b Z-Star Microelectronics Corp. USB 1.1 Webcam
I have installed CentOS 5.3 on my PC which has an Atheros AR8121/8113/8114 Gigabit Ethernet. Unfortunately 5.3 has no drivers for this LAN Card. I searched the Google for drivers but was unable to find any. Does the 5.4 has them? If yes then how can i upgrade it to 5.4 without Network connectivity?
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
I have a few mail servers, a mail log server and a web server running on Centos 5. Now I have a task: to avoid accidental crashes on the production servers while installing updates, my boss asked me to do clones (these clones will all be VMware virtual machines) of the servers (EXCLUDING the actual e-mails and log contents) and then to run those clones on VMWare Server. This way, first I will install and test updates on the clones and - if they will be running without crashes - I will apply the updates on the real production servers themselves.
I have already installed VMWare Server 2.0 I have a few questions: How do I build the virtual machines to exclude the actual mail files and mail logs? Can I use VMware Converter for this purpose, or do I have to use another program? How do I actually do this cloning? Is there a tutorial on how to do this?
I have a Centos 5.2 VM running under Windows 2008 Hyper-V. If I add two "legacy Nic's" and bridge them, everything appears to work fine. However, if I remove the legacy nics and replace them with two synthetic nics (linux integration components), the nics seems to function fine UNTIL I add them to a bridge.This VM will eventually be used as a DansGuardian/Squid transparent proxy for a local library. The logical layout is represented by the attached jpg image. I have also included the ifcfg- scripts for the adapters and bridge for both scenarios.It would also be useful if someone else has Hyper-V with the integration components and dual physical nics to see if they can reproduce my symptoms on their box.Legacy Adapters: