public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* parse_tag_ramdisk
@ 2007-08-30 14:07 Xu Yang
  2007-08-30 16:06 ` parse_tag_ramdisk Uli Luckas
  0 siblings, 1 reply; 5+ messages in thread
From: Xu Yang @ 2007-08-30 14:07 UTC (permalink / raw)
  To: linux-kernel

Hi guys,


I found that in the function parse_tag_ramdisk , the setup_ramdisk is
called. is it true that in the setup_ramdisk the location ot the
initrd is specified?

it seems that in my case the parse_tag_ramdisk is never accessed. what
might cause this?

in the parse_tag_ramdisk  the tag should be specified, where to
specify the "tag" and how?

thanks your answer is appreciated.

regards,

yang

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

* Re: parse_tag_ramdisk
  2007-08-30 14:07 parse_tag_ramdisk Xu Yang
@ 2007-08-30 16:06 ` Uli Luckas
  2007-08-30 16:10   ` parse_tag_ramdisk Xu Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Uli Luckas @ 2007-08-30 16:06 UTC (permalink / raw)
  To: LKML; +Cc: Xu Yang

On Thursday, 30. August 2007, Xu Yang wrote:
> Hi guys,
>
>
> I found that in the function parse_tag_ramdisk , the setup_ramdisk is
> called. is it true that in the setup_ramdisk the location ot the
> initrd is specified?
>
> it seems that in my case the parse_tag_ramdisk is never accessed. what
> might cause this?
>
Hi Xu, 
I didn't get down to completely debugging this problem. But for no obvious 
reason, parsing seems to ends after it hits a command line tag. 
Try putting the command line tag last in the tag list and see if that helps.

Regards
Uli

-- 

------- ROAD ...the handyPC Company - - -  ) ) )

Uli Luckas
Software Development

ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de

Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit

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

* Re: parse_tag_ramdisk
  2007-08-30 16:06 ` parse_tag_ramdisk Uli Luckas
@ 2007-08-30 16:10   ` Xu Yang
  2007-08-30 16:46     ` parse_tag_ramdisk Uli Luckas
  0 siblings, 1 reply; 5+ messages in thread
From: Xu Yang @ 2007-08-30 16:10 UTC (permalink / raw)
  To: Uli Luckas; +Cc: LKML

Hi Uli,


thanks for your reply.

just have a question, where is the tag list, how can i modify this?

regards,
yang

2007/8/30, Uli Luckas <u.luckas@road.de>:
> On Thursday, 30. August 2007, Xu Yang wrote:
> > Hi guys,
> >
> >
> > I found that in the function parse_tag_ramdisk , the setup_ramdisk is
> > called. is it true that in the setup_ramdisk the location ot the
> > initrd is specified?
> >
> > it seems that in my case the parse_tag_ramdisk is never accessed. what
> > might cause this?
> >
> Hi Xu,
> I didn't get down to completely debugging this problem. But for no obvious
> reason, parsing seems to ends after it hits a command line tag.
> Try putting the command line tag last in the tag list and see if that helps.
>
> Regards
> Uli
>
> --
>
> ------- ROAD ...the handyPC Company - - -  ) ) )
>
> Uli Luckas
> Software Development
>
> ROAD GmbH
> Bennigsenstr. 14 | 12159 Berlin | Germany
> fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
> url: www.road.de
>
> Amtsgericht Charlottenburg: HRB 96688 B
> Managing directors: Hans-Peter Constien, Hubertus von Streit
>

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

* Re: parse_tag_ramdisk
  2007-08-30 16:10   ` parse_tag_ramdisk Xu Yang
@ 2007-08-30 16:46     ` Uli Luckas
  2007-08-31 16:08       ` parse_tag_ramdisk Xu Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Uli Luckas @ 2007-08-30 16:46 UTC (permalink / raw)
  To: Xu Yang; +Cc: LKML

On Thursday, 30. August 2007, Xu Yang wrote:
> Hi Uli,
>
>
> thanks for your reply.
>
> just have a question, where is the tag list, how can i modify this?
>
If you don't know where the list is created, how do you now that it contains a 
ramdisk tag? There is a chance, that the kernel does not even get a ram disk 
tag at all. This would also explain, why it is not parsed ;-)

The tag list is supplied by your bootloader. How the bootloader creates the 
list and how to change the order depends on your bootloader. You probably 
have to read (and patch) it's source code.

regards,
Uli

-- 

------- ROAD ...the handyPC Company - - -  ) ) )

Uli Luckas
Software Development

ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de

Amtsgericht Charlottenburg: HRB 96688 B
Managing directors: Hans-Peter Constien, Hubertus von Streit

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

* Re: parse_tag_ramdisk
  2007-08-30 16:46     ` parse_tag_ramdisk Uli Luckas
@ 2007-08-31 16:08       ` Xu Yang
  0 siblings, 0 replies; 5+ messages in thread
From: Xu Yang @ 2007-08-31 16:08 UTC (permalink / raw)
  To: Uli Luckas; +Cc: LKML

Hi Uli,

thanks ,

I just found in the bootloader I used "go" to access the kernel, maybe
the problem is caused by this, I will check it further.
by the way, do you know how to setup the address of the ramdisk in the
bootloader? I used bootm kernel_address ramdisk_address.

is this enough?

regards,

Yang


2007/8/30, Uli Luckas <u.luckas@road.de>:
> On Thursday, 30. August 2007, Xu Yang wrote:
> > Hi Uli,
> >
> >
> > thanks for your reply.
> >
> > just have a question, where is the tag list, how can i modify this?
> >
> If you don't know where the list is created, how do you now that it contains a
> ramdisk tag? There is a chance, that the kernel does not even get a ram disk
> tag at all. This would also explain, why it is not parsed ;-)
>
> The tag list is supplied by your bootloader. How the bootloader creates the
> list and how to change the order depends on your bootloader. You probably
> have to read (and patch) it's source code.
>
> regards,
> Uli
>
> --
>
> ------- ROAD ...the handyPC Company - - -  ) ) )
>
> Uli Luckas
> Software Development
>
> ROAD GmbH
> Bennigsenstr. 14 | 12159 Berlin | Germany
> fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
> url: www.road.de
>
> Amtsgericht Charlottenburg: HRB 96688 B
> Managing directors: Hans-Peter Constien, Hubertus von Streit
>

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

end of thread, other threads:[~2007-08-31 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-30 14:07 parse_tag_ramdisk Xu Yang
2007-08-30 16:06 ` parse_tag_ramdisk Uli Luckas
2007-08-30 16:10   ` parse_tag_ramdisk Xu Yang
2007-08-30 16:46     ` parse_tag_ramdisk Uli Luckas
2007-08-31 16:08       ` parse_tag_ramdisk Xu Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox