All of lore.kernel.org
 help / color / mirror / Atom feed
* PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
@ 2003-08-18 19:12 Meelis Roos
  2003-08-29 18:49 ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-08-18 19:12 UTC (permalink / raw)
  To: linux-kernel

I tried 2.6.0-test3 + todays BK on a Motorola Powerstack (Utah II, 300
MHz 604e). It's basically a PReP machine from Motorola.

2.4.22-rc2 works well. 2.6.0-test3+latest bk fails in 2 places.

1. Network interface is detected correctly but first ifconfig command
(even if it fails because of wrong arguments) hangs the machine. This is
with both tulip driver (new io+mmio or mmio or just plain pio, 3 modes
tried) and de4x5 driver (the card is a onboard 21140).

2. 2.4 detects full 64M of RAM, 2.6 detects only 32M of RAM.

The dmesgs are below. 2.4 has compiled-in ide (no drives), 2.6 has no
ide compiled in. Will try 2.6 with ide next but I don't believe it's the
issue.

loaded at:     00400400 0050221C
relocated to:  00800000 00901E1C
No residual data found.
zimage at:     0080D4A0 008F75E7
avail ram:     00400000 00800000

Linux/PPC load: console=ttyS0,9600 console=tty0 root=/dev/sda3
Uncompressing Linux...done.
Now booting the kernel
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Total memory = 64MB; using 128kB for hash table (at c0260000)
Linux version 2.4.22-rc2 (mroos@ananass) (gcc version 2.95.4 20011002 (Debian prerelease)) #3 P aug 17 14:03:04 EET 2003
PReP architecture
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 console=tty0 root=/dev/sda3
time_init: decrementer frequency = 16.657534 MHz
Console: colour VGA+ 80x25
Calibrating delay loop... 299.00 BogoMIPS
Memory: 62192k available (1456k kernel code, 840k data, 136k init, 0k highmem)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
Setting PCI interrupts for a "Utah (Powerstack II Pro4000)"
PCI: moved device 00:0b.1 resource 4 (101) to 1480
PCI: moved device 00:0b.1 resource 5 (101) to 1490
PCI: moved device 00:12.0 resource 0 (1208) to 0
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
VFS: Disk quotas vdquot_6.5.1
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
rtc: I/O port 112 is not free.
Generic RTC Driver v1.07
NET4: Frame Diverter 0.46
Linux Tulip driver version 0.9.15-pre12 (Aug 9, 2002)
PCI: Enabling device 00:0e.0 (0000 -> 0003)
PCI: 00:0e.0 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:0e.0 PCI cache line size corrected to 32.
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media AUI (#2) described by a 21140 non-MII (0) block.
tulip0:  Index #1 - Media MII (#11) described by a 21140 MII PHY (1) block.
tulip0:  MII transceiver #8 config 3100 status 786b advertising 01e1.
eth0: Digital DS21140 Tulip rev 34 at 0xf200a000, 08:00:3E:28:C4:A2, IRQ 11.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
W82C105: IDE controller at PCI slot 00:0b.1
PCI: Enabling device 00:0b.1 (0000 -> 0001)
W82C105: chipset revision 5
W82C105: bad irq (0): will probe later
    ide0: BM-DMA at 0x1480-0x1487, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0x1488-0x148f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
Probing IDE interface ide1...
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
SCSI subsystem driver Revision: 1.00
PCI: Enabling device 00:0c.0 (0000 -> 0003)
sym.0.12.0: setting PCI_COMMAND_MASTER PCI_COMMAND_PARITY...
sym0: <825a> rev 0x13 on pci bus 0 device 12 function 0 irq 15
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.17a
blk: queue c03dcc18, I/O limit 4095Mb (mask 0xffffffff)
  Vendor: SEAGATE   Model: ST34371W          Rev: 0484
  Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue c03dce18, I/O limit 4095Mb (mask 0xffffffff)
  Vendor: SEAGATE   Model: ST32171W          Rev: 0460
  Type:   Direct-Access                      ANSI SCSI revision: 02
blk: queue c039b218, I/O limit 4095Mb (mask 0xffffffff)
sym0:0:0: tagged command queuing enabled, command queue depth 16.
sym0:1:0: tagged command queuing enabled, command queue depth 16.
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
sym0:0: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8)
SCSI device sda: 8496884 512-byte hdwr sectors (4350 MB)
Partition check:
 sda: sda1 sda2 sda3
sym0:1: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8)
SCSI device sdb: 4194158 512-byte hdwr sectors (2147 MB)
 sdb: sdb1
Macintosh non-volatile memory driver v1.0
mice: PS/2 mouse device common for all mice
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 136k init 36k pmac 8k chrp 4k openfirmware
Adding Swap: 498004k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,3), internal journal
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 23:41:41 Aug 16 2003
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
eth0: Setting full-duplex based on MII#8 link partner capability of 45e1.
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).


loaded at:     00400400 00522FE4
relocated to:  00800000 00922BE4
No residual data found.
zimage at:     0080A79B 00918A59
avail ram:     00400000 00800000

Linux/PPC load: console=ttyS0,9600 console=tty0 root=/dev/sda3
Uncompressing Linux...done.
Now booting the kernel
Total memory = 32MB; using 64kB for hash table (at c0290000)
Linux version 2.6.0-test3 (mroos@ananass) (gcc version 3.3.2 20030812 (Debian prerelease)) #2 Mon Aug 18 21:28:30 EEST 2003
PReP architecture
On node 0 totalpages: 8192
  DMA zone: 8192 pages, LIFO batch:2
  Normal zone: 0 pages, LIFO batch:1
  HighMem zone: 0 pages, LIFO batch:1
Building zonelist for node : 0
Kernel command line: console=ttyS0,9600 console=tty0 root=/dev/sda3
PID hash table entries: 256 (order 8: 2048 bytes)
time_init: decrementer frequency = 16.657522 MHz
Console: colour VGA+ 80x25
Calibrating delay loop... 299.00 BogoMIPS
Memory: 29736k available (1544k kernel code, 900k data, 124k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
-> /dev
-> /dev/console
-> /root
POSIX conformance testing by UNIFIX
Initializing RT netlink socket
PCI: Probing PCI hardware
Setting PCI interrupts for a "Utah (Powerstack II Pro4000)"
BIO: pool of 256 setup, 16Kb (64 bytes/bio)
biovec pool[0]:   1 bvecs:  56 entries (12 bytes)
biovec pool[1]:   4 bvecs:  28 entries (48 bytes)
biovec pool[2]:  16 bvecs:  14 entries (192 bytes)
biovec pool[3]:  64 bvecs:   7 entries (768 bytes)
biovec pool[4]: 128 bvecs:   3 entries (1536 bytes)
biovec pool[5]: 256 bvecs:   1 entries (3072 bytes)
SCSI subsystem initialized
pty: 256 Unix98 ptys configured
Journalled Block Device driver loaded
Initializing Cryptographic API
Generic RTC Driver v1.07
Serial: 8250/16550 driver $Revision: 1.90 $ IRQ sharing enabled
ÿttyS0 at I/O 0x3f8 (irq = 0) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A
Linux Tulip driver version 1.1.13 (May 11, 2002)
PCI: Enabling device 0000:00:04.0 (0000 -> 0003)
tulip0:  EEPROM default media type Autosense.
tulip0:  Index #0 - Media AUI (#2) described by a 21140 non-MII (0) block.
tulip0:  Index #1 - Media MII (#11) described by a 21140 MII PHY (1) block.
tulip0:  MII transceiver #8 config 3100 status 786b advertising 01e1.
eth0: Digital DS21140 Tulip rev 34 at 0xf200a000, 08:00:3E:28:C4:A2, IRQ 9.
PCI: Enabling device 0000:00:02.0 (0000 -> 0003)
sym.0.2.0: 53c825a detected
sym0: <825a> rev 0x13 on pci bus 0 device 2 function 0 irq 15
sym0: No NVRAM, ID 7, Fast-10, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.16a
Using anticipatory scheduling elevator
  Vendor: SEAGATE   Model: ST34371W          Rev: 0484
  Type:   Direct-Access                      ANSI SCSI revision: 02
sym0:0:0: tagged command queuing enabled, command queue depth 16.
  Vendor: SEAGATE   Model: ST32171W          Rev: 0460
  Type:   Direct-Access                      ANSI SCSI revision: 02
sym0:1:0: tagged command queuing enabled, command queue depth 16.
sym0:0: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8)
SCSI device sda: 8496884 512-byte hdwr sectors (4350 MB)
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
sym0:1: FAST-10 WIDE SCSI 20.0 MB/s ST (100.0 ns, offset 8)
SCSI device sdb: 4194158 512-byte hdwr sectors (2147 MB)
SCSI device sdb: drive cache: write back
 sdb: sdb1
Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
Macintosh non-volatile memory driver v1.0
mice: PS/2 mouse device common for all mice
input: PC Speaker
input: PS2++ Logitech Wheel Mouse on isa0060/serio1
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
NET4: Frame Diverter 0.46
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
EXT3-fs: INFO: recovery required on readonly filesystem.
EXT3-fs: write access will be enabled during recovery.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 124k init 32k pmac 4k chrp 4k openfirmware
Adding 498004k swap on /dev/sda2.  Priority:-1 extents:1
EXT3 FS on sda3, internal journal
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27

