NetBSD Problem Report #32474

From www@netbsd.org  Sat Jan  7 12:10:51 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id A1BD863B869; Sat,  7 Jan 2006 12:10:51 +0000 (UTC)
Message-Id: <20060107121051.A1BD863B869@narn.netbsd.org>
Date: Sat,  7 Jan 2006 12:10:51 +0000 (UTC)
From: glenn@squirrelsolutions.co.uk
Reply-To: glenn@squirrelsolutions.co.uk
To: gnats-bugs@netbsd.org
Subject: SCSI tape /dev/st fails on NetBSD 2.1 onwards
X-Send-Pr-Version: www-1.0

>Number:         32474
>Category:       port-i386
>Synopsis:       SCSI tape /dev/st fails on NetBSD 2.1 onwards
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 07 12:15:00 +0000 2006
>Last-Modified:  Tue Jan 10 08:50:01 +0000 2006
>Originator:     Glenn Richards
>Release:        2.1 onwards
>Organization:
Squirrel Solutions
>Environment:
NetBSD server 3.0_RC6 NetBSD 3.0_RC6 (SERVER) #2: Tue Dec 13 18:50:22 GMT 2005  glenn@server:/usr/src/sys/arch/i386/compile/SERVER i386
>Description:
During hardware probe, or when rescanning SCSI bus, attempting to detect a SCSI tape drive (Freecom/HP DAT-72 DDS-5) fails with "SCSI opcode 0x12 timed out" on NetBSD 2.1 or later.

Have tested this with 2.1, 3.0 RC5, RC6 and 3.0 using Tekram DC-395UW SCSI card. Downgrading to 2.0.2 solves problem.
>How-To-Repeat:
Connect a tape drive to SCSI bus - not sure if problem is with trm or st driver though. Have not been able to test with alternative SCSI card.
>Fix:
At present downgrading to 2.0.2 seems to be the only solution...

>Audit-Trail:
From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-i386/32474: SCSI tape /dev/st fails on NetBSD 2.1 onwards
Date: Sat, 7 Jan 2006 14:37:03 +0100

 On Sat, Jan 07, 2006 at 12:15:00PM +0000, glenn@squirrelsolutions.co.uk wrote:
 > >Number:         32474
 > >Category:       port-i386
 > >Synopsis:       SCSI tape /dev/st fails on NetBSD 2.1 onwards
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       high
 > >Responsible:    port-i386-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Jan 07 12:15:00 +0000 2006
 > >Originator:     Glenn Richards
 > >Release:        2.1 onwards
 > >Organization:
 > Squirrel Solutions
 > >Environment:
 > NetBSD server 3.0_RC6 NetBSD 3.0_RC6 (SERVER) #2: Tue Dec 13 18:50:22 GMT 2005  glenn@server:/usr/src/sys/arch/i386/compile/SERVER i386
 > >Description:
 > During hardware probe, or when rescanning SCSI bus, attempting to detect a SCSI tape drive (Freecom/HP DAT-72 DDS-5) fails with "SCSI opcode 0x12 timed out" on NetBSD 2.1 or later.
 > 
 > Have tested this with 2.1, 3.0 RC5, RC6 and 3.0 using Tekram DC-395UW SCSI card. Downgrading to 2.0.2 solves problem.

 Can you post the full dmesg including the kernel error messages ?

 > >How-To-Repeat:
 > Connect a tape drive to SCSI bus - not sure if problem is with trm or st driver though. Have not been able to test with alternative SCSI card.

 Probably trm. Nothing relevant changed in src/sys/dev/scsipi/ between 2.0.2
 and 2.1

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Glenn Richards <glenn@squirrelsolutions.co.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-i386/32474: SCSI tape /dev/st fails on NetBSD 2.1 onwards
Date: Sat, 07 Jan 2006 18:18:57 +0000

 Manuel Bouyer wrote:

 > Can you post the full dmesg including the kernel error messages ?

 Can't get access to full dmesg atm, only machine with 3.0 and SCSI tape
 drive is the other end of the country and I'm not in a position to
 reboot it atm. Actual error message that comes up from the kernel is:

 probe(trm0:0:3:0): SCSI OpCode 0x12 timed out

 Can look into it some more if you need any more info though.

 >> Connect a tape drive to SCSI bus - not sure if problem is with trm
 >> or st driver though. Have not been able to test with alternative
 >> SCSI card.
 > Probably trm. Nothing relevant changed in src/sys/dev/scsipi/ between
 > 2.0.2 and 2.1

 Ok, thanks. Any ideas so far?

 -- 
   Glenn Richards                                     Tel: (01453) 845735
   Squirrel Solutions                 http://www.squirrelsolutions.co.uk/

   IT consultancy, hardware and software support, broadband installation

From: Manuel Bouyer <bouyer@antioche.eu.org>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org, glenn@squirrelsolutions.co.uk
Subject: Re: port-i386/32474: SCSI tape /dev/st fails on NetBSD 2.1 onwards
Date: Mon, 9 Jan 2006 23:55:52 +0100

 On Sat, Jan 07, 2006 at 06:20:02PM +0000, Glenn Richards wrote:
 > The following reply was made to PR port-i386/32474; it has been noted by GNATS.
 > 
 > From: Glenn Richards <glenn@squirrelsolutions.co.uk>
 > To: gnats-bugs@netbsd.org
 > Cc: 
 > Subject: Re: port-i386/32474: SCSI tape /dev/st fails on NetBSD 2.1 onwards
 > Date: Sat, 07 Jan 2006 18:18:57 +0000
 > 
 >  Manuel Bouyer wrote:
 >  
 >  > Can you post the full dmesg including the kernel error messages ?
 >  
 >  Can't get access to full dmesg atm, only machine with 3.0 and SCSI tape
 >  drive is the other end of the country and I'm not in a position to
 >  reboot it atm. Actual error message that comes up from the kernel is:
 >  
 >  probe(trm0:0:3:0): SCSI OpCode 0x12 timed out
 >  
 >  Can look into it some more if you need any more info though.

 Don't you have /var/run/dmesg.boot at last to get the initial boot
 messages ?

 -- 
 Manuel Bouyer <bouyer@antioche.eu.org>
      NetBSD: 26 ans d'experience feront toujours la difference
 --

From: Glenn Richards <glenn@squirrelsolutions.co.uk>
To: Manuel Bouyer <bouyer@antioche.eu.org>
Cc: gnats-bugs@NetBSD.org, port-i386-maintainer@NetBSD.org,
	gnats-admin@NetBSD.org, netbsd-bugs@NetBSD.org
