Date: Mon, 23 Dec 2002 21:58:09 -0700 (MST) From: "Scott M.Likens" <damm@livid.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/46506: Crash Before Initialization of Printer? or USB Error? Message-ID: <20021224045809.220E5FE5B@livid.de>
next in thread | raw e-mail | index | archive | help
>Number:         46506
>Category:       i386
>Synopsis:       Crash Before Initialization of Printer? or USB Error?
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 23 21:00:19 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Scott M. Likens
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD livid.de 4.7-STABLE FreeBSD 4.7-STABLE #0: Thu Dec 19 13:05:41 MST 2002 damm@dialup.livid.de:/usr/src/sys/compile/LIVID i386
	AMD TBird 1.4Ghz, 512meg SDRAM CAS=2, RELENG_4-20021223, world 
	brand new as of today, Adaptec DuoConnect (3 USB 2.0 2 Firewire)
>Description:
	Unable to Bootup with recent kernel (kernel dated 12.19.02 does 
	work) recent change? Locks up on uhub0 before initializing the 
	USB Printer?  Appears to be.
>How-To-Repeat:
	Build kernel with RELENG_4-20021223, with USB on VIA KT133A, and..
	WHAM, unable to boot, waited 5minutes to see if it would continue.
>Fix:
	No known Fix, attached are kernel configuration and dmesg.out with 
	with pciscan
-- KERNEL CONFIGURATION --
machine		i386
#cpu		I386_CPU
#cpu		I486_CPU
#cpu		I586_CPU
cpu		I686_CPU
ident		LIVID
maxusers	256
#makeoptions     CONF_CFLAGS=-fno-builtin  #Don't allow use of memcmp, etc.
options         INCLUDE_CONFIG_FILE     # Include this file in kernel
#options         CPU_ATHLON_SSE_HACK
makeoptions	DEBUG=-g		#Build kernel with gdb(1) debug symbols
#options 	MATH_EMULATE		#Support for x87 emulation
#options         GPL_MATH_EMULATE        #Support for x87 emulation via
                                        #new math emulator
