Skip to contentSkip to conversation

possible bug in the efi real time clock

Linux-ia64 [email protected] 4 participants 5 messages Sep 9, 2000 – Sep 11, 2000

lore
Share & tools
lore
#0 lore raw

On the BigSur B1 stepping with BIOS 60 machine, it crashes when running the hwclock. Could it be a bug in the efi real time clock?

-Andrew

#1 lore raw

Andrew,

Quoted 5 lines

On the BigSur B1 stepping with BIOS 60 machine, it crashes when running the hwclock. Could it be a bug in the efi real time clock?

Hard to tell from this description. Could you give more details like what does appear on the screen ? Could you capture the "tombstone" (regs dump) and send it to me. I don't have a Bigsur B1 so I can't really reproduce the problem.

+--------------------------------------------------------------------+
| Ste'phane ERANIAN                       | Email [email protected] |
| Hewlett-Packard Laboratories            |                          |
| 1501, Page Mill Road MS 1U-15           |                          |
| Palo  Alto, CA 94303-096                |                          |
| USA                                     |                          |
| Tel : (650) 857-7174                    |                          |
| Fax : (650) 857-5548                    |                          |
+--------------------------------------------------------------------+
#2 lore raw
In reply to [email protected]
Quoted 7 lines · Stephane Eranian
Quoted 3 lines

On the BigSur B1 stepping with BIOS 60 machine, it crashes when running the hwclock. Could it be a bug in the efi real time clock?

Hard to tell from this description. Could you give more details like what does appear on the screen ? Could you capture the "tombstone" (regs dump) and send it to me. I don't have a Bigsur B1 so I can't really reproduce the problem.

What happens is a complete system lockup. There is no kernel register dump, panic or oops. The screen just goes blank. You can lock up the box by simply running /sbin/hwclock.

I think this symptom was around for a long time. On pretty much all the distributions we shipped you could observe a brief video glitch during the boot when the system was setting hardware clock. Usually, the screen would go blank for a split second and then get switched on again. Why this would happen while running hwclock is beyond me. I do recall somebody with a Lion system observing a hard lockup. The workaround was to disable running hwclock on boot. Nobody here had time to poke around what was going on, though.

Uros

--
Uros Prestor
[email protected]

#3 lore raw
In reply to [email protected]

Uros,

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

On the BigSur B1 stepping with BIOS 60 machine, it crashes when running the hwclock. Could it be a bug in the efi real time clock?

Our 4-way A3 with Build50 is showing similar behavior. However the system is up and running fine with test8.

I looked at the efirtc driver one more time. The ioctl() to read the clock fails because EFI.GetTime() returns an error. This is new to me. I need to investigate why it is so. The reason why /proc/efirtc does not fails is because of a missing test on the return values of the 2 EFI calls to read the time. You get random results back. I will fix this today.

I am suspecting something is wrong in EFI with Build50 and up.

Quoted 9 lines

I think this symptom was around for a long time. On pretty much all the distributions we shipped you could observe a brief video glitch during the boot when the system was setting hardware clock. Usually, the screen would go blank for a split second and then get switched on again. Why this would happen while running hwclock is beyond me. I do recall somebody with a Lion system observing a hard lockup. The workaround was to disable running hwclock on boot. Nobody here had time to poke around what was going on, though.

I saw this thing too recently on an A2 with Build59 but the system works fine.

--Stephane

#4 lore raw
In reply to [email protected]
Quoted 5 lines · Uros Prestor
Quoted 3 lines · Stephane Eranian
Quoted 3 lines

On the BigSur B1 stepping with BIOS 60 machine, it crashes when running the hwclock. Could it be a bug in the efi real time clock?

Quoted 9 lines
Quoted 4 lines

Hard to tell from this description. Could you give more details like what does appear on the screen ? Could you capture the "tombstone" (regs dump) and send it to me. I don't have a Bigsur B1 so I can't really reproduce the problem.

What happens is a complete system lockup. There is no kernel register dump, panic or oops. The screen just goes blank. You can lock up the box by simply running /sbin/hwclock.

In my case, /sbin/hwclock causes the instant reboot on B1 BigSur and it crashes so bad that I have to unplug the power cord to get my machine back. B1 stepping is quite different than A2 stepping on BigSur, even with the same BIOS, Build 59.

H.J.