linux-3.0.4, mv643xx_eth troubles on Pegasos2 G4
i'm trying to enable marvel gigabit ethernet support but it doesn't work. Here my dmesg instead my config is attached. root@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 0xd000-0xd7ff pref] pci 0001:01:08.1: reg 14: [mem 0xc801-0xc801] pci 0001:01:08.1: supports D1 D2 PCI :00 Cannot reserve Legacy IO [io 0x-0x0fff] PCI: max bus depth: 0 pci_try_num: 1 pci_bus :00: resource 0 [io 0x-0x] pci_bus :00: resource 1 [mem 0x8000-0xbfff] pci_bus 0001:01: resource 0 [io 0x-0x] pci_bus 0001:01: resource 1 [mem 0xc000-0xdfff] bio: create slab 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 :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 2 max 4 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 :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 :00:01.0: enabling device ( -> 0003) firewire_ohci: Added fw-ohci device :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 :00:05.1: enabling device ( -> 0002) ehci_hcd :00:05.1: EHCI Host Controller ehci_hcd :00:05.1: new USB bus registered, assigned bus number 1 ehci_hcd :00:05.1: irq 9, io mem 0x80001800 ehci_hcd :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: :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: L
ping: [PATCH] GXT4000P and GXT6500P support
ping for: http://lists.ozlabs.org/pipermail/linuxppc-dev/2009-June/072678.html This patch adds support for GXT4000P and GXT6500P cards found on some IBM pSeries machines. GXT4000P/6000P and GXT4500P/6500P couples are identical from software's point of view and are based on the same Raster Engine (RC1000), except for a different reference clock for the PLL. GXT6x00P models are equipped with an additional Geometry Engine (GT1000) but this driver doesn't use it. I see that even after 2 years, this patch still hasn't been added to the official Linux kernel. You will appreciate how little code this took to save everybody with a GXT6500P card some trouble. cheers, Nello -- CRUX PPC user on IBM POWER4+ ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: [PATCH] libata: Convert LED disk trigger from IDE to libata
Hi Jorg, you submitted the patch slightly modified by Acrux (from CruxPPC) [1] Anyway this patch is widely used by any ibook/powerbook owners with great satisfaction. I also use this patch from Jan 2011 and i'd like to see it upstreamed. Btw, guess you should add: Signed-off-by: Joseph Jezak Acked-by: Nico Macrionitis cheers, Nello [1] http://forums.gentoo.org/viewtopic-p-6550023.html#6550023 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: PowerMacintosh B&W G4 boot failure - linux-2.6.36.x
could it be the same issue i've on my old Pegasos1 G3 ?? regards, Nello ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: any chance to use a modern linux kernel on Pegasos1 G3 ?
hi all, here instead the log from serial debug console booting the last working kernel i.e. linux-2.16.62 compiled with arch=ppc . [...] do_load: dev="/ide/disk:0" dlen=11 args="CRUX root=/dev/hdb video=radeonfb:800x600" alen=41 do_load: alstr="" try_load: dev="/ide/disk:0" dlen=11 args="CRUX root=/dev/hdb video=radeonfb:800x600" alen=41 create_well_formed_chain: pkg=0xFD57D58 parent=0xFD53B90 currpkg=0xFD53B90 inst=0xFE6EE50 pkg=/pci@8000 parent=/ currpkg=/ currinst=/ create_well_formed_chain: pkg=0xFD53B90 parent=0x0 currpkg=0xFD53B90 inst=0xFE6EE50 pkg=/ parent= currpkg=/ currinst=/ pkg=0xFD57D58:/pci@8000 parent=0xFE6EE50:/ inst=0xFE6EEA8:/pci@8000 instparent=0xFE6EE50 ata_disk_open: pkg=0xFD5B870 parent=0xFD5B2C8 ata_disk_open: CTLR=0x0 ID=0x0 ata_disk_open: args="0" deblocker open ata_disk_max_transfer: 512 deblocker open: block-size=0x200 max-transfer=0x200 deblocker open: return 0 open-package: ret=0:no error r=-1 ata_disk_open: $open-package deblocker ret=0 ata_disk_open: deblocker=0xFE6EFC8 disk-label open disk-label open: self=0xFE702B0 s->buf=0xFE71000 disk-label open: return 0 open-package: ret=0:no error r=-1 ata_disk_open: $open-package disk-label ret=0 ata_disk_open: disklabel=0xFE70258 disk-label load: addr=0x40 loadargs=CRUX root=/dev/hdb video=radeonfb:800x600 args=0,CRUX root=/dev/hdb video=radeonfb:800x600 file_system: e=0xFD8 disk=0xFE6EF58 loc=0x0 start=0x0 path=0xFE703C0 buf=0xFE71000 size=512 file_system: probing filesys dos-partition dos_partition: enter dos-partition: boot_sect_sig0/1=0x55.0xAA jump=0x0 boot_signature=0x0 drive_number=0x0 dos_partition: partition=0 size=0x32F8E start=0x3F typ=0x6 flag=0x80 shd=0x1 ssect=0x1 scyl=0x0 ehd=0xFE esect=0x3F ecyl=0xC file_system: e=0xFD8 disk=0xFE6EF58 loc=0x7E00 start=0x3F path=0xFE703C2 buf=0xFE71000 size=512 file_system: probing filesys dos-partition file_system: probing filesys dos-fat file_system: return end (-4089) file_system: return end (-4089) disk-label return len=1782093 ret=end (-4089) ata_disk_close disk-label close: checking exec type Fcode fcode_is_exec: load=0x40 loadlen=1782093 checking exec type Forth checking exec type ELF f_go: checking exec type Fcode fcode_is_exec: load=0x40 loadlen=1782093 checking exec type Forth checking exec type ELF alloc_aligned: a 0xFD548E8 align 0xFD5491C size 0xFD54918 addr 0xFD54914 alloc_constrained: min 0x0, max 0x, align 0x1000, mask 0x, size 0x7E, addr 0x30 alloc_constrained: acells 0x1 scells 0x1 t1 0xC t2 0xFD5490C u1 0xFD54910 u2 0xFD54914 u3 0xFD54918 alloc_constrained: allocator_block 0xFD54930, next 0x0 addr 0x30 size 0xFD0 alloc_constrained: fsblock 0x0 alloc_constrained: addr[] 0x30 alloc_constrained: bsize[] 0xFD0 alloc_constrained: passed min check alloc_constrained: addr 0x30, align 0xFFF, off 0x69696969 sum 0x0 alloc_constrained: passed align check alloc_constrained: passed max check alloc_constrained: passed mask check alloc_constrained: passed full size check alloc_constrained: passed size check i'm not an expert but from a quick logs comparison I saw two times the alloc_aligned,alloc_constrained section instead in the working one i see it only one time. Maybe it's an usefull observation. cheers, Nell -- 1861 - 2011: 150 years of Italian Unity ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: any chance to use a modern linux kernel on Pegasos1 G3 ?
ok, it seems that no one is interested to fix Pegasos1 G3 600MHz support. But if someone is capable (i don't have this skill) here what it happens reading from serial debug console untill it freezes with linux-2.6.36.4 Pegasos Boot Strap (c) 2002 bplan GmbH Running on CPU PVR:00083311 PLL setting : 0001 Enable L1 ICache...Done. Setting ROM Defaults...Done. Configuring SDRAM... 0800 1000 Delaying...Done. RAMSIZE = 1800 0004 Reading W83194 : 00FF Done. Setting Front Side Bus to 100MHz...Done. Releasing IDE reset ...Done. Configuring Legacy Devices Initializing KBD...Done. PLL setting : 0003 1000 Done. BIOS: Stage 2 entered arg(FFFC,,1800) BIOS: MachineInfo at 0E68 BIOS: set MemPool limit to BAT size (old=1800 new=1000) BIOS: 0F6FFFE8 bytes added to mempool LoadFromRFS: starting LoadFromRFS: lib module 00 has abs load adr at 00C0 CopyModule: start CopyModule: load address : 00C0 CopyModule: copy module to ram...done ModuleCopy: expanding... done LoadFromRFS: 0001 modules out of 0001 loaded InitLib: start InitLib: call module as OF allocated g_e=0xFD8 (len=19232) install_root: pkg=0xFD53B90 after init_environ e=0xFD8 running nvramrc... after running nvramrc no/bad nvramrc - performing default startup script Bus addresses: 253@2 I/O addresses: 7936@FE002100 Memory addresses: 127M@8804 1.3G@9800 Prefetchable memory addresses: install_ata_disk_driver: reg=0x1000 init_drive: reset controller 0x1000/0x100E init_drive: allow 4-bits for heads init_drive: select drive 0 init_drive: seccnt=0x1 sector=0x1 cyl_lo=0x0 cyl_hi=0x0 init_drive: error=0x1 status=0x50 status2=0x50 init_drive: identify drive: atapi=0 install_ata_disk_driver: return no error (0) install_ata_disk_driver: reg=0x1000 init_drive: allow 4-bits for heads init_drive: select drive 1 init_drive: seccnt=0x1 sector=0x1 cyl_lo=0x14 cyl_hi=0xEB init_drive: error=0x1 status=0x0 status2=0x0 init_drive: identify drive: atapi=1 atapi_cmd: cmdlen=12 atapi_cmd: inlen=8 len=65534 install_ata_disk_driver: return no error (0) install_ata_disk_driver: reg=0x1010 init_drive: reset controller 0x1010/0x101E init_drive: allow 4-bits for heads init_drive: select drive 0 init_drive: seccnt=0x20 sector=0x20 cyl_lo=0x20 cyl_hi=0x20 init_drive: error=0x20 status=0x20 status2=0x20 ATA-wait-ready: timeout: status=0x20 init_drive: failed install_ata_disk_driver: reg=0x1010 init_drive: allow 4-bits for heads init_drive: select drive 1 init_drive: seccnt=0x30 sector=0x30 cyl_lo=0x30 cyl_hi=0x30 init_drive: error=0x30 status=0x30 status2=0x30 ATA-wait-ready: timeout: status=0x30 init_drive: failed Bus addresses: 254@2 I/O addresses: 8@FE001038 3072@FE001400 48K@FE004000 Memory addresses: 1792@A100 1.2G@A0001000 Prefetchable memory addresses: 12M@FD40 F_INSTALL_CONSOLE: BEGIN F_INSTALL_CONSOLE: ALIASING SCREEN F_INSTALL_CONSOLE: ALIASING KBD EMULATION INT HANDLER ENTERED WITH: INT NO: 15 EAX=0003 EBX= ECX= EDX= ESP= EBP= ESI= EDI= AX=4E08 BX=C505 CX=0003 DX=202A SP=6CAA BP= SI=5CF9 DI= DS=C000 ES=BAD0 SS=C000 CS=F000 IP=FE15 NV UP -- PL ZR NA PE NC CS:IP = F4 C558 C000 0244 3000 01B4 AC63 0200 UNHANDLED INT 10 FUNCTION 0007 WITHIN EMULATION F_INSTALL_CONSOLE: END auto-booting... do_load: dev="" dlen=0 args="" alen=0 do_load: alstr="" do_load: path doesn't start with / do_load: == do_load: no args..use the default do_load: == try_load: dev="eth" dlen=3 args="diag" alen=4 entering main read/eval loop... [...] atapi_cmd: cmdlen=12 atapi_cmd: inlen=2048 len=2048 iso_walk: read: name="zImage.chrp" extent=0x44FD size=0x337272 ret=no error iso9660: return R_END file_system: return end (-4089) disk-label return len=3371634 ret=end (-4089) ata_disk_close disk-label close: checking exec type Fcode fcode_is_exec: load=0x40 loadlen=3371634 checking exec type Forth checking exec type ELF f_go: checking exec type Fcode fcode_is_exec: load=0x40 loadlen=3371634 checking exec type Forth checking exec type ELF alloc_aligned: a 0xFD548E8 align 0xFD5491C size 0xFD54918 addr 0xFD54914 alloc_constrained: min 0x0, max 0x, align 0x1000, mask 0x, size 0x332000, addr 0x30 alloc_constrained: acells 0x1 scells 0x1 t1 0xC t2 0xFD5490C u1 0xFD54910 u2 0xFD54914 u3 0xFD54918 alloc_constrained: allocator_block 0xFD54930, next 0x0 addr 0x30 size 0xFD0 alloc_constrained: fsblock 0x0 alloc_constrained: addr[] 0x30 alloc_constrained: bsize[] 0xFD0 alloc_constrained: passed min check alloc_constrained: addr 0x3
Re: any chance to use a modern linux kernel on Pegasos1 G3 ?
On Sat, Mar 12, 2011 at 8:38 PM, kevin diggs wrote: > Hi, > > For what it is worth, I can boot 2.6.36 on a PowerMac 8600 with a > 750GX processor in it. I have to compile the kernel with gcc 4.1.2. > Figuring out why 4.3.5 won't work is ... a work in progress (maybe an > exorcism will help?). > hi Kevin, thanks for your suggestion. I just tried but it doesn't work for me. I've the same freeze also compiling with the old gcc-4.1.2. Nel -- Power Mac G4 AGP 450MHz - CRUX PPC (32bit) 2.7 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
any chance to use a modern linux kernel on Pegasos1 G3 ?
hallo dear linuxppc kernel developers, i'm looking for some tips to use a modern linux kernel on my old Pegasos1 G3 600MHz (IBM PowerPC 750Cxe). The last working one is 2.6.16.x with arch=ppc. a picture of the screen when it freezes loading a modern kernel: http://i52.tinypic.com/33uzgc8.jpg thank you, Nel -- Power Mac G4 AGP 450MHz - CRUX PPC (32bit) 2.7 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
linux-2.6.37 compile error for Efika (MPC5200B)
hi, i've this error trying to compile my linux-2.6.37 for Genesi Efika (MPC5200B) with sound enabled. [...] LD sound/pci/built-in.o LD sound/pcmcia/pdaudiocf/built-in.o LD sound/pcmcia/vx/built-in.o LD sound/pcmcia/built-in.o LD sound/ppc/built-in.o LD sound/sh/built-in.o LD sound/soc/built-in.o CC [M] sound/soc/soc-core.o sound/soc/soc-core.c: In function 'snd_soc_instantiate_card': sound/soc/soc-core.c:1626:5: warning: passing argument 1 of 'soc_unregister_ac97_dai_link' from incompatible pointer type sound/soc/soc-core.c:1545:13: note: expected 'struct snd_soc_codec *' but argument is of type 'struct snd_soc_pcm_runtime *' CC [M] sound/soc/soc-dapm.o CC [M] sound/soc/soc-jack.o CC [M] sound/soc/soc-cache.o CC [M] sound/soc/soc-utils.o LD [M] sound/soc/snd-soc-core.o LD sound/soc/atmel/built-in.o LD sound/soc/au1x/built-in.o LD sound/soc/blackfin/built-in.o LD sound/soc/codecs/built-in.o CC [M] sound/soc/codecs/stac9766.o LD [M] sound/soc/codecs/snd-soc-stac9766.o LD sound/soc/davinci/built-in.o LD sound/soc/ep93xx/built-in.o LD sound/soc/fsl/built-in.o CC [M] sound/soc/fsl/mpc5200_dma.o sound/soc/fsl/mpc5200_dma.c:372:16: warning: 'struct of_device' declared inside parameter list sound/soc/fsl/mpc5200_dma.c:372:16: warning: its scope is only this definition or declaration, which is probably not what you want sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_probe': sound/soc/fsl/mpc5200_dma.c:383:31: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:384:31: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:385:14: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:390:14: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:402:27: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:414:20: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:428:14: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:475:21: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:478:38: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c: At top level: sound/soc/fsl/mpc5200_dma.c:490:39: warning: 'struct of_device' declared inside parameter list sound/soc/fsl/mpc5200_dma.c: In function 'mpc5200_hpcd_remove': sound/soc/fsl/mpc5200_dma.c:492:47: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:494:2: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:496:33: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c:508:21: error: dereferencing pointer to incomplete type sound/soc/fsl/mpc5200_dma.c: At top level: sound/soc/fsl/mpc5200_dma.c:522:2: error: unknown field 'owner' specified in initializer sound/soc/fsl/mpc5200_dma.c:522:2: warning: initialization from incompatible pointer type sound/soc/fsl/mpc5200_dma.c:523:2: error: unknown field 'name' specified in initializer sound/soc/fsl/mpc5200_dma.c:523:2: warning: initialization from incompatible pointer type sound/soc/fsl/mpc5200_dma.c:524:2: error: unknown field 'match_table' specified in initializer sound/soc/fsl/mpc5200_dma.c:524:2: warning: initialization from incompatible pointer type sound/soc/fsl/mpc5200_dma.c:525:2: warning: initialization from incompatible pointer type sound/soc/fsl/mpc5200_dma.c:526:2: warning: initialization from incompatible pointer type make[3]: *** [sound/soc/fsl/mpc5200_dma.o] Error 1 make[2]: *** [sound/soc/fsl] Error 2 make[1]: *** [sound/soc] Error 2 make: *** [sound] Error 2 ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: ydl powerstation is unable to use external usb hard disk drives
hi all, there is the same issue here on my iBook G4 with 2.6.38-rc4 thus it isn't an issue related to ppc64. It's not possible to use it. usb 1-2: new high speed USB device using ehci_hcd and address 3 usb 1-2: New USB device found, idVendor=1058, idProduct=1010 usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 usb 1-2: Product: External HDD usb 1-2: Manufacturer: Western Digital usb 1-2: SerialNumber: 57442D575839304138394D31313237 scsi3 : usb-storage 1-2:1.0 scsi 3:0:0:0: Direct-Access WD 3200BEV External 1.75 PQ: 0 ANSI: 4 sd 3:0:0:0: Attached scsi generic sg2 type 0 sd 3:0:0:0: [sdb] 625142448 512-byte logical blocks: (320 GB/298 GiB) sd 3:0:0:0: [sdb] Write Protect is off sd 3:0:0:0: [sdb] Mode Sense: 23 00 00 00 sd 3:0:0:0: [sdb] No Caching mode page present sd 3:0:0:0: [sdb] Assuming drive cache: write through sd 3:0:0:0: [sdb] No Caching mode page present sd 3:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sd 3:0:0:0: [sdb] No Caching mode page present sd 3:0:0:0: [sdb] Assuming drive cache: write through sd 3:0:0:0: [sdb] Attached SCSI disk cheers, Nel ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
mpc52xx_gpt breaks on linux-2.6.26
If i try to enable watchdog it breaks linux kernel build when enabled. I'm using an Efika MPC5200B with CRUX PPC 2.6 32bit. CONFIG_WATCHDOG=y CONFIG_MPC5200_WDT=y That's compiling linux-2.6.36: [..] LD arch/powerpc/lib/built-in.o CC arch/powerpc/sysdev/simple_gpio.o CC arch/powerpc/sysdev/bestcomm/ata.o CC arch/powerpc/sysdev/bestcomm/bcom_ata_task.o CC arch/powerpc/sysdev/bestcomm/bestcomm.o CC arch/powerpc/sysdev/bestcomm/sram.o LD arch/powerpc/sysdev/bestcomm/bestcomm-core.o LD arch/powerpc/sysdev/bestcomm/bestcomm-ata.o LD arch/powerpc/sysdev/bestcomm/built-in.o CC [M] arch/powerpc/sysdev/bestcomm/fec.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_fec_rx_task.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_fec_tx_task.o CC [M] arch/powerpc/sysdev/bestcomm/gen_bd.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_gen_bd_rx_task.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_gen_bd_tx_task.o LD [M] arch/powerpc/sysdev/bestcomm/bestcomm-fec.o LD [M] arch/powerpc/sysdev/bestcomm/bestcomm-gen-bd.o CC arch/powerpc/sysdev/mpc5xxx_clocks.o AS arch/powerpc/sysdev/6xx-suspend.o LD arch/powerpc/sysdev/built-in.o CC arch/powerpc/platforms/52xx/mpc52xx_pic.o CC arch/powerpc/platforms/52xx/mpc52xx_common.o CC arch/powerpc/platforms/52xx/mpc52xx_gpt.o arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_write': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:549: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_ioctl': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:562: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_open': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:635: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c:636: error: implicit declaration of function 'nonseekable_open' arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_release': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:643: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: At top level: arch/powerpc/platforms/52xx/mpc52xx_gpt.c:657: error: variable 'mpc52xx_wdt_fops' has initializer but incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: unknown field 'owner' specified in initializer cc1: warnings being treated as errors arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: unknown field 'llseek' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: 'no_llseek' undeclared here (not in a function) arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: unknown field 'write' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: unknown field 'unlocked_ioctl' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: unknown field 'open' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: unknown field 'release' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: (near initialization for 'mpc52xx_wdt_fops') make[2]: *** [arch/powerpc/platforms/52xx/mpc52xx_gpt.o] Error 1 make[1]: *** [arch/powerpc/platforms/52xx] Error 2 make: *** [arch/powerpc/platforms] Error 2 thanks for any advice. Nello Martuscielli ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
mpc52xx_gpt breaks on linux-2.6.26
If i try to enable watchdog it breaks linux kernel build when enabled. I'm using an Efika MPC5200B with CRUX PPC 2.6 32bit. CONFIG_WATCHDOG=y CONFIG_MPC5200_WDT=y That's compiling linux-2.6.36: [..] LD arch/powerpc/lib/built-in.o CC arch/powerpc/sysdev/simple_gpio.o CC arch/powerpc/sysdev/bestcomm/ata.o CC arch/powerpc/sysdev/bestcomm/bcom_ata_task.o CC arch/powerpc/sysdev/bestcomm/bestcomm.o CC arch/powerpc/sysdev/bestcomm/sram.o LD arch/powerpc/sysdev/bestcomm/bestcomm-core.o LD arch/powerpc/sysdev/bestcomm/bestcomm-ata.o LD arch/powerpc/sysdev/bestcomm/built-in.o CC [M] arch/powerpc/sysdev/bestcomm/fec.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_fec_rx_task.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_fec_tx_task.o CC [M] arch/powerpc/sysdev/bestcomm/gen_bd.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_gen_bd_rx_task.o CC [M] arch/powerpc/sysdev/bestcomm/bcom_gen_bd_tx_task.o LD [M] arch/powerpc/sysdev/bestcomm/bestcomm-fec.o LD [M] arch/powerpc/sysdev/bestcomm/bestcomm-gen-bd.o CC arch/powerpc/sysdev/mpc5xxx_clocks.o AS arch/powerpc/sysdev/6xx-suspend.o LD arch/powerpc/sysdev/built-in.o CC arch/powerpc/platforms/52xx/mpc52xx_pic.o CC arch/powerpc/platforms/52xx/mpc52xx_common.o CC arch/powerpc/platforms/52xx/mpc52xx_gpt.o arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_write': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:549: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_ioctl': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:562: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_open': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:635: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c:636: error: implicit declaration of function 'nonseekable_open' arch/powerpc/platforms/52xx/mpc52xx_gpt.c: In function 'mpc52xx_wdt_release': arch/powerpc/platforms/52xx/mpc52xx_gpt.c:643: error: dereferencing pointer to incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c: At top level: arch/powerpc/platforms/52xx/mpc52xx_gpt.c:657: error: variable 'mpc52xx_wdt_fops' has initializer but incomplete type arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: unknown field 'owner' specified in initializer cc1: warnings being treated as errors arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:658: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: unknown field 'llseek' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: 'no_llseek' undeclared here (not in a function) arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:659: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: unknown field 'write' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:660: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: unknown field 'unlocked_ioctl' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:661: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: unknown field 'open' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:662: error: (near initialization for 'mpc52xx_wdt_fops') arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: unknown field 'release' specified in initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: excess elements in struct initializer arch/powerpc/platforms/52xx/mpc52xx_gpt.c:663: error: (near initialization for 'mpc52xx_wdt_fops') make[2]: *** [arch/powerpc/platforms/52xx/mpc52xx_gpt.o] Error 1 make[1]: *** [arch/powerpc/platforms/52xx] Error 2 make: *** [arch/powerpc/platforms] Error 2 thanks for any advice. Nello Martuscielli ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev
Re: "event-scan failed" logflood
Michael Ellerman ellerman.id.au> writes: _omissis__ > > > > hi, is there available that patch? > > With the fresh new 2.6.34 the logflood problem is still present. > > You could try this, completely untested: > > diff --git a/arch/powerpc/kernel/rtasd.c b/arch/powerpc/kernel/rtasd.c > index 4190eae..fd68bed 100644 > --- a/arch/powerpc/kernel/rtasd.c > +++ b/arch/powerpc/kernel/rtasd.c > @@ -490,6 +490,12 @@ static int __init rtas_init(void) > return -ENODEV; > } > > + if (!rtas_event_scan_rate) { > + /* Broken firmware: take a rate of zero to mean don't scan */ > + printk(KERN_DEBUG "rtasd: scan rate is 0, not scanning\n"); > + return 0; > + } > + > /* Make room for the sequence number */ > rtas_error_log_max = rtas_get_error_log_max(); > rtas_error_log_buffer_max = rtas_error_log_max + sizeof(int); > hi Michael, thanks for pointing me to that patch, now my Pegasos2 G4 seems to work fine. Anyway i got these dumps caused by mv643xx_eth: [...] sysfs: cannot create duplicate filename '/class/mdio_bus/0' [ cut here ] Badness at fs/sysfs/dir.c:451 NIP: c00efc70 LR: c00efc70 CTR: REGS: ef117c70 TRAP: 0700 Not tainted (2.6.34) MSR: 00029032 CR: 22002488 XER: TASK = ef110630[80] 'modprobe' THREAD: ef116000 GPR00: c00efc70 ef117d20 ef110630 0042 c0009480 00134ac8 GPR08: 22002482 1002 10023ab8 GPR16: 107db0b0 107db088 10005558 0003 107db324 107db008 GPR24: 10005558 a9ce fffe ef117d48 ef0a4300 efb87000 ffef NIP [c00efc70] sysfs_add_one+0x88/0xb8 LR [c00efc70] sysfs_add_one+0x88/0xb8 Call Trace: [ef117d20] [c00efc70] sysfs_add_one+0x88/0xb8 (unreliable) [ef117d40] [c00f0d9c] sysfs_do_create_link+0x104/0x1ac [ef117d70] [c026b238] device_add+0x1c8/0x534 [ef117db0] [c02b2e40] mdiobus_register+0xb4/0x1d8 [ef117de0] [f222c510] mv643xx_eth_shared_probe+0x14c/0x420 [mv643xx_eth] [ef117e00] [c026f4b4] platform_drv_probe+0x20/0x30 [ef117e10] [c026e044] driver_probe_device+0xdc/0x194 [ef117e30] [c026e174] __driver_attach+0x78/0xb4 [ef117e50] [c026d610] bus_for_each_dev+0x68/0xc0 [ef117e80] [c026de3c] driver_attach+0x24/0x34 [ef117e90] [c026cdbc] bus_add_driver+0xc8/0x278 [ef117eb0] [c026e59c] driver_register+0xd0/0x188 [ef117ed0] [c026f82c] platform_driver_register+0x6c/0x7c [ef117ee0] [f223602c] mv643xx_eth_init_module+0x2c/0x90 [mv643xx_eth] [ef117f00] [c0003eec] do_one_initcall+0x70/0x20c [ef117f20] [c005ccb4] sys_init_module+0xf4/0x248 [ef117f40] [c0015b20] ret_from_syscall+0x0/0x38 --- Exception: c01 at 0xff654b8 LR = 0x10002e7c Instruction dump: 807c 7fc4f378 4b3d 3c80c043 38843afa 4bf2bb8d 809d0010 4bf2bb85 7c641b78 3c60c043 38633ac7 482c7d91 <0fe0> 7fc3f378 4bfa4f75 80010024 mii_bus 0 failed to register mv643xx_eth: probe of mv643xx_eth.0 failed with error -12 Unable to handle kernel paging request for data at address 0x Faulting instruction address: 0xf222f26c usbcore: registered new interface driver hiddev Oops: Kernel access of bad area, sig: 11 [#1] PREEMPT CHRP last sysfs file: /sys/devices/virtual/tty/ptyv3/uevent Modules linked in: snd_mpu401_uart usbhid(+) snd_rawmidi mv643xx_eth(+) firewire _core via_rhine i2c_viapro NIP: f222f26c LR: f222f264 CTR: c026daf0 REGS: ef117d10 TRAP: 0300 Tainted: GW (2.6.34) MSR: 9032 CR: 84002488 XER: 2000 DAR: , DSISR: 4000 TASK = ef110630[80] 'modprobe' THREAD: ef116000 GPR00: f222f258 ef117dc0 ef110630 efa9e320 efa9e005 efa9e155 GPR08: 0400 ef856cc0 efa9e314 0001 10023ab8 GPR16: 107db0b0 107db088 10005558 0003 107db324 107db008 GPR24: 10005558 c04ca290 a9ce c04ca288 c04ca138 fff4 efa9e000 efa9e320 NIP [f222f26c] mv643xx_eth_probe+0xd8/0x690 [mv643xx_eth] LR [f222f264] mv643xx_eth_probe+0xd0/0x690 [mv643xx_eth] Call Trace: [ef117dc0] [f222f258] mv643xx_eth_probe+0xc4/0x690 [mv643xx_eth] (unreliable) [ef117e00] [c026f4b4] platform_drv_probe+0x20/0x30 [ef117e10] [c026e044] driver_probe_device+0xdc/0x194 [ef117e30] [c026e174] __driver_attach+0x78/0xb4 [ef117e50] [c026d610] bus_for_each_dev+0x68/0xc0 [ef117e80] [c026de3c] driver_attach+0x24/0x34 [ef117e90] [c026cdbc] bus_add_driver+0xc8/0x278 [ef117eb0] [c026e59c] driver_register+0xd0/0x188 [ef117ed0] [c026f82c] platform_driver_register+0x6c/0x7c [ef117ee0] [f223603c] mv643xx_eth_init_module+0x3c/0x90 [mv643xx_eth] [ef117f00] [c0003eec] do_one_initcall+0x70/0x20c [ef117f20] [c005ccb4] sys_init_module+0xf4/0x248 [ef117f40] [c0015b20] ret_from_syscall+0x0/0x38 --- Exception: c01 at 0xff654b8 LR = 0x10002e7c Instruction dump: 7c7e1b79 41820544 3bfe0320 3b3b0008 7f23cb78 7fe4fb78 480019e5 807c 38630008 48001dc9 907e0320 817c0004 <8003> 556b502a 396b0400 7d605a14 [...] cheers, nello ___
Re: "event-scan failed" logflood
Benjamin Herrenschmidt kernel.crashing.org> writes: _omissis__ > > Ok, that gives us a good thing to use to not do the scanning then. If > that's 0 then we assume it's a bogus OF and we disable the scan > completely. I'll do a patch later today, though feel free to beat me to > it. > > Cheers, > Ben. > hi, is there available that patch? With the fresh new 2.6.34 the logflood problem is still present. thanks, --nello ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev