* Re:Re: my port problem
@ 2000-05-19 5:58 zzh
2000-05-19 13:25 ` Dan Malek
0 siblings, 1 reply; 2+ messages in thread
From: zzh @ 2000-05-19 5:58 UTC (permalink / raw)
To: Dan Malek; +Cc: linuxppc-embedded
>zzh wrote:
>>
>> Hi,my port of linux on 8260 ads board run successfully
>> after free_init_mem.I mount root on a ram disk init from
>> initrd.It cannot open the console driver(it is a symbolic
>> to /dev/ttyS0) .
>
>What is the text of the error message. The entire text of the
>kernel messages during boot would be helpful as well. This is
>the very first access to the file system, perhaps initrd isn't
>working.
>
>
> -- Dan
0x00200000 0x002e0f77 'vmlinux'
0x002e0f78 0x002e0f94 board information
0x00000000 0x000d0f94 relocated vmlinux and board info
0x00c00000 0x01000000 relocated initrd
(0x0000000c)(0x000d0f78, 0x00c00000, 0x00400000, 0x00000000, 0x00000000)
Total Memoty = 16MB;unsing 64kb for hash table (at c00d0000).
Linux version 2.2.11.......
Boot arguments:
Calibrating delay loop...14.44 BogoMIPS
remove_mem_piece: bad overlap [c8000,f4000) with [c8000, d0000) [e0000, 1000000)
Memory: 15408k available (552k kernel code, 396k data, 28k init) [c0000000,c1000
000]
DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Sw<6>NET4: Unix domain sockets 1.0 for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
Starting kswapd v 1.5
CPM UART driver version 0.02
ttyS00 at 0x0100 is a SCC //i use scc2 as ttyS0
info in rs_8xx_init c01d85e0
RAM disk driver initialized: 16 RAM disks of 4096K size
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096 blocks [1 disk] into ram disk... done.
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing unused kernel memory: 28k init
After free_initmem
Warning: unable to open an initial console.
/*open("/dev/console",...);*/
In init! /*this printk calls before execve("/bin/bash",...);
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: my port problem
2000-05-19 5:58 Re:Re: my port problem zzh
@ 2000-05-19 13:25 ` Dan Malek
0 siblings, 0 replies; 2+ messages in thread
From: Dan Malek @ 2000-05-19 13:25 UTC (permalink / raw)
To: zzh; +Cc: Dan Malek, linuxppc-embedded
zzh wrote:
> 0x00200000 0x002e0f77 'vmlinux'
> 0x002e0f78 0x002e0f94 board information
> 0x00000000 0x000d0f94 relocated vmlinux and board info
> 0x00c00000 0x01000000 relocated initrd
> (0x0000000c)(0x000d0f78, 0x00c00000, 0x00400000, 0x00000000, 0x00000000)
I don't know where these came from. I guess someone modified misc.c?
I don't know what they indicate, either.
> Total Memoty = 16MB;unsing 64kb for hash table (at c00d0000).
> Linux version 2.2.11.......
> Boot arguments:
> Calibrating delay loop...14.44 BogoMIPS
> remove_mem_piece: bad overlap [c8000,f4000) with [c8000, d0000) [e0000, 1000000)
Don't messages like this get your attention? Something is wrong with
the memory map, board information structure, or where you loaded the
software kernel and ram disk.
>
> Memory: 15408k available (552k kernel code, 396k data, 28k init) [c0000000,c1000
> 000]
> DENTRY hash table entries: 262144 (order: 9, 2097152 bytes)
> Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
> POSIX conformance testing by UNIFIX
> Linux NET4.0 for Linux 2.2
> Based upon Sw<6>NET4: Unix domain sockets 1.0 for Linux NET4.0.
> NET4: Linux TCP/IP 1.0 for NET4.0
> IP Protocols: ICMP, UDP, TCP
> TCP: Hash tables configured (ehash 16384 bhash 16384)
> Starting kswapd v 1.5
> CPM UART driver version 0.02
> ttyS00 at 0x0100 is a SCC //i use scc2 as ttyS0
Really? So, you modified arch/ppc/mbxboot/m8260_tty.c to use an SCC?
You have to make lots of changes to use SCC as a console. I don't have
any board that uses the SCC for a serial port (easily, without some
hardware hacking), so I haven't tried this.
> Warning: unable to open an initial console.
> /*open("/dev/console",...);*/
Not surprised if this is an SCC. You have some work to contribute :-).
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2000-05-19 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-19 5:58 Re:Re: my port problem zzh
2000-05-19 13:25 ` Dan Malek
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).