linux-3.0.4, mv643xx_eth troubles on Pegasos2 G4

nello martuscielli ppc.addon at gmail.com
Tue Oct 18 08:40:54 EST 2011


i'm trying to enable marvel gigabit ethernet support but it doesn't work.
Here my dmesg instead my config is attached.

root at peg2:~# dmesg
:08.0: supports D1 D2
pci 0001:01:08.1: [1002:5940] type 0 class 0x000380
pci 0001:01:08.1: reg 10: [mem 0xd0000000-0xd7ffffff pref]
pci 0001:01:08.1: reg 14: [mem 0xc8010000-0xc801ffff]
pci 0001:01:08.1: supports D1 D2
PCI 0000:00 Cannot reserve Legacy IO [io  0x0000-0x0fff]
PCI: max bus depth: 0 pci_try_num: 1
pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0x80000000-0xbfffffff]
pci_bus 0001:01: resource 0 [io  0xffff0000-0xffffffff]
pci_bus 0001:01: resource 1 [mem 0xc0000000-0xdfffffff]
bio: create slab <bio-0> at 0
vgaarb: device added: PCI:0001:01:08.0,decodes=io+mem,owns=io+mem,locks=none
vgaarb: loaded
vgaarb: bridge control possible 0001:01:08.0
SCSI subsystem initialized
libata version 3.00 loaded.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
Switching to clocksource timebase
Switched to NOHz mode on CPU #0
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
pci 0000:00:0c.1: Fixing VIA IDE, force legacy mode on
PCI: CLS 128 bytes, default 32
rtasd: scan rate is 0, not scanning
Thermal assist unit not available
highmem bounce pool size: 64 pages
NTFS driver 2.1.30 [Flags: R/W].
JFS: nTxBlock = 8044, nTxLock = 64358
SGI XFS with ACLs, security attributes, large block/inode numbers, no
debug enabled
Btrfs loaded
msgmni has been set to 1499
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
io scheduler noop registered
io scheduler cfq registered (default)
radeonfb: Found Intel x86 BIOS ROM Image
radeonfb: No ATY,RefCLK property !
radeonfb: Retrieved PLL infos from BIOS
radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=240.00 Mhz, System=166.00 MHz
radeonfb: PLL min 20000 max 40000
i2c i2c-1: unable to read EDID block.
i2c i2c-1: unable to read EDID block.
i2c i2c-1: unable to read EDID block.
i2c i2c-3: unable to read EDID block.
i2c i2c-3: unable to read EDID block.
i2c i2c-3: unable to read EDID block.
radeonfb: Monitor 1 type CRT found
radeonfb: EDID probed
radeonfb: Monitor 2 type no found
Console: switching to colour frame buffer device 100x37
radeonfb (0001:01:08.0): ATI Radeon 5960 "Y`"
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at I/O 0x2f8 (irq = 0) is a 16550A
Generic non-volatile memory driver v1.1
parport_pc: VIA 686A/8231 detected
parport_pc: probing current configuration
parport_pc: Current parallel port base: 0x3BC
parport0: PC-style at 0x3bc, irq 7 [PCSPP]
parport0: Device ID was 64 bytes while device told it would be 63 bytes
parport0 (addr 0): SCSI adapter, IMG VP1
parport_pc: VIA parallel port: io=0x3BC, irq=7
brd: module loaded
loop: module loaded
pata_via 0000:00:0c.1: version 0.3.4
scsi0 : pata_via
scsi1 : pata_via
ata1: PATA max UDMA/100 cmd 0x1000 ctl 0x100c bmdma 0x1020 irq 14
ata2: PATA max UDMA/100 cmd 0x1010 ctl 0x101c bmdma 0x1028 irq 15
Fixed MDIO Bus: probed
firewire_ohci 0000:00:01.0: enabling device (0000 -> 0003)
firewire_ohci: Added fw-ohci device 0000:00:01.0, OHCI v1.0, 8 IR + 8
IT contexts, quirks 0x11
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:05.1: enabling device (0000 -> 0002)
ehci_hcd 0000:00:05.1: EHCI Host Controller
ehci_hcd 0000:00:05.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:05.1: irq 9, io mem 0x80001800
ehci_hcd 0000:00:05.1: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 3.0.4 ehci_hcd
usb usb1: SerialNumber: 0000:00:05.1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mousedev: PS/2 mouse device common for all mice
rtc-generic rtc-generic: rtc core: registered rtc-generic as rtc0
i2c /dev entries driver
ata1.00: ATA-6: ST340810A, 3.39, max UDMA/100
ata1.00: 78165360 sectors, multi 0: LBA
lirc_dev: IR Remote Control driver registered, major 251
atkbd serio0: keyboard reset failed on isa0060/serio0
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
ata1.00: configured for UDMA/100
IR RC5 (streamzap) protocol handler initialized
IR LIRC bridge handler initialized
Linux video capture interface: v2.00
device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel at redhat.com
scsi 0:0:0:0: Direct-Access     ATA      ST340810A        3.39 PQ: 0 ANSI: 5
usbcore: registered new interface driver usbhid
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
sd 0:0:0:0: [sda] Write Protect is off
atkbd serio1: keyboard reset failed on isa0060/serio1
usbhid: USB HID core driver
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
ALSA device list:
 No soundcards found.
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
sda: sda1 sda2 sda3 < sda5 sda6 sda7 >
sd 0:0:0:0: [sda] Attached SCSI disk
ata2.00: ATAPI: SAMSUNG CDRW/DVD SM-352B, T807, max UDMA/33
ata2.00: configured for UDMA/33
scsi 1:0:0:0: CD-ROM            SAMSUNG  CDRW/DVD SM-352B T807 PQ: 0 ANSI: 5
sr0: scsi3-mmc drive: 1x/52x writer cd/rw xa/form2 cdda tray
cdrom: Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: Attached scsi generic sg1 type 5
REISERFS (device sda5): found reiserfs format "3.6" with standard journal
REISERFS (device sda5): using ordered data mode
REISERFS (device sda5): journal params: device sda5, size 8192,
journal first block 18, max trans len 1024, max batch 900, max commit
age 30, max trans age 30
REISERFS (device sda5): checking transaction log (sda5)
REISERFS (device sda5): Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly on device 8:5.
devtmpfs: mounted
Freeing unused kernel memory: 220k init
firewire_core: created device fw0: GUID 0011060000004b2f, S400
udevd[57]: starting version 173
uhci_hcd: USB Universal Host Controller Interface driver
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd 0000:00:0c.2: enabling device (0000 -> 0001)
uhci_hcd 0000:00:0c.2: UHCI Host Controller
uhci_hcd 0000:00:0c.2: new USB bus registered, assigned bus number 2
via_rhine: v1.10-LK1.5.0 2010-10-09 Written by Donald Becker
mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
uhci_hcd 0000:00:0c.2: irq 9, io base 0x00001040
sysfs: cannot create duplicate filename '/class/mdio_bus/0'
usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
------------[ cut here ]------------
WARNING: at fs/sysfs/dir.c:455
Modules linked in: snd_via82xx(+) snd_ac97_codec mv643xx_eth(+)
via_rhine(+) i2c_viapro(+) ac97_bus ohci_hcd(+) snd_mpu401_uart
uhci_hcd(+) snd_rawmidi
NIP: c00fa718 LR: c00fa718 CTR: 00000000
REGS: ef271c00 TRAP: 0700   Not tainted  (3.0.4)
MSR: 00029032 <EE,ME,CE,IR,DR>  CR: 22004428  XER: 00000000
TASK = ef294c60[94] 'modprobe' THREAD: ef270000
GPR00: c00fa718 ef271cb0 ef294c60 00000042 c0008904 00000001 00000000 00000000
GPR08: c06b6bd8 00000000 22004482 ef271c70 22004422 10024440 1000ba68 00000000
GPR16: 1000ba44 bf83e324 00000000 1000ba58 00000000 104410ec 00000a30 00000000
GPR24: c0059210 00000124 00000000 00000001 ef271cd8 ef2ba480 ffffffef ef344000
NIP [c00fa718] sysfs_add_one+0x88/0xa0
LR [c00fa718] sysfs_add_one+0x88/0xa0
Call Trace:
[ef271cb0] [c00fa718] sysfs_add_one+0x88/0xa0 (unreliable)
[ef271cd0] [c00faff4] sysfs_do_create_link+0x134/0x1e0
[ef271d00] [c0392cf8] device_add+0x204/0x544
[ef271d40] [c03d67e4] mdiobus_register+0xa4/0x198
[ef271d60] [f26785a4] mv643xx_eth_shared_probe+0x144/0x428 [mv643xx_eth]
[ef271d80] [c039685c] platform_drv_probe+0x20/0x30
[ef271d90] [c0395578] driver_probe_device+0xe4/0x198
[ef271db0] [c039569c] __driver_attach+0x70/0x98
[ef271dd0] [c0394614] bus_for_each_dev+0x60/0x90
[ef271e00] [c03951d0] driver_attach+0x24/0x34
[ef271e10] [c0394d9c] bus_add_driver+0xbc/0x23c
[ef271e30] [c0395ac8] driver_register+0xb8/0x144
[ef271e50] [c0396bb4] platform_driver_register+0x68/0x78
[ef271e60] [f2680024] mv643xx_eth_init_module+0x24/0x80 [mv643xx_eth]
[ef271e80] [c000402c] do_one_initcall+0xe0/0x1c0
[ef271eb0] [c005b438] sys_init_module+0x1600/0x17f4
[ef271f40] [c0012df8] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff62ac0
   LR = 0x10003f2c
