Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Jul 2000 16:41:32 +0200
From:      Ron Klinkien <ron@zappa.demon.nl>
To:        current@freebsd.org
Subject:   Sysinstall panics kernel when SCSI_DELAY in kernel is too short, is this  ok?
Message-ID:  <3963491C.FA3546D9@zappa.demon.nl>

next in thread | raw e-mail | index | archive | help
Hi,

In current as of today, /stand/sysinstall generates the following kernel
panic when probing for devices...

--- (typed manually from console) ---

fatal trap 12:	page fault while in kernel mode
fault virtual addres = 0x26c80
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc017309e
stack pointer = 0x10:0xc8782d04
frame pointer = 0x10:0xc8782d04
code segment = base 0x0, limit 0xfffff, type 0x1b
              = DPL 0, pres 1, def32 1, gram 1
processor eflags  = interrupt enabled, resume, IOPL = 0
current process = 163 (sysinstall)
interrupt mask = none
trap number = 12
panic: page fault


scsi part from dmesg:

da0 at ahc0 bus 0 target 10 lun 0
da0: <QUANTUM ATLAS IV 9 WLS 0909> Fixed Direct Access SCSI-3 device 
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing
Enabled
da0: 8761MB (17942584 512 byte sectors: 255H 63S/T 1116C)
WARNING: / was not properly dismounted
(cd1:ahc0:0:5:0): got CAM status 0x4c
(cd1:ahc0:0:5:0): fatal error, failed to attach to device
(cd1:ahc0:0:5:0): lost device
(cd1:ahc0:0:5:0): removing device entry
cd0 at ahc0 bus 0 target 1 lun 0
cd0: <PLEXTOR CD-ROM PX-32TS 1.03> Removable CD-ROM SCSI-2 device 
cd0: 10.000MB/s transfers (10.000MHz, offset 15)
cd0: Attempt to query device size failed: NOT READY, Medium not present

Notice the cd1: lines, its a CDR (HP 4020i) which is not recognized
because SCSI_DELAY
was too short in kernel config.

When I raise it too 15000 instead of 150 the cd1 is recognized on
startup.
And the panic went away, thats not the problem.

My question is:
Is the device entry removed ok from the system like dmesg says,
sysinstall seems
to still find something there when probing, and crashes the system.

The scsi controller is a ahc type (onboard Asus P2B-S).

Regards,
Ron.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3963491C.FA3546D9>