[Letux-kernel] [PATCH 00/20] A bunch of JZ4730 fixups for letux-kernel

H. Nikolaus Schaller hns at goldelico.com
Wed Dec 23 15:56:01 CET 2020


Hi all,
having had an inspiration, I switched my rootfs from Bullseye to Jessie.
And now I can boot up to a login!

The boot process is painfully slow, but finally succeeds. Operation on command line feels quick.

First collection of impressions:
- MMC is working (even w/o DMA)
- date is counting in 1 second steps, so only the timing info in dmesg is wrong (maybe the 1 second timer is ok, but the µs or ns count wrong)
- TCP/IP works on loopback
- some device drivers are not successfully loaded
  (some of them are part of the default Letux setup and make no sense, e.g. g-ether, bluetooth)
- keyboard /dev/input exists and evtest lists the keys but it reports a KEY_FN autorepeat...
- USB is not working
- Ethernet and WiFi are obviously not working (expected)
- I2C only reports timeouts for i2cdetect
- LCD is not working (expected)
- no sound card (expected)
- there are 3 rtc devices (/dev/rtc, /dev/rtc0, /dev/rtc1) and none is working
- only 2 out of the 3 caps/num/scroll lock LEDs are working (wrong gpio assigned?)
- trackpad not working (AFAIR it is USB)

Despite all these issues it is IMHO a nice Xmas present to have the Letux 400 back to some operation :)

BR,
Nikolaus


## Booting kernel from Legacy Image at 84000000 ...
   Image Name:   Linux-5.10.0-letux-l400+
   Image Type:   MIPS Linux Kernel Image (gzip compressed)
   Data Size:    5209050 Bytes = 5 MiB
   Load Address: 80100000
   Entry Point:  808c33e4
   Verifying Checksum ... OK
## Flattened Device Tree blob at 81100000
   Booting using the fdt blob at 0x81100000
   Uncompressing Kernel Image
