--------------73155CBD2EE481C11B6B4F0A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Hi Alan, Tomasz,
Alan Cox wrote:
...
> The other cyrix bug some folks see (divide by zero) does appear to be a
> kernel bug. It appears the 6x86 can dual issue RDTSC and give the same clock
> cycle back for both calls. Valid but Linux kind of assumes it isnt....
Would this error occur _every_ time do_fast_gettimeoffset would be
called or only occasionally? I used to get it once every hour (see
attached kernel log). AFAIK I'm the only person to have reported it.
Only now I can't reproduce it anymore! It seems to be related to a
driver or to something that I changed in my kernel recently (quite a lot
since I reinstalled my ISDN board on this particular 6x86MX).
Question:
=========
Can you tell me what the advantage of do_fast_gettimeoffset is over
do_slow_gettimeoffset?
If it's a few microseconds gained every second I will go with
do_slow_gettimeoffset all the time, just to be on the safe side.
========================================================
Andrew D. Balsa
Home Page: http://www.tux.org/~balsa
andrewbalsa@usa.net
========================================================
--------------73155CBD2EE481C11B6B4F0A
Content-Type: text/plain; charset=us-ascii; name="p1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="p1"
Nov 2 01:02:38 dns1 syslogd 1.3-3: restart.
Nov 2 01:02:38 dns1 syslogd 1.3-3: restart.
Nov 2 01:02:38 dns1 syslogd 1.3-3: restart.
Nov 2 01:02:38 dns1 syslogd 1.3-3: restart.
Nov 2 01:02:38 dns1 PAM_pwdb[6775]: (su) session opened for user nobody by (uid=99)
Nov 2 01:03:14 dns1 PAM_pwdb[6775]: (su) session closed for user nobody
Nov 2 01:35:35 dns1 PAM_pwdb[676]: (login) session closed for user root
Nov 2 02:01:00 dns1 PAM_pwdb[8286]: (su) session opened for user news by (uid=9)
Nov 2 02:01:00 dns1 PAM_pwdb[8286]: (su) session closed for user news
Nov 2 03:01:00 dns1 PAM_pwdb[9917]: (su) session opened for user news by (uid=9)
Nov 2 03:01:01 dns1 PAM_pwdb[9917]: (su) session closed for user news
Nov 2 04:01:00 dns1 PAM_pwdb[11422]: (su) session opened for user news by (uid=9)
Nov 2 04:01:00 dns1 PAM_pwdb[11422]: (su) session closed for user news
Nov 2 04:02:24 dns1 pam_rhosts_auth[11456]: allowed to root@c1.home.interdrome.fr as root
Nov 2 04:02:24 dns1 PAM_pwdb[11457]: (login) session opened for user root by root(uid=0)
Nov 2 04:02:24 dns1 syslog: ROOT LOGIN ON ttyp0 FROM c1
Nov 2 05:01:00 dns1 PAM_pwdb[12942]: (su) session opened for user news by (uid=9)
Nov 2 05:01:00 dns1 PAM_pwdb[12942]: (su) session closed for user news
Nov 2 05:49:03 dns1 kernel: divide error: 0000
Nov 2 05:49:03 dns1 kernel: CPU: 0
Nov 2 05:49:03 dns1 kernel: EIP: 0010:[do_fast_gettimeoffset+82/120]
Nov 2 05:49:03 dns1 kernel: EFLAGS: 00010046
Nov 2 05:49:03 dns1 kernel: eax: 00000000 ebx: ff35775c ecx: 000026ee edx: 00002710
Nov 2 05:49:03 dns1 kernel: esi: ac72edc3 edi: 00000000 ebp: bffffba4 esp: 0170af88
Nov 2 05:49:03 dns1 kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Nov 2 05:49:03 dns1 kernel: Process innd (pid: 401, process nr: 34, stackpage=0170a000)
Nov 2 05:49:03 dns1 kernel: Stack: 0170afb0 00000246 bffffce8 0011007a bffffbc4 00000000 001173dc 0170afb0
Nov 2 05:49:03 dns1 kernel: 0170d810 080678f8 345c063f 00075145 0010a5cd bffffbc4 00000000 0000000f
Nov 2 05:49:03 dns1 kernel: 080678f8 bffffce8 bffffba4 ffffffda 0010002b 0000002b 0000002b 0000002b
Nov 2 05:49:03 dns1 kernel: Call Trace: [do_gettimeofday+34/68] [sys_gettimeofday+44/112] [system_call+85/124]
Nov 2 05:49:03 dns1 kernel: Code: f7 f1 a3 5c 70 1a 00 89 c3 0f 31 31 d2 29 f0 f7 e3 81 fa 0f
Nov 2 05:49:04 dns1 kernel: divide error: 0000
Nov 2 05:49:04 dns1 kernel: CPU: 0
Nov 2 05:49:04 dns1 kernel: EIP: 0010:[do_fast_gettimeoffset+82/120]
Nov 2 05:49:04 dns1 kernel: EFLAGS: 00010046
Nov 2 05:49:04 dns1 kernel: eax: 00000000 ebx: ff35775c ecx: 000026f1 edx: 00002710
Nov 2 05:49:04 dns1 kernel: esi: ad10c256 edi: 00000000 ebp: bfffee1c esp: 015eef88
Nov 2 05:49:04 dns1 kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Nov 2 05:49:04 dns1 kernel: Process sendmail (pid: 13987, process nr: 37, stackpage=015ee000)
Nov 2 05:49:04 dns1 kernel: Stack: 015eefb0 00000246 080971e0 0011007a bfffee30 00000000 001173dc 015eefb0
Nov 2 05:49:04 dns1 kernel: 01726414 0808e578 345c0640 000db9e5 0010a5cd bfffee30 00000000 00000210
Nov 2 05:49:04 dns1 kernel: 0808e578 080971e0 bfffee1c ffffffda ffff002b ffff002b 0010002b 0000002b
Nov 2 05:49:04 dns1 kernel: Call Trace: [do_gettimeofday+34/68] [sys_gettimeofday+44/112] [system_call+85/124]
Nov 2 05:49:04 dns1 kernel: Code: f7 f1 a3 5c 70 1a 00 89 c3 0f 31 31 d2 29 f0 f7 e3 81 fa 0f
Nov 2 06:01:00 dns1 PAM_pwdb[14031]: (su) session opened for user news by (uid=9)
Nov 2 06:01:00 dns1 PAM_pwdb[14031]: (su) session closed for user news
Nov 2 06:16:52 dns1 kernel: divide error: 0000
Nov 2 06:16:52 dns1 kernel: CPU: 0
Nov 2 06:16:52 dns1 kernel: EIP: 0010:[do_fast_gettimeoffset+82/120]
Nov 2 06:16:52 dns1 kernel: EFLAGS: 00010046
Nov 2 06:16:52 dns1 kernel: eax: 00000000 ebx: ff35775c ecx: 00002596 edx: 00002710
Nov 2 06:16:52 dns1 kernel: esi: cd0ad0e7 edi: 00000000 ebp: bffffa9c esp: 01b57f88
Nov 2 06:16:52 dns1 kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Nov 2 06:16:52 dns1 kernel: Process named (pid: 274, process nr: 17, stackpage=01b57000)
Nov 2 06:16:52 dns1 kernel: Stack: 01b57fb0 00000246 bffffc24 0011007a 080728d8 00000000 001173dc 01b57fb0
Nov 2 06:16:52 dns1 kernel: 01b09414 ffffffff 345c0cc4 0002e475 0010a5cd 080728d8 00000000 00000000
Nov 2 06:16:52 dns1 kernel: ffffffff bffffc24 bffffa9c ffffffda ffff002b ffff002b 0010002b 0000002b
Nov 2 06:16:52 dns1 kernel: Call Trace: [do_gettimeofday+34/68] [sys_gettimeofday+44/112] [system_call+85/124]
Nov 2 06:16:52 dns1 kernel: Code: f7 f1 a3 5c 70 1a 00 89 c3 0f 31 31 d2 29 f0 f7 e3 81 fa 0f
Nov 2 07:01:00 dns1 PAM_pwdb[14264]: (su) session opened for user news by (uid=9)
Nov 2 07:01:00 dns1 PAM_pwdb[14264]: (su) session closed for user news
Nov 2 08:01:00 dns1 PAM_pwdb[14497]: (su) session opened for user news by (uid=9)
Nov 2 08:01:00 dns1 PAM_pwdb[14497]: (su) session closed for user news
Nov 2 09:01:00 dns1 PAM_pwdb[14730]: (su) session opened for user news by (uid=9)
Nov 2 09:01:00 dns1 PAM_pwdb[14730]: (su) session closed for user news
Nov 2 10:01:00 dns1 PAM_pwdb[14963]: (su) session opened for user news by (uid=9)
Nov 2 10:01:00 dns1 PAM_pwdb[14963]: (su) session closed for user news
Nov 2 11:01:00 dns1 PAM_pwdb[15196]: (su) session opened for user news by (uid=9)
Nov 2 11:01:00 dns1 PAM_pwdb[15196]: (su) session closed for user news
Nov 2 11:59:51 dns1 init: Switching to runlevel: 6
Nov 2 11:59:52 dns1 amd[317]: WARNING: automounter going down on signal 15
Nov 2 11:59:52 dns1 amd[317]: /etc/amd.conf unmounted fstype toplvl from /net
Nov 2 11:59:53 dns1 kernel: divide error: 0000
Nov 2 11:59:53 dns1 kernel: CPU: 0
Nov 2 11:59:53 dns1 kernel: EIP: 0010:[do_fast_gettimeoffset+82/120]
Nov 2 11:59:53 dns1 kernel: EFLAGS: 00010046
Nov 2 11:59:53 dns1 kernel: eax: 00000000 ebx: ff35775c ecx: 00001bae edx: 00002710
Nov 2 11:59:53 dns1 kernel: esi: 484a3de5 edi: 00000000 ebp: bffffcc8 esp: 01a59f88
Nov 2 11:59:53 dns1 kernel: ds: 0018 es: 0018 fs: 002b gs: 002b ss: 0018
Nov 2 11:59:53 dns1 kernel: Process amd (pid: 317, process nr: 21, stackpage=01a59000)
Nov 2 11:59:53 dns1 kernel: Stack: 01a59fb0 00000246 0806cbf0 0011007a bffffcf0 00000000 001173dc 01a59fb0
Nov 2 11:59:53 dns1 kernel: 01ad4414 bffffd78 345c5d29 000b6ff5 0010a5cd bffffcf0 00000000 bffffcf0
Nov 2 11:59:53 dns1 kernel: bffffd78 0806cbf0 bffffcc8 ffffffda 4000002b 0000002b 4000002b 0000002b
Nov 2 11:59:53 dns1 kernel: Call Trace: [do_gettimeofday+34/68] [sys_gettimeofday+44/112] [system_call+85/124]
Nov 2 11:59:53 dns1 kernel: Code: f7 f1 a3 5c 70 1a 00 89 c3 0f 31 31 d2 29 f0 f7 e3 81 fa 0f
Nov 2 11:59:54 dns1 PAM_pwdb[11457]: (login) session closed for user root
Nov 2 11:59:54 dns1 PAM_pwdb[15461]: (su) session opened for user news by (uid=9)
Nov 2 11:59:54 dns1 PAM_pwdb[15461]: (su) session closed for user news
Nov 2 12:00:45 dns1 syslogd 1.3-3: restart.
Nov 2 12:00:45 dns1 kernel: klogd 1.3-3, log source = /proc/kmsg started.
Nov 2 12:00:45 dns1 kernel: Loaded 3214 symbols from /usr/src/linux/System.map.
Nov 2 12:00:45 dns1 kernel: Symbols match kernel version 2.0.31.
Nov 2 12:00:45 dns1 kernel: Loaded 2 symbols from 1 module.
Nov 2 12:00:45 dns1 kernel: Console: 16 point font, 400 scans
Nov 2 12:00:45 dns1 kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63)
Nov 2 12:00:45 dns1 kernel: pcibios_init : BIOS32 Service Directory structure at 0x000f92f0
Nov 2 12:00:45 dns1 kernel: pcibios_init : BIOS32 Service Directory entry at 0xf0480
Nov 2 12:00:45 dns1 kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xf04b0
Nov 2 12:00:45 dns1 kernel: Probing PCI hardware.
Nov 2 12:00:45 dns1 kernel: Calibrating delay loop.. ok - 166.71 BogoMIPS
Nov 2 12:00:45 dns1 kernel: Memory: 31028k/32768k available (608k kernel code, 384k reserved, 748k data)
Nov 2 12:00:45 dns1 kernel: This processor honours the WP bit even when in supervisor mode. Good.
Nov 2 12:00:45 dns1 kernel: Swansea University Computer Society NET3.035 for Linux 2.0
Nov 2 12:00:45 dns1 kernel: NET3: Unix domain sockets 0.13 for Linux NET3.035.
Nov 2 12:00:45 dns1 kernel: Swansea University Computer Society TCP/IP for NET3.034
Nov 2 12:00:45 dns1 kernel: IP Protocols: ICMP, UDP, TCP
Nov 2 12:00:45 dns1 kernel: VFS: Diskquotas version dquot_5.6.0 initialized
Nov 2 12:00:45 dns1 kernel:
Nov 2 12:00:45 dns1 kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Nov 2 12:00:45 dns1 kernel: Checking 'hlt' instruction... Ok.
Nov 2 12:00:45 dns1 kernel: Linux version 2.0.31 (root@p200a.home.interdrome.fr) (gcc version 2.7.2.1) #3 Wed Oct 22 12:52:08 MET DST 1997
Nov 2 12:00:45 dns1 kernel: Starting kswapd v 1.4.2.2
Nov 2 12:00:45 dns1 kernel: Serial driver version 4.13 with no serial options enabled
Nov 2 12:00:45 dns1 kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
Nov 2 12:00:45 dns1 kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
Nov 2 12:00:45 dns1 kernel: lp1 at 0x0378, (polling)
Nov 2 12:00:45 dns1 kernel: ide: i82371 PIIX (Triton) on PCI bus 0 function 57
Nov 2 12:00:45 dns1 kernel: ide0: BM-DMA at 0xe800-0xe807
Nov 2 12:00:45 dns1 kernel: ide1: BM-DMA at 0xe808-0xe80f
Nov 2 12:00:45 dns1 kernel: hda: IBM-DCAA-34330, 4134MB w/96kB Cache, CHS=527/255/63, DMA
Nov 2 12:00:45 dns1 kernel: hdd: HITACHI CDR-8130, ATAPI CDROM drive
Nov 2 12:00:45 dns1 kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Nov 2 12:00:45 dns1 kernel: ide1 at 0x170-0x177,0x376 on irq 15
Nov 2 12:00:45 dns1 kernel: Floppy drive(s): fd0 is 1.44M
Nov 2 12:00:45 dns1 kernel: FDC 0 is a post-1991 82077
Nov 2 12:00:45 dns1 kernel: Partition check:
Nov 2 12:00:45 dns1 kernel: hda: hda1 hda2 hda3 < hda5 hda6 hda7 hda8 >
Nov 2 12:00:45 dns1 kernel: JAVA Binary support v1.01 for Linux 1.3.98 (C)1996 Brian A. Lantz
Nov 2 12:00:45 dns1 kernel: VFS: Mounted root (ext2 filesystem) readonly.
Nov 2 12:00:45 dns1 kernel: Adding Swap: 32092k swap-space (priority -1)
Nov 2 12:00:45 dns1 kernel: rtl8139.c:v0.12 10/19/97 Donald Becker
Nov 2 12:00:45 dns1 kernel: eth0: RealTek RTL8129 at 0xe000, IRQ 12, 00:c0:f6:81:00:bc.
Nov 2 12:00:45 dns1 kernel: eth0: MII transceiver found at address 8.
Nov 2 12:00:47 dns1 named[273]: starting. named 4.9.6-REL Mon Jul 21 11:50:42 EDT 1997 ^Iewt@porky.redhat.com:/usr/src/redhat/BUILD/bind-4.9.6/named
Nov 2 12:00:47 dns1 named[273]: cache zone "" loaded (serial 0)
Nov 2 12:00:47 dns1 named[273]: primary zone "0.0.127.in-addr.arpa" loaded (serial 1997022700)
Nov 2 12:00:47 dns1 named[273]: primary zone "home.interdrome.fr" loaded (serial 1997022701)
Nov 2 12:00:47 dns1 named[273]: primary zone "7.16.172.in-addr.arpa" loaded (serial 1997022702)
Nov 2 12:00:47 dns1 named[274]: Ready to answer queries.
Nov 2 12:00:48 dns1 amd[316]: My ip addr is 0x100007f
Nov 2 12:00:48 dns1 amd[317]: file server localhost type local starts up
Nov 2 12:00:48 dns1 amd[318]: linux mount: type nfs
Nov 2 12:00:48 dns1 amd[318]: linux mount: version 1
Nov 2 12:00:48 dns1 amd[318]: linux mount: fd 7
Nov 2 12:00:48 dns1 amd[318]: linux mount: hostname 127.0.0.1
Nov 2 12:00:48 dns1 amd[318]: linux mount: port 1023
Nov 2 12:00:48 dns1 amd[318]: linux mount: fsname dns1:(pid317)
Nov 2 12:00:48 dns1 amd[318]: linux mount: type (mntent) auto
Nov 2 12:00:48 dns1 amd[318]: linux mount: opts intr,rw,port=1023,timeo=8,retrans=110,indirect,map=/etc/amd.conf
Nov 2 12:00:48 dns1 amd[318]: linux mount: dir /net
Nov 2 12:00:48 dns1 amd[317]: /etc/amd.conf mounted fstype toplvl on /net
Nov 2 12:00:52 dns1 PAM_pwdb[381]: (su) session opened for user news by (uid=9)
Nov 2 12:00:53 dns1 PAM_pwdb[381]: (su) session closed for user news
Nov 2 12:01:00 dns1 PAM_pwdb[449]: (su) session opened for user news by (uid=9)
Nov 2 12:01:00 dns1 PAM_pwdb[449]: (su) session closed for user news
Nov 2 12:01:13 dns1 pam_rhosts_auth[480]: allowed to root@c1.home.interdrome.fr as root
Nov 2 12:01:13 dns1 PAM_pwdb[481]: (login) session opened for user root by root(uid=0)
Nov 2 12:01:13 dns1 syslog: ROOT LOGIN ON ttyp0 FROM c1
--------------73155CBD2EE481C11B6B4F0A--