linux 2.3.19 and lilo

f5ibh (f5ibh@db0bm.ampr.org)
Thu, 7 Oct 1999 11:58:15 +0200


Hi!

I've just installed the 2.3.19 version of the kernel.
I've two disks on my system. One, 1Gb, with Debian 2.1 and linux 2.3.19, the
other, 400Mb, with Suse 6.2 and linux 2.2.12.
I have a third disk with DRDOS.

When I start lilo from 2.3.19, I get the following :

LILO version 21, Copyright 1992-1998 Werner Almesberger

Reading boot sector from /dev/hda
Merging with /boot/boot.b
Boot image: /vmlinuz
Added linux (alias 0) *
Boot image: /vmlinuz.old
Added linold (alias 9)
Boot image: /mnt/boot/vmlinuz
Warning: BIOS drive 0x82 may not be accessible
geo_comp_addr: Cylinder number is too big (3834 > 1023)

And effectively, the 400Mb disk is no more bootable from lilo.
The same configuration works fine with 2.3.18ac10 or 2.2.12.

Here is my lilo.conf :

# Common section
#---------------
boot = /dev/hda
compact
prompt
timeout = 50
vga = 4
single-key

#root = current # use "current" root

#-----------------------
# 'test' kernel 2.3.19
image = /vmlinuz
root = /dev/hda1
label = linux
alias = 0
read-only

#------------------
# 'normal' kernel 2.2.12
image = /vmlinuz.old
root = /dev/hda1
label = linold
alias = 9
read-only

#-----
# SuSE
image = /mnt/boot/vmlinuz
root = /dev/hdc1
label = suse
alias = 5
read-only

#------------------
# DRDOS 7
other = /dev/hdb1
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
label = drdos
alias = 2

Here are the disks data reported by hdparm
remark : when I start hdparm, I got this message :

[root@debian-f5ibh] ~ # hdparm -I /dev/hda1
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }

[root@debian-f5ibh] ~ # hdparm -I /dev/hdc1
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { DriveStatusError }

/dev/hdc1:

Model=TS4319 A , FwRev=700..710, SerialNo= 00SD019822
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=899/15/62, TrkSize=36240, SectSize=584, ECCbytes=16
BuffType=3(DualPortCache), BuffSize=120kB, MaxMultSect=16, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=2(fast)
CurCHS=899/15/62, CurSects=836070, LBA=no
tDMA={min:150,rec:363}, DMA modes: mword0 *mword1
IORDY=yes, tPIO={min:363,w/IORDY:180}, PIO modes: mode3

/dev/hda1:

Model=TS1580A0 , FwRev=900..910, SerialNo= AE2M8613
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=2100/16/63, TrkSize=65535, SectSize=987, ECCbytes=4
BuffType=3(DualPortCache), BuffSize=256kB, MaxMultSect=32, MultSect=16
DblWordIO=no, maxPIO=2(fast), DMA=yes, maxDMA=0(slow)
CurCHS=2100/16/63, CurSects=2116800, LBA=yes
LBA CHS=525/64/63 Remapping, LBA=yes, LBAsects=2116800
tDMA={min:120,rec:120}, DMA modes: sword0 sword1 sword2 mword0 mword1 *mword2
IORDY=yes, tPIO={min:180,w/IORDY:120}, PIO modes: mode3 mode4

When I ask for the geometry of the disks I get the following:
with 2.3.19 :
-------------
[root@debian-f5ibh] ~ # hdparm -g /dev/hda

/dev/hda:
geometry = 525/64/63, sectors = 2116800, start = 0
[root@debian-f5ibh] ~ # hdparm -g /dev/hdc

/dev/hdc:
geometry = 6635/2/63, sectors = 836070, start = 0

with 2.2.12 :
-------------
[root@debian-f5ibh] ~ # hdparm -g /dev/hda

/dev/hda:
geometry = 525/64/63, sectors = 2116800, start = 0
[root@debian-f5ibh] ~ # hdparm -g /dev/hdb

/dev/hdb:
geometry = 524/16/63, sectors = 528640, start = 0

---

Regards

Jean-Luc

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/