<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1528" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff size=2>I'll
look into those config settings. While we are talking about config settings, i
noticed i had CONFIG_VT turned on. I do the make ARCH=ppc xconfig but i cannot
find the setting where CONFIG_VT gets turned on. I don't want to use the virtual
terminal & i believe since the kernel is getting configured with
CONFIG_VT=y, it is trying to mount tty0 which is not part of my root file
system. Does that make sense??</FONT></SPAN></DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff size=2>Is
CONFIG_VT dependent on some other config setting?? How do i get CONFIG_VT set to
n??</FONT></SPAN></DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff
size=2>thanks</FONT></SPAN></DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff
size=2>pankaj</FONT></SPAN></DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265191117-06032006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Paulinha
[mailto:gnathita@gmail.com]<BR><B>Sent:</B> Monday, March 06, 2006 12:55
AM<BR><B>To:</B> Patil, Pankaj P.;
linuxppc-embedded@ozlabs.org<BR><B>Subject:</B> Re: INIT:<BR><BR></FONT></DIV>
<DIV>
<DIV>... and TLB support!!<BR><BR>Paula <BR></DIV><BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV style="DIRECTION: ltr"><SPAN class=e id=q_109ce80ff1d4280f_1>
<DIV><SPAN class=gmail_quote>On 3/3/06, <B class=gmail_sendername>Patil,
Pankaj P.</B> <<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Pankaj.Patil@hp.com" target=_blank>Pankaj.Patil@hp.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">I
do have /dev/console in my file system. In fact , i used
ethereal on the host to see how far the INIT goes.<BR>I saw all the usual
NFS Lookup calls like /lib, /ld-<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://2.3.1.so" target=_blank> 2.3.1.so</A> ..... /libc-<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://2.31.so" target=_blank> 2.31.so</A><BR>The last NFS lookup
call looks like DH:0xbea72a4a/tty0<BR>There are bunch of read replys after
that but no more NFS lookups. Is it normal to see a NFS Lookup that looks
like 0xbea72a4a/tty0 ??<BR>What should be the next NFS Lookup call?<BR>I
did some searching from previous posts but haven't found exactly what i am
looking for. I am attaching a link to something that looks similar to my
problem. Just in case, someone's having trouble understanding my
issue.<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/015250.html"
target=_blank>http://ozlabs.org/pipermail/linuxppc-embedded/2004-August/015250.html
</A><BR><BR>Thanks<BR>pankaj<BR><BR>-----Original Message----- <BR>From:
<A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:atul.sabharwal@exgate.tek.com"
target=_blank>atul.sabharwal@exgate.tek.com</A><BR>[mailto:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:atul.sabharwal@exgate.tek.com" target=_blank>
atul.sabharwal@exgate.tek.com</A>]<BR>Sent: Tuesday, February 28, 2006
6:03 PM <BR>To: Patil, Pankaj P.<BR>Cc: <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:linuxppc-embedded@ozlabs.org"
target=_blank>linuxppc-embedded@ozlabs.org</A><BR>Subject: RE:
INIT:<BR><BR><BR>Easy answer is do you have /dev/console in your file
system. Glibc <BR>opens<BR>/dev/console and the kernel uses
/dev/ttyS0 as specified on the command<BR>line. There should
not be any app calling uart_close as the console<BR>deriver<BR>should be
opening it.<BR><BR>--<BR>Atul<BR><BR>Hi,<BR>I am running u-boot &
linux2.6.12 on a custom ppc board(functional HW).<BR>I can get to the
point where u-boot loads the kernel, kernel does all<BR>the
initialization, loads the Root File System over NFS & calls
the<BR>Init process.<BR>Next, i am expecting to see a shell prompt. I am
not sure where in the <BR>Init process i am failing. I have written my own
serial driver(Philips<BR>SC28L194 Quad UART--under development-possible
culprit). The printks<BR>work just fine.<BR>All i see is the kernel
calling the Init process & after a minute or so <BR>i see uart_close
call.<BR>The kernel runs just fine & responds to ping.<BR>What can
trigger a uart_close??(tty_release calls release_dev calls<BR>uart_close)
I have a JTAG debugger. What's the best way to debug once <BR>Init process
is running??<BR><BR><BR><BR>I am attaching a dump of my console:<BR>U-Boot
1.1.3 (Dec 16 2005 - 16:00:23), Build: 0.4.1<BR><BR>SysClock = 120Mhz ,
TClock = 120Mhz<BR>CPU: MPC7447A v1.1 @ 960 MHz<BR>CPU bus
mode : 60x <BR><BR>DRAM: SPD Checksum ok!<BR>-- DIMM1 has 2
banks<BR>-- DIMM2 has 0 banks<BR>ECC Initialization of Bank 0: Done<BR>CAS
Latency = 2 tRP = 3 tRAS = 6 tRCD=3<BR>Total SDRAM memory is 1024
MB<BR>Now running in RAM - U-Boot at: 00fc0000 <BR>Remapped Internal SRAM
to 0xf2000000<BR>Remapped Flash Card to 0xffc00000<BR>FLASH: 4
MB<BR>Addresses 32M - 0M are saved for the U-Boot usage.<BR>Mem malloc
Initialization (32M - 16M): Done<BR><BR>Internal SRAM ECC Initialization:
Done <BR>***Phy Reset***<BR>Phy Auto-Negotiation Bit ReEnabled in
SW<BR>Net: , mv_enet1 [PRIME]<BR>Hit any key to stop
autoboot: 0<BR>Ethernet status port 1: Link up, Full Duplex,
Speed 100 Mbps<BR>Using mv_enet1 device<BR>TFTP from server <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>192.168.1.1</A>; our IP address is
<A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.2" target=_blank>192.168.1.2</A><BR>Filename
'uImage'.<BR>Load address:
0x400000<BR>Loading:<BR>#################################################################
<BR><BR>#################################################################<BR><BR>#################################################################<BR>
########################<BR>done<BR>Bytes transferred = 1119847 (111667
hex) <BR><BR>### Network statistics:
###<BR>--------------------------<BR>Packets
received: 2192<BR>Packets
send: 2191<BR>Received
bytes: 2347583<BR>Send
bytes: 100803<BR>##
Booting image at 00400000 ...<BR> Image Name:
Linux-2.6.12<BR>
Created: 2006-02-14 0:37:17
UTC<BR> Image Type: PowerPC Linux Kernel Image
(gzip compressed)<BR> Data
Size: 1119783 Bytes = 1.1
MB<BR> Load Address: 00000000<BR> Entry
Point: 00000000<BR> Verifying Checksum ...
OK<BR> Uncompressing Kernel Image ... OK<BR>## cmdline at
0x007FFF00 ... 0x007FFF98<BR>memstart =
0x00000000<BR>memsize = 0x40000000
<BR>flashstart = 0xFFC00000<BR>flashsize =
0x00400000<BR>flashoffset = 0x00000000<BR>sramstart =
0xF8000000<BR>sramsize =
0x00400000<BR>bootflags =
0x00000001<BR>intfreq = 960
MHz<BR>busfreq = 120 MHz
<BR>ethaddr = 64:00:00:00:00:00<BR>IP
addr = <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.2"
target=_blank>192.168.1.2</A><BR>baudrate = 115200
bps<BR>tclk = 0
MHz <BR>uboot_ver = 0.4.1a<BR>L3 was init = 0<BR>Total memory
= 768MB; using 2048kB for hash table (at c0400000) <BR>Linux version
2.6.12 (root@RHEL40) (gcc version 3.3.3 (DENX ELDK 3.1.1<BR>3.3.3-10))
#154 Mon Feb 13 17:36:35 MST 2006<BR>System Identification:<BR>Freescale
74XX port<BR>Built 1 zonelists<BR>Kernel command line:
console=ttyS0,115200 root=/dev/nfs rw
<BR>nfsroot=192.168.1.1:/target/chestnut/rootfs<BR>ip=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.2:192" target=_blank>192.168.1.2:192</A>.168.1.1:<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1:255" target=_blank>
192.168.1.1:255</A>.255.255.0:DB64xxx:eth0:non<BR>e<BR>PID hash table
entries: 4096 (order: 12, 65536 bytes) <BR>time_init: decrementer
frequency = 30.000000 MHz<BR>Console: colour dummy device 80x25<BR>Dentry
cache hash table entries: 131072 (order: 7, 524288 bytes)<BR>Inode-cache
hash table entries: 65536 (order: 6, 262144 bytes) <BR>Memory: 774400k
available (1596k kernel code, 556k data, 344k init,
0k<BR>highmem)<BR>Mount-cache hash table entries: 512<BR><BR>NET:
Registered protocol family 16<BR>PCI: Probing PCI hardware<BR>JFFS2
version 2.2. (C) 2001-2003 Red Hat, Inc. <BR>Generic RTC Driver
v1.07<BR>Serial: SC28L194 driver 4 ports<BR>ttyS0 at MMIO 0x0 (irq = 17)
is a PHILIPS SC28L194<BR>ttyS1 at MMIO 0x0 (irq = 17) is a PHILIPS
SC28L194<BR>ttyS2 at MMIO 0x0 (irq = 17) is a PHILIPS SC28L194 <BR>ttyS3
at MMIO 0x0 (irq = 17) is a PHILIPS SC28L194<BR>io scheduler noop
registered<BR>io scheduler anticipatory registered<BR>io scheduler
deadline registered<BR>io scheduler cfq registered<BR>RAMDISK driver
initialized: 16 RAM disks of 4096K size 1024 blocksize <BR>loop: loaded
(max 8 devices)<BR>MV-643xx 10/100/1000 Ethernet Driver<BR>eth0: port 1
with MAC address 00:11:85:da:0b:02<BR>eth0: RX NAPI Enabled<BR>physmap
flash device: 400000 at ffc00000<BR>mice: PS/2 mouse device common for all
mice <BR>NET: Registered protocol family 2<BR>IP: routing cache hash table
of 8192 buckets, 64Kbytes<BR>TCP established hash table entries: 131072
(order: 8, 1048576 bytes)<BR>TCP bind hash table entries: 65536 (order: 6,
262144 bytes) <BR>TCP: Hash tables configured (established 131072 bind
65536)<BR>NET: Registered protocol family 1<BR>NET: Registered protocol
family 17<BR>IP-Config:
Complete:<BR> device=eth0, addr=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.2" target=_blank> 192.168.1.2 </A>, mask=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://255.255.255.0" target=_blank>255.255.255.0</A>, gw=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>
192.168.1.1</A>,<BR> host=DB64xxx, domain=,
nis-domain=(none),<BR> bootserver=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>192.168.1.1</A> , rootserver=<A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>192.168.1.1</A>,
rootpath=<BR>Looking up port of RPC 100003/2 on <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>192.168.1.1</A><BR>Looking up port
of RPC 100005/1 on <A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://192.168.1.1" target=_blank>192.168.1.1 </A><BR>VFS: Mounted
root (nfs filesystem).<BR>Freeing unused kernel memory: 344k
init<BR><BR><BR>Any help
appreceated.<BR>Thanks<BR>pankaj<BR><BR><BR>_______________________________________________<BR>Linuxppc-embedded
mailing list <BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Linuxppc-embedded@ozlabs.org"
target=_blank>Linuxppc-embedded@ozlabs.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded"
target=_blank>https://ozlabs.org/mailman/listinfo/linuxppc-embedded</A><BR>_______________________________________________
<BR>Linuxppc-embedded mailing list<BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Linuxppc-embedded@ozlabs.org"
target=_blank>Linuxppc-embedded@ozlabs.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="https://ozlabs.org/mailman/listinfo/linuxppc-embedded"
target=_blank>https://ozlabs.org/mailman/listinfo/linuxppc-embedded
</A><BR></BLOCKQUOTE></DIV><BR></SPAN></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>