--- Begin Message ---
Package: lilo
Version: 22.6.1-9
Debian version: etch
I'm getting an error when executing "lilo" with 2.6.18-3-686 kernel.
The Master Boot Record is not updated and I get the following error:
Fatal: geo_query_dev HDIO_GETGEO (dev 0x6800): No such device or address
If I return to 2.6.17, lilo works fine with the same lilo.conf file.
I'm not sure if it's a kernel problem or a lilo problem ... :-?
lilo execution on linux-image-2.6.18-3-686
==========================================
fe01-ges:~# uname -a
Linux fe01-ges 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 GNU/Linux
fe01-ges:~# lilo -v -v -v -v -v
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 15:50:43 on Nov 17 2006
Debian GNU/Linux
Warning: LBA32 addressing assumed
raid_setup: dev=000D rdev=6800
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/cciss/c0d0
geo_get: device 6800, all=1
pf_hard_disk_scan: (104,0) /dev/cciss/c0d0
Caching device /dev/cciss/c0d0 (0x6800)
pf_hard_disk_scan: (104,1) /dev/cciss/c0d0p1
Caching device /dev/cciss/c0d0p1 (0x6801)
lookup_dev: number=6800
lookup_dev: number=6800
pf: dev=6800 id=000D3883 name=/dev/cciss/c0d0
geo_query_dev: device=6800
lookup_dev: number=6800
lookup_dev: number=0300
Fatal: geo_query_dev HDIO_GETGEO (dev 0x6800): No such device or address
lilo execution on linux-image-2.6.17-2-686
==========================================
fe01-ges:~# uname -a
Linux fe01-ges 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 GNU/Linux
fe01-ges:~# lilo -v -v -v -v -v
LILO version 22.6.1, Copyright (C) 1992-1998 Werner Almesberger
Development beyond version 21 Copyright (C) 1999-2004 John Coffman
Released 17-Nov-2004, and compiled at 15:50:43 on Nov 17 2006
Debian GNU/Linux
Warning: LBA32 addressing assumed
raid_setup: dev=000C rdev=6800
raid_setup returns offset = 00000000 ndisk = 0
BIOS VolumeID Device
Reading boot sector from /dev/cciss/c0d0
geo_get: device 6800, all=1
pf_hard_disk_scan: (104,0) /dev/cciss/c0d0
Caching device /dev/cciss/c0d0 (0x6800)
pf_hard_disk_scan: (104,1) /dev/cciss/c0d0p1
Caching device /dev/cciss/c0d0p1 (0x6801)
lookup_dev: number=6800
lookup_dev: number=6800
pf: dev=6800 id=000D3883 name=/dev/cciss/c0d0
geo_query_dev: device=6800
lookup_dev: number=6800
lookup_dev: number=0300
exit geo_query_dev
bios_dev: device 6800
lookup_dev: number=6800
bios_dev: masked device 6800, which is /dev/cciss/c0d0
bios_dev: geometry check found 0 matches
bios_dev: (0x80) vol-ID=000D3883 *PT=080770BC
bios_dev: PT match found 1 match (0x80)
pf_hard_disk_scan: (104,2) /dev/cciss/c0d0p2
Caching device /dev/cciss/c0d0p2 (0x6802)
pf_hard_disk_scan: (104,3) /dev/cciss/c0d0p3
Caching device /dev/cciss/c0d0p3 (0x6803)
pf_hard_disk_scan: (104,4) /dev/cciss/c0d0p4
Caching device /dev/cciss/c0d0p4 (0x6804)
pf_hard_disk_scan: (104,5) /dev/cciss/c0d0p5
Caching device /dev/cciss/c0d0p5 (0x6805)
pf_hard_disk_scan: (104,6) /dev/cciss/c0d0p6
Caching device /dev/cciss/c0d0p6 (0x6806)
pf_hard_disk_scan: (104,7) /dev/cciss/c0d0p7
Caching device /dev/cciss/c0d0p7 (0x6807)
6800 000D3883 /dev/cciss/c0d0
pf_hard_disk_scan: ndevs=1
6800 000D3883 /dev/cciss/c0d0
Resolve invalid VolumeIDs
Resolve duplicate VolumeIDs
6800 000D3883 /dev/cciss/c0d0
device codes (user assigned pf) = 0
device codes (user assigned) = 0
device codes (BIOS assigned) = 1
device codes (canonical) = 1
geo_query_dev: device=6800
lookup_dev: number=6800
exit geo_query_dev
bios_dev: device 6800
lookup_dev: number=6800
bios_dev: masked device 6800, which is /dev/cciss/c0d0
bios_dev: geometry check found 0 matches
bios_dev: (0x80) vol-ID=000D3883 *PT=080770BC
bios_dev: PT match found 1 match (0x80)
Device 0x6800: BIOS drive 0x80, 255 heads, 35139 cylinders,
32 sectors. Partition offset: 0 sectors.
registering bios=0x80 device=0x6800
Using Volume ID 000D3883 on bios 80
geo_get: device 6802, all=1
geo_query_dev: device=6802
lookup_dev: number=6802
exit geo_query_dev
bios_dev: device 6802
lookup_dev: number=6800
bios_dev: masked device 6800, which is /dev/cciss/c0d0
bios_dev: geometry check found 0 matches
bios_dev: (0x80) vol-ID=000D3883 *PT=080770BC
bios_dev: PT match found 1 match (0x80)
Device 0x6802: BIOS drive 0x80, 255 heads, 35139 cylinders,
32 sectors. Partition offset: 3903795 sectors.
registering bios=0x80 device=0x6802
Using Volume ID 000D3883 on bios 80
fd 6: offset 2048 -> dev 0xe0, LBA 21958967
mode = 0x03, columns = 80, rows = 25, page = 0
Using BITMAP secondary loader
Calling map_insert_data
fd 6: offset 2560 -> dev 0xe0, LBA 21958968
fd 6: offset 3072 -> dev 0xe0, LBA 21958969
fd 6: offset 3584 -> dev 0xe0, LBA 21958970
fd 6: offset 4096 -> dev 0xe0, LBA 21958971
fd 6: offset 4608 -> dev 0xe0, LBA 21958972
fd 6: offset 5120 -> dev 0xe0, LBA 21958973
fd 6: offset 5632 -> dev 0xe0, LBA 21958974
fd 6: offset 6144 -> dev 0xe0, LBA 21958975
fd 6: offset 6656 -> dev 0xe0, LBA 21958976
fd 6: offset 7168 -> dev 0xe0, LBA 21958977
fd 6: offset 7680 -> dev 0xe0, LBA 21958978
fd 6: offset 8192 -> dev 0xe0, LBA 21958979
fd 6: offset 8704 -> dev 0xe0, LBA 21958980
fd 6: offset 9216 -> dev 0xe0, LBA 21958981
fd 6: offset 9728 -> dev 0xe0, LBA 21958982
fd 6: offset 10240 -> dev 0xe0, LBA 21958983
fd 6: offset 10752 -> dev 0xe0, LBA 21958984
fd 6: offset 11264 -> dev 0xe0, LBA 21958985
fd 6: offset 11776 -> dev 0xe0, LBA 21958986
Secondary loader: 19 sectors (0x3600 dataend).
install(2) flags: 0x0502
fd 6: offset 12288 -> dev 0xe0, LBA 21958987
bios_boot = 0x80 bios_map = 0x80 map==boot = 0 map S/N: 000D3883
Map time stamp: 459D398C
Mapping bitmap file /boot/sarge.bmp
geo_get: device 6802, all=1
geo_query_dev: device=6802
lookup_dev: number=6802
exit geo_query_dev
bios_dev: device 6802
lookup_dev: number=6800
bios_dev: masked device 6800, which is /dev/cciss/c0d0
bios_dev: geometry check found 0 matches
bios_dev: (0x80) vol-ID=000D3883 *PT=080770BC
bios_dev: PT match found 1 match (0x80)
Device 0x6802: BIOS drive 0x80, 255 heads, 35139 cylinders,
32 sectors. Partition offset: 3903795 sectors.
registering bios=0x80 device=0x6802
Using Volume ID 000D3883 on bios 80
width=640 height=480 planes=1 bits/plane=4
Calling map_insert_file
..................
..................
.................. (Lots of lines stripped by me)
..................
RAM disk: 8550 sectors.
Added LinuxOld
<dev=0xe0,hd=79,cyl=17,sct=248>
"ro root=6802"
BIOS VolumeID Device
80 000D3883 6800
Writing boot sector.
/boot/boot.6800 exists - no boot sector backup copy made.
fd 6: offset 512 -> dev 0xe0, LBA 21958964
fd 6: offset 1024 -> dev 0xe0, LBA 21958965
fd 6: offset 1536 -> dev 0xe0, LBA 21958966
fd 6: offset 0 -> dev 0xe0, LBA 21958963
Map file size: 152576 bytes.
RAID device mask 0x0000
fd 6: offset 152576 -> dev 0xe0, LBA 21959269
Failsafe check: boot_dev_nr = 0x6800 0xfff0
map==boot = 0 map s/n = 000D3883
pw_file_update: passw=0
BIOS VolumeID Device
80 000D3883 6800
lilo.conf
---------------------------------------------------
My lilo.conf file:
boot=/dev/cciss/c0d0
root=/dev/cciss/c0d0p2
#compact
# To use the new LILO boot menu, add the following
bitmap=/boot/sarge.bmp
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0
install=bmp
prompt
timeout=150
# install=menu
map=/boot/map
vga=normal
delay=20
image=/vmlinuz
root=/dev/cciss/c0d0p2
initrd=/initrd.img
label=Linux
read-only
image=/vmlinuz.old
root=/dev/cciss/c0d0p2
initrd=/initrd.img.old
label=LinuxOld
read-only
vmlinux & initrd simbolic links:
---------------------------------------------------
fe01-ges:~# ls -al /vmlinuz*
lrwxrwxrwx 1 root root 25 2006-12-23 15:50 /vmlinuz ->
boot/vmlinuz-2.6.18-3-686
lrwxrwxrwx 1 root root 25 2006-12-21 12:53 /vmlinuz.old ->
boot/vmlinuz-2.6.17-2-686
fe01-ges:~# ls -al /initrd.img*
lrwxrwxrwx 1 root root 28 2006-12-23 15:50 /initrd.img ->
boot/initrd.img-2.6.18-3-686
lrwxrwxrwx 1 root root 28 2006-12-21 12:53 /initrd.img.old ->
boot/initrd.img-2.6.17-2-686
fe01-ges:~#
Kernel Packages
---------------------------------------------------
fe01-ges:~# dpkg -l "linux-image-2.6.1*"|grep -E "^ii|^hi"
hi linux-image-2.6.17-2-686 2.6.17-9 Linux 2.6.17 image
on PPro/Celeron/PII/PIII/
ii linux-image-2.6.18-3-686 2.6.18-7 Linux 2.6.18 image
on PPro/Celeron/PII/PIII/
Hardware
----------------------------------------------------
HP ML350 G4p with a Compaq Smartarray 642
--
Santiago Romero
Departamento de Sistemas
[EMAIL PROTECTED]
Av. Primado Reig 189, entlo
46020 Valencia - Spain
Telf. (+34) 96 332 12 00
Fax. (+34) 96 332 12 01
http://www.servicom2000.com
--- End Message ---