2003-08-06 04:21:38

by Dieter Nützel

[permalink] [raw]
Subject: 2.4.22-rc1 + ACPI patch: amd76x_pm do not work any longer

Hello,

I had it running very well on my dual Athlon MP 1900+ for several months
before. Latest Kernel was 2.4.22-pre5+ACPI patch.

Any changes?
I changed lm_sensors from 2.7.0 (?) to 2.8.0

System:
dual Athlon MP 1900+
MSI K7D Master-L

2.4.22-rc1
acpi-20030730-2.4.22-pre8.diff
preempt-kernel-rml-2.4.21-1.patch
IDE as modules

SunWave1 /home/nuetzel# modprobe amd76x_pm
/lib/modules/2.4.22-rc1-rl/kernel/drivers/char/amd76x_pm.o: init_module:
Device or resource busy
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.22-rc1-rl/kernel/drivers/char/amd76x_pm.o: insmod
/lib/modules/2.4.22-rc1-rl/kernel/drivers/char/amd76x_pm.o failed
/lib/modules/2.4.22-rc1-rl/kernel/drivers/char/amd76x_pm.o: insmod amd76x_pm
failed

dmesg:
amd76x_pm: Version 20020730
amd76x_pm: Initializing northbridge Advanced Micro Devices [AMD] AMD-760 MP
[IGD4-2P] System Controller
amd76x_pm: Could not find southbridge <----!!!!!!!!

2.4.22-pre5
older ACPI patch
preempt-kernel-rml-2.4.21-1.patch

<6>amd76x_pm: Version 20020730
<6>amd76x_pm: Initializing northbridge Advanced Micro Devices [AMD] AMD-760 MP
[IGD4-2P] System Controller



PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] System
Controller (rev 17).
Master Capable. Latency=32.
Prefetchable 32 bit memory at 0xe8000000 [0xebffffff].
Prefetchable 32 bit memory at 0xf1101000 [0xf1101fff].
I/O at 0xc800 [0xc803].
Bus 0, device 1, function 0:
PCI bridge: Advanced Micro Devices [AMD] AMD-760 MP [IGD4-2P] AGP Bridge
(rev 0).
Master Capable. Latency=32. Min Gnt=14.
Bus 0, device 7, function 0:
ISA bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ISA (rev 5).
Bus 0, device 7, function 1:
IDE interface: Advanced Micro Devices [AMD] AMD-768 [Opus] IDE (rev 4).
Master Capable. Latency=32.
I/O at 0xc000 [0xc00f].
Bus 0, device 7, function 3:
Bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] ACPI (rev 3).
Master Capable. Latency=32.
Bus 0, device 9, function 0:
SCSI storage controller: Adaptec AIC-7892A U160/m (rev 2).
IRQ 17.
Master Capable. Latency=32. Min Gnt=40.Max Lat=25.
I/O at 0xc400 [0xc4ff].
Non-prefetchable 64 bit memory at 0xf1100000 [0xf1100fff].
Bus 0, device 16, function 0:
PCI bridge: Advanced Micro Devices [AMD] AMD-768 [Opus] PCI (rev 5).
Master Capable. Latency=32. Min Gnt=6.
Bus 1, device 5, function 0:
VGA compatible controller: ATI Technologies Inc Radeon R200 QL [Radeon
8500 LE] (rev 0).
IRQ 17.
Master Capable. Latency=32. Min Gnt=8.
Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
I/O at 0xb000 [0xb0ff].
Non-prefetchable 32 bit memory at 0xed000000 [0xed00ffff].
Bus 2, device 0, function 0:
USB Controller: Advanced Micro Devices [AMD] AMD-768 [Opus] USB (rev 7).
IRQ 19.
Master Capable. Latency=32. Max Lat=80.
Non-prefetchable 32 bit memory at 0xf0122000 [0xf0122fff].
Bus 2, device 4, function 0:
Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 8).
IRQ 16.
Master Capable. Latency=32. Min Gnt=2.Max Lat=20.
I/O at 0x9000 [0x901f].
Bus 2, device 4, function 1:
Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 8).
Master Capable. Latency=32.
I/O at 0x9400 [0x9407].
Bus 2, device 5, function 0:
Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 4).
IRQ 17.
Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
Prefetchable 32 bit memory at 0xf1000000 [0xf1000fff].
I/O at 0x9800 [0x981f].
Non-prefetchable 32 bit memory at 0xf0000000 [0xf00fffff].
Bus 2, device 6, function 0:
SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 1).
IRQ 18.
Master Capable. Latency=32. Min Gnt=8.Max Lat=8.
I/O at 0x9c00 [0x9cff].
Non-prefetchable 32 bit memory at 0xf0120000 [0xf0120fff].
Bus 2, device 9, function 0:
Ethernet controller: Intel Corp. 82559ER (rev 9).
IRQ 17.
Master Capable. Latency=32. Min Gnt=8.Max Lat=56.
Non-prefetchable 32 bit memory at 0xf0121000 [0xf0121fff].
I/O at 0xa000 [0xa03f].
Non-prefetchable 32 bit memory at 0xf0100000 [0xf011ffff].

Thanks.

--
Dieter N?tzel
Leiter F&E, WEAR-A-BRAIN GmbH, Wiener Str. 5, 28359 Bremen, Germany
Mobil: 0162 673 09 09


2003-08-06 10:08:23

by Adrian Bunk

[permalink] [raw]
Subject: Re: 2.4.22-rc1 + ACPI patch: amd76x_pm do not work any longer


On Wed, Aug 06, 2003 at 06:21:06AM +0200, Dieter N?tzel wrote:
> Hello,

Hi Dieter,

> I had it running very well on my dual Athlon MP 1900+ for several months
> before. Latest Kernel was 2.4.22-pre5+ACPI patch.
>
> Any changes?
> I changed lm_sensors from 2.7.0 (?) to 2.8.0
>
> System:
> dual Athlon MP 1900+
> MSI K7D Master-L
>
> 2.4.22-rc1
> acpi-20030730-2.4.22-pre8.diff
> preempt-kernel-rml-2.4.21-1.patch
>...

does an unpatched 2.4.22-rc1 work?

If yes, please check which of the two patches causes the problem.

> Thanks.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2003-08-06 17:02:53

by Dieter Nützel

[permalink] [raw]
Subject: Re: 2.4.22-rc1 + ACPI patch: amd76x_pm do not work any longer

Am Mittwoch, 6. August 2003 12:08 schrieb Adrian Bunk:
> On Wed, Aug 06, 2003 at 06:21:06AM +0200, Dieter N?tzel wrote:
> > Hello,
>
> Hi Dieter,
>
> > I had it running very well on my dual Athlon MP 1900+ for several months
> > before. Latest Kernel was 2.4.22-pre5+ACPI patch.
> >
> > Any changes?
> > I changed lm_sensors from 2.7.0 (?) to 2.8.0

This one is the culprit.
Reverting to 2.7.0 cure my problems.

i2c-core.o: i2c core module version 2.7.0 (20021208)
i2c-proc.o version 2.7.0 (20021208)
i2c-amd756.o version 2.7.0 (20021208)
i2c-amd756.o: Found AMD768 SMBus controller.
i2c-amd756.o: AMD768 bus detected and initialized

amd76x_pm: Version 20020730
amd76x_pm: Initializing northbridge Advanced Micro Devices [AMD] AMD-760 MP
[IGD4-2P] System Controller
amd76x_pm: Initializing southbridge Advanced Micro Devices [AMD] AMD-768
[Opus] ACPI
i2c-isa.o version 2.7.0 (20021208)
i2c-isa.o: ISA bus access for i2c modules initialized.
eeprom.o version 2.7.0 (20021208)
w83781d.o version 2.7.0 (20021208)

> > System:
> > dual Athlon MP 1900+
> > MSI K7D Master-L
> >
> > 2.4.22-rc1
> > acpi-20030730-2.4.22-pre8.diff
> > preempt-kernel-rml-2.4.21-1.patch
> >...

Work all fine, now.

>
> does an unpatched 2.4.22-rc1 work?

I think it do;-)

amd76x_pm is GREAT!

/home/nuetzel> sensors
w83627hf-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1: +1.72 V (min = +1.61 V, max = +1.77 V)
VCore 2: +2.49 V (min = +2.36 V, max = +2.62 V)
+3.3V: +3.36 V (min = +3.13 V, max = +3.45 V)
+5V: +4.99 V (min = +4.72 V, max = +5.24 V)
+12V: +12.01 V (min = +10.79 V, max = +13.19 V)
-12V: -12.39 V (min = -13.21 V, max = -10.90 V)
-5V: -5.10 V (min = -5.26 V, max = -4.76 V)
V5SB: +5.44 V (min = +4.72 V, max = +5.24 V)
VBat: +3.47 V (min = +2.40 V, max = +3.60 V)
U160: 2327 RPM (min = 1500 RPM, div = 4)
CPU 0: 4090 RPM (min = 3000 RPM, div = 2)
CPU 1: 4115 RPM (min = 3000 RPM, div = 2)
System: +37.0?C (limit = +40?C, hysteresis = +37?C) sensor = thermistor
CPU 1: +29.0?C (limit = +52?C, hysteresis = +47?C) sensor = 3904
transistor
CPU 0: +31.0?C (limit = +52?C, hysteresis = +47?C) sensor = 3904
transistor
vid: +18.50 V
alarms: Chassis intrusion detection
beep_enable:
Sound alarm disabled


Cheers,
Dieter

--
Dieter N?tzel
Leiter F&E, WEAR-A-BRAIN GmbH, Wiener Str. 5, 28359 Bremen, Germany
Mobil: 0162 673 09 09

2003-08-06 18:26:36

by Pasi Savolainen

[permalink] [raw]
Subject: Re: 2.4.22-rc1 + ACPI patch: amd76x_pm do not work any longer

* Dieter N?tzel <[email protected]>:
> Am Mittwoch, 6. August 2003 12:08 schrieb Adrian Bunk:
>> On Wed, Aug 06, 2003 at 06:21:06AM +0200, Dieter N?tzel wrote:
>> > Hello,
>>
>> Hi Dieter,
>>
>> > I had it running very well on my dual Athlon MP 1900+ for several months
>> > before. Latest Kernel was 2.4.22-pre5+ACPI patch.
>> >
>> > Any changes?
>> > I changed lm_sensors from 2.7.0 (?) to 2.8.0
>
> This one is the culprit.
> Reverting to 2.7.0 cure my problems.

It's most probably because somebody (temp. monitoring) is already using
the south bridge, so just plain grabbing of it doesn't work. I faced
this with port to 2.6 and it's handled thus:


+ /* Find southbridge */
+ pdev_sb = NULL;
+ while((pdev_sb = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, pdev_sb)) != NULL) {
+ if(pci_match_device(amd_sb_tbl, pdev_sb) != NULL)
+ goto found_sb;
+ }
+ printk(KERN_ERR "amd76x_pm: Could not find southbridge\n");
+ return -ENODEV;


It could work in 2.4 too.


--
Psi -- <http://www.iki.fi/pasi.savolainen>
Vivake -- Virtuaalinen valokuvauskerho <http://members.lycos.co.uk/vivake/>