All times are UTC-06:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Apr 02, 2005 10:02 pm 
Offline

Joined: Wed Dec 15, 2004 2:54 am
Posts: 25
Location: Vantaa, Finland
I'm baffled. With earlier kernels i've been able to use the Marvell 1gbit ethernetport, but this kernel doesn't even seem to find it in the pci device listing. Also the drivername seemed to have changed a bit from mv64340_eth.ko to mv643xx_eth.ko.

lspci listing is a bit weird ;

0000:00:00.0 Host bridge: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller (rev 03)
0000:00:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
0000:00:05.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895 (rev 02)
0000:00:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
0000:00:06.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
0000:00:0c.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10)
0000:00:0c.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:0c.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
0000:00:0c.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
0000:00:0c.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10)
0000:00:0c.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40)
0000:00:0c.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 20)
0000:00:0d.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
0001:01:00.0 Host bridge: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller (rev 03)
0001:01:08.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]

as you can see in that list my guess is that it sees the System Controller twice there where as the other should be the ethernet. So the kernels pci card database is probably to blame?

i'll try re-emerging pci-tools, but probably that doesn't help.


Top
   
PostPosted: Sat Apr 02, 2005 10:19 pm 
Offline

Joined: Wed Dec 15, 2004 2:54 am
Posts: 25
Location: Vantaa, Finland
pci-utils that is...and looking the entries with lspci it looks like this:

> lspci -n -vv -x -s 00:00
0000:00:00.0 Class 0600: 11ab:6460 (rev 03)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0, cache line size 20
Interrupt: pin A routed to IRQ 0

00: ab 11 60 64 06 00 00 20 03 00 00 06 20 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00



> lspci -n -vv -x -s 01:00
0001:01:00.0 Class 0600: 11ab:6460 (rev 03)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 0, cache line size 20
Interrupt: pin A routed to IRQ 0
00: ab 11 60 64 07 00 b0 22 03 00 00 06 20 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00


Identical ID's and all :-/


Top
   
PostPosted: Sun Apr 03, 2005 1:10 am 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
This is the second report about this problem, which is why I haven't marked 2.6.11 stable yet. I'm going to look into this asap (I've been waiting for a new patchset from gentoo-sources), it's probably just a case of me using the wrong/old patches (2.6.11 is using a new driver for the gigabit port).
In the meantime just use the latest 2.6.10 sources. 2.6.12 (vanilla) should support the Pegasos so when it is released I will probably retire the pegasos-sources kernel branch.

Thank you for the extremely detailed bug report!


Top
   
PostPosted: Sun Apr 03, 2005 2:06 am 
Offline

Joined: Wed Dec 15, 2004 2:54 am
Posts: 25
Location: Vantaa, Finland
Ok. Will wait for a new release and revert back to older kernel :)

heh. wouldn't have noticed this unless just now i needed two network interfaces.


Top
   
PostPosted: Sun Apr 03, 2005 10:25 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 111
On Sun, Apr 03, 2005 at 04:02:42AM +0000, wizor wrote:
> I'm baffled. With earlier kernels i've been able to use the Marvell 1gbit ethernetport, but this kernel doesn't even seem to find it in the pci device listing. Also the drivername seemed to have changed a bit from mv64340_eth.ko to mv643xx_eth.ko.

Would be nice if you gave details of what that exact kernel that did work
nicely before is.

> lspci listing is a bit weird ;
>
> 0000:00:00.0 Host bridge: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller (rev 03)
> 0000:00:01.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 46)
> 0000:00:05.0 SCSI storage controller: LSI Logic / Symbios Logic 53c895 (rev 02)
> 0000:00:06.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 06)
> 0000:00:06.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 06)
> 0000:00:0c.0 ISA bridge: VIA Technologies, Inc. VT8231 [PCI-to-ISA Bridge] (rev 10)
> 0000:00:0c.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
> 0000:00:0c.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
> 0000:00:0c.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 1e)
> 0000:00:0c.4 Bridge: VIA Technologies, Inc. VT8235 ACPI (rev 10)
> 0000:00:0c.5 Multimedia audio controller: VIA Technologies, Inc. VT82C686 AC97 Audio Controller (rev 40)
> 0000:00:0c.6 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller (rev 20)
> 0000:00:0d.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 51)
> 0001:01:00.0 Host bridge: Marvell Technology Group Ltd. MV64360/64361/64362 System Controller (rev 03)
> 0001:01:08.0 VGA compatible controller: ATI Technologies Inc Radeon RV200 QW [Radeon 7500]
>
> as you can see in that list my guess is that it sees the System Controller twice there where as the other should be the ethernet. So the kernels pci card database is probably to blame?

The marvell gigabit ethernet is no pci thingy, but accesible directly from the
northbridge internal mmio space, which sucks bigtime but hey.

This means we have to map the pci id of the northbridge for getting the driver
to work, which is what i did, and the code has been submitted and accepted
upstream for inclusion in 2.6.12. The only missing piece i need to work on is
hotplug support, but you can load mv643xx_eth by hand in /etc/modules or
whatever, or use debian's version of discover2 which should know about it

What where your problems exactly ?

Friendly,

Sven Luther


Top
   
PostPosted: Tue Apr 05, 2005 2:15 am 
Offline

Joined: Sat Feb 12, 2005 9:16 am
Posts: 1
Quote:
Ok. Will wait for a new release and revert back to older kernel :)

heh. wouldn't have noticed this unless just now i needed two network interfaces.
I don't know about gentoo but the 2 patches in the debian kernel ppc patch package works fine... here - applied on plain ftp.kernel.org linux-2.6.11.6.

mfg
boris


Top
   
PostPosted: Tue Apr 05, 2005 10:01 pm 
Offline

Joined: Fri Sep 24, 2004 1:39 am
Posts: 103
Location: Gothenburg, Sweden
I just uploaded 2.6.11-r3. The gigabit driver should work (I'm running on it right now).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 7 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group