lilo
Andrzej Krzysztofowicz
ankry w green.mif.pg.gda.pl
Pon, 12 Maj 2003, 15:06:54 CEST
> Mam pewien kłopot z nowym lilo:
>
> # lilo
>
> LILO is unable to correctly determine the device codes assigned to two
> of your disks by the System BIOS. Consequently, it seems to have guessed
> wrong. The following conflict needs to be resolved with explicit
> "disk=/dev/... bios=0x??" lines in '/etc/lilo.conf'.
>
> Fatal: Bios device code 0x81 is being used by two disks
> /dev/ataraid/disc0/disc (0x7200) and
> /dev/ide/host2/bus0/target0/lun0/disc (0x2100)
>
> # cat /proc/partitions
> major minor #blocks name
>
> 114 0 156301312 ataraid/disc0/disc
> 114 1 4297356 ataraid/disc0/part1
> 114 4 1 ataraid/disc0/part4
> 114 5 4297356 ataraid/disc0/part5
> 114 6 142343901 ataraid/disc0/part6
> 114 7 4610623 ataraid/disc0/part7
> 114 8 746991 ataraid/disc0/part8
> 34 0 78150744 ide/host2/bus1/target0/lun0/disc
> 33 0 78150744 ide/host2/bus0/target0/lun0/disc
> 33 1 4297356 ide/host2/bus0/target0/lun0/part1
> 33 4 1 ide/host2/bus0/target0/lun0/part4
> 3 0 29888820 ide/host0/bus0/target0/lun0/disc
> 3 1 29888680 ide/host0/bus0/target0/lun0/part1
>
> ICH4: BIOS setup was incomplete.
> ICH4: chipset revision 1
> ICH4: not 100% native mode: will probe irqs later
> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:pio
> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:pio
> PDC20276: IDE controller on PCI bus 02 dev 10
> PCI: Found IRQ 9 for device 02:02.0
> PCI: Sharing IRQ 9 with 02:0a.0
> PDC20276: chipset revision 1
> PDC20276: not 100% native mode: will probe irqs later
> PDC20276: (U)DMA Burst Bit ENABLED Primary MASTER Mode Secondary MASTER
> Mode.
> ide2: BM-DMA at 0x9400-0x9407, BIOS settings: hde:pio, hdf:pio
> ide3: BM-DMA at 0x9408-0x940f, BIOS settings: hdg:pio, hdh:pio
> hda: ST330630A, ATA DISK drive
> hdc: PIONEER DVD-RW DVR-104, ATAPI CD/DVD-ROM drive
> hde: ST380021A, ATA DISK drive
> hdg: ST380021A, ATA DISK drive
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> ide1 at 0x170-0x177,0x376 on irq 15
> ide2 at 0xa800-0xa807,0xa402 on irq 9
> ide3 at 0xa000-0xa007,0x9802 on irq 9
> blk: queue e08251a4, I/O limit 4095Mb (mask 0xffffffff)
> hda: 59777640 sectors (30606 MB) w/2048KiB Cache, CHS=59303/16/63,
> UDMA(33)
> blk: queue e082586c, I/O limit 4095Mb (mask 0xffffffff)
> hde: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
> UDMA(100)
> blk: queue e0825bd0, I/O limit 4095Mb (mask 0xffffffff)
> hdg: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
> UDMA(100)
> Partition check:
> /dev/ide/host0/bus0/target0/lun0: p1
> /dev/ide/host2/bus0/target0/lun0: [PTBL] [9729/255/63] p1 p4 < >
> /dev/ide/host2/bus1/target0/lun0: unknown partition table
> ataraid/d0: p1 p4 < p5 p6 p7 p8 >
> Drive 0 is 76319 Mb (33 / 0)
> Drive 1 is 76319 Mb (34 / 0)
> Raid0 array consists of 2 drives.
> Promise Fasttrak(tm) Softwareraid driver for linux version 0.03beta
>
> lilo.conf na którym ot do tej pory chodziło:
>
> boot=/dev/hda
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> vga=5
>
> root=/dev/ataraid/disc0/disc
>
> image=/boot/vmlinuz-2.4.20-0.1
> label=linux-2.4.20
> initrd=/boot/initrd-2.4.20-0.1.gz
>
> W dokumentacj ido lilo jakoś nie nadziałem sie na nic co mogłoby świadczyć
> o tym że należąłoby po ostanichj zmianach wykonac jakeiś zmiany w
> lilo.conf. Ktos kojarzy powyśze z czymś co mogłoby wskazywać na to że nie
> jest to jednak byk w lilo z którym należy walić do maintainera ?
Mysle, ze jest to byk w kernelu. Tylko nie bardzo wiadomo jak go poprawic.
Informacja w /proc/partitions jest teorzona na nizszym poziomie (urzadzenia
blokowe) niz systemy plikow i skad niby tamtejsza funkcja ma wiedziec, czy
uzywamy devfs, czy nie ?
Aktualnie postac wpisow zalezy li-tylko od CONFIG_DEVFS_FS ...
--
=======================================================================
Andrzej M. Krzysztofowicz ankry w mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Gdansk University of Technology
Więcej informacji o liście dyskusyjnej pld-devel-pl