Re: [CentOS] CentOS 5.2 kernel [2.6.18-92.1.1.el5] crashes on dual-PIII Compaq ProLiant 3000
On Thu, Jun 26, 2008 at 06:56:12PM -0500, Johnny Hughes wrote: > Wojtek Pilorz wrote: > >After yum upgrade, the new CentOS5 kernel [ kernel-2.6.18-92.1.1.el5.i686 > >] crashes each time early in boot process on Compaq ProLiant 3000 > >with dual Pentium3 CPU (600 MHz, CPU0: Intel Pentium III (Katmai) stepping > >03, CPU1 the same). > > > >I get kernel panic at powernowk8_init+0x05e/0x1c3. > > > >The previous kernel [ kernel-2.6.18-53.1.21.el5.i686 ] seems to work fine. > > [...] > > We have created a new test kernel that has an upstream patch to fix this > issue, please test this and see if it fixes your issues: > > http://people.centos.org/hughesjr/kernel/5/bz443853/ > Yes, the problem machine (Compaq ProLiant 3000) boots fine with this test kernel. Thank you very much! Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 kernel [2.6.18-92.1.1.el5] crashes on dual-PIII Compaq ProLiant 3000
On Wed, Jun 25, 2008 at 11:59:36AM +0200, Wojtek Pilorz wrote: > On Wed, Jun 25, 2008 at 09:49:08AM +0200, Tim Verhoeven wrote: > > On Wed, Jun 25, 2008 at 9:36 AM, Wojtek Pilorz <[EMAIL PROTECTED]> wrote: > > > After yum upgrade, the new CentOS5 kernel [ kernel-2.6.18-92.1.1.el5.i686 > > > ] > > > crashes each time early in boot process on Compaq ProLiant 3000 > > > with dual Pentium3 CPU (600 MHz, CPU0: Intel Pentium III (Katmai) > > > stepping 03, CPU1 the same). > > > > > > I get kernel panic at powernowk8_init+0x05e/0x1c3. > > > > > ...snip... > > You are definitalty not alone on this. See > > http://bugs.centos.org/view.php?id=2912. [...] > > it only happens on older PII and PIII machines. > And then only some of them - home home PC with PIII runs fine > with the new kernel. > I will upgrade 2 more machines with PII or PIII and see what will happen. OK, just for the record, I have upgraded 3 more machines to CentOS5.2 - a P4 Compaq D51S - new kernel runs OK - a PII Compaq Deskpro EN - new kernel runs OK - another 2*PIII Compaq ProLiant 3000 server - kernel crashes (somewhat expected, as the machine is almost identical to that I initially reported) Best regards, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 5.2 kernel [2.6.18-92.1.1.el5] crashes on dual-PIII Compaq ProLiant 3000
On Wed, Jun 25, 2008 at 09:49:08AM +0200, Tim Verhoeven wrote: > On Wed, Jun 25, 2008 at 9:36 AM, Wojtek Pilorz <[EMAIL PROTECTED]> wrote: > > After yum upgrade, the new CentOS5 kernel [ kernel-2.6.18-92.1.1.el5.i686 ] > > crashes each time early in boot process on Compaq ProLiant 3000 > > with dual Pentium3 CPU (600 MHz, CPU0: Intel Pentium III (Katmai) stepping > > 03, CPU1 the same). > > > > I get kernel panic at powernowk8_init+0x05e/0x1c3. > > > ...snip... > > You are definitalty not alone on this. See > http://bugs.centos.org/view.php?id=2912. Maybe add a note there that > you have the same issue and report your system config. It looks likes I have added a note about the problem on ProLiant3000 machine and dmesg output from working kernel. > it only happens on older PII and PIII machines. And then only some of them - home home PC with PIII runs fine with the new kernel. I will upgrade 2 more machines with PII or PIII and see what will happen. Thank you, Wojtek > > Regards, > Tim > > -- > Tim Verhoeven - [EMAIL PROTECTED] - 0479 / 88 11 83 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 5.2 kernel [2.6.18-92.1.1.el5] crashes on dual-PIII Compaq ProLiant 3000
After yum upgrade, the new CentOS5 kernel [ kernel-2.6.18-92.1.1.el5.i686 ] crashes each time early in boot process on Compaq ProLiant 3000 with dual Pentium3 CPU (600 MHz, CPU0: Intel Pentium III (Katmai) stepping 03, CPU1 the same). I get kernel panic at powernowk8_init+0x05e/0x1c3. The previous kernel [ kernel-2.6.18-53.1.21.el5.i686 ] seems to work fine. I am wondering if anyone has met this on PIII CPU ? I have found 99.9% identical problem on http://www.nabble.com/net-5501-and-RHEL5.2-td18024549.html (only esp and task slightly different from what I have seen on screen after crash, all other registers, call trace, code bytes identical to my case) , but that was on a different CPU. On the other hand, I run CentOS upgraded to 5.2 on a home PC with PIII (single CPU, Abit motherboard with i440BX chipset) with no problem. Is it normal, that powernowk8_init gets called on PIII CPU? Best regards, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Low-memory Centos5?
On Thu, May 29, 2008 at 02:12:38PM +0100, Ned Slider wrote: > Jeffrey B. Layton wrote: > >Good morning, > > > >I've inherited an old laptop from my wife that I'd like to > >use when I travel (it's fairly small with a 12" screen). The > >bad part is that it is maxed out on memory with 384MB. > >Has anyone played with using Centos5 on systems with > >little memory? Ideally, I don't need too much - Firefox, [...] > >Jeff > > > > As others have said, you should be fine with 384MB RAM. One thing to > note - I think the graphical installer requires 512MB to run (check the > release notes) so you would need to perform a text mode install. Do a > fairly minimal install and add whatever you want afterwards with YUM. If no additional repositories are selected during installation, 384MB should be OK with graphical. If you want to be sure, run it over vnc (needs specifying vnc vncpassword=a_password when starting installer) (and keep in mind vnc is unencrypted protocol; Graphical installer tends to be more complete than text in later RedHat systems. BTW. I am using CentOS 4.6 with KDE on P4 with 128MB RAM. Perhaps not stellar performance, but quite usable. (And I do not run OpenOffice and firefox at the same time...) Good luck, Wojtek. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Low-memory Centos5?
On Thu, May 29, 2008 at 07:31:17AM -0400, Jeffrey B. Layton wrote: > Good morning, > > I've inherited an old laptop from my wife that I'd like to > use when I travel (it's fairly small with a 12" screen). The > bad part is that it is maxed out on memory with 384MB. > Has anyone played with using Centos5 on systems with > little memory? Ideally, I don't need too much - Firefox, I was running FedoraCore6 (very close to CentOS5) on a P4 box with 256MB of RAM, using KDE. OpenOffice (word, calc) was usable once it started, startup was rather slow. yum update was painful, I had to run it from text mode sometimes. With 384MB and IceWM or XFCE you should be OK (although I am not sure if Firefox and OpenOffice at the same time will be possible ...) One problem with old firefox is that it is (said to be) leaking memory so restarting it every few hours of so might be useful. I seem to remember that opera was advertised as being less memory hungry than firefox. > Openoffice, a little Perl/Python/C here and there. I was No eclipse, of course. > thinking about using either XFCE or Icewm as the window > manager. I'd also like it to work with the existing wireless > card (Dlink DWL-G650). Any thoughts or recommendations? No idea here. > Good luck, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] total server lock-up during CentOS5.1 installation with vnc
Hi, I would like to share my experience with total server lock-up during CentOS5.1 installation using vnc installation method. My setup was as follows +--+ | my_PC, CentOS4.6 | | X, KDE, vncviewer| | 100Mbit/s eth0 | | Intel Corporation 82801BA/BAM/CA/CAM | +--eth0+ | +-+---+ | a cheap switch | | 10/100MBit/s | +-+---+ | /// goes to another floor | | | +--+--+-++ | 100 Mbit hub | +-+--+ | | ++ | | 100Mbit/s ports (only two) | +-+--+-+ | | 10/100Mbit/s switch | | +--+-+-+-+-+ | | | | <- 10 Mbit/s ports | | | eth0 | Intel| eth0 Intel +-+---+ ++---+ | Srv1| | Srv2 | | CentOS| crossed | Fedora6->CentOS51| | Intel eth1+-+ eth1 Realtek | | | UTP cable || +-+ ++ Srv1, Srv2 are almost identical Compaq ProLiant servers, each with 512MB RAM, 2*PIII CPU, Compaq Smart-2/P RAID array, two ethernet 10/100 Mbis/s controllers. Srv1: # lspci 00:00.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 04) 00:00.1 Host bridge: Broadcom CNB20-LE Host Bridge (rev 02) 00:03.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller 00:05.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a) 00:06.0 PCI bridge: IBM PCI to PCI Bridge (IBM27-82351) (rev 07) 00:09.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 05) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 4d) 00:11.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 04) 00:11.1 Host bridge: Broadcom CNB20-LE Host Bridge (rev 02) 01:00.0 Mass storage controller: Compaq Computer Corporation Smart-2/P RAID Controller (rev 03) 02:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14) 02:04.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14) 02:08.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 05) Srv2: # lspci 00:00.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 04) 00:00.1 Host bridge: Broadcom CNB20-LE Host Bridge (rev 02) 00:03.0 System peripheral: Compaq Computer Corporation Advanced System Management Controller 00:05.0 VGA compatible controller: ATI Technologies Inc 3D Rage IIC 215IIC [Mach64 GT IIC] (rev 7a) 00:06.0 PCI bridge: IBM PCI to PCI Bridge (IBM27-82351) (rev 07) 00:0f.0 ISA bridge: Broadcom OSB4 South Bridge (rev 4d) 00:11.0 Host bridge: Broadcom CNB20-LE Host Bridge (rev 04) 00:11.1 Host bridge: Broadcom CNB20-LE Host Bridge (rev 02) 01:00.0 Mass storage controller: Compaq Computer Corporation Smart-2/P RAID Controller (rev 03) 02:04.0 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14) 02:04.1 SCSI storage controller: LSI Logic / Symbios Logic 53c875 (rev 14) 02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) 02:08.0 Ethernet controller: Intel Corporation 82557/8/9 Ethernet Pro 100 (rev 05) Srv1 runs CentOS5 for 8 months with no major problem. Srv2 had Fedora Core 6 installed, recently I decided to install CentOS5.1 instead. Because the servers are located in a noisy server room, have low-end CRT monitors where installation in graphical mode is not possible, I run installation using vnc method. As the servers to not have a DVD drive, I have put CentOS 5.1 DVD image on a hard disk and booted from a CentOS boot CD ( boot.iso ) or from GRUB [ using kernel and initd from boot.iso ] and specifying HardDisk installation source. First I have installed a small rescue system on /dev/ida/c0d0p1 [ Srv2 ] with eth0 as the interface vnc was using. No problem other than grub which did not install correctly and I had to install it from rescue mode using grub-install. When installing the regular system I decided to use more fancy method: >From my_PC I started ssh session to Srv1, redirecting port 5901 to >Srv1/eth1/port 5901 (eth1 on Srv1 and Srv2 are configured to use private IP address range) Then I specified to CentOS51 installer that vnc is going to use eth1 interface. I could connect vncviewer to localhost:1 at my_PC (that is port 5901) which was forwarded over ssh to Srv1/eth1 and Srv2/eth1. This was working, I could prepare installation in custom mode, define LVM
Re: [CentOS] mount: /dev/sdb1 already mounted or /blah busy
On Tue, Apr 22, 2008 at 12:39:41PM -0700, Al Sparks wrote: > How do I go about troubeshooting this? I'm using RHEL 4 update 6. > >mount: /dev/sdb1 already mounted or /blah busy > > It's actually an iSCSI LUN (NetApp filer). I successfully configured (ext3) > and mounted it, but when I rebooted, the /dev/sdb1 device/partition is seen > by the kernel and it shows up with "fdisk -l". > > Nevertheless I get that error. I've tried "umount" and am informed that > /blah isn't mounted. I've tried "lsof" and don't find a process that's > attached to /blah. > > I also tried "fsck -t ext3 /dev/sdb1" which worked (so it detects the ext3 > file system). > > Any other tools to check out? cat /proc/mounts cat /proc/mounts | grep sdb1 You could possibly have /dev/sdb1 already mounted at some different mount point. If that doesn't help, look for aliases for sdb1 in /dev >=== Al Regards, Wojtek > ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum equivalent of rpm -i --test
On Wed, Apr 09, 2008 at 01:43:45PM -0600, Joseph L. Casale wrote: > >For CentOS5, you could use yum-downloadonly plugin : > > Wojtek, > Will this still allow rpm to "--test" the install of a local rpm and pull in > the deps and simulate the install? When you have the plugin installed and enabled it will enable --installonly option in yum; You can use it with yum shell also, e.g. yum --installonly shell > install gcc > transaction > run > exit Yum will check deps, download rpm files to yum cache directory as defined in yum config file. You can then to whatever you want with the files, for example run rpm with options you need on them. > > Thanks! > jlc You are welcome, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Yum equivalent of rpm -i --test
On Wed, Apr 09, 2008 at 11:08:15AM -0600, Joseph L. Casale wrote: > How does one do this? Reading through the man pages for yum it doesn't look > like its possible? I could use rpm, but I was hoping to pull down deps > through yum automagically. > > Thanks! > jlc For CentOS5, you could use yum-downloadonly plugin : # rpm -qi yum-downloadonly [ output shortened ] Name: yum-downloadonly Relocations: (not relocatable) Group : System Environment/Base Source RPM: yum-utils-1.0.4-3.el5.centos.2.src.rpm URL : http://linux.duke.edu/yum/download/yum-utils/ Summary : Yum plugin to add downloadonly command option Description : This plugin adds a --downloadonly flag to yum so that yum will only download the packages and not install/update them. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] looking for kernel sources
On Tue, Mar 04, 2008 at 12:07:40PM +0200, Rudi Ahlers wrote: > Tru Huynh wrote: [...] > > > >Caveat: if you make your own kernel, you keep the pieces if you break your > >system. Don't expect support here. > > > >Tru > > > > > > > >___ > > > heh, that's funny, but hard to believe that I won't get support for a > modified / hacked / changed / "broken" kernel. It's like saying " You > can buy the car, but if you change the tires we won't service it" - s/buy/get a free/ s/change the tires/replace engine with one custom-made/ > Dude, that's the mentality of M$ and the likes, NOT Open Source > Do you possibly have some pointers on how to get a free, legal version of M$ Advanced Server, get kernel source code and recompile it? And perhaps get free support for modified version? > Besides, VMWare & Virtualbox needs it to install properly on the system, > what do you tell them? We won't support you, so your programs won't > work on our system? If you need support with modified kernel I am sure you can find it. Not necessarily free. > > -- > > Kind Regards > Rudi Ahlers > CEO, SoftDux > > Web: http://www.SoftDux.com > Check out my technical blog, http://blog.softdux.com for Linux or other > technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting > stugg Take care, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] GRabbing MAC address
On Thu, Feb 28, 2008 at 08:13:17AM -0600, Les Mikesell wrote: > Jerry Geis wrote: > >I am trying to grab the mac address for eth0 on centos 5.1 with > > > >ifconfig | grep eth0 | cut -d ' ' -f 5 and I dont get anything. > > > >What am I not doing right? > > > >ifconfig | grep eth0 | cut -d ' ' -f 1 gives me eth0 but anything else > >like -f 2, -f 3 etc > >I get nothing. > > > > If sed had been invented first, we wouldn't need grep. > > ifconfig |sed -n -e 's/eth0.*\(..:..:..:..:..:..\)/\1/p' > > -- > Les Mikesell >[EMAIL PROTECTED] Specifying eth0 as ifconfig parameter also would be better once there is eth0:0, eth0:1, etc. Otherwise multiple lines would be returned. Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network.
On Thu, Feb 14, 2008 at 03:08:54PM +1100, Steven Haigh wrote: > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > > Behalf Of nate > > Sent: Thursday, 14 February 2008 2:46 PM > > To: centos@centos.org > > Subject: Re: [CentOS] Kernel 2.6.18-53.1.13.el5 fails on network. > > > > Indunil Jayasooriya wrote: > > > > > I also got this type of probles once before. pls check initrd image. > > > pls performe below steps. > > > > > While it's always good to make sure your initrd is in a good state, > > the network drivers don't need to be in the initrd (unless your booting > > from NFS or something). They can be loaded fine from > > /lib/modules/`uname -r` > > > > What kind of network chip(s) are in the system? What driver are they > > using?(/etc/modprobe.conf), it'd be helpful to have the output of > > dmesg as well from the kernel that doesn't provide networking support. > > The network is an e100 - dmesg shows the following: > # dmesg | grep e100: > e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI > e100: Copyright(c) 1999-2005 Intel Corporation > e100: eth0: e100_probe: addr 0xdfffe000, irq 169, MAC addr > 00:02:B3:8B:BE:26 > e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex > > Of course, this doesn't give us the exact chip, however mii-tool is a bit > more helpful: > # mii-tool -v eth0 > eth0: negotiated 100baseTx-FD, link ok > product info: Intel 82555 rev 4 > basic mode: autonegotiation enabled > basic status: autonegotiation complete, link ok > capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > flow-control > link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD > > The interesting part for me however, is that certain things unrelated to the > network also fail. I would expect iptables to come up as OK on boot - even > if no network device was configured - as its independent of network > configuration. It also doesn't explain how the firmware microcode update > also fails. > I had similar problem with a Linux system (Fedora) which was using SElinux in enforcing mode (like CentOS is doing by default) after I booted from a CD not supporting SElinux and editing some configuration files (like ifcfg-eth0) which has lost appropriate SElinux labels because of that. This is most probably different from what you see (one kernel working OK, the other not); no-one was tinkering with /lib/modules from not-SElinux CD, right? > > You could write a script for some person at the remote co-lo to execute > > when the system comes up w/o network, the results could be stored in > > a file on the disk and when the system is rebooted again under the > > old kernel you can examine them for possible causes. > > > > Some commands to try: > > dmesg > > ifconfig -a > > mii-tool > > route -n > > ping -c 5 (IP of default gateway) > > arping -c 5 (IP of default gateway) > > arp -an > > lsmod > > I have a bit of trouble with this, as the only person that can do it is > around 30 minutes travel from the colo. As the system boots, I'm thinking of > writing a script that will gather this, then reboot the system after > changing the default=x line in /etc/grub.conf - however obviously I want to > make sure it works 100% before I tell the machine to reboot ;) IP KVM device would be your friend (unfortunately they are not cheap...) > > -- > Steven Haigh > > Email: [EMAIL PROTECTED] > Web: http://www.crc.id.au > Phone: (03) 9001 6090 - 0412 935 897 Best regards, Wojtek ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Flushing RAM contents?
On Mon, Feb 11, 2008 at 03:05:10PM -0500, Scott Ehrlich wrote: > A user wants to time a command/program/application and ensure the full > contents of that command's data management has been flushed from RAM/cache > and saved to disk. Is there a way to ensure the cache/RAM is flushed to > disk, or is the flushing a function of the kernel or the application? > Besides sync, look for sync at mount manpage, sync or write in chattr manpage as well as man fsync, fdatasync Also, for timing programs, kernel documentation of /proc/sys/vm/drop_caches in filesystems/proc.txt will be useful. Wojtek > This happens to be on a 64-bit Intel system with 64-bit CentOS 5, fully > patched. But even if the system were an out-of-box 64-bit install, > unpatched, would it make a difference? > > Thanks. > > Scott > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos