From: dws@cseg03.uark.edu (David W. Summers)
Subject: Problems with LILO 0.7 and Linux 0.99
Summary: It's broke
Keywords: Problems LILO 0.7 Linux 0.99
Organization: University of Arkansas
Date: Mon, 14 Dec 1992 06:25:24 GMT

Hello fellow Linuxers (Linuxians? :-), I hope this isn't too long....

   Well, I just saw that 0.99 made it out so I decided to try to upgrade
from 0.98.5 to 0.98.6 and then to 0.99.

Here's the setup:
   HARDWARE:
   ---------
   486-50 AMI BIOS
   EISA Motherboard
   8 Meg Ram
   520 Meg Fujitsu 2426F (SCSI)
   AHA 1542B Controller

   Software:
   ---------
   Linux 0.98.6 and/or Linux 0.99
   LILO 0.7

   /usr/src/linux/.config:
========== BEGIN =============
#
# Automatically generated make config: don't edit
#

#
# General setup
#
CONFIG_BLK_DEV_HD = CONFIG_BLK_DEV_HD
CONFIG_TCPIP = CONFIG_TCPIP
CONFIG_MAX_16M = CONFIG_MAX_16M

#
# SCSI support
#
CONFIG_SCSI = CONFIG_SCSI

#
# SCSI support type (disk, tape, CDrom)
#
CONFIG_BLK_DEV_SD = CONFIG_BLK_DEV_SD
CONFIG_BLK_DEV_ST = CONFIG_BLK_DEV_ST
CONFIG_BLK_DEV_SR = CONFIG_BLK_DEV_SR

#
# SCSI low-level drivers
#
CONFIG_SCSI_AHA1542 = CONFIG_SCSI_AHA1542

#
# Filesystems
#
CONFIG_MINIX_FS = CONFIG_MINIX_FS
CONFIG_EXT_FS = CONFIG_EXT_FS
CONFIG_MSDOS_FS = CONFIG_MSDOS_FS
CONFIG_PROC_FS = CONFIG_PROC_FS
CONFIG_NFS_FS = CONFIG_NFS_FS
CONFIG_ISO9660_FS = CONFIG_ISO9660_FS

#
# Various character device drivers..
#
======== END =========================

   Disk partitions:
========= BEGIN =============
# /etc/lilo/disktab  -  LILO disk parameter table
#
# This table contains disk parameters for SCSI disks and non-
# standard parameters of IDE disks. Parameters in disktab
# _always_ override auto-detected disk parameters.

# Dev.	BIOS	Secs/	Heads/	Cylin-	Part.
# num.	code	track	cylin.	ders	offset

0x800	0x80	32	64	495	0	# /dev/sda
0x801	0x80	32	64	495	2048	# /dev/sda1 (OS/2 Boot Manager)
0x802	0x80	32	64	495	32	# /dev/sda2 (DOS-OS/2)
0x803	0x80	32	64	495	239616	# /dev/sda3 (Extended Partition)
0x804	0x80	32	64	495	206848	# /dev/sda4 (Linux root (EXTFS))
0x805	0x80	32	64	495	239648	# /dev/sda5 (Logical PARTITION)
0x806	0x80	32	64	495	272416	# /dev/sda6 (Logical PARTITION)
0x807	0x80	32	64	495	337952	# /dev/sda7 (Logical PARTITION)
============= END ===================

Here's the saga:
   1.) I was using LILO 0.4 with Linux 0.98.5 and everything was groovy.

   2.) I tried to upgrade to LILO 0.7 but it stops at the "LIL".  I (re)-read
       the documentation and it says that it is probably caused by a mis-matched
       /etc/lilo/disktab file but I haven't changed my disk partitioning!

   3.) I tried to boot 0.99 Image from floppy and the kernel panics with:

[previous boot stuff deleted, unless you think it is important....]
Partition table ok.
MINIX-fs magic match failed.
general protection: 0000
EIP: 0008:0000B6C4
EFLAGS: 00010202
fs: 0017
base: C00000000, Limit: 000A0000
Pid: 1, process nr: 1
86 13 85 d2 74 27 83 3a 02 74

:-(  Well, I tried looking in System.map on 0.99 and narrow it down and
I *THINK* I've narrowed it down to the 'wake_up' routine.  

Could someone tell me how to narrow it down further?  Do I need to spend some
time putting 'printk' calls in 'wake_up' to try to figure out what is going on?


GOOD NEWS:  The 0.98.6 SCSI code really flies!  I'm impressed! 
Also the TCP/IP code is fabulous!


Has anyone else expirienced this problem?  Am I doing something stupid or
silly?

I have read and re-read the LILO docs several times but can't figure out
what I'm doing wrong...it starts to boot.


Thanks!
   - David Summers
   (dws@engr.uark.edu)
-- 
                         "Never under-estimate the bandwidth of a station-wagon
David Summers             full of tapes, hurtling down the highway."
dws@engr.uark.edu         - Tanenbaum, "Computer Networks"