Re: [CentOS] USB Memory Key not recognized

2009-02-18 Thread partha chowdhury
James B. Byrne wrote:
 Intel DQ35JO MB
 CentOS-5.3 2.6.18-92.1.22.el5xen
 x86_64
 
 I have a USB meory key (Kingston) that I formally used with a
 CentOS-5.2 (32bit) system.  When I plug it into a connector slot the
 light on the key comes on but there are no entries created in /media
 and no entries made to the /var/log/messages file.
 
 I have a usb mouse and keyboard attached to the same system. Both
 work fine.
 
 Is there a problem because I am running xen?  Is this related to the
 host being a 64 bit system?  Is there something else that I should
 do to enable this devices?
 
 
what do /sbin/lsusb and fdisk -l show ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Udev Rules for mounting usb disks

2009-01-20 Thread partha chowdhury
Rainer Traut wrote:
 Hi,
 
 Sys: C5.2, X86_64
 
 my plan is to automatically mount five same brand usb disks in five 
 different directories.
 
 I have written the following udev rule;
 Problem is, it does not mount them on boot, only when I plug them in.
 
 KERNEL==sd*, SYSFS{serial}==57442D574341554830303133323337, 
 SYSFS{product}==My Book, SYMLINK+=usbdisc0, ACTION==add, 
 RUN+=/bin/mount -o noatime /dev/usbdisc0 /mnt/woche1
 KERNEL==sd*, SYSFS{serial}==57442D574341554631383831303534, 
 SYSFS{product}==My Book, SYMLINK+=usbdisc1, ACTION==add, 
 RUN+=/bin/mount -o noatime /dev/usbdisc1 /mnt/woche2
 KERNEL==sd*, SYSFS{serial}==57442D574341554631383831343136, 
 SYSFS{product}==My Book, SYMLINK+=usbdisc2, ACTION==add, 
 RUN+=/bin/mount -o noatime /dev/usbdisc2 /mnt/woche3
 KERNEL==sd*, SYSFS{serial}==57442D574341554631383831303930, 
 SYSFS{product}==My Book, SYMLINK+=usbdisc3, ACTION==add, 
 RUN+=/bin/mount -o noatime /dev/usbdisc3 /mnt/woche4
 KERNEL==sd*, SYSFS{serial}==57442D574341554B30303239303435, 
 SYSFS{product}==My Book, SYMLINK+=usbdisc4, ACTION==add, 
 RUN+=/bin/mount -o noatime /dev/usbdisc4 /mnt/woche5
 
 How can I make them mount on boot?
 
 Thx
 Rainer
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 

how do you expect to mount usb disks when they are not plugged in ? plug 
them in and reboot.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] nvidia motherboard with mcp78b chipset

2009-01-16 Thread partha chowdhury
Jerry Geis wrote:
 Hi all,
 
 I have a new motherboard I am trying to install centos 5.2 x86_64 on.
 it has the mcp78b chipset.
 
 seems like the SATA disk is not detected. tells me no install media found.
 
 I tried the install line with pci=nomsi that did not help.
 I tried changing the SATA in the bios to AHCI and that did not help.
 
 Any thoughts on something to try?
 
 Jerry
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
you can download the CentOS live-cd version and run it and see how the 
hardware is supported under the current version of CentOS

 http://lists.centos.org/pipermail/centos-announce/2008-February/014688.html


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] (Semi-OT) Problems with Firefox

2009-01-12 Thread partha chowdhury
Sam Drinkard wrote:
 List,
 
 After I think the last or next to last update to firefox, I started 
 seeing some problems, wherein I no longer have a back function on any 
 pages or tabs.  Also, I get some kind of strange message
 
 
  Assertion Failed ASSERT:***Search:_installLocation: engine has no 
 file! Stack Trace: 0 ENSURE_WARN(false,_installLocation: engine has no 
 file!.2147500037) 
 1:()2:()3:()4:90:epsGetAttr([objectObject],hidden)5:906:907:currentEngine() 
 8:get_currentEngine()9:updateDisplay() 10:init() 11:([object XULElement],0)
 
 I realize this is not the proper place for FF related problems, but 
 thought I'd ask if someone else has seen something like this happen.  
 Prior to the last 2 updates, FF appeared to be working properly, and all 
 the forward/back buttons worked.
 
i recall i had almost the same problem as yours some weeks back. One 
fine morning there was no back button for any page

in addition the awesomebar of ff3 was not working i.e it was not 
completing urls and i was not getting fullscreen even after pressing F11 
numerous times. i tried disabling the flash and java plugins and also 
the other plugins but nothing worked. Then

i created a second ff profile from backup and till date that problem has 
not resurfaced yet. so i now run two profiles side-by -side one being a 
backup.

 rpm -q firefox
 firefox-3.0.5-1.el5.centos

 [free...@desktop ~]$ sudo grep -i firefox /var/log/yum.log*
 Password:
 /var/log/yum.log:Dec 25 08:37:00 Updated: firefox - 3.0.5-1.el5.centos.i386
 /var/log/yum.log.1:Sep 26 18:16:54 Updated: firefox - 3.0.2-3.el5.centos.i386
 /var/log/yum.log.1:Nov 15 11:03:30 Updated: firefox - 3.0.4-1.el5.centos.i386
 /var/log/yum.log.2:Aug 30 22:16:08 Updated: firefox - 3.0.1-1.el5.centos.i386



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Can sound be redirected from a remote computer to local computer?

2009-01-10 Thread partha chowdhury
dcw wrote:
 I need to redirect the sound from a remote Centos 5.2 computer to my local 
 Centos 5.2 computer. Both are i386 OS.
 
 Searching the web and Centos web site has indicated that it is possible but I 
 have not found any information about how to do it.
 
 I am currently using ssh and/or vnc to display the remote computer locally. 
 At 
 this point, the sound is being played on the remote computer only.
 
 Thanks for any help,
 David
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos
 
for this purpose you have to setup your local machine as a sound server. 
i have set up succesfully using this tutorial,  
http://www.hackenberger.at/blog/gentoo-guides/how-to-play-sound-on-a-remote-server/

my scenario : two computers on the same private network

on the first computer , i copy the line export ARTS_SERVER=ip of second 
machine:port to the currently logged in user's .bashrc file. Then play 
any mp3 with mplayer with audio output chosen as arts.

on the second machine start artsd with artsd -n -u -p 5001 option ( 
however please consider the security) and set up iptables or firewall to 
make the second computer to accept request from first computer on port 5001.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Yum-updatesd version in reports?

2009-01-09 Thread partha chowdhury
Amos Shapira wrote:

 But I don't see anywhere in its config or command line options a way to 
 find which package version was replaced by which.
 

this is just my guess but as yum-updatesd uses yum so the log should be 
in the logfile directed by yum.conf namely /var/log/yum.log.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Beginner - need suggestion to improve BACKUP script

2008-12-27 Thread partha chowdhury
jk...@kinz.org wrote:
 On Sat, Dec 27, 2008 at 12:44:21PM +0530, partha chowdhury wrote:
 2i stop the named service before starting backup as i run the named 
 process in a chroooted environment and if  i trey to manually backup 
 /var with rsync i get :/var/named/chroot/proc/kcore: file has vanished !
 
 
 Always exclude /var/named/chroot/proc/ from your backups. backing
 it up isn't needed. See:
 https://www.linuxquestions.org/questions/linux-general-1/prockcore-what-is-it-14251/
 
 Jeff Kinz
 
Thank you for the suggestion !

so now i backup /var/ with the follwing command:

 rsync  -a --progress --delete --delete-excluded 
 --exclude-from=/root/exclude-pattern /var/ ~freedom/backup/var/ 

it seems fine as no error message is generated but is there any more 
efficient alternative ?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Beginner - need suggestion to improve BACKUP script

2008-12-27 Thread partha chowdhury
Kai Schaetzl wrote:
 Partha chowdhury wrote on Sat, 27 Dec 2008 12:44:21 +0530:
 
 the script is as follows:
 
 Next time put this in original format on a website, spares download 
 bandwidth for those that don't want to see it and aching eyes for those 
 that want to see it.
 
 Kai
 

i at first thought of sending as an attachment but then i read sending 
attachment to a mailing list is a bad idea. so i just pasted it. now i 
know to use pastebin.centos.org.

 http://pastebin.centos.org/23060

i have added to check for logged in user whose home directory to be 
backed up in case there are open files by processes owned by that user.

how can i make it more concise ?
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Beginner - need suggestion to improve BACKUP script

2008-12-26 Thread partha chowdhury
hallo list,

  I have recently started to learn shell scripting.  Now 
i am trying to write a script to backup /etc and /var to my home dir in 
a separate folder and then backup the home dir to usb drive using rsync. 
My goal is when i will run the script it will output status to standard 
output in form  of bold messages with time and simultaneously logs to 
another file in /root dir. I have labled the usb drive as 
usb-mass-storage. the script runs fine according to my requirement. 
Now i need suggestion to improve the script further. Thank you.

the script is as follows:

 #!/bin/sh
 if blkid |grep USB-Mass-Storage
 then
 if [ -d /media/backup ]
 then
 /bin/mount LABEL=USB-Mass-Storage /media/backup
 echo 
 -  
  /root/backup.log
 echo $(date)  /root/backup.log
 /etc/rc.d/init.d/named stop  /dev/null
 echo CONFIGURATION backup starting |tee -a /root/backup.log
 /usr/bin/rsync -a --progress --delete /etc/ ~freedom/backup/etc/  
 /root/backup.log;echo CONFIGURATION backup finished |tee -a 
 /root/backup.log;echo VARIABLE backup starting|tee -a 
 /root/backup.log;/usr/bin/rsync -a --progress --delete 
 --exclude=ftp/pub/media/ /var/ ~freedom/backup/var/  /root/backup.log; echo 
 VARIABLE backup finished |tee -a /root/backup.log;/etc/rc.d/init.d/named 
 start /dev/null
 echo  Now we are going to backup $(date) |tee -a /root/backup.log
 /usr/bin/rsync -a --progress --delete /home/freedom/ /media/backup/ |tee -a 
 /root/backup.log; echo BACKUP FINISHED $(date) |tee -a /root/backup.log
 else
 echo $(date)   DISTDIR does not exist |tee -a /root/backup.log
 fi
 else
 echo $(date)   USB drive not entered|tee -a /root/backup.log
 fi

1the /root/backup.log is the log file
2i stop the named service before starting backup as i run the named 
process in a chroooted environment and if  i trey to manually backup 
/var with rsync i get :/var/named/chroot/proc/kcore: file has vanished !
3my home dir is /home/freedom
4i exclude the /var/ftp/pub/media/ folder as it is just the copy of 
centos 5 dvd which i use as my local base repo.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] no sound after hibernation

2008-12-22 Thread partha chowdhury
I am not getting any sound after hibernating

 [free...@station2 ~]$ uname -a
 Linux station2.domain2.example.com 2.6.18-92.1.22.el5 #1 SMP Tue Dec 16 
 12:03:43 EST 2008 i686 athlon i386 GNU/Linux
 
 [free...@station2 ~]$ /sbin/lspci -v|grep -i audio
 00:07.0 Audio device: nVidia Corporation MCP67 High Definition Audio (rev a1)
 01:06.0 Multimedia audio controller: Creative Labs [SB Live! Value] EMU10k1X
 
 
 [free...@station2 ~]$ rpm -qa|grep -i alsa
 alsa-lib-devel-1.0.14-1.rc4.el5
 alsa-kmdl-2.6.18-92.1.13.el5-1.0.17-70.el5
 alsa-lib-1.0.14-1.rc4.el5
 alsa-utils-1.0.14-3.rc4.el5

 [r...@station2 freedom]# /sbin/lsmod |grep -i snd
 snd_hda_intel  24793  2 
 snd_hda_codec 210881  1 snd_hda_intel
 snd_emu10k1x   21957  1 
 snd_rawmidi26561  1 snd_emu10k1x
 snd_ac97_codec 93025  1 snd_emu10k1x
 snd_seq_dummy   7877  0 
 snd_seq_oss32577  0 
 snd_seq_midi_event 11073  1 snd_seq_oss
 snd_seq49585  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
 snd_seq_device 11725  4 snd_rawmidi,snd_seq_dummy,snd_seq_oss,snd_seq
 snd_pcm_oss42945  0 
 snd_mixer_oss  19009  3 snd_pcm_oss
 snd_pcm72005  5 
 snd_hda_intel,snd_hda_codec,snd_emu10k1x,snd_ac97_codec,snd_pcm_oss
 snd_timer  24517  2 snd_seq,snd_pcm
 snd52421  14 
 snd_hda_intel,snd_hda_codec,snd_emu10k1x,snd_rawmidi,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
 ac97_bus6337  1 snd_ac97_codec
 soundcore  11553  3 snd
 snd_page_alloc 14281  3 snd_hda_intel,snd_emu10k1x,snd_pcm

here are the logs after going to and waking from hibernation :

from /var/log/messages:

 Dec 22 14:20:10 station2 gnome-power-manager: (freedom) Hibernating computer 
 because the DBUS method Hibernate() was invoked
 Dec 22 14:20:13 station2 ntpd[5274]: ntpd exiting on signal 15
 Dec 22 14:20:15 station2 kernel: Disabling non-boot CPUs ...
 Dec 22 14:20:15 station2 kernel: Breaking affinity for irq 50
 Dec 22 14:20:15 station2 kernel: Breaking affinity for irq 82
 Dec 22 14:20:15 station2 kernel: Breaking affinity for irq 106
 Dec 22 14:20:15 station2 kernel: CPU 1 is now offline
 Dec 22 14:20:15 station2 kernel: SMP alternatives: switching to UP code
 Dec 22 14:22:18 station2 kernel: CPU1 is down
 Dec 22 14:22:18 station2 kernel: Stopping tasks: 
 ==|
 Dec 22 14:22:18 station2 kernel: Shrinking memory...  
 ^H-^H\^H|^H/^H-^H\^H|^H/^Hdone (110403 pages freed)
 Dec 22 14:22:18 station2 kernel:  usbdev5.1_ep81: PM: suspend 0-1, parent 
 5-0:1.0 already 1
 Dec 22 14:22:18 station2 kernel:  usbdev4.1_ep81: PM: suspend 0-1, parent 
 4-0:1.0 already 1
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :01:07.2 
 disabled
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :01:07.1 
 disabled
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :01:07.0 
 disabled
 Dec 22 14:22:18 station2 kernel: NVRM: RmPowerManagement: 3
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :00:09.0 
 disabled
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :00:07.0 
 disabled
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :00:04.1 
 disabled
 Dec 22 14:22:18 station2 kernel: ACPI: PCI interrupt for device :00:04.0 
 disabled
 Dec 22 14:22:18 station2 restorecond: Read error (Interrupted system call)
 Dec 22 14:22:19 station2 kernel: ACPI: PCI interrupt for device :00:02.1 
 disabled
 Dec 22 14:22:19 station2 kernel: ACPI: PCI interrupt for device :00:02.0 
 disabled
 Dec 22 14:22:19 station2 kernel: ...
 Dec 22 14:22:19 station2 kernel: swsusp: Need to copy 67866 pages
 Dec 22 14:22:19 station2 kernel: Intel machine check architecture supported.
 Dec 22 14:22:19 station2 kernel: Intel machine check reporting enabled on 
 CPU#0.
 Dec 22 14:22:19 station2 kernel: swsusp: Restoring Highmem
 Dec 22 14:22:19 station2 kernel: PCI: Enabling device :00:02.0 ( - 
 0002)
 Dec 22 14:22:19 station2 kernel: ACPI: PCI Interrupt :00:02.0[A] - Link 
 [LUB0] - GSI 21 (level, low) - IRQ 66
 Dec 22 14:22:20 station2 kernel: PCI: Enabling device :00:02.1 ( - 
 0002)
 Dec 22 14:22:20 station2 kernel: ACPI: PCI Interrupt :00:02.1[B] - Link 
 [LUB2] - GSI 23 (level, low) - IRQ 233
 Dec 22 14:22:21 station2 kernel: usb usb1: root hub lost power or was reset
 Dec 22 14:22:21 station2 kernel: ehci_hcd :00:02.1: debug port 1
 Dec 22 14:22:21 station2 kernel: ehci_hcd :00:02.1: USB 2.0 started, EHCI 
 1.00, driver 10 Dec 2004
 Dec 22 14:22:21 station2 kernel: PCI: Enabling device :00:04.0 ( - 
 0002)
 Dec 22 14:22:21 station2 kernel: ACPI: PCI Interrupt :00:04.0[A] - Link 
 

Re: [CentOS] no sound after hibernation

2008-12-22 Thread partha chowdhury
William L. Maltby wrote:
 On Mon, 2008-12-22 at 14:41 +0530, partha chowdhury wrote:
 I am not getting any sound after hibernating
 snip
 
 Have you tried running gnome-volume-control and checking if anything is
 muted? Right-click the volume control icon.
 
I have checked and double-checked through 
gnome-volume-manager,alsamixer, muting and unmuting several times even 
system-preferences-sound and even using alsaunmute. but no sound at all !
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] no sound after hibernation (partially solved)

2008-12-22 Thread partha chowdhury
yesterday night after further googling i decided to compile the latest 
alsa driver ,lib and utils version 1.0.18 from source and now the 
onboard audio comes back after hibernation but if i choose the creative 
soundblaster card as default from administration-soundcard detection and 
reboot and after hibernation when i try to play a file mplayer, totem 
just freeze.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Reinstalled Windows and GRUB - Cannot boot Linux - fstab and grub.conf errors?

2008-11-09 Thread partha chowdhury

Lanny Marcus wrote:



Booting 'CentOS (2.6.18-92.1.17.el5)'
root (hd0,2)
Filesystem type unknown, partition type 0x8e
Kernel /vmlinuz-2.6.18-92.1.17.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

Error 17: Cannot mount selected  partition
Press any key to continue





01   /dev/hda1  ntfs   Active
02   /dev/hda2 ext3  (/boot)
03   /dev/hda3 unknown  (CentOS LVM)




AFAIK,in centos or fedora a boot partition cannot reside in an LVM 
volume.a boot partition must be a regular ext2 or ext3 file system.


or are you trying to boot from from wrong partition ? /dev/hda2 is 
labled as boot and is an ext3 filesystem. so i am inclined to believe 
that is the partition where the vmlinuz and initrd file resides. you 
need to change the line root (hd0,2) to root (hd0,1) during booting.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] SCSI error: return code = 0x10070000

2008-10-22 Thread partha chowdhury
I have just bought a 120GB external usb drive but after plugging it in 
it is not getting mounted.


lines from /var/log/messages:

Oct 22 18:54:49 station2 kernel: usb 1-2: new high speed USB device using 
ehci_hcd and address 2
Oct 22 18:54:49 station2 kernel: usb 1-2: configuration #1 chosen from 1 choice
Oct 22 18:54:49 station2 kernel: scsi4 : SCSI emulation for USB Mass Storage 
devices
Oct 22 18:54:54 station2 kernel:   Vendor: ST312002  Model: 2A
Rev:  0 0
Oct 22 18:54:54 station2 kernel:   Type:   Direct-Access  
ANSI SCSI revision: 00
Oct 22 18:54:54 station2 kernel: SCSI device sdd: 234441648 512-byte hdwr 
sectors (120034 MB)
Oct 22 18:54:54 station2 kernel: sdd: Write Protect is off
Oct 22 18:54:54 station2 kernel: sdd: assuming drive cache: write through
Oct 22 18:54:54 station2 kernel: SCSI device sdd: 234441648 512-byte hdwr 
sectors (120034 MB)
Oct 22 18:54:54 station2 kernel: sdd: Write Protect is off
Oct 22 18:54:54 station2 kernel: sdd: assuming drive cache: write through
Oct 22 18:54:54 station2 kernel:  sdd:6sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: Dev sdd: unable to read RDB block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error, dev sdd, sector 0
Oct 22 18:54:54 station2 kernel: Buffer I/O error on device sdd, logical block 0
Oct 22 18:54:54 station2 kernel:  unable to read partition table
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: Attached scsi disk sdd
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: Attached scsi generic sg3 type 0
Oct 22 18:54:54 station2 kernel: sd 4:0:0:0: SCSI error: return code = 
0x1007
Oct 22 18:54:54 station2 kernel: end_request: I/O error


upon searching in the forum i came accross this tread 
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9887forum=29post_id=31541#forumpost31541


but it has gone unanswered for two years.

Google search gives result all of which involves moving to a newer 
kernel.For the matter the drive gets mounted under fedora 9 - but i want 
to use it with CentOS.


here is my lspci -v


00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [dc] HyperTransport: MSI Mapping

00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
Flags: bus master, 66MHz, fast devsel, latency 0
I/O ports at 0900 [size=256]

00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at dc00 [size=64]
I/O ports at 0600 [size=64]
I/O ports at 0700 [size=64]
Capabilities: [44] Power Management version 2

00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev 
a2) (prog-if 10 [OHCI])
Subsystem: ASUSTeK 

Re: [CentOS] SCSI error: return code = 0x10070000

2008-10-22 Thread partha chowdhury

John wrote:

partha chowdhury [EMAIL PROTECTED] Writes:

Subsystem: ASUSTeK Computer Inc.
--
JohnStanley Writes:
Have you taken a look at asus.com for kernel modules for the USB integration
on the Asus Mother Board. They do offer drivers for various on board
controlers and NIC Cards. If perhapse they do have then you will have to
compile and install them yourself. They have gotten really decent at *nix
drivers.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


they only have audio driver for linux for the motherboard.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SCSI error: return code = 0x10070000

2008-10-22 Thread partha chowdhury

John wrote:
I have just bought a 120GB external usb drive but after plugging it in 
it is not getting mounted.


JohnStanley Writes:

Also look in your BIOS for your USB Settings. Make sure it is Set for Legacy
Compatablity so it can run the older 1.0USB and also 2.0USB.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

the manual for the usb drive says it is usb 2.0 and bios is set to 
autodetect usb type.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SCSI error: return code = 0x10070000

2008-10-22 Thread partha chowdhury

John wrote:

Also look in your BIOS for your USB Settings. Make sure it is Set for Legacy

Compatablity so it can run the older 1.0USB and also 2.0USB.



the manual for the usb drive says it is usb 2.0 and bios is set to 
autodetect usb type.


JohnStanley Writes:
Well, I am out of sejustions then. Have you used any other USB drives in
that machine? Beside Seagate?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

i have another 80G external samsung drive from 2 years and it works 
without problem .

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to unsubscribe

2008-10-07 Thread partha chowdhury

Joey Mendez wrote:
I appreciate all the help I received from this Mailing List. However I 
am receiving work email to my cell phone now and I am being overwhelmed 
with the mailing list emails. Can some one let me know how to 
unsubscribe from this mailing list.



Thank you

go to http://lists.centos.org/mailman/listinfo/centos and put your email 
address in the unsubscribe or edit options at the bottom.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Discussion: automount problem in 5.2

2008-10-06 Thread partha chowdhury

kapil singh wrote:

Hello all,

Automount is not working well with centos 5.2, but the same is working
nicely with
centos 5 .





___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
please provide the exact problem you are facing i.e the log files, short 
description of scenario,what steps you did to solve it and whether 
google was any help.without any details from you , no one will be able 
to help you.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB external HDD error messages

2008-09-29 Thread partha chowdhury

Guest wrote:
On Sun, Sep 28, 2008 at 5:00 PM, partha chowdhury [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Guest3731 wrote:


if you take it out and put it back again is it automatically mounted
and can kernel see it when you do fdisk -l ?



Sorry to double up on your answer like this, but is there any chance 
that the i/o errors are due to a bad usb cable, or usb card in the main 
computer?  I didn't mention before that the external hdd that the 
seagate is replacing also reported a lot of i/o errors and kept 
disconnecting itself, which is why I replaced it


Thanks for any clues...




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
i had the same problem as yours a while back. i have tried different 
solutions :


1 check with different usb cable.
2 may be the hdd is going bad . run e2fsck -f device and see what the 
output is .


3 try with a different machine.
4 experiment with noacpi and noirqdebug kernel boot parameters.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] BackupPC

2008-09-29 Thread partha chowdhury

Timothy Murphy wrote:

I was a bit surprised to find that BackupPC
does not seem to be available on my CentOS-5.2 system.

What do people use to backup Centos systems?

you can use rsync which uses ssh but is faster than scp because it only 
transfers the change between two files.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] scp partition not a regular file

2008-09-29 Thread partha chowdhury

henry ritzlmayr wrote:
Hi list, 


should it be possible to scp a partition with this command:

scp /dev/sda7 backupserver:/backup/sda7.img

I always get not a regular file - which is a clear and understandable
error, but my googling tells me that some people are doing this - and it
seems to work - at least at their systems.



i think there are two simple ways to do this :

1 mount /dev/sda7 under say /mnt and scp -r /mnt destination
2 and rsync - i think it is most simple and suitable for backup through
ssh.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB external HDD error messages

2008-09-28 Thread partha chowdhury

Guest3731 wrote:
Hi - relatively inexperienced user here.  I installed CentOS 5.2 
yesterday (http install via a mirror, worked brilliantly), as well as a 
new Seagate 1Tb USB external HDD (from the new Xtreme line), for 
backup/media storage.
Using fdisk I put two primary partitions on the Seagate, /dev/sde1 and 
/dev/sde2 (roughly half the drive each).  Then I used mkfs.ext3 on both 
to create ext3 filesystems on those partitions.  My fstab entries look 
like so:


/dev/sde1/mnt/seagate1ext3rw,user,noexec0 0
/dev/sde2/mnt/seagate2ext3rw,user,noexec0 0

I copied some data onto /dev/sde1 and went to bed.  This morning, I 
found a clump of kernel messages on the console (lightly edited from 
/var/log/messages):


kernel: end_request: I/O error, dev sde, sector 492896319
kernel: Buffer I/O error on device sde1, logical block 61612032
kernel: EXT3-fs error (device sde1): ext3_readdir: directory #30801921 
contains a hole at offset 0

kernel: Aborting journal on device sde1.
kernel: end_request: I/O error, dev sde, sector 12655
kernel: Buffer I/O error on device sde1, logical block 1574
kernel: lost page write due to I/O error on sde1
kernel: sd 3:0:0:0: Device not ready: 6: Current: sense key: Not Ready
kernel: Add. Sense: Logical unit not ready, initializing command 
required

kernel: end_request: I/O error, dev sde, sector 63
kernel: Buffer I/O error on device sde1, logical block 0
kernel: lost page write due to I/O error on sde1
kernel: ext3_abort called.
kernel: EXT3-fs error (device sde1): ext3_journal_start_sb: Detected 
aborted journal

kernel: Remounting filesystem read-only

I can guess that I/O means Input/Output, but other than that I'm 
flummoxed.  My fear is that the Seagate is defective.  Can someone point 
me in a good direction?  Any input would be greatly appreciated.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
if you take it out and put it back again is it automatically mounted and 
can kernel see it when you do fdisk -l ?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Set up Acer laptop web cam on CentOS 5.2

2008-09-26 Thread partha chowdhury

hce wrote:

Hi,

I am running CentOS 5.2 on Acer laptop Aspire 5920 with a built in Web
Cam. Anyone know how to set up and running the web cam on CentOS 5.2?
I can run the VLC to view the video.

Thank you.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
Please go through wiki before asking question which can be fund by 
googling. here is to get you started.

http://wiki.centos.org/HowTos/Laptops
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] USB to SATA / eSATA adapter compatibility

2008-09-26 Thread partha chowdhury

Rudi Ahlers wrote:

Hi all,

Does anyone know if this  USB to SATA / e-SATA adapter will work on Linux?

http://www.vantecusa.com/front/product/view_detail/266

Their website and knowledgebase doesn't say anything about it, so I'm
checking the list to try my luck :)

i believe it should  - i have one pata to usb and another sata to usb 
hard drive which work fine in centos.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SIze of reformatted USB drive

2008-09-25 Thread partha chowdhury

William L. Maltby wrote:


Yes, for the reasons the others posted. However, if you know the
profile of what you'll have on there, a substantial amount of space
can be recovered by 1) make sure you have large block size and 2)
reducing the i-nodes allocated to suit.

Do a little thinking before you make these adjustments. I've used these
(along with the reducing root-reserved) for years w/o problems. But if
you get too radical and/or miss the reality with your profile
substantially, you'll be in a rework scenario.


snip sig stuff




i just used the tune2fs command to recover space on my secondary drive. 
Afterwards i unmounted the drive and ran a e2fsck -f device. No error 
was reported. Actually i used the tune2fs when the device was mounted so 
i just became paranoid. now the e2fsck reported no error does that mean 
my filesystem is still intact and no potential harm has been done ?


when i remount the drive and run df -h i see an extra 6G of free space.

does e2fsck also check for data corruption or data integrity ?

William, can you please tell in details if more space can be recovered 
by using your two options and lastly is tweaking the default options of 
file system a good thing or bad thing ?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Telnet ssh connection limit and idle timeout

2008-09-25 Thread partha chowdhury

lingu wrote:



Dear all,


*
I am running centos 4 update 5. I want to limit user connection(maximum 
10 simultaneous connection are only allowed) to server
(for telnet  ssh sessions).In the mean time i like to remove all dead 
and idle connections(ssh  telnet session) of more that 24 hours.



 Any one guide me how to do this.

Regards
Lingu


*




___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


for telnet, intall telnet-server and in /etc/xinetd.d/telnet , append 
instances=number total number of instances and per_source=number,the 
number of simultaneous connections per IP address - it can not exceed 
the total number of instances.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-24 Thread partha chowdhury

On Wed, 2008-09-24 at 07:09 -0700, nate wrote:

 
 I wouldn't think the system is about to fail if it's just going
 slower. If there are specific error messages that point to it's
 failing then maybe. Errors quoted earlier just seem like bad
 hardware(perhaps poorly designed or built, rather than hardware
 that is physically failing).

well i myself have assembled this box. did i do something wrong because
it is running fine for last 10 months without any hiccups and other than
this minor issue no problem at all.
 
 Only thing I can suggest is to just verify that the drive is
 detected as USB 2.0 via lsusb -v
 
 e.g.
  Bus 004 Device 020: ID 1058:0702 Western Digital Technologies, Inc.
 Device Descriptor:
   bLength18
   bDescriptorType 1
   bcdUSB   2.00
 [..]
   iManufacturer   1 Western Digital
   iProduct2 External HDD
 
 I believe the 2.00 indicates USB 2.0, I see several other
 devices on my USB that are marked as 1.x

here is my output 

Bus 002 Device 002: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE Adapter
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 (Defined at Interface level)
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize064
  idVendor   0x05e3 Genesys Logic, Inc.
  idProduct  0x0702 USB 2.0 IDE Adapter
  bcdDevice0.33
  iManufacturer   0 
  iProduct1 USB TO IDE
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   32
bNumInterfaces  1
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xc0
  Self Powered
MaxPower   96mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   2
  bInterfaceClass 8 Mass Storage
  bInterfaceSubClass  6 SCSI
  bInterfaceProtocol 80 Bulk (Zip)
  iInterface  0 
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   1
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02  EP 2 OUT
bmAttributes2
  Transfer TypeBulk
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0200  1x 512 bytes
bInterval   1

you can see it is detected as usb2.0.

 If you configured your system's kernel to ignore the irq errors
 as the other poster did(I think your a different poster..didn't
 check), you really should remove that option and enable the
 checking again, and try a PCI USB expansion card instead and
 see if that helps.

actually it was i who sent it. i sent it through gmail so it did not
insert my name just my email id. usually i send through evolution. i did
not know this issue. apology for the unintentional mixups.

i want to know one thing  - the hardware failing logic you earlier spoke
of  - is that disabled or removed in latest 2.6.26.5 kernel because i
experimented with custom compiling that kernel and did not receive any
error message whatsoever.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-24 Thread partha chowdhury

MHR wrote:

On Tue, Sep 23, 2008 at 8:02 PM, partha chowdhury [EMAIL PROTECTED] wrote:
  

well i managed to fix the problem after an intensive search through the
forum and adding the noirqdebug option to the kernel line.




Are you /sure/ this fixes the problem?  Your last fix didn't work out
so well, so I'm just curious, not criticizing

mhr
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
  
well it is running close for a day now and the message has not appeared 
yet and all the usb drives are working as usual. so far so good ,keeping 
fingers crossed !

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-23 Thread partha chowdhury

On Mon, 2008-09-22 at 22:31 -0700, nate wrote:
 partha chowdhury wrote:
 
  can someone tell me if its a centos/rhel bug and if it is how and where
  i should file a bug report ?
 
 I'd say it's a hardware problem rather than a software bug
 at this point.
 
 nate
 
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

well i managed to fix the problem after an intensive search through the
forum and adding the noirqdebug option to the kernel line.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-22 Thread partha chowdhury

On Mon, 2008-09-22 at 11:43 +0300, Pasi Kärkkäinen wrote:
 I'm seeing this same problem on IBM HS21-8853 blades.
 
 It _seems_ like a bug in IRQ routing in BIOS/motherboard.. ACPI issue? 
 
 With IBM blades I'm able to fix the problem by generating the initrd image
 with --without-usb switch.. this delays the USB module 
 initialization/loading,
 somehow fixing the problem.. giving different IRQ to USB controller.
 
 -- Pasi
 ___

i just tried your fix and it solved the problem. now the usb drive does
not disappear any more. Thank you !

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-22 Thread partha chowdhury

On Tue, 2008-09-23 at 00:27 +0530, partha chowdhury wrote:
 On Mon, 2008-09-22 at 11:43 +0300, Pasi Kärkkäinen wrote:
  I'm seeing this same problem on IBM HS21-8853 blades.
  
  It _seems_ like a bug in IRQ routing in BIOS/motherboard.. ACPI issue? 
  
  With IBM blades I'm able to fix the problem by generating the initrd image
  with --without-usb switch.. this delays the USB module 
  initialization/loading,
  somehow fixing the problem.. giving different IRQ to USB controller.
  
  -- Pasi
  ___
 
 i just tried your fix and it solved the problem. now the usb drive does
 not disappear any more. Thank you 

well I spoke too soon .Now the error message i am getting :

Sep 23 00:37:46 station2 kernel:  [c044e6fa] __report_bad_irq
+0x2b/0x69
Sep 23 00:37:46 station2 kernel:  [c044e8e7] note_interrupt
+0x1af/0x1e8
Sep 23 00:37:46 station2 kernel:  [c057afb4] usb_hcd_irq+0x23/0x50
Sep 23 00:37:46 station2 kernel:  [c044df27] handle_IRQ_event
+0x23/0x49
Sep 23 00:37:46 station2 kernel:  [c044dfe8] __do_IRQ+0x9b/0xd6
Sep 23 00:37:46 station2 kernel:  [c04073f4] do_IRQ+0x93/0xae
Sep 23 00:37:46 station2 kernel:  [c040592e] common_interrupt
+0x1a/0x20
Sep 23 00:37:46 station2 kernel:  [c0403b98] default_idle+0x0/0x59
Sep 23 00:37:46 station2 kernel:  [c0403bc9] default_idle+0x31/0x59
Sep 23 00:37:46 station2 kernel:  [c0403c90] cpu_idle+0x9f/0xb9
Sep 23 00:37:46 station2 kernel:  [c06ed9ee] start_kernel+0x379/0x380
Sep 23 00:37:46 station2 kernel:  ===
Sep 23 00:37:46 station2 kernel: handlers:
Sep 23 00:37:46 station2 kernel: [c057af91] (usb_hcd_irq+0x0/0x50)
Sep 23 00:37:46 station2 kernel: Disabling IRQ #58

and the same thing happens i.e i am unable to remount the usb drive.

can someone tell me if its a centos/rhel bug and if it is how and where
i should file a bug report ?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kernel message - disabling irq #50

2008-09-20 Thread partha chowdhury
hi all .

i am facing a issue with centos recently :


