[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#535354: marked as done (linux-image-2.6.30-1-powerpc: PowerPC RTC Device needs kernel configuration change to work)

Your message dated Sun, 19 Jul 2009 13:08:42 -0600
with message-id <20090719190842.GH2951@lackof.org>
and subject line Re: Bug#535354: linux-image-2.6.30-1-powerpc: PowerPC RTC Device needs kernel configuration change to work
has caused the Debian Bug report #535354,
regarding linux-image-2.6.30-1-powerpc: PowerPC RTC Device needs kernel configuration change to work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

535354: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535354
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: linux-image-2.6.30-1-powerpc
Version: 2.6.30-1
Severity: important
Tags: patch

The powerpc RTC support has changed to use RTC_DEV_GENERIC, rather than
the RTC_DEV_PPC option in 2.6.29 and below. The configuration needs to
be updated to use RTC_DEV_GENERIC, indeed, the RTC_DEV_PPC option has
been deleted in 2.6.30. The relevent patch causing the issue is here.


Steps to reproduce:

Boot using this kernel on a PPC platform. The init scripts will complain
that the RTC cannot be accessed.

Steps to fix:

Rebuild kernel with CONFIG_RTC_DEV_GENERIC=y. I've done this and it
works perfectly.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.30-1-powerpc
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.30-1-powerpc depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  initramfs-tools [linux-initra 0.93.3     tools for generating an initramfs
ii  libc6                         2.9-18     GNU C Library: Shared libraries
ii  module-init-tools             3.9-2      tools for managing Linux kernel mo

linux-image-2.6.30-1-powerpc recommends no packages.

Versions of packages linux-image-2.6.30-1-powerpc suggests:
pn  linux-doc-2.6.30              <none>     (no description available)
pn  mkvmlinuz                     <none>     (no description available)

-- debconf information:
  linux-image-2.6.30-1-powerpc/postinst/old-system-map-link-2.6.30-1-powerpc: true
  shared/kernel-image/really-run-bootloader: true
  linux-image-2.6.30-1-powerpc/preinst/elilo-initrd-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/prerm/would-invalidate-boot-loader-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/postinst/old-dir-initrd-link-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/postinst/old-initrd-link-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/preinst/bootloader-initrd-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/postinst/depmod-error-2.6.30-1-powerpc: false
  linux-image-2.6.30-1-powerpc/prerm/removing-running-kernel-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/postinst/create-kimage-link-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/postinst/depmod-error-initrd-2.6.30-1-powerpc: false
  linux-image-2.6.30-1-powerpc/preinst/overwriting-modules-2.6.30-1-powerpc: true
  linux-image-2.6.30-1-powerpc/preinst/lilo-initrd-2.6.30-1-powerpc: true

--- End Message ---
--- Begin Message ---
On Sun, Jul 19, 2009 at 01:31:56AM +0200, Mourad De Clerck wrote:
> reopen 535354
> thanks
> It seems that this bug hasn't been resolved yet.

Actually, I think the scope of this bug is resolved (though it looks
like you have found a different one). The requested config option did
get added, and I verified that it does fix the issue with rtc
discovery on my system (mac mini). I just confirmed that this did not
regress in 2.6.30-3.

>  I'm currently on
> linux-image-2.6.30-1-powerpc 2.6.30-3 - yet rtc-generic complains:
> rtc-generic: hctosys: unable to read the hardware clock
> when trying "hwclock --systohc" for instance, it responds with the
> following:
> RTC_RD_TIME: Invalid argument
> ioctl() to /dev/rtc0 to read the time failed.

Would you mind filing a separate bug for this? I'd suggest using the
reportbug tool to collect more information about your system.

Also, if you could test one of the snapshot builds of 2.6.31 (see
http://wiki.debian.org/DebianKernel), that would provide useful

dann frazier

--- End Message ---

Reply to: