You are not logged in.

#1 2012-12-15 19:15:09

tokoro
Member
From: Mexico City
Registered: 2011-11-30
Posts: 51

[Solved] Deprecated warnings while updating linux

Today while updating linux to its 3.6.10-1 version I got these warnings.

>>> Updating module dependencies. Please wait ...
>>> Generating initial ramdisk, using mkinitcpio.  Please wait...
==> Building image from preset: 'default'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux.img
==> Starting build: 3.6.10-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux.img
==> Image generation successful
==> Building image from preset: 'fallback'
  -> -k /boot/vmlinuz-linux -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: 3.6.10-1-ARCH
  -> Running build hook: [base]
  -> Running build hook: [udev]
==> WARNING: Hook 'pata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'scsi' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
==> WARNING: Hook 'sata' is deprecated. Replace it with 'block' in your config
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [usbinput]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating gzip initcpio image: /boot/initramfs-linux-fallback.img
==> Image generation successful

I'm already using only systemd . Where should I replace the hooks with block?

Last edited by tokoro (2012-12-15 19:28:16)


Non native English speaker [in, on, at are the same to me]

Offline

#2 2012-12-15 19:17:58

Into the Pit
Member
Registered: 2010-09-04
Posts: 36

Re: [Solved] Deprecated warnings while updating linux

Have a look at your

/etc/mkinitcpio.conf.pacnew

and merge those files.

Offline

#3 2012-12-15 19:27:58

tokoro
Member
From: Mexico City
Registered: 2011-11-30
Posts: 51

Re: [Solved] Deprecated warnings while updating linux

Into the Pit wrote:

Have a look at your

/etc/mkinitcpio.conf.pacnew

and merge those files.


Thanks, that solved it. Last time I ignored a deprecated warning, it came back to haunt me.


Non native English speaker [in, on, at are the same to me]

Offline

Board footer

Powered by FluxBB