after every boot i receive the following message in terminal :


 Sep 19 13:13:02 station2 kernel: irq 50: nobody cared (try booting
with the irqpoll option)
 Sep 19 13:13:02 station2 kernel:  [c044e6fa] __report_bad_irq
+0x2b/0x69
 Sep 19 13:13:02 station2 kernel:  [c044e8e7] note_interrupt
+0x1af/0x1e8
 Sep 19 13:13:02 station2 kernel:  [c057afb4] usb_hcd_irq+0x23/0x50
 Sep 19 13:13:02 station2 kernel:  [c044df27] handle_IRQ_event
+0x23/0x49
 Sep 19 13:13:02 station2 kernel:  [c044dfe8] __do_IRQ+0x9b/0xd6
 Sep 19 13:13:02 station2 kernel:  [c04073f4] do_IRQ+0x93/0xae
 Sep 19 13:13:02 station2 kernel:  [c040592e] common_interrupt
+0x1a/0x20
 Sep 19 13:13:02 station2 kernel:  ===
 Sep 19 13:13:02 station2 kernel: handlers:
 Sep 19 13:13:02 station2 kernel: [c057af91] (usb_hcd_irq+0x0/0x50)
 Sep 19 13:13:02 station2 kernel: Disabling IRQ #50


And immediately after it my external usb drive vanishes from the
nautilus file browser and i get messages like this
in /var/log/messages :


 usb 2-2: device not accepting address 3, error -110
 Sep 19 14:15:09 station2 kernel: usb 2-2: new high speed USB device
using ehci_hcd and address 4
 Sep 19 14:15:21 station2 kernel: usb 2-2: device not accepting address
4, error -110
 Sep 19 14:15:21 station2 kernel: usb 2-2: new high speed USB device
using ehci_hcd and address 5
 Sep 19 14:15:31 station2 kernel: usb 2-2: device not accepting address
5, error -110
 Sep 19 14:15:31 station2 kernel: usb 2-2: new high speed USB device
using ehci_hcd and address 6
 Sep 19 14:15:42 station2 kernel: usb 2-2: device not accepting address
6, error -110
 Sep 19 14:16:48 station2 kernel: usb 2-4: new high speed USB device
using ehci_hcd and address 7
 Sep 19 14:17:00 station2 kernel: usb 2-4: device not accepting address
7, error -110
 Sep 19 14:17:00 station2 kernel: usb 2-4: new high speed USB device
using ehci_hcd and address 8
 Sep 19 14:17:11 station2 kernel: usb 2-4: device not accepting address
8, error -110
 

and the usb drive does not show up in nautilus any more. Then i have to
reboot and after logging into x the drive shows up .but again after some
time the same thing happens.

as someone suggested in the list,i add the irqpoll option to kernel
line. after the system booted i log
into X with tty1 also login as root with the command  tail
-f /var/log/messages for monitoring . After 10 to 20 minutes i got the
same message again but this time immediately the system froze up !

i tried it 5 times now and each time is the same result.i also noticed
that the system was behaving very slowly till the message came up like
usually folder copy operation - i usually get 70-90MB/s according to
vmstat 1  comand, but with irqpoll  the maximum i noticed was like
10MB/s.

here is ouput from lspci -v :


 00:00.0 RAM memory: nVidia Corporation MCP67 Memory Controller (rev a2)
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0
   Capabilities: [44] HyperTransport: Slave or Primary Interface
   Capabilities: [dc] HyperTransport: MSI Mapping
 
 00:01.0 ISA bridge: nVidia Corporation MCP67 ISA Bridge (rev a2)
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0
   I/O ports at 0900 [size=256]
 
 00:01.1 SMBus: nVidia Corporation MCP67 SMBus (rev a2)
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: 66MHz, fast devsel, IRQ 10
   I/O ports at dc00 [size=64]
   I/O ports at 0600 [size=64]
   I/O ports at 0700 [size=64]
   Capabilities: [44] Power Management version 2
 
 00:02.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev 
 a2) (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 58
   Memory at feaff000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [44] Power Management version 2
 
 00:02.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev 
 a2) (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 233
   Memory at feafec00 (32-bit, non-prefetchable) [size=256]
   Capabilities: [44] Debug port
   Capabilities: [80] Power Management version 2
 
 00:04.0 USB Controller: nVidia Corporation MCP67 OHCI USB 1.1 Controller (rev 
 a2) (prog-if 10 [OHCI])
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 66
   Memory at feafd000 (32-bit, non-prefetchable) [size=4K]
   Capabilities: [44] Power Management version 2
 
 00:04.1 USB Controller: nVidia Corporation MCP67 EHCI USB 2.0 Controller (rev 
 a2) (prog-if 20 [EHCI])
   Subsystem: ASUSTeK Computer Inc. Unknown device 82b3
   Flags: bus master, 66MHz, fast devsel, latency 0, 

Re: [CentOS] kernel message - disabling irq #50

2008-09-20 Thread partha chowdhury

On Sat, 2008-09-20 at 07:33 -0700, nate wrote:
 partha chowdhury wrote:
 
  Sep 19 13:13:02 station2 kernel: irq 50: nobody cared (try booting
  with the irqpoll option)
 
 cat /proc/interrupts and see what it says(post output to the list
 if you want).
 
 One thing to try, if something is sharing irq50 with another
 device, if that device is an expansion card then try moving
 that expansion card to another slot in the system.

here's the output :
 cat /proc/interrupts 
   CPU0   CPU1   
  0:   49251168343IO-APIC-edge  timer
  1: 53328IO-APIC-edge  i8042
  8:  0  5IO-APIC-edge  rtc
  9:  0  0   IO-APIC-level  acpi
 12:  0105IO-APIC-edge  i8042
 50:  98133   1867   IO-APIC-level  ehci_hcd:usb2
 58:  3  86294   IO-APIC-level  ohci_hcd:usb3, nvidia
 66:  0  0   IO-APIC-level  ohci_hcd:usb4
 74:   4188 77   IO-APIC-level  eth0
 82:  35474110   IO-APIC-level  EMU10K1X
 90:   1696 111580 PCI-MSI  eth1
233:  11081   5907   IO-APIC-level  ehci_hcd:usb1, ahci
NMI:  0  0 
LOC:11731251173126 
ERR:  1
MIS:  0

nothing is sharing irq50 so i am a little puzzled
 
 For the system I am on for reference:
 
 
CPU0   CPU1   CPU2   CPU3
   0:  349449438   97827289  1291507031324419IO-APIC-edge  timer
   4:   22709754  0  0  0IO-APIC-edge  serial
   8:  572455673   15473535  564615318   27739670IO-APIC-edge  rtc
   9:  1  0  0  0   IO-APIC-level  acpi
  15:  74017  49259   29528511  0IO-APIC-edge  ide1
  50:   13430140  0   12041824  0   IO-APIC-level  eth2
  74:7857068  0  0  0   IO-APIC-level  Intel
 82801DB-ICH4
 169:  142038093  0  0  0   IO-APIC-level 
 uhci_hcd:usb1, nvidia
 177:2719957  0  0  0   IO-APIC-level  
 uhci_hcd:usb2
 185:  0  0  0  0   IO-APIC-level  
 uhci_hcd:usb3
 193:  65184  04501500  0   IO-APIC-level 
 ehci_hcd:usb4, ohci_hcd:usb7
 201:   13311819  94167   14802720 262062   IO-APIC-level  3w-
 209:   19049441 916146   11652498 250590   IO-APIC-level  eth0
 217:1612506  0  0  0   IO-APIC-level  
 ehci_hcd:usb5
 225:3263237  0  0  0   IO-APIC-level  
 ohci_hcd:usb6
 233:1810468   3618  29330424   IO-APIC-level  eth1
 NMI:  0  0  0  0
 LOC:  577787080  577787079  577787078  577787077
 ERR:  0
 MIS:  0
 
 
 Nothing sharing irq 50 on this machine, though irq 169 is being
 shared by both my Nvidia video card and a 4-port USB expansion
 card.
 
 The kernel source code describes the error as this:
 
  * If 99,900 of the previous 100,000 interrupts have not been handled
  * then assume that the IRQ is stuck in some manner. Drop a diagnostic
  * and try to turn the IRQ off.
  *
  * (The other 100-of-100,000 interrupts may have been a correctly
  *  functioning device sharing an IRQ with the failing one)
 
 
 So sounds hardware related. Whether it's the board itself
 or an add-in card I'm not sure. If possible remove all
 add-in cards that you can to see if the issue goes away.
 Also disable all devices in the BIOS that your not using
 (secondary IDE ports, serial ports, parallel ports etc), just
 to rule those out.
i have disabled the only ide port and parallel and serial port in the
bios. still i am getting the message.

.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] usb irq problem

2008-09-19 Thread partha chowdhury
hallo to all .

This is my first post to this list so please bare with me if i have made
any mistake .

My problem is :

after every boot i receive the following message in terminal :


 Sep 19 13:13:02 station2 kernel: irq 50: nobody cared (try booting with the 
 irqpoll option)
 Sep 19 13:13:02 station2 kernel:  [c044e6fa] __report_bad_irq+0x2b/0x69
 Sep 19 13:13:02 station2 kernel:  [c044e8e7] note_interrupt+0x1af/0x1e8
 Sep 19 13:13:02 station2 kernel:  [c057afb4] usb_hcd_irq+0x23/0x50
 Sep 19 13:13:02 station2 kernel:  [c044df27] handle_IRQ_event+0x23/0x49
 Sep 19 13:13:02 station2 kernel:  [c044dfe8] __do_IRQ+0x9b/0xd6
 Sep 19 13:13:02 station2 kernel:  [c04073f4] do_IRQ+0x93/0xae
 Sep 19 13:13:02 station2 kernel:  [c040592e] common_interrupt+0x1a/0x20
 Sep 19 13:13:02 station2 kernel:  ===
 Sep 19 13:13:02 station2 kernel: handlers:
 Sep 19 13:13:02 station2 kernel: [c057af91] (usb_hcd_irq+0x0/0x50)
 Sep 19 13:13:02 station2 kernel: Disabling IRQ #5


And immediately after it my external usb drive vanishes from the nautilus file 
browser and i get messages like this in /var/log/messages :


 usb 2-2: device not accepting address 3, error -110
 Sep 19 14:15:09 station2 kernel: usb 2-2: new high speed USB device using 
 ehci_hcd and address 4
 Sep 19 14:15:21 station2 kernel: usb 2-2: device not accepting address 4, 
 error -110
 Sep 19 14:15:21 station2 kernel: usb 2-2: new high speed USB device using 
 ehci_hcd and address 5
 Sep 19 14:15:31 station2 kernel: usb 2-2: device not accepting address 5, 
 error -110
 Sep 19 14:15:31 station2 kernel: usb 2-2: new high speed USB device using 
 ehci_hcd and address 6
 Sep 19 14:15:42 station2 kernel: usb 2-2: device not accepting address 6, 
 error -110
 Sep 19 14:16:48 station2 kernel: usb 2-4: new high speed USB device using 
 ehci_hcd and address 7
 Sep 19 14:17:00 station2 kernel: usb 2-4: device not accepting address 7, 
 error -110
 Sep 19 14:17:00 station2 kernel: usb 2-4: new high speed USB device using 
 ehci_hcd and address 8
 Sep 19 14:17:11 station2 kernel: usb 2-4: device not accepting address 8, 
 error -110
 

and the usb drive does not show up in nautilus any more. Then i have to reboot 
and after logging into x the drive shows up .but again after some time the same 
thing happens.

please help.

i don't know if i have given enough information.so please tell me if any more 
info is needed.

Thanks.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] usb irq problem

2008-09-19 Thread partha chowdhury
i add the irqpoll option to kernel line. after the system booted i log
into X with tty1 also login as root with the command  tail
-f /var/log/messages for monitoring . After 10 to 20 minutes i got the
same message again but this time immediately the system froze up !

i tried it 5 times now and each time is the same result.i also noticed
that the system was behaving very slowly till the message came up like
usually folder copy operation - i usually get 70-90MB/s according to
vmstat 1  comand, but with irqpoll  the maximum i noticed was like
10MB/s.

Am i doing something wrong ?

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos