Bug 120894

Summary: ULi chipset not supported
Product: [openSUSE] SUSE Linux 10.1 Reporter: Michael Stather <kontakt>
Component: KernelAssignee: Andreas Kleen <ak>
Status: RESOLVED WONTFIX QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: sndirsch
Version: Alpha 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: xorg.conf
xorg log

Description Michael Stather 2005-10-06 21:46:45 UTC
I´ve a new AsRock 939Dual SATAII board (very popular at the moment) with an ULi
M1695(northbrigde) and ULi M1567(southbrigde) chipset.
On starting I get the following messages in the messages log:
Oct  6 21:20:26 r098088 kernel: Linux agpgart interface v0.101 (c) Dave Jones
Oct  6 21:20:26 r098088 kernel: agpgart: Unsupported ALi chipset (device id: 1689)
Oct  6 21:20:26 r098088 kernel: agpgart: Detected AGP bridge 20
Oct  6 21:20:26 r098088 kernel: Setting up ULi AGP. 
Oct  6 21:20:26 r098088 kernel: agpgart: AGP aperture is 256M @ 0xd0000000
Oct  6 21:20:26 r098088 kernel: ali1563: SMBus control = 0403
Oct  6 21:20:26 r098088 kernel: ali1563_probe: Returning 0
Oct  6 21:20:26 r098088 kernel: ali15x3_smbus 0000:00:07.1: ALI15X3_smb region
uninitialized - upgrade BIOS or use force_addr=0xaddr
Oct  6 21:20:26 r098088 kernel: ali15x3_smbus 0000:00:07.1: ALI15X3 not
detected, module not inserted.
Oct  6 21:20:26 r098088 kernel: ali1535_smbus 0000:00:07.1: ALI1535_smb region
uninitialized - upgrade BIOS?
Oct  6 21:20:26 r098088 kernel: ali1535_smbus 0000:00:07.1: ALI1535 not
detected, module not inserted.

hwinfo --bridge returns:

r098088:/home/michael # hwinfo --bridge
09: PCI 00.0: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_1695
  Unique ID: qLht.C3WlEYwTl8E
  SysFS ID: /devices/pci0000:00/0000:00:00.0
  SysFS BusID: 0000:00:00.0
  Hardware Class: bridge
  Model: "ALi M1695 K8 Northbridge [PCI Express and HyperTransport]"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x1695 "M1695 K8 Northbridge [PCI Express and HyperTransport]"
  Module Alias: "pci:v000010B9d00001695sv00000000sd00000000bc06sc00i00"
  Driver Info #0:
    Driver Status: ali_agp is active
    Driver Activation Cmd: "modprobe ali_agp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

10: PCI 01.0: 0604 PCI bridge (Normal decode)
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_524b
  Unique ID: vSkL.YLffTqXlFgE
  SysFS ID: /devices/pci0000:00/0000:00:01.0
  SysFS BusID: 0000:00:01.0
  Hardware Class: bridge
  Model: "ALi PCI bridge"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x524b
  Driver: "pcieport-driver"
  IRQ: 65 (no events)
  Module Alias: "pci:v000010B9d0000524Bsv00000000sd00000000bc06sc04i00"
  Driver Info #0:
    Driver Status: shpchp is active
    Driver Activation Cmd: "modprobe shpchp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

11: PCI 02.0: 0604 PCI bridge (Normal decode)
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_524c
  Unique ID: _Znp.3mbPyOfSn2F
  SysFS ID: /devices/pci0000:00/0000:00:02.0
  SysFS BusID: 0000:00:02.0
  Hardware Class: bridge
  Model: "ALi PCI bridge"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x524c
  Driver: "pcieport-driver"
  IRQ: 73 (no events)
  Module Alias: "pci:v000010B9d0000524Csv00000000sd00000000bc06sc04i00"
  Driver Info #0:
    Driver Status: shpchp is active
    Driver Activation Cmd: "modprobe shpchp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

12: PCI(AGP) 04.0: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_1689
  Unique ID: 8otl.05BmTiV0RY9
  SysFS ID: /devices/pci0000:00/0000:00:04.0
  SysFS BusID: 0000:00:04.0
  Hardware Class: bridge
  Model: "ALi M1689 K8 Northbridge [Super K8 Single Chip]"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x1689 "M1689 K8 Northbridge [Super K8 Single Chip]"
  Driver: "agpgart-amd64"
  Memory Range: 0xd0000000-0xdfffffff (rw,prefetchable)
  Module Alias: "pci:v000010B9d00001689sv00000000sd00000000bc06sc00i00"
  Driver Info #0:
    Driver Status: amd64_agp is active
    Driver Activation Cmd: "modprobe amd64_agp"
  Driver Info #1:
    Driver Status: ali_agp is active
    Driver Activation Cmd: "modprobe ali_agp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

13: PCI 05.0: 0604 PCI bridge (Normal decode)
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_5246
  Unique ID: CvwD.zGxv3_xDdlC
  SysFS ID: /devices/pci0000:00/0000:00:05.0
  SysFS BusID: 0000:00:05.0
  Hardware Class: bridge
  Model: "ALi AGP8X Controller"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x5246 "AGP8X Controller"
  Module Alias: "pci:v000010B9d00005246sv00000000sd00000000bc06sc04i00"
  Driver Info #0:
    Driver Status: shpchp is active
    Driver Activation Cmd: "modprobe shpchp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

14: PCI 06.0: 0604 PCI bridge (Subtractive decode)
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_5249
  Unique ID: H0_h.Xi7km9jxxp1
  SysFS ID: /devices/pci0000:00/0000:00:06.0
  SysFS BusID: 0000:00:06.0
  Hardware Class: bridge
  Model: "ALi M5249 HTT to PCI Bridge"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x5249 "M5249 HTT to PCI Bridge"
  Module Alias: "pci:v000010B9d00005249sv00000000sd00000000bc06sc04i01"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

15: PCI 07.0: 0601 ISA bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_1563
  Unique ID: M71A.5rwKtZcxSz9
  SysFS ID: /devices/pci0000:00/0000:00:07.0
  SysFS BusID: 0000:00:07.0
  Hardware Class: bridge
  Model: "ASRock In M1563 HyperTransport South Bridge"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x1563 "M1563 HyperTransport South Bridge"
  SubVendor: pci 0x1849 "ASRock Incorporation"
  SubDevice: pci 0x1563
  Revision: 0x70
  Driver: "ali1563_i2c"
  Module Alias: "pci:v000010B9d00001563sv00001849sd00001563bc06sc01i00"
  Driver Info #0:
    Driver Status: i2c_ali1563 is active
    Driver Activation Cmd: "modprobe i2c_ali1563"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

16: PCI 07.1: 0680 Bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_10b9_7101
  Unique ID: ESW+.egvSauENMU7
  SysFS ID: /devices/pci0000:00/0000:00:07.1
  SysFS BusID: 0000:00:07.1
  Hardware Class: bridge
  Model: "ASRock In M7101 Power Management Controller [PMU]"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x7101 "M7101 Power Management Controller [PMU]"
  SubVendor: pci 0x1849 "ASRock Incorporation"
  SubDevice: pci 0x7101
  Module Alias: "pci:v000010B9d00007101sv00001849sd00007101bc06sc80i00"
  Driver Info #0:
    Driver Status: i2c_ali15x3 is active
    Driver Activation Cmd: "modprobe i2c_ali15x3"
  Driver Info #1:
    Driver Status: i2c_ali1535 is active
    Driver Activation Cmd: "modprobe i2c_ali1535"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

25: PCI 18.0: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_1022_1100
  Unique ID: fiDB.ptk_g9XAN03
  SysFS ID: /devices/pci0000:00/0000:00:18.0
  SysFS BusID: 0000:00:18.0
  Hardware Class: bridge
  Model: "AMD K8 [Athlon64/Opteron] HyperTransport Technology Configuration"
  Vendor: pci 0x1022 "AMD"
  Device: pci 0x1100 "K8 [Athlon64/Opteron] HyperTransport Technology Configuration"
  Module Alias: "pci:v00001022d00001100sv00000000sd00000000bc06sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

