2.0.0/2.0.25 oopses with buslogic 956C and two 4G seagates ...

Peter T. Breuer (ptb@oboe.it.uc3m.es)
Sat, 16 Nov 1996 14:55:36 +0000 (WET)


Here is the oops from my buslogic scsi machine.

"A month of sundays ago Leonard N. Zubkoff wrote:"
>
> From: "Peter T. Breuer" <ptb@oboe.it.uc3m.es>
> Date: Sat, 16 Nov 1996 00:18:35 +0000 (WET)
> I am having problems getting a kernel to boot a machine with a buslogic
> BT-956C scsi controller and two seagate 4G drives (ST15230W). A FreeBSD kernel
> boots it fine, and I would like to change this server over to Linux
> pronto. Please help me get rid of FreeBSD.

> The buslogic controller is on io=0x330 and IRQ 11, it has scsi ID 7. The bios
> (buslogic?) has it set to level triggering. I have 64M of memory. It makes no
> difference if I use mem=32M or something like that. Oh yes. There is also a

> Nothing immediately comes to mind as broken about your configuration. Assuming
> you have compiled PCI support into the kernel, the BT-956C should not be
> reported as using I/O port 0x330. If it were using I/O port 0x330, it might be

Why not? Isn't it supposed to be? That is what the bios setup says!

> conflicting with the SounsBlaster, however. I'd like to see the startup

I was wrong. There is no soundblaster. Apparently it is planned for the
machine but is not yet in the box (I had just to bend down and take a look).

> messages from the BusLogic driver. Precisely where does this oops occur?
>
> Leonard

I am now using the 2.0.23 buslogic.bin slackware boot disk downloaded
from your home page (nice work!). Same result, but more error messages.
I'll type out what I can now see on the machine next to me ...

... 39.73 BogoMips (this is a 120MHz? Intel Pentium)
hda: FX001DE, ATAPI CDROM drive (configured as master)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Floppy Drive(s) fd0 is 1.44M
Started kswapd v 1.4.2.2
FDC 0 is a post-1991 82077
scsi0: Configuring Buslogic Model BT956C PCI Wide SCSI Host Adapter
Firmware Version: 4.28A, I/O Address: 0x6000, IRQ Channel: 11/Level
PCI Bus: 0, Device: 13, Address: Unassigned, Host Adapter SCSI ID: 7
Parity Checking: Enabled, Extended Translation: Disabled
Synchronous Negotiation: Fast, Wide Negotiation: Enabled
Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 255
Driver Queue Depth: 255, Host Adapter Queue Depth: 100
Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
SCSI Bus termination: Both Enabled
scsi0: CCB #0 to Target 0 Impossible State
general protection: 0000
CPU: 0
EIP: 0010:[<001ba02d>]
EFLAGS: 00010006
eax: f000ff53 ebx: 00000000 ecx: 00000000 edx: f000ff53
esi: 00006000 edi: 0000000b ebp: 00000000 esp: 00081c20
ds: 0018 es: 0018 fs: 002b gs: 0018 ss: 0018
Process swapper (pid: 1, process nr: 1, stackpage=00081000)
Stack: 00000000 00006000 00000000 0001a068 0000000b 00000000 00000000 001ba10b
003050d8 24000000 00000084 ffffff00 00000046 0010cf95 0000000b 00000000
00000000 0012f1e8 00016002 00006000 0010c95f 0000000b 0001a030 00016002
Call Trace: [<001ba10b>] [<0010cf95>] [<0012f1e8>] [<0010c95f>] [<001b61b3>]
[<0010d140>] [<001b8d28>]
[<001b987d>] [<001c0e1c>] [<001af524>] [<0018d82d>] [<00130ba0>]
[<0010ac06>] [<0012078>] [<0010986e>]
[<001094b8>] [<001094bf>] [<001097e8>]
Code: ff d0 83 c4 08 e9 58 fd ff ff 90 c6 05 30 bc 1e 00 00 5b 5e
Aiee, killing interrupt handler

This should be interpreted via your buslogic.bin System.map ... it does not
seem to be on the diskette. Hang on - I will search your web pages again.
Nope it's not there. Sorry - I can't do any better than this. I hope you can
match the assembler some other way.

I would guess that the fault is when init can't be started because there is no
disk! Can't we die gracefully? I am on a ramdisk. The stack seems to be
repeating. Maybe something called itself recursively and went out of the
stack "segment"? Would that be a gpf?

To rub salt in the wound, here is the FreeBSD dmesg for this machine (again).
Can anyone give me a clue?

==========================================================================
q 5
ep1 at 0x300-0x30f irq 12 on isa
ep1: utp[*UTP*] address 00:a0:24:88:d5:59 irq 12
npx0 on motherboard
npx0: INT 16 interface
pcibus_setup(1): mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e)
pcibus_setup(2): mode1res=0x80000000 (0x80000000)
pcibus_check: device 0 is there (id=08911060)
Probing for devi\M^?\^Che PCI bus:
configuration mode 1 allows 32 devices.
pci0:0: UMC, device=0x0891, class=bridge (host) [no driver assigned]
vga0 <VGA-compatible display device> rev 0 int a irq 10 on pci0:12
mapreg[10] type=0 addr=f0000000 size=800000.
pci0:13: Bus Logic, device=0x1040, class=storage (scsi) [no driver assigned]
map(10): io(6000)
pci0:18: UMC, device=0x886a, class=bridge (isa) [no driver assigned]
pci0: uses 8388608 bytes of memory from f0000000 upto f07fffff.
changing root device to sd1a
BIOS Geometries:
0:0209fe3f 0..521=522 cylinders, 0..254=255 heads, 1..63=63 sectors
1:03ff3f20 0..1023=1024 cylinders, 0..63=64 heads, 1..32=32 sectors
0 accounted for
sd1s1: type 0xa5, start 32, end = 8386559, size 8386528 : OK
sd0s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK
sd0s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK

syncing disks... done
Rebooting...
FreeBSD 2.1.0-RELEASE #0: Fri Sep 27 12:17:38 MET DST 1996
root@bsd1.it.uc3m.es:/usr/src/sys/compile/itserv
CPU: 100-MHz Pentium 815\\100 (Pentium-class CPU)
Origin = "GenuineIntel" Id = 0x525 Stepping=5
Features=0x1bf<FPU,VME,PSE,MCE,CX8,APIC>
real memory = 67108864 (65536K bytes)
avail memory = 62996480 (61520K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
bt0: Bt956C/ 0-PCI/EISA/VLB(32bit) bus
bt0: reading board settings, busmastering, int=11
bt0: version 4.28A, async only, parity, 32 mbxs, 32 ccbs
bt0: targ 0 async
bt0: targ 1 async
bt0: Using Strict Round robin scheme
bt0 at 0x330 irq 11 on isa
bt0 waiting for scsi devices to settle
(bt0:0:0): "SEAGATE ST15230W 0638" type 0 fixed SCSI 2
sd0(bt0:0:0): Direct-Access 4095MB (8386733 512 byte sectors)
sd0(bt0:0:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
(bt0:1:0): "SEAGATE ST15230W 0638" type 0 fixed SCSI 2
sd1(bt0:1:0): Direct-Access 4095MB (8386733 512 byte sectors)
sd1(bt0:1:0): with 3992 cyls, 19 heads, and an average 110 sectors/track
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (atapi): <FX001DE/0G 7>, removable, intr, iordis
wcd0: 689Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray
wcd0: no disc inside, unlocked
2 3C5x9 board(s) on ISA found at 0x200 0x300
ep0 at 0x200-0x20f irq 5 on isa
ep0: utp[*UTP*] address 00:a0:24:6c:80:06 irq 5
ep1 at 0x300-0x30f irq 12 on isa
ep1: utp[*UTP*] address 00:a0:24:88:d5:59 irq 12
npx0 on motherboard
npx0: INT 16 interface
pcibus_setup(1): mode1res=0x80000000 (0x80000000), mode2res=0xff (0x0e)
pcibus_setup(2): mode1res=0x80000000 (0x80000000)
pcibus_check: device 0 is there (id=08911060)
Probing for devices on the PCI bus:
configuration mode 1 allows 32 devices.
pci0:0: UMC, device=0x0891, class=bridge (host) [no driver assigned]
vga0 <VGA-compatible display device> rev 0 int a irq 10 on pci0:12
mapreg[10] type=0 addr=f0000000 size=800000.
pci0:13: Bus Logic, device=0x1040, class=storage (scsi) [no driver assigned]
map(10): io(6000)
pci0:18: UMC, device=0x886a, class=bridge (isa) [no driver assigned]
pci0: uses 8388608 bytes of memory from f0000000 upto f07fffff.
changing root device to sd1a
BIOS Geometries:
0:0209fe3f 0..521=522 cylinders, 0..254=255 heads, 1..63=63 sectors
1:03ff3f20 0..1023=1024 cylinders, 0..63=64 heads, 1..32=32 sectors
0 accounted for
sd1s1: type 0xa5, start 32, end = 8386559, size 8386528 : OK
sd0s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK
sd0s1: type 0xa5, start 63, end = 8385929, size 8385867 : OK

Peter T. Breuer
,---------------------------------------------------------------------------
|Departamento de Ingenieria de Sistemas Telematicos, Universidad Politecnica
|de Madrid, Escuela Tecnica Superior de Ingenieros de Telecomunicacion,
|Ciudad Universitaria, E--28040 Madrid, SPAIN.
|Tel. Office : +34 (1)336 6831
| Fax : +34 (1)543 2077 or 336 7333
|Internet : <ptb@eng.cam.ac.uk, ptb@comlab.ox.ac.uk, ptb@dit.upm.es>
| URL : http://www.dit.upm.es:80/~ptb/
`---------------------------------------------------------------------------