Subject: Re: port-i386/32474: SCSI tape /dev/st fails on NetBSD 2.1 onwards
Date: Tue, 10 Jan 2006 08:48:01 +0000

 Manuel Bouyer wrote:

 > Don't you have /var/run/dmesg.boot at last to get the initial boot
 > messages ?

 Good point - weekend syndrome I think!

 NetBSD 3.0_RC6 (SERVER) #2: Tue Dec 13 18:50:22 GMT 2005
 	glenn@server:/usr/src/sys/arch/i386/compile/SERVER
 total memory = 511 MB
 avail memory = 496 MB
 BIOS32 rev. 0 found at 0xfdb10
 mainbus0 (root)
 cpu0 at mainbus0: (uniprocessor)
 cpu0: AMD Athlon XP 2400+ (686-class), 1999.99 MHz, id 0x681
 cpu0: features c3c3fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
 cpu0: features c3c3fbff<PGE,MCA,CMOV,PAT,PSE36,MMXX,MMX>
 cpu0: features c3c3fbff<FXSR,SSE,3DNOW2,3DNOW>
 cpu0: "AMD Athlon(tm) XP 2400+"
 cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
 cpu0: L2 cache 256 KB 64B/line 16-way
 cpu0: ITLB 16 4 KB entries fully associative, 8 4 MB entries fully 
 associative
 cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries 4-way
 cpu0: 8 page colors
 pci0 at mainbus0 bus 0: configuration mode 1
 pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
 pchb0 at pci0 dev 0 function 0
 pchb0: Silicon Integrated System 746 Host Bridge (rev. 0x10)
 agp0 at pchb0: aperture at 0xd0000000, size 0x4000000
 ppb0 at pci0 dev 1 function 0: Silicon Integrated System 86C202 (rev. 0x00)
 pci1 at ppb0 bus 1
 pci1: i/o space, memory space enabled
 vga0 at pci1 dev 0 function 0: ATI Technologies Radeon 7000/VE (rev. 0x00)
 wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
 wsmux1: connecting to wsdisplay0
 pcib0 at pci0 dev 2 function 0
 pcib0: Silicon Integrated System 85C503 or 5597/5598 ISA bridge (rev. 0x25)
 siside0 at pci0 dev 2 function 5
 siside0: Silicon Integrated Systems 96X UDMA6746 IDE controller (rev. 0x00)
 siside0: bus-master DMA support present
 siside0: primary channel wired to compatibility mode
 siside0: primary channel interrupting at irq 14
 atabus0 at siside0 channel 0
 siside0: secondary channel wired to compatibility mode
 siside0: secondary channel interrupting at irq 15
 atabus1 at siside0 channel 1
 auich0 at pci0 dev 2 function 7: SiS 7012 AC-97 Audio
 auich0: interrupting at irq 11
 auich0: ac97: C-Media unknown (0x434d4982) codec; no 3D stereo
 auich0: ac97: ext id bc2<AC97_23,AMAP,LDAC,SDAC,CDAC,DRA>
 ohci0 at pci0 dev 3 function 0: Silicon Integrated System 5597/5598 USB 
 host controller (rev. 0x0f)
 ohci0: interrupting at irq 10
 ohci0: OHCI version 1.0, legacy support
 usb0 at ohci0: USB revision 1.0
 uhub0 at usb0
 uhub0: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub0: 3 ports with 3 removable, self powered
 ohci1 at pci0 dev 3 function 1: Silicon Integrated System 5597/5598 USB 
 host controller (rev. 0x0f)
 ohci1: interrupting at irq 10
 ohci1: OHCI version 1.0, legacy support
 usb1 at ohci1: USB revision 1.0
 uhub1 at usb1
 uhub1: Silicon Integra OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
 uhub1: 3 ports with 3 removable, self powered
 ehci0 at pci0 dev 3 function 2: Silicon Integrated System 7002 USB 2.0 
 host controller (rev. 0x00)
 ehci0: interrupting at irq 10
 ehci0: BIOS refuses to give up ownership, using force
 ehci0: EHCI version 1.0
 ehci0: companion controllers, 3 ports each: ohci0 ohci1
 usb2 at ehci0: USB revision 2.0
 uhub2 at usb2
 uhub2: Silicon Integra EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
 uhub2: single transaction translator
 uhub2: 6 ports with 6 removable, self powered
 sip0 at pci0 dev 4 function 0: SiS 900 10/100 Ethernet, rev 0x90
 sip0: interrupting at irq 10
 sip0: Ethernet address 00:0b:6a:3b:1e:b3
 ukphy0 at sip0 phy 1: Generic IEEE 802.3u media interface
 ukphy0: OUI 0x000004, model 0x0020, rev. 1
 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 rtk0 at pci0 dev 9 function 0: Realtek 8139 10/100BaseTX
 rtk0: interrupting at irq 10
 rtk0: Ethernet address 00:02:44:76:6c:91
 ukphy1 at rtk0 phy 7: Generic IEEE 802.3u media interface
 ukphy1: OUI 0x000000, model 0x0000, rev. 0
 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 trm0 at pci0 dev 10 function 0: Tekram DC395UW/F (TRM-S1040) Fast40 
 Ultra Wide SCSI Adapter
 trm0: interrupting at irq 11
 scsibus0 at trm0: 16 targets, 8 luns per target
 isa0 at pcib0
 lpt0 at isa0 port 0x378-0x37b irq 7
 com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
 com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
 pckbc0 at isa0 port 0x60-0x64
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 midi0 at pcppi0: PC speaker
 spkr0 at pcppi0
 sysbeep0 at pcppi0
 isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
 npx0 at isa0 port 0xf0-0xff: using exception 16
 fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
 isapnp0: no ISA Plug 'n Play devices found
 audio0 at auich0: full duplex, independent
 fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
 Kernelized RAIDframe activated
 scsibus0: waiting 2 seconds for devices to settle...
 wd0 at atabus0 drive 0: <SAMSUNG SP1203N>
 wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 wd0: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x 234493056 sectors
 wd0: 32-bit data port
 wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd0(siside0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 wd1 at atabus1 drive 0: <SAMSUNG SP1203N>
 wd1: drive supports 16-sector PIO transfers, LBA48 addressing
 wd1: 111 GB, 232632 cyl, 16 head, 63 sec, 512 bytes/sect x 234493056 sectors
 wd1: 32-bit data port
 wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 wd1(siside0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 probe(trm0:0:3:0): SCSI OpCode 0x12 timed out
 raid0: RAID Level 1
 raid0: Components: /dev/wd0e /dev/wd1e
 raid0: Total Sectors: 226103264 (110401 MB)
 boot device: raid0
 root on raid0a dumps on raid0b
 root file system type: ffs
 raid0: Device already configured!
 wsdisplay0: screen 1 added (80x25, vt100 emulation)
 wsdisplay0: screen 2 added (80x25, vt100 emulation)
 wsdisplay0: screen 3 added (80x25, vt100 emulation)
 wsdisplay0: screen 4 added (80x25, vt100 emulation)

 -- 
   Glenn Richards                                     Tel: (01453) 845735
   Squirrel Solutions                 http://www.squirrelsolutions.co.uk/

   IT consultancy, hardware and software support, broadband installation

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.