[CentOS] Centos 5.7 - bridging firewall crash (only since the update) - dmesg output included - Trying to vfree() nonexistent vm area (ffffffff885d9000) ....

2011-10-13 Thread Morgan Cox
Hi.

We have several Centos 5 firewalls in our company  - they are all in
bridging mode.

We updated them to the latest Centos 5.x last night.

4 hours later there was a crash..  (previously it had never crashed - and
had been running for at least 1.5 yrs)

The crash occurred when someone added a rule, after rebooting it was fine  -
the thing is it can't have been a bad rule as the first thing the server
does is load the firewall (same) rules..

In /var/log/messages I can see:-


Oct 13 09:27:46 new kernel: Trying to vfree() nonexistent vm area
(885d9000)
Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:329 __vunmap()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  []
sys_delete_module+0x1b3/0x1d4
Oct 13 09:27:46 new kernel:  [] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:



Followed by (a few times)


Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:97 vmap_pte_range()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  []
:iw_cm:iw_cm_init_qp_attr+0x0/0xb1
Oct 13 09:27:46 new kernel:  [] map_vm_area+0x216/0x306
Oct 13 09:27:46 new kernel:  [] _stext+0xff8/0x1000
Oct 13 09:27:46 new kernel:  []
__vmalloc_area_node+0x134/0x15c
Oct 13 09:27:46 new kernel:  [] load_module+0x961/0x19f5
Oct 13 09:27:46 new kernel:  []
autoremove_wake_function+0x0/0x2e
Oct 13 09:27:46 new kernel:  [] do_mmap_pgoff+0x3d7/0x780
Oct 13 09:27:46 new kernel:  [] do_mmap_pgoff+0x615/0x780
Oct 13 09:27:46 new kernel:  []
audit_syscall_entry+0x1a8/0x1d3
Oct 13 09:27:46 new kernel:  [] sys_init_module+0x5b/0x206
Oct 13 09:27:46 new kernel:  [] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: WARNING: at mm/vmalloc.c:97 vmap_pte_range()
Oct 13 09:27:46 new kernel:
Oct 13 09:27:46 new kernel: Call Trace:
Oct 13 09:27:46 new kernel:  [] map_vm_area+0x216/0x306
Oct 13 09:27:46 new kernel:  [] _stext+0xff8/0x1000
Oct 13 09:27:46 new kernel:  []
__vmalloc_area_node+0x134/0x15c
Oct 13 09:27:46 new kernel:  [] load_module+0x961/0x19f5
Oct 13 09:27:46 new kernel:  []
autoremove_wake_function+0x0/0x2e
Oct 13 09:27:46 new kernel:  [] do_mmap_pgoff+0x3d7/0x780
Oct 13 09:27:46 new kernel:  [] do_mmap_pgoff+0x615/0x780
Oct 13 09:27:46 new kernel:  []
audit_syscall_entry+0x1a8/0x1d3
Oct 13 09:27:46 new kernel:  [] sys_init_module+0x5b/0x206
Oct 13 09:27:46 new kernel:  [] tracesys+0xd5/0xe0
Oct 13 09:27:46 new kernel:



Any ideas what caused this ?

Or how to investigate further ?

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


[CentOS] Using SD-card reader? (Lenovo T61/Richo R5C822 controller/sdhci driver)

2011-10-13 Thread Toralf Lund
Hi

I'm trying to access an SD-card using the built-in reader on a Lenovo 
T61 Laptop running CentOS 5.7. The unit is recognised by lspci:
# lspci
[ ... ]
15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro 
Host Adapter (rev 21)
15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host 
Adapter (rev 11)
15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)

and a driver is loaded and appears to find the device  - from 
/var/log/messages:

Oct 13 09:30:48 i58524 kernel: sdhci: Secure Digital Host Controller 
Interface driver, 0.12
Oct 13 09:30:48 i58524 kernel: sdhci: Copyright(c) Pierre Ossman
Oct 13 09:30:48 i58524 kernel: sdhci: SDHCI controller found at 
:15:00.2 [1180:0822] (rev 21)
Oct 13 09:30:48 i58524 kernel: ACPI: PCI Interrupt :15:00.2[C] -> 
GSI 18 (level, low) -> IRQ 225
Oct 13 09:30:48 i58524 kernel: mmc0: SDHCI at 0xf8101800 irq 225 DMA

But then what?? If I insert a card in the drive, nothing particular 
happens. I mean, I the status LED on the unit lights up briefly, but 
there is no automount or anything, and I get no messages in the system 
log. And I can't find any appropriate devices under /dev. The card is 
accessible when using WinXP on the same machine...

Help, anyone?


- Toralf


This e-mail, including any attachments and response string, may contain 
proprietary information which is confidential and may be legally privileged. It 
is for the intended recipient only. If you are not the intended recipient or 
transmission error has misdirected this e-mail, please notify the author by 
return e-mail and delete this message and any attachment immediately. If you 
are not the intended recipient you must not use, disclose, distribute, forward, 
copy, print or rely on this e-mail in any way except as permitted by the author.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.7 Ethernet bonding - order of enslavement matters?

2011-10-13 Thread whitivery
whitivery  wrote:

>Setting up bonding in active-backup mode 1 (using ARP monitoring)
>on a server, it looked OK, but pulling the active link cable
>didn't actually work, it didn't fail over.
>
>Eventually with manual playing around with modprobe, ifconfig,
>ifenslave, etc., a solution was stumbled upon: enslave the eth1
>device before eth0, and all is good.
>
>Why this should matter is a puzzle - I could not find anything in
>bonding.txt or on the web about it.
>
>I had to change ifup-eth to fix the problem.
>
>Any ideas on why the enslavement order matters, or a better
>solution to work around it?
>
>The rest of this post is details.
>
>
>To fix this, I had to patch
>/etc/sysconfig/network-scripts/ifup-eth to reverse the order when
>it is updating the sysfs slaves list.  A 1-line change, from:
>
>for device in $(LANG=C egrep -l "^[[:space:]]*MASTER=\"?${DEVICE}\"?"
>/etc/sysconfig/network-scripts/ifcfg-*) ; do
>
>to:
>
>for device in $(LANG=C egrep -l "^[[:space:]]*MASTER=\"?${DEVICE}\"?"
>/etc/sysconfig/network-scripts/ifcfg-* | sort -r) ; do
>
>
>With that change, everything works perfectly.
>
>I don't like this solution (changing standard system files) but
>it seems like the best one for now, and should not break
>anything.
>
>
>Maybe it's the particular network devices.  Platform is VIA M850
>running CentOS5.7 64-bit, original content from DVD (no yum
>update done).
>
>Eth0 is the onboard device, using an updated VIA Velocity driver
>(velocityget 1.42 instead of default via-velocity):
>
>05:00.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122
>Gigabit Ethernet Adapter (rev 82)
>
>Eth1 is a Linksys (Cisco) USB300M USB-Ethernet dongle, using asix
>driver:
>
>Bus 001 Device 005: ID 0b95:7720 ASIX Electronics Corp. AX88772
>
>Modprobe.conf:
>
>alias eth0 velocityget
>
>With the network service enabled (NetworkManager disabled), this
>is my setup:
>
>ifcfg-bond0:
>
>DEVICE=bond0
>BOOTPROTO=none
>ONBOOT=yes
>IPADDR=10.6.0.90
>NETMASK=255.255.255.0
>GATEWAY=10.6.0.1
>BONDING_OPTS="mode=active-backup arp_interval=300 primary=eth0
>arp_ip_target=+10.6.0.1 arp_ip_target=+10.6.0.2"
>
>ifcfg-eth0:
>
>DEVICE=eth0
>BOOTPROTO=none
>ONBOOT=yes
>IPADDR=10.6.0.90
>NETMASK=255.255.255.0
>GATEWAY=10.6.0.1
>HWADDR=00:1F:F2:03:FA:45
>MASTER=bond0
>SLAVE=yes
>
>ifcfg-eth1:
>
>DEVICE=eth1
>BOOTPROTO=none
>ONBOOT=yes
>IPADDR=10.6.1.90
>NETMASK=255.255.255.0
>GATEWAY=10.6.0.1
>MASTER=bond0
>SLAVE=yes
>HWADDR=58:6d:8f:3d:8d:4f

Is there a better group to post this to?


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


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Bob Hoffman
One of the mods requested some data, here ya go..think it is a video 
issue...

I think I am narrowing it down to choking on my ATI ES1000 
controller..which might be causing some issues.

When I did a full desktop, everything worked okay though, but command 
line only or with x windows system video is a complete no go.
although I can pull up text things like system-config-network, x will 
choke on config/hal: couldn't initialize context: (null) and pop right 
out. Display cannot open.

