Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock - Debian

This is a discussion on Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock - Debian ; Package: linux-image-2.6.24-1-iop32x Version: 2.6.24-4 Severity: important Usertags: eabi Hi, the kernel 2.6.24 don't found the clock of my EM7220 lanner (It's a nas between SS4000e and iq31244). $ dmesg CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=0000397f Machine: Intel IQ31244 Memory ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

  1. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock


    Package: linux-image-2.6.24-1-iop32x
    Version: 2.6.24-4
    Severity: important
    Usertags: eabi

    Hi,
    the kernel 2.6.24 don't found the clock of my EM7220 lanner (It's a nas
    between
    SS4000e and iq31244).

    $ dmesg
    CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=0000397f
    Machine: Intel IQ31244
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 65536
    DMA zone: 512 pages used for memmap
    DMA zone: 0 pages reserved
    DMA zone: 65024 pages, LIFO batch:15
    Normal zone: 0 pages used for memmap
    Movable zone: 0 pages used for memmap
    CPU0: D VIVT undefined 5 cache
    CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
    CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    Kernel command line: console=ttyS0,115200 rw root=/dev/md1 force_ep80219
    initrd=0xa1800000,8M mem=256M@0xa0000000 panic=3
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 248832KB available (2492K code, 226K data, 100K init)
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    Security Framework initialized
    SELinux: Disabled at boot.
    Capability LSM initialized
    Mount-cache hash table entries: 512
    Initializing cgroup subsys ns
    Initializing cgroup subsys cpuacct
    CPU: Testing write buffer coherency: ok
    net_namespace: 64 bytes
    NET: Registered protocol family 16
    PCI: bus0: Fast back to back transfers disabled
    ep80219_pci_map_irq() called for unknown device PCI:0:5:0
    ep80219_pci_map_irq() called for unknown device PCI:0:5:1
    ep80219_pci_map_irq() called for unknown device PCI:0:5:2
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    checking if image is initramfs... it is
    Freeing initrd memory: 8192K
    NetWinder Floating Point Emulator V0.97 (double precision)
    audit: initializing netlink socket (disabled)
    audit(0.770:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
    console [ttyS0] enabled
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    physmap platform flash device: 00800000 at f0000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    Intel/Sharp Extended Query Table at 0x0031
    Using buffer write method
    cfi_cmdset_0001: Erase suspend on write enabled
    erase region 0: offset=0x0,size=0x20000,blocks=64
    cmdlinepart partition parsing not available
    Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e0000
    10 RedBoot partitions found on MTD device physmap-flash.0
    Creating 10 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "RedBoot"
    0x00040000-0x00240000 : "zImage"
    0x00240000-0x00640000 : "ramdisk.gz"
    0x00640000-0x00700000 : "wmdata"
    0x00700000-0x00740000 : "rammode"
    0x00740000-0x00760000 : "naskey"
    0x00760000-0x007a0000 : "log"
    0x007a0000-0x007c0000 : "vendor"
    0x007c0000-0x007c1000 : "RedBoot config"
    mtd: partition "RedBoot config" doesn't end on an erase block -- force
    read-only
    0x007e0000-0x00800000 : "FIS directory"
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    i2c-adapter i2c-0: failed,FF11,11,05
    iop-adma iop-adma.0: Intel(R) IOP: ( cpy intr )
    iop-adma iop-adma.1: Intel(R) IOP: ( cpy intr )
    NET: Registered protocol family 26
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    XScale DSP coprocessor detected.
    registered taskstats version 1
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)


    But there is no problem with a 2.6.22 :

    2.6.22$ dmesg
    [...]
    i2c /dev entries driver
    rtc-rs5c372 0-0032: assuming rs5c372b
    rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.4
    rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0


    -- System Information:
    Debian Release: 4.0
    APT prefers unstable
    APT policy: (500, 'unstable'), (50, 'testing'), (1, 'experimental')
    Architecture: armel (armv5tel)

    Kernel: Linux 2.6.24floolf2
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/bash

    Versions of packages linux-image-2.6.24-1-iop32x depends on:
    ii debconf [debconf-2.0] 1.5.20 Debian configuration
    management sy
    ii initramfs-tools [linux-initr 0.91e tools for generating an
    initramfs
    ii module-init-tools 3.3-pre11-4 tools for managing Linux
    kernel mo
    ii yaird [linux-initramfs-tool] 0.0.12-25 Yet Another mkInitRD

    linux-image-2.6.24-1-iop32x recommends no packages.

    -- debconf information:

    linux-image-2.6.24-1-iop32x/preinst/overwriting-modules-2.6.24-1-iop32x:
    true

    linux-image-2.6.24-1-iop32x/prerm/would-invalidate-boot-loader-2.6.24-1-iop32x:
    true

    linux-image-2.6.24-1-iop32x/preinst/failed-to-move-modules-2.6.24-1-iop32x:
    shared/kernel-image/really-run-bootloader: true
    linux-image-2.6.24-1-iop32x/postinst/depmod-error-2.6.24-1-iop32x: false
    linux-image-2.6.24-1-iop32x/preinst/lilo-has-ramdisk:
    linux-image-2.6.24-1-iop32x/postinst/bootloader-error-2.6.24-1-iop32x:
    linux-image-2.6.24-1-iop32x/preinst/abort-overwrite-2.6.24-1-iop32x:
    linux-image-2.6.24-1-iop32x/preinst/initrd-2.6.24-1-iop32x:
    linux-image-2.6.24-1-iop32x/preinst/bootloader-initrd-2.6.24-1-iop32x:
    true

    linux-image-2.6.24-1-iop32x/prerm/removing-running-kernel-2.6.24-1-iop32x:
    true
    linux-image-2.6.24-1-iop32x/postinst/old-initrd-link-2.6.24-1-iop32x: true
    linux-image-2.6.24-1-iop32x/preinst/elilo-initrd-2.6.24-1-iop32x: true
    linux-image-2.6.24-1-iop32x/preinst/abort-install-2.6.24-1-iop32x:

    linux-image-2.6.24-1-iop32x/postinst/depmod-error-initrd-2.6.24-1-iop32x:
    false

    linux-image-2.6.24-1-iop32x/postinst/create-kimage-link-2.6.24-1-iop32x:
    true

    linux-image-2.6.24-1-iop32x/postinst/bootloader-test-error-2.6.24-1-iop32x:
    linux-image-2.6.24-1-iop32x/preinst/lilo-initrd-2.6.24-1-iop32x: true

    linux-image-2.6.24-1-iop32x/postinst/old-system-map-link-2.6.24-1-iop32x:
    true
    * linux-image-2.6.24-1-iop32x/preinst/already-running-this-2.6.24-1-iop32x:

    linux-image-2.6.24-1-iop32x/postinst/old-dir-initrd-link-2.6.24-1-iop32x:
    true
    linux-image-2.6.24-1-iop32x/postinst/kimage-is-a-directory:

  2. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    * Florent Fourcot [2008-03-28 16:56]:
    > Package: linux-image-2.6.24-1-iop32x
    >
    > the kernel 2.6.24 don't found the clock of my EM7220 lanner (It's a nas
    > between
    > SS4000e and iq31244).


    CONFIG_RTC_DRV_RS5C372 is built into the kernel, so I don't see why it
    wouldn't work.

    Does the Debian kernel actually work on the EM7220? We don't enable
    CONFIG_MACH_EM7210 in our kernel, so I doubt it does. I guess you
    used your own config file. Does it enable RTC?

    --
    Martin Michlmayr
    http://www.cyrius.com/



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  3. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    Martin Michlmayr a écrit :
    >
    > Does the Debian kernel actually work on the EM7220? We don't enable
    > CONFIG_MACH_EM7210 in our kernel, so I doubt it does. I guess you
    > used your own config file. Does it enable RTC?
    >


    Yes, it's work. It's the official Debian kernel (the 2.6.22 and 2.6.24).

    $ dmesg
    Linux version 2.6.24-1-iop32x (Debian 2.6.24-4) (waldi@debian.org) (gcc
    version 4.1.3 20071209 (prerelease) (Debian 4.1.2-18)) #1 Fri Feb 22
    13:15:18 UTC
    2008
    CPU: XScale-80219 [69052e30] revision 0 (ARMv5TE), cr=0000397f
    Machine: Intel IQ31244
    Memory policy: ECC disabled, Data cache writeback
    On node 0 totalpages: 65536
    DMA zone: 512 pages used for memmap
    DMA zone: 0 pages reserved
    DMA zone: 65024 pages, LIFO batch:15
    Normal zone: 0 pages used for memmap
    Movable zone: 0 pages used for memmap
    CPU0: D VIVT undefined 5 cache
    CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
    CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
    Kernel command line: console=ttyS0,115200 rw root=/dev/md1 force_ep80219
    initrd=0xa1800000,8M mem=256M@0xa0000000 panic=3
    PID hash table entries: 1024 (order: 10, 4096 bytes)
    Console: colour dummy device 80x30
    Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
    Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
    Memory: 256MB = 256MB total
    Memory: 248704KB available (2496K code, 226K data, 100K init)
    Calibrating delay loop... 599.65 BogoMIPS (lpj=2998272)
    Security Framework initialized
    SELinux: Disabled at boot.
    Capability LSM initialized
    Mount-cache hash table entries: 512
    Initializing cgroup subsys ns
    Initializing cgroup subsys cpuacct
    CPU: Testing write buffer coherency: ok
    net_namespace: 64 bytes
    NET: Registered protocol family 16
    PCI: bus0: Fast back to back transfers disabled
    ep80219_pci_map_irq() called for unknown device PCI:0:5:0
    ep80219_pci_map_irq() called for unknown device PCI:0:5:1
    ep80219_pci_map_irq() called for unknown device PCI:0:5:2
    NET: Registered protocol family 2
    IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
    TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    TCP: Hash tables configured (established 8192 bind 8192)
    TCP reno registered
    checking if image is initramfs... it is
    Freeing initrd memory: 8192K
    NetWinder Floating Point Emulator V0.97 (double precision)
    audit: initializing netlink socket (disabled)
    audit(0.830:1): initialized
    VFS: Disk quotas dquot_6.5.1
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    async_tx: api initialized (async)
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0xfe800000 (irq = 28) is a 16550A
    console [ttyS0] enabled
    RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
    physmap platform flash device: 00800000 at f0000000
    physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
    Intel/Sharp Extended Query Table at 0x0031
    Using buffer write method
    cfi_cmdset_0001: Erase suspend on write enabled
    erase region 0: offset=0x0,size=0x20000,blocks=64
    cmdlinepart partition parsing not available
    Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e0000
    10 RedBoot partitions found on MTD device physmap-flash.0
    Creating 10 MTD partitions on "physmap-flash.0":
    0x00000000-0x00040000 : "RedBoot"
    0x00040000-0x00240000 : "zImage"
    0x00240000-0x00640000 : "ramdisk.gz"
    0x00640000-0x00700000 : "wmdata"
    0x00700000-0x00740000 : "rammode"
    0x00740000-0x00760000 : "naskey"
    0x00760000-0x007a0000 : "log"
    0x007a0000-0x007c0000 : "vendor"
    0x007c0000-0x007c1000 : "RedBoot config"
    mtd: partition "RedBoot config" doesn't end on an erase block -- force
    read-only
    0x007e0000-0x00800000 : "FIS directory"
    mice: PS/2 mouse device common for all mice
    i2c /dev entries driver
    i2c-adapter i2c-0: failed,FF11,11,05
    iop-adma iop-adma.0: Intel(R) IOP: ( cpy intr )
    iop-adma iop-adma.1: Intel(R) IOP: ( cpy intr )
    NET: Registered protocol family 26
    TCP bic registered
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    XScale DSP coprocessor detected.
    registered taskstats version 1
    drivers/rtc/hctosys.c: unable to open rtc device (rtc0)


    CONFIG_MACH_EM7210=y don't change the problem. I think that it can be
    the same problem with the glantank :
    http://pub.ne.jp/mephisto_tres/?entry_id=982336

    --
    Florent Fourcot.


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

    iD8DBQFH7S945Y0WuYomQc4RAvsNAJ9qIdd67UviwoIjBhWo9+ HP/3arEwCgmJuo
    605MeeWQn74yrFx7U9KILdQ=
    =VpSf
    -----END PGP SIGNATURE-----


  4. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    * Florent Fourcot [2008-03-28 16:56]:
    > the kernel 2.6.24 don't found the clock of my EM7220 lanner (It's a
    > nas between SS4000e and iq31244).


    Out of interest, is this sold as the EM7220 or what is the device
    exactly? Do you have any URLs?

    --
    Martin Michlmayr
    http://www.cyrius.com/



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  5. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    Martin Michlmayr a écrit :
    > * Florent Fourcot [2008-03-28 16:56]:
    >> the kernel 2.6.24 don't found the clock of my EM7220 lanner (It's a
    >> nas between SS4000e and iq31244).

    >
    > Out of interest, is this sold as the EM7220 or what is the device
    > exactly? Do you have any URLs?
    >


    Yes, I have.
    The nas is a NS-4110 from lanner.
    A picture from the motherboard : http://fourcot.fr/imga0585.jpg (1,3 Mo)
    A document from lanner : http://fourcot.fr/supplier_211179_ic.pdf (1 Mo)

  6. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    OK, so the problem is that you use the IQ31244 support, and the
    IQ31244 doesn't have RTC. I suggest you use the kernel support for
    EM7210 instead, which should be closer to the EM7220 than the IQ31244.
    I will activate support for EM7210 for 2.6.25.

    Since your boot loader obviously tells the kernel it's a IQ31244
    rather than a EM7220, you have to prepand a couple of bytes to set the
    machine id to that of EM7220 (or, rather, EM7210, which is supported
    in the kernel). The machine ID for EM7210 is 1212, so 0x04bc.

    devio > header 'wl 0xe3a01c04,4' 'wl 0xe38110bc,4'

    and then

    cat header vmlinux* > new-kernel

    should work.
    --
    Martin Michlmayr
    http://www.cyrius.com/



    --
    To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

  7. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    Martin Michlmayr a écrit :
    > OK, so the problem is that you use the IQ31244 support, and the
    > IQ31244 doesn't have RTC. I suggest you use the kernel support for
    > EM7210 instead, which should be closer to the EM7220 than the IQ31244.
    > I will activate support for EM7210 for 2.6.25.



    The RTC in EM7210 and EM7220 is not exactly the same. In the EM7210 :

    /*
    * EM7210 RTC
    */
    static struct i2c_board_info __initdata em7210_i2c_devices[] = {
    {
    I2C_BOARD_INFO("rtc-rs5c372", 0x32),
    .type = "rs5c372a",
    },
    };

    In the EM7220 :

    rtc-rs5c372 0-0032: assuming rs5c372b
    rtc-rs5c372 0-0032: rs5c372b found, 24hr, driver version 0.4

    There is no difference between rs5c372b and rs5c372a ?

    PS : I'm sorry for the fail of reply-to...

  8. Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock

    Martin Michlmayr a écrit :

    >
    > It's still more similar to IQ31244, which doesn't define a RTC device
    > at all.


    It's wonderful, it work with EM7210 enabled on a 2.6.24 kernel.
    Thank you for your help.

    $ dmesg
    [..]
    Machine: Lanner EM7210
    [..]
    i2c /dev entries driver
    rtc-rs5c372 0-0032: rs5c372a found, 24hr, driver version 0.5
    rtc-rs5c372 0-0032: rtc core: registered rtc-rs5c372 as rtc0
    [...]
    rtc-rs5c372 0-0032: setting system clock to 2008-03-31 21:36:52 UTC
    (1206999412)

    --
    Florent Fourcot.

  9. Bug#473136: marked as done (linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock)


    Your message dated Mon, 28 Apr 2008 12:08:45 +0000
    with message-id
    and subject line Bug#473136: fixed in linux-2.6 2.6.25-1
    has caused the Debian Bug report #473136,
    regarding linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock
    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
    immediately.)


    --
    473136: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473136
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems


+ Reply to Thread