begin On Wed, Jul 03, Tom Rini wrote: > On Wed, Jul 03, 2002 at 09:02:32PM +0200, Olaf Hering wrote: > > > On Mon, Jul 01, Tom Rini wrote: > > > > > Lemme know if you still have the correct ammount of memory reported > > > still. Thanks. > > > > ocan you provide a new patch for _devel? I used that one and it doesnt > > compile > > D'oh. I forgot to add <asm/bootinfo.h> to prep_setup.c. New patches > attached.
It does detect the memory, seems to work fine on 43p 140. But it seems zImage.initrd.prep is broken since at least 2.4.16: loaded at: 00600400 00879FCC relocated to: 00800000 00A79BCC board data at: 00231370 00237D7C relocated to: 00A70130 00A76B3C zimage at: 0080A400 009684D5 initrd at: 00969000 00A6FBCC avail ram: 00400000 00800000 Linux/PPC load: console=ttyS0,9600 start_shell Uncompressing Linux...done. Now booting the kernel Memory BAT mapping: BAT2=256Mb, BAT3=128Mb, residual: 256Mb Total memory = 384MB; using 1024kB for hash table (at c0400000) ... RAMDISK: Compressed image found at block 0 invalid compressed format (err=2)<6>Freeing initrd memory: 1050k freed ... Memory BAT mapping: BAT2=256Mb, BAT3=128Mb, residual: 256Mb Total memory = 384MB; using 1024kB for hash table (at c0400000) Linux version 2.4.19-rc1 ([EMAIL PROTECTED]) (gcc version 2.95.3 20010319 (2.95.4 CVS + prerelease/franzo/20010912)) #7 Tue Jul 9 15:15:51 CEST 2002 PReP architecture IBM planar ID: 000000d5 MPIC at 0xf7fc0000 (0x37fc0000), length 0x00040000 mapped to 0xeffc0000 On node 0 totalpages: 98304 zone(0): 98304 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: console=ttyS0,9600 start_shell OpenPIC Version 1.0 (4 CPUs and 16 IRQ sources) at effc0000 time_init: decrementer frequency = 16.617493 MHz Console: colour dummy device 80x25 Calibrating delay loop... 398.13 BogoMIPS Memory: 382832k available (2324k kernel code, 1032k data, 308k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) POSIX conformance testing by UNIFIX PCI: Probing PCI hardware Bridge 00:17.0 resource 0 was deactivated by firmware Bridge 00:17.0 resource 1 was deactivated by firmware Bridge 00:17.0 resource 2 was deactivated by firmware Setting PCI interrupts for a "IBM 43P-140 (Tiger1)" PCI: Cannot allocate resource region 0 of device 00:0b.0 PCI: Cannot allocate resource region 0 of device 00:0c.0 PCI: Cannot allocate resource region 0 of device 00:10.0 PCI: moved device 00:0b.0 resource 0 (101) to 1000 PCI: moved device 00:0c.0 resource 0 (101) to 1020 PCI: moved device 00:10.0 resource 0 (101) to 1400 Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket Thermal assist unit not available Starting kswapd Journalled Block Device driver loaded Detected PS/2 Mouse Port. pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A Uniform Multi-Platform E-IDE driver Revision: 6.31 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide Floppy drive(s): fd0 is 2.88M FDC 0 is a National Semiconductor PC87306 RAMDISK driver initialized: 16 RAM disks of 128000K size 1024 blocksize loop: loaded (max 8 devices) pcnet32.c:v1.27a 10.02.2002 [EMAIL PROTECTED] PCI: Enabling device 00:0c.0 (0000 -> 0003) pcnet32: PCnet/PCI II 79C970A at 0x1020, 00 06 29 21 17 5a assigned IRQ 22. eth0: registered as PCnet/PCI II 79C970A pcnet32: 1 cards_found. ide-floppy driver 0.99.newide SCSI subsystem driver Revision: 1.00 PCI: Enabling device 00:10.0 (0016 -> 0017) sym.0.16.0: setting PCI_COMMAND_PARITY... sym0: <825a> rev 0x13 on pci bus 0 device 16 function 0 irq 23 sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.1.17a Vendor: IBM Model: CDRM00203 !K Rev: 8B08 Type: CD-ROM ANSI SCSI revision: 02 sym0:5: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) Vendor: IBM Model: DCAS-32160W !# Rev: S63A Type: Direct-Access ANSI SCSI revision: 02 sym0:6: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8) Vendor: IBM Model: DCAS-32160W !# Rev: S63A Type: Direct-Access ANSI SCSI revision: 02 sym0:5:0: tagged command queuing enabled, command queue depth 16. sym0:6:0: tagged command queuing enabled, command queue depth 16. scsi1 : SCSI host adapter emulation for IDE ATAPI devices mesh: configured for synchronous 5 MB/s Attached scsi disk sda at scsi0, channel 0, id 5, lun 0 Attached scsi disk sdb at scsi0, channel 0, id 6, lun 0 SCSI device sda: 4226725 512-byte hdwr sectors (2164 MB) Partition check: sda: sda1 sda2 sda3 SCSI device sdb: 4226725 512-byte hdwr sectors (2164 MB) sdb: sdb1 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0 sym0:3: FAST-10 SCSI 10.0 MB/s ST (100.0 ns, offset 8) sr0: scsi-1 drive Uniform CD-ROM driver Revision: 3.12 PowerMac Z8530 serial driver version 2.0 Macintosh non-volatile memory driver v1.0 apm_emu: Requires a machine with a PMU. usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <[EMAIL PROTECTED]> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 32768) NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 invalid compressed format (err=2)<6>Freeing initrd memory: 1050k freed cramfs: wrong magic reiserfs: checking transaction log (device 08:03) ... Using r5 hash to sort names ReiserFS version 3.6.25 VFS: Mounted root (reiserfs filesystem) readonly. Freeing unused kernel memory: 308k init 60k pmac 8k chrp 16k openfirmware Adding Swap: 519240k swap-space (priority 42) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.17, 10 Jan 2002 on sd(8,17), internal journal EXT3-fs: mounted filesystem with ordered data mode. -- $ man clone BUGS Main feature not yet implemented... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]