SKAS mode patch compatibility w/RH8 2.8.18-19.8.0 (Kernel panic: restore_registers - saving registers failed, errno = 3)
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]
Quoted 3 lines · Michael Koehne
Kernel panic: restore_registers - saving registers failed, errno = -1the 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
[uml-devel] No of ubd
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 1 line · Raymond Wong
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 4 lines · Henrik Nordstrom
Quoted 1 line · Raymond Wong
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 6 lines · Leendert Meyer
To create an ubd partition, one does on the host e.g.
dd if=/dev/zero of=rootfs count=1 bs=1G
mkreiserfs -ff rootfsBut 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 9 lines · Henrik Nordstrom
Quoted 6 lines · Leendert Meyer
To create an ubd partition, one does on the host e.g.
dd if=/dev/zero of=rootfs count=1 bs=1G
mkreiserfs -ff rootfsBut 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 2 lines · Leendert Meyer
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).
Quoted 1 line
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 8 lines · Henrik Nordstrom
Quoted 3 lines · Leendert Meyer
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 16 lines · Leendert Meyer
Quoted 8 lines · Henrik Nordstrom
Quoted 3 lines · Leendert Meyer
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<---
Quoted 7 lines
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_ideor 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
In reply to Leendert MeyerQuoted 6 lines · Leendert Meyer
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<---
Quoted 7 lines
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_ideor 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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 1 line · Henrik Nordstrom
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:
Quoted 2 lines
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.
Quoted 5 lines
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Re: [uml-devel] No of ubd
Quoted 2 lines · Leendert Meyer
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.
Quoted 1 line
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 [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel