Skip to contentSkip to conversation

Linux 2.6.10-ac9

DISCUSSION Alan Cox 3 participants 6 messages Jan 13, 2005 – Jan 16, 2005

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

Arjan van de Ven is now building RPMS of the kernel and those can be found in the RPM subdirectory and should be yum-able. Expect the RPMS to lag the diff a little as the RPM builds and tests do take time.

Key: o - only in -ac
* - already fixed upstream
X - discarded later as wrong
+ - ac specific (fix not relevant to non -ac)

2.6.10-ac9
* 2.6.10 variant of the stack race fix (Alan Cox)
| Found by Paul Staretz
* Stronger ELF validity checks (Solar Designer)
* Add ATI SATA identifiers (Frederick Li)
o Update ATI PATA/SATA support (Frederick Li)
* Audit fixups (Steve Grubb, Roger Luethi)
* FPU/signal handling fix (Bodo Stroesser)
* nForce2 APIC/LAPIC errata fixup (Prakash Punnoor)
* Swap aacraid fix in -ac with 2.6.11rc base fix (Tom Coughlan)
* Connnection track/rst fix (Martin Josefsson)
o Format ide printk's more nicely (Gunther Mayer)
o Stallion serial resurrection (part one) (Wayne Meissner)
* Fix nls_ascii (Ogawa Hirofumi)
* Count writeback pages in nr_scanned (Rik van Riel)
| OOM fixing
o Revert ac97_patch changes (Jules Villard)
| with this change many users get no sound out
o Correct handling of some module parameter (Rusty Russell)
errors

2.6.10-ac8
o I2O init/exit call fix (Randy Dunlap)
o More build ia-32 on x86-64 bits (Arjan van de Ven)
* NFS error path fixup (Bill Rugolsky)
o Swap the coda fix in ac7 with the official (Jan Harkes)
authors fix
o Fix some problematic ptrace/kill interactions (Roland McGrath)
o Fix ptrace/coredump problems with threaded (Roland McGrath)
apps

2.6.10-ac7
+ Fix failure at boot with some setups and ac6 (Alan Cox)
| Dumb bug indeed
o Fix random poolsize sysctl (Brad Spengler)
o Fix scsi_ioctl leak (Brad Spengler)
o Fix rlimit memlock (Brad Spengler)
o Fix Moxa serial (Alan Cox)

	| While moxa won't actually even build on 2.6 the grsecurity fix
	| is wrong (for 2.2, 2.4 as well). Without it being CAP_SYS_RAWIO
	| a user can insert alternative bios firmware into the card.

2.6.10-ac6
+ Fix ide-pnp build (Alan Cox)
o do_brk security fixes (Marcelo Tosatti)
| slightly reworked
o Fixes for Coverity Inc reported bugs (Alan Cox)
- coda_pioctl
- xfs_attrmulti_by_handle
- br_ioctl
- rose_rt_ioctl
- sdla_xfer
o Improve the no-overcommit behaviour (Andries Brouwer)

2.6.10-ac5
+ Remove obsolete usb_unlink_urb in pwc (Alan Cox)
| From instructions by Dwaine Garden
* Subset of ALSA updates to fix sound bugs in .10 (Takashi Iwai)
| This is the set Takashi kindly identified as being | worth applying for 10-ac.
o First run at merging ISI and base isicom driver (Alan Cox)
into a working 2.6 driver
+ IDE mode selection fixes for IT821x PIO (Alan Cox)
| Bug noted by Bartlomiej
o Fix a 32bit compatibility error in the cmsg (Olaf Kirch)
check logic
* Hopefully fix CD-ROM autoclose (Stas Sergeev)
o Disable sidewinder debugging spew (Michael Marineau)
o Openprom fixes (Al Viro)
o Fix cosa module crash on load (Jan Kasprzak)
o Add the build environment bits to kernel (Kevin Fenzi)
make rpm output
* Fix megaraid unload oops (Al Viro)
* Make gconfig work with current gtk 2.4 (J Magallon)
* Fix harmless parport overflow by one (Alexander Nyberg)
* Fix drivers that put a '/' in /proc/irq/.. (Olaf Hering)

2.6.10-ac4
o Initial fixes for /dev/tty v setsid() crash (Alan Cox)
[/dev/tty v vhangup needs more work]
+ Fixed AGP compile on ia-32 (Arjan van de Ven)
+ PPC fixes (Dave Jones)
o Document irqpoll/irqfixup (Alan Cox)
o IBM ACPI reference __exit unsafely (Arjan van de Ven)
o Allow pwc to be compiled into the kernel (Christian Hesse)