Instruction dump:
807c0000 7fe4fb78 4bfff469 3c80c060 3884f131 4bf2051d 809d0010 4bf20515
7c641b78 3c60c060 3863f0fe 484650f9 <0fe00000> 7fe3fb78 4bfa8009 39610020
---[ end trace cebed1f190337b77 ]---
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: UHCI Host Controller
usb usb2: Manufacturer: Linux 3.0.4 uhci_hcd
usb usb2: SerialNumber: 0000:00:0c.2
hub 2-0:1.0: USB hub found
mii_bus 0 failed to register
mv643xx_eth: probe of mv643xx_eth.0 failed with error -12
hub 2-0:1.0: 2 ports detected
ohci_hcd 0000:00:05.0: OHCI Host Controller
ohci_hcd 0000:00:05.0: new USB bus registered, assigned bus number 3
Unable to handle kernel paging request for data at address 0x00000000
ohci_hcd 0000:00:05.0: irq 9, io mem 0x80000000
Faulting instruction address: 0xf267b3a8
Oops: Kernel access of bad area, sig: 11 [#1]
PREEMPT CHRP
Modules linked in: snd_via82xx(+) snd_ac97_codec mv643xx_eth(+)
via_rhine(+) i2c_viapro(+) ac97_bus ohci_hcd(+) snd_mpu401_uart
uhci_hcd(+) snd_rawmidi
NIP: f267b3a8 LR: f267b3a0 CTR: c0394ff4
REGS: ef271c90 TRAP: 0300   Tainted: G        W    (3.0.4)
MSR: 00009032 <EE,ME,IR,DR>  CR: 84004448  XER: 00000000
DAR: 00000000, DSISR: 40000000
TASK = ef294c60[94] 'modprobe' THREAD: ef270000
GPR00: 00000000 ef271d40 ef294c60 00000000 eec003c0 eec00005 ef24bb3c 00000000
GPR08: ef24bb28 ef8a7600 ffffffff 00000001 44004442 10024440 1000ba68 00000000
GPR16: 1000ba44 bf83e324 00000000 1000ba58 00000000 104410ec 00000a30 00000000
GPR24: c0059210 c06b68c0 00000020 c06b68b8 fffffff4 eec00000 c06b6740 eec003c0
NIP [f267b3a8] mv643xx_eth_probe+0x98/0x604 [mv643xx_eth]
LR [f267b3a0] mv643xx_eth_probe+0x90/0x604 [mv643xx_eth]
Call Trace:
[ef271d40] [f267b394] mv643xx_eth_probe+0x84/0x604 [mv643xx_eth] (unreliable)
[ef271d80] [c039685c] platform_drv_probe+0x20/0x30
[ef271d90] [c0395578] driver_probe_device+0xe4/0x198
[ef271db0] [c039569c] __driver_attach+0x70/0x98
[ef271dd0] [c0394614] bus_for_each_dev+0x60/0x90
[ef271e00] [c03951d0] driver_attach+0x24/0x34
[ef271e10] [c0394d9c] bus_add_driver+0xbc/0x23c
[ef271e30] [c0395ac8] driver_register+0xb8/0x144
[ef271e50] [c0396bb4] platform_driver_register+0x68/0x78
[ef271e60] [f2680034] mv643xx_eth_init_module+0x34/0x80 [mv643xx_eth]
[ef271e80] [c000402c] do_one_initcall+0xe0/0x1c0
[ef271eb0] [c005b438] sys_init_module+0x1600/0x17f4
[ef271f40] [c0012df8] ret_from_syscall+0x0/0x38
--- Exception: c01 at 0xff62ac0
   LR = 0x10003f2c
Instruction dump:
7c7d1b79 41820530 3bfd03c0 3b3b0008 7fe4fb78 7f23cb78 48001101 807e0000
38630008 48001505 907d03c0 817e0004
556b502a 396b0400 7d605a14
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: OHCI Host Controller
usb usb3: Manufacturer: Linux 3.0.4 ohci_hcd
usb usb3: SerialNumber: 0000:00:05.0
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
vt596_smbus 0000:00:0c.4: SMBUS: Error: Host SMBus controller not
enabled! - upgrade BIOS or use force=1
VIA 82xx Audio 0000:00:0c.5: enabling device (0000 -> 0001)
---[ end trace cebed1f190337b78 ]---
via-rhine 0000:00:0d.0: enabling device (0000 -> 0003)
via-rhine 0000:00:0d.0: eth0: VIA Rhine II at 0x80001900,
00:0b:2f:4f:65:7b, IRQ 9
via-rhine 0000:00:0d.0: eth0: MII PHY found at address 16, status
0x786d advertising 01e1 Link 45e1
uhci_hcd 0000:00:0c.3: enabling device (0000 -> 0001)
uhci_hcd 0000:00:0c.3: UHCI Host Controller
uhci_hcd 0000:00:0c.3: new USB bus registered, assigned bus number 4
uhci_hcd 0000:00:0c.3: irq 9, io base 0x00001060
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 3.0.4 uhci_hcd
usb usb4: SerialNumber: 0000:00:0c.3
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
usb 4-1: new low speed USB device number 2 using uhci_hcd
usb 4-1: New USB device found, idVendor=062a, idProduct=0102
usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 4-1: Product: Wireless Keyboard & Mouse
usb 4-1: Manufacturer: MOSART Semi.
input: MOSART Semi. Wireless Keyboard & Mouse as
/devices/pci0000:00/0000:00:0c.3/usb4/4-1/4-1:1.0/input/input0
generic-usb 0003:062A:0102.0001: input,hidraw0: USB HID v1.10 Keyboard
[MOSART Semi. Wireless Keyboard & Mouse] on usb-0000:00:0c.3-1/input0
input: MOSART Semi. Wireless Keyboard & Mouse as
/devices/pci0000:00/0000:00:0c.3/usb4/4-1/4-1:1.1/input/input1
generic-usb 0003:062A:0102.0002: input,hiddev0,hidraw1: USB HID v1.10
Mouse [MOSART Semi. Wireless Keyboard & Mouse] on
usb-0000:00:0c.3-1/input1
REISERFS (device sda6): found reiserfs format "3.6" with standard journal
REISERFS (device sda6): using ordered data mode
REISERFS (device sda6): journal params: device sda6, size 8192,
journal first block 18, max trans len 1024, max batch 900, max commit
age 30, max trans age 30
REISERFS (device sda6): checking transaction log (sda6)
REISERFS (device sda6): Using r5 hash to sort names
REISERFS (device sda7): found reiserfs format "3.6" with standard journal
REISERFS (device sda7): using ordered data mode
REISERFS (device sda7): journal params: device sda7, size 8192,
journal first block 18, max trans len 1024, max batch 900, max commit
age 30, max trans age 30
REISERFS (device sda7): checking transaction log (sda7)
REISERFS (device sda7): Using r5 hash to sort names
Adding 499996k swap on /dev/sda1.  Priority:-1 extents:1 across:499996k
imm: Version 2.05 (for Linux 2.4.0)
imm: Found device at ID 6, Attempting to use SPP
imm: Communication established at 0x3bc with ID 6 using SPP
scsi2 : Iomega VPI2 (imm) interface
scsi 2:0:6:0: Direct-Access     IOMEGA   ZIP 100 PLUS     J.66 PQ: 0 ANSI: 2
sd 2:0:6:0: Attached scsi generic sg2 type 0
sd 2:0:6:0: [sdb] Attached SCSI removable disk
via-rhine 0000:00:0d.0: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
ata1.00: configured for UDMA/100
ata1: EH complete
eth0: no IPv6 routers present



--
Power Mac G4 AGP 450MHz - CRUX PPC (32bit)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.gz
Type: application/x-gzip
Size: 14842 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20111017/3955fbd8/attachment-0001.bin>


More information about the Linuxppc-dev mailing list