From: buettneb@Informatik.TU-Muenchen.DE (Bernhard Buettner) Subject: Linux and SCSI ST02, can't get it working Date: Wed, 10 Feb 1993 20:06:21 GMT
Hello out there!
I am writing this on behalf of a friend who does not have
Internet access. I myself have had absolutely no problems
installing Linux 0.99p2 from the SLS distribution although I am
much more of a newcomer to Unix and Linux than he. Linux is
working absolutely marvellous on my 486-33, even X-Window runs
well and very stable here. However, I have no SCSI drive....
My friend tries to install Linux on his machine, which has the
following hardware configuration:
Board: i486DX, 33MHz
Mem: 8Mb
BIOS: AMI 4d33f Rev. D (092892)
Hercules: Printer Port
SCSI-Adapter: ST02, IRQ 5, 0-Wait-State - enabled, Mem. Addr C800,
FD - default, Register Emul. - enabled, BIOS Revision 3.2
HD is Maxtor
The Drive is being partitioned as follows (fdisk /dev/sda' and 'p'):
Device Boot Begin Start End Blocks Id System
/dev/sda1 1 65451 196350 65450 81 Linux/MINIX
/dev/sda2 1 196351 327250 65450 81 Linux/MINIX
/dev/sda3 1 327251 391930 32340 82 Linux swap
/dev/sda4 * 2 56 65450 32697+ 4 DOS 16-bit <32M
When installing the software, there is no problem when booting
from disk and reading in parts a, b and c from the SLS
distribution. This is what the screen looks like:
Loading......................................................................
Serial driver version 3.1 with AUTO_IRQ enabled
8 virtual consoles
lp_init: lp0 exists (0)
scsi0: Seagate ST01/ST02
Seagate ST-0X SCSI driver by Drew Eckhardt
$Header: /usr/src/linux/kernel/blk_drv/scsi/RSC/seagate.c,v 1.1 1992/07/23 06:27:38 root Exp root $
scsi: 1 hosts.
Vendor: MAXTOR Model: LXT-200S Rev: 3.10
Type: Direct-Acces ANSI SCSI revision: 01 CCS
Detected scsi disk sd0 at scsi3, id0, lun 0
scsi: detected 1 SCSI disk 0 tapes 0 DC-ROM drivers total.
Memory: 7172k/8192k available (544 kernel, 384k reserved, 92k data)
Floppy drive(s): fd0 is 1.44M, fd1 is 1.2M
floppy: unexpected interrupt
sock_init: initializing family 1 (AF_UNIX)
sock_init: initializing family 2 (AF_INET)
Loopback device init
Warning WD8013 board not found at i/o = 280.
sda:
part 1 start 65450 size 130900 end 196349
part 1 start 196350 size 130900 end 327249
part 3 start 327250 size 64680 end 391929
part 4 start 55 size 65395 end 65449
Partition table ok.
Linux version 0.99.pl2-55 (roto@softland) 01/02/93 22:50:30
Feb 10 12:53:50 init[1]: version 2.0 booting
/etc/inet/rc.net: softland(192.0.2.128), portmap, inetd, namedFeb 10 12:23:55 named[41]: restarted , nfsd, mountd Feb 10 12:23:46 init[1]: Entering runlevel: 6
Softlanding Software (604) 360-0188, gentle touch downs from DOS bailouts.
Welcome to Linux SLS 1.0. Type "menu" for a menu driven interface
softland: login:
Everythins looks quite ok, right? Except that unexpected interrupt
from the floppy.
Now we installed everything and wanted to make a new kernel,
because some ethernet card driver should be installed using a
different interrupt, so Space.h was changed and the make process
started in /usr/src/linux:
/usr/src/linux# make config
...
/usr/src/linux# make clean
...
/usr/src/linux# make dep
...
for i in sound; do (cd $i && make dep) || exit; done
gcc -DKERNEL -E -M -DKERNEL_SOUNDCARD -DDSP_BUFFSIZE=16384 -DSBC_IRQ=7 -DPAS_
IRQ=5 *.c > .depend
gcc -DKERNEL -E -M *.c > .depend
Unable to handle kernel paging request at adress c0000000
Oops: 0000
EIP: 0008:00000000
EFLAGS: 00010287
fs: 0017
base: 00000000, limit: C0000000
Pid: 479, process nr: 22
Unable to handle kernel paging request at adress c0000000
Oops: 0000
EIP: 0008:0000C689
EFLAGS: 00010246
fs: 0017
base: 00000000, limit: C0000000
Pid: 479, process nr: 22
64 8a 04 0b 0f a1 88 44 24 08
make[2]: *** [dep] Error 139
make[1]: *** [dep] Error 1
make: *** [dep] Error 1
It's not alwys the same. Sometimes the makefile loops with a
message saying "Trying to free nonexistent swap-page", sometimes
the machine will hang completely. Other messages seen: "Internal
compiler error: programm cpp got fatal signal 11" and "Unable
to handle kernel paging request at address c0000000".
When using swap space, the following messages were seen:
swap_free: swap-space map bad (page 512)
swap_free: weirdness
swap_free: swap_space map bad (page 100)
swap_free: weirdness
swap_free: weirdness
swap_free: weirdness
swap_free: weirdness
swap_free: weirdness
swap_free: swap_space map bad (page 1)
swap_free: weirdness
swap_free: weirdness
swap_free: weirdness
Trying to free nonexistent swap-page
swap_free: weirdness
swap_free: weirdness
It looks like there is definitely a problem with the SCSI drive,
either with the partitioning or with the driver. We've tried
swapping the partitions, putting the system on sda3 and swap
space on sda2. When using no swap space at all it looks like
the error ocurrs even more often.
Sooo.. anybody out there have a good idea where else we can
look?
73 Ben