options 	INET			#InterNETworking
options 	INET6			#IPv6 communications protocols
options 	FFS			#Berkeley Fast Filesystem
options 	FFS_ROOT		#FFS usable as root device [keep this!]
options 	SOFTUPDATES		#Enable FFS soft updates support
options 	MFS			#Memory Filesystem
options 	MD_ROOT			#MD is a potential root device
options 	NFS			#Network Filesystem
options 	NFS_ROOT		#NFS usable as root device, NFS required
options 	MSDOSFS			#MSDOS Filesystem
options 	CD9660			#ISO 9660 Filesystem
options 	CD9660_ROOT		#CD-ROM usable as root, CD9660 required
options 	PROCFS			#Process filesystem
options 	COMPAT_43		#Compatible with BSD 4.3 [KEEP THIS!]
options 	SCSI_DELAY=15000	#Delay (in ms) before probing SCSI
options 	UCONSOLE		#Allow users to grab the console
options 	USERCONFIG		#boot -c editor
options 	VISUAL_USERCONFIG	#visual boot -c editor
options 	KTRACE			#ktrace(1) support
options 	SYSVSHM			#SYSV-style shared memory
options 	SYSVMSG			#SYSV-style message queues
options 	SYSVSEM			#SYSV-style semaphores
options 	P1003_1B		#Posix P1003_1B real-time extensions
options		USER_LDT
options 	_KPOSIX_PRIORITY_SCHEDULING
options		ICMP_BANDLIM		#Rate limit bad replies
options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
options         MAXDSIZ="(1024*1024*1024)"
options         MAXSSIZ="(256*1024*1024)"
options         IPFW2
options		IPFIREWALL
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
#options         IPFIREWALL_DEFAULT_TO_ACCEPT    #allow everything by default
options		IPV6FIREWALL
#options		IPV6FIREWALL_DEFAULT_TO_ACCEPT
options		IPV6FIREWALL_VERBOSE_LIMIT=100
options         RANDOM_IP_ID
#options         UFS_DIRHASH
#options         PSM_DEBUG=1
#options 	PCI_ENABLE_IO_MODES
options         SC_HISTORY_SIZE=400     # number of history buffer lines
options         CODA
#options 	QUOTA
options		IPSTEALTH
#options         IPV6FIREWALL_DEFAULT_TO_ACCEPT
options         IPV6FIREWALL_VERBOSE
options		IPDIVERT
options		IPSEC
options		IPSEC_ESP
device		pcm
device		sbc
device		isa
#device		eisa
device		pci
device		fdc0	at isa? port IO_FD1 irq 6 drq 2
device		fd0	at fdc0 drive 0
device		fd1	at fdc0 drive 1
device		ata0	at isa? port IO_WD1 irq 14
device		ata1	at isa? port IO_WD2 irq 15
device		ata
device		atadisk			# ATA disk drives
device		atapicd			# ATAPI CDROM drives
device		atapifd			# ATAPI floppy drives
device		atapist			# ATAPI tape drives
device		atapicam
options 	ATA_STATIC_ID		#Static device numbering
device		ahc		# AHA2940 and onboard AIC7xxx devices
#options		AHC_ALLOW_MEMIO
options		SC_TWOBUTTON_MOUSE
options 	MAXCONS=16
#device          firewire        # Firewire bus code
#device          sbp             # SCSI over Firewire (Requires scbus and da)
device		scbus		# SCSI bus (required)
device		da		# Direct Access (disks)
device		sa		# Sequential Access (tape etc)
device		cd		# CD
device		pass		# Passthrough device (direct SCSI access)
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1 flags 0x1
device		psm0	at atkbdc? irq 12
device		vga0	at isa?
pseudo-device	splash
device		sc0	at isa? flags 0x100
device		smbus 
device		iicbus
device		iicbb
device 		viapm # fucking br0ke.
# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device		vt0	at isa?
#options 	XSERVER			# support for X server on a vt console
#options 	FAT_CURSOR		# start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT lines
#options 	PCVT_SCANSET=2		# IBM keyboards are non-std
device		npx0	at nexus? port IO_NPX irq 13
device		apm0 
device		sio0	at isa? port IO_COM1 flags 0x10 irq 4
device		sio1	at isa? port IO_COM2 irq 3
device		sio2	at isa? disable port IO_COM3 irq 5
device		sio3	at isa? disable port IO_COM4 irq 9
#device		ppc0	at isa? irq 7
device		ppbus		# Parallel port bus (required)
device		lpt		# Printer
device		plip		# TCP/IP over parallel
device		ppi		# Parallel port interface device
device		vpo		# Requires scbus and da
device		miibus		# MII bus support
pseudo-device	loop		# Network loopback
pseudo-device	ether		# Ethernet support
pseudo-device	sl	1	# Kernel SLIP
pseudo-device	ppp	1	# Kernel PPP
pseudo-device	tun		# Packet tunnel.
pseudo-device	pty		# Pseudo-ttys (telnet etc)
pseudo-device	md		# Memory "disks"
pseudo-device	gif		# IPv6 and IPv4 tunneling
pseudo-device	faith	1	# IPv6-to-IPv4 relaying (translation)
pseudo-device	bpf		#Berkeley packet filter
pseudo-device	gzip		# Exec a.out files
pseudo-device   vn		# blah
pseudo-device   snp		# snoop
pseudo-device      vcoda   4               #coda minicache <-> venus comm.
options         PPP_BSDCOMP             #PPP BSD-compress support
options         PPP_DEFLATE             #PPP zlib/deflate/gzip support
options         PPP_FILTER              #enable bpf filtering (needs bpf)
device		uhci		# UHCI PCI->USB interface
device		ohci		# OHCI PCI->USB interface
device		usb		# USB Bus (required)
device		ugen		# Generic
device		uhid		# "Human Interface Devices"
device		ukbd		# Keyboard
device		ulpt		# Printer
device		umass		# Disks/Mass storage - Requires scbus and da
device		ums		# Mouse
device		uscanner	# Scanners
pseudo-device   crypto          # core crypto support
pseudo-device   cryptodev       # /dev/crypto for access to h/w
-- END KERNEL CONFIG --
-- DMESG.OUT --
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #0: Thu Dec 19 13:05:41 MST 2002
    damm@dialup.livid.de:/usr/src/sys/compile/LIVID
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Athlon(tm) processor (1400.06-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x644  Stepping = 4
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
  AMD Features=0xc0440000<<b18>,AMIE,DSP,3DNow!>
real memory  = 536805376 (524224K bytes)
avail memory = 517730304 (505596K bytes)
Preloaded elf kernel "kernel.good" at 0xc046e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 8 entries at 0xc00fddc0
apm0: <APM BIOS> on motherboard
apm0: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <VIA 8363 (Apollo KT133) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI model 5144 graphics accelerator> at 0.0 irq 10
isab0: <VIA 82C686 PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686 ATA100 controller> port 0xd000-0xd00f at device 7.1 on pci0
atapci0: Correcting VIA config for southbridge data corruption bug
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
viapropm0: SMBus I/O base at 0x5000
viapropm0: <VIA VT82C686A Power Management Unit> port 0x5000-0x500f at device 7.4 on pci0
viapropm0: SMBus revision code 0x40
pcib2: <PCI to PCI bridge (vendor=3388 device=0021)> at device 8.0 on pci0
pci2: <PCI bus> on pcib2
ohci0: <NEC uPD 9210 USB controller> mem 0xdf007000-0xdf007fff irq 7 at device 8.0 on pci2
usb0: OHCI version 1.0
usb0: <NEC uPD 9210 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ulpt0: Hewlett-Packard hp LaserJet 1000, rev 1.10/1.20, addr 2, iclass 7/1
ohci1: <NEC uPD 9210 USB controller> mem 0xdf004000-0xdf004fff irq 5 at device 8.1 on pci2
usb1: OHCI version 1.0
usb1: <NEC uPD 9210 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: NEC OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci2: <USB controller> at 8.2 irq 11
fwohci0: <Texas Instruments TSB12LV26> mem 0xdf000000-0xdf003fff,0xdf006000-0xdf0067ff irq 10 at device 11.0 on pci2
fwohci0: PCI bus latency was changing to 250.
cache size 8.
fwohci0: OHCI version 1.0 (ROM=1)
fwohci0: No. of Isochronous channel is 4.
fwohci0: resetting OHCI...done (0)
fwohci0: BUS_OPT 0xa002 -> 0xf800a002
fwohci0: Link 1394a available S400, 3 ports, maxrec 2048 bytes.
fwohci0: Enable 1394a Enhancements
fwohci0: EUI64 00:50:42:b5:00:00:77:b8
fwochi_set_intr: 1
firewire0: <IEEE1394(Firewire) bus> on fwohci0
firewire0: firewire bus attach
sbp_identify
sbp_probe
sbp0: <SBP2/SCSI over firewire> on firewire0
sbp_attach
ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xdc00-0xdcff mem 0xdf100000-0xdf100fff irq 11 at device 10.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
pcm0: <Creative EMU10K1> port 0xe000-0xe01f irq 11 at device 13.0 on pci0
orm0: <Option ROM> at iomem 0xc0000-0xcbfff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
firewire0: BUS reset
firewire0: node_id = 0xc800ffc0, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
fw_set_bus_manager: 63->0 (loop=0)
send phy_config root_node=-1 gap_count=1
start AT DMA status=0
IPv6 packet filtering initialized, logging limited to 100 packets/entry
ipfw2 initialized, divert enabled, rule-based forwarding enabled, default to deny, logging disabled
IPsec: Initialized Security Association Processing.
ad0: 73308MB <IBM-DTLA-307075> [148945/16/63] at ata0-master UDMA100
acd0: CD-RW <TDK CDRW121032A> at ata1-master WDMA2
Waiting 15 seconds for SCSI devices to settle
bus_explore done
Mounting root from ufs:/dev/ad0s3a
da0 at ahc0 bus 0 target 0 lun 0
da0: <QUANTUM VIKING II 4.5WSE 3506> Fixed Direct Access SCSI-2 device 
da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
da0: 4350MB (8910423 512 byte sectors: 255H 63S/T 554C)
cd0 at ahc0 bus 0 target 1 lun 0
cd0: <PIONEER DVD-ROM DVD-304 1.03> Removable CD-ROM SCSI-2 device 
cd0: 20.000MB/s transfers (20.000MHz, offset 16)
cd0: Attempt to query device size failed: NOT READY, Medium not present
cd1 at ata1 bus 0 target 0 lun 0
cd1: <TDK CDRW121032A 1.00> Removable CD-ROM SCSI-0 device 
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present
-- end of dmesg.out --
-- pciconf -l -v --
chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x03051106 rev=0x03 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8363/5 KT133/KM133 System Controller'
    class    = bridge
    subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000080 chip=0x83051106 rev=0x00 
hdr=0x01
    vendor   = 'VIA Technologies Inc'
    device   = 'VT8363/5 Apollo KT133/KM133 PCI to AGP Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0@pci0:7:0: class=0x060100 card=0x00001106 chip=0x06861106 rev=0x40 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686/A/B "Super South" PCI to ISA Bridge'
    class    = bridge
    subclass = PCI-ISA
atapci0@pci0:7:1:       class=0x01018a card=0x05711106 chip=0x05711106 
rev=0x06 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82xxxx EIDE Controller (All VIA Chipsets)'
    class    = mass storage
    subclass = ATA
viapropm0@pci0:7:4:     class=0x068000 card=0x30571106 chip=0x30571106 
rev=0x40 
hdr=0x00
    vendor   = 'VIA Technologies Inc'
    device   = 'VT82C686A/B ACPI Power Management Controller'
    class    = bridge
    subclass = PCI-unknown
pcib2@pci0:8:0: class=0x060400 card=0x00000080 chip=0x00213388 rev=0x13 
hdr=0x01
    vendor   = 'Hint Corp.'
    device   = 'HB1-SE33 PCI-to-PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
ahc0@pci0:10:0: class=0x010000 card=0xa1809005 chip=0x00109005 rev=0x00 
hdr=0x00
    vendor   = 'Adaptec'
    device   = 'AHA-2940U2W/U2B AHA-2950U2W Ultra2 SCSI Controller'
    class    = mass storage
    subclass = SCSI
pcm0@pci0:13:0: class=0x040100 card=0x80711102 chip=0x00021102 rev=0x07 
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'EMU10K1 Audio Chipset (SB Live!)'
    class    = multimedia
    subclass = audio
emujoy0@pci0:13:1:      class=0x098000 card=0x00201102 chip=0x70021102 
rev=0x07 
hdr=0x00
    vendor   = 'Creative Labs'
    device   = 'PCI Gameport Joystick'
    class    = input device
none0@pci1:0:0: class=0x030000 card=0x001a1002 chip=0x51441002 rev=0x00 
hdr=0x00
    vendor   = 'ATI Technologies'
    device   = 'Radeon 7200 / Radeon'
    class    = display
    subclass = VGA
ohci0@pci2:8:0: class=0x0c0310 card=0x02359004 chip=0x00351033 rev=0x41 
hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210FGC-7EA USB Host Controller'
    class    = serial bus
    subclass = USB
ohci1@pci2:8:1: class=0x0c0310 card=0x02359004 chip=0x00351033 rev=0x41 
hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD9210FGC-7EA USB Host Controller'
    class    = serial bus
    subclass = USB
none1@pci2:8:2: class=0x0c0320 card=0x02e09004 chip=0x00e01033 rev=0x02 
hdr=0x00
    vendor   = 'NEC Electronics Hong Kong'
    device   = 'uPD720100A USB 2.0 Enhanced Host Controller'
    class    = serial bus
    subclass = USB
fwohci0@pci2:11:0:      class=0x0c0010 card=0x8010104c chip=0x8020104c 
rev=0x00 
hdr=0x00
    vendor   = 'Texas Instruments (TI)'
    device   = 'TSB12LV26 OHCI-Lynx PCI IEEE 1394 Host Controller'
    class    = serial bus
    subclass = FireWire
Thanks.
>Release-Note:
>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?20021224045809.220E5FE5B>