(and hangs here)

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-08-18 19:12 PPC & 2.6.0-test3: wrong mem size & hang on ifconfig Meelis Roos
@ 2003-08-29 18:49 ` Tom Rini
  2003-10-10  9:20   ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-08-29 18:49 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

On Mon, Aug 18, 2003 at 10:12:43PM +0300, Meelis Roos wrote:

> I tried 2.6.0-test3 + todays BK on a Motorola Powerstack (Utah II, 300
> MHz 604e). It's basically a PReP machine from Motorola.
> 
> 2.4.22-rc2 works well. 2.6.0-test3+latest bk fails in 2 places.
> 
> 1. Network interface is detected correctly but first ifconfig command
> (even if it fails because of wrong arguments) hangs the machine. This is
> with both tulip driver (new io+mmio or mmio or just plain pio, 3 modes
> tried) and de4x5 driver (the card is a onboard 21140).
> 
> 2. 2.4 detects full 64M of RAM, 2.6 detects only 32M of RAM.

Interesting.  Can you try the linuxppc_2_4_devel
(http://penguinppc.org/dev/kernel.shtml) tree and let me know if that
finds 32mb or 64mb of RAM?

-- 
Tom Rini
http://gate.crashing.org/~trini/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-08-29 18:49 ` Tom Rini
@ 2003-10-10  9:20   ` Meelis Roos
  2003-10-13 16:02     ` Tom Rini
  2003-10-13 22:46     ` Tom Rini
  0 siblings, 2 replies; 25+ messages in thread
From: Meelis Roos @ 2003-10-10  9:20 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> > 1. Network interface is detected correctly but first ifconfig command
> > (even if it fails because of wrong arguments) hangs the machine. This is
> > with both tulip driver (new io+mmio or mmio or just plain pio, 3 modes
> > tried) and de4x5 driver (the card is a onboard 21140).
> >
> > 2. 2.4 detects full 64M of RAM, 2.6 detects only 32M of RAM.
>
> Interesting.  Can you try the linuxppc_2_4_devel
> (http://penguinppc.org/dev/kernel.shtml) tree and let me know if that
> finds 32mb or 64mb of RAM?

Yesterday I got the machine back from production use and tried to
compile it. It did not compile for my configuration. I also tried
2.6.0-test6 that I had cheked out, it made no difference, still only 32M
RAM and hang on ifconfig eth0 up.

make[2]: Entering directory `/home/mroos/compile/linuxppc_2_4_devel/arch/ppc/mm'
gcc -D__KERNEL__ -I/home/mroos/compile/linuxppc_2_4_devel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/mroos/compile/linuxppc_2_4_devel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -nostdinc -iwithprefix include -DKBUILD_BASENAME=init  -c -o init.o init.c
init.c:47:22: mmu_decl.h: No such file or directory
init.c: In function `MMU_init':
init.c:339: warning: implicit declaration of function `adjust_total_lowmem'
init.c:346: warning: implicit declaration of function `MMU_init_hw'
init.c:351: warning: implicit declaration of function `mapin_ram'
init.c: In function `mem_init':
init.c:504: error: `rtas_size' undeclared (first use in this function)
init.c:504: error: (Each undeclared identifier is reported only once
init.c:504: error: for each function it appears in.)
init.c: In function `set_phys_avail':
init.c:600: error: `rtas_size' undeclared (first use in this function)
make[2]: *** [init.o] Error 1


Here is my .config for linuxppc-2.4-devel:

#
# Automatically generated by make menuconfig: don't edit
#
# CONFIG_UID16 is not set
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_HAVE_DEC_LOCK=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
CONFIG_ADVANCED_OPTIONS=y

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y

#
# Platform support
#
CONFIG_PPC=y
CONFIG_PPC32=y
CONFIG_6xx=y
# CONFIG_40x is not set
# CONFIG_44x is not set
# CONFIG_POWER3 is not set
# CONFIG_POWER4 is not set
# CONFIG_8xx is not set
# CONFIG_8260 is not set
CONFIG_PPC_STD_MMU=y
CONFIG_ALL_PPC=y
# CONFIG_APUS is not set
# CONFIG_WILLOW is not set
# CONFIG_CPCI690 is not set
# CONFIG_PCORE is not set
# CONFIG_POWERPMC250 is not set
# CONFIG_PPMC260 is not set
# CONFIG_EV64260 is not set
# CONFIG_SPRUCE is not set
# CONFIG_PUMA_A is not set
# CONFIG_HXEB100 is not set
# CONFIG_LOPEC is not set
# CONFIG_MCPN765 is not set
# CONFIG_MVME5100 is not set
# CONFIG_PPLUS is not set
# CONFIG_PRPMC750 is not set
# CONFIG_PRPMC800 is not set
# CONFIG_SANDPOINT is not set
# CONFIG_ADIR is not set
# CONFIG_K2 is not set
# CONFIG_PAL4 is not set
# CONFIG_GEMINI is not set
# CONFIG_SMP is not set
# CONFIG_ALTIVEC is not set
# CONFIG_TAU is not set
CONFIG_PPC_ISATIMER=y

#
# General setup
#
# CONFIG_HIGHMEM is not set
# CONFIG_LOWMEM_SIZE_BOOL is not set
# CONFIG_KERNEL_START_BOOL is not set
# CONFIG_TASK_SIZE_BOOL is not set
CONFIG_HIGHMEM_START=0xfe000000
CONFIG_LOWMEM_SIZE=0x30000000
CONFIG_KERNEL_START=0xc0000000
CONFIG_TASK_SIZE=0x80000000
# CONFIG_ISA is not set
# CONFIG_EISA is not set
# CONFIG_SBUS is not set
# CONFIG_MCA is not set
CONFIG_PCI=y
CONFIG_NET=y
CONFIG_SYSCTL=y
CONFIG_SYSVIPC=y
# CONFIG_BSD_PROCESS_ACCT is not set
CONFIG_KCORE_ELF=y
CONFIG_BINFMT_ELF=y
CONFIG_KERNEL_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_PCI_NAMES=y
CONFIG_HOTPLUG=y

#
# PCMCIA/CardBus support
#
# CONFIG_PCMCIA is not set

#
# Parallel port support
#
CONFIG_PARPORT=m
CONFIG_PARPORT_PC=m
CONFIG_PARPORT_PC_CML1=m
# CONFIG_PARPORT_SERIAL is not set
CONFIG_PARPORT_PC_FIFO=y
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_AMIGA is not set
# CONFIG_PARPORT_MFC3 is not set
# CONFIG_PARPORT_ATARI is not set
# CONFIG_PARPORT_GSC is not set
# CONFIG_PARPORT_SUNBPP is not set
CONFIG_PARPORT_OTHER=y
CONFIG_PARPORT_1284=y
CONFIG_GEN_RTC=y
# CONFIG_PPC601_SYNC_FIX is not set
# CONFIG_PROC_DEVICETREE is not set
# CONFIG_PPC_RTAS is not set
# CONFIG_PREP_RESIDUAL is not set
# CONFIG_PROC_PREPRESIDUAL is not set
CONFIG_PPCBUG_NVRAM=y
CONFIG_CMDLINE_BOOL=y
CONFIG_CMDLINE="console=ttyS0,9600 console=tty0 root=/dev/sda3"

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Plug and Play configuration
#
# CONFIG_PNP is not set
# CONFIG_ISAPNP is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_CISS_SCSI_TAPE is not set
# CONFIG_CISS_MONITOR_THREAD is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BLK_STATS is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=m
CONFIG_MD_LINEAR=m
CONFIG_MD_RAID0=m
CONFIG_MD_RAID1=m
CONFIG_MD_RAID5=m
CONFIG_MD_MULTIPATH=m
CONFIG_BLK_DEV_LVM=m

#
# Networking options
#
CONFIG_PACKET=m
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
CONFIG_NET_IPGRE=m
CONFIG_NET_IPGRE_BROADCAST=y
CONFIG_IP_MROUTE=y
CONFIG_IP_PIMSM_V1=y
CONFIG_IP_PIMSM_V2=y
# CONFIG_ARPD is not set
# CONFIG_INET_ECN is not set
CONFIG_SYN_COOKIES=y

#
#   IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_UNCLEAN=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_TARGET_MIRROR=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

#
#   IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
CONFIG_IPV6=m

#
#   IPv6: Netfilter Configuration
#
CONFIG_IP6_NF_QUEUE=m
CONFIG_IP6_NF_IPTABLES=m
CONFIG_IP6_NF_MATCH_LIMIT=m
CONFIG_IP6_NF_MATCH_MAC=m
CONFIG_IP6_NF_MATCH_RT=m
CONFIG_IP6_NF_MATCH_OPTS=m
CONFIG_IP6_NF_MATCH_FRAG=m
CONFIG_IP6_NF_MATCH_HL=m
CONFIG_IP6_NF_MATCH_MULTIPORT=m
CONFIG_IP6_NF_MATCH_OWNER=m
CONFIG_IP6_NF_MATCH_MARK=m
CONFIG_IP6_NF_MATCH_IPV6HEADER=m
CONFIG_IP6_NF_MATCH_AHESP=m
CONFIG_IP6_NF_MATCH_LENGTH=m
CONFIG_IP6_NF_MATCH_EUI64=m
CONFIG_IP6_NF_FILTER=m
CONFIG_IP6_NF_TARGET_LOG=m
CONFIG_IP6_NF_MANGLE=m
CONFIG_IP6_NF_TARGET_MARK=m
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
CONFIG_VLAN_8021Q=m
# CONFIG_IPX is not set
# CONFIG_ATALK is not set

#
# Appletalk devices
#
# CONFIG_DEV_APPLETALK is not set
# CONFIG_DECNET is not set
CONFIG_BRIDGE=m
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
CONFIG_NET_DIVERT=y
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
CONFIG_NET_SCH_CBQ=m
CONFIG_NET_SCH_HTB=m
CONFIG_NET_SCH_CSZ=m
CONFIG_NET_SCH_PRIO=m
CONFIG_NET_SCH_RED=m
CONFIG_NET_SCH_SFQ=m
CONFIG_NET_SCH_TEQL=m
CONFIG_NET_SCH_TBF=m
CONFIG_NET_SCH_GRED=m
CONFIG_NET_SCH_DSMARK=m
CONFIG_NET_SCH_INGRESS=m
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
CONFIG_NET_CLS=y
CONFIG_NET_CLS_TCINDEX=m
CONFIG_NET_CLS_ROUTE4=m
CONFIG_NET_CLS_ROUTE=y
CONFIG_NET_CLS_FW=m
CONFIG_NET_CLS_U32=m
CONFIG_NET_CLS_RSVP=m
CONFIG_NET_CLS_RSVP6=m
CONFIG_NET_CLS_POLICE=y

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set

#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=m

#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=m
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=m
CONFIG_IDEDISK_MULTI_MODE=y
CONFIG_IDEDISK_STROKE=y
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=m
# CONFIG_BLK_DEV_IDETAPE is not set
CONFIG_BLK_DEV_IDEFLOPPY=m
CONFIG_BLK_DEV_IDESCSI=m
CONFIG_IDE_TASK_IOCTL=y
CONFIG_BLK_DEV_CMD640=y
CONFIG_BLK_DEV_CMD640_ENHANCED=y
# CONFIG_BLK_DEV_ISAPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_BLK_DEV_GENERIC=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_OFFBOARD is not set
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_IDEDMA=y
CONFIG_IDEDMA_PCI_WIP=y
# CONFIG_BLK_DEV_ADMA100 is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_PIIX is not set
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_RZ1000 is not set
# CONFIG_BLK_DEV_SC1200 is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
CONFIG_BLK_DEV_SL82C105=y
# CONFIG_BLK_DEV_IDE_PMAC is not set
# CONFIG_BLK_DEV_IDE_PMAC_ATA100FIRST is not set
# CONFIG_BLK_DEV_IDEDMA_PMAC is not set
# CONFIG_BLK_DEV_IDEDMA_PMAC_AUTO is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
# CONFIG_BLK_DEV_ATARAID_SII is not set

#
# SCSI support
#
CONFIG_SCSI=y
CONFIG_BLK_DEV_SD=y
CONFIG_SD_EXTRA_DEVS=40
CONFIG_CHR_DEV_ST=m
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=m
CONFIG_SCSI_DEBUG_QUEUES=y
CONFIG_SCSI_MULTI_LUN=y
CONFIG_SCSI_CONSTANTS=y
# CONFIG_SCSI_LOGGING is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=m
CONFIG_AIC7XXX_CMDS_PER_DEVICE=8
CONFIG_AIC7XXX_RESET_DELAY_MS=15000
# CONFIG_AIC7XXX_PROBE_EISA_VL is not set
# CONFIG_AIC7XXX_BUILD_FIRMWARE is not set
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
CONFIG_SCSI_MEGARAID=m
CONFIG_SCSI_BUSLOGIC=m
# CONFIG_SCSI_OMIT_FLASHPOINT is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_DMA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
# CONFIG_SCSI_SYM53C8XX_IOMAPPED is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
CONFIG_SCSI_QLOGIC_1280=m
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_MESH is not set
# CONFIG_SCSI_MAC53C94 is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_BOOT is not set
# CONFIG_FUSION_ISENSE is not set
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set

#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
CONFIG_IEEE1394=m
CONFIG_IEEE1394_OHCI1394=m
CONFIG_IEEE1394_VIDEO1394=m
CONFIG_IEEE1394_SBP2=m
# CONFIG_IEEE1394_SBP2_PHYS_DMA is not set
CONFIG_IEEE1394_ETH1394=m
CONFIG_IEEE1394_DV1394=m
CONFIG_IEEE1394_RAWIO=m
CONFIG_IEEE1394_CMP=m
CONFIG_IEEE1394_AMDTP=m
# CONFIG_IEEE1394_VERBOSEDEBUG is not set
CONFIG_IEEE1394_OUI_DB=y

#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set

#
# Network device support
#
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_ETHERTAP is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MACE is not set
# CONFIG_BMAC is not set
# CONFIG_GMAC is not set
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_CS89x0 is not set
CONFIG_TULIP=y
CONFIG_TULIP_MWI=y
CONFIG_TULIP_MMIO=y
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
# CONFIG_EEPRO100 is not set
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=m
# CONFIG_8139TOO_PIO is not set
CONFIG_8139TOO_TUNE_TWISTER=y
CONFIG_8139TOO_8129=y
# CONFIG_8139_OLD_RX_RESET is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_SUNDANCE_MMIO is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PLIP=m
CONFIG_PPP=m
CONFIG_PPP_MULTILINK=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_SLIP=m
CONFIG_SLIP_COMPRESSED=y
CONFIG_SLIP_SMART=y
CONFIG_SLIP_MODE_SLIP6=y

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_RCPCI is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Console drivers
#
CONFIG_VGA_CONSOLE=y

#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
# CONFIG_FB_RIVA is not set
CONFIG_FB_CLGEN=m
# CONFIG_FB_PM2 is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_OF is not set
# CONFIG_FB_CONTROL is not set
# CONFIG_FB_PLATINUM is not set
# CONFIG_FB_VALKYRIE is not set
# CONFIG_FB_CT65550 is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_S3TRIO is not set
CONFIG_FB_VESA=y
CONFIG_FB_VGA16=m
# CONFIG_FB_LYNX is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_INTEL is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_FBCON_ADVANCED is not set
CONFIG_FBCON_MFB=m
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_VGA_PLANES=m
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
# CONFIG_FB_COMPAT_XPMAC is not set

#
# Input core support
#
CONFIG_INPUT=m
CONFIG_INPUT_KEYBDEV=m
CONFIG_INPUT_MOUSEDEV=m
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
CONFIG_INPUT_JOYDEV=m
CONFIG_INPUT_EVDEV=m

#
# Macintosh device drivers
#
# CONFIG_ADB_CUDA is not set
# CONFIG_ADB_PMU is not set
# CONFIG_MAC_FLOPPY is not set
# CONFIG_MAC_SERIAL is not set
# CONFIG_ADB is not set
CONFIG_MAC_HID=y

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SERIAL_EXTENDED=y
CONFIG_SERIAL_MANY_PORTS=y
CONFIG_SERIAL_SHARE_IRQ=y
# CONFIG_SERIAL_DETECT_IRQ is not set
# CONFIG_SERIAL_MULTIPORT is not set
# CONFIG_HUB6 is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
CONFIG_PPDEV=m
# CONFIG_TIPAR is not set
# CONFIG_BRIQ_PANEL is not set

#
# I2C support
#
# CONFIG_I2C is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set
# CONFIG_MK712_MOUSE is not set

#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_INPUT_NS558 is not set
# CONFIG_INPUT_LIGHTNING is not set
# CONFIG_INPUT_PCIGAME is not set
# CONFIG_INPUT_CS461X is not set
# CONFIG_INPUT_EMU10K1 is not set
# CONFIG_INPUT_SERIO is not set
# CONFIG_INPUT_SERPORT is not set
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_IPMI_PANIC_EVENT is not set
# CONFIG_IPMI_DEVICE_INTERFACE is not set
# CONFIG_IPMI_KCS is not set
# CONFIG_IPMI_WATCHDOG is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_SCx200_GPIO is not set
# CONFIG_AMD_PM768 is not set
CONFIG_NVRAM=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set

#
# Direct Rendering Manager (XFree86 DRI support)
#
# CONFIG_DRM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_QFMT_V2 is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=m
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
CONFIG_HFS_FS=m
CONFIG_HFSPLUS_FS=m
# CONFIG_BEFS_FS is not set
# CONFIG_BEFS_DEBUG is not set
# CONFIG_BFS_FS is not set
CONFIG_EXT3_FS=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
CONFIG_EFS_FS=m
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
CONFIG_TMPFS=y
CONFIG_RAMFS=y
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_JFS_FS=m
# CONFIG_JFS_DEBUG is not set
# CONFIG_JFS_STATISTICS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
CONFIG_UDF_FS=m
# CONFIG_UDF_RW is not set
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set

#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
CONFIG_NFS_DIRECTIO=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
CONFIG_NFSD_TCP=y
CONFIG_SUNRPC=m
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_ZISOFS_FS=m

#
# Partition Types
#
CONFIG_PARTITION_ADVANCED=y
CONFIG_ACORN_PARTITION=y
CONFIG_ACORN_PARTITION_ICS=y
CONFIG_ACORN_PARTITION_ADFS=y
CONFIG_ACORN_PARTITION_POWERTEC=y
CONFIG_ACORN_PARTITION_RISCIX=y
CONFIG_OSF_PARTITION=y
CONFIG_AMIGA_PARTITION=y
CONFIG_ATARI_PARTITION=y
CONFIG_MAC_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_BSD_DISKLABEL=y
CONFIG_MINIX_SUBPARTITION=y
CONFIG_SOLARIS_X86_PARTITION=y
CONFIG_UNIXWARE_DISKLABEL=y
CONFIG_LDM_PARTITION=y
# CONFIG_LDM_DEBUG is not set
CONFIG_SGI_PARTITION=y
CONFIG_ULTRIX_PARTITION=y
CONFIG_SUN_PARTITION=y
CONFIG_EFI_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

#
# Native Language Support
#
CONFIG_NLS_DEFAULT="cp437"
CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
CONFIG_NLS_CODEPAGE_775=m
CONFIG_NLS_CODEPAGE_850=m
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=m
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_DMASOUND_PMAC is not set
# CONFIG_SOUND_ALI5455 is not set
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_MIDI_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
CONFIG_SOUND_ES1371=m
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_FORTE is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_MIDI_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set
# CONFIG_SOUND_AD1980 is not set
# CONFIG_SOUND_WM97XX is not set

#
# USB support
#
CONFIG_USB=m
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
CONFIG_USB_BANDWIDTH=y
CONFIG_USB_EHCI_HCD=m
CONFIG_USB_UHCI=m
CONFIG_USB_UHCI_ALT=m
CONFIG_USB_OHCI=m
CONFIG_USB_AUDIO=m
CONFIG_USB_EMI26=m
# CONFIG_USB_BLUETOOTH is not set
CONFIG_USB_MIDI=m
CONFIG_USB_STORAGE=m
# CONFIG_USB_STORAGE_DEBUG is not set
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_FREECOM=y
CONFIG_USB_STORAGE_ISD200=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_HP8200e=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_ACM=m
CONFIG_USB_PRINTER=m
CONFIG_USB_HID=m
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_KBD=m
CONFIG_USB_MOUSE=m
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
CONFIG_USB_DC2XX=m
CONFIG_USB_MDC800=m
CONFIG_USB_SCANNER=m
CONFIG_USB_MICROTEK=m
CONFIG_USB_HPUSBSCSI=m
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
CONFIG_USB_KAWETH=m
CONFIG_USB_CATC=m
CONFIG_USB_AX8817X=m
CONFIG_USB_CDCETHER=m
CONFIG_USB_USBNET=m
CONFIG_USB_USS720=m

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_BRLVGER is not set
# CONFIG_USB_LCD is not set

#
# Bluetooth support
#
# CONFIG_BLUEZ is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=m
CONFIG_CRYPTO_SHA1=m
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=m
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_DEFLATE=m
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
# CONFIG_CRC32 is not set
CONFIG_ZLIB_INFLATE=m
CONFIG_ZLIB_DEFLATE=m
# CONFIG_FW_LOADER is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_WAITQ is not set
# CONFIG_KGDB is not set
# CONFIG_XMON is not set
# CONFIG_BDI_SWITCH is not set
# CONFIG_BOOTX_TEXT is not set
CONFIG_LOG_BUF_SHIFT=17

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-10  9:20   ` Meelis Roos
@ 2003-10-13 16:02     ` Tom Rini
  2003-10-14 18:25       ` Meelis Roos
  2003-10-13 22:46     ` Tom Rini
  1 sibling, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-10-13 16:02 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Fri, Oct 10, 2003 at 12:20:56PM +0300, Meelis Roos wrote:
> > > 1. Network interface is detected correctly but first ifconfig command
> > > (even if it fails because of wrong arguments) hangs the machine. This is
> > > with both tulip driver (new io+mmio or mmio or just plain pio, 3 modes
> > > tried) and de4x5 driver (the card is a onboard 21140).
> > >
> > > 2. 2.4 detects full 64M of RAM, 2.6 detects only 32M of RAM.
> >
> > Interesting.  Can you try the linuxppc_2_4_devel
> > (http://penguinppc.org/dev/kernel.shtml) tree and let me know if that
> > finds 32mb or 64mb of RAM?
> 
> Yesterday I got the machine back from production use and tried to
> compile it. It did not compile for my configuration. I also tried
> 2.6.0-test6 that I had cheked out, it made no difference, still only 32M
> RAM and hang on ifconfig eth0 up.
> 
> make[2]: Entering directory `/home/mroos/compile/linuxppc_2_4_devel/arch/ppc/mm'
> gcc -D__KERNEL__ -I/home/mroos/compile/linuxppc_2_4_devel/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -I/home/mroos/compile/linuxppc_2_4_devel/arch/ppc -fsigned-char -msoft-float -pipe -ffixed-r2 -Wno-uninitialized -mmultiple -mstring   -nostdinc -iwithprefix include -DKBUILD_BASENAME=init  -c -o init.o init.c
> init.c:47:22: mmu_decl.h: No such file or directory

That's not right.  Did you do a 'bk -r get -q' or equivalent?  Or is
this the rsync version?

> Here is my .config for linuxppc-2.4-devel:

Works for me.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-10  9:20   ` Meelis Roos
  2003-10-13 16:02     ` Tom Rini
@ 2003-10-13 22:46     ` Tom Rini
  1 sibling, 0 replies; 25+ messages in thread
From: Tom Rini @ 2003-10-13 22:46 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Fri, Oct 10, 2003 at 12:20:56PM +0300, Meelis Roos wrote:

> > > 1. Network interface is detected correctly but first ifconfig command
> > > (even if it fails because of wrong arguments) hangs the machine. This is
> > > with both tulip driver (new io+mmio or mmio or just plain pio, 3 modes
> > > tried) and de4x5 driver (the card is a onboard 21140).
> > >
> > > 2. 2.4 detects full 64M of RAM, 2.6 detects only 32M of RAM.
> >
> > Interesting.  Can you try the linuxppc_2_4_devel
> > (http://penguinppc.org/dev/kernel.shtml) tree and let me know if that
> > finds 32mb or 64mb of RAM?
> 
> Yesterday I got the machine back from production use and tried to
> compile it. It did not compile for my configuration. I also tried
> 2.6.0-test6 that I had cheked out, it made no difference, still only 32M
> RAM and hang on ifconfig eth0 up.

-test6 BTW, should be the same.  The issue is that older 2.4 doesn't
'detect' 64MB of RAM, it reads that value from data the firmware passes
on (that can be incorrect or non-existant) and what 2.6 does and (newer
2.4 does / will do) is to ask the memory controller how much memory it
thinks that it has (which in someways is more important).

What I'm trying to do is to see if the problem is something in 2.4 or
2.6, as 2.6 correctly detects 128MB on my PReP box.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-13 16:02     ` Tom Rini
@ 2003-10-14 18:25       ` Meelis Roos
  2003-10-14 18:42         ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-10-14 18:25 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> > init.c:47:22: mmu_decl.h: No such file or directory
>
> That's not right.  Did you do a 'bk -r get -q' or equivalent?  Or is
> this the rsync version?

bk -r co -q

> > Here is my .config for linuxppc-2.4-devel:
>
> Works for me.

Now it works for me too and I could test it.

linuxppc-2.4-devel too finds only 32M of RAM. 2.4.23-pre7 finds 64M (in
BAT2).

Additionally, I can't seem to interrupt a running program or switch to
another virtual console in -devel. Normal keys work but ^C and Alt-F*
are just ignored.

-- 
Meelis Roos (mroos@linux.ee)



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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 18:25       ` Meelis Roos
@ 2003-10-14 18:42         ` Tom Rini
  2003-10-14 18:44           ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-10-14 18:42 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Tue, Oct 14, 2003 at 09:25:44PM +0300, Meelis Roos wrote:
> > > init.c:47:22: mmu_decl.h: No such file or directory
> >
> > That's not right.  Did you do a 'bk -r get -q' or equivalent?  Or is
> > this the rsync version?
> 
> bk -r co -q
> 
> > > Here is my .config for linuxppc-2.4-devel:
> >
> > Works for me.
> 
> Now it works for me too and I could test it.
> 
> linuxppc-2.4-devel too finds only 32M of RAM. 2.4.23-pre7 finds 64M (in
> BAT2).

Now we're getting somewhere.  I believe that 2.4.23-pre7 should have an
option to display all residual data as /proc/residual (or
/proc/residual.gz, I forget).  Can you please enable that, and send me
the data there privately?  Thanks.

> Additionally, I can't seem to interrupt a running program or switch to
> another virtual console in -devel. Normal keys work but ^C and Alt-F*
> are just ignored.

That's very odd.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 18:42         ` Tom Rini
@ 2003-10-14 18:44           ` Meelis Roos
  2003-10-14 18:53             ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-10-14 18:44 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> > linuxppc-2.4-devel too finds only 32M of RAM. 2.4.23-pre7 finds 64M (in
> > BAT2).
>
> Now we're getting somewhere.  I believe that 2.4.23-pre7 should have an
> option to display all residual data as /proc/residual (or
> /proc/residual.gz, I forget).  Can you please enable that, and send me
> the data there privately?  Thanks.

This is Motorola Poserstack Pro4000 (UtahII), it has no residual data,
at least the messages say so.

-- 
Meelis Roos (mroos@ut.ee)      http://www.cs.ut.ee/~mroos/


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 18:44           ` Meelis Roos
@ 2003-10-14 18:53             ` Tom Rini
  2003-10-14 19:58               ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-10-14 18:53 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Tue, Oct 14, 2003 at 09:44:22PM +0300, Meelis Roos wrote:
> > > linuxppc-2.4-devel too finds only 32M of RAM. 2.4.23-pre7 finds 64M (in
> > > BAT2).
> >
> > Now we're getting somewhere.  I believe that 2.4.23-pre7 should have an
> > option to display all residual data as /proc/residual (or
> > /proc/residual.gz, I forget).  Can you please enable that, and send me
> > the data there privately?  Thanks.
> 
> This is Motorola Poserstack Pro4000 (UtahII), it has no residual data,
> at least the messages say so.

Does that machine have openfirmware by chance?

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 18:53             ` Tom Rini
@ 2003-10-14 19:58               ` Meelis Roos
  2003-10-14 23:25                 ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-10-14 19:58 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> > This is Motorola Poserstack Pro4000 (UtahII), it has no residual data,
> > at least the messages say so.
>
> Does that machine have openfirmware by chance?

Yes, OF is present.

I will be away and can access this computer only on next Monday again.

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 19:58               ` Meelis Roos
@ 2003-10-14 23:25                 ` Tom Rini
  2003-10-20 13:55                   ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-10-14 23:25 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Tue, Oct 14, 2003 at 10:58:05PM +0300, Meelis Roos wrote:
> > > This is Motorola Poserstack Pro4000 (UtahII), it has no residual data,
> > > at least the messages say so.
> >
> > Does that machine have openfirmware by chance?
> 
> Yes, OF is present.

Ah-ha!

> I will be away and can access this computer only on next Monday again.

Can you apply the following patch (2.6)?  I'm expecting it to print out that
it hard-codes to 32mb.

===== arch/ppc/boot/prep/misc.c 1.18 vs edited =====
--- 1.18/arch/ppc/boot/prep/misc.c	Tue Jan  7 13:25:58 2003
+++ edited/arch/ppc/boot/prep/misc.c	Tue Oct 14 16:23:55 2003
@@ -224,14 +224,18 @@
 	if (((pci_viddid & 0xffff) == PCI_VENDOR_ID_MOTOROLA)
 			&& ((pci_did == PCI_DEVICE_ID_MOTOROLA_MPC105)
 				|| (pci_did == PCI_DEVICE_ID_MOTOROLA_MPC106)
-				|| (pci_did == PCI_DEVICE_ID_MOTOROLA_MPC107)))
+				|| (pci_did == PCI_DEVICE_ID_MOTOROLA_MPC107))) {
+		puts("Probing for memory\n");	
 		TotalMemory = get_mem_size();
 	/* If it's not, see if we have anything in the residual data. */
-	else if (residual && residual->TotalMemory)
+	} else if (residual && residual->TotalMemory) {
+		puts("Residual? Shouldn't!\n");
 		TotalMemory = residual->TotalMemory;
 	/* Fall back to hard-coding 32MB. */
-	else
+	} else {
+		puts("Hard-coded\n");
 		TotalMemory = 32*1024*1024;
+	}
 
 
 	/* assume the chunk below 8M is free */

Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-14 23:25                 ` Tom Rini
@ 2003-10-20 13:55                   ` Meelis Roos
  2003-10-20 15:30                     ` Tom Rini
  2003-10-20 20:33                     ` Tom Rini
  0 siblings, 2 replies; 25+ messages in thread
From: Meelis Roos @ 2003-10-20 13:55 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> Can you apply the following patch (2.6)?  I'm expecting it to print out that
> it hard-codes to 32mb.

> +		puts("Hard-coded\n");

Yes, hard-coded.

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-20 13:55                   ` Meelis Roos
@ 2003-10-20 15:30                     ` Tom Rini
  2003-10-20 15:41                       ` Meelis Roos
  2003-10-20 20:33                     ` Tom Rini
  1 sibling, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-10-20 15:30 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Mon, Oct 20, 2003 at 04:55:39PM +0300, Meelis Roos wrote:
> > Can you apply the following patch (2.6)?  I'm expecting it to print out that
> > it hard-codes to 32mb.
> 
> > +		puts("Hard-coded\n");
> 
> Yes, hard-coded.

Okay, thanks.  I now know what the problem is.  We no longer probe OF to
get the memory size.  What I'm going to do is to take one of the patches
that has existed for a while now to put back the code needed so that we
can still talk with OF, and we'll add in a test for that as well.  I
hope to have time this week to do it.

Just curious, what bridge is in this machine (an output of lspci would
do fine, too).  Thanks.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-20 15:30                     ` Tom Rini
@ 2003-10-20 15:41                       ` Meelis Roos
  0 siblings, 0 replies; 25+ messages in thread
From: Meelis Roos @ 2003-10-20 15:41 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> Just curious, what bridge is in this machine (an output of lspci would
> do fine, too).  Thanks.

00:0b.0 ISA bridge: Symphony Labs W83C553 (rev 10)
	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

00:0b.1 IDE interface: Symphony Labs SL82c105 (rev 05) (prog-if 8f [Master SecP SecO PriP PriO])
	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 (500ns min, 10000ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=4]
	Region 2: I/O ports at 0170 [size=8]
	Region 3: I/O ports at 0374 [size=4]
	Region 4: I/O ports at 1480 [size=16]
	Region 5: I/O ports at 1490 [size=16]

00:0c.0 SCSI storage controller: LSI Logic / Symbios Logic 53c825 (rev 13)
	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 (4250ns min, 16000ns max)
	Interrupt: pin A routed to IRQ 15
	Region 0: I/O ports at 1000 [size=256]
	Region 1: Memory at c2008000 (32-bit, non-prefetchable) [size=256]
	Region 2: Memory at c2009000 (32-bit, non-prefetchable) [size=4K]

00:0e.0 Ethernet controller: Digital Equipment Corporation DECchip 21140 [FasterNet] (rev 22)
	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 (5000ns min, 10000ns max), Cache Line Size: 0x08 (32 bytes)
	Interrupt: pin A routed to IRQ 11
	Region 0: I/O ports at 1400 [size=128]
	Region 1: Memory at c200a000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at c1040000 [disabled] [size=256K]

00:12.0 VGA compatible controller: Cirrus Logic GD 5446 (prog-if 00 [VGA])
	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-
	Interrupt: pin ? routed to IRQ 15
	Region 0: Memory at c1000000 (32-bit, prefetchable) [disabled] [size=16M]
	Expansion ROM at c2000000 [disabled] [size=32K]


-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-20 13:55                   ` Meelis Roos
  2003-10-20 15:30                     ` Tom Rini
@ 2003-10-20 20:33                     ` Tom Rini
  2003-10-22 15:31                       ` Meelis Roos
  2003-12-10 13:21                       ` Meelis Roos
  1 sibling, 2 replies; 25+ messages in thread
From: Tom Rini @ 2003-10-20 20:33 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Mon, Oct 20, 2003 at 04:55:39PM +0300, Meelis Roos wrote:
> > Can you apply the following patch (2.6)?  I'm expecting it to print out that
> > it hard-codes to 32mb.
> 
> > +		puts("Hard-coded\n");
> 
> Yes, hard-coded.

Okay.  Can you give the linuxppc-2.5 repo a shot on this machine?  It's
at bk://ppc.bkbits.net/linuxppc-2.5 and
rsync://source.mvista.com/linuxppc-2.5, for reference.  Let me know if
it still boots at least and if it finds 64MB of memory again, it
should..

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-20 20:33                     ` Tom Rini
@ 2003-10-22 15:31                       ` Meelis Roos
  2003-10-22 15:47                         ` Tom Rini
  2003-12-10 13:21                       ` Meelis Roos
  1 sibling, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-10-22 15:31 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> Okay.  Can you give the linuxppc-2.5 repo a shot on this machine?  It's
> at bk://ppc.bkbits.net/linuxppc-2.5 and
> rsync://source.mvista.com/linuxppc-2.5, for reference.  Let me know if
> it still boots at least and if it finds 64MB of memory again, it
> should..

It boots, tells the avail ram is 00400000 00800000 (should be 64M?)
and then the kernel hangs after starting Linux.

-- 
Meelis Roos (mroos@ut.ee)      http://www.cs.ut.ee/~mroos/


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-22 15:31                       ` Meelis Roos
@ 2003-10-22 15:47                         ` Tom Rini
  0 siblings, 0 replies; 25+ messages in thread
From: Tom Rini @ 2003-10-22 15:47 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Wed, Oct 22, 2003 at 06:31:35PM +0300, Meelis Roos wrote:
> > Okay.  Can you give the linuxppc-2.5 repo a shot on this machine?  It's
> > at bk://ppc.bkbits.net/linuxppc-2.5 and
> > rsync://source.mvista.com/linuxppc-2.5, for reference.  Let me know if
> > it still boots at least and if it finds 64MB of memory again, it
> > should..
> 
> It boots, tells the avail ram is 00400000 00800000 (should be 64M?)

Nope, that's the bootwrapper, not the kernel.

> and then the kernel hangs after starting Linux.

Odd, okay.  I've heard similar reports with the 2.4 version of the code,
so I'll let you know when I think it might be fixed.

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-10-20 20:33                     ` Tom Rini
  2003-10-22 15:31                       ` Meelis Roos
@ 2003-12-10 13:21                       ` Meelis Roos
  2003-12-10 16:11                         ` Tom Rini
  1 sibling, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-12-10 13:21 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel


Current 2.4.24-pre is also misbehaving - now it too finds only 32M RAM
on my Powerstack. 2.4.23-pre9 is OK.

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-12-10 13:21                       ` Meelis Roos
@ 2003-12-10 16:11                         ` Tom Rini
  2003-12-11 13:51                           ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-12-10 16:11 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Wed, Dec 10, 2003 at 03:21:32PM +0200, Meelis Roos wrote:

> Current 2.4.24-pre is also misbehaving - now it too finds only 32M RAM
> on my Powerstack. 2.4.23-pre9 is OK.

Okay.  That's not totally unsurprising.  Can you try the following and
let me know what the output is?  Thanks.

===== arch/ppc/boot/prep/misc.c 1.14 vs edited =====
--- 1.14/arch/ppc/boot/prep/misc.c	Mon Oct 20 11:49:35 2003
+++ edited/arch/ppc/boot/prep/misc.c	Wed Dec 10 09:11:05 2003
@@ -251,15 +251,21 @@
 		{
 			phandle dev_handle;
 			int mem_info[2];
+			int n;
+			puts("Trying OF\n");
 
 			/* get handle to memory description */
 			if (!(dev_handle = finddevice("/memory@0")))
 				break;
+			puts("Found /memory@0\n");
 
 			/* get the info */
 			if (getprop(dev_handle, "reg", mem_info,
-						sizeof(mem_info) != 8))
+						sizeof(mem_info) != 8)) {
+				puts("n = 0x");puthex(n);puts("\n");
 				break;
+			}
+			puts("Found reg prop\n");
 
 			TotalMemory = mem_info[1];
 			break;

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-12-10 16:11                         ` Tom Rini
@ 2003-12-11 13:51                           ` Meelis Roos
  2003-12-24 21:20                             ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2003-12-11 13:51 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> ===== arch/ppc/boot/prep/misc.c 1.14 vs edited =====
> --- 1.14/arch/ppc/boot/prep/misc.c	Mon Oct 20 11:49:35 2003
> +++ edited/arch/ppc/boot/prep/misc.c	Wed Dec 10 09:11:05 2003
> @@ -251,15 +251,21 @@
>  		{
>  			phandle dev_handle;
>  			int mem_info[2];
> +			int n;
> +			puts("Trying OF\n");
>
>  			/* get handle to memory description */
>  			if (!(dev_handle = finddevice("/memory@0")))
>  				break;
> +			puts("Found /memory@0\n");
>
>  			/* get the info */
>  			if (getprop(dev_handle, "reg", mem_info,
> -						sizeof(mem_info) != 8))
> +						sizeof(mem_info) != 8)) {
> +				puts("n = 0x");puthex(n);puts("\n");
>  				break;
> +			}
> +			puts("Found reg prop\n");

Are you sure that n really gets a value?

It prints
Found /memory@0
n = 0x00000000

and nothinf about reg prop as the code tells. What do you actually mean
by n?

-- 
Meelis Roos (mroos@linux.ee)



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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-12-11 13:51                           ` Meelis Roos
@ 2003-12-24 21:20                             ` Tom Rini
  2004-01-06 12:00                               ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2003-12-24 21:20 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Thu, Dec 11, 2003 at 03:51:34PM +0200, Meelis Roos wrote:
> > ===== arch/ppc/boot/prep/misc.c 1.14 vs edited =====
> > --- 1.14/arch/ppc/boot/prep/misc.c	Mon Oct 20 11:49:35 2003
> > +++ edited/arch/ppc/boot/prep/misc.c	Wed Dec 10 09:11:05 2003
> > @@ -251,15 +251,21 @@
> >  		{
> >  			phandle dev_handle;
> >  			int mem_info[2];
> > +			int n;
> > +			puts("Trying OF\n");
> >
> >  			/* get handle to memory description */
> >  			if (!(dev_handle = finddevice("/memory@0")))
> >  				break;
> > +			puts("Found /memory@0\n");
> >
> >  			/* get the info */
> >  			if (getprop(dev_handle, "reg", mem_info,
> > -						sizeof(mem_info) != 8))
> > +						sizeof(mem_info) != 8)) {
> > +				puts("n = 0x");puthex(n);puts("\n");
> >  				break;
> > +			}
> > +			puts("Found reg prop\n");
> 
> Are you sure that n really gets a value?
> 
> It prints
> Found /memory@0
> n = 0x00000000
> 
> and nothinf about reg prop as the code tells. What do you actually mean
> by n?

