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.
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...
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=397f 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=0xa180,8M [EMAIL PROTECTED] 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 0xfe80 (irq = 28) is a 16550A console [ttyS0] enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize physmap platform flash device: 0080 at f000 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=0x2,blocks=64 cmdlinepart partition parsing not available Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e 10 RedBoot partitions found on MTD device physmap-flash.0 Creating 10 MTD partitions on physmap-flash.0: 0x-0x0004 : RedBoot 0x0004-0x0024 : zImage 0x0024-0x0064 : ramdisk.gz 0x0064-0x0070 : wmdata 0x0070-0x0074 : rammode 0x0074-0x0076 : naskey 0x0076-0x007a : log 0x007a-0x007c : vendor 0x007c-0x007c1000 : RedBoot config mtd: partition RedBoot config doesn't end on an erase block -- force read-only 0x007e-0x0080 : 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-tools3.3-pre11-4 tools
Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock
* Florent Fourcot [EMAIL PROTECTED] [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 [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
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) ([EMAIL PROTECTED]) (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=397f 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=0xa180,8M [EMAIL PROTECTED] 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 0xfe80 (irq = 28) is a 16550A console [ttyS0] enabled RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize physmap platform flash device: 0080 at f000 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=0x2,blocks=64 cmdlinepart partition parsing not available Searching for RedBoot partition table in physmap-flash.0 at offset 0x7e 10 RedBoot partitions found on MTD device physmap-flash.0 Creating 10 MTD partitions on physmap-flash.0: 0x-0x0004 : RedBoot 0x0004-0x0024 : zImage 0x0024-0x0064 : ramdisk.gz 0x0064-0x0070 : wmdata 0x0070-0x0074 : rammode 0x0074-0x0076 : naskey 0x0076-0x007a : log 0x007a-0x007c : vendor 0x007c-0x007c1000 : RedBoot config mtd: partition RedBoot config doesn't end on an erase block -- force read-only 0x007e-0x0080 : 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. signature.asc Description: OpenPGP digital signature
Bug#473136: linux-image-2.6.24-1-iop32x: Can't found /dev/rtc : not hardware clock
Martin Michlmayr a écrit : * Florent Fourcot [EMAIL PROTECTED] [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)