Its make sense because now and then my ipmi card just gets a blurry 
video image and I have to reset the card.
Also, it just shuts off (loses connection/video) sometimes and I must 
login again. Thought it was the card...but...
it only happens when I am installing linux or it is installed. If 
playing in bios it has never happened.

Tried the nomodeset thing, no change.
  SELinux:  Starting in permissive mode


dmesg of insterest, command line, install with package 'virtual host'
-


ACPI Warning for \_SB_._OSC: Return type mismatch - found Integer, 
expected Buffer (20090903/nspredef-1006)
\_SB_:_OSC evaluation returned wrong type
_OSC request data:1 7
ACPI Warning: Incorrect checksum in table [OEMB] - 96, should be 8B 
(20090903/tbutils-314)

Firmware did not grant requested _OSC control (this was between pci 
hotplug stuff)
Firmware did not grant requested _OSC control
Firmware did not grant requested _OSC control
Firmware did not grant requested _OSC control

composite sync not supported (with gnome installed there was a ton of these)
composite sync not supported
fbcon: radeondrmfb (fb0) is primary device
[drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x08 0x30 write failed

[drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x09 0x00 write failed
[drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x0a 0x90 write failed
[drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x0c 0x89 write failed
[drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x08 0x3b write failed
Console: switching to colour frame buffer device 128x48
fb0: radeondrmfb frame buffer device
drm: registered panic notifier

[drm] Initialized radeon 2.1.0 20080528 for :01:01.0 on minor 0

composite sync not supported ( a couple more of these just appeared a 
few lines lower than the previous line)
composite sync not supported
---

---
below is a whole section that seems to have dealt with the video card, 
and all seems okay for this (earlier in the boot up than errors above)
---
[drm] Initialized drm 1.1.0 20060810
[drm] radeon defaulting to kernel modesetting.
[drm] radeon kernel modesetting enabled.
radeon :01:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[drm] initializing kernel modesetting (RV100 0x1002:0x515E).
[drm] register mmio base: 0xFBAD
[drm] register mmio size: 65536
radeon :01:01.0: VRAM: 64M 0xD800 - 0xDBFF (32M used)
radeon :01:01.0: GTT: 512M 0xB800 - 0xD7FF
[drm] radeon: irq initialized.
[drm] Detected VRAM RAM=64M, BAR=128M
[drm] RAM width 16bits DDR
[TTM] Zone  kernel: Available graphics memory: 12299360 kiB.
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB.
[drm] radeon: 32M of VRAM memory ready
[drm] radeon: 512M of GTT memory ready.
[drm] GART: num cpu pages 131072, num gpu pages 131072
[drm] Loading R100 Microcode
platform radeon_cp.0: firmware: requesting radeon/R100_cp.bin
[drm] radeon: ring at 0xB800
[drm] ring test succeeded in 1 usecs
[drm] radeon: ib pool ready.
[drm] ib test succeeded in 0 usecs
[drm] No TV DAC info found in BIOS
[drm] No valid Ext TMDS info found in BIOS
[drm] Radeon Display Connectors
[drm] Connector 0:
[drm]   VGA
[drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
[drm]   Encoders:
[drm] CRT1: INTERNAL_DAC1
[drm] Connector 1:
[drm]   DVI-I
[drm]   HPD2
[drm]   DDC: 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c
[drm]   Encoders:
[drm] CRT2: INTERNAL_DAC2
[drm] DFP2: INTERNAL_DVO1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Christopher Hawker
Sorry if I seem a bit dumb in this question, but are these virtual
servers going to be used in a production environment or are they test
servers? Also, in my experience, using a GUI on a server is not really
necessary, as everything can be done from the command line. Yes it may
be easier to do it with a GUI, but if you know what you are doing and
what to do it professionally, stick to using the  command line and
give the idea of using a desktop the flick.

Regards,
Christopher Hawker

On 10/13/11, Bob Hoffman  wrote:
> One of the mods requested some data, here ya go..think it is a video
> issue...
>
> I think I am narrowing it down to choking on my ATI ES1000
> controller..which might be causing some issues.
>
> When I did a full desktop, everything worked okay though, but command
> line only or with x windows system video is a complete no go.
> although I can pull up text things like system-config-network, x will
> choke on config/hal: couldn't initialize context: (null) and pop right
> out. Display cannot open.
>
> Its make sense because now and then my ipmi card just gets a blurry
> video image and I have to reset the card.
> Also, it just shuts off (loses connection/video) sometimes and I must
> login again. Thought it was the card...but...
> it only happens when I am installing linux or it is installed. If
> playing in bios it has never happened.
>
> Tried the nomodeset thing, no change.
>   SELinux:  Starting in permissive mode
>
>
> dmesg of insterest, command line, install with package 'virtual host'
> -
>
>
> ACPI Warning for \_SB_._OSC: Return type mismatch - found Integer,
> expected Buffer (20090903/nspredef-1006)
> \_SB_:_OSC evaluation returned wrong type
> _OSC request data:1 7
> ACPI Warning: Incorrect checksum in table [OEMB] - 96, should be 8B
> (20090903/tbutils-314)
>
> Firmware did not grant requested _OSC control (this was between pci
> hotplug stuff)
> Firmware did not grant requested _OSC control
> Firmware did not grant requested _OSC control
> Firmware did not grant requested _OSC control
>
> composite sync not supported (with gnome installed there was a ton of these)
> composite sync not supported
> fbcon: radeondrmfb (fb0) is primary device
> [drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x08 0x30 write failed
>
> [drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x09 0x00 write failed
> [drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x0a 0x90 write failed
> [drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x0c 0x89 write failed
> [drm:radeon_i2c_sw_put_byte] *ERROR* i2c 0x08 0x3b write failed
> Console: switching to colour frame buffer device 128x48
> fb0: radeondrmfb frame buffer device
> drm: registered panic notifier
>
> [drm] Initialized radeon 2.1.0 20080528 for :01:01.0 on minor 0
>
> composite sync not supported ( a couple more of these just appeared a
> few lines lower than the previous line)
> composite sync not supported
> ---
>
> ---
> below is a whole section that seems to have dealt with the video card,
> and all seems okay for this (earlier in the boot up than errors above)
> ---
> [drm] Initialized drm 1.1.0 20060810
> [drm] radeon defaulting to kernel modesetting.
> [drm] radeon kernel modesetting enabled.
> radeon :01:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
> [drm] initializing kernel modesetting (RV100 0x1002:0x515E).
> [drm] register mmio base: 0xFBAD
> [drm] register mmio size: 65536
> radeon :01:01.0: VRAM: 64M 0xD800 - 0xDBFF (32M used)
> radeon :01:01.0: GTT: 512M 0xB800 - 0xD7FF
> [drm] radeon: irq initialized.
> [drm] Detected VRAM RAM=64M, BAR=128M
> [drm] RAM width 16bits DDR
> [TTM] Zone  kernel: Available graphics memory: 12299360 kiB.
> [TTM] Zone   dma32: Available graphics memory: 2097152 kiB.
> [drm] radeon: 32M of VRAM memory ready
> [drm] radeon: 512M of GTT memory ready.
> [drm] GART: num cpu pages 131072, num gpu pages 131072
> [drm] Loading R100 Microcode
> platform radeon_cp.0: firmware: requesting radeon/R100_cp.bin
> [drm] radeon: ring at 0xB800
> [drm] ring test succeeded in 1 usecs
> [drm] radeon: ib pool ready.
> [drm] ib test succeeded in 0 usecs
> [drm] No TV DAC info found in BIOS
> [drm] No valid Ext TMDS info found in BIOS
> [drm] Radeon Display Connectors
> [drm] Connector 0:
> [drm]   VGA
> [drm]   DDC: 0x60 0x60 0x60 0x60 0x60 0x60 0x60 0x60
> [drm]   Encoders:
> [drm] CRT1: INTERNAL_DAC1
> [drm] Connector 1:
> [drm]   DVI-I
> [drm]   HPD2
> [drm]   DDC: 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c 0x6c
> [drm]   Encoders:
> [drm] CRT2: INTERNAL_DAC2
> [drm] DFP2: INTERNAL_DVO1
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>


-- 
 If you have any questio

Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Bob Hoffman
chris hawker wrote
==

Sorry if I seem a bit dumb in this question, but are these virtual
servers going to be used in a production environment or are they test
servers? Also, in my experience, using a GUI on a server is not really
necessary, as everything can be done from the command line. Yes it may
be easier to do it with a GUI, but if you know what you are doing and
what to do it professionally, stick to using the  command line and
give the idea of using a desktop the flick.

===

I do not want to use the desktop. I am in command line. It will not work. You 
cannot
install a guest (production server, not test) without some kind of installation 
walk through.
a text install, a vnc, sdl, whatever...it should be able to open a window to do 
so.

the only way I could get it to work was a full install of gnome and that is not 
workable.
so little online with KVM and centos6, most are xen.

For some reason the virt-viewer and anything else cannot access my video for 
some reason.
 From looking online, this is a common issue among command line 
virt-installs..but no one
ever posts a final solution..lol

So far, after a few weeks of this, I have been unable to install, via command 
line, one guest.
I cannot get any kind of installer to come up in any kind of window/gui/etc.

very frustrating. Just sitting here with my useless brick of a computer unable 
to deploy it.
Gonna call supermicro today and ask about the es1000.
Also will try to install xorg to get to the xorg.conf and see if that can help, 
however most
errors are deeper in the boot than xorg.
Gonna try playing with the devices in grub I guess too.
Was thinking of getting a second card and trying to see if that would work.

bugzilla had tons of people complaining about issues like this one...it is 
probably the es1000
choking the systemcan't think of anything else that would cause displays 
that try to start to
just die.

However, in full gnome, it works flawlessly...so that theory is a little off... 
Card must be working.
Must be a setting in the basic 'virtual host' package that needs fine tuning.


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


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Christopher Hawker
A simple google search returned this: http://wiki.centos.org/HowTos/KVM I
don't know if it is helpful or not.

On Thu, Oct 13, 2011 at 11:46 PM, Bob Hoffman  wrote:

> chris hawker wrote
> ==
>
> Sorry if I seem a bit dumb in this question, but are these virtual
> servers going to be used in a production environment or are they test
> servers? Also, in my experience, using a GUI on a server is not really
> necessary, as everything can be done from the command line. Yes it may
> be easier to do it with a GUI, but if you know what you are doing and
> what to do it professionally, stick to using the  command line and
> give the idea of using a desktop the flick.
>
> ===
>
> I do not want to use the desktop. I am in command line. It will not work.
> You cannot
> install a guest (production server, not test) without some kind of
> installation walk through.
> a text install, a vnc, sdl, whatever...it should be able to open a window
> to do so.
>
> the only way I could get it to work was a full install of gnome and that is
> not workable.
> so little online with KVM and centos6, most are xen.
>
> For some reason the virt-viewer and anything else cannot access my video
> for some reason.
>  From looking online, this is a common issue among command line
> virt-installs..but no one
> ever posts a final solution..lol
>
> So far, after a few weeks of this, I have been unable to install, via
> command line, one guest.
> I cannot get any kind of installer to come up in any kind of
> window/gui/etc.
>
> very frustrating. Just sitting here with my useless brick of a computer
> unable to deploy it.
> Gonna call supermicro today and ask about the es1000.
> Also will try to install xorg to get to the xorg.conf and see if that can
> help, however most
> errors are deeper in the boot than xorg.
> Gonna try playing with the devices in grub I guess too.
> Was thinking of getting a second card and trying to see if that would work.
>
> bugzilla had tons of people complaining about issues like this one...it is
> probably the es1000
> choking the systemcan't think of anything else that would cause
> displays that try to start to
> just die.
>
> However, in full gnome, it works flawlessly...so that theory is a little
> off... Card must be working.
> Must be a setting in the basic 'virtual host' package that needs fine
> tuning.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>



-- 
If you have any questions, please do not hesitate to call me on +61 478 241
896.

Regards,
Christopher Hawker
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread m . roth
Bob Hoffman wrote:

> very frustrating. Just sitting here with my useless brick of a computer
> unable to deploy it.
> Gonna call supermicro today and ask about the es1000.
> Also will try to install xorg to get to the xorg.conf and see if that can
> help, however most errors are deeper in the boot than xorg.

Stil more pain, esp. since they decided to drop system-config-display,
which would always get you at least a minimal working video.

May I strongly recommend yesterday's XKCD ? Talk
about timely

 mark

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


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Bob Hoffman

=

Bob Hoffman wrote:

>/  very frustrating. Just sitting here with my useless brick of a computer
/>/  unable to deploy it.
/>/  Gonna call supermicro today and ask about the es1000.
/>/  Also will try to install xorg to get to the xorg.conf and see if that can
/>/  help, however most errors are deeper in the boot than xorg.
/mark wrote
Stil more pain, esp. since they decided to drop system-config-display,
which would always get you at least a minimal working video.

May I strongly recommend yesterday's XKCD? Talk
about timely


===

I am down to just a call to supermicro, which will probably be a waste.
After that I think buying a cheap 'more compatible' vga card for the box 
might solve the problems.
My last way out is to bite the bullet and install xorg/gnome/etc and 
hope it does not crash the guests.

Obviously centos 6 is pretty new, KVM is fairly new in a way (everyone 
does zen), its linux (),
and KVM googles don't work so well with KVM switches out there..lol

Not sure of the path here, I know continually reinstalling, repackaging, 
playing with grub, etc...cannot be
the way intended for a brand new install just to install a guest via 
command line.
I am thinking new video card.

First time sorely disappointed with supermicro...very disappointed 
unless they have a fix.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.7 Ethernet bonding - order of enslavement matters?

2011-10-13 Thread Emmanuel Noobadmin
On 10/13/11, whitivery  wrote:
>>Eth0 is the onboard device, using an updated VIA Velocity driver
>>(velocityget 1.42 instead of default via-velocity):
>>
>>05:00.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122
>>Gigabit Ethernet Adapter (rev 82)
>>
>>Eth1 is a Linksys (Cisco) USB300M USB-Ethernet dongle, using asix
>>driver:

Have you tried adding another Ethernet adapter? This is because I was
reading the bonding doc and towards the end there was this part

>As discussed in the options section, above, some drivers do
>not support the netif_carrier_on/_off link state tracking system.
>With use_carrier enabled, bonding will always see these links as up,
>regardless of their actual state.

So it might a driver issue, i.e. the VIA driver is not reporting the
link down correctly.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Using SD-card reader? (Lenovo T61/Richo R5C822 controller/sdhci driver)

2011-10-13 Thread Ned Slider
On 13/10/11 09:35, Toralf Lund wrote:
> Hi
>
> I'm trying to access an SD-card using the built-in reader on a Lenovo
> T61 Laptop running CentOS 5.7. The unit is recognised by lspci:
> # lspci
> [ ... ]
> 15:00.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
> Host Adapter (rev 21)
> 15:00.3 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 11)
> 15:00.4 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
> Adapter (rev 11)
> 15:00.5 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 11)
>
> and a driver is loaded and appears to find the device  - from
> /var/log/messages:
>
> Oct 13 09:30:48 i58524 kernel: sdhci: Secure Digital Host Controller
> Interface driver, 0.12
> Oct 13 09:30:48 i58524 kernel: sdhci: Copyright(c) Pierre Ossman
> Oct 13 09:30:48 i58524 kernel: sdhci: SDHCI controller found at
> :15:00.2 [1180:0822] (rev 21)
> Oct 13 09:30:48 i58524 kernel: ACPI: PCI Interrupt :15:00.2[C] ->
> GSI 18 (level, low) ->  IRQ 225
> Oct 13 09:30:48 i58524 kernel: mmc0: SDHCI at 0xf8101800 irq 225 DMA
>
> But then what?? If I insert a card in the drive, nothing particular
> happens. I mean, I the status LED on the unit lights up briefly, but
> there is no automount or anything, and I get no messages in the system
> log. And I can't find any appropriate devices under /dev. The card is
> accessible when using WinXP on the same machine...
>
> Help, anyone?
>
>
> - Toralf
>

I have a similar controller in my Dell laptop:

http://wiki.centos.org/HowTos/Laptops/Dell/XPS_M1330

03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro 
Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host 
Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev 12)

and at the time I tried it (a couple years back) the device was not 
supported on el5.

Originally I tried an updated driver from elrepo.org (IIRC it was 
kmod-mmc), which almost worked - I could access the device but I seem to 
recall I still had issues writing to it.

Eventually I installed an updated mainline kernel from elrepo.org 
(kernel-ml) and would boot to that kernel on the rare occasions I wanted 
to use the device which worked flawlessly. Elrepo.org currently offer 
2.6.35 and 2.6.39 series kernels for el5 and either should provide 
support for the device. If you want to try one I'd be tempted to 
recommend the kernel-ml-2.6.35 series.

http://elrepo.org/tiki/kernel-ml

I'm a bit disappointed to learn from your post that this hardware still 
isn't working natively on el5, although I suspect such issues receive 
very little attention/feedback on a more server orientated distribution.

Hope that helps.


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


[CentOS] pvresize on a cLVM

2011-10-13 Thread Antonio da Silva Martins Junior
Hi, 

   I'm needing to expand a LUN on my EMC CX4-120 SAN. (Well I already had done 
it).

   On this LUN I had a PV of a cLVM VG. Know I need to run pvresize on it. 

   Has anybody done this on a cLVM PV ? 

   I'm trying to rescan the devices, but I can't "see" the new size. And,
googling on it I can only find RHEL5.2 responses.

   Thanks in advance,

 
   Antonio.

-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!"   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

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


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Ljubomir Ljubojevic
Vreme: 10/13/2011 04:23 PM, Bob Hoffman piše:
> the way intended for a brand new install just to install a guest via
> command line.
> I am thinking new video card.
>
> First time sorely disappointed with supermicro...very disappointed
> unless they have a fix.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>

1. CentOS-virt mailinglist should be still active.

2. Are you aware that you can have one Desktop PC with installed 
Virt-Manager and use it to connect to running libvird (KVM) daemon on 
your server? I have KVM Guest on my C6 Desktop and use graphical 
Virt-Manager to setup new Guests. But, from that same Virt-Manager I am 
connected to my C5 server with C5 KVM Guest, and I can add new systems 
and manage existing ones.

3. Are you talking about actual VGD graphic card on the Barebone server 
(KVM Host)? If yes, do you know what type of Graphics card you have? 
ELRepo repository (www.elrepo.org) has newer drivers for ATI nVidia and 
Inter graphic cards.



-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] pvresize on a cLVM [SOLVED]

2011-10-13 Thread Antonio da Silva Martins Junior

- "Antonio da Silva Martins Junior"  escreveu:
> De: "Antonio da Silva Martins Junior" 
> Para: centos@centos.org
> Enviadas: Quinta-feira, 13 de Outubro de 2011 15:58:34 (GMT-0300) 
> Auto-Detected
> Assunto: [CentOS] pvresize on a cLVM
>
> Hi,
> 
>I'm needing to expand a LUN on my EMC CX4-120 SAN. (Well I already
> had done it).
> 
>On this LUN I had a PV of a cLVM VG. Know I need to run pvresize on
> it.
> 
>Has anybody done this on a cLVM PV ?
> 
>I'm trying to rescan the devices, but I can't "see" the new size.
> And, googling on it I can only find RHEL5.2 responses.
> 

Well, I did it :D

   After more search I found this: 
http://serverfault.com/questions/66638/how-to-extend-a-san-based-vdisk-in-red-hat-without-rebooting

   With this instructions:

1) Increase size of LUN in SAN
2) Check with "multipath -ll" which devices belong to said LUN
3) For each device above, do "echo 1 > /sys/block/sdX/device/rescan"
4) Go to multipath command line with "multipathd -k"
5) For each device, do "del path sdX", "add path sdX" while hoping that
  the multipathing functionality works as advertised and fails over 
