* [Qemu-devel] why "-hda myimgfile" can not work ?? @ 2007-05-04 5:42 tang peilei 2007-05-04 6:30 ` Christian MICHON 0 siblings, 1 reply; 11+ messages in thread From: tang peilei @ 2007-05-04 5:42 UTC (permalink / raw) To: qemu-devel I first create a img file using command "qemu-img create myimgfile 10M" then I use this img file in my qemu . ("qemu -kernel ... -initrd ... -hda myimgfile"). but when i am in linux shell , I can not find any hda info even in "dmesg", and I can not fdisk or mount hda. who knows what is the problem ??? _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 5:42 [Qemu-devel] why "-hda myimgfile" can not work ?? tang peilei @ 2007-05-04 6:30 ` Christian MICHON 2007-05-04 7:07 ` tang peilei 0 siblings, 1 reply; 11+ messages in thread From: Christian MICHON @ 2007-05-04 6:30 UTC (permalink / raw) To: qemu-devel On 5/4/07, tang peilei <wstangpl@hotmail.com> wrote: > I first create a img file using command "qemu-img create myimgfile 10M" > then I use this img file in my qemu . ("qemu -kernel ... -initrd ... -hda > myimgfile"). > but when i am in linux shell , I can not find any hda info even in "dmesg", > and I can not fdisk or mount hda. > who knows what is the problem ??? > the problem might be in your guest linux kernel (no ATAPI/IDE modules or built-in). Could you send your kernel .config, and inform us on the revision of qemu you're using and the guest's arch you're using (x86, x86-64, arm...) ? That'd be a start... -- Christian ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 6:30 ` Christian MICHON @ 2007-05-04 7:07 ` tang peilei 2007-05-04 10:20 ` Christian MICHON 2007-05-04 13:13 ` Paul Brook 0 siblings, 2 replies; 11+ messages in thread From: tang peilei @ 2007-05-04 7:07 UTC (permalink / raw) To: qemu-devel thank you for your help. >From: "Christian MICHON" <christian.michon@gmail.com> >Reply-To: qemu-devel@nongnu.org >To: qemu-devel@nongnu.org >Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? >Date: Fri, 4 May 2007 08:30:54 +0200 > >On 5/4/07, tang peilei <wstangpl@hotmail.com> wrote: >>I first create a img file using command "qemu-img create myimgfile >>10M" >>then I use this img file in my qemu . ("qemu -kernel ... -initrd >>... -hda >>myimgfile"). >>but when i am in linux shell , I can not find any hda info even in >>"dmesg", >>and I can not fdisk or mount hda. >>who knows what is the problem ??? >> > >the problem might be in your guest linux kernel (no ATAPI/IDE >modules >or built-in). > >Could you send your kernel .config, and inform us on the revision of >qemu you're using and the guest's arch you're using (x86, x86-64, >arm...) ? That'd be a start... > the target arch is arm. and I was just use the download qemu arm-test kernel and initrd file to run. It has a config.gz in /proc, but I can not copy it out, becase the net can not work in my qemu, and the hda can not use .Is there any other way to copy data from qemu system to my phy system ? >-- >Christian > > _________________________________________________________________ 享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 7:07 ` tang peilei @ 2007-05-04 10:20 ` Christian MICHON 2007-05-04 13:13 ` Paul Brook 1 sibling, 0 replies; 11+ messages in thread From: Christian MICHON @ 2007-05-04 10:20 UTC (permalink / raw) To: qemu-devel On 5/4/07, tang peilei <wstangpl@hotmail.com> wrote: > the target arch is arm. and I was just use the download qemu arm-test > kernel and initrd file to run. It has a config.gz in /proc, but I can not > copy it out, becase the net can not work in my qemu, and the hda can not > use .Is there any other way to copy data from qemu system to my phy system > ? are you using http://fabrice.bellard.free.fr/qemu/arm-test-0.2.tar.gz ? what is the exact cmd line you use ? -- Christian ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 7:07 ` tang peilei 2007-05-04 10:20 ` Christian MICHON @ 2007-05-04 13:13 ` Paul Brook 2007-05-04 13:28 ` tang peilei 1 sibling, 1 reply; 11+ messages in thread From: Paul Brook @ 2007-05-04 13:13 UTC (permalink / raw) To: qemu-devel; +Cc: tang peilei > the target arch is arm. and I was just use the download qemu arm-test > kernel and initrd file to run. It has a config.gz in /proc, but I can not > copy it out, becase the net can not work in my qemu, and the hda can not > use .Is there any other way to copy data from qemu system to my phy system The ARM boards do not support IDE. Some of them have a SCSI controller instead, as described in the documentation. Paul ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 13:13 ` Paul Brook @ 2007-05-04 13:28 ` tang peilei 2007-05-04 14:01 ` Sunil Amitkumar Janki 0 siblings, 1 reply; 11+ messages in thread From: tang peilei @ 2007-05-04 13:28 UTC (permalink / raw) To: qemu-devel thank you very much. >From: Paul Brook <paul@codesourcery.com> >Reply-To: qemu-devel@nongnu.org >To: qemu-devel@nongnu.org >CC: tang peilei <wstangpl@hotmail.com> >Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? >Date: Fri, 4 May 2007 14:13:57 +0100 > > > the target arch is arm. and I was just use the download qemu arm-test > > kernel and initrd file to run. It has a config.gz in /proc, but I can not > > copy it out, becase the net can not work in my qemu, and the hda can not > > use .Is there any other way to copy data from qemu system to my phy system > >The ARM boards do not support IDE. Some of them have a SCSI controller >instead, as described in the documentation. > As the ARM boards do not support IDE, and my net can not work. How can I copy files from QEMU system to my phy system ??? _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 13:28 ` tang peilei @ 2007-05-04 14:01 ` Sunil Amitkumar Janki 2007-05-04 14:29 ` tang peilei 0 siblings, 1 reply; 11+ messages in thread From: Sunil Amitkumar Janki @ 2007-05-04 14:01 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 935 bytes --] tang peilei wrote: >> The ARM boards do not support IDE. Some of them have a SCSI controller >> instead, as described in the documentation. > As the ARM boards do not support IDE, and my net can not work. How can > I copy files from QEMU system to my phy system ??? I don't really understand what your question is about. Are you running Linux on a physical ARM system or a virtual QEMU ARM platform? I run Armedslack and Debian in QEMU ARM emulation with a virtual SCSI hard drive and user mode networking and both work fine. You can use any network file system you want. I am using FUSE and SSHFS and it functions well. You can also use Samba, NFS or something else. I have attached my scripts for Armedslack (http://www.armedslack.org) and there are directions for Debian at http://www.aurel32.net. If it works for me it should also work for you. QEMU CVS as of 20070420 didn't work for me though, but 0.9.0 release does. Sunil [-- Attachment #2: qemu-system.sh --] [-- Type: text/plain, Size: 244 bytes --] #!/bin/sh # # Armedslack # # Running # # qemu-system-arm-orig \ qemu-system-arm \ -M versatilepb \ -m 256 \ -kernel vmlinuz-versatile-2.6.20 \ -append "ro root=/dev/sda2" \ -hda ata01.dsk \ -redir tcp:10023::10022 \ -k en-us & [-- Attachment #3: qemu-system-install.sh --] [-- Type: text/plain, Size: 300 bytes --] #!/bin/sh # # Armedslack # # Installation # qemu-system-arm \ -M versatilepb \ -m 256 \ -kernel vmlinuz-versatile-2.6.20 \ -initrd color.gz \ -append "rw root=/dev/ram0 ramdisk_size=9900" \ -hda ata01.dsk \ -cdrom armedslack-current-dvd.iso \ -redir tcp:10023::10022 \ -k en-us & ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 14:01 ` Sunil Amitkumar Janki @ 2007-05-04 14:29 ` tang peilei 2007-05-04 15:10 ` Sunil Amitkumar Janki 0 siblings, 1 reply; 11+ messages in thread From: tang peilei @ 2007-05-04 14:29 UTC (permalink / raw) To: qemu-devel >From: Sunil Amitkumar Janki <psychicistnonconformist@gmail.com> >Reply-To: qemu-devel@nongnu.org >To: qemu-devel@nongnu.org >Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? >Date: Fri, 04 May 2007 16:01:40 +0200 > >tang peilei wrote: > >> The ARM boards do not support IDE. Some of them have a SCSI controller > >> instead, as described in the documentation. > > As the ARM boards do not support IDE, and my net can not work. How can > > I copy files from QEMU system to my phy system ??? >I don't really understand what your question is about. >Are you running Linux on a physical ARM system or a >virtual QEMU ARM platform? My phy system is my PC, a computer with ubuntu. and qemu-system-arm is running in this PC . > >I run Armedslack and Debian in QEMU ARM emulation >with a virtual SCSI hard drive and user mode networking >and both work fine. > >You can use any network file system you want. I am using >FUSE and SSHFS and it functions well. You can also use >Samba, NFS or something else. > >I have attached my scripts for Armedslack (http://www.armedslack.org) >and there are directions for Debian at http://www.aurel32.net. > >If it works for me it should also work for you. QEMU CVS as of >20070420 didn't work for me though, but 0.9.0 release does. > >Sunil I also use command like you, but I can not find any hard disk info in qemu's system.(in dmesg's output). Are you create your disk img with command qemu-img ??? >#!/bin/sh ># ># Armedslack > ># ># Running ># > ># qemu-system-arm-orig \ >qemu-system-arm \ > -M versatilepb \ > -m 256 \ > -kernel vmlinuz-versatile-2.6.20 \ > -append "ro root=/dev/sda2" \ > -hda ata01.dsk \ > -redir tcp:10023::10022 \ > -k en-us & > >#!/bin/sh ># ># Armedslack ># ># Installation ># > >qemu-system-arm \ > -M versatilepb \ > -m 256 \ > -kernel vmlinuz-versatile-2.6.20 \ > -initrd color.gz \ > -append "rw root=/dev/ram0 ramdisk_size=9900" \ > -hda ata01.dsk \ > -cdrom armedslack-current-dvd.iso \ > -redir tcp:10023::10022 \ > -k en-us & > _________________________________________________________________ 免费下载 MSN Explorer: http://explorer.msn.com/lccn/ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 14:29 ` tang peilei @ 2007-05-04 15:10 ` Sunil Amitkumar Janki 2007-05-05 4:01 ` tang peilei 0 siblings, 1 reply; 11+ messages in thread From: Sunil Amitkumar Janki @ 2007-05-04 15:10 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 421 bytes --] tang peilei wrote: > My phy system is my PC, a computer with ubuntu. > and qemu-system-arm is running in this PC . > > I also use command like you, but I can not find any hard disk info in > qemu's system.(in dmesg's output). > Are you create your disk img with command qemu-img ??? I create my image using "qemu-img create -f qcow ata00.dsk 10G". You could substitute scsi00.dsk for a scsi hard drive though. Sunil [-- Attachment #2: dmesg --] [-- Type: text/plain, Size: 5899 bytes --] Linux version 2.6.20-versatile (root@zippo) (gcc version 4.1.1) #1 Tue Feb 13 01:01:22 GMT 2007 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00003137 Machine: ARM-Versatile PB Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 65536 DMA zone: 512 pages used for memmap DMA zone: 0 pages reserved DMA zone: 65024 pages, LIFO batch:15 Normal zone: 0 pages used for memmap CPU0: D VIVT write-through cache CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets Built 1 zonelists. Total pages: 65024 Kernel command line: ro root=/dev/sda2 PID hash table entries: 1024 (order: 10, 4096 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) Memory: 256MB = 256MB total Memory: 254208KB available (5092K code, 406K data, 104K init) Calibrating delay loop... 153.19 BogoMIPS (lpj=765952) Security Framework v1.0.0 initialized Capability LSM initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 PCI core found (slot 11) PCI: bus0: Fast back to back transfers disabled PCI map irq: slot 0, pin 1, devslot 12, irq: 27 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 2048 (order: 1, 8192 bytes) TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 8192 bind 4096) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) Installing knfsd (copyright (C) 1996 okir@monad.swb.de). EFS: 1.0a - http://aeschi.ch.eu.org/efs/ QNX4 filesystem 0.2.3 registered. JFS: nTxBlock = 1986, nTxLock = 15890 SGI XFS with ACLs, security attributes, no debug enabled SGI XFS Quota Management subsystem BeFS version: 0.9.3 OCFS2 1.3.3 OCFS2 Node Manager 1.3.3 OCFS2 DLM 1.3.3 OCFS2 DLMFS 1.3.3 OCFS2 User DLM kernel interface loaded io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered CLCD: unknown LCD panel ID 0x00001000, using VGA CLCD: Versatile hardware, VGA display Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 Console: switching to colour frame buffer device 80x30 Serial: AMBA PL011 UART driver dev:f1: ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011 dev:f2: ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011 dev:f3: ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011 fpga:09: ttyAMA3 at MMIO 0x10009000 (irq = 38) is a AMBA/PL011 RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize loop: loaded (max 8 devices) smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org> eth0: SMC91C11xFD (rev 1) at d0946000 IRQ 25 [nowait] eth0: Ethernet addr: 52:54:00:12:34:56 eth0: No PHY found PCI: enabling device 0000:00:0c.0 (0140 -> 0143) sym0: <895a> rev 0x0 at pci 0000:00:0c.0 irq 27 sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking sym0: SCSI BUS has been reset. scsi0 : sym-2.2.3 scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 0.9. PQ: 0 ANSI: 3 target0:0:0: tagged command queuing enabled, command queue depth 16. target0:0:0: Beginning Domain Validation target0:0:0: Domain Validation skipping write tests target0:0:0: Ending Domain Validation scsi 0:0:2:0: CD-ROM QEMU QEMU CD-ROM 0.9. PQ: 0 ANSI: 3 target0:0:2: tagged command queuing enabled, command queue depth 16. target0:0:2: Beginning Domain Validation target0:0:2: Domain Validation skipping write tests target0:0:2: Ending Domain Validation SCSI device sda: 20971520 512-byte hdwr sectors (10737 MB) sda: Write Protect is off sda: Mode Sense: 13 00 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA SCSI device sda: 20971520 512-byte hdwr sectors (10737 MB) sda: Write Protect is off sda: Mode Sense: 13 00 00 00 SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 sd 0:0:0:0: Attached scsi disk sda sr0: scsi3-mmc drive: 16x/50x cd/rw xa/form2 cdda tray Uniform CD-ROM driver Revision: 3.20 sr 0:0:2:0: Attached scsi CD-ROM sr0 sd 0:0:0:0: Attached scsi generic sg0 type 0 sr 0:0:2:0: Attached scsi generic sg1 type 5 SCSI Media Changer driver v0.25 usbmon: debugfs is not available mice: PS/2 mouse device common for all mice input: AT Raw Set 2 keyboard as /class/input/input0 Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC). ALSA device list: No soundcards found. TCP bic registered NET: Registered protocol family 1 NET: Registered protocol family 17 drivers/rtc/hctosys.c: unable to open rtc device (rtc0) kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. VFS: Mounted root (ext3 filesystem) readonly. Freeing init memory: 104K Adding 1044472k swap on /dev/sda4. Priority:-1 extents:1 across:1044472k EXT3 FS on sda2, internal journal input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 eth0: link up NET: Registered protocol family 10 lo: Disabled Privacy Extensions eth0: no IPv6 routers present kjournald starting. Commit interval 5 seconds EXT3-fs warning: checktime reached, running e2fsck is recommended EXT3 FS on sda3, internal journal EXT3-fs: mounted filesystem with ordered data mode. fuse init (API version 7.8) Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 eth0: link up eth0: no IPv6 routers present [-- Attachment #3: fdisk --] [-- Type: text/plain, Size: 452 bytes --] Disk /dev/sda: 10.7 GB, 10737418240 bytes 64 heads, 32 sectors/track, 10240 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Device Boot Start End Blocks Id System /dev/sda1 1 1025 1049584 83 Linux /dev/sda2 1026 7171 6293504 83 Linux /dev/sda3 7172 9220 2098176 83 Linux /dev/sda4 9221 10240 1044480 82 Linux swap ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [Qemu-devel] why "-hda myimgfile" can not work ?? 2007-05-04 15:10 ` Sunil Amitkumar Janki @ 2007-05-05 4:01 ` tang peilei 2007-05-05 4:52 ` [Qemu-devel] Detecting a kernel stack change Nuri Eady 0 siblings, 1 reply; 11+ messages in thread From: tang peilei @ 2007-05-05 4:01 UTC (permalink / raw) To: qemu-devel yes, when I rebuild my kernel with scsi support ,the hard disk sda could be found, thank you very much . >From: Sunil Amitkumar Janki <psychicistnonconformist@gmail.com> >Reply-To: qemu-devel@nongnu.org >To: qemu-devel@nongnu.org >Subject: Re: [Qemu-devel] why "-hda myimgfile" can not work ?? >Date: Fri, 04 May 2007 17:10:33 +0200 > >tang peilei wrote: > > My phy system is my PC, a computer with ubuntu. > > and qemu-system-arm is running in this PC . > > > > I also use command like you, but I can not find any hard disk info in > > qemu's system.(in dmesg's output). > > Are you create your disk img with command qemu-img ??? > > >I create my image using "qemu-img create -f qcow ata00.dsk 10G". >You could substitute scsi00.dsk for a scsi hard drive though. > >Sunil > > >Linux version 2.6.20-versatile (root@zippo) (gcc version 4.1.1) #1 Tue Feb 13 01:01:22 GMT 2007 >CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00003137 >Machine: ARM-Versatile PB >Memory policy: ECC disabled, Data cache writeback >On node 0 totalpages: 65536 > DMA zone: 512 pages used for memmap > DMA zone: 0 pages reserved > DMA zone: 65024 pages, LIFO batch:15 > Normal zone: 0 pages used for memmap >CPU0: D VIVT write-through cache >CPU0: I cache: 4096 bytes, associativity 4, 32 byte lines, 32 sets >CPU0: D cache: 65536 bytes, associativity 4, 32 byte lines, 512 sets >Built 1 zonelists. Total pages: 65024 >Kernel command line: ro root=/dev/sda2 >PID hash table entries: 1024 (order: 10, 4096 bytes) >Console: colour dummy device 80x30 >Dentry cache hash table entries: 32768 (order: 5, 131072 bytes) >Inode-cache hash table entries: 16384 (order: 4, 65536 bytes) >Memory: 256MB = 256MB total >Memory: 254208KB available (5092K code, 406K data, 104K init) >Calibrating delay loop... 153.19 BogoMIPS (lpj=765952) >Security Framework v1.0.0 initialized >Capability LSM initialized >Mount-cache hash table entries: 512 >CPU: Testing write buffer coherency: ok >NET: Registered protocol family 16 >PCI core found (slot 11) >PCI: bus0: Fast back to back transfers disabled >PCI map irq: slot 0, pin 1, devslot 12, irq: 27 >SCSI subsystem initialized >usbcore: registered new interface driver usbfs >usbcore: registered new interface driver hub >usbcore: registered new device driver usb >NET: Registered protocol family 2 >IP route cache hash table entries: 2048 (order: 1, 8192 bytes) >TCP established hash table entries: 8192 (order: 3, 32768 bytes) >TCP bind hash table entries: 4096 (order: 2, 16384 bytes) >TCP: Hash tables configured (established 8192 bind 4096) >TCP reno registered >NetWinder Floating Point Emulator V0.97 (double precision) >VFS: Disk quotas dquot_6.5.1 >Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) >Installing knfsd (copyright (C) 1996 okir@monad.swb.de). >EFS: 1.0a - http://aeschi.ch.eu.org/efs/ >QNX4 filesystem 0.2.3 registered. >JFS: nTxBlock = 1986, nTxLock = 15890 >SGI XFS with ACLs, security attributes, no debug enabled >SGI XFS Quota Management subsystem >BeFS version: 0.9.3 >OCFS2 1.3.3 >OCFS2 Node Manager 1.3.3 >OCFS2 DLM 1.3.3 >OCFS2 DLMFS 1.3.3 >OCFS2 User DLM kernel interface loaded >io scheduler noop registered >io scheduler anticipatory registered (default) >io scheduler deadline registered >io scheduler cfq registered >CLCD: unknown LCD panel ID 0x00001000, using VGA >CLCD: Versatile hardware, VGA display >Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 >Console: switching to colour frame buffer device 80x30 >Serial: AMBA PL011 UART driver >dev:f1: ttyAMA0 at MMIO 0x101f1000 (irq = 12) is a AMBA/PL011 >dev:f2: ttyAMA1 at MMIO 0x101f2000 (irq = 13) is a AMBA/PL011 >dev:f3: ttyAMA2 at MMIO 0x101f3000 (irq = 14) is a AMBA/PL011 >fpga:09: ttyAMA3 at MMIO 0x10009000 (irq = 38) is a AMBA/PL011 >RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize >loop: loaded (max 8 devices) >smc91x.c: v1.1, sep 22 2004 by Nicolas Pitre <nico@cam.org> >eth0: SMC91C11xFD (rev 1) at d0946000 IRQ 25 [nowait] >eth0: Ethernet addr: 52:54:00:12:34:56 >eth0: No PHY found >PCI: enabling device 0000:00:0c.0 (0140 -> 0143) >sym0: <895a> rev 0x0 at pci 0000:00:0c.0 irq 27 >sym0: No NVRAM, ID 7, Fast-40, LVD, parity checking >sym0: SCSI BUS has been reset. >scsi0 : sym-2.2.3 >scsi 0:0:0:0: Direct-Access QEMU QEMU HARDDISK 0.9. PQ: 0 ANSI: 3 > target0:0:0: tagged command queuing enabled, command queue depth 16. > target0:0:0: Beginning Domain Validation > target0:0:0: Domain Validation skipping write tests > target0:0:0: Ending Domain Validation >scsi 0:0:2:0: CD-ROM QEMU QEMU CD-ROM 0.9. PQ: 0 ANSI: 3 > target0:0:2: tagged command queuing enabled, command queue depth 16. > target0:0:2: Beginning Domain Validation > target0:0:2: Domain Validation skipping write tests > target0:0:2: Ending Domain Validation >SCSI device sda: 20971520 512-byte hdwr sectors (10737 MB) >sda: Write Protect is off >sda: Mode Sense: 13 00 00 00 >SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA >SCSI device sda: 20971520 512-byte hdwr sectors (10737 MB) >sda: Write Protect is off >sda: Mode Sense: 13 00 00 00 >SCSI device sda: write cache: enabled, read cache: enabled, doesn't support DPO or FUA > sda: sda1 sda2 sda3 sda4 >sd 0:0:0:0: Attached scsi disk sda >sr0: scsi3-mmc drive: 16x/50x cd/rw xa/form2 cdda tray >Uniform CD-ROM driver Revision: 3.20 >sr 0:0:2:0: Attached scsi CD-ROM sr0 >sd 0:0:0:0: Attached scsi generic sg0 type 0 >sr 0:0:2:0: Attached scsi generic sg1 type 5 >SCSI Media Changer driver v0.25 >usbmon: debugfs is not available >mice: PS/2 mouse device common for all mice >input: AT Raw Set 2 keyboard as /class/input/input0 >Advanced Linux Sound Architecture Driver Version 1.0.14rc1 (Tue Jan 09 09:56:17 2007 UTC). >ALSA device list: > No soundcards found. >TCP bic registered >NET: Registered protocol family 1 >NET: Registered protocol family 17 >drivers/rtc/hctosys.c: unable to open rtc device (rtc0) >kjournald starting. Commit interval 5 seconds >EXT3-fs: mounted filesystem with ordered data mode. >VFS: Mounted root (ext3 filesystem) readonly. >Freeing init memory: 104K >Adding 1044472k swap on /dev/sda4. Priority:-1 extents:1 across:1044472k >EXT3 FS on sda2, internal journal >input: ImExPS/2 Generic Explorer Mouse as /class/input/input1 >eth0: link up >NET: Registered protocol family 10 >lo: Disabled Privacy Extensions >eth0: no IPv6 routers present >kjournald starting. Commit interval 5 seconds >EXT3-fs warning: checktime reached, running e2fsck is recommended >EXT3 FS on sda3, internal journal >EXT3-fs: mounted filesystem with ordered data mode. >fuse init (API version 7.8) >Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 >Clock CLCDCLK: setting VCO reg params: S=1 R=99 V=98 >eth0: link up >eth0: no IPv6 routers present > >Disk /dev/sda: 10.7 GB, 10737418240 bytes >64 heads, 32 sectors/track, 10240 cylinders >Units = cylinders of 2048 * 512 = 1048576 bytes > > Device Boot Start End Blocks Id System >/dev/sda1 1 1025 1049584 83 Linux >/dev/sda2 1026 7171 6293504 83 Linux >/dev/sda3 7172 9220 2098176 83 Linux >/dev/sda4 9221 10240 1044480 82 Linux swap _________________________________________________________________ 与联机的朋友进行交流,请使用 MSN Messenger: http://messenger.msn.com/cn ^ permalink raw reply [flat|nested] 11+ messages in thread
* [Qemu-devel] Detecting a kernel stack change 2007-05-05 4:01 ` tang peilei @ 2007-05-05 4:52 ` Nuri Eady 0 siblings, 0 replies; 11+ messages in thread From: Nuri Eady @ 2007-05-05 4:52 UTC (permalink / raw) To: qemu-devel I'd like to detect when the kernel stack changes and it seems to me that might be possible by looking at when the tss structure is accessed and the esp element is changed. Linux uses a command something like the following to update the esp in the tss during a task switch... init_tss[smp_processor_id( )].esp0 = next->thread.esp0; Is it possible to detect when this happens in qemu? Maybe in the protected_interrupt helper function? Thanks, Nuri ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-05-05 4:56 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2007-05-04 5:42 [Qemu-devel] why "-hda myimgfile" can not work ?? tang peilei 2007-05-04 6:30 ` Christian MICHON 2007-05-04 7:07 ` tang peilei 2007-05-04 10:20 ` Christian MICHON 2007-05-04 13:13 ` Paul Brook 2007-05-04 13:28 ` tang peilei 2007-05-04 14:01 ` Sunil Amitkumar Janki 2007-05-04 14:29 ` tang peilei 2007-05-04 15:10 ` Sunil Amitkumar Janki 2007-05-05 4:01 ` tang peilei 2007-05-05 4:52 ` [Qemu-devel] Detecting a kernel stack change Nuri Eady
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).