Upgrade the kernel using yast or zipper

Is there any way to upgrade the kernel from downloaded source code, using yast or zipper (by custom installation repository or something like that)?

Upgrade more than you can from normal updates?
Why?

caf4926 wrote:
> rahulcvv;2358691 Wrote:
>> Is there any way to upgrade the kernel from downloaded source code,
>> using yast or zipper (by custom installation repository or something
>> like that)?
>
> Upgrade more than you can from normal updates?
> Why?

I think the question might be better expressed as “what’s the best way
to build a kernel from source, ideally using opensuse’s system
management infrastructure?”

There is some problem with my audio driver (not detecting all h/w component). see the link
Sound not only in the headphones - Page 3

With yast or zypper? No way that I know of.

But it’s easy with the wonderful S.A.K.C script. Look here:

S.A.K.C. - SUSE Automated Kernel Compiler - Version 2.00 - Page 7

Yes, but it was only advice to update your kernel in line with current updates, which have not done. It will be fine to do it.

Actually I’m new to suse and linux. Can you guide how to update it?

Reading the other thread makes it clear to me that you do not really want to update your kernel from SOURCE. As you are saying you’re new to suse and linux it would not be a very good idea anyway. Do the following:

  1. Yast → Software Repositories
    Make sure that the update repository for your release is enabled.

  2. Yast → Software Installation (==> view the update repository)
    Your current kernel will appear in blue. Click the refresh button. Accept changes.

  3. Reboot

Open a terminal

su -
zypper ref

then

zypper up

You need to reboot after a kernel update.

It might be an idea to let us check your repos. Post result of

zypper lr -d

I didn’t get you.
Do you want to know about repos now or after updating the kernel?

Lets see them now


# zypper lr -d
#  | Alias                            | Name                             | Enabled | Refresh | Priority | Type   | URI                                                                               | Service
---+----------------------------------+----------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
 1 | 11.4 - VideoLan                  | 11.4 - VideoLan                  | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/videolan/vlc/SuSE/11.4/                          |        
 2 | Packman Repository               | Packman Repository               | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/openSUSE_11.4/                                       |        
 3 | Updates-for-openSUSE-11.4-11.4-0 | Updates for openSUSE 11.4 11.4-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.4/                                         |        
 4 | VLC                              | VLC                              | Yes     | Yes     |   99     | rpm-md | http://download.videolan.org/pub/vlc/SuSE/11.4                                    |        
 5 | libdvdcss                        | libdvdcss                        | Yes     | Yes     |   99     | rpm-md | http://www.opensuse-guide.org/repo/11.4                                           |        
 6 | libdvdcss repository             | libdvdcss repository             | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/11.4/                                              |        
 7 | openSUSE-11.4-11.4-0             | openSUSE-11.4-11.4-0             | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Micro_0164511DFB8145F2-0:0-part1 |        
 8 | packman                          | packman                          | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/11.4                                                 |        
 9 | repo-debug                       | openSUSE-11.4-Debug              | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                    |        
10 | repo-debug-update                | openSUSE-11.4-Update-Debug       | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/11.4/                                   |        
11 | repo-non-oss                     | openSUSE-11.4-Non-Oss            | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                      |        
12 | repo-oss                         | openSUSE-11.4-Oss                | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                          |        
13 | repo-source                      | openSUSE-11.4-Source             | No      | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss/                   |        
14 | wine                             | wine                             | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.4/          |        


You should remove repo 1,2,3,4,5

The do a general update with

su -
zypper up

Re: My advice above on the repos:
You do not need VLC repo
Once you have done a general update, see if you can do this:
http://dl.dropbox.com/u/10573557/Switcher%20Pics/11.4_packman_switch.png

If you use Gnome is looks like this
http://dl.dropbox.com/u/10573557/Switcher%20Pics/packman%20in%20gnome.png

ok I update it using zypper up.
But I don’t find any different, the kernel version is still “2.6.37.1-1.2-desktop”!!!
How can I check if any thing went wong?

Open a terminal and do this, (post result back here)

su -
zypper lu

linux-rahul:/home/rahul # zypper lu
Empty destination in URI: hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Micro_0164511DFB8145F2-0:0-part1

Abort, retry, ignore? [a/r/i/?] (a): i
Error retrieving metadata for 'openSUSE-11.4-11.4-0':
Empty destination in URI: hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Micro_0164511DFB8145F2-0:0-part1

Warning: Disabling repository 'openSUSE-11.4-11.4-0' because of the above error.
Retrieving repository 'packman' metadata [done]
Building repository 'packman' cache [done]
Retrieving repository 'wine' metadata [done]
Building repository 'wine' cache [done]
Loading repository data...
Reading installed packages...
S | Repository | Name       | Current Version | Available Version | Arch
--+------------+------------+-----------------+-------------------+-----
v | wine       | wine       | 1.3.23-1.1      | 1.3.23-2.1        | i586
v | wine       | wine-32bit | 1.3.23-1.1      | 1.3.23-2.1        | i586



Please post again - result

zypper lr -d

You need to remove that entry in the repos:

hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Micro

Then I think you may need to do this

su -
zypper ar -f http://download.opensuse.org/update/11.4/ updates
zypper ref
zypper up

linux-rahul:/home/rahul # zypper lr -d
# | Alias                | Name                       | Enabled | Refresh | Priority | Type   | URI                                                                               | Service
--+----------------------+----------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------+--------
1 | libdvdcss repository | libdvdcss repository       | Yes     | Yes     |   99     | rpm-md | http://opensuse-guide.org/repo/11.4/                                              |        
2 | openSUSE-11.4-11.4-0 | openSUSE-11.4-11.4-0       | Yes     | Yes     |   99     | yast2  | hd:///?device=/dev/disk/by-id/usb-SanDisk_Cruzer_Micro_0164511DFB8145F2-0:0-part1 |        
3 | packman              | packman                    | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/11.4                                                 |        
4 | repo-debug           | openSUSE-11.4-Debug        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.4/repo/oss/                    |        
5 | repo-debug-update    | openSUSE-11.4-Update-Debug | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/update/11.4/                                   |        
6 | repo-non-oss         | openSUSE-11.4-Non-Oss      | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/non-oss/                      |        
7 | repo-oss             | openSUSE-11.4-Oss          | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.4/repo/oss/                          |        
8 | repo-source          | openSUSE-11.4-Source       | No      | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/11.4/repo/oss/                   |        
9 | wine                 | wine                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Emulators:/Wine/openSUSE_11.4/          |