Subject: port-i386/22698: Recent umass change
To: None <gnats-bugs@gnats.netbsd.org>
From: None <john@johnrshannon.com>
List: netbsd-bugs
Date: 09/05/2003 14:52:07
>Number:         22698
>Category:       port-i386
>Synopsis:       system boot hangs at umass (CURRENT change 9/4-9/5)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 05 20:53:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     john@johnrshannon.com
>Release:        NetBSD 1.6Y
>Organization:
	johnrshannon.com
>Environment:
System: NetBSD laptop.mobile.johnrshannon.com 1.6Y NetBSD 1.6Y (KERNEL) #31: Thu Sep 4 14:21:08 MDT 2003 root@laptop.mobile.johnrshannon.com:/usr/obj/sys/arch/i386/compile.i386/KERNEL i386
		The above works. Kernel built from Sept 5 sources does not.
		Sony VAIO PCG-GRZ610 laptop
Architecture: i386
Machine: i386
>Description:
	My Sony laptop hangs during boot-up with a kernel built from this AMs sources.
	The hang occurs right after:

	sd1 at scsibus0 target 1 lun 0: <I0MEGA, Mini  64*IOM, 3.04> disk removable

	A dmesg from a kernel built from yesterdays sources follows:

	NetBSD 1.6Y (KERNEL) #31: Thu Sep  4 14:21:08 MDT 2003

	root@laptop.mobile.johnrshannon.com:/usr/obj/sys/arch/i386/compile.i386/KERNEL
	total memory = 511 MB
	avail memory = 469 MB
	using 6144 buffers containing 26268 KB of memory
	BIOS32 rev. 0 found at 0xfd890
	mainbus0 (root)
	cpu0 at mainbus0: (uniprocessor)
	cpu0: Intel Pentium 4 (686-class), 1988.62 MHz, id 0xf27
	cpu0: features bfebf9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
	cpu0: features bfebf9ff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
	cpu0: features bfebf9ff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
	cpu0: I-cache 12K uOp cache 8-way, D-cache 8 KB 64b/line 4-way
	cpu0: L2 cache 512 KB 64b/line 8-way
	cpu0: ITLB 4K/4M: 128 entries
	cpu0: DTLB 4K/4M: 64 entries
	cpu0: 16 page colors
	acpi0 at mainbus0
	acpi0: using Intel ACPI CA subsystem version 20030228
	acpi0: X/RSDT: OemId <  SONY,      B1,20021203>, AslId <PTL ,00000000>
	acpi0: SCI interrupting at int 9
	    ACPI-0353: *** Error: Could not install PciConfig handler for PCI0,
	    AE_ALREADY_EXISTS
	    ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
	    PNP0C0D at acpi0 not configured
	    PNP0C0C at acpi0 not configured
	    PNP0A03 at acpi0 not configured
	    PNP0C02 at acpi0 not configured
	    PNP0200 at acpi0 not configured
	    PNP0C04 at acpi0 not configured
	    PNP0000 at acpi0 not configured
	    PNP0B00 at acpi0 not configured
	    PNP0800 at acpi0 not configured
	    PNP0100 at acpi0 not configured
	    PNP0303 at acpi0 not configured
	    SNY9003 at acpi0 not configured
	    acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
	    acpiec0: io 0x62,0x66
	    acpibat0 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
	    acpibat1 at acpi0 (PNP0C0A-2): ACPI Battery (Control Method)
	    acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
	    PNP0501 at acpi0 not configured
	    PNP0401 at acpi0 not configured
	    SNY5001 at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    PNP0C0F at acpi0 not configured
	    acpitz0 at acpi0: ACPI Thermal Zone
	    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: Intel 82845 Host (rev. 0x04)
	    pchb0: random number generator enabled
	    agp0 at pchb0: aperture at 0xec000000, size 0x4000000
	    ppb0 at pci0 dev 1 function 0: Intel 82845 AGP (rev. 0x04)
	    pci1 at ppb0 bus 1
	    pci1: i/o space, memory space enabled
	    vga0 at pci1 dev 0 function 0: ATI Technologies Radeon Mobility M7 LW (AGP)
	    (rev. 0x00)
	    wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
	    wsmux1: connecting to wsdisplay0
	    uhci0 at pci0 dev 29 function 0: Intel 82801CA/CAM USB Controller (rev. 0x02)
	    uhci0: interrupting at irq 9
	    usb0 at uhci0: USB revision 1.0
	    uhub0 at usb0
	    uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	    uhub0: 2 ports with 2 removable, self powered
	    uhci1 at pci0 dev 29 function 1: Intel 82801CA/CAM USB Controller (rev. 0x02)
	    uhci1: interrupting at irq 9
	    usb1 at uhci1: USB revision 1.0
	    uhub1 at usb1
	    uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	    uhub1: 2 ports with 2 removable, self powered
	    uhci2 at pci0 dev 29 function 2: Intel 82801CA/CAM USB Controller (rev. 0x02)
	    uhci2: interrupting at irq 9
	    usb2 at uhci2: USB revision 1.0
	    uhub2 at usb2
	    uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
	    uhub2: 2 ports with 2 removable, self powered
	    ppb1 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x42)
	    pci2 at ppb1 bus 2
	    pci2: i/o space, memory space enabled
	    cbb0 at pci2 dev 5 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
	    cbb1 at pci2 dev 5 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0xa8)
	    Ricoh 5C552 PCI-CardBus bridge/Firewire (Firewire serial bus, interface 0x10)
	    at pci2 dev 5 function 2 not configured
	    fxp0 at pci2 dev 8 function 0: Intel PRO/100 VE Network Controller, rev 66
	    fxp0: interrupting at irq 9
	    fxp0: Ethernet address 08:00:46:82:1d:e1
	    inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
	    inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
	    cbb0: interrupting at irq 9
	    cardslot0 at cbb0 slot 0 flags 0
	    cardbus0 at cardslot0: bus 0 device 0
	    pcmcia0 at cardslot0
	    cbb1: interrupting at irq 9
	    cardslot1 at cbb1 slot 1 flags 0
	    cardbus1 at cardslot1: bus 0 device 0
	    pcmcia1 at cardslot1
	    pcib0 at pci0 dev 31 function 0
	    pcib0: Intel 82801CAM LPC Interface (rev. 0x02)
	    pciide0 at pci0 dev 31 function 1: Intel 82801CA IDE Controller (ICH3) (rev.
	    0x02)
	    pciide0: bus-master DMA support present
	    pciide0: primary channel wired to compatibility mode
	    wd0 at pciide0 channel 0 drive 0: <IC25N040ATCS04-0>
	    wd0: drive supports 16-sector PIO transfers, LBA addressing
	    wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
	    wd0: 32-bit data port
	    wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
	    pciide0: primary channel interrupting at irq 14
	    wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA
	    data transfers)
	    pciide0: secondary channel wired to compatibility mode
	    atapibus0 at pciide0 channel 1: 2 targets
	    cd0 at atapibus0 drive 0: <UJDA740 DVD/CDRW, , 1.00> cdrom removable
	    cd0: 32-bit data port
	    cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
	    pciide0: secondary channel interrupting at irq 15
	    cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA
	    data transfers)
	    Intel 82801CA/CAM SMBus Controller (SMBus serial bus, revision 0x02) at pci0
	    dev 31 function 3 not configured
	    auich0 at pci0 dev 31 function 5: i82801CA (ICH3) AC-97 Audio
	    auich0: interrupting at irq 9
	    auich0: Yamaha YMF753-S codec; 18 bit DAC, no 3D stereo
	    auich0: S/PDIF
	    audio0 at auich0: full duplex, independent
	    Intel 82801CA/CAM Modem (modem communications, revision 0x02) at pci0 dev 31
	    function 6 not configured
	    isa0 at pcib0
	    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
	    pms0 at pckbc0 (aux slot)
	    pckbc0: using irq 12 for aux slot
	    wsmouse0 at pms0 mux 0
	    pcppi0 at isa0 port 0x61
	    midi0 at pcppi0: PC speaker
	    sysbeep0 at pcppi0
	    npx0 at isa0 port 0xf0-0xff: using exception 16
	    uhidev0 at uhub1 port 2 configuration 1 interface 0umass0 at uhub0 port 1
	    configuration 1 interface 0
	    uhidev0: Agiler 3D USB Mouse, rev 1.00/5.00, addr 2, iclass 3/1

	    umass0: I0MEGA Minidrive  64, rev 2.00/2.00, addr 2
	    umass0: using SCSI over Bulk-Only
	    scsibus0 at umass0: 2 targets, 1 lun per target
	    ums0 at uhidev0: 5 buttons and Z dir.
	    wsmouse1 at ums0 mux 0
	    umass1 at uhub2 port 1 configuration 1 interface 0scsibus0: waiting 2 seconds
	    for devices to settle...

	    umass1: Sony USB Memory Stick Slot, rev 1.10/1.40, addr 2
	    umass1: using UFI over CBI
	    atapibus1 at umass1 channel 0: 2 targets
	    sd0 at atapibus1 drive 0: <Sony, MSC-U03, 1.00> disk removable
	    sd0: drive offline
	    sd1 at scsibus0 target 1 lun 0: <I0MEGA, Mini  64*IOM, 3.04> disk removable
	    sd1: 63920 KB, 62 cyl, 64 head, 32 sec, 512 bytes/sect x 127840 sectors
	    boot device: wd0
	    root on wd0a dumps on wd0b
	    root file system type: ffs
	    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)

>How-To-Repeat:
	Occurs every boot attempt.
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted:
 		09/05/03 sources