Skip to contentSkip to conversation

PROBLEM: `modprobe agpgart` locks machine badly

DISCUSSION Diego SANTA CRUZ 3 participants 4 messages May 14, 2002 – May 23, 2002

lore
Share & tools
lore
#0 lore raw

Hi Alex,

Quoted 2 lines

1.
modprobe agpgart locks machine badly

I experience the exact same problem on my machine (an HP Omnibook 4150 laptop): a hard-lock in the initalization of the agpgart module, with the same chipset (440BX/ZX).

Quoted 11 lines

7.500:00.0 Host bridge: Intel Corp. 440BX/ZX - 82443BX/ZX Host bridge (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Step
ping- SERR+ FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort-
<TAbort
- <MAbort+ >SERR- <PERR-
Latency: 64
Region 0: Memory at <unassigned> (32-bit, prefetchable)
[size=256M]

Quoted 3 lines
        Capabilities: [a0] AGP version 1.0 
                Status: RQ=31 SBA+ 64bit- FW- Rate=x1,x2 
                Command: RQ=0 SBA- AGP- 64bit- FW- Rate=<none>

I did a bit of debugging some time ago with the datasheets from intel. If i remember well, the problem was that the base of the aperture is not initialized by the BIOS (i.e. the APBASE register of the AGP bridge).

This is visible in the lspci listing above, in that the Region 0 memory is "<unassigned>". On the machines that I have seen with agpgart working, the address of Region 0 is the address that appears in the APBASE register.

I did not find any solution for my machine. Maybe there is a BIOS upgrade that solves the problem for you? If you find any solution please let me know.

Best regards,

Diego

Signature · 11 lines
-------------------------------------------------------
Diego Santa Cruz
PhD. student
Publications available at http://ltswww.epfl.ch/~dsanta
Signal Processing Institute (ITS) -- formerly LTS
Swiss Federal Institute of Technology (EPFL)
EPFL - STI - ITS, CH-1015 Lausanne, Switzerland
E-mail:     [email protected]
Phone:      +41 - 21 - 693 26 57
Fax:        +41 - 21 - 693 76 00
-------------------------------------------------------
#1 lore raw
Quoted 8 lines · Diego SANTA CRUZ

I did a bit of debugging some time ago with the datasheets from intel. If i remember well, the problem was that the base of the aperture is not initialized by the BIOS (i.e. the APBASE register of the AGP bridge).

This is visible in the lspci listing above, in that the Region 0 memory is "<unassigned>". On the machines that I have seen with agpgart working, the address of Region 0 is the address that appears in the APBASE register.

Can it be set manually with setpci?
--
vda

#2 lore raw
Quoted 11 lines · Denis Vlasenko
Quoted 8 lines · Diego SANTA CRUZ

I did a bit of debugging some time ago with the datasheets from intel. If i remember well, the problem was that the base of the aperture is not initialized by the BIOS (i.e. the APBASE register of the AGP bridge).

This is visible in the lspci listing above, in that the Region 0 memory is "<unassigned>". On the machines that I have seen with agpgart working, the address of Region 0 is the address that appears in the APBASE register.

Can it be set manually with setpci?

Not that I know. Besides, what would be the correct value? However, my knowledge of hardware programming in nearly zero so...

Best,

Diego

Quoted 2 lines

--
vda

Signature · 11 lines
-------------------------------------------------------
Diego Santa Cruz
PhD. student
Publications available at http://ltswww.epfl.ch/~dsanta
Signal Processing Institute (ITS) -- formerly LTS
Swiss Federal Institute of Technology (EPFL)
EPFL - STI - ITS, CH-1015 Lausanne, Switzerland
E-mail:     [email protected]
Phone:      +41 - 21 - 693 26 57
Fax:        +41 - 21 - 693 76 00
-------------------------------------------------------
#3 lore raw

well lets assume i wanted to use 'e0000000'(based on win32) as my value for region 0 on PCI device 00:00.0 .. How would i use setpci to manipulate those settings? The man page wasn't much help. Thanks.

Quoted 35 lines · Diego SANTA CRUZ
Quoted 11 lines · Denis Vlasenko
Quoted 8 lines · Diego SANTA CRUZ

I did a bit of debugging some time ago with the datasheets from intel. If i remember well, the problem was that the base of the aperture is not initialized by the BIOS (i.e. the APBASE register of the AGP bridge).

This is visible in the lspci listing above, in that the Region 0 memory is "<unassigned>". On the machines that I have seen with agpgart working, the address of Region 0 is the address that appears in the APBASE register.

Can it be set manually with setpci?

Not that I know. Besides, what would be the correct value? However, my knowledge of hardware programming in nearly zero so...

Best,

Diego

Quoted 2 lines

--
vda

Signature · 11 lines
-------------------------------------------------------
Diego Santa Cruz
PhD. student
Publications available at http://ltswww.epfl.ch/~dsanta
Signal Processing Institute (ITS) -- formerly LTS
Swiss Federal Institute of Technology (EPFL)
EPFL - STI - ITS, CH-1015 Lausanne, Switzerland
E-mail:     [email protected]
Phone:      +41 - 21 - 693 26 57
Fax:        +41 - 21 - 693 76 00
-------------------------------------------------------