[PlanetCCRMA] Re: 2.6.7 ccrma kernel and usb / nvidia support

Shayne O'Connor forums@machinehasnoagenda.com
Tue Nov 23 00:54:01 2004


Rick B wrote:  
> > Shayne,
> >     As far as the audio card sharing interrupts, you can "shuffle
> > the cards" so to speak by physically taking it out and moving it to
> > another pci slot. Different pci slots on your machine will be
> > assigned to different irqs, so you might have to try several
> > different slots to get it where you want it. Looking at your
> > /proc/interrupts output you can see that irq 10 is open and that
> > seems to be the best irq for audio cards from everything I've ever
> > read about the subject. Here's a link that explains more about the
> > irq issue: 
> > 
> > http://sourceforge.net/mailarchive/forum.php?thread_id=1079993&forum_id=7073
> > 

well, i changed the soundcard down two slots, and this is what i got:


>            CPU0       
>   0:     452833          XT-PIC  timer
>   1:        354          XT-PIC  i8042
>   2:          0          XT-PIC  cascade
>   8:          1          XT-PIC  rtc
>  10:     100000          XT-PIC  ehci_hcd, ohci_hcd
>  11:      42482          XT-PIC  ohci_hcd, eth0, EMU10K1
>  12:      47810          XT-PIC  i8042
>  14:      14189          XT-PIC  ide0
>  15:       4382          XT-PIC  ide1
> NMI:          0 
> ERR:          0

i should perhaps explain that i'm using an asus a7n8x-x m/b - it has an onboard ethernet adapter, and two usb ports ...

when i go into bios to try and assign soundcard to irq 10 or 11, it has the option - by each irq - to set it to either "Reserved" or "PCIDevice".
By default they are all set to "Pci Device". I changed irq 10 to "Reserved", but that didn't change the soundcard setting, and then my ethernet didn't work.
It doesn't really seem clear in the bios how to allocate an irq to a certain pci slot ...


> >     I've heard that acpi has caused some problems with FC1 and the
> > 2.4 kernel, but I dont now if that applies to the 2.6 kernel too. On
> > FC1 & FC2 you can pass the "acpi=off" argument to the kernel by
> > adding it to the kernel boot line in grub.conf like so:
> > 
> > title Fedora Core (2.6.7-1.437.1.ll.rhfc2.ccrma)
> >     root (hd0,1)
> >     kernel /vmlinuz-2.6.7-1.437.1.ll.rhfc2.ccrma ro root=/dev/hda3
> > rhgb acpi=off apm=off quiet
> >     initrd /initrd-2.6.7-1.437.1.ll.rhfc2.ccrma.img
> > 
> >     Hope this solves your problem.
> > 

no ... :(


but i found the dmesg command somewhere, and it gave me some very
interesting output regarding usb and irq#10 (look near the middle -
where it indents a bit and talks about an irq screaming that noone cares
- and very bottom here)(i am including ALL of the output in case you can
glean some other important info from it):

 
> Linux version 2.6.7-1.437.1.ll.rhfc2.ccrma (root@localhost.localdomain) (gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)) #1 Thu Jun 17 10:45:42 PDT 2004
> BIOS-provided physical RAM map:
>  BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
>  BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
>  BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
>  BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
>  BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
>  BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
>  BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
>  BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
>  BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
> 0MB HIGHMEM available.
> 511MB LOWMEM available.
> zapping low mappings.
> On node 0 totalpages: 131056
>   DMA zone: 4096 pages, LIFO batch:1
>   Normal zone: 126960 pages, LIFO batch:16
>   HighMem zone: 0 pages, LIFO batch:1
> DMI 2.2 present.
> Built 1 zonelists
> Kernel command line: ro root=LABEL=/ rhgb acpi=off apm=off quiet
> mapped 4G/4G trampoline to ffff3000.
> Initializing CPU#0
> CPU 0 irqstacks, hard=02358000 soft=02357000
> PID hash table entries: 2048 (order 11: 16384 bytes)
> Detected 1491.989 MHz processor.
> Using tsc for high-res timesource
> Console: colour VGA+ 80x25
> Memory: 516188k/524224k available (1632k kernel code, 7284k reserved, 603k data, 136k init, 0k highmem)
> Calibrating delay loop... 2940.92 BogoMIPS
> Security Scaffold v1.0.0 initialized
> SELinux:  Initializing.
> SELinux:  Starting in permissive mode
> Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
> Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
> Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
> CPU:     After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000
> CPU:     After vendor identify, caps: 0383fbff c1c3fbff 00000000 00000000
> CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
> CPU: L2 Cache: 256K (64 bytes/line)
> CPU:     After all inits, caps: 0383f3ff c1c3fbff 00000000 00000020
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#0.
> CPU: AMD Athlon(tm) XP 1800+ stepping 01
> Enabling fast FPU save and restore... done.
> Enabling unmasked SIMD FPU exception support... done.
> Checking 'hlt' instruction... OK.
> Generic cache decay timeout: 2 msecs.
> checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
> Freeing initrd memory: 393k freed
> NET: Registered protocol family 16
> PCI: PCI BIOS revision 2.10 entry at 0xfb4a0, last bus=2
> PCI: Using configuration type 1
> mtrr: v2.0 (20020519)
> ACPI: Subsystem revision 20040326
> ACPI: Interpreter disabled.
> Linux Plug and Play Support v0.97 (c) Adam Belay
> usbcore: registered new driver usbfs
> usbcore: registered new driver hub
> PCI: Probing PCI hardware
> PCI: Probing PCI hardware (bus 00)
> PCI: nForce2 C1 Halt Disconnect fixup
> PCI: Discovered primary peer bus ff [IRQ]
> PCI: Using IRQ router default [10de/01e0] at 0000:00:00.0
> vesafb: probe of vesafb0 failed with error -6
> apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
> apm: disabled on user request.
> audit: initializing netlink socket (disabled)
> audit(1101198848.4294965563:0): initialized
> Total HugeTLB memory allocated, 0
> VFS: Disk quotas dquot_6.5.1
> Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
> SELinux:  Registering netfilter hooks
> Initializing Cryptographic API
> pci_hotplug: PCI Hot Plug PCI Core version: 0.5
> isapnp: Scanning for PnP cards...
> isapnp: No Plug & Play device found
> Real Time Clock Driver v1.12
> Linux agpgart interface v0.100 (c) Dave Jones
> agpgart: Detected NVIDIA nForce2 chipset
> agpgart: Maximum main memory to use for agp memory: 439M
> agpgart: AGP aperture is 128M @ 0xd0000000
> Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
> RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
> divert: not allocating divert_blk for non-ethernet device lo
> Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
> ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
> NFORCE2: IDE controller at PCI slot 0000:00:09.0
> NFORCE2: chipset revision 162
> NFORCE2: not 100% native mode: will probe irqs later
> NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
> NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
>     ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
>     ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
> hda: WDC WD800JB-00FMA0, ATA DISK drive
> Using cfq io scheduler
> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
> hdc: RICOH DVD+RW MP5240, ATAPI CD/DVD-ROM drive
> ide1 at 0x170-0x177,0x376 on irq 15
> hda: max request size: 128KiB
> hda: 156301488 sectors (80026 MB) w/8192KiB Cache, CHS=65535/16/63, UDMA(100)
>  hda: hda1 hda2 < hda5 hda6 hda7 > hda3 hda4
> hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
> Uniform CD-ROM driver Revision: 3.20
> ide-floppy driver 0.99.newide
> usbcore: registered new driver hiddev
> usbcore: registered new driver usbhid
> drivers/usb/input/hid-core.c: v2.0:USB HID core driver
> mice: PS/2 mouse device common for all mice
> serio: i8042 AUX port at 0x60,0x64 irq 12
> input: ImPS/2 Logitech Wheel Mouse on isa0060/serio1
> serio: i8042 KBD port at 0x60,0x64 irq 1
> input: AT Translated Set 2 keyboard on isa0060/serio0
> md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
> NET: Registered protocol family 2
> IP: routing cache hash table of 4096 buckets, 32Kbytes
> TCP: Hash tables configured (established 32768 bind 65536)
> Initializing IPsec netlink socket
> NET: Registered protocol family 1
> NET: Registered protocol family 17
> md: Autodetecting RAID arrays.
> md: autorun ...
> md: ... autorun DONE.
> RAMDISK: Compressed image found at block 0
> VFS: Mounted root (ext2 filesystem).
> kjournald starting.  Commit interval 5 seconds
> EXT3-fs: mounted filesystem with ordered data mode.
> Freeing unused kernel memory: 136k freed
> SELinux:  Disabled at runtime.
> SELinux:  Unregistering netfilter hooks
> NET: Registered protocol family 10
> Disabled Privacy Extensions on device 022f28e0(lo)
> IPv6 over IPv4 tunneling driver
> divert: not allocating divert_blk for non-ethernet device sit0
> ehci_hcd 0000:00:02.2: EHCI Host Controller
> PCI: Setting latency timer of device 0000:00:02.2 to 64
> ehci_hcd 0000:00:02.2: irq 10, pci mem 2285b000
> ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
> irq 10: nobody cared! (screaming interrupt?)
>  [<021072a2>] __report_bad_irq+0x2b/0x67
>  [<0210733a>] note_interrupt+0x43/0x66
>  [<02107561>] do_IRQ+0x12c/0x1ab
>  [<0211c9f8>] __do_softirq+0x2c/0x73
>  [<02107c57>] do_softirq+0x46/0x4d
>  =======================
>  [<021075ca>] do_IRQ+0x195/0x1ab
>  [<0219f790>] pci_bus_read_config_byte+0x34/0x4b
>  [<22874bd0>] ehci_start+0xdd/0x2e5 [ehci_hcd]
>  [<02119e7c>] call_console_drivers+0xbe/0xe3
>  [<0211a05a>] printk+0x100/0x120
>  [<02224bb6>] usb_register_bus+0x138/0x142
>  [<022287d1>] usb_hcd_pci_probe+0x3c4/0x402
>  [<021a1eae>] pci_device_probe_static+0x2a/0x3d
>  [<021a1edc>] __pci_device_probe+0x1b/0x2c
>  [<021a1f08>] pci_device_probe+0x1b/0x2d
>  [<021e6bd1>] bus_match+0x27/0x45
>  [<021e6c9d>] driver_attach+0x37/0x6a
>  [<021e6eb5>] bus_add_driver+0x70/0x87
>  [<021e71cf>] driver_register+0x28/0x2c
>  [<021a207b>] pci_register_driver+0x4b/0x66
>  [<2286301b>] init+0x1b/0x22 [ehci_hcd]
>  [<0212aef4>] sys_init_module+0x101/0x213
>  
> handlers:
> [<02225654>] (usb_hcd_irq+0x0/0x4b)
> Disabling IRQ #10
> PCI: cache line size of 64 is not supported by device 0000:00:02.2
> ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
> hub 1-0:1.0: USB hub found
> hub 1-0:1.0: 6 ports detected
> ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
> ohci_hcd: block sizes: ed 64 td 64
> ohci_hcd 0000:00:02.0: OHCI Host Controller
> PCI: Setting latency timer of device 0000:00:02.0 to 64
> ohci_hcd 0000:00:02.0: irq 10, pci mem 2285d000
> ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
> hub 2-0:1.0: USB hub found
> hub 2-0:1.0: 3 ports detected
> ohci_hcd 0000:00:02.1: OHCI Host Controller
> PCI: Setting latency timer of device 0000:00:02.1 to 64
> ohci_hcd 0000:00:02.1: irq 11, pci mem 2285f000
> ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
> hub 3-0:1.0: USB hub found
> hub 3-0:1.0: 3 ports detected
> EXT3 FS on hda3, internal journal
> device-mapper: 4.1.0-ioctl (2003-12-10) initialised: dm@uk.sistina.com
> cdrom: open failed.
> Adding 666688k swap on /dev/hda4.  Priority:-1 extents:1
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on hda6, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> kjournald starting.  Commit interval 5 seconds
> EXT3 FS on hda7, internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport0: irq 7 detected
> parport0: Printer, Canon BJC-1000SP
> SCSI subsystem initialized
> inserting floppy driver for 2.6.7-1.437.1.ll.rhfc2.ccrma
> floppy0: no floppy controllers found
> forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
> PCI: Setting latency timer of device 0000:00:04.0 to 64
> divert: allocating divert_blk for eth0
> eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:04.0
> divert: freeing divert_blk for eth0
> ip_tables: (C) 2000-2002 Netfilter core team
> forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.25.
> PCI: Setting latency timer of device 0000:00:04.0 to 64
> divert: allocating divert_blk for eth0
> eth0: forcedeth.c: subsystem: 01043:80a7 bound to 0000:00:04.0
> ip_tables: (C) 2000-2002 Netfilter core team
> eth0: no IPv6 routers present
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport0: irq 7 detected
> parport0: Printer, Canon BJC-1000SP
> lp0: using parport0 (polling).
> lp0: console ready
> usb 1-2: new high speed USB device using address 2
> usb 1-2: control timeout on ep0out
> ehci_hcd 0000:00:02.2: Unlink after no-IRQ?  Different ACPI or APIC settings may help.
> usb 1-2: control timeout on ep0out
> usb 1-2: device not accepting address 2, error -110
> usb 1-2: new high speed USB device using address 3
> usb 1-2: control timeout on ep0out
> usb 1-2: control timeout on ep0out
> usb 1-2: device not accepting address 3, error -110