Package: util-linux
Version: 2.12r-19
Severity: important

My hardware is an HP Pavilion dv6000z which has an AMD
Turion dual
core (64-bit) processor and the nvidia MCP51 chipset.  My
system
usually boots OK (once in a while, either X or gdm does not
start
properly, but I'm not sure whether this is related), but
almost
everytime the system tries to shut down, it hangs when
saving the
system clock.  This problem prevents me from hibernating my
laptop,
and for the moment renders it largely useless.

All of the stock kernels that I have installed so far have
had the
same problem, they are:
linux-image-2.6.18-4-amd64 (ver. 2.6.18.dfsg.1-12etch2)
linux-image-2.6.20-1-amd64 (ver. 2.6.20-3)
linux-image-2.6.21-1-amd64 (ver. 2.6.21-2)

By examining the scripts in /etc/init.d I eventually tracked
the
problem down to hwclock.  As root, when I try the following:

# hwclock --debug --show

The system hangs with the following output:

 hwclock from util-linux-2.12r
 Using /dev/rtc interface to clock
 Last drift adjustment done at 1180024009 seconds after 1969
 Last calibration done at 1180024009 seconds after 1969
 Hardware clock is on local time
 Assuming hardware clock is kept in local time
 Waiting for clock tick...
 /dev/rtc does not have interrupt functions. Waiting in loop
for time from /dev/rtc to change
<nothing further, system locks up>

At this point, I need to power cycle the machine.

In trying to find out how to resolve the problem, I came
across a site 
(http://forums.gentoo.org/viewtopic-p-4054045.html?sid=379ea62d4e3453465865306212e410e1)
where someone claims that the problem has to do with the
64-bit
version of hwclock.  He claims that when he tries the 32-bit
version
of the hwclock binary, it works much better.  (He was using
a 2.6.17
kernel, but I don't know whether that makes any difference).

In case it is useful, here is the output of "cat
/proc/interrupts"
           CPU0       CPU1       
  0:    1114672          0   IO-APIC-edge      timer
  1:       6604          0   IO-APIC-edge      i8042
  5:          4          0   IO-APIC-fasteoi   ohci1394
  7:          0          0   IO-APIC-fasteoi   sdhci:slot0
  8:          1          0   IO-APIC-edge      rtc
  9:       1909          0   IO-APIC-fasteoi   acpi
 12:        124          0   IO-APIC-edge      i8042
 14:      39763          0   IO-APIC-edge      ide0
 16:     247614          0   IO-APIC-fasteoi   nvidia
 19:     105640          0   IO-APIC-fasteoi   bcm43xx
 20:     451267          0   IO-APIC-fasteoi   eth1
 21:        120          0   IO-APIC-fasteoi   HDA Intel
 22:     879545          0   IO-APIC-fasteoi  
ohci_hcd:usb1, ehci_hcd:usb2
 23:      18396          0   IO-APIC-fasteoi   libata
NMI:          0          0 
LOC:    1114640    1114619 
ERR:          0

and in case it's useful, here is the output of "lspci -nnv"

00:00.0 RAM memory [0500]: nVidia Corporation C51 Host
Bridge [10de:02f7] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0
        Capabilities: [44] HyperTransport: Slave or Primary
Interface
        Capabilities: [e0] HyperTransport: MSI Mapping

00:00.1 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 0 [10de:02fa] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: 66MHz, fast devsel

00:00.2 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 1 [10de:02fe] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: 66MHz, fast devsel

00:00.3 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 5 [10de:02f8] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: 66MHz, fast devsel

00:00.4 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 4 [10de:02f9] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0

00:00.5 RAM memory [0500]: nVidia Corporation C51 Host
Bridge [10de:02ff] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0
        Capabilities: [44] #00 [00fe]
        Capabilities: [fc] #00 [0000]

00:00.6 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 3 [10de:027f] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: 66MHz, fast devsel

00:00.7 RAM memory [0500]: nVidia Corporation C51 Memory
Controller 2 [10de:027e] (rev a2)
        Flags: 66MHz, fast devsel

00:02.0 PCI bridge [0604]: nVidia Corporation C51 PCI
Express Bridge [10de:02fc] (rev a1) (prog-if 00 [Normal
decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01,
sec-latency=0
        I/O behind bridge: 00004000-00004fff
        Memory behind bridge: c4000000-c7ffffff
        Prefetchable memory behind bridge:
00000000ce200000-00000000ce3fffff
        Capabilities: [40] Subsystem: nVidia Corporation Unknown
device [10de:0000]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask-
64bit+ Queue=0/1 Enable+
        Capabilities: [60] HyperTransport: MSI Mapping
        Capabilities: [80] Express Root Port (Slot+) IRQ 0
        Capabilities: [100] Virtual Channel

00:03.0 PCI bridge [0604]: nVidia Corporation C51 PCI
Express Bridge [10de:02fd] (rev a1) (prog-if 00 [Normal
decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=03, subordinate=03,
sec-latency=0
        Memory behind bridge: c8000000-cbffffff
        Capabilities: [40] Subsystem: nVidia Corporation Unknown
device [10de:0000]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask-
64bit+ Queue=0/1 Enable+
        Capabilities: [60] HyperTransport: MSI Mapping
        Capabilities: [80] Express Root Port (Slot+) IRQ 0
        Capabilities: [100] Virtual Channel

00:04.0 PCI bridge [0604]: nVidia Corporation C51 PCI
Express Bridge [10de:02fb] (rev a1) (prog-if 00 [Normal
decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=05, subordinate=05,
sec-latency=0
        Memory behind bridge: cc000000-cdffffff
        Prefetchable memory behind bridge:
00000000d0000000-00000000dfffffff
        Capabilities: [40] Subsystem: nVidia Corporation Unknown
device [10de:0000]
        Capabilities: [48] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask-
64bit+ Queue=0/1 Enable+
        Capabilities: [60] HyperTransport: MSI Mapping
        Capabilities: [80] Express Root Port (Slot+) IRQ 0
        Capabilities: [100] Virtual Channel

00:09.0 RAM memory [0500]: nVidia Corporation MCP51 Host
Bridge [10de:0270] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0
        Capabilities: [44] HyperTransport: Slave or Primary
Interface
        Capabilities: [e0] HyperTransport: MSI Mapping

00:0a.0 ISA bridge [0601]: nVidia Corporation MCP51 LPC
Bridge [10de:0260] (rev a3)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0
        I/O ports at 1d00 [size=128]

00:0a.1 SMBus [0c05]: nVidia Corporation MCP51 SMBus
[10de:0264] (rev a3)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: 66MHz, fast devsel, IRQ 10
        I/O ports at 3040 [size=64]
        I/O ports at 3000 [size=64]
        Capabilities: [44] Power Management version 2

00:0a.3 Co-processor [0b40]: nVidia Corporation MCP51 PMU
[10de:0271] (rev a3)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 10
        Memory at c0040000 (32-bit, non-prefetchable) [size=256K]

00:0b.0 USB Controller [0c03]: nVidia Corporation MCP51 USB
Controller [10de:026d] (rev a3) (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
        Memory at c0004000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2

00:0b.1 USB Controller [0c03]: nVidia Corporation MCP51 USB
Controller [10de:026e] (rev a3) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
        Memory at c0005000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [44] Debug port
        Capabilities: [80] Power Management version 2

00:0d.0 IDE interface [0101]: nVidia Corporation MCP51 IDE
[10de:0265] (rev f1) (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0
        [virtual] Memory at 000001f0 (32-bit, non-prefetchable)
[disabled] [size=8]
        [virtual] Memory at 000003f0 (type 3, non-prefetchable)
[disabled] [size=1]
        [virtual] Memory at 00000170 (32-bit, non-prefetchable)
[disabled] [size=8]
        [virtual] Memory at 00000370 (type 3, non-prefetchable)
[disabled] [size=1]
        I/O ports at 3080 [size=16]
        Capabilities: [44] Power Management version 2

00:0e.0 IDE interface [0101]: nVidia Corporation MCP51
Serial ATA Controller [10de:0266] (rev f1) (prog-if 85
[Master SecO PriO])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
        I/O ports at 30c0 [size=8]
        I/O ports at 30b4 [size=4]
        I/O ports at 30b8 [size=8]
        I/O ports at 30b0 [size=4]
        I/O ports at 3090 [size=16]
        Memory at c0006000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [44] Power Management version 2
        Capabilities: [b0] Message Signalled Interrupts: Mask-
64bit+ Queue=0/2 Enable-
        Capabilities: [cc] HyperTransport: MSI Mapping

00:10.0 PCI bridge [0604]: nVidia Corporation MCP51 PCI
Bridge [10de:026f] (rev a2) (prog-if 01 [Subtractive
decode])
        Flags: bus master, 66MHz, fast devsel, latency 0
        Bus: primary=00, secondary=07, subordinate=07,
sec-latency=64
        Memory behind bridge: ce000000-ce0fffff
        Capabilities: [b8] Subsystem: Gammagraphx, Inc. Unknown
device [0000:0000]
        Capabilities: [8c] HyperTransport: MSI Mapping

00:10.1 Audio device [0403]: nVidia Corporation MCP51 High
Definition Audio [10de:026c] (rev a2)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
        Memory at c0000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [44] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask+
64bit+ Queue=0/0 Enable-
        Capabilities: [6c] HyperTransport: MSI Mapping

00:14.0 Bridge [0680]: nVidia Corporation MCP51 Ethernet
Controller [10de:0269] (rev a3)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
        Memory at c0008000 (32-bit, non-prefetchable) [size=4K]
        I/O ports at 30e0 [size=8]
        Capabilities: [44] Power Management version 2

00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] HyperTransport Technology Configuration
[1022:1100]
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary
Interface

00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Address Map [1022:1101]
        Flags: fast devsel

00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] DRAM Controller [1022:1102]
        Flags: fast devsel

00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] K8
[Athlon64/Opteron] Miscellaneous Control [1022:1103]
        Flags: fast devsel
        Capabilities: [f0] #0f [0010]

03:00.0 Network controller [0280]: Broadcom Corporation
BCM4310 UART [14e4:4312] (rev 01)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:1360]
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at c8000000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 2
        Capabilities: [58] Message Signalled Interrupts: Mask-
64bit- Queue=0/0 Enable-
        Capabilities: [d0] Express Legacy Endpoint IRQ 0
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel

05:00.0 VGA compatible controller [0300]: nVidia Corporation
GeForce Go 7200 [10de:01d6] (rev a1) (prog-if 00 [VGA])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at cd000000 (32-bit, non-prefetchable) [size=16M]
        Memory at d0000000 (64-bit, prefetchable) [size=256M]
        Memory at cc000000 (64-bit, non-prefetchable) [size=16M]
        Capabilities: [60] Power Management version 2
        Capabilities: [68] Message Signalled Interrupts: Mask-
64bit+ Queue=0/0 Enable-
        Capabilities: [78] Express Endpoint IRQ 0
        Capabilities: [100] Virtual Channel
        Capabilities: [128] Power Budgeting

07:05.0 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd Unknown
device [1180:0832] (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, medium devsel, latency 64, IRQ 5
        Memory at ce000000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [dc] Power Management version 2

07:05.1 Generic system peripheral [0805]: Ricoh Co Ltd
R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev
19)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, medium devsel, latency 64, IRQ 7
        Memory at ce000800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

07:05.2 System peripheral [0880]: Ricoh Co Ltd Unknown
device [1180:0843] (rev 01)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: bus master, medium devsel, latency 0, IRQ 11
        Memory at ce000c00 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

07:05.3 System peripheral [0880]: Ricoh Co Ltd R5C592 Memory
Stick Bus Host Adapter [1180:0592] (rev 0a)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: medium devsel, IRQ 11
        Memory at ce001000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2

07:05.4 System peripheral [0880]: Ricoh Co Ltd xD-Picture
Card Controller [1180:0852] (rev 05)
        Subsystem: Hewlett-Packard Company Unknown device
[103c:30b7]
        Flags: medium devsel, IRQ 11
        Memory at ce001400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [80] Power Management version 2


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages util-linux depends on:
ii  libc6    2.5-7                           GNU C Library:
Shared libraries
ii  libncurs 5.5-5                           Shared
libraries for terminal hand
ii  libslang 2.0.7-1                         The S-Lang
programming library - r
ii  libuuid1 1.39+1.40-WIP-2007.04.07+dfsg-2 universally
unique id library
ii  lsb-base 3.1-23.1                        Linux Standard
Base 3.1 init scrip
ii  tzdata   2007f-2                         time zone and
daylight-saving time
ii  zlib1g   1:1.2.3-15                      compression
library - runtime

util-linux recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to