* [uml-devel] SKAS mode patch compatibility w/RH8 2.8.18-19.8.0 (Kernel panic: restore_registers - saving registers failed, errno = 3)
@ 2004-05-27 18:11 Joe Marzot
2004-05-28 3:36 ` [uml-devel] No of ubd Raymond Wong
0 siblings, 1 reply; 12+ messages in thread
From: Joe Marzot @ 2004-05-27 18:11 UTC (permalink / raw)
To: blaisorblade, user-mode-linux-devel, Nuno Silva
I am running the above combination on the host w/host-skas3a-RH8.patch
(yes, feel bad for me as I can't change the host version - dictated by
IT). For the guest I am running 2.4.24 w/uml-patch-2.4.24-1. I run both
UP and SMP versions of the host.
I am getting
Kernel panic: restore_registers - saving registers failed, errno = 3
I am not sure if the ptrace patch has been applied to my host (how would
I tell) but I am getting symptoms similar to those described below in a
previous thread.
could it be that the SKAS patch is not happy with my host baseline?
I would like to try the 2.4.25 skas patch from
http://www.user-mode-linux.org/~blaisorblade/ but not sure if that would
help or hurt in my case...
Any words of wisdom appreciated.
regards, Giovanni
----------------------------------
List: user-mode-linux-devel
Subject: Re: [uml-devel] 2.4.20-4um Kernel panic: restore_registers -
saving registers failed, errno = -1
From: Matt Zimmerman <mdz () debian ! org>
Date: 2003-04-28 16:04:18
[Download message RAW]
On Mon, Apr 28, 2003 at 06:05:46PM +0200, Michael Koehne wrote:
> Kernel panic: restore_registers - saving registers failed, errno = -1
>
> the hosting system is Debian/Woody running 2.4.21-rc1+SKAS.
This is symptomatic of a host kernel which has the ptrace security patch +
skas (the former breaks the latter). This is the case for the patch which
is in the 2.4.20-6 Debian sources; I do not know whether 2.4.21-rc1 is
different.
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* [uml-devel] No of ubd
2004-05-27 18:11 [uml-devel] SKAS mode patch compatibility w/RH8 2.8.18-19.8.0 (Kernel panic: restore_registers - saving registers failed, errno = 3) Joe Marzot
@ 2004-05-28 3:36 ` Raymond Wong
2004-05-28 8:13 ` Henrik Nordstrom
0 siblings, 1 reply; 12+ messages in thread
From: Raymond Wong @ 2004-05-28 3:36 UTC (permalink / raw)
To: user-mode-linux-devel
How many ubd drives are available to use? 8? Or 256?
Ray
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.690 / Virus Database: 451 - Release Date: 22/5/2004
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-28 3:36 ` [uml-devel] No of ubd Raymond Wong
@ 2004-05-28 8:13 ` Henrik Nordstrom
2004-05-28 15:37 ` Leendert Meyer
0 siblings, 1 reply; 12+ messages in thread
From: Henrik Nordstrom @ 2004-05-28 8:13 UTC (permalink / raw)
To: Raymond Wong; +Cc: user-mode-linux-devel
On Fri, 28 May 2004, Raymond Wong wrote:
> How many ubd drives are available to use? 8? Or 256?
8, each with 16 partitions.
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-28 8:13 ` Henrik Nordstrom
@ 2004-05-28 15:37 ` Leendert Meyer
2004-05-28 18:33 ` Henrik Nordstrom
0 siblings, 1 reply; 12+ messages in thread
From: Leendert Meyer @ 2004-05-28 15:37 UTC (permalink / raw)
To: user-mode-linux-devel
On Friday 28 May 2004 10:13, Henrik Nordstrom wrote:
> On Fri, 28 May 2004, Raymond Wong wrote:
> > How many ubd drives are available to use? 8? Or 256?
>
> 8, each with 16 partitions.
To create an ubd partition, one does on the host e.g.
dd if=/dev/zero of=rootfs count=1 bs=1G
mkreiserfs -ff rootfs
But how to make an ubd drive?
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-28 15:37 ` Leendert Meyer
@ 2004-05-28 18:33 ` Henrik Nordstrom
2004-05-28 21:47 ` Leendert Meyer
0 siblings, 1 reply; 12+ messages in thread
From: Henrik Nordstrom @ 2004-05-28 18:33 UTC (permalink / raw)
To: Leendert Meyer; +Cc: user-mode-linux-devel
On Fri, 28 May 2004, Leendert Meyer wrote:
> To create an ubd partition, one does on the host e.g.
>
> dd if=/dev/zero of=rootfs count=1 bs=1G
> mkreiserfs -ff rootfs
>
> But how to make an ubd drive?
Partition it using fdisk/sfdisk/whatever..
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-28 18:33 ` Henrik Nordstrom
@ 2004-05-28 21:47 ` Leendert Meyer
2004-05-29 8:40 ` Henrik Nordstrom
0 siblings, 1 reply; 12+ messages in thread
From: Leendert Meyer @ 2004-05-28 21:47 UTC (permalink / raw)
To: user-mode-linux-devel
On Friday 28 May 2004 20:33, Henrik Nordstrom wrote:
> On Fri, 28 May 2004, Leendert Meyer wrote:
> > To create an ubd partition, one does on the host e.g.
> >
> > dd if=/dev/zero of=rootfs count=1 bs=1G
> > mkreiserfs -ff rootfs
> >
> > But how to make an ubd drive?
>
> Partition it using fdisk/sfdisk/whatever..
Ok, here's what I tried:
---8<---8<---8<---8<---8<---8<---
ws-02:/home/leen # dd if=/dev/zero of=rootfs count=1 bs=100M
1+0 records in
1+0 records out
ws-02:/home/leen # fdisk rootfs
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF
disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.
You must set cylinders.
You can do this from the extra functions menu.
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help):
---8<---8<---8<---8<---8<---8<---
I know how to use fdisk. But I need a bit of guidance here. Given *any*
partitionsize, what are the appropriate values? Is there a formula for that?
And *before* I can partition the disk, are there even more data to fill in?
TIA,
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-28 21:47 ` Leendert Meyer
@ 2004-05-29 8:40 ` Henrik Nordstrom
2004-05-29 12:08 ` Leendert Meyer
0 siblings, 1 reply; 12+ messages in thread
From: Henrik Nordstrom @ 2004-05-29 8:40 UTC (permalink / raw)
To: Leendert Meyer; +Cc: user-mode-linux-devel
On Fri, 28 May 2004, Leendert Meyer wrote:
> I know how to use fdisk. But I need a bit of guidance here. Given *any*
> partitionsize, what are the appropriate values? Is there a formula for that?
You just need to set some geometry on the disk.. Linux does not care
what.. The only important matter is that the geometry should add upp to
the size of your disk (in 512 byte sectors).
> And *before* I can partition the disk, are there even more data to fill in?
Nope.
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-29 8:40 ` Henrik Nordstrom
@ 2004-05-29 12:08 ` Leendert Meyer
2004-05-30 6:31 ` Leendert Meyer
2004-05-30 18:43 ` Henrik Nordstrom
0 siblings, 2 replies; 12+ messages in thread
From: Leendert Meyer @ 2004-05-29 12:08 UTC (permalink / raw)
To: user-mode-linux-devel
On Saturday 29 May 2004 10:40, Henrik Nordstrom wrote:
> On Fri, 28 May 2004, Leendert Meyer wrote:
> > I know how to use fdisk. But I need a bit of guidance here. Given *any*
> > partitionsize, what are the appropriate values? Is there a formula for
> > that?
>
> You just need to set some geometry on the disk.. Linux does not care
> what.. The only important matter is that the geometry should add upp to
> the size of your disk (in 512 byte sectors).
Found this in linux/Documentation/kernel-parameters.txt:
---8<---8<---8<---
hd= [EIDE] (E)IDE hard drive subsystem geometry
Format: <cyl>,<head>,<sect>
---8<---8<---8<---
And this in linux/Documentation/ide.txt:
---8<---8<---8<---
"hdx=cyl,head,sect" : disk drive is present, with specified geometry
---8<---8<---8<---
Nothing on ubd concerning geometry. Do I need the fake_ide or fakehd
parameters in combination with a hdx=C,H,S?
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-29 12:08 ` Leendert Meyer
@ 2004-05-30 6:31 ` Leendert Meyer
2004-05-30 18:43 ` Henrik Nordstrom
1 sibling, 0 replies; 12+ messages in thread
From: Leendert Meyer @ 2004-05-30 6:31 UTC (permalink / raw)
To: user-mode-linux-devel
On Saturday 29 May 2004 14:08, Leendert Meyer wrote:
> On Saturday 29 May 2004 10:40, Henrik Nordstrom wrote:
> > On Fri, 28 May 2004, Leendert Meyer wrote:
> > > I know how to use fdisk. But I need a bit of guidance here. Given *any*
> > > partitionsize, what are the appropriate values? Is there a formula for
> > > that?
> >
> > You just need to set some geometry on the disk.. Linux does not care
> > what.. The only important matter is that the geometry should add upp to
> > the size of your disk (in 512 byte sectors).
>
> Found this in linux/Documentation/kernel-parameters.txt:
> ---8<---8<---8<---
> hd= [EIDE] (E)IDE hard drive subsystem geometry
> Format: <cyl>,<head>,<sect>
> ---8<---8<---8<---
>
> And this in linux/Documentation/ide.txt:
> ---8<---8<---8<---
> "hdx=cyl,head,sect" : disk drive is present, with specified geometry
> ---8<---8<---8<---
>
> Nothing on ubd concerning geometry. Do I need the fake_ide or fakehd
> parameters in combination with a hdx=C,H,S?
I found out that:
a) Debians cfdisk calculates the number of cilinders automatically, when used
on an empty disk image file. My current {c,}fdisk (SuSE Linux 9.0) is not
that smart. UML calculates the same number of cylinders.
b) On the kernel command line, ubd#=<file>, where file can be a disk image, a
partition (e.g. /dev/hda7), or an entire disk (e.g. /dev/hdd). You can even
use COW files on partitions and disks.
c) In UML, ubd0 is mapped to ubda, ubd1 is mapped to ubdb, etc.
Thanks to Uwe Barteld for assistance! :)
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-29 12:08 ` Leendert Meyer
2004-05-30 6:31 ` Leendert Meyer
@ 2004-05-30 18:43 ` Henrik Nordstrom
2004-05-30 20:56 ` Leendert Meyer
1 sibling, 1 reply; 12+ messages in thread
From: Henrik Nordstrom @ 2004-05-30 18:43 UTC (permalink / raw)
To: Leendert Meyer; +Cc: user-mode-linux-devel
On Sat, 29 May 2004, Leendert Meyer wrote:
> Found this in linux/Documentation/kernel-parameters.txt:
> ---8<---8<---8<---
> hd= [EIDE] (E)IDE hard drive subsystem geometry
> Format: <cyl>,<head>,<sect>
> ---8<---8<---8<---
>
> And this in linux/Documentation/ide.txt:
> ---8<---8<---8<---
> "hdx=cyl,head,sect" : disk drive is present, with specified geometry
> ---8<---8<---8<---
>
> Nothing on ubd concerning geometry. Do I need the fake_ide or fakehd
> parameters in combination with a hdx=C,H,S?
As I said the Linux kernel does nor care about the geometry.
Geometry is only used by fdisk and friends and there you can specify the
geometry interactively. The only reason why there exists a geometry
concept in Linux is because of DOS/BIOS compatibility reasons and certain
I/O subsystems who can not address secotors (old IDE is an example and is
why you have all the horror of hard drive size limitations in old IDE
systems..)
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-30 18:43 ` Henrik Nordstrom
@ 2004-05-30 20:56 ` Leendert Meyer
2004-05-30 23:27 ` Henrik Nordstrom
0 siblings, 1 reply; 12+ messages in thread
From: Leendert Meyer @ 2004-05-30 20:56 UTC (permalink / raw)
To: user-mode-linux-devel
On Sunday 30 May 2004 20:43, Henrik Nordstrom wrote:
> As I said the Linux kernel does nor care about the geometry.
Ok, I'll accept that as a fact, but I got confused because fdisk & co do care:
> Geometry is only used by fdisk and friends and there you can specify the
> geometry interactively.
And that was exactly where I had to use it! :) My fdisk & co won't work
without knowing the number of cylinders. Fortunately Debian's cfdisk is able
to calculate the number of cylinders, and that brought me on the road again.
> The only reason why there exists a geometry
> concept in Linux is because of DOS/BIOS compatibility reasons and certain
> I/O subsystems who can not address secotors (old IDE is an example and is
> why you have all the horror of hard drive size limitations in old IDE
> systems..)
Do you mean CHS vs. LBA?
Cheers,
Leen
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [uml-devel] No of ubd
2004-05-30 20:56 ` Leendert Meyer
@ 2004-05-30 23:27 ` Henrik Nordstrom
0 siblings, 0 replies; 12+ messages in thread
From: Henrik Nordstrom @ 2004-05-30 23:27 UTC (permalink / raw)
To: Leendert Meyer; +Cc: user-mode-linux-devel
On Sun, 30 May 2004, Leendert Meyer wrote:
> And that was exactly where I had to use it! :) My fdisk & co won't work
> without knowing the number of cylinders.
In all versions I have seen you can set the geometry from the expert menu
in fdisk..
If you use sfdisk then there is command line options to specify the
geometry.
> Do you mean CHS vs. LBA?
Yes.
Regards
Henrik
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2004-05-30 23:27 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-27 18:11 [uml-devel] SKAS mode patch compatibility w/RH8 2.8.18-19.8.0 (Kernel panic: restore_registers - saving registers failed, errno = 3) Joe Marzot
2004-05-28 3:36 ` [uml-devel] No of ubd Raymond Wong
2004-05-28 8:13 ` Henrik Nordstrom
2004-05-28 15:37 ` Leendert Meyer
2004-05-28 18:33 ` Henrik Nordstrom
2004-05-28 21:47 ` Leendert Meyer
2004-05-29 8:40 ` Henrik Nordstrom
2004-05-29 12:08 ` Leendert Meyer
2004-05-30 6:31 ` Leendert Meyer
2004-05-30 18:43 ` Henrik Nordstrom
2004-05-30 20:56 ` Leendert Meyer
2004-05-30 23:27 ` Henrik Nordstrom
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox