I know how .src.rpm 's work, i installed the .src.rpm to get the
patches (clean kernel did not work).

in the .src.rpm are 2 tarballs, the 1st is then the basic 2.6.17
kernel from kernel.org, and the other contains patches.

i don't really get the significance of the %use_patch 0 macro. does
this mean that use_patch 0 means NO patches applied? (or is this about
other patches?), if i rebuild the kernel, does this mean i need to set
this to 1 ? or comment out that line?

if i'm using a clean kernel + mdv patches and it works, but the mdv
kernel doesn't work, then how can that be?

this means that the diff is in the patches, i used a subset of all patches:
BK01_alsa_1.0.12_20060828.patch
CA03_boot-video-80x25-if-break.patch
CA05_pnpbios-off-as-default.patch
CA07_BadRAM-2.6.17.1.patch
CA24_dev-mem-restriction-patch.patch
CA31_module-alias.patch
CA37_kill-noisy-i2c-printk.patch
CA41_set_page_dirty_nobuffers-race-fix.patch
CA43_prefetch-arithm-fix.patch
CA57_smp_alt_x86_64.patch
CA58_smp_alt_vs_up_messages.patch
CA59_modpost-64bit-fix.patch
CD01_bootsplash-3.1.6-2.6.15.patch
CD02_mdk_logo.patch
CE01_acpi=on.patch
CE02_acpi-dsdt-initrd-v0.8.2-2.6.17.patch
CE03_acpi_off-fix.patch
CE06_button_event.patch
CE07_acpi-dsdt-initrd-v0.7e-2.6.14.patch
CE08_button_event_dont_use_clear_event.patch
CE09_acpi_fix_double_video_proc_entries.patch
CE10_fix_acpi_fix_double_video_proc_entries.patch
CP04_pci_set_power_state-might-sleep.patch
DA02_destroy_inode-oops-fix.patch
DA54_alsa-intel-id-quirks-swap-hp.patch
DA57_fix-scancode-keycode-scancode-conversion-for-265.patch
DA60_ipmi.desc
DA70_eata_pio_enabled.patch
DA71_fix_ipmi_msghandler_rmmod_oops.patch
DA72_azalia_disable_msi.patch
DA73_i8k-disable-fnkey-if-unsafe.patch
DB16_gzloop.patch
DB17_changeloop.patch
DB36_libata_ata_wait_register.patch
DB37_vt8251_ahci1.patch
DB38_atapiix_fixes.patch
DB41_ahci_suspend_take1.patch
DB42_ahci_sis966.patch
DI08_libata_enable.patch
DN33_netfilter_IFWLOG.patch
DN34_ipset_svn20060804.patch
DN35_conntrack_sip_svn20060804.patch
DN36_ipv6_fixes.patch
DN37_git_wireless_26_net_ieee80211.patch
DN38_git_wireless_26_includes.patch
DN39_git_wireless_26_net_wireless.patch
DN40_netfilter_psd.patch
FS01_supermount-2.0.4.patch
FS02_smb-uid-gid-permisions-fix.patch
FS09_supermount-no-warning-when-busy.patch
HB03_x86-64-singlestep-through-sigreturn-system-call.patch
MB01_3rdparty-1.0.tar
MB02_3rdparty_merge.patch
MC09_prism25-0.2.3-r1774.tar
P503_mandriva_brand.patch
XE01_20060703.patch
XE02_xen_vs_smp_alt_x68_64.patch
XE03_fix_reversed_test_order_netif_tx_trylock.patch

but since i applied these on a 2.6.17.13 kernel, the kernel.org
patches from 1 to 13 are not the problem.

If i'm correct in my assumptions, then this means that one of the
patches NOT listed here is at fault and gives irq problems making it
unable to IDENTIFY the disk. (unless you did not apply these patches
on the mdv kernel.)

kind regards,

Maarten

2006/11/1, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
Maarten Vanraes schrieb:
> I've installed the .src.rpm on my system, wanting to replace the
> kernel with my version, but i don't really understand how this
> .src.rpm comes to effect.
>
> do you always start from the kernel .1 version with the patchsets from
> the others?
>
> why does the spec file contain %use_patch 0 ?
>
> thanks for the help in advance,
First, a src.rpm is a Source RPM meaning it has to be rebuilt on your
machine to produce a binary RPM which you can install, replacing your
kernel (or whatever).

And that use_patch-macro can be (mis-)used to patch the kernel easily or
to apply a RC-patchset, but you should pay attention to what you're
changing. If you don't have experience in building rpms or even know how
to rebuild them, then a MUST for you would be to read these:

http://qa.mandriva.com/twiki/bin/view/Main/RpmHowTo
http://qa.mandriva.com/twiki/bin/view/Main/RpmHowToAdvanced

On the process of kernel building, simply put mandriva takes a
kernel.org tarball, extracts it and applies a big set of patches (like
the file 2.6.17-q5.tar.bz2 you mentioned and extracted your ahci patches
from)

Hope i could help a bit to clarify things



--
Alien is my name and head-biting is my game

Reply via email to