26: PCI 18.1: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_1022_1101
  Unique ID: W1j0.KIhk9ketuO3
  SysFS ID: /devices/pci0000:00/0000:00:18.1
  SysFS BusID: 0000:00:18.1
  Hardware Class: bridge
  Model: "AMD K8 [Athlon64/Opteron] Address Map"
  Vendor: pci 0x1022 "AMD"
  Device: pci 0x1101 "K8 [Athlon64/Opteron] Address Map"
  Module Alias: "pci:v00001022d00001101sv00000000sd00000000bc06sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

27: PCI 18.2: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_1022_1102
  Unique ID: OMCs.ridUeImaQn3
  SysFS ID: /devices/pci0000:00/0000:00:18.2
  SysFS BusID: 0000:00:18.2
  Hardware Class: bridge
  Model: "AMD K8 [Athlon64/Opteron] DRAM Controller"
  Vendor: pci 0x1022 "AMD"
  Device: pci 0x1102 "K8 [Athlon64/Opteron] DRAM Controller"
  Module Alias: "pci:v00001022d00001102sv00000000sd00000000bc06sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

28: PCI 18.3: 0600 Host bridge
  [Created at pci.277]
  UDI: /org/freedesktop/Hal/devices/pci_1022_1103
  Unique ID: Fhhh.M7aE7ttHy94
  SysFS ID: /devices/pci0000:00/0000:00:18.3
  SysFS BusID: 0000:00:18.3
  Hardware Class: bridge
  Model: "AMD K8 [Athlon64/Opteron] Miscellaneous Control"
  Vendor: pci 0x1022 "AMD"
  Device: pci 0x1103 "K8 [Athlon64/Opteron] Miscellaneous Control"
  Module Alias: "pci:v00001022d00001103sv00000000sd00000000bc06sc00i00"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

My 3D acceleration using a radeon doesn´t work, could this be realted to the
"unknown agp bridge"? If not I´ll file a seperate bug report.
Comment 1 Stefan Dirsch 2005-10-10 13:49:40 UTC
It is supported:

12: PCI(AGP) 04.0: 0600 Host bridge
  [...]
  Hardware Class: bridge
  Model: "ALi M1689 K8 Northbridge [Super K8 Single Chip]"
  Vendor: pci 0x10b9 "ALi Corporation"
  Device: pci 0x1689 "M1689 K8 Northbridge [Super K8 Single Chip]"
  Driver: "agpgart-amd64"
  [...]
  Driver Info #0:
    Driver Status: amd64_agp is active
    Driver Activation Cmd: "modprobe amd64_agp"
  Driver Info #1:
    Driver Status: ali_agp is active
    Driver Activation Cmd: "modprobe ali_agp"
  Config Status: cfg=no, avail=yes, need=no, active=unknown

But amd64-agp/ali-agp might conflict ...

Could you attach the output of "lsmod|grep agp" and /etc/X11/xorg.conf and
/var/Log/Xorg.0.log? Thanks.
Comment 2 Michael Stather 2005-10-10 14:42:18 UTC
I never checked whether the AGP support was active, if you say it is then I was
wrong. I just guessed that "unsupported Ali chipset" means no support. But after
it it detects an AGP bridge.
What about these messages:

Oct  6 21:20:26 r098088 kernel: ali1563: SMBus control = 0403
Oct  6 21:20:26 r098088 kernel: ali1563_probe: Returning 0
Oct  6 21:20:26 r098088 kernel: ali15x3_smbus 0000:00:07.1: ALI15X3_smb region
uninitialized - upgrade BIOS or use force_addr=0xaddr
Oct  6 21:20:26 r098088 kernel: ali15x3_smbus 0000:00:07.1: ALI15X3 not
detected, module not inserted.
Oct  6 21:20:26 r098088 kernel: ali1535_smbus 0000:00:07.1: ALI1535_smb region
uninitialized - upgrade BIOS?
Oct  6 21:20:26 r098088 kernel: ali1535_smbus 0000:00:07.1: ALI1535 not
detected, module not inserted.

Comment 3 Stefan Dirsch 2005-10-10 14:46:54 UTC
"unsupported Ali chipset" does not necessarily mean, that it does not work.
Could you add the missing informations I requested above? Thanks.
Comment 4 Michael Stather 2005-10-10 14:49:31 UTC
r098088:/home/michael # lsmod|grep agp
amd64_agp              11976  1
ali_agp                 6912  0
agpgart                33096  2 amd64_agp,ali_agp