Sorry for such a late reply.  What I ment to do in there was:
	if ((n = getprop(dev_handle, "reg", mem_info, sizeof(mem_info))
	!= 8) {
		puts("n = 0x";puthex(n);puts("\n");
		break;
	}

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2003-12-24 21:20                             ` Tom Rini
@ 2004-01-06 12:00                               ` Meelis Roos
  2004-01-06 15:37                                 ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2004-01-06 12:00 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> > >  			if (getprop(dev_handle, "reg", mem_info,
> > > -						sizeof(mem_info) != 8))
> > > +						sizeof(mem_info) != 8)) {

> 	if ((n = getprop(dev_handle, "reg", mem_info, sizeof(mem_info))
> 	!= 8) {

I tried it (applied it by hand and fixed parens) and it did not print n
and found the right RAM size with todays BK (2.4.24-pre3 by Makefile). I
was confused but did read the patch 3 times. Now I see it - one closing
parenthesis was in the wrong place. Seems you have fixed it in 2.4 tree
already since it's ok in BK.

So 2.4 is OK again on my Motorola Powerstack II Pro4000 (prep, no
residual, OF present). Thanks! dmesg now tells
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
Total memory = 64MB; using 128kB for hash table (at c0240000)

2.6 probably needs the same fix (current 2.6 is not OK).

Additionally, 2.6 still has the problem with hard hang (no sysrq) when I
do ifconfig eth0 up (21140 driven by tulip or de4x5). I have heard other
people have the same problem - 21140 and 3com on powerstack and some
NIC with tulip driver on another arch (alpha?).

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2004-01-06 12:00                               ` Meelis Roos
@ 2004-01-06 15:37                                 ` Tom Rini
  2004-08-19 10:48                                   ` Meelis Roos
  0 siblings, 1 reply; 25+ messages in thread
From: Tom Rini @ 2004-01-06 15:37 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Tue, Jan 06, 2004 at 02:00:20PM +0200, Meelis Roos wrote:

> > > >  			if (getprop(dev_handle, "reg", mem_info,
> > > > -						sizeof(mem_info) != 8))
> > > > +						sizeof(mem_info) != 8)) {
> 
> > 	if ((n = getprop(dev_handle, "reg", mem_info, sizeof(mem_info))
> > 	!= 8) {
> 
> I tried it (applied it by hand and fixed parens) and it did not print n
> and found the right RAM size with todays BK (2.4.24-pre3 by Makefile). I
> was confused but did read the patch 3 times. Now I see it - one closing
> parenthesis was in the wrong place. Seems you have fixed it in 2.4 tree
> already since it's ok in BK.
> 
> So 2.4 is OK again on my Motorola Powerstack II Pro4000 (prep, no
> residual, OF present). Thanks! dmesg now tells
> Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
> Total memory = 64MB; using 128kB for hash table (at c0240000)
> 
> 2.6 probably needs the same fix (current 2.6 is not OK).

I hope to get this fixed in 2.6.2 (2.6 lacks the add OF back to PReP
bits, and the patch is kinda big).

> Additionally, 2.6 still has the problem with hard hang (no sysrq) when I
> do ifconfig eth0 up (21140 driven by tulip or de4x5). I have heard other
> people have the same problem - 21140 and 3com on powerstack and some
> NIC with tulip driver on another arch (alpha?).

I forget, have you tried KGDB?  I've got patches for it on PReP up at
http://stop.crashing.org:16080/~trini

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2004-01-06 15:37                                 ` Tom Rini
@ 2004-08-19 10:48                                   ` Meelis Roos
  2004-09-01 18:44                                     ` Tom Rini
  0 siblings, 1 reply; 25+ messages in thread
From: Meelis Roos @ 2004-08-19 10:48 UTC (permalink / raw)
  To: Tom Rini; +Cc: linux-kernel

> On Tue, Jan 06, 2004 at 02:00:20PM +0200, Meelis Roos wrote:
>
> > > > >  			if (getprop(dev_handle, "reg", mem_info,
> > > > > -						sizeof(mem_info) != 8))
> > > > > +						sizeof(mem_info) != 8)) {
> >
> > > 	if ((n = getprop(dev_handle, "reg", mem_info, sizeof(mem_info))
> > > 	!= 8) {
> >
> > I tried it (applied it by hand and fixed parens) and it did not print n
> > and found the right RAM size with todays BK (2.4.24-pre3 by Makefile). I
> > was confused but did read the patch 3 times. Now I see it - one closing
> > parenthesis was in the wrong place. Seems you have fixed it in 2.4 tree
> > already since it's ok in BK.
> >
> > So 2.4 is OK again on my Motorola Powerstack II Pro4000 (prep, no
> > residual, OF present). Thanks! dmesg now tells
> > Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
> > Total memory = 64MB; using 128kB for hash table (at c0240000)
> >
> > 2.6 probably needs the same fix (current 2.6 is not OK).
>
> I hope to get this fixed in 2.6.2 (2.6 lacks the add OF back to PReP
> bits, and the patch is kinda big).

Well, now that my Powerstack II boots 2.6 again, I'm missing the
additional memory - I now have 192M and it only detects 32M :)

Tis is not very urgent though, there are other problems with this
machine before it's production quality with 2.6 - like tulip (and now
maybe also a usb uhci hcd) hanging. I'll try to narrow these down too.

-- 
Meelis Roos (mroos@linux.ee)


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

* Re: PPC & 2.6.0-test3: wrong mem size & hang on ifconfig
  2004-08-19 10:48                                   ` Meelis Roos
@ 2004-09-01 18:44                                     ` Tom Rini
  0 siblings, 0 replies; 25+ messages in thread
From: Tom Rini @ 2004-09-01 18:44 UTC (permalink / raw)
  To: Meelis Roos; +Cc: linux-kernel

On Thu, Aug 19, 2004 at 01:48:45PM +0300, Meelis Roos wrote:
> > On Tue, Jan 06, 2004 at 02:00:20PM +0200, Meelis Roos wrote:
> >
> > > > > >  			if (getprop(dev_handle, "reg", mem_info,
> > > > > > -						sizeof(mem_info) != 8))
> > > > > > +						sizeof(mem_info) != 8)) {
> > >
> > > > 	if ((n = getprop(dev_handle, "reg", mem_info, sizeof(mem_info))
> > > > 	!= 8) {
> > >
> > > I tried it (applied it by hand and fixed parens) and it did not print n
> > > and found the right RAM size with todays BK (2.4.24-pre3 by Makefile). I
> > > was confused but did read the patch 3 times. Now I see it - one closing
> > > parenthesis was in the wrong place. Seems you have fixed it in 2.4 tree
> > > already since it's ok in BK.
> > >
> > > So 2.4 is OK again on my Motorola Powerstack II Pro4000 (prep, no
> > > residual, OF present). Thanks! dmesg now tells
> > > Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
> > > Total memory = 64MB; using 128kB for hash table (at c0240000)
> > >
> > > 2.6 probably needs the same fix (current 2.6 is not OK).
> >
> > I hope to get this fixed in 2.6.2 (2.6 lacks the add OF back to PReP
> > bits, and the patch is kinda big).
> 
> Well, now that my Powerstack II boots 2.6 again, I'm missing the
> additional memory - I now have 192M and it only detects 32M :)

Hmm.  Can you change arch/ppc/boot/simple/misc-prep.c so that it will
only try to look in residual data or OF ?  I'm guessing that
mpc10x_get_mem_size() is returning 32MB.

Or does this board not have an MPC105||MPC106 ?

-- 
Tom Rini
http://gate.crashing.org/~trini/

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

end of thread, other threads:[~2004-09-01 18:44 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-18 19:12 PPC & 2.6.0-test3: wrong mem size & hang on ifconfig Meelis Roos
2003-08-29 18:49 ` Tom Rini
2003-10-10  9:20   ` Meelis Roos
2003-10-13 16:02     ` Tom Rini
2003-10-14 18:25       ` Meelis Roos
2003-10-14 18:42         ` Tom Rini
2003-10-14 18:44           ` Meelis Roos
2003-10-14 18:53             ` Tom Rini
2003-10-14 19:58               ` Meelis Roos
2003-10-14 23:25                 ` Tom Rini
2003-10-20 13:55                   ` Meelis Roos
2003-10-20 15:30                     ` Tom Rini
2003-10-20 15:41                       ` Meelis Roos
2003-10-20 20:33                     ` Tom Rini
2003-10-22 15:31                       ` Meelis Roos
2003-10-22 15:47                         ` Tom Rini
2003-12-10 13:21                       ` Meelis Roos
2003-12-10 16:11                         ` Tom Rini
2003-12-11 13:51                           ` Meelis Roos
2003-12-24 21:20                             ` Tom Rini
2004-01-06 12:00                               ` Meelis Roos
2004-01-06 15:37                                 ` Tom Rini
2004-08-19 10:48                                   ` Meelis Roos
2004-09-01 18:44                                     ` Tom Rini
2003-10-13 22:46     ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.