* How to use ski to debug linux kernel ?
@ 2005-02-08 5:18 baswaraj kasture
2005-02-08 5:35 ` Ian Wienand
2005-02-08 7:59 ` Christian Hildner
0 siblings, 2 replies; 3+ messages in thread
From: baswaraj kasture @ 2005-02-08 5:18 UTC (permalink / raw)
To: linux-ia64
Does anybody knows how to use sky to debug linux
kernel ?
I used follwing command to debug kernel with ski,
#ski iccvmlinux
but it stops the simulation displaying the message
"Halting Simulation" .
Any ideas regarding this ?
Thanx,
-Baswaraj
--- Christian Hildner <christian.hildner@hob.de>
wrote:
> Baswaraj,
>
> if you don't really want to have an initrd, it is
> better to drop it. Put your scsi driver + mpt into
> the kernel and then boot without initrd. See my
> sample config for 2.4.25 kernel. If you have an HP
> ZX6000 you should be fine using it without
> modification. If not focus on setting the correct
> scsi driver.
>
> Christian
>
>
>
> baswaraj kasture schrieb:
>
> >Hi,
> >
> >I have compiled the kerne 2.4.21. Compilation went
> >well. but i got follwing message at boot time.
> >======================> >.
> >.
> >/lib/mptscsih.o : unresolved symbol
> >mpt_deregister_Rsmp_6fb5ab71
> >/lib/mptscsih.o : Unresolved symbol
> >mpt_event_register_Rsmp_34ace96b
> >
> >ERROR : /bin/insmod exited abnormally
> >Mounting /proc filesystem
> >Creating block devices
> >VFS : cannot open root device "LABEL=/ or 00:00
> >Please append corrrect "root=" boot option
> >Kernel panic : VFS : Unable to mount root fs on
> 00:00
> >
> >
> >=====================> >
> >
> >I have following lines in my elilo.conf ,
> >------------------------------
> >#original kernel
> >image=vmlinuz-2.4.21-9.EL
> >label=linux
> >initrd=initrd-2.4.21-9.EL.img
> >read-only
> >append="root=LABEL=/"
> >
> >#icc-O2
> >image=iccvmlinux
> >label=icc_O2
> >initrd=iccinitrd-preBasicc.img
> >read-only
> >append="root=LABEL=/"
> >---------------------------
> > First one works fine.
> >
> >Any clues why i am getting this error.
> >
> >Is it related to SCSI Driver ?
> >
> >Further "/sbin/mkinitrd -f -v " gave follwing
> >messge,
> >===================
> >.
> >.
> >.
> >Looking for deps of module scsi_mod
> >Looking for deps of module sd_mod
> >Looking for deps of module unknown
> >Looking for deps of module mptbase
> >Looking for deps of module mptscsih mptbase
> >Looking for deps of module mptbase
> >Looking for deps of module ide-disk
> >Looking for deps of module ext3
> >Using modules:
> >./kernel/drivers/message/fusion/mptbase.o
> >./kernel/drivers/message/fusion/mptscsih.o
> >Using loopback device /dev/loop0
> >/sbin/nash -> /tmp/initrd.EsIvQ9/bin/nash
> >/sbin/insmod.static ->
> /tmp/initrd.EsIvQ9/bin/insmod
>
>`/lib/modules/2.4.21preBasicc/./kernel/drivers/message/fusion/mptbase.o'
> >-> `/tmp/initrd.EsIvQ9/lib/mptbase.o'
>
>`/lib/modules/2.4.21preBasicc/./kernel/drivers/message/fusion/mptscsih.o'
> >-> `/tmp/initrd.EsIvQ9/lib/mptscsih.o'
> >Loading module mptbase
> >Loading module mptscsih
> >
> >===================> >
> >
> >
> >Any clues will be great help ?
> >
> >
> >Thanx,
> >Baswaraj
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Mail - 250MB free storage. Do more. Manage
> less.
> >http://info.mail.yahoo.com/mail_250
> >
> >
> >
>
> ATTACHMENT part 2 application/x-java-applet
version=1.1.1; name=config
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use ski to debug linux kernel ?
2005-02-08 5:18 How to use ski to debug linux kernel ? baswaraj kasture
@ 2005-02-08 5:35 ` Ian Wienand
2005-02-08 7:59 ` Christian Hildner
1 sibling, 0 replies; 3+ messages in thread
From: Ian Wienand @ 2005-02-08 5:35 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 198 bytes --]
On Mon, Feb 07, 2005 at 09:18:07PM -0800, baswaraj kasture wrote:
> Does anybody knows how to use sky to debug linux
> kernel ?
Start here
http://www.gelato.unsw.edu.au/IA64wiki/SkiSimulator
-i
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to use ski to debug linux kernel ?
2005-02-08 5:18 How to use ski to debug linux kernel ? baswaraj kasture
2005-02-08 5:35 ` Ian Wienand
@ 2005-02-08 7:59 ` Christian Hildner
1 sibling, 0 replies; 3+ messages in thread
From: Christian Hildner @ 2005-02-08 7:59 UTC (permalink / raw)
To: linux-ia64
baswaraj kasture schrieb:
>Does anybody knows how to use sky to debug linux
>kernel ?
>
You have to configure the kernel to be used in ski. It is not possible
to run a generic kernel under ski since ski only emulates the raw
processor and lacks firmware and peripherals. The kernel itself has
emulation for these missing things but you have to use CONFIG_IA64_HP_SIM.
Also there is a separate mailing list at
http://www.hpl.hp.com/research/linux/ski/mail.php
On the HP site you'll find also howto docs regarding ski.
Christian
>I used follwing command to debug kernel with ski,
>
>#ski iccvmlinux
>
>but it stops the simulation displaying the message
>"Halting Simulation" .
>Any ideas regarding this ?
>
>Thanx,
>-Baswaraj
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-02-08 7:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-08 5:18 How to use ski to debug linux kernel ? baswaraj kasture
2005-02-08 5:35 ` Ian Wienand
2005-02-08 7:59 ` Christian Hildner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox