NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/46638: auvia0 stalls boot on Everex laptop booting from USB



>Number:         46638
>Category:       kern
>Synopsis:       auvia0 stalls boot on Everex laptop booting from USB
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 29 23:20:00 +0000 2012
>Originator:     Karl Hammerschmidt
>Release:        6.0 BETA2
>Organization:
>Environment:
NetBSD  6.0_BETA2 NetBSD 6.0_BETA2 (GENERIC) i386
>Description:
After install, auvia0 prints 'codec busy' repeatedly, for about a minute during 
boot, then audia0 shows up on auvia0 and the system goes multiuser normally.

Shortly prior to continuing to boot, auvia0 prints:

"ac97: unknown (0x00000000) codec; no 3D stereo"

DDB can't be started while boot is stalled.

Sound doesn't work after boot (cat somefile.txt > /dev/audio produces nothing). 
  It's booting from usb at the moment.

dmesg with auvia0 enabled as per default (another with it disabled follows 
since it seems to have run out of room):

: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy

[pages of identical lines]

auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: ac97: unknown (0x00000000) codec; no 3D stereo
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
auvia0: codec busy
audio0 at auvia0: full duplex, playback, capture, independent
vendor 0x1106 product 0x3068 (miscellaneous communications, revision 0x80) at 
pci0 dev 17 function 6 not configured
vr0 at pci0 dev 18 function 0: vendor 0x1106 product 0x3065 (rev. 0x78)
vr0: interrupting at ioapic0 pin 23
vr0: Ethernet address: 00:14:0b:03:7e:9c
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0032, rev. 10
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at viapcib0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   1 us, pow  1000 mW
acpicpu0: C2: I/O, lat   1 us, pow   500 mW
acpicpu0: C3: I/O, lat  85 us, pow   250 mW
acpicpu0: P0: I/O, lat  10 us, pow 12000 mW, 1500 MHz
acpicpu0: P1: I/O, lat  10 us, pow 11000 mW, 1400 MHz
acpicpu0: P2: I/O, lat  10 us, pow 10000 mW, 1000 MHz
acpicpu0: P3: I/O, lat  10 us, pow  7000 mW,  800 MHz
acpicpu0: P4: I/O, lat  10 us, pow  6000 mW,  600 MHz
acpicpu0: P5: I/O, lat  10 us, pow  5000 mW,  400 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
viac7temp0 at cpu0: VIA C7 temperature sensor
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS DVD+/-RW SDVD8820, , AX04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
umass0 at uhub2 port 4 configuration 1 interface 0
umass0: JetFlash Mass Storage Device, rev 2.10/a.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <JetFlash, Transcend 32GB, 1.00> disk removable
sd0: fabricating a geometry
sd0: 30163 MB, 30163 cyl, 64 head, 32 sec, 512 bytes/sect x 61773824 sectors
sd0: fabricating a geometry
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: clock gained 7 days
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)

--- end dmesg ---

dmesg with auvia disabled:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0_BETA2 (GENERIC)
total memory = 958 MB
avail memory = 928 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable auvia
[357] auvia* disabled
uc> quit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Everex Systems, Inc. Everex StepNote NC Series ( )
mainbus0 (root)
cpu0 at mainbus0 apid 0: VIA Esther processor 1500MHz, id 0x6a9
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 3, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <PTLTD ,  RSDT  ,06040000>, AslId < LTP,00000000>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
MEM (PNP0C01) at acpi0 not configured
SYSR (PNP0C02) at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
acpivga0 at acpi0 (VGA): ACPI Display Adapter
acpiout0 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (LCD, 0x0110): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout0): Ext. Monitor, head 0, bios detect
acpivga0:   0x0110 (acpiout1): LCD Panel, head 0, bios detect
acpiacad0 at acpi0 (ACAD, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpifan0 at acpi0 (FAN, PNP0C0B): ACPI Fan
acpitz0 at acpi0 (THRM): cpu0
acpitz0: active cooling level 0: 59.8C
acpitz0: levels: critical 109.8 C, passive 77.8 C
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: vendor 0x1106 product 0x0314 (rev. 0x00)
agp0 at pchb0: aperture at 0xe0000000, size 0x10000000
pchb1 at pci0 dev 0 function 1: vendor 0x1106 product 0x1314 (rev. 0x00)
pchb2 at pci0 dev 0 function 2: vendor 0x1106 product 0x2314 (rev. 0x00)
pchb3 at pci0 dev 0 function 3: vendor 0x1106 product 0x3208 (rev. 0x00)
pchb4 at pci0 dev 0 function 4: vendor 0x1106 product 0x4314 (rev. 0x00)
pchb5 at pci0 dev 0 function 7: vendor 0x1106 product 0x7314 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0xb198 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: vendor 0x1106 product 0x3344 (rev. 0x01)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
viadrm0 at vga1: VIA CN700 / VM800 / P4M800Pro
viadrm0: AGP at 0xe0000000 256MB
viadrm0: Initialized via 2.11.1 20070202
ath0 at pci0 dev 6 function 0: Atheros 2413
ath0: interrupting at ioapic0 pin 18
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ath0: mac 7.8 phy 4.5 radio 5.6
viaide0 at pci0 dev 15 function 0: VIA Technologies VT8237 SATA Controller 
(rev. 0x80)
viaide0: bus-master DMA support present
viaide0: primary channel configured to native-PCI mode
viaide0: using ioapic0 pin 20 for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies VT8237 ATA133 controller
viaide1: bus-master DMA support present
viaide1: primary channel configured to compatibility mode
viaide1: primary channel interrupting at ioapic0 pin 14
atabus2 at viaide1 channel 0
viaide1: secondary channel configured to compatibility mode
viaide1: secondary channel interrupting at ioapic0 pin 15
atabus3 at viaide1 channel 1
uhci0 at pci0 dev 16 function 0: vendor 0x1106 product 0x3038 (rev. 0x81)
ALKD: Picked IRQ 21 with weight 0
uhci0: interrupting at ioapic0 pin 21
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 16 function 1: vendor 0x1106 product 0x3038 (rev. 0x81)
uhci1: interrupting at ioapic0 pin 21
usb1 at uhci1: USB revision 1.0
ehci0 at pci0 dev 16 function 4: vendor 0x1106 product 0x3104 (rev. 0x86)
ehci0: interrupting at ioapic0 pin 21
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1
usb2 at ehci0: USB revision 2.0
viapcib0 at pci0 dev 17 function 0: vendor 0x1106 product 0x3227 (rev. 0x00)
viapcib0: SMBus found at 0x4100 (revision 0x0)
iic0 at viapcib0: I2C bus
vendor 0x1106 product 0x3059 (audio multimedia, revision 0x60) at pci0 dev 17 
function 5 not configured
vendor 0x1106 product 0x3068 (miscellaneous communications, revision 0x80) at 
pci0 dev 17 function 6 not configured
vr0 at pci0 dev 18 function 0: vendor 0x1106 product 0x3065 (rev. 0x78)
vr0: interrupting at ioapic0 pin 23
vr0: Ethernet address: 00:14:0b:03:7e:9c
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0032, rev. 10
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0 at viapcib0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: HLT, lat   1 us, pow  1000 mW
acpicpu0: C2: I/O, lat   1 us, pow   500 mW
acpicpu0: C3: I/O, lat  85 us, pow   250 mW
acpicpu0: P0: I/O, lat  10 us, pow 12000 mW, 1500 MHz
acpicpu0: P1: I/O, lat  10 us, pow 11000 mW, 1400 MHz
acpicpu0: P2: I/O, lat  10 us, pow 10000 mW, 1000 MHz
acpicpu0: P3: I/O, lat  10 us, pow  7000 mW,  800 MHz
acpicpu0: P4: I/O, lat  10 us, pow  6000 mW,  600 MHz
acpicpu0: P5: I/O, lat  10 us, pow  5000 mW,  400 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
viac7temp0 at cpu0: VIA C7 temperature sensor
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub2: 4 ports with 4 removable, self powered
atapibus0 at atabus3: 2 targets
cd0 at atapibus0 drive 0: <PHILIPS DVD+/-RW SDVD8820, , AX04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide1:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
umass0 at uhub2 port 4 configuration 1 interface 0
umass0: JetFlash Mass Storage Device, rev 2.10/a.00, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <JetFlash, Transcend 32GB, 1.00> disk removable
sd0: fabricating a geometry
sd0: 30163 MB, 30163 cyl, 64 head, 32 sec, 512 bytes/sect x 61773824 sectors
sd0: fabricating a geometry
Kernelized RAIDframe activated
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: clock gained 2 days
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)

--- end dmesg ---

The machine doesn't have serial, so I assume that KGDB can't be used.

I'm not sure whether this is specific to the machine. I don't have another 
Via-based machine to test.
>How-To-Repeat:
Environment: Everex StepNote NC-1500, 6.0 BETA2 installed onto a Transcend 
JetFlash 760, 32GB usb flash drive.

This happens when booting the install CD, on the first boot, and all subsequent 
boots, except when config is used to disable auvia.

Sound was working in 5.1.2 while booting from usb.
>Fix:



Home | Main Index | Thread Index | Old Index