Comment 5 Michael Stather 2005-10-10 14:49:57 UTC
Created attachment 52088 [details]
xorg.conf
Comment 6 Michael Stather 2005-10-10 14:50:27 UTC
Created attachment 52089 [details]
xorg log
Comment 7 Stefan Dirsch 2005-10-10 14:54:16 UTC
You're using the nv driver which does not provide any 3D support. Could you
install the nvidia driver via YOU (YaST Online Update) first? Thanks.
Comment 8 Michael Stather 2005-10-10 18:16:58 UTC
The problem is that

1. YOU doesn´t work. When I start it I get a message that it isn´t able to fetch
the mirror list. If I click on "details" I get just "URL: www.suse.de<br>" in
the details window.

2. I´ve a TNT2 graphics card which isn´t supported any more with the newest
nVidia driver. The latest driver which supports it (about 5 months old) doesn´t
work correctly.
Comment 9 Stefan Dirsch 2005-10-10 19:56:46 UTC
Ok. But we could at least verify if agp support works. For this install the 
testgart package and execute the testgart program and attach the results. 
Comment 10 Michael Stather 2005-10-10 20:42:16 UTC
r098088:/home/michael # testgart
version: 0.101
bridge id: 0x168910b9
agp_mode: 0x1b000217
aper_base: 0xd0000000
aper_size: 256
pg_total: 240896
pg_system: 240896
pg_used: 0
base=00000000d0000000   range=0000000010000000
base=d0000000
entry.key : 0
entry.key : 1
Allocated 8 megs of GART memory
start=579466856, end=579468540
MemoryBenchmark: 2375 mb/s
start=579468632, end=579470321
MemoryBenchmark: 2368 mb/s
start=579470414, end=579472089
MemoryBenchmark: 2388 mb/s
Average speed: 2377 mb/s
Testing data integrity (1st pass): passed on first pass.
Testing data integrity (2nd pass): passed on second pass.
Comment 11 Stefan Dirsch 2005-10-10 20:47:41 UTC
This looks definitely good. But it's still strange that two different agp  
modules are registered for this bridge (see comment #1). Therefore I assign 
this to Andy Kleen. AFAIK he's our agp expert. 
Comment 12 Michael Stather 2005-10-10 21:26:18 UTC
Ok, thanks :)
What´s with the message about the SMBus inititlisation ("upgrade BIOS or force
address"). Are they harmless or what is SMBus for?
Comment 13 Andreas Kleen 2005-10-10 21:42:03 UTC
SMBus is normally used for temperature sensors and similar small and stupid
devices. Shouldn't be directly related to 3d. Probably harmless.

PCI reports two bridges, but that should be harmless. I don't know why ALI
displays it this way, maybe they split the AGP bridge into two parts.
On x86-64 the AGP driver only cares about the in CPU northbridge anyways.

I can add the pci id of the ULI bridge to the driver, then it won't display
that message anymore. It's only cosmetical anyways though.
Comment 14 Stefan Dirsch 2005-10-11 02:28:41 UTC
Andy, I'm not sure if I explained it well enough. For the "ALi M1689 K8 
Northbridge" two agp drivers are loaded because two driver are registered for 
it. 
     
modules.pcimap:    
[...]    
amd64-agp            0x000010b9 0x00001689   
ali-agp              0x000010b9 0xffffffff  
  
It seems to work but I'm not sure if this works only by accident depending on  
which module was loaded first?   
Comment 15 Stefan Dirsch 2005-10-11 02:34:10 UTC
Another one (SIS 750/760): 
  
amd64-agp            0x00001039 0x00000755     
amd64-agp            0x00001039 0x00000760    
sis-agp              0x00001039 0xffffffff   
   
   
Comment 16 Andreas Kleen 2005-10-11 07:27:36 UTC
SIS 750/760 is already in mainline.

I toggled the default now so that try_unsupported for AMD64 is on by default.
I don't think we ever found a chipset that didn't work, so it's ok to do that.

Comment 17 Andreas Kleen 2005-10-11 07:30:11 UTC
Nothing to fix