System freeze (OSS 1002/nVidia MCP55/FreeBSD)

OSS specific BSD discussion (FreeBSD/NetBSD/OpenBSD)

Moderators: hannu, dev, cesium, kodachi

System freeze (OSS 1002/nVidia MCP55/FreeBSD)

Postby dhke » Wed Apr 18, 2007 4:56 pm

This is with

FreeBSD 6.2-STABLE #3: Sat Apr 14 23:36:03 CEST 2007

OSS 4.0 Build 1002 detects (correctly) an
nVIDIA MCP55 HDA (i.e. Realtek ALC883)

When trying to load the actual driver module (hdaudio.ko), the system freezes repeatably.

The Board itself is an MSI Neo-F (nVidia nForce 550)

pciconf -vl shows:
Code: Select all
none2@pci0:6:1: class=0x040300 card=0x72601462 chip=0x037110de rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    class    = multimedia


System is:
FreeBSD 6.2-STABLE #3: Sat Apr 14 23:36:03 CEST 2007

dmesg
Code: Select all
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (2412.38-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
  Features=0x178bfbff<FPU>
  Features2=0x2001<SSE3>
  AMD Features=0xea500800<SYSCALL>
  AMD Features2=0x1f<LAHF,CMP,<b2>,<b3>,CR8>
  Cores per package: 2
real memory  = 2147287040 (2047 MB)
avail memory = 2087632896 (1990 MB)
ACPI APIC Table: <A>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0 <Version> irqs 0-23 on motherboard
acpi0: <A> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24> port 0x2008-0x200b on acpi0
cpu0: <ACPI> on acpi0
cpu1: <ACPI> on acpi0
pcib0: <ACPI> port 0xcf8-0xcff on acpi0
pci0: <ACPI> on pcib0
pcib0: HT Bridge at 0:5:0 has non-default MSI window 0x602000a
pcib0: HT Bridge at 0:5:1 has non-default MSI window 0x602000a
pcib0: HT Bridge at 0:6:1 has non-default MSI window 0x0
pcib0: HT Bridge at 0:8:0 has non-default MSI window 0x75011
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI> at device 1.0 on pci0
isa0: <ISA> on isab0
pci0: <serial> at device 1.1 (no driver attached)
ohci0: <OHCI> mem 0xfbefb000-0xfbefbfff irq 21 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: <EHCI> mem 0xfbefac00-0xfbefacff irq 22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 10 ports each: usb0
usb1: <EHCI> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
uhub2: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 2
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
atapci0: <nVidia> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 4.0 on pci0
ata0: <ATA> on atapci0
ata1: <ATA> on atapci0
atapci1: <nVidia> port 0xc480-0xc487,0xc400-0xc403,0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc0f mem 0xfbef9000-0xfbef9fff irq 23 at device 5.0 on pci0
ata2: <ATA> on atapci1
ata3: <ATA> on atapci1
atapci2: <nVidia> port 0xb880-0xb887,0xb800-0xb803,0xb480-0xb487,0xb400-0xb403,0xb080-0xb08f mem 0xfbef8000-0xfbef8fff irq 20 at device 5.1 on pci0
ata4: <ATA> on atapci2
ata5: <ATA> on atapci2
pcib1: <ACPI> at device 6.0 on pci0
pci1: <ACPI> on pcib1
pci1: <multimedia> at device 2.0 (no driver attached)
pci1: <input> at device 2.1 (no driver attached)
pci0: <multimedia> at device 6.1 (no driver attached)
pci0: <bridge> at device 8.0 (no driver attached)
pcib2: <ACPI> at device 11.0 on pci0
pci2: <ACPI> on pcib2
pcib3: <ACPI> at device 12.0 on pci0
pci3: <ACPI> on pcib3
pcib4: <ACPI> at device 13.0 on pci0
pcib5: <ACPI> at device 14.0 on pci0
pci5: <ACPI> on pcib5
pcib6: <ACPI> at device 15.0 on pci0
pci6: <ACPI> on pcib6
acpi_button0: <Power> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <Generic> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
acpi_hpet0: <High> iomem 0xfed00000-0xfed00fff on acpi0
device_attach: acpi_hpet0 attach returned 12
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
acpi_hpet0: <High> iomem 0xfed00000-0xfed00fff on acpi0
device_attach: acpi_hpet0 attach returned 12
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: vendor 0x046a product 0x0021, rev 2.00/0.20, addr 2, iclass 3/1
kbd1 at ukbd0
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ad4: 117800MB <> at ata2-master UDMA100
ad6: 117800MB <> at ata3-master UDMA100
SMP: AP CPU #1 Launched!
dhke
 
Posts: 3
Joined: Wed Apr 18, 2007 10:45 am

Re: System freeze (OSS 1002/nVidia MCP55/FreeBSD)

Postby dev » Thu Apr 19, 2007 12:28 am

dhke wrote:This is with

FreeBSD 6.2-STABLE #3: Sat Apr 14 23:36:03 CEST 2007

OSS 4.0 Build 1002 detects (correctly) an
nVIDIA MCP55 HDA (i.e. Realtek ALC883)

When trying to load the actual driver module (hdaudio.ko), the system freezes repeatably.

The Board itself is an MSI Neo-F (nVidia nForce 550)

pciconf -vl shows:
Code: Select all
none2@pci0:6:1: class=0x040300 card=0x72601462 chip=0x037110de rev=0xa2 hdr=0x00
    vendor   = 'NVIDIA Corporation'
    class    = multimedia


System is:
FreeBSD 6.2-STABLE #3: Sat Apr 14 23:36:03 CEST 2007

dmesg
Code: Select all
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ (2412.38-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x40fb2  Stepping = 2
  Features=0x178bfbff<FPU>
  Features2=0x2001<SSE3>
  AMD Features=0xea500800<SYSCALL>
  AMD Features2=0x1f<LAHF,CMP,<b2>,<b3>,CR8>
  Cores per package: 2
real memory  = 2147287040 (2047 MB)
avail memory = 2087632896 (1990 MB)
ACPI APIC Table: <A>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): APIC ID:  0
cpu1 (AP): APIC ID:  1
ioapic0 <Version> irqs 0-23 on motherboard
acpi0: <A> on motherboard
acpi0: Power Button (fixed)
acpi0: reservation of fec00000, 1000 (3) failed
acpi0: reservation of fee00000, 1000 (3) failed
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24> port 0x2008-0x200b on acpi0
cpu0: <ACPI> on acpi0
cpu1: <ACPI> on acpi0
pcib0: <ACPI> port 0xcf8-0xcff on acpi0
pci0: <ACPI> on pcib0
pcib0: HT Bridge at 0:5:0 has non-default MSI window 0x602000a
pcib0: HT Bridge at 0:5:1 has non-default MSI window 0x602000a
pcib0: HT Bridge at 0:6:1 has non-default MSI window 0x0
pcib0: HT Bridge at 0:8:0 has non-default MSI window 0x75011
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI> at device 1.0 on pci0
isa0: <ISA> on isab0
pci0: <serial> at device 1.1 (no driver attached)
ohci0: <OHCI> mem 0xfbefb000-0xfbefbfff irq 21 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <OHCI> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 10 ports with 10 removable, self powered
ehci0: <EHCI> mem 0xfbefac00-0xfbefacff irq 22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: EHCI version 1.0
usb1: companion controller, 10 ports each: usb0
usb1: <EHCI> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 10 ports with 10 removable, self powered
uhub2: NEC Corporation USB2.0 Hub Controller, class 9/0, rev 2.00/1.00, addr 2
uhub2: single transaction translator
uhub2: 4 ports with 4 removable, self powered
atapci0: <nVidia> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 4.0 on pci0
ata0: <ATA> on atapci0
ata1: <ATA> on atapci0
atapci1: <nVidia> port 0xc480-0xc487,0xc400-0xc403,0xc080-0xc087,0xc000-0xc003,0xbc00-0xbc0f mem 0xfbef9000-0xfbef9fff irq 23 at device 5.0 on pci0
ata2: <ATA> on atapci1
ata3: <ATA> on atapci1
atapci2: <nVidia> port 0xb880-0xb887,0xb800-0xb803,0xb480-0xb487,0xb400-0xb403,0xb080-0xb08f mem 0xfbef8000-0xfbef8fff irq 20 at device 5.1 on pci0
ata4: <ATA> on atapci2
ata5: <ATA> on atapci2
pcib1: <ACPI> at device 6.0 on pci0
pci1: <ACPI> on pcib1
pci1: <multimedia> at device 2.0 (no driver attached)
pci1: <input> at device 2.1 (no driver attached)
pci0: <multimedia> at device 6.1 (no driver attached)
pci0: <bridge> at device 8.0 (no driver attached)
pcib2: <ACPI> at device 11.0 on pci0
pci2: <ACPI> on pcib2
pcib3: <ACPI> at device 12.0 on pci0
pci3: <ACPI> on pcib3
pcib4: <ACPI> at device 13.0 on pci0
pcib5: <ACPI> at device 14.0 on pci0
pci5: <ACPI> on pcib5
pcib6: <ACPI> at device 15.0 on pci0
pci6: <ACPI> on pcib6
acpi_button0: <Power> on acpi0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <16550A> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio1: <Generic> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
acpi_hpet0: <High> iomem 0xfed00000-0xfed00fff on acpi0
device_attach: acpi_hpet0 attach returned 12
atkbdc0: <Keyboard> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
acpi_hpet0: <High> iomem 0xfed00000-0xfed00fff on acpi0
device_attach: acpi_hpet0 attach returned 12
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System> at flags 0x100 on isa0
sc0: VGA <16>
vga0: <Generic> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ukbd0: vendor 0x046a product 0x0021, rev 2.00/0.20, addr 2, iclass 3/1
kbd1 at ukbd0
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
ad4: 117800MB <> at ata2-master UDMA100
ad6: 117800MB <> at ata3-master UDMA100
SMP: AP CPU #1 Launched!



Hi,

Is the PC a laptop or desktop?. In some cases running soundon can take upto 45-60 seconds so don't be too hasty in pressing the reset button.



regards
Dev
dev
 
Posts: 577
Joined: Fri Sep 12, 2003 6:08 am
Location: Culver City, CA

Re: System freeze (OSS 1002/nVidia MCP55/FreeBSD)

Postby dhke » Thu Apr 19, 2007 1:38 pm

dev wrote:Hi,

Is the PC a laptop or desktop?.



A desktop machine

dev wrote:In some cases running soundon can take upto 45-60 seconds so don't be too hasty in pressing the reset button.


Actually it's loading the kernel module that freezes the system. Albeit you are right, it does so only for about two minutes or so. After that the modules loads correctly.

Sound output works but is untolerable choppy but recognisable. This is with all audio players I have on the system, including simple ossplay.

The machine runs a stripped down GENERIC SMP kernel (some modules removed). If I find the time I'll try again with an unmodified GENERIC 6.2-RELEASE kernel for a cross-check.

Peter
dhke
 
Posts: 3
Joined: Wed Apr 18, 2007 10:45 am

Re: System freeze (OSS 1002/nVidia MCP55/FreeBSD)

Postby dhke » Tue May 01, 2007 9:24 am

dhke wrote:The machine runs a stripped down GENERIC SMP kernel (some modules removed). If I find the time I'll try again with an unmodified GENERIC 6.2-RELEASE kernel for a cross-check.


I've re-checked this again with the default kernel: The "problem" persists.

Also it seems that use of the virtual mixing device (albeit nothing I could really trace down exactly) sometimes seems to crash the system (even using only the sblive module).

First idea was a hardware problem, but it does not happen with FreeBSD's native drivers.

Peter
dhke
 
Posts: 3
Joined: Wed Apr 18, 2007 10:45 am

Postby crux » Mon Jun 11, 2007 3:36 pm

I has the similar problem, and I'm found some workaround.
Asus M2R32-MVP (HD ATI SB600) with all your problems.
Recompile your kernel without any usb-devices (ohci, uhci, usb, umass, etc..). You can add smp support, if needed.
Install new kernel and reboot. Don't forget to add string in /etc/rc.conf
usbd_enable="NO"
OSS must be loaded before usb-subsystem, if you need in usb - add 'kldload umass'(or 'kldload ums' if you use usb-mouse) command in /etc/rc.d/oss script(after oss commands in start section) or execute it by hand in console.
If this doesn't help, try to disable acpi
/boot/loader.conf
hint.acpi.0.disabled=1
and reboot
It seems that problem exist only on systems with ohci-controller(shared irq problem).
crux
 
Posts: 2
Joined: Mon Jun 11, 2007 2:44 pm


Return to BSD

Who is online

Users browsing this forum: No registered users and 1 guest

cron