* Re: 2.0.21 won't work on Jensen anymore?
[not found] <199610171419.PAA15548@saturn.stochastik.rwth-aachen.de>
@ 1996-10-18 13:31 ` Michael Schwingen
0 siblings, 0 replies; 4+ messages in thread
From: Michael Schwingen @ 1996-10-18 13:31 UTC (permalink / raw)
> So the fix is to remove the check for BSD_FS_UNUSED in genhd.c - why was this
> added in the first place? Apart from the problems I have, you get inconsistent
> drive numbering between kernel/aboot/fdisk.
This is not right, either - I get eight partitions, where only the first
three are valid (but at least these do work). The following works as
expected:
*** genhd.c.old Thu Oct 17 17:13:27 1996
--- genhd.c Fri Oct 18 16:41:16 1996
***************
*** 233,239 ****
if ((current_minor & mask) >= (4 + hd->max_p))
break;
! if (p->p_fstype != BSD_FS_UNUSED) {
add_partition(hd, current_minor, first_sector + p->p_offset, p->p_size);
current_minor++;
}
--- 233,239 ----
if ((current_minor & mask) >= (4 + hd->max_p))
break;
! if (p->p_size != 0) {
add_partition(hd, current_minor, first_sector + p->p_offset, p->p_size);
current_minor++;
}
cu
Michael
--
Michael Schwingen <m.schwingen@stochastik.rwth-aachen.de>
Institut fuer Statistik und Wirtschaftsmathematik, | In the beginning there was
Wuellnerstr. 3, 52056 Aachen | nothing, which exploded.
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.0.21 won't work on Jensen anymore?
@ 1996-10-15 16:07 David Mosberger
1996-10-17 14:19 ` Michael Schwingen
0 siblings, 1 reply; 4+ messages in thread
From: David Mosberger @ 1996-10-15 16:07 UTC (permalink / raw)
> after installing a small RedHat 4.0 system on my Alpha (Jensen), I tried to
> compile a 2.0.21/22 kernel on the new system. This works fine, but after
> booting the kernel detects only two of the three partitions on the first
> (and only) SCSI disk - it seems that the first partition, which is marked as
> type 'unused', is omitted (this partition contains aboot + install kernel).
> When I change the root device accordingly (sda2 instead of sda3), the
> machine can mount the root fs, but I get lots of errors from ll_rw_... that
> 1k blocks are not supported (it says it can only do 8k), and the system
> crashes then.
> My old 2.0.14-kernel, which was built on the old ECOFF system, works fine,
> and a 2.0.14 kernel which I just built on the new ELF system works fine,
> too.
> What was changed between 2.0.14 and 2.0.21 that makes the kernel not work
> anymore? What should I check?
Most likely the patch to genhd.{c,h} is causing this. It works for
me, but just yesterday Linus reported a similar problem. Linus, does
your partition table have "unused" partitions too (followed by
partitions that are in use)? Maybe that's the reason it works for me:
all my partitions follow back to back, without gaps. The easiest
thing to do would be to undo the patch to those two files. I'll try
to get that fixed, but the way things look, it may take a while.
--david
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: 2.0.21 won't work on Jensen anymore?
1996-10-15 16:07 David Mosberger
@ 1996-10-17 14:19 ` Michael Schwingen
0 siblings, 0 replies; 4+ messages in thread
From: Michael Schwingen @ 1996-10-17 14:19 UTC (permalink / raw)
> Most likely the patch to genhd.{c,h} is causing this. It works for
> me, but just yesterday Linus reported a similar problem. Linus, does
> your partition table have "unused" partitions too (followed by
> partitions that are in use)? Maybe that's the reason it works for me:
> all my partitions follow back to back, without gaps. The easiest
> thing to do would be to undo the patch to those two files. I'll try
> to get that fixed, but the way things look, it may take a while.
OK, I got it now - it's really the patch for genhd (when copying only genhd.c
from 2.0.18, it works).
If I uncomment the check for the UNUSED partition type, 2.0.20 works fine, too.
Now what I don't understand is that the partitions are not just shifted by
this patch - I get sda1, sda2, so sda2 should be my root fs (which used to be
sda3), but if I boot with root=/dev/sda2, this does not work, either.
So the fix is to remove the check for BSD_FS_UNUSED in genhd.c - why was this
added in the first place? Apart from the problems I have, you get inconsistent
drive numbering between kernel/aboot/fdisk.
cu
Michael
--
Michael Schwingen <m.schwingen@stochastik.rwth-aachen.de>
Institut fuer Statistik und Wirtschaftsmathematik, | In the beginning there was
Wuellnerstr. 3, 52056 Aachen | nothing, which exploded.
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
[parent not found: <3262A72E.7946@lynx.bc.ca>]
* 2.0.21 won't work on Jensen anymore?
[not found] <3262A72E.7946@lynx.bc.ca>
@ 1996-10-15 14:18 ` Michael Schwingen
0 siblings, 0 replies; 4+ messages in thread
From: Michael Schwingen @ 1996-10-15 14:18 UTC (permalink / raw)
Hello,
after installing a small RedHat 4.0 system on my Alpha (Jensen), I tried to
compile a 2.0.21/22 kernel on the new system. This works fine, but after
booting the kernel detects only two of the three partitions on the first
(and only) SCSI disk - it seems that the first partition, which is marked as
type 'unused', is omitted (this partition contains aboot + install kernel).
When I change the root device accordingly (sda2 instead of sda3), the
machine can mount the root fs, but I get lots of errors from ll_rw_... that
1k blocks are not supported (it says it can only do 8k), and the system
crashes then.
My old 2.0.14-kernel, which was built on the old ECOFF system, works fine,
and a 2.0.14 kernel which I just built on the new ELF system works fine,
too.
What was changed between 2.0.14 and 2.0.21 that makes the kernel not work
anymore? What should I check?
All kernels were built using David M-T's axp-diffs, 2.0.22 was built using
the 2.0.21-diffs.
cu
Michael
--
Michael Schwingen <m.schwingen@stochastik.rwth-aachen.de>
Institut fuer Statistik und Wirtschaftsmathematik, | In the beginning there was
Wuellnerstr. 3, 52056 Aachen | nothing, which exploded.
--
To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-10-18 13:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <199610171419.PAA15548@saturn.stochastik.rwth-aachen.de>
1996-10-18 13:31 ` 2.0.21 won't work on Jensen anymore? Michael Schwingen
1996-10-15 16:07 David Mosberger
1996-10-17 14:19 ` Michael Schwingen
[not found] <3262A72E.7946@lynx.bc.ca>
1996-10-15 14:18 ` Michael Schwingen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox