Zepsuty util-linux (i fdisk zależny od jakiejś łaty)

Michal Kochanowicz michal w michal.waw.pl
Pon, 15 Paź 2001, 12:58:22 CEST


Cześć

Aktualny util-linux sprawia następujące problemy:
1. Nie przebudowauje się z ,,--without crypto'':
------------------------------------------------------------------------
Patch #16 (util-linux-losetup-getpass.patch):
4 out of 11 hunks FAILED -- saving rejects to file mount/lomount.c.rej
------------------------------------------------------------------------
2. Wymaga przebudowania na kernelu nie-dystrybucyjnym, co z powyższego
   powodu się nie udaje. Bez przebudowania uruchomienie fdiska na
   całkowicie poprawnym dysku daje taki efekt:
------------------------------------------------------------------------
[misiek w wieszak SPECS]$ /sbin/fdisk /dev/hda

Command (m for help): p

Disk /dev/hda: 1 heads, 40088160 sectors, 1 cylinders
Units = cylinders of 40088160 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1         1  16064968+   c  Win95 FAT32 (LBA)
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(0, 1, 1) logical=(0, 0, 64)
Partition 1 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 32130000)
Partition 1 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 40088160)
/dev/hda2             1         1    265072+  82  Linux swap
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 32130001)
Partition 2 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 32660145)
Partition 2 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 40088160)
/dev/hda3             1         1   3711015   83  Linux
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 32660146)
Partition 3 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(0, 0, 40082175)
Partition 3 does not end on cylinder boundary:
     phys=(1023, 254, 63) should be (1023, 0, 40088160)

Command (m for help):
------------------------------------------------------------------------
   Po przebudowaniu (bez --without crypto też się wywala, bo krenel tego
   nie ma, ale binarka fdisk już powstaje) fdisk zachowuje się
   poprawnie. Czy ktoś orientuje się która łata na kernel powoduje nie
   działanie fdiska? Bo wypadałoby chyba przynajmniej w %description
   umieścić informację, że fdisk nie będzie działał poprawnie bez niej.

   Niepoprawne działanie fdisk jest spowodowane błędnym odczytaniem
   geometrii dysku i można go używać po ręcznym podaniu C/H/S, ale chyba
   nie powinno tak być...?
-- 
--= Michal Kochanowicz==--==--==BOFH==--==--==michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--



Więcej informacji o liście dyskusyjnej pld-devel-pl