2.6.10-ac3
* Fix a pile of mmc warnings/errors (Russell King)
* Fix acpi video memory corruption (Linus Torvalds)
* Fix module param breakage in parport_pc (Randy Dunlap)
* Intel ICH7 IDE support and $PIR support (Jason Gaston)
o Intel ICH7 SATA support (Jason Gaston)
o Intel ICH7 I2C support (Jason Gaston)
o Fix an IDE CD-ROM crash/BUG case (Prarit Bhargava)
* Swap -ac AGP annotations for head AGP fixes (Dave Jones,
Bjorn Helgaas, Masao Takahashi)
o Add proper delaying/sleeping ide_pci_unregister (Alan Cox)
o Do the same for PCMCIA (ide_cs) and ISA PnP (Alan Cox)
o Use msleep for ide-cd and ide-cs (Nishanth Aravamudan)
o Fix missing type in lapic_shutdown (Miael Pettersson)
o Fix some missing build dependancies for CX88 (Adrian Bunk)
o Move pwc to use remap_pfn_range (Arjan van de Ven)

2.6.10-ac2
o Fix printk fixes for geometry free drives (Alan Cox)
| Found by Bartlomiej
o Bartlomiej's requested cleanups for IT8212 (Alan Cox)
X Drop unneeded i810 audio patch
X Drop useless kmalloc size patch
+ Fix proposed ide ISA v PIO change to work (Alan Cox)
| Bug noted by .. everyone
* Backport mxser compile fix (Al Viro)
* Backport via acpi irq routing fixes (Len Brown, Shaohua Li)
| Replaces the old -ac fix
* Backport further aacraid chipset support (Mark Haverkamp)
* ULi 5281 support (Peer Chen)
* Backport several libata fixes notably problems (Albert Lee)

	with PDC20275

o FW_LOADER is needed by several dvb devices (Michal Feix)
o Add IT8211 PCI identifiers to IT8212 and (Alan Cox)
rename driver and functions it iT821x | Thanks to Philipp Imhof for the IT8211 idents
o Clean up and merge LAN M526X support (Clear Zhang)
| 2.6 port/slight tidy done on the original

2.6.10-ac1
o Revert AX.25 protocol breakage (Alan Cox)
o Remove bogus obsolete option junk from 2.6.10 (Alan Cox)
ide changes
| Options are often useful, so should be kept.
| Especially stuff like serialize
o Fix bogus dma_ naming in the 2.6.10 patch (Alan Cox)
o Initial CS5520 fixups for VDMA and 2.6.10
| Must set vdma flag before command issue
| ?? could we just set it at boot and leave it - probably (check)

Forward ported from 2.6.9-ac
o Smbfs improved parsing fixes (Chuck Ebbert)
o Fix several IDE drivers that assumed > 0 was (Alan Cox)
also an error return for pci probe functions
* Fix sys5 semaphore wakeups (Manfred Spraul)
o Suggest irqpoll when we get screaming irqs (Alan Cox)
o Fix reset problems with older 3c59x/3c90x (John Linville)
o Configurable 100/1Khz clock for x86 (James Bottomley)
| 100Hz is great for battery life
o Delkin cardbus IDE support (Mark Lord)
o IT8212 IDE support (Alan Cox)
X Add more AC97 table data
o Token ring locking fix
o Fix URL for lanana (Alexander Stohr)
X Add a 1620 byte slab cache for ethernet frames (Arjan van de Ven)
* EDD boot options (Matt Domsch)
o Don't probe legacy ISA ide2,3,4,5 on PCI boxes (Alan Cox)
o Restore PWC driver (Luc Saillard)
| Please port away from remap_page_range
o Fix AT2701FX AMD PCnet32 on fibre (Guido Guenther)
* Fix build of CS461x gameport (Adrian Bunk)
o Fix crash with aacraid double complete (Mark Salyzyn, Tom Coughlan,
Alan Cox)
* Fix getblk_slow hang (Chris Mason)
+ Fix SMP hang with IDE unregister (Mark Lord)
o Working IDE locking (Alan Cox)
| And a great deal of review by Bartlomiej
o Allow IDE to grab all unknown generic IDE (Alan Cox)
devices (boot with "all-generic-ide")
o More ATI IDE PCI identifiers (Enrico Scholz)
o Initial patch for ide_abort hang (Alan Cox)
o Fix serveral ide timing violations on reset (Alan Cox)
* Support CSB6-R Serverworks raid (Alan Cox)
o Teach ide-cd to use sense data for file system (Alan Cox)
requests
- This means you get better diagonstics on CD errors
- It means a partial I/O failure will get you back the ok sectors
- It may fix the problem some users have with ISO copying and ide-cd
o Lock ide-proc against driver unload (Alan Cox)
(very low severity)
o Fix ide /proc and legacy devices problem (Alan Cox)
* Watchdog support for early cobalt ALi hardware (Mike Waychison)
* Make sx8 naming follow LANANA (Jeremy Katz)
* Don't warn on scsi ioctl kmalloc fail (Arjan van de Ven)
* Fix Paul Laufer's email address (Paul Laufer)
* Fix misleading microcode message (Arjan van de Ven)
o Allow cross compile of x86_32 kernel on x86_64 (Arjan van de Ven)
o Kill "open failed" cdrom message. (Alan Cox)
| This is a natural event from code poking around
| doing CD detection etc
* Minor typo fix in cdrom driver (efalk@google)
* Add support for newer ALi AGP (Clear Zhang)
o Handle E7xxx boxes with USB legacy flaws (Alan Cox)

Cleanups in porting
o Drop ->taskfile hooks in the IDE layer (Alan Cox)

	(->fixup replaces)

o Fix up IT8212 for 2.6.10 ide_use_dma cleanups (Alan Cox)
and other 2.6.10 cleaning

Dropped for now
o VIA extra quirk
o HP Cardbus routing fixup

#1 lore raw
Quoted 22 lines · Alan Cox

Arjan van de Ven is now building RPMS of the kernel and those can be found in the RPM subdirectory and should be yum-able. Expect the RPMS to lag the diff a little as the RPM builds and tests do take time.

Key: o - only in -ac
* - already fixed upstream
X - discarded later as wrong
+ - ac specific (fix not relevant to non -ac)

2.6.10-ac9
* 2.6.10 variant of the stack race fix (Alan Cox)
| Found by Paul Staretz
* Stronger ELF validity checks (Solar Designer)
* Add ATI SATA identifiers (Frederick Li)
o Update ATI PATA/SATA support (Frederick Li)
* Audit fixups (Steve Grubb, Roger Luethi)
* FPU/signal handling fix (Bodo Stroesser)
* nForce2 APIC/LAPIC errata fixup (Prakash Punnoor)
* Swap aacraid fix in -ac with 2.6.11rc base fix (Tom Coughlan)
* Connnection track/rst fix (Martin Josefsson)
o Format ide printk's more nicely (Gunther Mayer)

Quoted 8 lines

o Stallion serial resurrection (part one) (Wayne Meissner)
* Fix nls_ascii (Ogawa Hirofumi)
* Count writeback pages in nr_scanned (Rik van Riel)
| OOM fixing
o Revert ac97_patch changes (Jules Villard)
| with this change many users get no sound out
o Correct handling of some module parameter (Rusty Russell)
errors

with 2.6.10-ac7/ac8 I did not have problems with sound, but with ac9 I got these problems:

at boot, sometimes /dev/dsp and /dev/snd/pcm* do not get created, despite modules are loaded and /proc/interrupts shows IRQ 5 for Ensoniq AudioPCI (but count stays at 0).
(I just upgraded to udev-0.50, too...)

first, full lspci output:

00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge (rev 03)

	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
	Latency: 64
	Region 0: Memory at e0000000 (32-bit, prefetchable) [size=64M]
	Capabilities: [a0] AGP version 1.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

00: 86 80 90 71 06 00 10 22 03 00 00 06 00 40 00 00 10: 08 00 00 e0 00 00 00 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00

00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge (rev 03) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 0000d000-0000dfff
Memory behind bridge: e4000000-e7ffffff
Prefetchable memory behind bridge: e8000000-e8ffffff
Secondary status: 66Mhz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B+
00: 86 80 91 71 07 01 20 02 03 00 04 06 00 40 01 00
10: 00 00 00 00 00 00 00 00 00 01 01 40 d0 d0 a0 22
20: 00 e4 f0 e7 00 e8 f0 e8 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 88 00

00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00: 86 80 10 71 0f 00 80 02 02 00 01 06 00 00 80 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01) (prog-if 80 [Master])

	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64
	Region 4: I/O ports at f000 [size=16]

00: 86 80 11 71 05 00 80 02 01 80 01 01 00 40 00 00 10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20: 01 f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01) (prog-if 00 [UHCI])
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64
Interrupt: pin D routed to IRQ 11
Region 4: I/O ports at e000 [size=32]
00: 86 80 12 71 05 00 80 02 01 00 03 0c 00 40 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 04 00 00

00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin ? routed to IRQ 9
00: 86 80 13 71 03 00 80 02 02 00 80 06 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

00:09.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Surecom Technology EP-320X-R
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at e400 [size=256]
Region 1: Memory at e9000000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 40 00 00
10: 01 e4 00 00 00 00 00 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 bd 10 20 03
30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 20 40

00:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
Subsystem: Hauppauge computer works Inc. WinTV Series
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (4000ns min, 10000ns max)
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e9001000 (32-bit, prefetchable) [size=4K]
00: 9e 10 6e 03 06 00 80 02 02 00 00 04 00 40 80 00
10: 08 10 00 e9 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 eb 13
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 10 28

00:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
Subsystem: Hauppauge computer works Inc. WinTV Series
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (1000ns min, 63750ns max)
Interrupt: pin A routed to IRQ 9
Region 0: Memory at e9002000 (32-bit, prefetchable) [size=4K]
00: 9e 10 78 08 06 00 80 02 02 00 80 04 00 40 80 00
10: 08 20 00 e9 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 70 00 eb 13
30: 00 00 00 00 00 00 00 00 00 00 00 00 09 01 04 ff

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e800 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: 74 12 71 13 05 00 10 04 06 00 01 04 00 40 00 00
10: 01 e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 74 12 71 13
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 0c 80

00:0f.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (8000ns min, 16000ns max)
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at ec00 [size=256]
Region 1: Memory at e9003000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
00: ec 10 39 81 07 00 90 02 10 00 00 02 00 40 00 00
10: 01 ec 00 00 00 30 00 e9 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 ec 10 39 81
30: 00 00 00 00 50 00 00 00 00 00 00 00 0a 01 20 40

01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 01) (prog-if 00 [VGA])

	Subsystem: Matrox Graphics, Inc. Millennium G200 AGP
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 64 (4000ns min, 8000ns max), Cache Line Size 08
	Interrupt: pin A routed to IRQ 0
	Region 0: Memory at e8000000 (32-bit, prefetchable) [size=16M]
	Region 1: Memory at e4000000 (32-bit, non-prefetchable) [size=16K]
	Region 2: Memory at e5000000 (32-bit, non-prefetchable) [size=8M]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-
	Capabilities: [f0] AGP version 1.0
		Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2
		Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW- Rate=x2

00: 2b 10 21 05 07 00 90 02 01 00 00 03 08 40 00 00 10: 08 00 00 e8 00 00 00 e4 00 00 00 e5 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 2b 10 03 ff 30: 00 00 00 00 dc 00 00 00 00 00 00 00 ff 01 10 20

at this spot I have no /dev/dsp etc.
then I reload snd_ens1371:

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
+ Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort- >SERR- <PERR-
Latency: 64 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e800 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
-00: 74 12 71 13 05 00 10 04 06 00 01 04 00 40 00 00
+00: 74 12 71 13 05 00 10 14 06 00 01 04 00 40 00 00
10: 01 e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 74 12 71 13
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 0c 80

I have /dev/dsp but no /dev/snd/control* so no sound.

then I remove every module related to sound.

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128

-       Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
-       Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort- >SERR- <PERR-
-       Latency: 64 (3000ns min, 32000ns max)
+       Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
+       Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-

Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e800 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
- Status: D0 PME-Enable- DSel=0 DScale=0 PME-
-00: 74 12 71 13 05 00 10 14 06 00 01 04 00 40 00 00
+ Status: D3 PME-Enable- DSel=0 DScale=0 PME-
+00: 74 12 71 13 01 00 10 34 06 00 01 04 00 40 00 00
10: 01 e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 74 12 71 13
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 0c 80

then I run "modprobe snd_ens1371".
I now get dsp and control, all works.

00:0d.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
Subsystem: Ensoniq Creative Sound Blaster AudioPCI64V, AudioPCI128
- Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
+ Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
+ Latency: 64 (3000ns min, 32000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at e800 [size=64]
Capabilities: [dc] Power Management version 1
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0+,D1-,D2+,D3hot+,D3cold-)
- Status: D3 PME-Enable- DSel=0 DScale=0 PME-
-00: 74 12 71 13 01 00 10 34 06 00 01 04 00 40 00 00
+ Status: D0 PME-Enable- DSel=0 DScale=0 PME-
+00: 74 12 71 13 05 00 10 34 06 00 01 04 00 40 00 00
10: 01 e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 74 12 71 13
30: 00 00 00 00 dc 00 00 00 00 00 00 00 05 01 0c 80

also, with 2.6.10 I can't disable write cache... I could do it in 2.6.9.

# hdparm -I /dev/hda | grep "Write cache" ; hdparm -W0 /dev/hda ; hdparm -I /dev/hda | grep "Write cache" 
           *    Write cache

/dev/hda:
setting drive write-caching to 0 (off)
* Write cache

author
#2 lore raw
Quoted 2 lines · Sami Farin

at this spot I have no /dev/dsp etc.
then I reload snd_ens1371:

That sounds like the new udev rather than kernel side. The changes from ac8 to ac9 are tiny on the audio side and don't involve driver setup stuff.

Quoted 2 lines

also, with 2.6.10 I can't disable write cache...
I could do it in 2.6.9.

Works for me in 2.6.10-ac. Are there any diagnostics on dmesg when you try and turn the cache off ?

#3 lore raw
Quoted 8 lines · Alan Cox
Quoted 2 lines · Sami Farin

at this spot I have no /dev/dsp etc.
then I reload snd_ens1371:

That sounds like the new udev rather than kernel side. The changes from ac8 to ac9 are tiny on the audio side and don't involve driver setup stuff.

Quoted 5 lines
Quoted 2 lines

also, with 2.6.10 I can't disable write cache...
I could do it in 2.6.9.

Works for me in 2.6.10-ac. Are there any diagnostics on dmesg when you try and turn the cache off ?

no, nothing.

how do I know now is hdparm -I or -W lying?
(-I says it's enabled and -W0 says it was disabled just fine.)

my drives do not support cache flushes, I guess your drives do?

drivers/ide/ide-disk.c:write_cache()
if (!ide_id_has_flush_cache(drive->id))
return 1;

cat /proc/ide/hda/settings does not work, either

cat D C0572788 0 8016 5187 6044 (NOTLB)
cdc97eb0 00000046 cf7f00a0 c0572788 00005699 c01fe93f 000001ad 00000023

       01078345 00005699 cf7f00a0 00000bbb 02ed12c3 00005699 cfec51d8 c04de020 
       cfec5080 00000246 cdc97ee8 c0409764 c04de028 00000001 cfec5080 c011ab70 
Call Trace:
 [<c0409764>] __down+0x64/0xc0
 [<c04098ba>] __down_failed+0xa/0x10
 [<c0302acf>] .text.lock.ide_proc+0x8b/0x1fc
 [<c018c594>] proc_file_read+0xc4/0x260
 [<c0158fbf>] vfs_read+0xcf/0x150
 [<c01592db>] sys_read+0x4b/0x80
 [<c0103163>] syscall_call+0x7/0xb
author
#4 lore raw
Quoted 1 line · Sami Farin

my drives do not support cache flushes, I guess your drives do?

Probably yes.

Quoted 4 lines

cat /proc/ide/hda/settings does not work, either

cat D C0572788 0 8016 5187 6044 (NOTLB)
cdc97eb0 00000046 cf7f00a0 c0572788 00005699 c01fe93f 000001ad 00000023

Quoted 10 lines
       01078345 00005699 cf7f00a0 00000bbb 02ed12c3 00005699 cfec51d8 c04de020 
       cfec5080 00000246 cdc97ee8 c0409764 c04de028 00000001 cfec5080 c011ab70 
Call Trace:
 [<c0409764>] __down+0x64/0xc0
 [<c04098ba>] __down_failed+0xa/0x10
 [<c0302acf>] .text.lock.ide_proc+0x8b/0x1fc
 [<c018c594>] proc_file_read+0xc4/0x260
 [<c0158fbf>] vfs_read+0xcf/0x150
 [<c01592db>] sys_read+0x4b/0x80
 [<c0103163>] syscall_call+0x7/0xb

Duplicated and fixed for -ac10 coming up soon. Thanks for that one, thats was a very dumb bug 8)

#5 lore raw
In reply to Alan Cox

* Alan Cox <[email protected]>:

Quoted 1 line

2.6.10-ac9

I tried building it with gcc-4.0 -- while the build went fine, it just wouldn't boot (which doesn't suprise me a bit). Why is that?

Signature · 4 lines
Ralf Hildebrandt (i.A. des IT-Zentrum)          [email protected]
Charite - Universitätsmedizin Berlin            Tel.  +49 (0)30-450 570-155
Gemeinsame Einrichtung von FU- und HU-Berlin    Fax.  +49 (0)30-450 570-962
IT-Zentrum Standort CBF                 send no mail to [email protected]