properly.
6) "resize map multipath-map-name"
7) Exit multipath command line (Ctrl-D), check with "multipath -ll" that
  new size is seen.
8) pvresize, lvextend, resize2fs
9) Profit!

  Well, to do steps 4, 5 and 6 on a 10 node cluster will be a litte slow... 
then I did:

1) Increase size of LUN in SAN
2) Check with "multipath -ll" which devices belong to said LUN
3) For each device above, do "echo 1 > /sys/block/sdX/device/rescan" 
4) service multipathd restart
5) pvresize, lvextend, resize2fs

   The steps on 3, 4 and 5 where did with cexec (from C3 package).

   Works!! Solved!!

   Thanks,

 Antonio.

 






-- 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Antonio S. Martins Jr. - Support Analyst | "Only The Shadow Knows |
| Universidade Estadual de Maringá - Brasil|   what evil lurks in the   |
| NPD - Núcleo de Processamento de Dados   |   Heart of Men!"   |
| E-Mail: asmart...@uem.br / sha...@uem.br | !!! Linux User: 52392 !!!  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 "Real Programmers don’t need comments — the code is obvious."

-- 
Esta mensagem foi verificada pelo sistema de antivirus e
 acredita-se estar livre de perigo.

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


Re: [CentOS] Virtual host package, command line, I need help [solved, sort of]

