Hello tout le monde,
Merci beaucoup pour vos suggestions !
J’ai tout essayé mais sans succès …
Comme proposé, j’ai essayé les choses suivantes:
-
Version de lilo utilisée:
burp:/proc/ide# lilo -V
LILO version 22.2
-
J’ai testé plusieurs options “root=” différentes au boot:
root=hdb1, par exemple …
La machine me retourne toujours le même message:
Please append a correct “root=” boot option
-
J’ai essayé ensuite de mettre ces différentes options dans mon lilo.conf:
boot=/dev/hda
root=/dev/hdb1
ensuite:
burp:/proc/ide# lilo -v
LILO version 22.2, Copyright © 1992-1998 Werner Almesberger
Development beyond version 21 Copyright © 1999-2001 John Coffman
Released 05-Feb-2002 and compiled at 20:57:26 on Apr 13 2002.
MAX_IMAGES = 27
Reading boot sector from /dev/hda
Fatal: open /dev/hda: No such device or address
burp:/proc/ide#
Apparement, je n’ai pas d’autre choix que hde et hdf pour mes disques …
Voici, dans les grandes lignes ma config matérielle:
/etc/lilo.conf:
(qui est ok pour un kernel 2.4 mais KO pour un 2.6…)
mis comme ca par défaut pendant l’install de l’OS
lba32
mis comme ca par défaut pendant l’install de l’OS
disk=/dev/hde
bios=0x80
disk=/dev/hdf
bios=0x81
mis comme ca par défaut pendant l’install de l’OS
hda est remappé en hde
boot=/dev/hde
et hdb1 est remappé en hdf1
root=/dev/hdf1
#default=Linux
default=Linux-2.4
root=/dev/hdf1
Mon kernel habituel …
image=/vmlinuz-2.4
label=Linux-2.4
read-only
optional
Kernels de test:
##################
image=/boot/vmlinuz-2.6.8.040914mardi
label=2.6.8mardi
read-only
kernel précompilé récupéré via apt-get …
même erreur au boot
image=/boot/vmlinuz-2.6.7-1-k7
label=2.6.7-pkg
read-only
optional
Windows aussi a besoin de remapper hda1 (c:) en hde1
il semble que ca soie une contrainte liée au bios …
other=/dev/hde1
label=“Windows(hde1)”
--------- La config des disques détectée au boot: ------------------------
/var/adm/messages :
Sep 15 22:21:23 burp kernel: ide: Assuming 33MHz system bus speed for PIO modes;;
override with idebus=xx
Sep 15 22:21:23 burp kernel: VP_IDE: IDE controller on PCI bus 00 dev 21
Sep 15 22:21:23 burp kernel: VP_IDE: chipset revision 16
Sep 15 22:21:23 burp kernel: VP_IDE: not 100%% native mode: will probe irqs latee
r
Sep 15 22:21:23 burp kernel: ide: Assuming 33MHz system bus speed for PIO modes;;
override with idebus=xx
Sep 15 22:21:23 burp kernel: VP_IDE: VIA vt82c686a (rev 22) IDE UDMA66 controllee
r on pci00:04.1
Sep 15 22:21:23 burp kernel: ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hh
da:pio, hdb:pio
Sep 15 22:21:23 burp kernel: ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hh
dc:DMA, hdd:DMA
Sep 15 22:21:23 burp kernel: PDC20265: IDE controller on PCI bus 00 dev 88
Sep 15 22:21:23 burp kernel: PCI: Found IRQ 10 for device 00:11.0
Sep 15 22:21:23 burp kernel: PCI: Sharing IRQ 10 with 00:0b.0
Sep 15 22:21:23 burp kernel: PCI: Sharing IRQ 10 with 00:0b.1
Sep 15 22:21:23 burp kernel: PDC20265: chipset revision 2
Sep 15 22:21:23 burp kernel: PDC20265: not 100%% native mode: will probe irqs laa
ter
Sep 15 22:21:23 burp kernel: PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Modee
Secondary PCI Mode.
Sep 15 22:21:23 burp kernel: ide2: BM-DMA at 0x8400-0x8407, BIOS settings: hh
de:DMA, hdf:DMA
Sep 15 22:21:23 burp kernel: ide3: BM-DMA at 0x8408-0x840f, BIOS settings: hh
dg:DMA, hdh:pio
Sep 15 22:21:23 burp kernel: hda: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hda: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hda: no response (status = 0x0a), resetting drive
Sep 15 22:21:23 burp kernel: hda: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hda: no response (status = 0x0a)
Sep 15 22:21:23 burp kernel: hdb: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hdb: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hdb: no response (status = 0x0a), resetting drive
Sep 15 22:21:23 burp kernel: hdb: IRQ probe failed (0xfffffef8)
Sep 15 22:21:23 burp kernel: hdb: no response (status = 0x0a)
Sep 15 22:21:23 burp kernel: hdc: TDK DVDRW0404N, ATAPI CD/DVD-ROM drive
Sep 15 22:21:23 burp kernel: hdd: Hewlett-Packard CD-Writer Plus 8100, ATAPI CD//
DVD-ROM drive
Sep 15 22:21:23 burp kernel: hde: IBM-DTLA-307030, ATA DISK drive
Sep 15 22:21:23 burp kernel: hdf: IBM-DTLA-307030, ATA DISK drive
Sep 15 22:21:23 burp kernel: ide1 at 0x170-0x177,0x376 on irq 15
Sep 15 22:21:23 burp kernel: ide2 at 0x9800-0x9807,0x9402 on irq 10
Sep 15 22:21:23 burp kernel: hde: 60036480 sectors (30739 MB) w/1916KiB Cache, CC
HS=59560/16/63, UDMA(100)
Sep 15 22:21:23 burp kernel: hdf: 60036480 sectors (30739 MB) w/1916KiB Cache, CC
HS=59560/16/63, UDMA(100)
Sep 15 22:21:23 burp kernel: hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 2048kB
Cache
Sep 15 22:21:23 burp kernel: Uniform CD-ROM driver Revision: 3.12
Sep 15 22:21:23 burp kernel: hdd: ATAPI 24X CD-ROM CD-R/RW drive, 1024kB Cache
Sep 15 22:21:23 burp kernel: ide-floppy driver 0.97.sv
Sep 15 22:21:23 burp kernel: Partition check:
Sep 15 22:21:23 burp kernel: hde: [PTBL] [3737/255/63] hde1
Sep 15 22:21:23 burp kernel: hdf: hdf1 hdf2 hdf3 hdf4 < hdf5 >
Sep 15 22:21:23 burp kernel: Floppy drive(s): fd0 is 1.44M
Sep 15 22:21:23 burp kernel: FDC 0 is a post-1991 82077
Sep 15 22:21:23 burp kernel: Loading I2O Core - © Copyright 1999 Red Hat Softww
------------------ lspci -vv: -----------------------------------------------
0000:00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 10) (prog-if 8a [Master SecP PriP])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- SERR- <PERR-
Latency: 32
Region 4: I/O ports at d800 [size=16]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
---------------------- /proc/ide: --------------------------------------
burp:/proc/ide# ls -l
total 0
-r–r--r-- 1 root root 0 Sep 15 22:31 drivers
lrwxrwxrwx 1 root root 8 Sep 15 22:31 hdc -> ide1/hdc
lrwxrwxrwx 1 root root 8 Sep 15 22:31 hdd -> ide1/hdd
lrwxrwxrwx 1 root root 8 Sep 15 22:31 hde -> ide2/hde
lrwxrwxrwx 1 root root 8 Sep 15 22:31 hdf -> ide2/hdf
dr-xr-xr-x 4 root root 0 Sep 15 22:31 ide1
dr-xr-xr-x 4 root root 0 Sep 15 22:31 ide2
-r–r--r-- 1 root root 0 Sep 15 22:31 pdc202xx
-r–r--r-- 1 root root 0 Sep 15 22:31 via
burp:/proc/ide#
burp:/proc/ide# cat via
----------VIA BusMastering IDE Configuration----------------
Driver Version: 3.29
South Bridge: VIA vt82c686a
Revision: ISA 0x22 IDE 0x10
Highest DMA rate: UDMA66
BM-DMA base: 0xd800
PCI clock: 33MHz
Master Read Cycle IRDY: 0ws
Master Write Cycle IRDY: 0ws
BM IDE Status Register Read Retry: yes
Max DRDY Pulse Width: No limit
-----------------------Primary IDE-------Secondary IDE------
Read DMA FIFO flush: yes yes
End Sector FIFO flush: no no
Prefetch Buffer: no no
Post Write Buffer: no no
Enabled: yes yes
Simplex only: no no
Cable Type: 40w 40w
-------------------drive0----drive1----drive2----drive3-----
Transfer Mode: PIO PIO PIO PIO
Address Setup: 120ns 120ns 30ns 60ns
Cmd Active: 480ns 480ns 90ns 90ns
Cmd Recovery: 480ns 480ns 90ns 90ns
Data Active: 330ns 330ns 90ns 90ns
Data Recovery: 270ns 270ns 30ns 90ns
Cycle Time: 600ns 600ns 120ns 180ns
Transfer Rate: 3.3MB/s 3.3MB/s 16.5MB/s 11.0MB/s
burp:/proc/ide#
burp:/proc/ide/ide2# pwd
/proc/ide/ide2
burp:/proc/ide/ide2# ls -l
total 0
-r–r--r-- 1 root root 0 Sep 15 22:36 channel
-rw-r–r-- 1 root root 0 Sep 15 22:36 config
dr-xr-xr-x 2 root root 0 Sep 15 22:36 hde
dr-xr-xr-x 2 root root 0 Sep 15 22:36 hdf
-r–r--r-- 1 root root 0 Sep 15 22:36 mate
-r–r--r-- 1 root root 0 Sep 15 22:36 model
burp:/proc/ide/ide2#
burp:/proc# cat interrupts
CPU0
0: 117740 XT-PIC timer
1: 135 XT-PIC keyboard
2: 0 XT-PIC cascade
5: 9299 XT-PIC eth0
8: 4 XT-PIC rtc
9: 27 XT-PIC usb-uhci, usb-uhci, es1371
10: 4046 XT-PIC ide2, btaudio, bttv
15: 13 XT-PIC ide1
NMI: 0
LOC: 117701
ERR: 1
MIS: 0
burp:/proc#
cfdisk 2.12
Disk Drive: /dev/hdf
Size: 30738677760 bytes, 30.7 GB
Heads: 16 Sectors per Track: 63 Cylinders: 59560
Name Flags Part Type FS Type [Label] Size (MB)
hdf1 Boot Primary Linux ext3 5243.02
hdf2 Primary Linux ext3 1048.71
hdf3 Primary Linux swap 268.37
hdf5 Logical Linux ext3 19922.86
Logical Free Space 4255.73