Pokazywanie postów oznaczonych etykietą kernel. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą kernel. Pokaż wszystkie posty

poniedziałek, 28 kwietnia 2008

Hardy and VmWare

Hi, there is new version of ubuntu/kubuntu. It is very easy to upgrade ... if you believe in fairy tales.

In fact, it's completely unpredictable. If you have a lot of packets (I have about 2k) it is almost 100% sure that you will destroy your system.

There is resolution. Try to do it without logging into kde/gnome. Just console. apt-get dist-upgrade should work fine. I don't guarantee but it should :) . If it's not then check if file /etc/apt/sources.list contains 'gutsy' or 'hardy' lines. If still gutsy then copy file to some .old file and do #sed 's/gutsy/hardy/g' sources.list.old > sources.list and then #apt-get dist-upgrade. After couple of hours of fixing broken dependencies I have new updated kubuntu :D

One more big bug I just found is problem with VmWare Server. Simply, not working. Its common with VmWare that it's not working with new kernels and Hardy uses 2.6.24-16 (Thats why I like centos - old kernels ;)). There is quite fast way to resolve.

I used this post and it works.

poniedziałek, 12 listopada 2007

OnBoard Ethernet Gigabyte 8i945GCMX-S2 in CentOS5

Situation:

- CeontOS5.0 with Xen installed on machine with Gigabyte 8i945GCMX-S2
- No ethernet card discovered

Resolution:

try:

#lspci

for this device there should be:

01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169SC Gigabit Ethernet (rev 10)

if so, then download linux 2.6 driver from here and untar it. Next steps are described in its readme file but i'll put short in here.

on CentOS5.0 with Xen type (as root):

#yum install kernel-xen-devel

(If your kernel is without xen it will be #yum install kernel-devel).
Now change directory to this unpacked driver previously downloaded and type:

# make clean modules

# make install

# depmod -a

# insmod ./src/r8169.ko


Now it should work. Try dmesg. It should show something like:

r8169 Gigabit Ethernet driver 6.003.00-NAPI loaded
ACPI: PCI Interrupt 0000:01:05.0[A] -> GSI 21 (level, low) -> IRQ 20
eth1: RTL8169SC/8110SC at 0xee62e000, 00:1a:4d:3c:42:e2, IRQ 20

You can also try ifconfig -a. There should be eth0 (or ethN where N is number)