2011-10-13 Thread Bob Hoffman
The thread is about an issue of not being able to bring up simple guis 
required to
install virt guests on centos 6.

Apparently a bug exists in xorg-x11-drv-ati-6.13.0-6.el6-x86_64
the driver for the ati es1000 and how it deals with xorg.
Ubuntu I think has popped in a fix as well as many others.
Redhat, as far as I could tell, added it to 6.1..something I guess not 
coming to centos for a while.

it is having an issue of addressing two things at once and freaks itself 
out. Simple fix (for the devs i guess) and listed
on the freedesktop.org bug list. However I have no idea how to redo a 
driver like that, much less specifically
designed for redhat.

After a month of fighting this and finally figuring it out, kinda bummed 
I cannot resolve it.
I have no choice but to buy a temporary card, lose access to IPMI due to 
second card, and just hope
they get out 6.1 sometime soon.

If you are getting a board and not doing gnome/kde but want to do 
X...you may have an issue if
it has an es1000, ati, radeon rn50.

well...now off to find a dang card so I can actually deploy this thing.

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


Re: [CentOS] Virtual host package, command line, I need help [solved, sort of]

2011-10-13 Thread John Hodrien
On Thu, 13 Oct 2011, Bob Hoffman wrote:

> After a month of fighting this and finally figuring it out, kinda bummed
> I cannot resolve it.
> I have no choice but to buy a temporary card, lose access to IPMI due to
> second card, and just hope
> they get out 6.1 sometime soon.

Can you not just pull that package from SL 6.1, or rebuild the SRPM from
Redhat?

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


Re: [CentOS] Virtual host package, command line, I need help

2011-10-13 Thread Trey Dockendorf
On Thu, Oct 13, 2011 at 2:52 PM, Ljubomir Ljubojevic wrote:

> Vreme: 10/13/2011 04:23 PM, Bob Hoffman piše:
> > the way intended for a brand new install just to install a guest via
> > command line.
> > I am thinking new video card.
> >
> > First time sorely disappointed with supermicro...very disappointed
> > unless they have a fix.
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> >
> >
>
> 1. CentOS-virt mailinglist should be still active.
>
> 2. Are you aware that you can have one Desktop PC with installed
> Virt-Manager and use it to connect to running libvird (KVM) daemon on
> your server? I have KVM Guest on my C6 Desktop and use graphical
> Virt-Manager to setup new Guests. But, from that same Virt-Manager I am
> connected to my C5 server with C5 KVM Guest, and I can add new systems
> and manage existing ones.
>
> 3. Are you talking about actual VGD graphic card on the Barebone server
> (KVM Host)? If yes, do you know what type of Graphics card you have?
> ELRepo repository (www.elrepo.org) has newer drivers for ATI nVidia and
> Inter graphic cards.
>
>
>
> --
>
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
>
> Google is the Mother, Google is the Father, and traceroute is your
> trusty Spiderman...
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

As others have pointed out, a GUI is unnecessary and also a bad idea on a
KVM server.

You'll want to have an account remote into the KVM server that isn't root.
 Use PolicyKit to add a group or user to have rights to control libvirt.
 Then you can either run virt-manager on a Linux desktop to connect to KVM,
or use X11 forwarding via SSH to view the server's virt-manager remotely,
which still won't require a desktop environment to be installed.  I have the
process and details documented here,
http://itscblog.tamu.edu/startup-guide-for-kvm-on-centos-6/.

Hope that helps,
- Trey
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] c6 xen guest install, golf, and geany (solved)

2011-10-13 Thread Mark Pryor
x



- Original Message -
From: John Hodrien 
To: CentOS mailing list 
Cc: 
Sent: Tuesday, October 11, 2011 11:50 PM
Subject: Re: [CentOS] c6 xen guest install, golf, and geany

On Tue, 11 Oct 2011, Mark Pryor wrote:

> List,
>
> Is it possible to do a text install (<512RAM) of C6 server, with support for
> X11 forwarding over ssh, and get geany (editor) to work over ssh?

Yes.

> I got X11 forwarding to work when I have a full Xfce desktop, but not with a
> server setup.
>
> I would like to golf this... IOW find the minimum number of packages.
>
> Any hints or kickstart configs for the needy?

There's really not much you need to install.  Minimal install + xauth + gedit
and I'd have thought you were there.  xauth is the important bit that you can
accidentally miss off.  You just need to check for ssh X forwarding working.
ssh -Y to your server and "echo $DISPLAY".  If it's not defined, you've got a
problem.

jh

I finally got it to work. I think the error was the lack of vfb=[] object 
during the
initial install. If you have a vfb from the beginning it will work.

I ended up with 267 packages in less than 900MB and all my goals were met:

  ++X11 forwarding works in ssh without an X server install

  ++geany works over ssh

http://paste.ubuntu.com/707751/

next I want to compile a C6 kernel that supports nfs root.

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