linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 11-16-05 2.6.14 on AMCC Yosemite board(PCI-IDE card boot error)
@ 2005-11-16 12:18 KylongMu
  2005-11-17 15:05 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: KylongMu @ 2005-11-16 12:18 UTC (permalink / raw)
  To: linuxppc-embedded


[-- Attachment #1.1: Type: text/plain, Size: 1256 bytes --]

Dear Denk,

     Thanks for your help; it makes my Yosemite run up! I'm try to add a
PCI-IDE

Card on it. I test my Promise-PDC20268 card and AEC6280 (ATP865-B chip type)
card,

Both of them all failed with same error, the boot message included in the
attachment.

     The kernel configure is based on the Yosemite_defconfig, add with:

Device Drivers-->

                   ATA/ATAPI/MFM/RLL support-->

                                               [*]AEC62XX Chipset support


                                               [*]PROMISE
PDC202{68|69|70|71|75|76|77} SUPPORT  

 

     Both of the PCI-IDE cards can work with X86PC+FEDORA4 configure, I
don't know 

What cause them fail on Yosemite with final 2.6.14 kernel.

     About my 2.6.14 tree, I type with "cg-log -s" command it shows:

99a21389c2b0e55f30b6cf6550cb492b87dbaa3b Heiko Schocher  2005-11-11 12:47
[PATCH]       ppc32: fix Kernel Panic for PM82x Board with gcc-4.0.

ff1df84b3c3154ffdb646941e1c70d17554e3042 Wolfgang Denk   2005-11-10 00:41
Merge with /home/wd/git/linux-2.6/stefan_roese

 

     It only shows 2.6.14 on the kernel message, I don't know why it doesn't
show the message as you told.

But it can work, and fixed the bugs on Yosemite.

 

Cordially,

Kylong Mu

 

 


[-- Attachment #1.2: Type: text/html, Size: 10598 bytes --]

[-- Attachment #2: bootmessage(acard6280 pci-ide card).txt --]
[-- Type: text/plain, Size: 6044 bytes --]

U-Boot 1.1.4 (Nov 11 2005 - 19:35:30)

AMCC PowerPC 440EP Rev. B
Board: Yosemite - AMCC PPC440EP Evaluation Board
        VCO: 1066 MHz
        CPU: 533 MHz
        PLB: 133 MHz
        OPB: 66 MHz
        EPB: 66 MHz
        PCI: 66 MHz
I2C:   ready
DRAM:  256 MB
FLASH: 64 MB
PCI:   Bus Dev VenId DevId Class Int
        00  0c  1191  0009  0180  00
In:    serial
Out:   serial
Err:   serial
Net:   ppc_4xx_eth0, ppc_4xx_eth1

Type "run flash_nfs" to mount root filesystem over NFS

Hit any key to stop autoboot:  0
=> tftp 400000 uImage
ENET Speed is 100 Mbps - FULL duplex connection
Using ppc_4xx_eth0 device
TFTP from server 192.168.0.93; our IP address is 192.168.0.66
Filename 'uImage'.
Load address: 0x400000
Loading: #################################################################
         #################################################################
         #################################################################
         ###########################################
done
Bytes transferred = 1217393 (129371 hex)
=> bootram
Unknown command 'bootram' - try 'help'
=> run bootram
## Booting image at 00400000 ...
   Image Name:   Linux-2.6.14
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1217329 Bytes =  1.2 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
## Loading RAMDisk Image at fed40000 ...
   Image Name:   Yosemite Ramdisk
   Image Type:   PowerPC Linux RAMDisk Image (gzip compressed)
   Data Size:    17770706 Bytes = 16.9 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Ramdisk to 0ee47000, end 0ff398d2 ... OK
Linux version 2.6.14 (root@dxp) (gcc version 4.0.0) #7 Sun Nov 13 21:59:01 CST 2005
AMCC PowerPC 440EP Yosemite Platform
Built 1 zonelists
Kernel command line: ramdisk_size=49152 root=/dev/ram rw ip=192.168.0.66:192.168.0.93::255.255.255.0:yosemite:eth0:off panic=1 console=ttyS0,115200
PID hash table entries: 2048 (order: 11, 32768 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 239616k available (1860k kernel code, 596k data, 140k init, 0k highmem)
Mount-cache hash table entries: 512
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
softlockup thread 0 started up.
Freeing initrd memory: 17354k freed
NET: Registered protocol family 16
PCI: Probing PCI hardware
usbcore: registered new driver usbfs
usbcore: registered new driver hub
SCSI subsystem initialized
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
usbmon: debugfs is not available
ppc-soc-ohci ppc-soc-ohci.0: USB Host Controller
ppc-soc-ohci ppc-soc-ohci.0: new USB bus registered, assigned bus number 1
ppc-soc-ohci ppc-soc-ohci.0: irq 40, io mem 0xef601000
usb usb1: Product: USB Host Controller
usb usb1: Manufacturer: Linux 2.6.14 ohci_hcd
usb usb1: SerialNumber: PPC-SOC USB
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
pegasus: v0.6.12 (2005/01/13), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new driver pegasus
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 1) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 49152K size 1024 blocksize
PPC 4xx OCP EMAC driver, version 3.53
mal0: initialized, 4 TX channels, 2 RX channels
zmii0: bridge in RMII mode
eth0: emac0, MAC 00:10:ec:00:87:40
eth0: found Generic MII PHY (0x01)
eth1: emac1, MAC 00:10:ec:00:87:47
eth1: found Generic MII PHY (0x03)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Data machine check in kernel mode.
PLB0: BEAR=0x0000000000000000 ACR=  0x00000000 BESR= 0xfffff7ff
POB0: BEAR=0xc27e3194ffffffff BESR0=0x00000000 BESR1=0x00000000
OPB0: BEAR=0x0000000000000151 BSTAT=0x00000000
Oops: machine check, sig: 7 [#1]
NIP: 00000000 LR: C0263628 SP: CFF41F40 REGS: c0271f50 TRAP: 0202    Not tainted
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00
TASK = c04f8b10[1] 'swapper' THREAD: cff40000
Last syscall: 120
GPR00: FDFFEF02 CFF41F40 C04F8B10 C04FC000 C026C6B4 C04FC000 00000009 CFF41EF4
GPR08: C04F9F70 00000000 00004000 C0270000 24254322 61000408 0FFB6800 00000001
GPR16: 00800000 0FFCEAD4 FFFFFFFF 00000000 007FFF00 0FFB1210 00000003 00000002
GPR24: C01D0000 C01D0000 C0270000 C01D0000 C0270000 C0223E10 C026C6B4 C04FC000
NIP [00000000] 0x0
LR [c0263628] aec62xx_init_one+0x38/0x48
Call trace:
 [c0263628] aec62xx_init_one+0x38/0x48
 [c02649b8] ide_scan_pcidev+0x68/0xb0
 [c0264a34] ide_scan_pcibus+0x34/0xe8
 [c026492c] ide_init+0x68/0x8c
 [c00013ac] init+0xb4/0x254
 [c00046c0] kernel_thread+0x48/0x64
Data machine check in kernel mode.
PLB0: BEAR=0x0000000000000000 ACR=  0x00000000 BESR= 0xfffff7ff
POB0: BEAR=0xc27e3194ffffffff BESR0=0x00000000 BESR1=0x00000000
OPB0: BEAR=0x0000000000000151 BSTAT=0x00000000
Oops: machine check, sig: 7 [#2]
NIP: 00000000 LR: C000235C SP: C0271E70 REGS: c0271f50 TRAP: 0202    Not tainted
MSR: 00000000 EE: 0 PR: 0 FP: 0 ME: 0 IR/DR: 00
TASK = c04f8b10[1] 'swapper' THREAD: cff40000
Last syscall: 120
GPR00: 08000000 C0271E70 C04F8B10 C0271E80 00001568 FFFFFFFF C0270000 00004000
GPR08: C0270000 C000235C 00021002 C00039E8 C04F8CD8 61000408 0FFB6800 00000001
GPR16: 00800000 0FFCEAD4 FFFFFFFF 00000000 007FFF00 0FFB1210 00000003 00000002
GPR24: C01D0000 C01D0000 C0270000 C01D0000 C0270000 C0223E10 00000007 C0271F50
NIP [00000000] 0x0
LR [c000235c] ret_from_except+0x0/0x18
Kernel panic - not syncing: Attempted to kill init!
 <0>Rebooting in 1 seconds..


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 11-16-05 2.6.14 on AMCC Yosemite board(PCI-IDE card boot error)
  2005-11-16 12:18 11-16-05 2.6.14 on AMCC Yosemite board(PCI-IDE card boot error) KylongMu
@ 2005-11-17 15:05 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2005-11-17 15:05 UTC (permalink / raw)
  To: linuxppc-embedded

Hi Kylong,

On Wednesday 16 November 2005 13:18, KylongMu wrote:
> Dear Denk,

BTW: It's either Wolfgang or Mr. Denk.

>      Thanks for your help; it makes my Yosemite run up! I'm try to add a
> PCI-IDE
>
> Card on it. I test my Promise-PDC20268 card and AEC6280 (ATP865-B chip
> type) card,
>
> Both of them all failed with same error, the boot message included in the
> attachment.

Sorry, but we don't have such a PCI IDE controller available. So we did test 
with a Promise SATA controller:

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ata1: SATA max UDMA/133 cmd 0xD1008200 ctl 0xD1008238 bmdma 0x0 irq 25
ata2: SATA max UDMA/133 cmd 0xD1008280 ctl 0xD10082B8 bmdma 0x0 irq 25
ata3: SATA max UDMA/133 cmd 0xD1008300 ctl 0xD1008338 bmdma 0x0 irq 25
ata4: SATA max UDMA/133 cmd 0xD1008380 ctl 0xD10083B8 bmdma 0x0 irq 25
ata1: no device found (phy stat 00000000)
scsi0 : sata_promise
ata2: no device found (phy stat 00000000)
scsi1 : sata_promise
ata3: no device found (phy stat 00000000)
scsi2 : sata_promise
ata4: dev 0 ATA-7, max UDMA/133, 490234752 sectors: LBA48
ata4: dev 0 configured for UDMA/133
scsi3 : sata_promise
  Vendor: ATA       Model: Maxtor 7Y250M0    Rev: YAR5
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 490234752 512-byte hdwr sectors (251000 MB)
SCSI device sda: drive cache: write back
 sda: sda1
sd 3:0:0:0: Attached scsi disk sda
...

bash-3.00# lspci -v
00:0c.0 Class 0180: 105a:3d18 (rev 02)
        Subsystem: 105a:3d18
        Flags: bus master, 66Mhz, medium devsel, latency 128, IRQ 25
        I/O ports at ff80 [size=128]
        I/O ports at fe00 [size=256]
        Memory at 00000000affff000 (32-bit, non-prefetchable) [size=4K]
        Memory at 00000000affc0000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at 0000000000080000 [disabled] [size=32K]
        Capabilities: [60] Power Management version 2

bash-3.00# cat /proc/scsi/scsi       
Attached devices:
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA      Model: Maxtor 7Y250M0   Rev: YAR5
  Type:   Direct-Access                    ANSI SCSI revision: 05

bash-3.00# fdisk -l /dev/sda

Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       30515   245111706   83  Linux
bash-3.00# mke2fs -m0 -j /dev/sda1
mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
30654464 inodes, 61277926 blocks
0 blocks (0.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=62914560
1871 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 
2654208, 
        4096000, 7962624, 11239424, 20480000, 23887872

Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 39 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
bash-3.00# mount /dev/sda1 /mnt
mount: unknown filesystem type 'ext3'
bash-3.00# mount -t ext2 /dev/sda1 /mnt
EXT2-fs warning (device sda1): ext2_fill_super: mounting ext3 filesystem as 
ext2

bash-3.00# df -h /mnt
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             231G  189M  230G   1% /mnt
bash-3.00# cd /tmp/bonnie
bash-3.00# ./Bonnie -m yosemite -s 256  -d /mnt
Bonnie 1.4: File '/mnt/Bonnie.423', size: 268435456, volumes: 1
Writing with putc()...         done:   4492 kB/s  99.5 %CPU
Rewriting...                   done:   9576 kB/s  12.4 %CPU
Writing intelligently...       done:  17375 kB/s  12.9 %CPU
Reading with getc()...         done:   4278 kB/s  95.6 %CPU
Reading intelligently...       done:  49108 kB/s  41.4 %CPU
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              ---Sequential Output (nosync)--- ---Sequential Input-- --Rnd 
Seek-
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --04k 
(03)-
Machine    MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU   /sec 
%CPU
yosemi 1* 256  4492 99.5 17375 12.9  9576 12.4  4278 95.6 49108 41.4 2395.4 
27.3



Everything is working fine with this PCI board. So it can't be a Yosemite 
related problem. Sorry, can't help you here.

Best regards,
Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-17 15:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-16 12:18 11-16-05 2.6.14 on AMCC Yosemite board(PCI-IDE card boot error) KylongMu
2005-11-17 15:05 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).