Skip to contentSkip to conversation

Linux 2.6.8-rc2

PATCH New Linus Torvalds 13 participants 15 messages Jul 18, 2004 – Jul 20, 2004 PowerPC

lore
Share & tools
lore
#0 lore raw

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Summary of changes from v2.6.8-rc1 to v2.6.8-rc2
============================================

Adrian Bunk:
o [IPV4]: Remove no longer available URL
o #ifndef guard percpu_counter.h and blockgroup_lock.h
o remove outdated Stallion contact information
o USB: USB w9968cf compile error

Alan Stern:
o USB: Add usb_kill_urb()
o USB: Make hub driver use usb_kill_urb()
o USB: Don't ask for string descriptor lengths
o USB: Store pointer to usb_device in private hub structure
o USB: Fix endianness bug in UHCI driver
o USB: Allow NULL argument in usb_unlink_urb() and usb_kill_urb()

Alexander Viro:
o sparse: NULL noise in fs/reiserfs
o sparse: misc NULL noise in fs/*
o sparse: aacraid annotation
o sparse: megaraid inline fixes
o sparse: megaraid annotation
o sparse: NULL noise in drivers/isdn
o sparse: misc NULL noise in drivers/*
o sparse: ISDN ->readstat() and ->writecmd() annotation
o sparse: blind dereference of userland pointers in divasproc
o sparse: drivers/isdn/* annotation
o sparse: dvb_ringbuffer_pkt_write()/dvb_ringbuffer_write() annotation
o sparse: blind dereference of userland pointers in ac7110
o sparse: drivers/media/* annotation
o sparse: switching afs to kvec
o sparse: VIDIOCSWIN compat_ioctl fixes
o sparse: usb ioctl cleanups
o sparse: isdn compile fix for platforms with HZ > 1000
o sparse: saa fix
o sparse: compile fix for rrunner on big-endian platforms
o sparse: tms380tr.c fix
o sparse: NULL noise removal in drivers/sbus
o sparse: drivers/sbus fixes
o sparse: drivers/sbus annotation
o sparse: alpha NULL noise removal
o sparse: alpha sparse infrastructure
o sparse: alpha topology.h compile fix
o sparse: signal annotation
o sparse: arch/* NULL noise removal
o sparse: ipc compat annotations and cleanups
o sparse: gemtek ioctl fix
o sparse: drivers/media NULL noise removal
o sparse: drivers/net partial NULL noise removal
o sparse: drivers/usb NULL noise removal
o sparse: net/* NULL noise removal
o sparse: assorted drivers/* NULL noise removal
o sparse: more fs/* NULL noise removal
o __vfs_follow_link() made inline again
o compat_fillonedir() warning fix
o sparse: read_descriptor_t annotation
o sparse: missing cpumask_t bits on sparc
o sparse: aout32 sparse fixes for compat
o sparse: __forced added to casts in arch-specific code
o pointer-to-int done the canonical way
o sparse: more drivers/scsi annotations
o sparse: a couple of inline fixes in drivers'/scsi
o sparse: more drivers/usb/* annotations
o sparse: #if where #ifdef should've been (saa7146)
o sparse: (ipv6/netfilter) initializer fix
o sparse: sound compat ioctls annotations
o mcdx irq handling cleanup
o remove bogus casts of pointers to unsigned int in sound/*
o au88x0: use proper field of snd_kcontrol_t and don't try to store pointer in int
o ic31712: when storing a bitmask in pointer field, use unsigned long
o annotated sound/pci/nm256/nm256.c
o NULL noise removal in sound/usb/*
o mark broken stuff as such in Kconfig
o misc sparse cleanups
o switch sys32_timer_create() to compat_alloc_user_space()
o sparse: beginning of iovec cleanups - infrastructure
o sparse: iovec cleanups - smbfs
o sparse: iovec cleanups - ncpfs
o sparse: iovec cleanups - cifs
o sparse: iovec cleanups - rxrpc
o sparse: iovec cleanups - sunrpc, nfs and nfsd
o sparse: iovec cleanups - the rest
o annotations and NULL noise removal in drivers/char/drm
o 3w-9xxx.c annotated
o fbmem.c partially annotated
o hfs and hfsplus switched to use of ffs(3) instead of homegrown versions
o more annotations in binfmt_aout.c
o pointer-to-number cast in binfmt_elf.c done right

Alexandre d'Alton:
o I2C: ADM1030 and Co sensors chips support

Andi Kleen:
o Fix memory corruption at x86-64 SMP bootup
o Fix i386 bootup with HIGHMEM+SLAB_DEBUG+NUMA and no real

Andras Bali:
o I2C: Add support for LM77

Andrew Morton:
o raw.c cleanups
o JFS: jfs_dmap build fix
o [SPARSE]: Fix warnings in net/sctp/
o small style fixups for the new automount code
o `unknown symbol' in sound/oss/kahlua.ko needs unknown symbol udelay
o remove struct_cpy()
o Altix serial driver updates

Anton Blanchard:
o tg3 bug

Arthur Othieno:
o fix return codes after i2c_add_driver() in tea6415c and tea6420

Bartlomiej Zolnierkiewicz:
o ide: PIO-out fixes for ide-taskfile.c (CONFIG_IDE_TASKFILE_IO=n)
o ide: PIO-out ->prehandler() fixes (CONFIG_IDE_TASKFILE_IO=y)
o ide: PIO-out error handling fixes (CONFIG_IDE_TASKFILE_IO=y)
o ide: remove BUSY check from task_in_intr() (CONFIG_IDE_TASKFILE_IO=n)
o remove pre_task_out_intr() comment (CONFIG_IDE_TASKFILE_IO=n)
o ide: pre_task_mulout_intr() cleanup (CONFIG_IDE_TASKFILE_IO=n)
o ide: no partial completions for PIO (CONFIG_IDE_TASKFILE_IO=y)
o ide: merge CONFIG_IDE_TASKFILE_IO=y|n PIO handlers together
o ide: use "normal" handlers for "flagged" taskfiles (ide-taskfile.c)

Ben Dooks:
o [ARM PATCH] 1961/1: S3C2410 - fix for UART FIFO size calculation
o [ARM PATCH] 1962/1: S3C2410 - Rename MACH_VR1000 to Thorcom-VR1000

Bill Nottingham:
o fix airo oops-on-removal

Bjorn Helgaas:
o fix ia64 early_printk build problem

Brent Casavant:
o ia64: Fix bug in ia64_atomic64_{add,sub}

Colin Leroy:
o fix saa7146 compilation

Daniel McNeil:
o mmap PROT_NONE fix for NX patch

Daniele Venzano:
o sis900-fix-phy-transceiver-detection.patch

Dave Kleikamp:
o JFS: Don't allow reading beyond the inode map's EOF
o JFS: Error path released metadata page it shouldn't have
o JFS: Updated field isn't always written to disk during truncate
o JFS: Protect active_ag with a spinlock
o JFS: prevent concurrent calls to txCommit on the imap inode
o JFS: Check for dmap corruption before using leafidx
o JFS: Add d_hash and d_compare operations for case-insensitive names

David Brownell:
o USB: misc ohci tweaks
o USB: usb serial gadget, add omap_udc
o USB: usb gadgetfs, handle omap_udc
o USB: usb gadget API updates
o USB: usb gadget zero, basic OTG updates
o USB: usb ethernet gadget, minor fixes + basic OTG support
o USB: usb host side updates, mostly for suspend
o USB: usb hub, don't check speed before reset

David Eger:
o pmac_zilog: initialize port spinlock on all init paths

David Howells:
o ppc32: openpic driver cpumask_t changes

David Mosberger:
o ia64: Fix OSDL BugMe report 2885: realtime process can't preempt low priority process in kernel
o ia64: Nuke two compiler warnings
o ia64: Define machvec_noop as "static inline"
o ia64: Fix EFI physical-mode stubs to correctly calculate physical address
o ia64: Nuke a warning due to the syscall auditing patch

David S. Miller:
o [TCP]: Type qualifiers, such as const, are ignored on function return type
o [IPV4]: Fix multicast socket hangs
o [PKT_SCHED]: Remove CSZ scheduler
o [SPARC64]: Add CMT register defines
o [SPARC64]: Update defconfig

David T. Hollis:
o USB: usbnet:ax8817x - use interrupt URB for link detection
o USB: ax8817x_unbind does not free the interrupt URB after unlinking

David Woodhouse:
o NAND flash driver updates
o JFFS2 file system update
o MTD core include and device code cleanup
o NOR flash drivers update
o ppc32: Fix UART detection on WindRiver SBC8560
o ppc32: Fix UART initialisation on WindRiver SBC8560
o ppc32: Fix IRQ setup on WindRiver SBC8560
o Remove /proc/fs/jffs2 support
o M-Systems DiskOnChip driver: fix DiskOnChip Millennium ECC support and fix a few compiler warnings while we're at it.
o Make obsolete NOR flash chip drivers depend on BROKEN

Dmitry Torokhov:
o Driver core: add platform_device_register_simple to register platform
o Driver core: add default driver attributes to struct bus_type
o Driver core: kset_find_obj should increment refcount of the found object
o Driver core: add driver_find helper to find a driver by its name
o Driver core: Fix OOPS in device_platform_unregister

Eugene Surovegin:
o I2C PPC4xx IIC driver: 0-length transactions bit-banging implementation

Gordon Jin:
o ia64: IA-32 sigaltstack bug fix

Greg Kroah-Hartman:
o Driver Core: remove extra space in Kconfig file
o I2C: sparse cleanups for a few i2c drivers
o I2C: small ADM1030 fix
o 1 Wire: add Dallas 1-wire protocol driver subsystem
o USB: add 3 Phidget device ids to the HID blacklist
o USB: fix up the wording in the emi26 firmware file to match the other kernel firmware files
o USB: more sparse cleanups (all pretty much NULL usages.)
o USB: fix lockup with 2.6 keyspan_pda driver
o USB: Trivial fix to include/linux/usb.h
o USB: more sparse fixups that found a real bug in the se401 driver
o USB: fix usbfs mount options ignored bug
o USB: oops, revert hub patch that wasn't supposed to make it into this patch series yet
o USB: change all usbserial drivers to use module_param()
o USB: remove CONFIG_USB_SERIAL_DEBUG
o USB: sort the order in which the usb-serial drivers get built
o USB: fix SN9C10[12] driver for ia64
o USB: unusual_devs.h update
o USB: usbserial/ipaq update
o USB: ftdi_sio debug trace for TIOCMSET
o Upgrade security/root_plug.c to new module parameter syntax
o add removeable sysfs block device attribute

Guennadi Liakhovetski:
o [wireless airo] fix alignment problem (particularly on ARM)

Herbert Xu:
o [XFRM]: Add FLUSHSA and FLUSHPOLICY
o [IPSEC]: Fix uh->len when doing NATT with IP options
o [IPSEC]: Move generic encap code into xfrm4_output
o [IPCOMP6]: Exclude IPCOMP header from props.header_len

Hideaki Yoshifuji:
o [NET]: Fix dst_underflow_bug_msg printk args

Hirofumi Ogawa:
o [IPV4]: IPMR fixes
o [NET]: Cleanup mis-usage of seq_release_private
o autoselect FAT_FS in config

Hugh Dickins:
o tmpfs preempt count panic

Ian Abbott:
o USB: ftdi_sio VID/PID updates

Jack Steiner:
o ia64: Reduce TLB flushing during process migration

Jamal Hadi Salim:
o [PKT_SCHED]: Another missed tc_stats spinlock conversion

James Morris:
o [CRYPTO]: Remove lazy allocation from deflate

Jan-Benedict Glaw:
o mconf.c: Honor $LINES and $COLUMNS if TIOCGWINSZ failed

Janice M. Girouard:
o [netdrvr acenic] fix RX descriptor memory ordering

Jean Delvare:
o I2C: Class of scx200_acb
o I2C: Add support for LM86, MAX6657 and MAX6658 to lm90
o I2C: Documentation for i2c-parport
o I2C: remove Documentation for i2c-pport
o I2C: adm1025 driver ported to 2.6
o I2C: Refine detection of LM75 chips

Jeff Garzik:
o [netdrvr dmfe] remove ALi pci id
o [netdrvr tg3] bump version and reldate
o [PCI, libata] Fix "combined mode" PCI quirk for ICH6

Jens Axboe:
o CFQ: allocation under lock, missing memset on allocation
o fix cdrom mt rainier probe

John Heffner:
o [TCP]: Do not round window to MSS if window scaling

John Lenz:
o [ARM PATCH] 1958/1: make collie use INIT_MACHINE

Kam Leo:
o floppy.c: remove superfluous variable initialization

Keith M. Wesolowski:
o [SPARC32]: Regenerate defconfig
o [SPARC32]: Move non-PCI DMA definitions out of pgtable.h
o [SPARC32]: Continue to avoid the use of __builtin_trap for BUG()
o [SPARC32]: Fix CONFIG_SUN4 build
o [SPARC32]: Don't allow the kernel to read PAGE_NONE pages

Keith Owens:
o ia64: Rename local move_irq to sn_move_irq
o ia64: Correct invalid unwind data
o ia64: build fixes for IA64_MCA_DEBUG_INFO

Kenneth W. Chen:
o ia64: fix interpolation-bug in fsys_gettimeofday()

Linus Torvalds:
o Remove obsoleted drivers/char/h8.c drivers/char/h8.h
o x86: fix stackframe ownership confusion in sys_sigaltstack()
o ppc64: fix up si_addr usage
o It's a pointer, dummy. Use NULL, not 0
o ppc64: More NULL/0 confusion in prom.c
o Clean up ptrace child exit case
o Linux 2.6.8-rc2

Luca Risolia:
o Updates for W99[87]CF and new SN9C10[12] driver
o USB: W99[87]CF fix

Luiz Capitulino:
o I2C: i2c/i2c-dev.c::i2c_dev_init() cleanup
o USB: usb/core/file.c::usb_major_init() cleanup
o USB: usb/core/hcd.c::usb_init() missing audit

Manfred Spraul:
o natsemi updates
o natsemi 1: switch to netdev_priv()
o natsemi 2: support packets > 1518 bytes
o Gigabit Ethernet support for forcedeth

Marcel Holtmann:
o [Bluetooth] Respond to L2CAP info requests
o [Bluetooth] Don't reset the USB halted bits

Margit Schubert-While:
o prism54 freq to channel incorrect for 5GHz
o prism54 Fix wrong type for BSSID

Mark M. Hoffman:
o I2C: Remove extra inits from lm78 driver

Martin Josefsson:
o [NETFILTER]: Add timestamping to ipt_ULOG

Mika Kukkonen:
o Fix 'unsigned' < 0 checks
o Remove all uses of '#ifdef MODULE_PARM' from kernel

Miklos Szeredi:
o fix inode state incoherency

Patrick McHardy:
o [NETFILTER]: Fix two broken checks for options in ipt_LOG

Pavel Roskin:
o [netdrvr pci-skeleton] refresh

Peter Martuccelli:
o ia64: add audit support

Petri Koistinen:
o Fix 3c59x.c uses of plain integer as NULL pointer

Richard Henderson:
o [ALPHA] Pass pt_regs as pointer to execve and sigprocmask syscalls

Russell King:
o [ARM] ohci-omap does not need asm/mach-types.h

Rusty Russell:
o [TRIVIAL 2.6] sk98lin: kill dup include

Sergio Gelato:
o libata: fix kunmap() of incorrect page, in PIO data xfer

Seth Rohit:
o ia64: nointroute option needs to be parsed early

Stephen Hemminger:
o [NET]: Deinline sock_i_uid, sock_i_ino
o [BRIDGE]: Support different MTU sizes
o [PKT_SCHED]: Add jitter support to netem

Steve French:
o fix oops in build_wildcard_path_from_dentry
o clean up NULL vs. 0 warnings generated by sparse tool
o Set Type field when creating block/char/pipe e.g. via mknod
o Set DevMajor/DevMinor when querying info on remote char/block devices

Stéphane Eranian:
o ia64: fix various problems in pfm_check_task_state()

Thomas DuBuisson:
o [CRYPTO]: Set CRYPTO_TFM_RES_BAD_KEY_LEN in twofish

Tim Chick:
o USB: usbnet, Sitecom LN-029

Tony Luck:
o ia64: allow module core code calls to module init code again

Örjan Persson:
o I2C: patch quirks.c - SMBus hidden on hp laptop

#1 lore raw
Quoted 5 lines · Linus Torvalds

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

Full dmesg output attached.

Jurgen

#2 lore raw

From: Jurgen Kramer <[email protected]>
Date: Sun, Jul 18, 2004 at 01:12:33PM +0200

Quoted 9 lines · Linus Torvalds
Quoted 5 lines

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

Quoted 10 lines

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

That is most probably something in your bios. My Epox 4PCA3+ (also i875 chipset) says:

ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem f988a000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2

HTH,
Jurriaan

Signature · 4 lines
4) "No Spamming allowed!":  How to know when an AUP is actually enforced
or just placed there to placate the net-nazi
	'Top ten seminars at an upcoming DMA conference' as seen in nanae
Debian (Unstable) GNU/Linux 2.6.7-mm7 2x6078 bogomips load 0.30
#3 lore raw
Quoted 14 lines

From: Jurgen Kramer <[email protected]>

Quoted 12 lines

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

This is also what I see (on my Asus P4P800) more or less:

ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95

The funny thing is, it has happened with various kernel snapshots (right term for the 2.6.7-bk??-patches?) but not all.
I thought I had one (2.6.7-bk17) which didn't give this response, but now it does, and I suspect the problem is really something else. (Some automatic irq assignment to usb-hardware?)

I'm not into kernel source hacking so I can't really say much more.

Jurriaan:

Quoted 2 lines

That is most probably something in your bios. My Epox 4PCA3+ (also i875 chipset) says:

Then it's in mine also.

J.O.

PS. uname -a gives this:
Linux bombadil 2.6.8-rc2 #1 SMP Sun Jul 18 09:08:22 CEST 2004 i686 unknown and I compiled the kernel with gcc 3.4.0.

#4 lore raw
Quoted 30 lines · Jens Olav Nygaard
Quoted 14 lines

From: Jurgen Kramer <[email protected]>

Quoted 12 lines

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

This is also what I see (on my Asus P4P800) more or less:

ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001)
ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95

The funny thing is, it has happened with various kernel snapshots (right term for the 2.6.7-bk??-patches?) but not all.
I thought I had one (2.6.7-bk17) which didn't give this response, but now it does, and I suspect the problem is really something else. (Some automatic irq assignment to usb-hardware?)

Quoted 8 lines

I'm not into kernel source hacking so I can't really say much more.

Jurriaan:

Quoted 2 lines

That is most probably something in your bios. My Epox 4PCA3+ (also i875 chipset) says:

Then it's in mine also.

As I said in previous mail, my p4c800-e dlx works fine:

---
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 193 ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 193, pci mem f9968c00
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
---

You using the latest bios version? Maybe check if there is a beta bios available ?

I saw somebody said newer bios versions do not work (Locks after ACPI init). I am not sure if this is related, but for our boards you do not want ISAPNP or PNPBIOS, just ACPI (it used to oops at some stage - either after ACPI init or PNP init), and I did enable CONFIG_PNP ...

---

# grep PNP .config
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set
# CONFIG_BLK_DEV_IDEPNP is not set
# CONFIG_IP_PNP is not set
---
Signature · 1 line
Martin Schlemmer
#5 lore raw
In reply to Jurriaan
Quoted 24 lines · Jurriaan

From: Jurgen Kramer <[email protected]>
Date: Sun, Jul 18, 2004 at 01:12:33PM +0200

Quoted 9 lines · Linus Torvalds
Quoted 5 lines

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

Quoted 10 lines

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

That is most probably something in your bios. My Epox 4PCA3+ (also i875 chipset) says:

Quoted 10 lines

ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller
PCI: Setting latency timer of device 0000:00:1d.7 to 64
ehci_hcd 0000:00:1d.7: irq 23, pci mem f988a000
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 1
PCI: cache line size of 128 is not supported by device 0000:00:1d.7 ehci_hcd 0000:00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10 hub 1-0:1.0: USB hub found
hub 1-0:1.0: 8 ports detected
USB Universal Host Controller Interface driver v2.2

I didn't change any BIOS settings lately and newer BIOS versions stop booting stops after initializing ACPI..:-(. 2.6.5 works as a charm.

Quoted 2 lines

HTH,
Jurriaan

Jurgen

#6 lore raw
In reply to Jurgen Kramer
Quoted 19 lines · Jurgen Kramer
Quoted 5 lines · Linus Torvalds

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

<snip>
ACPI: PCI interrupt 0000:00:1d.7[D] -> GSI 23 (level, low) -> IRQ 23 ehci_hcd 0000:00:1d.7: EHCI Host Controller
ehci_hcd 0000:00:1d.7: BIOS handoff failed (104, 1010001) ehci_hcd 0000:00:1d.7: can't reset
ehci_hcd 0000:00:1d.7: init 0000:00:1d.7 fail, -95
ehci_hcd: probe of 0000:00:1d.7 failed with error -95
USB Universal Host Controller Interface driver v2.2 <snip>

Quoted 2 lines

Full dmesg output attached.

I have a P4C800-E (DLX) as well, but it is working fine. The big differences I see is:
1) You have the 3Com network device where I have the E1000 (I thought all P4C800-E have E1000, where the smaller ones,

    P4C800, P4C800-DLX have 3Com ??)

2) I use Interrupt Vectors, where you seem not to?

I am on bios 1016 (latest stable for P4C800-E DLX, while I see there is a 1017 beta 002).

Not sure if you want my .config to compare?

Cheers,

Signature · 1 line
Martin Schlemmer
#7 lore raw
In reply to Jurgen Kramer
Quoted 2 lines

Just gave it a try. My EHCI controller is still failing (Asus P4C800-E i875p) as in the 2.6.7-mm series.

This was previously discussed as the subject "proper bios handoff in ehci-hcd". Basically it's a broken bios, and David Brownell has a fix for it that hasn't made it into the kernel yet.

Changing the "return 1" at line 308 in drivers/usb/host/ehci-hcd.c" to a "return 0" works for me until the patch makes it into the tree.

-Will

#8 lore raw

PATCH 1/1 pmac_zilog: serial minors taken failure path fix (resend/combined)

In reply to Linus Torvalds

Dear Linus,

It turns out that the pmac_zilog fix just patched over the symptom of a bad failure path. Please apply this to properly fix the problem. There are three patches (and a more lengthy explanation) of this over in the pmac_zilog thread:

+ one to fix the dev major/minor is taken failure path
+ one to patch the patch (stupid mistake), and
+ one to restore the default ppc config to what it had been (apologies to Hollis and trini)

Here are all three combined for your convenience.

-dte

I've tracked down the core issue giving me the oops wrt pmac_zilog.

When you have two serial drivers, (e.g. 8250 and PMAC_ZILOG) they both say

"I want to reserve X ports starting with major TTY_MAJOR and minor 64".

By the time pmac_zilog gets there, the ports it requests are already reserved. Unfortunately, init_pmz() doesn't check for pmz_register() failure, and so it merrily goes on to register the half-initialized pmac_zilog driver with the power management subsystem.

This path provides a proper failure path.

Also:

Restore ppc configs now that I know people use AT Keyboards on CHRP and PReP machines, and the zilog driver is no longer Oops'ing.

arch/ppc/defconfig +3 -3
diff -Nru a/arch/ppc/defconfig b/arch/ppc/defconfig
@@ -689,7 +689,7 @@
 # Input Device Drivers
 #
 CONFIG_INPUT_KEYBOARD=y
-# CONFIG_KEYBOARD_ATKBD is not set
+CONFIG_KEYBOARD_ATKBD=y
 # CONFIG_KEYBOARD_SUNKBD is not set
 # CONFIG_KEYBOARD_LKKBD is not set
 # CONFIG_KEYBOARD_XTKBD is not set
@@ -724,8 +724,8 @@
 #
 # Non-8250 serial port support
 #
-# CONFIG_SERIAL_CORE is not set
-# CONFIG_SERIAL_PMACZILOG is not set
+CONFIG_SERIAL_CORE=y
+CONFIG_SERIAL_PMACZILOG=y
 # CONFIG_SERIAL_PMACZILOG_CONSOLE is not set
 CONFIG_UNIX98_PTYS=y
 CONFIG_LEGACY_PTYS=y
drivers/serial/pmac_zilog.c +27 -5
diff -Nru a/drivers/serial/pmac_zilog.c b/drivers/serial/pmac_zilog.c
@@ -1433,6 +1433,7 @@
 			ioremap(np->addrs[np->n_addrs - 1].address, 0x1000);
 		if (uap->rx_dma_regs == NULL) {	
 			iounmap((void *)uap->tx_dma_regs);
+			uap->tx_dma_regs = NULL;
 			uap->flags &= ~PMACZILOG_FLAG_HAS_DMA;
 			goto no_dma;
 		}
@@ -1490,7 +1491,6 @@
 	uap->port.ops = &pmz_pops;
 	uap->port.type = PORT_PMAC_ZILOG;
 	uap->port.flags = 0;
-	spin_lock_init(&uap->port.lock);
 
 	/* Setup some valid baud rate information in the register
 	 * shadows so we don't write crap there before baud rate is
@@ -1508,10 +1508,13 @@
 {
 	struct device_node *np;
 
-	iounmap((void *)uap->control_reg);
 	np = uap->node;
+	iounmap((void *)uap->rx_dma_regs);
+	iounmap((void *)uap->tx_dma_regs);
+	iounmap((void *)uap->control_reg);
 	uap->node = NULL;
 	of_node_put(np);
+	memset(uap, 0, sizeof(struct uart_pmac_port));
 }
 
 /*
@@ -1798,7 +1801,7 @@
 	 * Register this driver with the serial core
 	 */
 	rc = uart_register_driver(&pmz_uart_reg);
-	if (rc != 0)
+	if (rc)
 		return rc;
 
 	/*
@@ -1808,10 +1811,19 @@
 		struct uart_pmac_port *uport = &pmz_ports[i];
 		/* NULL node may happen on wallstreet */
 		if (uport->node != NULL)
-			uart_add_one_port(&pmz_uart_reg, &uport->port);
+			rc = uart_add_one_port(&pmz_uart_reg, &uport->port);
+		if (rc)
+			goto err_out;
 	}
 
 	return 0;
+err_out:
+	while (i-- > 0) {
+		struct uart_pmac_port *uport = &pmz_ports[i];
+		uart_remove_one_port(&pmz_uart_reg, &uport->port);
+	}
+	uart_unregister_driver(&pmz_uart_reg);
+	return rc;
 }
 
 static struct of_match pmz_match[] = 
@@ -1841,6 +1853,7 @@
 
 static int __init init_pmz(void)
 {
+	int rc, i;
 	printk(KERN_INFO "%s\n", version);
 
 	/* 
@@ -1862,7 +1875,16 @@
 	/*
 	 * Now we register with the serial layer
 	 */
-	pmz_register();
+	rc = pmz_register();
+	if (rc) {
+		printk(KERN_ERR 
+			"pmac_zilog: Error registering serial device, disabling pmac_zilog.\n"
+		 	"pmac_zilog: Did another serial driver already claim the minors?\n"); 
+		/* effectively "pmz_unprobe()" */
+		for (i=0; i < pmz_ports_count; i++)
+			pmz_dispose_port(&pmz_ports[i]);
+		return rc;
+	}
 	
 	/*
 	 * Then we register the macio driver itself
#9 lore raw
In reply to Linus Torvalds

* Linus Torvalds <[email protected]>:

Quoted 2 lines

Summary of changes from v2.6.8-rc1 to v2.6.8-rc2
============================================

* compilation using gcc-3.4 works
* for the first time the vesafb works on my HP Pavilion Laptop

Neat!

Signature · 4 lines
Ralf Hildebrandt (Im Auftrag des Referat V a)   [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-916
IT-Zentrum Standort Campus Mitte                          AIM.  ralfpostfix
#10 lore raw

Re: Linux 2.6.8-rc2 (compile stats)

In reply to Linus Torvalds

Linux 2.6 Compile Statistics (gcc 3.2.2)
Warnings/Errors Summary

Kernel         bzImage    bzImage  bzImage  modules  bzImage   modules
             (defconfig)  (allno)  (allyes) (allyes) (allmod) (allmod)
-----------  -----------  -------- -------- -------- -------- ---------
2.6.8-rc2      0w/0e       0w/0e    85w/ 0e   5w/0e   1w/0e     79w/0e
2.6.8-rc1      0w/0e       0w/0e    87w/ 0e   5w/0e   1w/0e     82w/0e
2.6.7          0w/0e       0w/0e   108w/ 0e   5w/0e   2w/0e    102w/0e
2.6.7-rc3      0w/0e       0w/0e   108w/ 0e   5w/0e   2w/0e    104w/0e
2.6.7-rc2      0w/0e       0w/0e   110w/ 0e   5w/0e   2w/0e    106w/0e
2.6.7-rc1      0w/0e       0w/0e   111w/ 0e   6w/0e   2w/0e    107w/0e
2.6.6          0w/0e       0w/0e   123w/ 0e   7w/0e   4w/0e    121w/0e
2.6.6-rc3      0w/0e       0w/0e   124w/ 0e   7w/0e   5w/0e    121w/0e
2.6.6-rc2      0w/0e       0w/0e   122w/ 0e   7w/0e   4w/0e    121w/0e
2.6.6-rc1      0w/0e       0w/0e   125w/ 0e   7w/0e   4w/0e    123w/0e
2.6.5          0w/0e       0w/0e   134w/ 0e   8w/0e   4w/0e    132w/0e
2.6.5-rc3      0w/0e       0w/0e   135w/ 0e   8w/0e   4w/0e    132w/0e
2.6.5-rc2      0w/0e       0w/0e   135w/ 0e   8w/0e   3w/0e    132w/0e
2.6.5-rc1      0w/0e       0w/0e   138w/ 0e   8w/0e   3w/0e    135w/0e
2.6.4          1w/0e       0w/0e   145w/ 0e   7w/0e   3w/0e    142w/0e
2.6.4-rc2      1w/0e       0w/0e   148w/ 0e   7w/0e   3w/0e    145w/0e
2.6.4-rc1      1w/0e       0w/0e   148w/ 0e   7w/0e   3w/0e    145w/0e
2.6.3          1w/0e       0w/0e   142w/ 0e   9w/0e   3w/0e    142w/0e
2.6.3-rc4      1w/0e       0w/0e   142w/ 0e   9w/0e   3w/0e    142w/0e
2.6.3-rc3      1w/0e       0w/0e   145w/ 7e   9w/0e   3w/0e    148w/0e
2.6.3-rc2      1w/0e       0w/0e   141w/ 0e   9w/0e   3w/0e    144w/0e
2.6.3-rc1      1w/0e       0w/0e   145w/ 0e   9w/0e   3w/0e    177w/0e
2.6.2          1w/0e       0w/0e   152w/ 0e  12w/0e   3w/0e    187w/0e
2.6.2-rc3      0w/0e       0w/0e   152w/ 0e  12w/0e   3w/0e    187w/0e
2.6.2-rc2      0w/0e       0w/0e   153w/ 8e  12w/0e   3w/0e    188w/0e
2.6.2-rc1      0w/0e       0w/0e   152w/ 0e  12w/0e   3w/0e    187w/0e
2.6.1          0w/0e       0w/0e   158w/ 0e  12w/0e   3w/0e    197w/0e
2.6.1-rc3      0w/0e       0w/0e   158w/ 0e  12w/0e   3w/0e    197w/0e
2.6.1-rc2      0w/0e       0w/0e   166w/ 0e  12w/0e   3w/0e    205w/0e
2.6.1-rc1      0w/0e       0w/0e   167w/ 0e  12w/0e   3w/0e    206w/0e
2.6.0          0w/0e       0w/0e   170w/ 0e  12w/0e   3w/0e    209w/0e

Web page with links to complete details:
http://developer.osdl.org/cherry/compile/
Daily compiles (ia32):
http://developer.osdl.org/cherry/compile/2.6/linus-tree/running.txt
Daily compiles (ia64):
http://developer.osdl.org/cherry/compile/2.6/linus-tree/running64.txt
Latest changes in Linus' bitkeeper tree:
http://linux.bkbits.net:8080/linux-2.5

John

#11 lore raw
In reply to Linus Torvalds
Quoted 9 lines · Linus Torvalds

MTD updates, i2c updates and some USB updates, and a lot of small stuff (sparse cleanups and fixes from Al etc).

Linus

Summary of changes from v2.6.8-rc1 to v2.6.8-rc2
============================================

Please, could you include this ? It allows to build aic driver with db4:

drivers/scsi/aic7xxx/aicasm/Makefile renamed from drivers/scsi/aic7xxx/aicasm/Makefile.orig +5 -1
@@ -34,10 +34,14 @@
 	$(AICASM_CC) $(AICASM_CFLAGS) $(SRCS) -o $(PROG) $(LIBS)
 
 aicdb.h:
-	@if [ -e "/usr/include/db3/db_185.h" ]; then		\
+	@if [ -e "/usr/include/db4/db_185.h" ]; then		\
+		echo "#include <db4/db_185.h>" > aicdb.h;	\
+	 elif [ -e "/usr/include/db3/db_185.h" ]; then		\
 		echo "#include <db3/db_185.h>" > aicdb.h;	\
 	 elif [ -e "/usr/include/db2/db_185.h" ]; then		\
 		echo "#include <db2/db_185.h>" > aicdb.h;	\
+	 elif [ -e "/usr/include/db1/db_185.h" ]; then		\
+		echo "#include <db1/db_185.h>" > aicdb.h;	\
 	 elif [ -e "/usr/include/db/db_185.h" ]; then		\
 		echo "#include <db/db_185.h>" > aicdb.h;	\
 	 elif [ -e "/usr/include/db_185.h" ]; then		\

--
J.A. Magallon <jamagallon()able!es> \ Software is like sex:
werewolf!able!es \ It's better when it's free
Mandrakelinux release 10.1 (Alpha 1) for i586
Linux 2.6.8-rc1-jam1 (gcc 3.4.1 (Mandrakelinux (Cooker) 3.4.1-1mdk)) #1

#12 lore raw

Re: Linux 2.6.8-rc2 - ACPI still broken

In reply to Linus Torvalds

ACPI support is still broken for the Intel D865PERL board. Booting hangs when compiled for SMP/HT and succeeds only with acpi=off or acpi=ht boot parameter.

Regards
Tom

#13 lore raw

Re: Linux 2.6.8-rc2 - ACPI still broken

Quoted 3 lines · Thomas Zehetbauer

ACPI support is still broken for the Intel D865PERL board. Booting hangs when compiled for SMP/HT and succeeds only with acpi=off or acpi=ht boot parameter.

It is still broken for Intel D865GRH too, as I reported first using 2.6.7-rc3.

Signature · 1 line
pozsy
#14 lore raw

Re: Linux 2.6.8-rc2 - ACPI still broken

Quoted 8 lines · Pozsar Balazs
Quoted 3 lines · Thomas Zehetbauer

ACPI support is still broken for the Intel D865PERL board. Booting hangs when compiled for SMP/HT and succeeds only with acpi=off or acpi=ht boot parameter.

It is still broken for Intel D865GRH too, as I reported first using 2.6.7-rc3.

There is a new patch in the RedHat Bugzilla that fixes this problem (it restricts one of the ACPI setup events to only run on CPU 0). Hopefully it will get merged into the kernel tree soon, although all the developers are at OLS this week :-(