Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 1998 07:43:55 -0800 (PST)
From:      ilg@Romania.EU.net
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   kern/8555: boot panic with SONY SCSI CD-ROM CDU625-S 1.0r hooked
Message-ID:  <199811031543.HAA23521@hub.freebsd.org>

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

>Number:         8555
>Category:       kern
>Synopsis:       boot panic with SONY SCSI CD-ROM CDU625-S 1.0r hooked
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov  3 07:50:00 PST 1998
>Last-Modified:
>Originator:     Liviu Ionescu
>Organization:
EUnet Romania
>Release:        3.0-RELEASE
>Environment:
FreeBSD boca.ro.eu.net 3.0-RELEASE FreeBSD 3.0-RELEASE #1: Sun Nov  1 17:06:33 EET 1998     ilg@boca.ro.eu.net:/usr/src/sys/compile/ILGB  i386
>Description:
hooking one SONY SCSI CD-ROM CDU625-S 1.0r on the 8-bit cable of the secondary SCSI bus of an Intel DK440LX motherboard generates a panic while booting. the problem apears both for the customized kernel and the generic one. inserting a CD in the unit does not help. 

probably not related to the problem, but display of "target 3 using asynchronous transfers" and next messages is intersparsed with something like "Considering MFS root f/s."

captures of serial console output are attached.

if you think I can do anything to further diagnose this problem, please let me know.

regards,

Liviu



Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-RELEASE #1: Sun Nov  1 17:06:33 EET 1998
    ilg@boca.ro.eu.net:/usr/src/sys/compile/ILGB
Timecounter "i8254"  frequency 1193182 Hz  cost 3250 ns
CPU: Pentium II (686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping=3
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 268435456 (262144K bytes)
avail memory = 258293760 (252240K bytes)
Programming 24 pins in IOAPIC #0
SMP: CPU0 apic_initialize():
     lint0: 0x00000700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  1, version: 0x00040011, at 0xfee00000
 cpu1 (AP):  apic id:  0, version: 0x00040011, at 0xfee00000
 io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Found BIOS32 Service Directory header at 0xf00f7060
Entry = 0xfd781 (0xf00fd781)  Rev = 0  Len = 1
PCI BIOS entry at 0x21c
DMI header at 0xf00f7050
Version 2.0
Table at 0xef9a0, 49 entries, 1581 bytes
Other BIOS signatures found:
ACPI: 00000000
$PnP: 000f7090
SMP: CPU0 bsp_apic_configure():
     lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000010 SVR: 0x000001ff
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000058
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=71808086)
Probing for devices on PCI bus 0:
found-> vendor=0x8086, dev=0x7180, revid=0x03
        class=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        map[0]: type 3, range 32, base f8000000, size 26
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
found-> vendor=0x8086, dev=0x7181, revid=0x03
        class=06-04-00, hdrtype=0x01, mfdev=0
        subordinatebus=1        secondarybus=1
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
found-> vendor=0x8086, dev=0x7110, revid=0x01
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.2.0
found-> vendor=0x8086, dev=0x7111, revid=0x01
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 0 status: 20 from port: 0000fcb2
ide_pci: ide0:0 has been configured for DMA by BIOS
intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling enabled,
intel_piix_status:  fast PIO enabled
intel_piix_status: secondary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status:  IORDY sampling disabled,
intel_piix_status:  fast PIO disabled
ide_pci: busmaster 1 status: 20 from port: 0000fcba
ide_pci: ide1:0 has been configured for DMA by BIOS
Freeing (NOT implemented) redirected PCI irq 9.
found-> vendor=0x8086, dev=0x7112, revid=0x01
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=d, irq=19
chip3: <Intel 82371AB USB host controller> rev 0x01 int d irq 19 on pci0.2.2
found-> vendor=0x8086, dev=0x7113, revid=0x01
        class=06-80-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
chip4: <Intel 82371AB Power management controller> rev 0x01 on pci0.2.3
Freeing (NOT implemented) redirected PCI irq 9.
found-> vendor=0x8086, dev=0x1229, revid=0x02
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=19
        map[0]: type 3, range 32, base fecfc000, size 12
        map[1]: type 4, range 32, base 0000fcc0, size  5
        map[2]: type 1, range 32, base fed00000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 19 on pci0.3.0
fxp0: Ethernet address 00:a0:c9:ac:c4:7b
bpf: fxp0 attached
Freeing (NOT implemented) redirected PCI irq 9.
found-> vendor=0x9004, dev=0x7895, revid=0x03
        class=01-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=a, irq=17
        map[0]: type 4, range 32, base 0000f800, size  8
        map[1]: type 1, range 32, base fecff000, size 12
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 17 on pci0.9.0
ahc0: Reading SEEPROM...done.
ahc0: Low byte termination Enabled
ahc0: High byte termination Enabled
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Resetting Channel A
ahc0: Downloading Sequencer Program... 384 instructions downloaded
Freeing (NOT implemented) redirected PCI irq 9.
found-> vendor=0x9004, dev=0x7895, revid=0x03
        class=01-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=b, irq=17
        map[0]: type 4, range 32, base 0000f400, size  8
        map[1]: type 1, range 32, base fecfe000, size 12
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 17 on pci0.9.1
        using shared irq17.
ahc1: Reading SEEPROM...done.
ahc1: Low byte termination Enabled
ahc1: High byte termination Enabled
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
ahc1: Resetting Channel B
ahc1: Downloading Sequencer Program... 384 instructions downloaded
Probing for devices on PCI bus 1:
Freeing (NOT implemented) redirected PCI irq 11.
found-> vendor=0x8086, dev=0x7800, revid=0x21
        class=03-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=16
        map[0]: type 3, range 32, base f6000000, size 24
        map[1]: type 1, range 32, base feb00000, size 19
vga0: <VGA-compatible display device> rev 0x21 int a irq 16 on pci1.0.0
Probing for devices on the ISA bus:
video: RTC equip. code:0x03, DCC code:0x09
video: CRTC:0x3d4, video option:0x60, rows:80, cols:25, font height:16
video: param table EGA/VGA:0xf00c02b8, CGA/MDA:0
video: rows_offset:1
video#0: adapter type:VGA (5), flags:0x7f, CRTC:0x3d4
video#0: init mode:24, bios mode:3, current mode:24
video#0: window:0xf00b8000 size:32k gran:32k, buf:0xf0000000 size:0k
video#0: mode:0, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:1, flags:0x1 T 40x25, font:8x8, win:0xb8000
video#0: mode:2, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:3, flags:0x1 T 80x25, font:8x8, win:0xb8000
video#0: mode:19, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:20, flags:0x1 T 40x25, font:8x14, win:0xb8000
video#0: mode:21, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:22, flags:0x1 T 80x25, font:8x14, win:0xb8000
video#0: mode:23, flags:0x1 T 40x25, font:8x16, win:0xb8000
video#0: mode:25, flags:0x0 T 80x25, font:8x16, win:0xb0000
video#0: mode:24, flags:0x1 T 80x25, font:8x16, win:0xb8000
video#0: mode:7, flags:0x0 T 80x25, font:8x14, win:0xb0000
video#0: mode:112, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:113, flags:0x1 T 80x43, font:8x8, win:0xb8000
video#0: mode:33, flags:0x0 T 80x30, font:8x16, win:0xb0000
video#0: mode:32, flags:0x1 T 80x30, font:8x16, win:0xb8000
video#0: mode:31, flags:0x0 T 80x50, font:8x8, win:0xb0000
video#0: mode:30, flags:0x1 T 80x50, font:8x8, win:0xb8000
video#0: mode:35, flags:0x0 T 80x60, font:8x8, win:0xb0000
video#0: mode:34, flags:0x1 T 80x60, font:8x8, win:0xb8000
video#0: mode:4, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:5, flags:0x3 G 320x200x2, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:6, flags:0x3 G 640x200x1, 1 plane(s), font:8x8, win:0xb8000
video#0: mode:13, flags:0x3 G 320x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:14, flags:0x3 G 640x200x4, 4 plane(s), font:8x8, win:0xa0000
video#0: mode:15, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:17, flags:0x2 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:16, flags:0x3 G 640x350x2, 2 plane(s), font:8x14, win:0xa0000
video#0: mode:18, flags:0x3 G 640x350x4, 4 plane(s), font:8x14, win:0xa0000
video#0: mode:26, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:27, flags:0x3 G 640x480x4, 4 plane(s), font:8x16, win:0xa0000
video#0: mode:28, flags:0x3 G 320x200x8, 1 plane(s), font:8x8, win:0xa0000
video#0: mode:37, flags:0x3 G 320x240x8, 1 plane(s), font:8x8, win:0xa0000
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: the current keyboard controller command byte 0045
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0: keyboard device ID: ab41
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
bpf: lp0 attached
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at 0x3f8-0x3ff irq 4 flags 0x30 on isa
sio0: type 16550A, console
sio1: irq maps: 0x1 0x9 0x1 0x1
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC34300L>
wd0: 4104MB (8406720 sectors), 8896 cyls, 15 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0007, apio = 0003, udma = 0407
wdc1 at 0x170-0x177 irq 15 on isa
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
imasks: bio c800c040, tty c708009a, net c708009a
SMP: enabled INTs: 1, 3, 4, 6, 7, 14, 15, 17, 19, apic_imen: 0x00f53f25
BIOS Geometries:
 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors
 1:0209fe3f 0..521=522 cylinders, 0..254=255 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via pin 2
IP packet filtering initialized, divert enabled, rule-based forwarding enabled, default to accept, logging limited to 100 packets/entry
bpf: tun0 attached
bpf: sl0 attached
bpf: sl1 attached
bpf: ppp0 attached
bpf: ppp1 attached
new masks: bio c800c040, tty c708009a, net c708009a
bpf: lo0 attached
bpf: ds0 attached
ccd0-3: Concatenated disk drivers
IP Filter: initialized.  Default = pass all, Logging = enabledWaiting 2 seconds for SCSI devices to settle
(noperiph:ahc0:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.
(noperiph:ahc1:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
ahc0: Selection Timeout on A:1. 1 SCBs aborted
ahc1: Selection Timeout on A:0. 1 SCBs aborted
ahc0: Selection Timeout on A:2. 1 SCBs aborted
ahc1: Selection Timeout on A:1. 1 SCBs aborted
ahc0: Selection Timeout on A:3. 1 SCBs aborted
ahc1: Selection Timeout on A:2. 1 SCBs aborted
ahc0: Selection Timeout on A:4. 1 SCBs aborted
ahc1: Selection Timeout on A:4. 1 SCBs aborted
ahc0: Selection Timeout on A:5. 1 SCBs aborted
ahc1: Selection Timeout on A:5. 1 SCBs aborted
ahc0: Selection Timeout on A:6. 1 SCBs aborted
ahc1: Selection Timeout on A:6. 1 SCBs aborted
ahc0: Selection Timeout on A:8. 1 SCBs aborted
ahc1: Selection Timeout on A:8. 1 SCBs aborted
ahc0: Selection Timeout on A:9. 1 SCBs aborted
ahc1: Selection Timeout on A:9. 1 SCBs aborted
ahc0: Selection Timeout on A:10. 1 SCBs aborted
ahc1: Selection Timeout on A:10. 1 SCBs aborted
ahc0: Selection Timeout on A:11. 1 SCBs aborted
ahc1: Selection Timeout on A:11. 1 SCBs aborted
ahc0: Selection Timeout on A:12. 1 SCBs aborted
ahc1: Selection Timeout on A:12. 1 SCBs aborted
ahc0: Selection Timeout on A:13. 1 SCBs aborted
ahc1: Selection Timeout on A:13. 1 SCBs aborted
ahc0: Selection Timeout on A:14. 1 SCBs aborted
ahc1: Selection Timeout on A:14. 1 SCBs aborted
ahc0: Selection Timeout on A:15. 1 SCBs aborted
ahc0: target 0 using 16bit transfers
ahc1: Selection Timeout on A:15. 1 SCBs aborted
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
(probe18:ahc1:0:3:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe18:ahc1:0:3:0): ILLEGAL REQUEST asc:24,0
(probe18:ahc1:0:3:0): Invalid field in CDB
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe18:ahc1:0:3:0): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11a
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 using asynchronous transfers
ahc1: target 3 using asynchronous transfers
pass0 at ahc0 bus 0 target 0 lun 0
pass0: <SEAGATE ST39102LW 0005> Fixed Direct Access SCSI2 device 
pass0: Serial Number NJ12634600002903H0A1
pass0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
pass1 at ahc1 bus 0 target 3 lun 0
pass1: <SONY CD-ROM CDU625-S 1.0r> Removable CD-ROM SCSI2 device 
pass1: 3.300MB/s transfers
pass2 at ahc1 bus 0 target 3 lun 1
pass2: <  > Fixed Direct Access SCSI0 device 
pass2: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39102LW 0005> Fixed Direct Access SCSI2 device 
da0: Serial Number NJ12634600002903H0A1
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
ahc1: target 3 using asynchronous transfers
Coahc1: target 3 using asynchronous transfers
nsahc1: target 3 using asynchronous transfers
idahc1: target 3 using asynchronous transfers
erahc1: target 3 using asynchronous transfers
inahc1: target 3 using asynchronous transfers
g ahc1: target 3 using asynchronous transfers
MFahc1: target 3 using asynchronous transfers
S(cd0:ahc1:0:3:0): READ CD RECORDED CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(cd0:ahc1:0:3:0): NOT READY asc:3a,0
(cd0:ahc1:0:3:0): Medium not present
cd0 at ahc1 bus 0 target 3 lun 0
cd0: <SONY CD-ROM CDU625-S 1.0r> Removable CD-ROM SCSI2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
ahc1: target 3 using asynchronous transfers
 rahc1: target 3 using asynchronous transfers
ooahc1: target 3 using asynchronous transfers
t ahc1: target 3 using asynchronous transfers
f/ahc1: target 3 using asynchronous transfers
s.ahc1: target 3 using asynchronous transfers
(da1:ahc1:0:3:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:ahc1:0:3:1): ILLEGAL REQUEST asc:25,0
(da1:ahc1:0:3:1): Logical unit not supported
(da1:ahc1:0:3:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:ahc1:0:3:1): ILLEGAL REQUEST asc:25,0
(da1:ahc1:0:3:1): Logical unit not supported
(da1:ahc1:0:3:1): fatal error, failed to attach to device(da1:ahc1:0:3:1): removing device entry


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x20d50
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf0104f95
stack pointer           = 0x10:0xf02e0bb8
frame pointer           = 0x10:0xf02e0bc8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
interrupt mask          = net tty cam  <- SMP: XXX
kernel: type 12 trap, code=0
Stopped at      _xpt_release_ccb+0x55:  movl    0x30(%eax),%eax
db> sh page
cnt.v_free_count: 62867
cnt.v_cache_count: 0
cnt.v_inactive_count: 0
cnt.v_active_count: 0
cnt.v_wire_count: 1116
cnt.v_free_reserved: 0
cnt.v_free_min: 0
cnt.v_free_target: 0
cnt.v_cache_min: 0
cnt.v_inactive_target: 0
db> sh pro
p = 0xf02961c0, vmspace = 0xf026c140, map = 0xf026c140, pmap = 0xf026c1a0
Task map 0xf026c140: pmap=0xf026c1a0, nentries=0, version=0
db> ps
  pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
    0 f02961c0 f02df000    0     0     0 000204  2                  swapper
db>





... and the same problem with a CD in the unit:

[...]
Waiting 2 seconds for SCSI devices to settle
(noperiph:ahc0:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.
(noperiph:ahc1:0:X:X): SCSI bus reset delivered. 0 SCBs aborted.
SMP: AP CPU #1 Launched!
SMP: CPU1 apic_initialize():
     lint0: 0x00010700 lint1: 0x00010400 TPR: 0x00000010 SVR: 0x000001ff
ahc0: Selection Timeout on A:1. 1 SCBs aborted
ahc1: Selection Timeout on A:0. 1 SCBs aborted
ahc0: Selection Timeout on A:2. 1 SCBs aborted
ahc1: Selection Timeout on A:1. 1 SCBs aborted
ahc0: Selection Timeout on A:3. 1 SCBs aborted
ahc1: Selection Timeout on A:2. 1 SCBs aborted
ahc0: Selection Timeout on A:4. 1 SCBs aborted
ahc1: Selection Timeout on A:4. 1 SCBs aborted
ahc0: Selection Timeout on A:5. 1 SCBs aborted
ahc1: Selection Timeout on A:5. 1 SCBs aborted
ahc0: Selection Timeout on A:6. 1 SCBs aborted
ahc1: Selection Timeout on A:6. 1 SCBs aborted
ahc0: Selection Timeout on A:8. 1 SCBs aborted
ahc1: Selection Timeout on A:8. 1 SCBs aborted
ahc0: Selection Timeout on A:9. 1 SCBs aborted
ahc1: Selection Timeout on A:9. 1 SCBs aborted
ahc0: Selection Timeout on A:10. 1 SCBs aborted
ahc1: Selection Timeout on A:10. 1 SCBs aborted
ahc0: Selection Timeout on A:11. 1 SCBs aborted
ahc1: Selection Timeout on A:11. 1 SCBs aborted
ahc0: Selection Timeout on A:12. 1 SCBs aborted
ahc1: Selection Timeout on A:12. 1 SCBs aborted
ahc0: Selection Timeout on A:13. 1 SCBs aborted
ahc1: Selection Timeout on A:13. 1 SCBs aborted
ahc0: Selection Timeout on A:14. 1 SCBs aborted
ahc1: Selection Timeout on A:14. 1 SCBs aborted
ahc0: Selection Timeout on A:15. 1 SCBs aborted
ahc0: target 0 using 16bit transfers
ahc1: Selection Timeout on A:15. 1 SCBs aborted
ahc0: target 0 synchronous at 20.0MHz, offset = 0x8
(probe18:ahc1:0:3:0): INQUIRY. CDB: 12 1 80 0 ff 0 
(probe18:ahc1:0:3:0): ILLEGAL REQUEST asc:24,0
(probe18:ahc1:0:3:0): Invalid field in CDB
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe18:ahc1:0:3:0): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11a
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 synchronous at 20.0MHz, offset = 0xf
(probe0:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
ahc1: target 3 using asynchronous transfers
ahc1: target 3 using asynchronous transfers
ahc1: target 3 using asynchronous transfers
pass0 at ahc0 bus 0 target 0 lun 0
pass0: <SEAGATE ST39102LW 0005> Fixed Direct Access SCSI2 device 
pass0: Serial Number NJ12634600002903H0A1
pass0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
pass1 at ahc1 bus 0 target 3 lun 0
pass1: <SONY CD-ROM CDU625-S 1.0r> Removable CD-ROM SCSI2 device 
pass1: 3.300MB/s transfers
pass2 at ahc1 bus 0 target 3 lun 1
pass2: <  > Fixed Direct Access SCSI0 device 
pass2: 3.300MB/s transfers
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39102LW 0005> Fixed Direct Access SCSI2 device 
da0: Serial Number NJ12634600002903H0A1
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
ahc1: target 3 using asynchronous transfers
Coahc1: target 3 using asynchronous transfers
nscd0 at ahc1 bus 0 target 3 lun 0
cd0: <SONY CD-ROM CDU625-S 1.0r> Removable CD-ROM SCSI2 device 
cd0: 3.300MB/s transfers
cd0: cd present [214536 x 2048 byte records]
ahc1: target 3 using asynchronous transfers
idahc1: target 3 using asynchronous transfers
erahc1: target 3 using asynchronous transfers
inahc1: target 3 using asynchronous transfers
g ahc1: target 3 using asynchronous transfers
MFahc1: target 3 using asynchronous transfers
S ahc1: target 3 using asynchronous transfers
roahc1: target 3 using asynchronous transfers
o(da1:ahc1:0:3:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:ahc1:0:3:1): ILLEGAL REQUEST asc:25,0
(da1:ahc1:0:3:1): Logical unit not supported
(da1:ahc1:0:3:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:ahc1:0:3:1): ILLEGAL REQUEST asc:25,0
(da1:ahc1:0:3:1): Logical unit not supported
(da1:ahc1:0:3:1): fatal error, failed to attach to device(da1:ahc1:0:3:1): removing device entry


Fatal trap 12: page fault while in kernel mode
mp_lock = 01000003; cpuid = 1; lapic.id = 00000000
fault virtual address   = 0x20d50
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xf0104f95
stack pointer           = 0x10:0xf02e0bb8
frame pointer           = 0x10:0xf02e0bc8
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 0 (swapper)
interrupt mask          = net tty cam  <- SMP: XXX
kernel: type 12 trap, code=0
Stopped at      _xpt_release_ccb+0x55:  movl    0x30(%eax),%eax
db>






cor completeness, the same problem with the GENERIC kernel:


boot: 1:wd(0,a)kernel
Booting 1:wd(0,a)kernel @ 0x100000
text=0x178000 data=0x1c000 bss=0x1de70 symbols=[+0x190+0x4+0x17dcc+0x4+0x216e2]
total=0x2eb4b6 entry point=0x100000
BIOS basemem (638K) != RTC basemem (640K), setting to BIOS value
BIOS extmem (65532K) != RTC extmem (65535K)
Copyright (c) 1992-1998 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights reserved.
FreeBSD 3.0-RELEASE #0: Sat Oct 17 17:45:06 GMT 1998
    jkh@kickme.freebsd.org:/usr/src/sys/compile/GENERIC
Timecounter "i8254"  frequency 1193182 Hz  cost 3031 ns
CPU: Pentium II (266.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x633  Stepping=3
  Features=0x80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 268435456 (262144K bytes)
avail memory = 258510848 (252452K bytes)
Probing for devices on PCI bus 0:
chip0: <Host to PCI bridge (vendor=8086 device=7180)> rev 0x03 on pci0.0.0
chip1: <PCI to PCI bridge (vendor=8086 device=7181)> rev 0x03 on pci0.1.0
chip2: <Intel 82371AB PCI to ISA bridge> rev 0x01 on pci0.2.0
ide_pci0: <Intel PIIX4 Bus-master IDE controller> rev 0x01 on pci0.2.1
chip3: <Intel 82371AB USB host controller> rev 0x01 int d irq 9 on pci0.2.2
chip4: <Intel 82371AB Power management controller> rev 0x01 on pci0.2.3
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x02 int a irq 9 on pci0.3.0
fxp0: Ethernet address 00:a0:c9:ac:c4:7b
ahc0: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int a irq 9 on pci0.9.0
ahc0: aic7895 Wide Channel A, SCSI Id=7, 16/255 SCBs
ahc0: Host Adapter Bios disabled.  Using default SCSI device parameters
ahc1: <Adaptec aic7895 Ultra SCSI adapter> rev 0x03 int b irq 9 on pci0.9.1
ahc1: aic7895 Wide Channel B, SCSI Id=7, 16/255 SCBs
Probing for devices on PCI bus 1:
vga0: <VGA-compatible display device> rev 0x21 int a irq 11 on pci1.0.0
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
fe0 not found at 0x300
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A, console
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
psm0 not found at 0x60
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC34300L>
wd0: 4104MB (8406720 sectors), 8896 cyls, 15 heads, 63 S/T, 512 B/S
wdc0: unit 1 (wd1): <Conner Peripherals 200MB - CP3204F>
wd1: 203MB (415872 sectors), 684 cyls, 16 heads, 38 S/T, 512 B/S
wdc1 not found at 0x170
wt0 not found at 0x300
mcd0 not found at 0x300
matcdc0 not found at 0x230
scd0 not found at 0x230
ie0: unknown board_id: f000
ie0 not found at 0x300
ep0 not found at 0x300
ex0 not found
le0 not found at 0x300
lnc0 not found at 0x280
ze0 not found at 0x300
zp0 not found at 0x300
cs0 not found at 0x300
adv0 not found at 0x330
bt0 not found at 0x134
aha0 not found at 0x134
npx0 on motherboard
npx0: INT 16 interface
Waiting 15 seconds for SCSI devices to settle
(probe18:ahc1:0:3:0): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
(probe1:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
(probe1:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
(probe1:ahc1:0:3:1): parity error during Data-In phase.
SEQADDR == 0x11b
SCSIRATE == 0xf
cda0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39102LW 0005> Fixed Direct Access SCSI2 device 
da0: 40.0MB/s transfers (20.0MHz, offset 8, 16bit), Tagged Queueing Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
hanging root device to wd0s1a
cd0 at ahc1 bus 0 target 3 lun 0
cd0: <SONY CD-ROM CDU625-S 1.0r> Removable CD-ROM SCSI2 device 
cd0: 3.300MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
(da1:ahc1:0:3:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 
(da1:ahc1:0:3:1): ILLEGAL REQUEST asc:25,0
(da1:ahc1:0:3:1): Logical unit not supported
(da1:ahc1:0:3:1): fatal error, failed to attach to device(da1:ahc1:0:3:1): removing device entry
swapon: adding /dev/wd0s1b as swap device
Automatic reboot in progress...
/dev/rwd0s1a: clean, 6335 free (39 frags, 787 blocks, 0.1% fragmentation)
/dev/rwd0s1f: clean, 1777296 free (30744 frags, 218319 blocks, 0.9% fragmentation)
/dev/rwd0s1e: clean, 28177 free (121 frags, 3507 blocks, 0.4% fragmentation)
dmesg: kvm_read: kvm_read: Bad address
Doing initial network setup: hostname.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 193.226.128.210 netmask 0xffffff80 broadcast 193.226.128.255
        ether 00:a0:c9:ac:c4:7b 
        media: autoselect
        supported media: autoselect 100baseTX <full-duplex> 100baseTX 10baseT/UTP <full-duplex> 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 

add net default: gateway 193.226.128.130
Additional routing options:.
recording kernel -c changes
additional daemons: syslogd.
Doing additional network setup: ntpdate portmap.
Starting final network daemons:.
setting ldconfig path: /usr/lib /usr/lib/compat /usr/X11R6/lib /usr/local/lib
starting standard daemons: inetd cron sendmailOct 29 15:03:48 boca inetd[112]: setsockopt (SO_PRIVSTATE): Protocol not available
>How-To-Repeat:
>Fix:
>Audit-Trail:
>Unformatted:

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



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