[    0.000000] Linux version 5.10.0-letux-l400+ (hns at iMac.fritz.box) (mipsel-linux-gnu-gcc (GCC) 4.9.2, GNU ld (GNU Binutils) 2.25) #4373 PREEMPT Wed Dec 23 13:00:46 CET 2020
[    0.000000] CPU0 revision is: 02d0024f (Ingenic XBurst)
[    0.000000] MIPS: machine is letux400,minipc
[    0.000000] earlycon: jz4740_uart0 at MMIO32 0x10030000 (options '115200n8')
[    0.000000] printk: bootconsole [jz4740_uart0] enabled
[    0.000000] printk: debug: ignoring loglevel setting.
[    0.000000] User-defined physical RAM map overwrite
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] cma: Reserved 32 MiB at 0x01800000
[    0.000000] Primary instruction cache 16kB, VIVT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 288 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: mem=128M earlycon=jz4740_uart,mmio32,0x10030000,115200n8 ignore_loglevel clocksource=jiffies clk_ignore_unused console=tty0 console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4,ext3 rootwait
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 84948K/131072K available (7976K kernel code, 808K rwdata, 2732K rodata, 316K init, 169K bss, 13356K reserved, 32768K cma-reserved)
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 256
[    0.000000] random: get_random_bytes called from start_kernel+0x6d8/0x920 with crng_init=0
[    0.000000] clocksource: ingenic-timer: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 7910990 ns
[    0.000056] sched_clock: 16 bits at 3686kHz, resolution 271ns, wraps every 8888753ns
[    0.009900] Console: colour dummy device 80x25
[    0.001255] printk: console [tty0] enabled
[    0.005647] Calibrating delay loop... 594.73 BogoMIPS (lpj=2973696)
[    0.025383] pid_max: default: 32768 minimum: 301
[    0.030950] LSM: Security Framework initializing
[    0.036178] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.026379] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.027376] rcu: Hierarchical SRCU implementation.
[    0.035201] devtmpfs: initialized
[    0.030949] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.041284] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.038913] pinctrl core: initialized pinctrl subsystem
[    0.046523] regulator-dummy: no parameters, enabled
[    0.036875] NET: Registered protocol family 16
[    0.047494] thermal_sys: Registered thermal governor 'fair_share'
[    0.047558] thermal_sys: Registered thermal governor 'step_wise'
[    0.036428] thermal_sys: Registered thermal governor 'user_space'
[    0.054864] jz4780-dma 10020000.dma: JZ4780 DMA controller initialised
[    0.052568] vcc: 3300 mV, enabled
[    0.057062] reg-fixed-voltage regulator at 0: vcc supplying 3300000uV
[    0.064525] vmmc: 3300 mV, disabled
[    0.051631] reg-fixed-voltage regulator at 1: vmmc supplying 3300000uV
[    0.061067] SCSI subsystem initialized
[    0.056197] libata version 3.00 loaded.
[    0.065571] usbcore: registered new interface driver usbfs
[    0.056057] usbcore: registered new interface driver hub
[    0.062660] usbcore: registered new device driver usb
[    0.056398] Advanced Linux Sound Architecture Driver Initialized.
[    0.075171] VFS: Disk quotas dquot_6.6.0
[    0.079627] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.081610] NET: Registered protocol family 2
[    0.072188] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.081098] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071687] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.079071] TCP: Hash tables configured (established 1024 bind 1024)
[    0.086366] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.075749] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.083883] NET: Registered protocol family 1
[    0.075846] random: fast init done
[    0.081738] RPC: Registered named UNIX socket transport module.
[    0.087928] RPC: Registered udp transport module.
[    0.092823] RPC: Registered tcp transport module.
[    0.081704] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.084473] Initialise system trusted keyrings
[    0.095606] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.087478] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.102149] Key type asymmetric registered
[    0.089747] Asymmetric key parser 'x509' registered
[    0.095708] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.103500] io scheduler mq-deadline registered
[    0.090949] io scheduler kyber registered
[    0.101178] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled
[    0.091000] printk: console [ttyS0] disabled
[    0.096992] 10030000.serial: ttyS0 at MMIO 0x10030000 (irq = 10, base_baud = 230400) is a 16550A
[    0.106440] printk: console [ttyS0] enabled
[    0.106440] printk: console [ttyS0] enabled
[    0.097765] printk: bootconsole [jz4740_uart0] disabled
[    0.097765] printk: bootconsole [jz4740_uart0] disabled
[    0.101263] 10031000.serial: ttyS1 at MMIO 0x10031000 (irq = 11, base_baud = 230400) is a 16550A
[    0.100387] 10032000.serial: ttyS2 at MMIO 0x10032000 (irq = 12, base_baud = 230400) is a 16550A
[    0.099380] 10033000.serial: ttyS3 at MMIO 0x10033000 (irq = 13, base_baud = 230400) is a 16550A
[    0.114410] brd: module loaded
[    0.111840] loop: module loaded
[    0.103054] mtdoops: mtd device (mtddev=name/number) must be supplied
[    0.116787] libphy: Fixed MDIO Bus: probed
[    0.107200] usbcore: registered new interface driver usb-storage
[    0.117615] mousedev: PS/2 mouse device common for all mice
[    0.114498] input: keyboard as /devices/platform/keyboard/input/input0
[    0.121299] jz4740-rtc 10003000.rtc: registered as rtc0
[    0.110340] jz4740-rtc 10003000.rtc: hctosys: unable to read the hardware clock
[    0.121024] i2c /dev entries driver
[    0.126083] jz4730-i2c 10042000.i2c: Bus frequency is 100 kHz
[    0.118051] IR NEC protocol handler initialized
[    0.122837] IR RC5(x/sz) protocol handler initialized
[    0.128099] IR RC6 protocol handler initialized
[    0.116655] IR JVC protocol handler initialized
[    0.121437] IR Sony protocol handler initialized
[    0.126263] IR SANYO protocol handler initialized
[    0.131176] IR Sharp protocol handler initialized
[    0.119328] IR MCE Keyboard/mouse protocol handler initialized
[    0.125417] IR XMP protocol handler initialized
[    0.130151] Driver for 1-wire Dallas network protocol.
[    0.122855] jz4740-wdt: probe of 10004000.watchdog failed with error -22
[    0.120308] jz4740-mmc 10021000.mmc: Got CD GPIO
[    0.125399] jz4740-mmc 10021000.mmc: Got WP GPIO
[    0.130403] jz4740-mmc 10021000.mmc: Looking up vmmc-supply from device tree
[    0.121245] jz4740-mmc 10021000.mmc: Looking up vqmmc-supply from device tree
[    0.121011] ledtrig-cpu: registered to indicate activity on CPUs
[    0.134418] usbcore: registered new interface driver usbhid
[    0.123124] usbhid: USB HID core driver
[    0.137304] Initializing XFRM netlink socket
[    0.124726] NET: Registered protocol family 17
[    0.129520] NET: Registered protocol family 15
[    0.134454] 9pnet: Installing 9P2000 support
[    0.139048] Key type dns_resolver registered
[    0.126170] oprofile: using timer interrupt.
[    0.132243] Loading compiled-in X.509 certificates
[    0.139643] clk: Not disabling unused clocks
[    0.144178] ALSA device list:
[    0.131714]   No soundcards found.
[    0.136775] jz4740-mmc 10021000.mmc: Ingenic SD/MMC card driver registered
[    0.143930] jz4740-mmc 10021000.mmc: Using PIO, 4-bit mode
[    0.138683] Waiting for root device /dev/mmcblk0p2...
[    0.145884] mmc0: new high speed SDHC card at address 59b4
[    0.139746] mmcblk0: mmc0:59b4 USD   7.51 GiB 
[    0.136888]  mmcblk0: p1 p2
[    0.148801] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    0.139923] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    0.148679] devtmpfs: mounted
[    0.155806] Freeing unused kernel memory: 316K
[    0.143101] This architecture does not have kernel memory protection.
[    0.149849] Run /sbin/init as init process
[    0.154150]   with arguments:
[    0.157304]     /sbin/init
[    0.160196]   with environment:
[    0.145984]     HOME=/
[    0.148553]     TERM=linux
[    0.147948] process '/sbin/init' started with executable stack
Mount failed for selinuxfs on /sys/fs/selinux:  No such file or directory
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    0.205481] systemd-udevd[768]: starting version 215
[    0.210623] random: udevd: uninitialized urandom read (16 bytes read)
[    0.208402] random: udevd: uninitialized urandom read (16 bytes read)
^[[c.
[....] Synthesizing the initial hotplug events...[    0.303706] pwm-backlight backlight: Looking up power-supply from device tree
[    0.323781] gpio-keys buttons: failed to get gpio: -16
[    0.329374] gpio-keys: probe of buttons failed with error -16
done.
^[[c[....] Waiting for /dev to be fully populated...[    0.348280] OF: /sound/simple-audio-card,cpu: could not get #sound-dai-cells for /i2s
[    0.338959] asoc-simple-card sound: parse error -22
[    0.344149] asoc-simple-card: probe of sound failed with error -22
[    0.365105] pinctrl-ingenic 10010000.pin-controller: invalid function sleep in map table
[    0.356395] ingenic-drm: probe of 10050000.lcd failed with error -22
[    0.400792] i2c i2c-0: irq read timeout
[    0.404893] rtc-pcf8563 0-0051: pcf8563_read_block_data: read error
[    0.413360] rtc-pcf8563 0-0051: registered as rtc1
[    0.454544] i2c i2c-0: irq read timeout
[    0.458645] rtc-pcf8563 0-0051: pcf8563_read_block_data: read error
done.
[ ok ....] Setting parameters of disc: (none).
[ ok ....] Activating swap...done.
^[[c[    0.546067] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[....] Checking root file system...fsck from util-linux 2.25.2
e2fsck 1.42.12 (29-Aug-2014)
rootfs: clean, 25731/468640 files, 258676/1871408 blocks
done.
^[[c[    0.558082] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro
[warn] Creating compatibility symlink from /etc/mtab to /proc/mounts. ...^[[c (warning).
[ ok ] Activating lvm and md swap...done.
^[[c[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ....] Cleaning up temporary files... /tmp.
[ ok ....] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok [[c[....] Cleaning up temporary files....
[ ok ....] Setting kernel variables ...done.
^[[c[    0.702811] random: dd: uninitialized urandom read (512 bytes read)
[....] Configuring network interfaces...[    0.783904] random: crng init done
[    0.893345] NET: Registered protocol family 10
[    0.885108] Segment Routing with IPv6
[    1.041191] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "eth0"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up eth0.
Cannot find device "eth1"
Failed to bring up eth1.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "hso0"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up hso0.
Cannot find device "usb0"
Failed to bring up usb0.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "usb1"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up usb1.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "usb2"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up usb2.
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Cannot find device "wwan0"
Bind socket to interface: No such device

If you think you have received this message due to a bug rather
than a configuration issue please read the section on submitting
bugs on either our web page at www.isc.org or in the README file
before submitting a bug.  These pages explain the proper
process and the information we find helpful for debugging..

exiting.
Failed to bring up wwan0.
done.
[ ok ....] Cleaning up temporary files....
[ ok ....] Setting up ALSA...done.
[ ok ....] Setting up X socket directories... /tmp/.X11-unix /tmp/.ICE-unix^[[c.
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
dhcpcd[1741]: version 6.0.5 starting
dhcpcd[1741]: no interfaces have a carrier
dhcpcd[1741]: forked to background, child pid 1744
[ ok ] Starting enhanced syslogd: rsyslogd.
[ ok ....] Starting cgroup management daemon: cgmanager[....] Starting periodic command scheduler: cron.
[ ok ....] Starting cgroup management proxy daemon: cgproxy.
[ ok ....] Starting system message bus: dbus.
[ ok ....] Starting bluetooth: bluetoothd.
^[[c[    1.267727] Bluetooth: Core ver 2.22
[    1.260939] NET: Registered protocol family 31
[    1.265632] Bluetooth: HCI device and connection manager initialized
[    1.272267] Bluetooth: HCI socket layer initialized
[    1.262590] Bluetooth: L2CAP socket layer initialized
[    1.268039] Bluetooth: SCO socket layer initialized
[FAIL] Starting ISC DHCP server: dhcpd[....] check syslog for diagnostics. ... failed!
 failed!
[ ok ] Loading cpufreq kernel modules...done (none).
[ ok ] CPUFreq Utilities: Setting ondemand CPUFreq governor...disabled, governor not available...done.
[ ok [[c^[[c^[[c[....] Starting NTP server: ntpd.
[ ok ....] Starting OpenBSD Secure Shell server: sshd.
[ ok ....] Setting sysfs variables....
[FAIL....] startpar: service(s) returned failure: isc-dhcp-server ...^[[c failed!

Debian GNU/Linux 8 letux console

letux login: root
Password: 
Linux letux 5.10.0-letux-l400+ #4373 PREEMPT Wed Dec 23 13:00:46 CET 2020 mips

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

!!!  LetuxOS WARNING                                                      !!!
!!!  Root access through ssh and console with empty password is enabled.  !!!
!!!  This is a big security hole.                                         !!!
!!!  To disable, run 'apt-get remove letux-ssh-root'                      !!!

root at letux:~# uname -a
Linux letux 5.10.0-letux-l400+ #4373 PREEMPT Wed Dec 23 13:00:46 CET 2020 mips GNU/Linux
root at letux:~# cat /proc/cpuinfo 
system type             : JZ4730
machine                 : letux400,minipc
processor               : 0
cpu model               : Ingenic XBurst V4.15
BogoMIPS                : 594.73
wait instruction        : yes
microsecond timers      : no
tlb_entries             : 32
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 1, address/irw mask: [0x0fff]
isa                     : mips1 mips2 mips32r1
ASEs implemented        :
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

root at letux:~# 
root at letux:~# lsmod
Module                  Size  Used by
bluetooth             396081  4 
ecdh_generic            3451  1 bluetooth
ecc                    21470  1 ecdh_generic
g_ether                 5405  0 
usb_f_rndis            17680  1 g_ether
u_ether                14845  2 g_ether,usb_f_rndis
libcomposite           49607  2 g_ether,usb_f_rndis
configfs               33727  3 usb_f_rndis,libcomposite
ipv6                  413959  16 
ingenic_drm            12216  0 
drm_kms_helper        219674  1 ingenic_drm
cfbfillrect             3348  1 drm_kms_helper
syscopyarea             2786  1 drm_kms_helper
cfbimgblt               2172  1 drm_kms_helper
sysfillrect             3370  1 drm_kms_helper
sysimgblt               2172  1 drm_kms_helper
fb_sys_fops             1835  1 drm_kms_helper
cfbcopyarea             2818  1 drm_kms_helper
snd_soc_simple_card     7541  0 
snd_soc_simple_card_utils    11375  1 snd_soc_simple_card
gpio_keys              10615  0 
pwm_bl                  7331  0 
rtc_pcf8563             7319  0 
drm                   506338  2 ingenic_drm,drm_kms_helper
pwm_jz4730              3514  1 
drm_panel_orientation_quirks      974  1 drm
root at letux:~# lsusb
unable to initialize libusb: -99
root at letux:~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/root        7236864 786032   6076552  12% /
devtmpfs           42472      0     42472   0% /dev
tmpfs              11804    164     11640   2% /run
tmpfs               5120      0      5120   0% /run/lock
tmpfs              23600      0     23600   0% /run/shm
cgroup                12      0        12   0% /sys/fs/cgroup
cgmfs                100      0       100   0% /run/cgmanager/fs
root at letux:~# ls -l /dev/rtc*
lrwxrwxrwx 1 root root      4 Jan  1 00:00 /dev/rtc -> rtc0
crw------- 1 root root 253, 0 Jan  1 00:00 /dev/rtc0
crw------- 1 root root 253, 1 Jan  1 00:00 /dev/rtc1
root at letux:~# cat /proc/partitions 
major minor  #blocks  name

   1        0      16384 ram0
   1        1      16384 ram1
   1        2      16384 ram2
   1        3      16384 ram3
   1        4      16384 ram4
   1        5      16384 ram5
   1        6      16384 ram6
   1        7      16384 ram7
   1        8      16384 ram8
   1        9      16384 ram9
   1       10      16384 ram10
   1       11      16384 ram11
   1       12      16384 ram12
   1       13      16384 ram13
   1       14      16384 ram14
   1       15      16384 ram15
 179        0    7879680 mmcblk0
 179        1     393980 mmcblk0p1
 179        2    7485635 mmcblk0p2
root at letux:~# ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost (127.0.0.1): icmp_seq=1 ttl=64 time=0.000 ms
64 bytes from localhost (127.0.0.1): icmp_seq=2 ttl=64 time=0.000 ms
64 bytes from localhost (127.0.0.1): icmp_seq=3 ttl=64 time=0.000 ms
64 bytes from localhost (127.0.0.1): icmp_seq=4 ttl=64 time=0.000 ms
^C
--- localhost ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3150ms
rtt min/avg/max/mdev = 0.000/0.000/0.000/0.000 ms
root at letux:~# hwclock -r  
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Invalid argument
root at letux:~# hwclock -f /dev/rtc -r
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc to read the time failed: Invalid argument
root at letux:~# hwclock -f /dev/rtc0 -r
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc0 to read the time failed: Invalid argument
root at letux:~# hwclock -f /dev/rtc1 -r
[    7.914898] i2c i2c-0: irq read timeout
[    7.919006] rtc-pcf8563 0-0051: pcf8563_read_block_data: read error
hwclock: ioctl(RTC_RD_TIME) to /dev/rtc1 to read the time failed: Input/output error
root at letux:~# cpufreq-info 
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq at vger.kernel.org, please.
analyzing CPU 0:
  no or unknown cpufreq driver is active on this CPU
  maximum transition latency: 0.00 ms.
root at letux:~# 


More information about the Letux-kernel mailing list