2002-08-27 19:40:43

by Linus Torvalds

[permalink] [raw]
Subject: Linux v2.5.32


Delayed by various issues (including a HT-only MTRR bug that Ingo finally
chased down and that kept me chasing shadows for days). As a result, this
is fairly big..

Most noticeable is the (already discussed) IDE revert, and the threading
updates. The input layer switch-over may also end up being a bit painful
for a while, since that not only adds a lot of config options that you
have to get right to have a working keyboard and mouse (we'll fix that
usability nightmare), but the drivers themselves are different and there
are likely devices out there that depended on various quirks.

The AIO core code from Ben got merged, and Al worked on cleaning up the
gendisk stuff from a number of drivers that were missed last time. And the
usual USB updates..

Oh, and various architecture updates (sparc64, ppc64, ia-64).

Linus

-----

Summary of changes from v2.5.31 to v2.5.32
============================================

<[email protected]>:
o 2.5.31 i2c updates

<[email protected]>:
o remove redundant slab.h include (Brad Hards)

<[email protected]>:
o Reorder unlocking in rq_unlock

<[email protected]>:
o eliminate hangs during RPC client shutdown

<[email protected]>:
o drivers/net/bonding.c: Handle non-ETHTOOL devices more correctly

David Mosberger <[email protected]>:
o ia64: Sync up with 2.5.18
o ia64: Fix fls() declaration so it actually gets inlined. Duh
o ia64: Add perfmon_itanium.h
o ia64: Fix typo in arch/ia64/kernel/signal.c (reported by Peter
Chubb)
o ia64: Make gcc3.1 more aggressive with inline so it does the Right
Thing on DRM
o ia64: Wide IOSAPIC base_irq field to 32 bits. Patch by KOCHI
Takayoshi
o ia64: Get rid of obsolete MAP_NR_DENSE(). Patch by Bjorn Helgaas
o ia64: Correct value delivered in siginfo.si_addr for SIGTRAP due to
a debug breakpoint. Patch by Stephane Eranian.
o ia64: Install NaT page at address zero to speed up speculation
across NULL pointers. Patch by Ken Chen.
o ia64: Add McKinley-tuned versions of copy_user() and memcpy().
Patch by Ken Chen
o ia64: Fix NaT consumption fault handler to not oops if fault was
triggered in a code section with an exception handler.
o ia64: Change EFI memory descriptor walking code to ignore memory
areas that could cause illegal memory attribute aliasing.
o ia64: Don't inherit all PSR bits across fork() & exec()
o ia64: Build memcpy.o on Itanium only
o ia64: Fix perfmon initialization bug. Patch by Stephane Eranian
o ia64: New file perfmon_mckinley.h
o ia64: TLB flushing fixes and reserve large-page syscall numbers
o ia64: Misc. minor fixes
o ia64: Fix formatting of Rusty's designated initializer changes
o ia64: Fix "make xconfig". Patch by Keith Owens
o ia64: Drop global irqlock support from hardirq.h. Move HP
simulator config file to arch/ia64/hp/sim/ subdirectory.
o ia64: Sync up with 2.5.29+
o ia64: Allow for more than 32 CPUs. Minor formatting cleanups
o ia64: More 2.5.xx syncing
o ia64: Minor formatting fixes
o ia64: Make fph-restore lazy. Patch by Asit K. Mallick
o ia64: Print fpswa revision number. Based on patch by KOCHI
Takayoshi.

<[email protected]>:
o Fix spelling in natsemi net driver

<[email protected]>:
o i_sem-less generic_file_write for O_DIRECT & XFS
o fix syscall prototypes in init/do_mounts.c

<[email protected]>:
o Fix typos in 8139cp net driver RxProto{TCP,UDP} constants

<[email protected]>:
o net/ipv4/netfilter/ip_conntrack_core.c: Fix comment typo

<[email protected]>:
o UML patch fixup

<jejb@mulgrave.(none)>:
o [SCSI 53c700] clean up cli code
o [SCSI debug driver] change DRIVER_ATTR usage

<[email protected]>:
o Here is a small patch that missed inclusion with the bigger MCA
logging patch last February. Please include this in the next
possible ia64 kernel patch.

<[email protected]>:
o net/ipv4/ipconfig.c: Add support for multiple nameservers

<[email protected]>:
o Removal of get_fix and get_var. Use the fields in struct fb_info
instead
o A couple of Oops fixes
o Code cleanups and bug fixes
o ported Mach 64 driver to new fbdev api
o Bug fixes for Sparc platform
o Moved over to use the fix field in struct fb_info instead of fields
in struct display
o M68k fbdev fixes

<[email protected]>:
o Support for Buffalo 40GB USB hard disk

<[email protected]>:
o hotplug boot change updates

<[email protected]>:
o kbuild: remove spurious comment
o kbuild: remove duplicated dependencies
o kbuild: remove duplicate CONFIG_DEBUG_SPINLOCK
o kbuild: remove OSS pointless hex default
o kbuild: remove duplicate modules menu
o kbuild: fix missing/spurious EXPERIMENTAL
o kbuild: fix Config.in if statement syntax error

<[email protected]>:
o This patch fixes some critical bugs in copy_user exception handler
found by Xavier. The fixes are all in the exception handler and
there are no changes in the main "copy" body. I have tested with
both gcc2.96 and gcc3.1 compiler. Please report issues to me if
there are any. Thanks.

<[email protected]>:
o net/ipv6/netfilter/ip6_tables.c: Fix extension header parsing bugs

<[email protected]>:
o kNFSd: new error codes for NFSv4
o kNFSd: NFSv4: error codes in include/linux/nfsd/nfsd.h
o kNFSd: NFSv4: fix type checking in fh_verify()
o kNFSd: NFSv4: change ->rq_vers==3 to ->rq_vers>2
o kNFSd: NFSv4: return err_nofilehandle if missing fh in fh_verify()
o kNFSd: NFSv4: wipe out all evidence in fh_put()
o kNFSd: NFSv4: allow resfh==fhp in fh_compose()
o kNFSd: NFSv4: overflow check in nfsd_commit()
o kNFSd: NFSv4: allow type==0 in nfsd_unlink()
o kNFSd: NFSv4: tweak nfsd_create_v3() for NFSv4
o kNFSd: NFSv4: new argument to nfsd_access()
o kNFSd: NFSv4: tweak nfsd_readdir() for NFSv4

<[email protected]>:
o vmalloc.c error path fixes

<[email protected]>:
o More__builtin_expect() cleanup in favour of likely/unlikely

<[email protected]>:
o for i386 SETUP CODE

<[email protected]>:
o Re: [PATCH] 2.5.30 scsi_scan.c cleanup/rewrite

<[email protected]>:
o embarrassing 2.5.31 small bug fix for blkdev_reread_part()

<[email protected]>:
o simserial.c needs hw_irq.h to get the declaration for
ia64_alloc_irq()

<[email protected]>:
o kbuild: Moved conmakehash to scripts
o mrproper: Moved knowledge of files in scripts to scripts/Makefile
No reason to keep this knowledge in a central place when it can be
avoided

<[email protected]>:
o trivial: 2.5.31+bk forgotten endmenu

<[email protected]>:
o net/unix/af_unix.c: Set ATIME on socket inode

<[email protected]>:
o cpqfc, 2.5.30, lun fix
o fix cpqfc passthrough ioctl for 2.5.30

<[email protected]>:
o [DECNET]: Fix route device refcounting

<[email protected]>:
o Trivial: remove sti from aic7xxx_old
o lockd shouldn't call posix_unblock_lock here

Alan Cox <[email protected]>:
o Fix #undef warning in xirc2ps_cs net driver

Alexander Viro <[email protected]>:
o DAC960 per-disk gendisks
o compile fixes, xd.c switched to per-disk gendisks
o cciss partitioning stuff, per-disk gendisks
o per-disk gendisks in ataraid
o acsi per-disk gendisks
o dasd per-disk gendisks
o umem per-disk gendisks
o per-disk gendisks in md.c
o per-disk gendisks in i2o

Alexey Kuznetsov <[email protected]>:
o arch/i386/lib/checksum.S: Handle zero length

Andrew Morton <[email protected]>:
o fix ARCH_HAS_PREFETCH
o reduced locking in buffer.c
o scaled writeback throttling levels
o random fixes
o designated initialisers for ext2
o export simple_strtoull
o printk from userspace
o pagevec infrastructure
o multithread page reclaim
o batched movement of lru pages in writeback
o batched addition of pages to the LRU
o batched removal of pages from the LRU
o make pagemap_lru_lock irq-safe
o pagemap_lru_lock wrapup
o deferred and batched addition of pages to the LRU
o uninitialised local in generic_file_write
o memory leak in current BK
o PageReserved test in __pagevec_release()
o Fix a race between __page_cache_release() and shrink_cache()
o fix uniprocessor lockups
o Fix a BUG in try_to_unmap()
o Fix YA bug in __page_cache_release
o LRU race semi-fix

Andries E. Brouwer <[email protected]>:
o usb_string fix

Andy Grover <[email protected]>:
o By Herbert Nachtnebel
o Make CONFIG_ACPI_BOOT work again (Pavel Machek)
o Change acpi_system_suspend to use new irq functions (Pavel Machek)
o A trio of minor fixes
o ACPI interpreter updates

Anton Altaparmakov <[email protected]>:
o NTFS: 2.0.25 - Small bug fixes and cleanups

Anton Blanchard <[email protected]>:
o ppc64: Release the FWNMI area during a system reset, fixes xmon
o ppc64: Fix stupid bug in pte_protect, it helps when we pass the
value in
o ppc64: defconfig update
o ppc64: 2.5.28 update
o ppc64: Correct number of arguments passed to handle_sysrq
o ppc64: Make cpu_relax a barrier
o ppc64: rwsem updates from ppc32 and synchronize_irq fix from x86
o ppc64: rename to pread64/pwrite64 and add sys_readahead
o ppc64: Small clean up of NUMA code
o ppc64: hotplug cpu changes
o ppc64: fix up set_tb and SPRN_TB* defines as well as some misc
cleanups
o ppc64: Remove -fsigned-char and use -mcpu=power4 in CFLAGS
o ppc64: Allow user to change MSR_FE0 and MSR_FE1 - from ppc32
o ppc64: defconfig update
o ppc64: avoid bitops where possible in cacheflush avoidance code
o ppc64: remove unused include
o ppc64: merge in ppc32 changes to atomic_dec_and_lock
o ppc64: set medium HMT priority in __delay, it gets used outside of
udelay
o ppc64: fix atomic_dec_and_lock symbol export
o Use HMT hints in cpu_relax
o ppc64: remove duplicate includes, from Brad Hards
o ppc64: Disable irqs in init_new_context, destroy_context
o ppc64: Fix breakage when I added sys_readahead
o ppc64: missing include
o ppc64: 32 bit syscall cleanup, first step in making this stuff
generic
o ppc64: remove some unimplemented syscalls
o ppc64: 32 bit mknod and chmod need no sign extension

Arnaldo Carvalho de Melo <[email protected]>:
o make psnap and p8022 use the new LLC stack
o LLC: Remove global variables used in confirms and indications
o LLC: fix AF_LLC connection confirm and core connection request bugs
o [ATALK] fix compilation of appletalk drivers
o LLC: use skb->cb to store the LLC events

Asit K. Mallick <[email protected]>:
o fix Itanium copy_user for uninitialized NaT

Benjamin LaHaise <[email protected]>:
o reduce stack usage of sanitize_e820_map
o convert quota.h to bsd 3 clause
o add basic stubs for aio
o add aio core

Bjorn Helgaas <[email protected]>:
o ia64: GENERIC build fixes
o ia64: Here's a patch to make sba_iommu work again
o Here are a couple patches against 2.5.18-ia64-020530. The first is
some trivial cleanup in ia64/kernel/acpi.c (no need to initialize
automatics that are immediately assigned, don't check for "0 ==
__va(x)", don't bail out of acpi_boot_init

Brad Hards <[email protected]>:
o Remove unneeded #includes from 3c359, sbni, and sdla_ft1 net
drivers

Brian Beattie <[email protected]>:
o patch for 2.5 scanner.h add device id's

Christoph Hellwig <[email protected]>:
o VM: Rework vmalloc code to support mapping of arbitray pages
o Cleanup BKL handling and move kernel_flag definition to common code
o Cleanup console merge

Dave Hansen <[email protected]>:
o NUMA-Q disable irqbalance
o fix link problem in ips driver

Dave Jones <[email protected]>:
o Modular x86 MTRR driver
o ROMFS superblock cleanup
o UFS superblock cleanup
o struct superblock cleanups

Dave Kleikamp <[email protected]>:
o JFS: Trivial fixes
o [JFS] direct-to-BIO pagecache IO

David Brownell <[email protected]>:
o ehci updates
o ohci, rm sparc64 oops
o ehci, debug info in driverfs
o ehci does interrupt queuing
o expose dma_addr_t in urbs
o HCDs support new DMA APIs (part 1 of 2)
o HCDs support new DMA APIs (part 2 of 2)
o USB core cleanups
o misc usbcore cleanups

David Mosberger <[email protected]>:
o ia64: Fix do_profile() to account kernel ticks spent on behalf of
pid 0. Clean up arch/ia64/config.in (based on patch by Keith
Owens).
o ia64: Sync with 2.5.30
o ia64: Sync up with 2.5.31

David S. Miller <[email protected]>:
o net/llc/llc_main.c: Fix typo in struct member init
o SPARC: Implement pcic_present which walks OBP tree, use it always
in sbus_init
o arch/sparc64/defconfig: Update
o arch/sparc64/kernel/pci.c:pcic_present Invoke pci_is_controller
o drivers/scsi/esp.c: Kill unused local var flags
o include/linux/netdevice.h: Define HAVE_NETDEV_POLL
o kernel/sched.c:migration_init Avoid int-->pointer cast warning on
64-bit
o kernel/softirq.c:spawn_ksoftirqd Avoid int-->pointer cast warning
on 64-bit
o kernel/cpu.c:cpu_up Avoid int-->pointer cast warning on 64-bit
o drivers/ide/ide-disk.c:lba_capacity_is_ok {u,s}64 is not
necessarily a long long
o fs/jfs/resize.c:jfs_extendfs {u,s}64 is not necessarily a long long
o drivers/scsi/sr.c: Fix casting between pointer and int
o drivers/scsi/st.c: Fix casting between pointer and int
o drivers/scsi/qlogicisp.c:isp1020_load_paramters Kill unused local
variable
o SPARC64: Initial Cheetah+ cpu support
o arch/sparc64/mm/modutil.c: Fixup vmalloc interface changes
o include/linux/fb.h: Declare do_install_cmap
o [VIDEO]: Port SBUS framebuffer to video layer changes
o drivers/video/aty/mach64_cursor.c: Kill warning on sparc64
o arch/sparc64/defconfig: Update
o include/asm-sparc{,64}/ide.h: Get IDE layer building again on Sparc
o arch/sparc64/kernel/smp.c:smp_tune_scheduling Handle Cheetah+
o SPARC64: Fix obscure cheetah+ hangs
o TIGON3: Add missing udelay when clearing SRAM stats/status block
o net/unix/af_unix.c: Set msg_namelen in unix_copy_addr properly,
define MODULE_LICENSE
o net/ipv4/tcp_diag.c: Avoid unaligned accesses to tcpdiag_cookie
o SPARC64:setup_arch Flush correct I-cache line when patching
irqsz_patchme
o SPARC64: Bug fixes in arch/sparc64/mm/ultra.S
o [CLONE_*TID]: Make tsk->user_tid and int so that 64-bit arches work
o [SPARC64]: Synchronize with 2.5.x changes
o [SPARC32]: Synchronize with 2.5.x changes
o net/unix/af_unix.c: protinfo is dead, use unix_sk()
o SPARC64: Ultra-III+ bug fix and better bad trap logging

David S. Miller <[email protected]>:
o I did find one bug, hid_submit_ctrl() does not cpu_to_le16() all
the control request fields properly.

Douglas Gilbert <[email protected]>:
o Here is an update for scsi_debug that utilizes driverfs support for
per driver parameters added in lk 2.5.31
o lk 2.5.31 scsi interface documentation
o This version of sg for the lk 2.5 series re-adds direct IO support
using work done by Kai Makisara (on st driver, posted 2002/7/29).

Eric Sandeen <[email protected]>:
o Remove unused var and unused func from ali-ircc IrDA driver

[email protected] <[email protected]>:
o Hi Vojtech, I noticed you just pushed the pc_keyb.c removal to
linux-input, here is the PPC part of it that removes now superflous
stuff. The small change in keyboard.c is a bugfix from 2.4 and ruby
that didn't make it into 2.5 yet.
o Two minor fixes on top of the PPC final input conversion

Geert Uytterhoeven <[email protected]>:
o Compile fixes for Amiga input drivers

Greg Kroah-Hartman <[email protected]>:
o USB storage: split up BUG_ON for easier debugging
o USB: Makefile fix for previous patch
o USB: remove LINUX_VERSION_CODE checks
o USB: moved put_bus to its proper place (as the last thing we do
shutting down.)
o USB: check to see if we have a disconnect function before trying to
call it
o USB: fixed DEVICE_ATTR usage in the ehci driver
o USB: changed usb_match_id to not need the usb_device pointer
o USB: rename printer.c to usblp.c as that's what it has been calling
itself :)
o USB: added usblcd driver
o USB: fix minor number for the usblcd driver
o USB: added the speedtouch usb driver

Harald Welte <[email protected]>:
o include/linux/kernel.h: Define HIPQUAD correctly on little-endian
o [NETFILTER]: Synchronize with 2.4.x newnat infrastructure
o NETFILTER: New netfilter modules
o NETFILTER: Rest of new netfilter modules changes

Hirofumi Ogawa <[email protected]>:
o Fix generic_file_send()
o add sendfile() support to fatfs (3/3)

Ingo Molnar <[email protected]>:
o tls-2.5.31-D9
o APM TLS fix, 2.5.31-BK
o CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK
o clone-detached-2.5.31-B0
o user-vm-unlock-2.5.31-A2
o thread release infrastructure
o stale thread detach debugging removal
o thread management - take three
o Thread exit notification by futex
o Re: Boot failure in 2.5.31 BK with new TLS patch
o O(1) sys_exit(), threading, scalable-exit-2.5.31-B4
o O(1) sys_exit(), threading, scalable-exit-2.5.31-A6
o HT & MTRRs, 2.5.31-BK-curr

James Morris <[email protected]>:
o [NETFILTER]: Fixup ip6_queue much like ip_queue was
o net/ipv4/netfilter/ipfwadm_core.c: Fix 2.5.x compilation

Jan-Benedict Glaw <[email protected]>:
o CodingStyle and docu update to srm_env

Jeff Garzik <[email protected]>:
o Remove dead prototype, fix printk format string in rcpci45 net
driver
o Include linux/bitops.h in e100 net driver, it uses ffs (Noticed by
DaveM)

Jens Axboe <[email protected]>:
o Delete 2.5 IDE core
o Add 2.4 IDE core, based on late 2.4.19-pre-acX version
o Add missing pci ids for various ide controllers
o Add x86 versions of various irq and resource stuff for 2.4-ide
o Add back in the request types that 2.4 still uses, need to clean
these a bit later
o Add back in the missing 2.4-ide bits from hdreg.h These also wants
a bit of cleaning later.
o Add in 2.4 ide-scsi
o sym53c8xx_2

Kai Germaschewski <[email protected]>:
o ISDN: Move calculating the currently used bandwidth
o ISDN: Start cleaning isdn_net hangup timeout handling
o ISDN: Fix Config.in problem
o ISDN: Use C99 initializers
o ISDN: __FUNCTION__ cleanup
o ISDN: Change Christian Mock's email adress
o ISDN: Fix BC_BUSY problem
o ISDN: Remove debugging code
o kbuild: check for updated [Cc]onfig.in files
o kbuild: Cleanup the chmod rule in scripts/
o kbuild: Fix drivers/net/appletalk/Config.in
o kbuild: Remove HPATH, general cleanup
o kbuild: Common rule for preprocessing vmlinux.lds

[email protected] <[email protected]>:
o SCSI tape direct transfers for 2.5.31

Linus Torvalds <[email protected]>:
o Don't allow user-level helpers to be run when our infrastructure
isn't ready for it (either during early boot, or at shutdown)
o Missed prototype for 'system_running' fix
o Don't BUG_ON() SCSI length confusion. Print out the problem and the
call trace instead.
o Move x86 big-kernel-lock implementation into <linux/smp_lock.h>,
since it was generic.
o Hmm.. It was never correct to directly include <asm/smplock.h>, but
some files still did (and got the wrong results on UP).
o re-do spinlock cleanup, it was innocent Cset exclude:
[email protected]|ChangeSet|20020821235957|57282
o Handle page fault atomicity correctly when preempt is enabled
o Fix syntax error in character driver Config.in file introduced by
input merge
o Keyboard reset NAK does not imply that the keyboard isn't there.
o Get rid of /proc dependency on inode numbers
o Clean up asm-i386/smplock.h
o Remove extraneous ptrace.h include
o Fix missing kmap_types.h header (it got included "by mistake" with
highmem enabled, but not otherwise, and was always required).
o Update defconfig to current state (keyboard/input layer in
particular)

Luca Barbieri <[email protected]>:
o Make rmap.c alloc/free actually inline

Martin Mares <[email protected]>:
o PCI ID's for 2.5.31

[email protected] <[email protected]>:
o NUMA-Q relocate early ioremap
o NUMA-Q disable irqbalance

Matthew Dharm <[email protected]>:
o USB-storage: final abort handler cleanup
o USB-storage: final abort handler cleanup, for real
o fix devices which don't support EVPD
o fix devices which don't support START_STOP

Neil Brown <[email protected]>:
o Rearrange setting of snd/rcv buf size to avoid locking issue
o RPC/TCP 2 of 4 - Allow SO_REUSEADDR for NFS sockets
o RPC/TCP 3 of 4 - Correct error message when rpc/tcp sent fails
o RPC/TCP 4 of 4 - Handle short read when reading RPC/TCP packet
length
o Fix two problems with multiple concurrent nfs/tcp connects
o call svc_sock_setbufsize when socket created
o Fix error message printed when not enough queue space
o md: Fix assort typos in most recent MD patches
o md: Silence a warning in md.c
o md: Store rdev instead of bdev in per-personality status arrays
o md: MD error handers and md_sync_acct now get rdev instead of bdev
o md: Keep track of number of pending requests on each component
device on an MD array
o md: Remove used_slot field from per-personality info
o md: Make spare handling simple ... personalities know less
o md: Improve code for deciding whether to skip an IO in raid5
o md: Remove 'alias_device' flag
o md: Remove per-personality 'operational' and 'write_only' flags
o md: Make the old-ioctl warning in md only complain about MD ioctls
o md: Get rid of un-necessary warning in md
o md: Fix up oops-able error message

Oliver Neukum <[email protected]>:
o fix urb leak in error in cdc-ether
o Problem with CDC Ethernet driver (CDCEther.c)

Patrick Mochel <[email protected]>:
o Change DEVICE_ATTR, BUS_ATTR, and DRIVER_ATTR macros to not take a
'_str' parameter, and just __stringify the name instead.
o Update device model locking
o Fix and prevent bugs in device_register()
o Update device model locking
o Remove do_driver_detach(), since device_detach does the same thing
o Use C99 initializers in driver model core
o Make sure we do to_dev(node) in device_suspend()
o Remove device_root device; replace with global_device_list
o Remove extra '#include <linux/err.h>' in drivers/base/core.c
o Introduce struct device_class
o Introduce struct device_interface
o Define input device class and register it
o Define a struct device_interface for all the input interfaces and
register them with the input device class when started up.
o unlock the right lock in enum_device
o input layer update
o Remove input_handler list; replace with
LIST_HEAD(input_handler_list)
o Use standard linked lists in input layer

Paul Larson <[email protected]>:
o Include tgid when finding next_safe in get_pid()

Paul Mackerras <[email protected]>:
o USB root hub polling and suspend
o add FP exception mode prctl
o PPC32: add the bits needed for AIO and sendfile64 support
o PPC32: define L1_CACHE_SHIFT
o PPC32: Fix the type of set_rtc_time
o PPC32: include sched.h before elfcore.h in ppc_ksyms.c
o PPC32: define bits that are needed for the IDE subsystem now
o PPC32: remove code that sets kd_mksound now that it isn't a pointer

[email protected] <[email protected]>:
o Probe port 0x240 too, in eexpress net driver

Pete Zaitcev <[email protected]>:
o SPARC: More work to get sparc32 working in 2.5.x
o SPARC: Fix prom_printf and prom console behavior
o include/asm-sparc/pgtable.h: Fix woops in ZERO_PAGE

Petr Vandrovec <[email protected]>:
o C99 designated initializers for fs/ncpfs
o Support secondary head DDC on G450/G550
o Make secondary output support mandatory for Matrox G450/G550
o Remove structure holding state of secondary output in the matroxfb
driver
o matroxfb: Find appropriate setting for specified color depth by
looking through table instead of using if-else branches in code.
Source is cleaner, and generated code is smaller with this change.
By Denis Zaitsev <[email protected]>
o Simplify rules for writting secondary output drivers to matroxfb
o Use arrays for holding Matrox output drivers, it is nicer and more
extensible than current solution with per-CRTC bitmaps.
o Store pointer to matroxfb specific fb information instead of
universal fb_info* pointer for secondary head. Saves some
typecasts.
o Use container_of instead of simple typecast when we convert
pointers from pointer to fb_info to pointers to matrox_fb_info.
o Initialize Matrox G100 and G400 hardware with values read from BIOS
instead of with failsafe settings discovered in the past.
o matroxfb DVI updates
o Add TV-Out support for Matrox G450/G550. Due to the hardware only
secondary CRTC can be used as a source for TV output.
o Make debug printouts in matroxfb G400 TV-out disabled by default
o Remove currcon field from private fb_info in matroxfb. It was moved
to the generic layer long ago.
o Use sizeof(*var) instead of sizeof(struct xxx) in matroxfb
o Return ENOTTY instead of EINVAL for unknown ioctl ops in matroxfb
o Add support for MGA-TVO-B into matroxfb. By Mike Pieper
o matroxfb: Do not store results of bitwise AND directly in variables
which are treated as a booleans. Comparsion does not work correctly
on them.
o Set system PLL vcomax correctly in matroxfb. Discovered by Dirk
Uffmann
o Update matroxfb to the current fbdev API
o Unicode characters 0x80-0x9F are valid ISO* characters
o broken cfb* support in the 2.5.31-bk
o es1371 synchronize_irq
o oops from console subsystem: dereferencing wild pointer
o More display -> fb_info fixes for new fbdev

Randy Dunlap <[email protected]>:
o Network Options and Network Devices together

Rik van Riel <[email protected]>:
o rmap bugfix, try_to_unmap

Robert Love <[email protected]>:
o spinlock.h cleanup

Rusty Russell <[email protected]>:
o Designated initializers for ia64
o [TRIVIAL] Use __cachline_aligned in netdevice.h
o ia64 incorrect field name in message
o designated initializers for include/linux
o Designated initializers for i386
o Export __per_cpu_offset so modules can use per-cpu data
o get_cpu_var patch
o DECLARE_PER_CPU/DEFINE_PER_CPU patch
o init_tasks is not defined anywhere

Simon Evans <[email protected]>:
o misc fixes for konicawc driver
o cleanup RingQueue_* functions in usbvideo.c
o konicawc - make snapshot button into input device
o add callback for VIDIOCSWIN ioctl to usbvideo
o add VIDIOCSWIN support to konicawc driver
o use __FUNCTION__ in usbvideo
o typedef uvd_t removal in usbvideo

St?phane Eranian <[email protected]>:
o Allow blocking on overflow notifications to work again

Tom Rini <[email protected]>:
o A generic RTC driver [1/3]
o A generic RTC driver [2/3]
o A generic RTC driver [3/3]

Trond Myklebust <[email protected]>:
o Fix typo in the RPC reconnect code
o cleanup RPC accounting
o Clean up the RPC socket slot allocation code [1/2]
o Clean up the RPC socket slot allocation code [2/2]
o Improve NFS READ reply sanity checking
o Improve READDIR/READDIRPLUS sanity checking

V. Ganesh <[email protected]>:
o typo in usb/serial/ipaq.h

Vojtech Pavlik <[email protected]>:
o Fix i8042.c to ignore fake key releases generated by AT keyboard in
translated set 2. This fixes a problem where shift-pgup, with the
pgup released first generated an unknown scancode warning and the
shift remained stuck.
o This is the last and most important step in the input core
conversion
o This (re)implements getkeycode/setkeycode, kbd_rate and kd_mksound
as functions interfacing to the input core. PC-Speaker handling is
moved to a separate file. Uinput is moved to a input/misc
directory.
o Shorten the keycode handling code in keyboard.c and evdev.c
o Fix bits that have fallen out when merging input-based keyboard.c
into 2.5 - kbd0 init, sysrq support, show_regs, show_mem,
show_state support, correct handling of shifts across vt switches,
console blanking, console callback. Hope that's all.
o Always build input.o in - avoid build problems with keyboard.c
o Add mouse model reporting into psmouse.c
o Fix a dangling 'else' after removing ps/2 keyboard support
o Workaround to make iforce-usb.c compile with Pat Mochel's input to
standard lists conversion.
o Minor endianness and debugging fixes. Most thanks to Dave Miller



2002-08-27 20:18:43

by Stephane Wirtel

[permalink] [raw]
Subject: Re: Linux v2.5.32

a small compile error

gcc-3.2 -E
-Wp,-MD,/root/linux-2.5.32/include/linux/modules/drivers/message/i2o/.i2o_block.ver.d
-D__KERNEL__ -I/root/linux-2.5.32/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=i2o_block -D__GENKSYMS__ i2o_block.c |
/sbin/genksyms -p smp_ -k 2.5.32 >
/root/linux-2.5.32/include/linux/modules/drivers/message/i2o/i2o_block.ver.tmp
i2o_block.c:43:2: #error Please convert me to
Documentation/DMA-mapping.txt
make[5]: ***
[/root/linux-2.5.32/include/linux/modules/drivers/message/i2o/i2o_block.ver]
Error 1
make[5]: Leaving directory `/root/linux-2.5.32/drivers/message/i2o'
make[4]: *** [i2o] Error 2
make[4]: Leaving directory `/root/linux-2.5.32/drivers/message'
make[3]: *** [message] Error 2
make[3]: Leaving directory `/root/linux-2.5.32/drivers'
make[2]: *** [_sfdep_drivers] Error 2
make[2]: Leaving directory `/root/linux-2.5.32'
make[1]: *** [include/linux/modversions.h] Error 2
make[1]: Leaving directory `/root/linux-2.5.32'
make: *** [.hdepend] Error 2
bash-2.05a#

Best Regards

Stephane Wirtel

On Tue, Aug 27, 2002 at 12:47:16PM -0700, Linus Torvalds wrote:
>
> Delayed by various issues (including a HT-only MTRR bug that Ingo finally
> chased down and that kept me chasing shadows for days). As a result, this
> is fairly big..
>
> Most noticeable is the (already discussed) IDE revert, and the threading
> updates. The input layer switch-over may also end up being a bit painful
> for a while, since that not only adds a lot of config options that you
> have to get right to have a working keyboard and mouse (we'll fix that
> usability nightmare), but the drivers themselves are different and there
> are likely devices out there that depended on various quirks.
>
> The AIO core code from Ben got merged, and Al worked on cleaning up the
> gendisk stuff from a number of drivers that were missed last time. And the
> usual USB updates..
>
> Oh, and various architecture updates (sparc64, ppc64, ia-64).
>
> Linus
>
> -----
>
> Summary of changes from v2.5.31 to v2.5.32
> ============================================
>
> <[email protected]>:
> o 2.5.31 i2c updates
>
> <[email protected]>:
> o remove redundant slab.h include (Brad Hards)
>
> <[email protected]>:
> o Reorder unlocking in rq_unlock
>
> <[email protected]>:
> o eliminate hangs during RPC client shutdown
>
> <[email protected]>:
> o drivers/net/bonding.c: Handle non-ETHTOOL devices more correctly
>
> David Mosberger <[email protected]>:
> o ia64: Sync up with 2.5.18
> o ia64: Fix fls() declaration so it actually gets inlined. Duh
> o ia64: Add perfmon_itanium.h
> o ia64: Fix typo in arch/ia64/kernel/signal.c (reported by Peter
> Chubb)
> o ia64: Make gcc3.1 more aggressive with inline so it does the Right
> Thing on DRM
> o ia64: Wide IOSAPIC base_irq field to 32 bits. Patch by KOCHI
> Takayoshi
> o ia64: Get rid of obsolete MAP_NR_DENSE(). Patch by Bjorn Helgaas
> o ia64: Correct value delivered in siginfo.si_addr for SIGTRAP due to
> a debug breakpoint. Patch by Stephane Eranian.
> o ia64: Install NaT page at address zero to speed up speculation
> across NULL pointers. Patch by Ken Chen.
> o ia64: Add McKinley-tuned versions of copy_user() and memcpy().
> Patch by Ken Chen
> o ia64: Fix NaT consumption fault handler to not oops if fault was
> triggered in a code section with an exception handler.
> o ia64: Change EFI memory descriptor walking code to ignore memory
> areas that could cause illegal memory attribute aliasing.
> o ia64: Don't inherit all PSR bits across fork() & exec()
> o ia64: Build memcpy.o on Itanium only
> o ia64: Fix perfmon initialization bug. Patch by Stephane Eranian
> o ia64: New file perfmon_mckinley.h
> o ia64: TLB flushing fixes and reserve large-page syscall numbers
> o ia64: Misc. minor fixes
> o ia64: Fix formatting of Rusty's designated initializer changes
> o ia64: Fix "make xconfig". Patch by Keith Owens
> o ia64: Drop global irqlock support from hardirq.h. Move HP
> simulator config file to arch/ia64/hp/sim/ subdirectory.
> o ia64: Sync up with 2.5.29+
> o ia64: Allow for more than 32 CPUs. Minor formatting cleanups
> o ia64: More 2.5.xx syncing
> o ia64: Minor formatting fixes
> o ia64: Make fph-restore lazy. Patch by Asit K. Mallick
> o ia64: Print fpswa revision number. Based on patch by KOCHI
> Takayoshi.
>
> <[email protected]>:
> o Fix spelling in natsemi net driver
>
> <[email protected]>:
> o i_sem-less generic_file_write for O_DIRECT & XFS
> o fix syscall prototypes in init/do_mounts.c
>
> <[email protected]>:
> o Fix typos in 8139cp net driver RxProto{TCP,UDP} constants
>
> <[email protected]>:
> o net/ipv4/netfilter/ip_conntrack_core.c: Fix comment typo
>
> <[email protected]>:
> o UML patch fixup
>
> <jejb@mulgrave.(none)>:
> o [SCSI 53c700] clean up cli code
> o [SCSI debug driver] change DRIVER_ATTR usage
>
> <[email protected]>:
> o Here is a small patch that missed inclusion with the bigger MCA
> logging patch last February. Please include this in the next
> possible ia64 kernel patch.
>
> <[email protected]>:
> o net/ipv4/ipconfig.c: Add support for multiple nameservers
>
> <[email protected]>:
> o Removal of get_fix and get_var. Use the fields in struct fb_info
> instead
> o A couple of Oops fixes
> o Code cleanups and bug fixes
> o ported Mach 64 driver to new fbdev api
> o Bug fixes for Sparc platform
> o Moved over to use the fix field in struct fb_info instead of fields
> in struct display
> o M68k fbdev fixes
>
> <[email protected]>:
> o Support for Buffalo 40GB USB hard disk
>
> <[email protected]>:
> o hotplug boot change updates
>
> <[email protected]>:
> o kbuild: remove spurious comment
> o kbuild: remove duplicated dependencies
> o kbuild: remove duplicate CONFIG_DEBUG_SPINLOCK
> o kbuild: remove OSS pointless hex default
> o kbuild: remove duplicate modules menu
> o kbuild: fix missing/spurious EXPERIMENTAL
> o kbuild: fix Config.in if statement syntax error
>
> <[email protected]>:
> o This patch fixes some critical bugs in copy_user exception handler
> found by Xavier. The fixes are all in the exception handler and
> there are no changes in the main "copy" body. I have tested with
> both gcc2.96 and gcc3.1 compiler. Please report issues to me if
> there are any. Thanks.
>
> <[email protected]>:
> o net/ipv6/netfilter/ip6_tables.c: Fix extension header parsing bugs
>
> <[email protected]>:
> o kNFSd: new error codes for NFSv4
> o kNFSd: NFSv4: error codes in include/linux/nfsd/nfsd.h
> o kNFSd: NFSv4: fix type checking in fh_verify()
> o kNFSd: NFSv4: change ->rq_vers==3 to ->rq_vers>2
> o kNFSd: NFSv4: return err_nofilehandle if missing fh in fh_verify()
> o kNFSd: NFSv4: wipe out all evidence in fh_put()
> o kNFSd: NFSv4: allow resfh==fhp in fh_compose()
> o kNFSd: NFSv4: overflow check in nfsd_commit()
> o kNFSd: NFSv4: allow type==0 in nfsd_unlink()
> o kNFSd: NFSv4: tweak nfsd_create_v3() for NFSv4
> o kNFSd: NFSv4: new argument to nfsd_access()
> o kNFSd: NFSv4: tweak nfsd_readdir() for NFSv4
>
> <[email protected]>:
> o vmalloc.c error path fixes
>
> <[email protected]>:
> o More__builtin_expect() cleanup in favour of likely/unlikely
>
> <[email protected]>:
> o for i386 SETUP CODE
>
> <[email protected]>:
> o Re: [PATCH] 2.5.30 scsi_scan.c cleanup/rewrite
>
> <[email protected]>:
> o embarrassing 2.5.31 small bug fix for blkdev_reread_part()
>
> <[email protected]>:
> o simserial.c needs hw_irq.h to get the declaration for
> ia64_alloc_irq()
>
> <[email protected]>:
> o kbuild: Moved conmakehash to scripts
> o mrproper: Moved knowledge of files in scripts to scripts/Makefile
> No reason to keep this knowledge in a central place when it can be
> avoided
>
> <[email protected]>:
> o trivial: 2.5.31+bk forgotten endmenu
>
> <[email protected]>:
> o net/unix/af_unix.c: Set ATIME on socket inode
>
> <[email protected]>:
> o cpqfc, 2.5.30, lun fix
> o fix cpqfc passthrough ioctl for 2.5.30
>
> <[email protected]>:
> o [DECNET]: Fix route device refcounting
>
> <[email protected]>:
> o Trivial: remove sti from aic7xxx_old
> o lockd shouldn't call posix_unblock_lock here
>
> Alan Cox <[email protected]>:
> o Fix #undef warning in xirc2ps_cs net driver
>
> Alexander Viro <[email protected]>:
> o DAC960 per-disk gendisks
> o compile fixes, xd.c switched to per-disk gendisks
> o cciss partitioning stuff, per-disk gendisks
> o per-disk gendisks in ataraid
> o acsi per-disk gendisks
> o dasd per-disk gendisks
> o umem per-disk gendisks
> o per-disk gendisks in md.c
> o per-disk gendisks in i2o
>
> Alexey Kuznetsov <[email protected]>:
> o arch/i386/lib/checksum.S: Handle zero length
>
> Andrew Morton <[email protected]>:
> o fix ARCH_HAS_PREFETCH
> o reduced locking in buffer.c
> o scaled writeback throttling levels
> o random fixes
> o designated initialisers for ext2
> o export simple_strtoull
> o printk from userspace
> o pagevec infrastructure
> o multithread page reclaim
> o batched movement of lru pages in writeback
> o batched addition of pages to the LRU
> o batched removal of pages from the LRU
> o make pagemap_lru_lock irq-safe
> o pagemap_lru_lock wrapup
> o deferred and batched addition of pages to the LRU
> o uninitialised local in generic_file_write
> o memory leak in current BK
> o PageReserved test in __pagevec_release()
> o Fix a race between __page_cache_release() and shrink_cache()
> o fix uniprocessor lockups
> o Fix a BUG in try_to_unmap()
> o Fix YA bug in __page_cache_release
> o LRU race semi-fix
>
> Andries E. Brouwer <[email protected]>:
> o usb_string fix
>
> Andy Grover <[email protected]>:
> o By Herbert Nachtnebel
> o Make CONFIG_ACPI_BOOT work again (Pavel Machek)
> o Change acpi_system_suspend to use new irq functions (Pavel Machek)
> o A trio of minor fixes
> o ACPI interpreter updates
>
> Anton Altaparmakov <[email protected]>:
> o NTFS: 2.0.25 - Small bug fixes and cleanups
>
> Anton Blanchard <[email protected]>:
> o ppc64: Release the FWNMI area during a system reset, fixes xmon
> o ppc64: Fix stupid bug in pte_protect, it helps when we pass the
> value in
> o ppc64: defconfig update
> o ppc64: 2.5.28 update
> o ppc64: Correct number of arguments passed to handle_sysrq
> o ppc64: Make cpu_relax a barrier
> o ppc64: rwsem updates from ppc32 and synchronize_irq fix from x86
> o ppc64: rename to pread64/pwrite64 and add sys_readahead
> o ppc64: Small clean up of NUMA code
> o ppc64: hotplug cpu changes
> o ppc64: fix up set_tb and SPRN_TB* defines as well as some misc
> cleanups
> o ppc64: Remove -fsigned-char and use -mcpu=power4 in CFLAGS
> o ppc64: Allow user to change MSR_FE0 and MSR_FE1 - from ppc32
> o ppc64: defconfig update
> o ppc64: avoid bitops where possible in cacheflush avoidance code
> o ppc64: remove unused include
> o ppc64: merge in ppc32 changes to atomic_dec_and_lock
> o ppc64: set medium HMT priority in __delay, it gets used outside of
> udelay
> o ppc64: fix atomic_dec_and_lock symbol export
> o Use HMT hints in cpu_relax
> o ppc64: remove duplicate includes, from Brad Hards
> o ppc64: Disable irqs in init_new_context, destroy_context
> o ppc64: Fix breakage when I added sys_readahead
> o ppc64: missing include
> o ppc64: 32 bit syscall cleanup, first step in making this stuff
> generic
> o ppc64: remove some unimplemented syscalls
> o ppc64: 32 bit mknod and chmod need no sign extension
>
> Arnaldo Carvalho de Melo <[email protected]>:
> o make psnap and p8022 use the new LLC stack
> o LLC: Remove global variables used in confirms and indications
> o LLC: fix AF_LLC connection confirm and core connection request bugs
> o [ATALK] fix compilation of appletalk drivers
> o LLC: use skb->cb to store the LLC events
>
> Asit K. Mallick <[email protected]>:
> o fix Itanium copy_user for uninitialized NaT
>
> Benjamin LaHaise <[email protected]>:
> o reduce stack usage of sanitize_e820_map
> o convert quota.h to bsd 3 clause
> o add basic stubs for aio
> o add aio core
>
> Bjorn Helgaas <[email protected]>:
> o ia64: GENERIC build fixes
> o ia64: Here's a patch to make sba_iommu work again
> o Here are a couple patches against 2.5.18-ia64-020530. The first is
> some trivial cleanup in ia64/kernel/acpi.c (no need to initialize
> automatics that are immediately assigned, don't check for "0 ==
> __va(x)", don't bail out of acpi_boot_init
>
> Brad Hards <[email protected]>:
> o Remove unneeded #includes from 3c359, sbni, and sdla_ft1 net
> drivers
>
> Brian Beattie <[email protected]>:
> o patch for 2.5 scanner.h add device id's
>
> Christoph Hellwig <[email protected]>:
> o VM: Rework vmalloc code to support mapping of arbitray pages
> o Cleanup BKL handling and move kernel_flag definition to common code
> o Cleanup console merge
>
> Dave Hansen <[email protected]>:
> o NUMA-Q disable irqbalance
> o fix link problem in ips driver
>
> Dave Jones <[email protected]>:
> o Modular x86 MTRR driver
> o ROMFS superblock cleanup
> o UFS superblock cleanup
> o struct superblock cleanups
>
> Dave Kleikamp <[email protected]>:
> o JFS: Trivial fixes
> o [JFS] direct-to-BIO pagecache IO
>
> David Brownell <[email protected]>:
> o ehci updates
> o ohci, rm sparc64 oops
> o ehci, debug info in driverfs
> o ehci does interrupt queuing
> o expose dma_addr_t in urbs
> o HCDs support new DMA APIs (part 1 of 2)
> o HCDs support new DMA APIs (part 2 of 2)
> o USB core cleanups
> o misc usbcore cleanups
>
> David Mosberger <[email protected]>:
> o ia64: Fix do_profile() to account kernel ticks spent on behalf of
> pid 0. Clean up arch/ia64/config.in (based on patch by Keith
> Owens).
> o ia64: Sync with 2.5.30
> o ia64: Sync up with 2.5.31
>
> David S. Miller <[email protected]>:
> o net/llc/llc_main.c: Fix typo in struct member init
> o SPARC: Implement pcic_present which walks OBP tree, use it always
> in sbus_init
> o arch/sparc64/defconfig: Update
> o arch/sparc64/kernel/pci.c:pcic_present Invoke pci_is_controller
> o drivers/scsi/esp.c: Kill unused local var flags
> o include/linux/netdevice.h: Define HAVE_NETDEV_POLL
> o kernel/sched.c:migration_init Avoid int-->pointer cast warning on
> 64-bit
> o kernel/softirq.c:spawn_ksoftirqd Avoid int-->pointer cast warning
> on 64-bit
> o kernel/cpu.c:cpu_up Avoid int-->pointer cast warning on 64-bit
> o drivers/ide/ide-disk.c:lba_capacity_is_ok {u,s}64 is not
> necessarily a long long
> o fs/jfs/resize.c:jfs_extendfs {u,s}64 is not necessarily a long long
> o drivers/scsi/sr.c: Fix casting between pointer and int
> o drivers/scsi/st.c: Fix casting between pointer and int
> o drivers/scsi/qlogicisp.c:isp1020_load_paramters Kill unused local
> variable
> o SPARC64: Initial Cheetah+ cpu support
> o arch/sparc64/mm/modutil.c: Fixup vmalloc interface changes
> o include/linux/fb.h: Declare do_install_cmap
> o [VIDEO]: Port SBUS framebuffer to video layer changes
> o drivers/video/aty/mach64_cursor.c: Kill warning on sparc64
> o arch/sparc64/defconfig: Update
> o include/asm-sparc{,64}/ide.h: Get IDE layer building again on Sparc
> o arch/sparc64/kernel/smp.c:smp_tune_scheduling Handle Cheetah+
> o SPARC64: Fix obscure cheetah+ hangs
> o TIGON3: Add missing udelay when clearing SRAM stats/status block
> o net/unix/af_unix.c: Set msg_namelen in unix_copy_addr properly,
> define MODULE_LICENSE
> o net/ipv4/tcp_diag.c: Avoid unaligned accesses to tcpdiag_cookie
> o SPARC64:setup_arch Flush correct I-cache line when patching
> irqsz_patchme
> o SPARC64: Bug fixes in arch/sparc64/mm/ultra.S
> o [CLONE_*TID]: Make tsk->user_tid and int so that 64-bit arches work
> o [SPARC64]: Synchronize with 2.5.x changes
> o [SPARC32]: Synchronize with 2.5.x changes
> o net/unix/af_unix.c: protinfo is dead, use unix_sk()
> o SPARC64: Ultra-III+ bug fix and better bad trap logging
>
> David S. Miller <[email protected]>:
> o I did find one bug, hid_submit_ctrl() does not cpu_to_le16() all
> the control request fields properly.
>
> Douglas Gilbert <[email protected]>:
> o Here is an update for scsi_debug that utilizes driverfs support for
> per driver parameters added in lk 2.5.31
> o lk 2.5.31 scsi interface documentation
> o This version of sg for the lk 2.5 series re-adds direct IO support
> using work done by Kai Makisara (on st driver, posted 2002/7/29).
>
> Eric Sandeen <[email protected]>:
> o Remove unused var and unused func from ali-ircc IrDA driver
>
> [email protected] <[email protected]>:
> o Hi Vojtech, I noticed you just pushed the pc_keyb.c removal to
> linux-input, here is the PPC part of it that removes now superflous
> stuff. The small change in keyboard.c is a bugfix from 2.4 and ruby
> that didn't make it into 2.5 yet.
> o Two minor fixes on top of the PPC final input conversion
>
> Geert Uytterhoeven <[email protected]>:
> o Compile fixes for Amiga input drivers
>
> Greg Kroah-Hartman <[email protected]>:
> o USB storage: split up BUG_ON for easier debugging
> o USB: Makefile fix for previous patch
> o USB: remove LINUX_VERSION_CODE checks
> o USB: moved put_bus to its proper place (as the last thing we do
> shutting down.)
> o USB: check to see if we have a disconnect function before trying to
> call it
> o USB: fixed DEVICE_ATTR usage in the ehci driver
> o USB: changed usb_match_id to not need the usb_device pointer
> o USB: rename printer.c to usblp.c as that's what it has been calling
> itself :)
> o USB: added usblcd driver
> o USB: fix minor number for the usblcd driver
> o USB: added the speedtouch usb driver
>
> Harald Welte <[email protected]>:
> o include/linux/kernel.h: Define HIPQUAD correctly on little-endian
> o [NETFILTER]: Synchronize with 2.4.x newnat infrastructure
> o NETFILTER: New netfilter modules
> o NETFILTER: Rest of new netfilter modules changes
>
> Hirofumi Ogawa <[email protected]>:
> o Fix generic_file_send()
> o add sendfile() support to fatfs (3/3)
>
> Ingo Molnar <[email protected]>:
> o tls-2.5.31-D9
> o APM TLS fix, 2.5.31-BK
> o CLONE_SETTLS, CLONE_SETTID, 2.5.31-BK
> o clone-detached-2.5.31-B0
> o user-vm-unlock-2.5.31-A2
> o thread release infrastructure
> o stale thread detach debugging removal
> o thread management - take three
> o Thread exit notification by futex
> o Re: Boot failure in 2.5.31 BK with new TLS patch
> o O(1) sys_exit(), threading, scalable-exit-2.5.31-B4
> o O(1) sys_exit(), threading, scalable-exit-2.5.31-A6
> o HT & MTRRs, 2.5.31-BK-curr
>
> James Morris <[email protected]>:
> o [NETFILTER]: Fixup ip6_queue much like ip_queue was
> o net/ipv4/netfilter/ipfwadm_core.c: Fix 2.5.x compilation
>
> Jan-Benedict Glaw <[email protected]>:
> o CodingStyle and docu update to srm_env
>
> Jeff Garzik <[email protected]>:
> o Remove dead prototype, fix printk format string in rcpci45 net
> driver
> o Include linux/bitops.h in e100 net driver, it uses ffs (Noticed by
> DaveM)
>
> Jens Axboe <[email protected]>:
> o Delete 2.5 IDE core
> o Add 2.4 IDE core, based on late 2.4.19-pre-acX version
> o Add missing pci ids for various ide controllers
> o Add x86 versions of various irq and resource stuff for 2.4-ide
> o Add back in the request types that 2.4 still uses, need to clean
> these a bit later
> o Add back in the missing 2.4-ide bits from hdreg.h These also wants
> a bit of cleaning later.
> o Add in 2.4 ide-scsi
> o sym53c8xx_2
>
> Kai Germaschewski <[email protected]>:
> o ISDN: Move calculating the currently used bandwidth
> o ISDN: Start cleaning isdn_net hangup timeout handling
> o ISDN: Fix Config.in problem
> o ISDN: Use C99 initializers
> o ISDN: __FUNCTION__ cleanup
> o ISDN: Change Christian Mock's email adress
> o ISDN: Fix BC_BUSY problem
> o ISDN: Remove debugging code
> o kbuild: check for updated [Cc]onfig.in files
> o kbuild: Cleanup the chmod rule in scripts/
> o kbuild: Fix drivers/net/appletalk/Config.in
> o kbuild: Remove HPATH, general cleanup
> o kbuild: Common rule for preprocessing vmlinux.lds
>
> [email protected] <[email protected]>:
> o SCSI tape direct transfers for 2.5.31
>
> Linus Torvalds <[email protected]>:
> o Don't allow user-level helpers to be run when our infrastructure
> isn't ready for it (either during early boot, or at shutdown)
> o Missed prototype for 'system_running' fix
> o Don't BUG_ON() SCSI length confusion. Print out the problem and the
> call trace instead.
> o Move x86 big-kernel-lock implementation into <linux/smp_lock.h>,
> since it was generic.
> o Hmm.. It was never correct to directly include <asm/smplock.h>, but
> some files still did (and got the wrong results on UP).
> o re-do spinlock cleanup, it was innocent Cset exclude:
> [email protected]|ChangeSet|20020821235957|57282
> o Handle page fault atomicity correctly when preempt is enabled
> o Fix syntax error in character driver Config.in file introduced by
> input merge
> o Keyboard reset NAK does not imply that the keyboard isn't there.
> o Get rid of /proc dependency on inode numbers
> o Clean up asm-i386/smplock.h
> o Remove extraneous ptrace.h include
> o Fix missing kmap_types.h header (it got included "by mistake" with
> highmem enabled, but not otherwise, and was always required).
> o Update defconfig to current state (keyboard/input layer in
> particular)
>
> Luca Barbieri <[email protected]>:
> o Make rmap.c alloc/free actually inline
>
> Martin Mares <[email protected]>:
> o PCI ID's for 2.5.31
>
> [email protected] <[email protected]>:
> o NUMA-Q relocate early ioremap
> o NUMA-Q disable irqbalance
>
> Matthew Dharm <[email protected]>:
> o USB-storage: final abort handler cleanup
> o USB-storage: final abort handler cleanup, for real
> o fix devices which don't support EVPD
> o fix devices which don't support START_STOP
>
> Neil Brown <[email protected]>:
> o Rearrange setting of snd/rcv buf size to avoid locking issue
> o RPC/TCP 2 of 4 - Allow SO_REUSEADDR for NFS sockets
> o RPC/TCP 3 of 4 - Correct error message when rpc/tcp sent fails
> o RPC/TCP 4 of 4 - Handle short read when reading RPC/TCP packet
> length
> o Fix two problems with multiple concurrent nfs/tcp connects
> o call svc_sock_setbufsize when socket created
> o Fix error message printed when not enough queue space
> o md: Fix assort typos in most recent MD patches
> o md: Silence a warning in md.c
> o md: Store rdev instead of bdev in per-personality status arrays
> o md: MD error handers and md_sync_acct now get rdev instead of bdev
> o md: Keep track of number of pending requests on each component
> device on an MD array
> o md: Remove used_slot field from per-personality info
> o md: Make spare handling simple ... personalities know less
> o md: Improve code for deciding whether to skip an IO in raid5
> o md: Remove 'alias_device' flag
> o md: Remove per-personality 'operational' and 'write_only' flags
> o md: Make the old-ioctl warning in md only complain about MD ioctls
> o md: Get rid of un-necessary warning in md
> o md: Fix up oops-able error message
>
> Oliver Neukum <[email protected]>:
> o fix urb leak in error in cdc-ether
> o Problem with CDC Ethernet driver (CDCEther.c)
>
> Patrick Mochel <[email protected]>:
> o Change DEVICE_ATTR, BUS_ATTR, and DRIVER_ATTR macros to not take a
> '_str' parameter, and just __stringify the name instead.
> o Update device model locking
> o Fix and prevent bugs in device_register()
> o Update device model locking
> o Remove do_driver_detach(), since device_detach does the same thing
> o Use C99 initializers in driver model core
> o Make sure we do to_dev(node) in device_suspend()
> o Remove device_root device; replace with global_device_list
> o Remove extra '#include <linux/err.h>' in drivers/base/core.c
> o Introduce struct device_class
> o Introduce struct device_interface
> o Define input device class and register it
> o Define a struct device_interface for all the input interfaces and
> register them with the input device class when started up.
> o unlock the right lock in enum_device
> o input layer update
> o Remove input_handler list; replace with
> LIST_HEAD(input_handler_list)
> o Use standard linked lists in input layer
>
> Paul Larson <[email protected]>:
> o Include tgid when finding next_safe in get_pid()
>
> Paul Mackerras <[email protected]>:
> o USB root hub polling and suspend
> o add FP exception mode prctl
> o PPC32: add the bits needed for AIO and sendfile64 support
> o PPC32: define L1_CACHE_SHIFT
> o PPC32: Fix the type of set_rtc_time
> o PPC32: include sched.h before elfcore.h in ppc_ksyms.c
> o PPC32: define bits that are needed for the IDE subsystem now
> o PPC32: remove code that sets kd_mksound now that it isn't a pointer
>
> [email protected] <[email protected]>:
> o Probe port 0x240 too, in eexpress net driver
>
> Pete Zaitcev <[email protected]>:
> o SPARC: More work to get sparc32 working in 2.5.x
> o SPARC: Fix prom_printf and prom console behavior
> o include/asm-sparc/pgtable.h: Fix woops in ZERO_PAGE
>
> Petr Vandrovec <[email protected]>:
> o C99 designated initializers for fs/ncpfs
> o Support secondary head DDC on G450/G550
> o Make secondary output support mandatory for Matrox G450/G550
> o Remove structure holding state of secondary output in the matroxfb
> driver
> o matroxfb: Find appropriate setting for specified color depth by
> looking through table instead of using if-else branches in code.
> Source is cleaner, and generated code is smaller with this change.
> By Denis Zaitsev <[email protected]>
> o Simplify rules for writting secondary output drivers to matroxfb
> o Use arrays for holding Matrox output drivers, it is nicer and more
> extensible than current solution with per-CRTC bitmaps.
> o Store pointer to matroxfb specific fb information instead of
> universal fb_info* pointer for secondary head. Saves some
> typecasts.
> o Use container_of instead of simple typecast when we convert
> pointers from pointer to fb_info to pointers to matrox_fb_info.
> o Initialize Matrox G100 and G400 hardware with values read from BIOS
> instead of with failsafe settings discovered in the past.
> o matroxfb DVI updates
> o Add TV-Out support for Matrox G450/G550. Due to the hardware only
> secondary CRTC can be used as a source for TV output.
> o Make debug printouts in matroxfb G400 TV-out disabled by default
> o Remove currcon field from private fb_info in matroxfb. It was moved
> to the generic layer long ago.
> o Use sizeof(*var) instead of sizeof(struct xxx) in matroxfb
> o Return ENOTTY instead of EINVAL for unknown ioctl ops in matroxfb
> o Add support for MGA-TVO-B into matroxfb. By Mike Pieper
> o matroxfb: Do not store results of bitwise AND directly in variables
> which are treated as a booleans. Comparsion does not work correctly
> on them.
> o Set system PLL vcomax correctly in matroxfb. Discovered by Dirk
> Uffmann
> o Update matroxfb to the current fbdev API
> o Unicode characters 0x80-0x9F are valid ISO* characters
> o broken cfb* support in the 2.5.31-bk
> o es1371 synchronize_irq
> o oops from console subsystem: dereferencing wild pointer
> o More display -> fb_info fixes for new fbdev
>
> Randy Dunlap <[email protected]>:
> o Network Options and Network Devices together
>
> Rik van Riel <[email protected]>:
> o rmap bugfix, try_to_unmap
>
> Robert Love <[email protected]>:
> o spinlock.h cleanup
>
> Rusty Russell <[email protected]>:
> o Designated initializers for ia64
> o [TRIVIAL] Use __cachline_aligned in netdevice.h
> o ia64 incorrect field name in message
> o designated initializers for include/linux
> o Designated initializers for i386
> o Export __per_cpu_offset so modules can use per-cpu data
> o get_cpu_var patch
> o DECLARE_PER_CPU/DEFINE_PER_CPU patch
> o init_tasks is not defined anywhere
>
> Simon Evans <[email protected]>:
> o misc fixes for konicawc driver
> o cleanup RingQueue_* functions in usbvideo.c
> o konicawc - make snapshot button into input device
> o add callback for VIDIOCSWIN ioctl to usbvideo
> o add VIDIOCSWIN support to konicawc driver
> o use __FUNCTION__ in usbvideo
> o typedef uvd_t removal in usbvideo
>
> St?phane Eranian <[email protected]>:
> o Allow blocking on overflow notifications to work again
>
> Tom Rini <[email protected]>:
> o A generic RTC driver [1/3]
> o A generic RTC driver [2/3]
> o A generic RTC driver [3/3]
>
> Trond Myklebust <[email protected]>:
> o Fix typo in the RPC reconnect code
> o cleanup RPC accounting
> o Clean up the RPC socket slot allocation code [1/2]
> o Clean up the RPC socket slot allocation code [2/2]
> o Improve NFS READ reply sanity checking
> o Improve READDIR/READDIRPLUS sanity checking
>
> V. Ganesh <[email protected]>:
> o typo in usb/serial/ipaq.h
>
> Vojtech Pavlik <[email protected]>:
> o Fix i8042.c to ignore fake key releases generated by AT keyboard in
> translated set 2. This fixes a problem where shift-pgup, with the
> pgup released first generated an unknown scancode warning and the
> shift remained stuck.
> o This is the last and most important step in the input core
> conversion
> o This (re)implements getkeycode/setkeycode, kbd_rate and kd_mksound
> as functions interfacing to the input core. PC-Speaker handling is
> moved to a separate file. Uinput is moved to a input/misc
> directory.
> o Shorten the keycode handling code in keyboard.c and evdev.c
> o Fix bits that have fallen out when merging input-based keyboard.c
> into 2.5 - kbd0 init, sysrq support, show_regs, show_mem,
> show_state support, correct handling of shifts across vt switches,
> console blanking, console callback. Hope that's all.
> o Always build input.o in - avoid build problems with keyboard.c
> o Add mouse model reporting into psmouse.c
> o Fix a dangling 'else' after removing ps/2 keyboard support
> o Workaround to make iforce-usb.c compile with Pat Mochel's input to
> standard lists conversion.
> o Minor endianness and debugging fixes. Most thanks to Dave Miller
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Stephane Wirtel <[email protected]>
Web : http://www.linux-mons.be "Linux Is Not UniX !!!"

2002-08-27 20:32:11

by Thunder from the hill

[permalink] [raw]
Subject: Re: Linux v2.5.32

Hi,

On Tue, 27 Aug 2002, Stephane Wirtel wrote:
> a small compile error

For a good reason:

> i2o_block.c:43:2: #error Please convert me to
> Documentation/DMA-mapping.txt

Still not done?

Thunder
--
--./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
--/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
.- -/---/--/---/.-./.-./---/.--/.-.-.-
--./.-/-.../.-./.././.-../.-.-.-

2002-08-27 20:39:08

by Udo A. Steinberg

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Tue, 27 Aug 2002 12:47:16 -0700 (PDT)
Linus Torvalds <[email protected]> wrote:

> Linux 2.5.32 ...

Hello,

It looks like the kernel is trying to read partition tables on IDE cdrom drives
in SCSI emulation mode - and failing at doing so.

Regards,
-Udo.


hda: hda1
hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >
hde:ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 0, nr/cnr 8/1

end_request: I/O error, dev 21:00, sector 0
Buffer I/O error on device ide2(33,0), logical block 0
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 1, nr/cnr 7/1

end_request: I/O error, dev 21:00, sector 1
Buffer I/O error on device ide2(33,0), logical block 1
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 2, nr/cnr 6/1

end_request: I/O error, dev 21:00, sector 2
Buffer I/O error on device ide2(33,0), logical block 2
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 3, nr/cnr 5/1

end_request: I/O error, dev 21:00, sector 3
Buffer I/O error on device ide2(33,0), logical block 3
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 4, nr/cnr 4/1

end_request: I/O error, dev 21:00, sector 4
Buffer I/O error on device ide2(33,0), logical block 4
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 5, nr/cnr 3/1

end_request: I/O error, dev 21:00, sector 5
Buffer I/O error on device ide2(33,0), logical block 5
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 6, nr/cnr 2/1

end_request: I/O error, dev 21:00, sector 6
Buffer I/O error on device ide2(33,0), logical block 6
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 7, nr/cnr 1/1

end_request: I/O error, dev 21:00, sector 7
Buffer I/O error on device ide2(33,0), logical block 7
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 0, nr/cnr 8/1

end_request: I/O error, dev 21:00, sector 0
Buffer I/O error on device ide2(33,0), logical block 0
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 1, nr/cnr 7/1

end_request: I/O error, dev 21:00, sector 1
Buffer I/O error on device ide2(33,0), logical block 1
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 2, nr/cnr 6/1

end_request: I/O error, dev 21:00, sector 2
Buffer I/O error on device ide2(33,0), logical block 2
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 3, nr/cnr 5/1

end_request: I/O error, dev 21:00, sector 3
Buffer I/O error on device ide2(33,0), logical block 3
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 4, nr/cnr 4/1

end_request: I/O error, dev 21:00, sector 4
Buffer I/O error on device ide2(33,0), logical block 4
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 5, nr/cnr 3/1

end_request: I/O error, dev 21:00, sector 5
Buffer I/O error on device ide2(33,0), logical block 5
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 6, nr/cnr 2/1

end_request: I/O error, dev 21:00, sector 6
Buffer I/O error on device ide2(33,0), logical block 6
ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 7, nr/cnr 1/1

end_request: I/O error, dev 21:00, sector 7
Buffer I/O error on device ide2(33,0), logical block 7
unable to read partition table
SCSI subsystem driver Revision: 1.00


Attachments:
(No filename) (189.00 B)

2002-08-27 20:46:09

by Andre Hedrick

[permalink] [raw]
Subject: Re: Linux v2.5.32


Will fix as soon as I can down load and clear out current business with
Alan Cox for 2.4.

Cheers,

On Tue, 27 Aug 2002, Udo A. Steinberg wrote:

> On Tue, 27 Aug 2002 12:47:16 -0700 (PDT)
> Linus Torvalds <[email protected]> wrote:
>
> > Linux 2.5.32 ...
>
> Hello,
>
> It looks like the kernel is trying to read partition tables on IDE cdrom drives
> in SCSI emulation mode - and failing at doing so.
>
> Regards,
> -Udo.
>
>
> hda: hda1
> hdb: hdb1 hdb2 hdb3 < hdb5 hdb6 hdb7 hdb8 hdb9 hdb10 >
> hde:ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 0, nr/cnr 8/1
>
> end_request: I/O error, dev 21:00, sector 0
> Buffer I/O error on device ide2(33,0), logical block 0
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 1, nr/cnr 7/1
>
> end_request: I/O error, dev 21:00, sector 1
> Buffer I/O error on device ide2(33,0), logical block 1
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 2, nr/cnr 6/1
>
> end_request: I/O error, dev 21:00, sector 2
> Buffer I/O error on device ide2(33,0), logical block 2
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 3, nr/cnr 5/1
>
> end_request: I/O error, dev 21:00, sector 3
> Buffer I/O error on device ide2(33,0), logical block 3
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 4, nr/cnr 4/1
>
> end_request: I/O error, dev 21:00, sector 4
> Buffer I/O error on device ide2(33,0), logical block 4
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 5, nr/cnr 3/1
>
> end_request: I/O error, dev 21:00, sector 5
> Buffer I/O error on device ide2(33,0), logical block 5
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 6, nr/cnr 2/1
>
> end_request: I/O error, dev 21:00, sector 6
> Buffer I/O error on device ide2(33,0), logical block 6
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 7, nr/cnr 1/1
>
> end_request: I/O error, dev 21:00, sector 7
> Buffer I/O error on device ide2(33,0), logical block 7
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 0, nr/cnr 8/1
>
> end_request: I/O error, dev 21:00, sector 0
> Buffer I/O error on device ide2(33,0), logical block 0
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 1, nr/cnr 7/1
>
> end_request: I/O error, dev 21:00, sector 1
> Buffer I/O error on device ide2(33,0), logical block 1
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 2, nr/cnr 6/1
>
> end_request: I/O error, dev 21:00, sector 2
> Buffer I/O error on device ide2(33,0), logical block 2
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 3, nr/cnr 5/1
>
> end_request: I/O error, dev 21:00, sector 3
> Buffer I/O error on device ide2(33,0), logical block 3
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 4, nr/cnr 4/1
>
> end_request: I/O error, dev 21:00, sector 4
> Buffer I/O error on device ide2(33,0), logical block 4
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 5, nr/cnr 3/1
>
> end_request: I/O error, dev 21:00, sector 5
> Buffer I/O error on device ide2(33,0), logical block 5
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 6, nr/cnr 2/1
>
> end_request: I/O error, dev 21:00, sector 6
> Buffer I/O error on device ide2(33,0), logical block 6
> ide-scsi: unsup command: dev 21:00: REQ_CMD REQ_STARTED sector 7, nr/cnr 1/1
>
> end_request: I/O error, dev 21:00, sector 7
> Buffer I/O error on device ide2(33,0), logical block 7
> unable to read partition table
> SCSI subsystem driver Revision: 1.00
>
>

Andre Hedrick
LAD Storage Consulting Group

2002-08-27 20:44:15

by Stephane Wirtel

[permalink] [raw]
Subject: Re: Linux v2.5.32


Hi,

now, it's not a problem, just a comment.

but i have an other compile error,

make[2]: Entering directory `/root/linux-2.5.32/fs/intermezzo'
gcc-3.2 -Wp,-MD,./.vfs.o.d -D__KERNEL__ -I/root/linux-2.5.32/include
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -nostdinc -iwithprefix include -DKBUILD_BASENAME=vfs -c
-o vfs.o vfs.c
vfs.c: In function `presto_debug_fail_blkdev':
vfs.c:134: invalid initializer
vfs.c:136: warning: implicit declaration of function `is_read_only'
vfs.c: In function `presto_do_rmdir':
vfs.c:1244: warning: implicit declaration of function `double_down'
vfs.c:1260: warning: implicit declaration of function `double_up'
vfs.c: In function `presto_rename_dir':
vfs.c:1627: warning: implicit declaration of function `triple_down'
vfs.c:1644: warning: implicit declaration of function `triple_up'
vfs.c: In function `lento_do_rename':
vfs.c:1755: warning: implicit declaration of function `double_lock'
vfs.c: In function `lento_iopen':
vfs.c:1935: warning: concatenation of string literals with __FUNCTION__
is deprecated
make[2]: *** [vfs.o] Error 1
make[2]: Leaving directory `/root/linux-2.5.32/fs/intermezzo'
make[1]: *** [intermezzo] Error 2
make[1]: Leaving directory `/root/linux-2.5.32/fs'
make: *** [fs] Error 2
bash-2.05a#

i would like to make a patch, but i don't find is_read_only(kdev), and in
Documentation/filesystems/porting, i must to use bdev_read_only(bdev)

---------------- From Documentation/filesystems/porting
[recommended]

Use bdev_read_only(bdev) instead of is_read_only(kdev). The latter
is still alive, but only because of the mess in drivers/s390/block/dasd.c.
As soon as it gets fixed is_read_only() will die.
----------------

Stephane
On Tue, Aug 27, 2002 at 02:36:26PM -0600, Thunder from the hill wrote:
> Hi,
>
> On Tue, 27 Aug 2002, Stephane Wirtel wrote:
> > a small compile error
>
> For a good reason:
>
> > i2o_block.c:43:2: #error Please convert me to
> > Documentation/DMA-mapping.txt
>
> Still not done?
>
> Thunder
> --
> --./../...-/. -.--/---/..-/.-./..././.-../..-. .---/..-/.../- .-
> --/../-./..-/-/./--..-- ../.----./.-../.-.. --./../...-/. -.--/---/..-
> .- -/---/--/---/.-./.-./---/.--/.-.-.-
> --./.-/-.../.-./.././.-../.-.-.-
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/

--
Stephane Wirtel <[email protected]>
Web : http://www.linux-mons.be "Linux Is Not UniX !!!"

2002-08-27 20:43:28

by Alexander Viro

[permalink] [raw]
Subject: Re: Linux v2.5.32



On Tue, 27 Aug 2002, Udo A. Steinberg wrote:

> On Tue, 27 Aug 2002 12:47:16 -0700 (PDT)
> Linus Torvalds <[email protected]> wrote:
>
> > Linux 2.5.32 ...
>
> Hello,
>
> It looks like the kernel is trying to read partition tables on IDE cdrom drives
> in SCSI emulation mode - and failing at doing so.

IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
that stuff is on ftp.math.psu.edu/pub/viro/IDE/* - waiting for ACK from
Alan.

2002-08-27 20:50:33

by Gabor Z. Papp

[permalink] [raw]
Subject: Re: Linux v2.5.32

* Stephane Wirtel <[email protected]>:

| a small compile error

More compile errors:

make[3]: Entering directory `/usr/src/linux-2.5.32-gzp3/drivers/serial'
gcc -Wp,-MD,./.core.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=core -DEXPORT_SYMTAB -c -o core.o core.c
gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c
In file included from 8250.c:34:
/usr/src/linux-2.5.32-gzp3/include/linux/serialP.h:50: field `icount' has incomplete type
8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function)
8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[0].flags')
8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function)
8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[1].flags')
8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function)
8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[2].flags')
8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[3].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[4].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[5].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[6].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[7].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[8].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[9].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[10].flags')
8250.c:106: `ASYNC_FOURPORT' undeclared here (not in a function)
8250.c:106: initializer element is not constant
8250.c:106: (near initialization for `old_serial_port[11].flags')
8250.c:145: elements of array `uart_config' have incomplete type
8250.c:146: warning: excess elements in struct initializer
8250.c:146: warning: (near initialization for `uart_config[0]')
8250.c:146: warning: excess elements in struct initializer
8250.c:146: warning: (near initialization for `uart_config[0]')
8250.c:146: warning: excess elements in struct initializer
8250.c:146: warning: (near initialization for `uart_config[0]')
8250.c:147: warning: excess elements in struct initializer
8250.c:147: warning: (near initialization for `uart_config[1]')
8250.c:147: warning: excess elements in struct initializer
8250.c:147: warning: (near initialization for `uart_config[1]')
8250.c:147: warning: excess elements in struct initializer
8250.c:147: warning: (near initialization for `uart_config[1]')
8250.c:148: warning: excess elements in struct initializer
8250.c:148: warning: (near initialization for `uart_config[2]')
8250.c:148: warning: excess elements in struct initializer
8250.c:148: warning: (near initialization for `uart_config[2]')
8250.c:148: warning: excess elements in struct initializer
8250.c:148: warning: (near initialization for `uart_config[2]')
8250.c:149: warning: excess elements in struct initializer
8250.c:149: warning: (near initialization for `uart_config[3]')
8250.c:149: warning: excess elements in struct initializer
8250.c:149: warning: (near initialization for `uart_config[3]')
8250.c:149: warning: excess elements in struct initializer
8250.c:149: warning: (near initialization for `uart_config[3]')
8250.c:150: warning: excess elements in struct initializer
8250.c:150: warning: (near initialization for `uart_config[4]')
8250.c:150: warning: excess elements in struct initializer
8250.c:150: warning: (near initialization for `uart_config[4]')
8250.c:150: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:150: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:150: warning: excess elements in struct initializer
8250.c:150: warning: (near initialization for `uart_config[4]')
8250.c:151: warning: excess elements in struct initializer
8250.c:151: warning: (near initialization for `uart_config[5]')
8250.c:151: warning: excess elements in struct initializer
8250.c:151: warning: (near initialization for `uart_config[5]')
8250.c:151: warning: excess elements in struct initializer
8250.c:151: warning: (near initialization for `uart_config[5]')
8250.c:152: warning: excess elements in struct initializer
8250.c:152: warning: (near initialization for `uart_config[6]')
8250.c:152: warning: excess elements in struct initializer
8250.c:152: warning: (near initialization for `uart_config[6]')
8250.c:152: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:152: `UART_STARTECH' undeclared here (not in a function)
8250.c:152: warning: excess elements in struct initializer
8250.c:152: warning: (near initialization for `uart_config[6]')
8250.c:153: warning: excess elements in struct initializer
8250.c:153: warning: (near initialization for `uart_config[7]')
8250.c:153: warning: excess elements in struct initializer
8250.c:153: warning: (near initialization for `uart_config[7]')
8250.c:153: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:153: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:153: `UART_STARTECH' undeclared here (not in a function)
8250.c:153: warning: excess elements in struct initializer
8250.c:153: warning: (near initialization for `uart_config[7]')
8250.c:154: warning: excess elements in struct initializer
8250.c:154: warning: (near initialization for `uart_config[8]')
8250.c:154: warning: excess elements in struct initializer
8250.c:154: warning: (near initialization for `uart_config[8]')
8250.c:154: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:154: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:154: warning: excess elements in struct initializer
8250.c:154: warning: (near initialization for `uart_config[8]')
8250.c:155: warning: excess elements in struct initializer
8250.c:155: warning: (near initialization for `uart_config[9]')
8250.c:155: warning: excess elements in struct initializer
8250.c:155: warning: (near initialization for `uart_config[9]')
8250.c:155: warning: excess elements in struct initializer
8250.c:155: warning: (near initialization for `uart_config[9]')
8250.c:156: warning: excess elements in struct initializer
8250.c:156: warning: (near initialization for `uart_config[10]')
8250.c:156: warning: excess elements in struct initializer
8250.c:156: warning: (near initialization for `uart_config[10]')
8250.c:156: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:156: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:156: warning: excess elements in struct initializer
8250.c:156: warning: (near initialization for `uart_config[10]')
8250.c:157: warning: excess elements in struct initializer
8250.c:157: warning: (near initialization for `uart_config[11]')
8250.c:157: warning: excess elements in struct initializer
8250.c:157: warning: (near initialization for `uart_config[11]')
8250.c:157: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:157: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:157: `UART_STARTECH' undeclared here (not in a function)
8250.c:157: warning: excess elements in struct initializer
8250.c:157: warning: (near initialization for `uart_config[11]')
8250.c:158: warning: excess elements in struct initializer
8250.c:158: warning: (near initialization for `uart_config[12]')
8250.c:158: warning: excess elements in struct initializer
8250.c:158: warning: (near initialization for `uart_config[12]')
8250.c:158: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:158: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:158: `UART_STARTECH' undeclared here (not in a function)
8250.c:158: warning: excess elements in struct initializer
8250.c:158: warning: (near initialization for `uart_config[12]')
8250.c:159: warning: excess elements in struct initializer
8250.c:159: warning: (near initialization for `uart_config[13]')
8250.c:159: warning: excess elements in struct initializer
8250.c:159: warning: (near initialization for `uart_config[13]')
8250.c:159: `UART_CLEAR_FIFO' undeclared here (not in a function)
8250.c:159: `UART_USE_FIFO' undeclared here (not in a function)
8250.c:159: warning: excess elements in struct initializer
8250.c:159: warning: (near initialization for `uart_config[13]')
8250.c:160: invalid use of undefined type `struct serial_uart_config'
8250.c: In function `serial_in':
8250.c:167: `SERIAL_IO_HUB6' undeclared (first use in this function)
8250.c:167: (Each undeclared identifier is reported only once
8250.c:167: for each function it appears in.)
8250.c:171: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c:168: warning: unreachable code at beginning of switch statement
8250.c: In function `serial_out':
8250.c:185: `SERIAL_IO_HUB6' undeclared (first use in this function)
8250.c:190: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c:186: warning: unreachable code at beginning of switch statement
8250.c: In function `autoconfig':
8250.c:457: `ASYNC_BUGGY_UART' undeclared (first use in this function)
8250.c:503: `ASYNC_SKIP_TEST' undeclared (first use in this function)
8250.c:600: invalid use of undefined type `struct serial_uart_config'
8250.c: In function `autoconfig_irq':
8250.c:640: `ASYNC_FOURPORT' undeclared (first use in this function)
8250.c: In function `serial8250_startup':
8250.c:1121: invalid use of undefined type `struct serial_uart_config'
8250.c:1121: `UART_CLEAR_FIFO' undeclared (first use in this function)
8250.c:1141: `ASYNC_BUGGY_UART' undeclared (first use in this function)
8250.c:1171: `ASYNC_FOURPORT' undeclared (first use in this function)
8250.c: In function `serial8250_shutdown':
8250.c:1225: `ASYNC_FOURPORT' undeclared (first use in this function)
8250.c: In function `serial8250_change_speed':
8250.c:1307: invalid use of undefined type `struct serial_uart_config'
8250.c:1307: `UART_USE_FIFO' undeclared (first use in this function)
8250.c:1363: invalid use of undefined type `struct serial_uart_config'
8250.c:1363: `UART_STARTECH' undeclared (first use in this function)
8250.c: In function `serial8250_pm':
8250.c:1391: invalid use of undefined type `struct serial_uart_config'
8250.c:1391: `UART_STARTECH' undeclared (first use in this function)
8250.c:1410: invalid use of undefined type `struct serial_uart_config'
8250.c: In function `serial8250_request_std_resource':
8250.c:1467: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c:1475: `SERIAL_IO_HUB6' undeclared (first use in this function)
8250.c:1476: `SERIAL_IO_PORT' undeclared (first use in this function)
8250.c:1468: warning: unreachable code at beginning of switch statement
8250.c: In function `serial8250_request_rsa_resource':
8250.c:1493: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c:1503: `SERIAL_IO_HUB6' undeclared (first use in this function)
8250.c:1504: `SERIAL_IO_PORT' undeclared (first use in this function)
8250.c:1494: warning: unreachable code at beginning of switch statement
8250.c: In function `serial8250_release_port':
8250.c:1529: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c:1545: `SERIAL_IO_HUB6' undeclared (first use in this function)
8250.c:1546: `SERIAL_IO_PORT' undeclared (first use in this function)
8250.c:1530: warning: unreachable code at beginning of switch statement
8250.c: In function `serial8250_request_port':
8250.c:1576: `SERIAL_IO_MEM' undeclared (first use in this function)
8250.c: In function `serial8250_verify_port':
8250.c:1639: dereferencing pointer to incomplete type
8250.c:1639: dereferencing pointer to incomplete type
8250.c:1640: dereferencing pointer to incomplete type
8250.c:1640: dereferencing pointer to incomplete type
8250.c:1641: dereferencing pointer to incomplete type
8250.c:1641: dereferencing pointer to incomplete type
8250.c:1642: dereferencing pointer to incomplete type
8250.c: In function `serial8250_type':
8250.c:1652: sizeof applied to an incomplete type
8250.c:1652: invalid use of undefined type `struct serial_uart_config'
8250.c:1654: invalid use of undefined type `struct serial_uart_config'
8250.c:1655: warning: control reaches end of non-void function
8250.c: In function `__register_serial':
8250.c:1865: dereferencing pointer to incomplete type
8250.c:1866: dereferencing pointer to incomplete type
8250.c:1867: dereferencing pointer to incomplete type
8250.c:1868: dereferencing pointer to incomplete type
8250.c:1869: dereferencing pointer to incomplete type
8250.c:1870: dereferencing pointer to incomplete type
8250.c:1871: dereferencing pointer to incomplete type
8250.c:1872: dereferencing pointer to incomplete type
8250.c:1872: `ASYNC_BOOT_AUTOCONF' undeclared (first use in this function)
8250.c:1876: dereferencing pointer to incomplete type
8250.c: In function `early_serial_setup':
8250.c:1908: dereferencing pointer to incomplete type
make[3]: *** [8250.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.5.32-gzp3/drivers/serial'
make[2]: *** [serial] Error 2
make[2]: Leaving directory `/usr/src/linux-2.5.32-gzp3/drivers'
make[1]: *** [drivers] Error 2
make[1]: Leaving directory `/usr/src/linux-2.5.32-gzp3'
make: *** [modules] Error 2

$ gcc --version
2.95.4

Subject: Re: Linux v2.5.32


This is the closest I've come to actually being able to compile a kernel
> 2.5.25 yet...

But there seems to be one more problem at the very end:

ld -m elf_i386 -r -o init.o main.o version.o do_mounts.o
make[1]: Leaving directory `/usr/src/linux-2.5.32/init'
ld -m elf_i386 -T arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/init.o
--start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o
kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o security/built-in.o
/usr/src/linux-2.5.32/arch/i386/lib/lib.a lib/lib.a
/usr/src/linux-2.5.32/arch/i386/lib/lib.a drivers/built-in.o
sound/sound.o arch/i386/pci/pci.o net/network.o --end-group -o vmlinux
net/network.o: In function `register_8022_client':
net/network.o(.text+0xf59f): undefined reference to `llc_sap_open'
net/network.o: In function `unregister_8022_client':
net/network.o(.text+0xf5ca): undefined reference to `llc_sap_close'
net/network.o: In function `snap_init':
net/network.o(.text.init+0x59d): undefined reference to `llc_sap_open'
make: *** [vmlinux] Error 1

Something missing an "include", or just some dodgy .config ???




Attachments:
smime.p7s (2.78 kB)
S/MIME Cryptographic Signature

2002-08-27 22:29:51

by Alan

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Tue, 2002-08-27 at 21:47, Alexander Viro wrote:
> IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
> that stuff is on ftp.math.psu.edu/pub/viro/IDE/* - waiting for ACK from
> Alan.

Bug me in a few days. To be honest I think its more productive to assume
you are right because I have too much other stuff to deal with during
the current RH beta to give rapid answers on 2.5 stuff

2002-08-27 23:47:49

by Michel Eyckmans (MCE)

[permalink] [raw]
Subject: Re: Linux v2.5.32


Compiling 2.5.32 IDE as a module results in:

ide.c:3809: redefinition of `init_module'
ide.c:3787: `init_module' previously defined here
{standard input}: Assembler messages:
{standard input}:9441: Error: symbol `init_module' is already defined
make[2]: *** [ide.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [drivers] Error 2

MCE
--
========================================================================
M. Eyckmans (MCE) Code of the Geeks v3.1 mce-at-pi-dot-be
GCS d+ s+:- a36 C+++$ UHLUASO+++$ P+ L+++ E--- W++ N+++ !o K w--- !O M--
V-- PS+ PE+ Y+ PGP- t--- !5 !X R- tv- b+ DI++ D-- G++ e+++ h+(*) !r y?
========================================================================

2002-08-28 00:34:16

by Randy Hron

[permalink] [raw]
Subject: Re: Linux v2.5.32

> IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
> that stuff is on ftp.math.psu.edu/pub/viro/IDE/*

I was getting this on 2.5.32:
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file systems

With Al's patchset, 2.5.32 is mounting my IDE filesystems okay.

--
Randy Hron
http://home.earthlink.net/~rwhron/kernel/bigbox.html

2002-08-28 01:13:33

by Andre Hedrick

[permalink] [raw]
Subject: Re: Linux v2.5.32


Yep, that has been verified and there are more extentions needed to bring
up support for all archs. I will send them to Al and Alan first and post
them here too shortly I hope.

Cheers,

On Tue, 27 Aug 2002 [email protected] wrote:

> > IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
> > that stuff is on ftp.math.psu.edu/pub/viro/IDE/*
>
> I was getting this on 2.5.32:
> mount: wrong fs type, bad option, bad superblock on /dev/hda1,
> or too many mounted file systems
>
> With Al's patchset, 2.5.32 is mounting my IDE filesystems okay.
>
> --
> Randy Hron
> http://home.earthlink.net/~rwhron/kernel/bigbox.html
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>

Andre Hedrick
LAD Storage Consulting Group

2002-08-28 01:18:03

by Diego Calleja

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Tue, 27 Aug 2002 16:47:45 -0400 (EDT)
Alexander Viro <[email protected]> escribi?:

> IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
> that stuff is on ftp.math.psu.edu/pub/viro/IDE/* - waiting for ACK from
> Alan.

Hi. I've tested that stuff.
My extended partition isn't recongnized

this is the partition layout:
#fdisk -l /dev/hdc
Disk /dev/hdc: 255 heads, 63 sectors, 4865 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 3935 31607856 5 Extended
/dev/hdc2 1217 2500 10313730 83 Linux
/dev/hdc3 3936 4764 6658942+ 83 Linux
/dev/hdc5 1 33 265009+ 83 Linux
/dev/hdc6 * 34 1204 9406026 83 Linux
/dev/hdc7 1205 1216 96358+ 82 Linux swap

This is the expected behaviour under stable kernels

hdc: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
hdc: [DM6:DDO] [remap +63] [4865/255/63] hdc1 < hdc5 hdc6 hdc7 > hdc2 hdc3

but under unstable kernels the output is like this:
hdc: hdc1

So hdc6, the root partition can't be mounted. This happens
with/without the patches.


Diego Calleja.

2002-08-28 02:02:42

by Alexander Viro

[permalink] [raw]
Subject: [PATCH] Re: Linux v2.5.32



On 27 Aug 2002, Alan Cox wrote:

> On Tue, 2002-08-27 at 21:47, Alexander Viro wrote:
> > IDE merge is b0rken wrt partitioning. Patchset that is supposed to fix
> > that stuff is on ftp.math.psu.edu/pub/viro/IDE/* - waiting for ACK from
> > Alan.
>
> Bug me in a few days. To be honest I think its more productive to assume
> you are right because I have too much other stuff to deal with during
> the current RH beta to give rapid answers on 2.5 stuff

OK. Here's the contents of patchset, patches will go in followups (and
not Cc'd to l-k)

1) moves stuff from ide_register_subdriver() (associating drive with
high-level driver) to ide-probe.c, so that remaining stuff can be safely
called in parallel with IO on other drives [Andre]

2) finishes introduction of ->reinit() - Jens had missed MOD_DEC_USE_COUNT
on several exits from ide-cd one and forgot to remove the loop from ide-floppy
ide-tape and ide-scsi ones ;-) (->reinit() is the body of loop in ->init() -
stuff that should be done one drive; in 2.5.32 ide-disk one is OK, ide-cd is
OK modulo minor bugs and in the rest it's a copy of ->init())

3) puts drives on cyclic lists - per-driver ones for drives that had
been claimed by high-level drivers and ata_unused for unclaimed drives.
We put drives on ata_unused in the very end of ideprobe_init() and then
move them to drivers' lists as they are claimed.

4) checks for media type, ->driver_req, etc. are moved from the
ide_scan_devices() to ->reinit(). ide_scan_devices() had lost first
two arguments (it will completely disappear later).

5) duplicate calls of ide_cdrom_init(), idedisk_init(), etc. are
removed from ide_init_builtin_drivers() (they were called both from
there (i.e. from ide_init()) and later as module_init() for high-level
drivers).

6) loops in ide_cdrom_init()/ide_cdrom_exit(), etc. are pulled into
ide_register_module()/ide_unregister_module() resp.

7) ->owner added to ide_driver_t. MOD_INC_USE_COUNT/MOD_DEC_USE_COUNT
taken out of ->reinit(). ide_reinit_drive() turned into "call ->reinit()
for all high-level drivers that are registered until somebody claims the
drive" (instead of open-coded variant in 2.5.32; cleaner and works correctly
for modular drivers).

8) That's the central part of the series:
ide_reinit_drive() turned into ata_attach(). Said beast takes a
drive, tries to feed it to high-level drivers and drops it on the ata_unused
if nobody claims the sucker. IOW, that's what ide_register_module() used
to do, but for a single drive.
ideprobe_init() calls ata_attach() instead of putting on ata_unused.
ide_register_module() eliminated. Some of the callers do not need
it anymore, some (ide_replace_subdriver()) actually want ata_attach(drive).
ide_scan_devices() is gone. There were two remaining callers - in
ide_register_module() and ide_unregister_module(). The former had been
turned into "put driver on the list, empty ata_unused into temporary list
and call ata_attach() on all drives there". The latter is "remove driver
from the list, call ->cleanup() and ata_attach() for all drives" (->cleanup()
gives the drive up, ata_attach() gives the remaining drivers a shot for
that drive; if nobody claims it - it's put on ata_unused).

9) ->init() for high-level drivers is never called (other than as
module_init() when they are initialized). Method removed, instances
cleaned up.

10) instead of messing with ide_module_t, we put ide_driver_t themselves
on a (cyclic) list - said list being the only use of ide_module_t for
high-level drivers. ide_register_module()/ide_unregister_module() takes
ide_driver_t now (renamed to ide_register_driver()). /proc/ide/drivers
switched to use of that cyclic list and uses seq_file instead of old
home-grown code.

11) 2.5 bits:
add_gendisk()/del_gendisk() moved into ->reinit() and ->cleanup() of
ide-{disk,cd,floppy} - i.e. moments when high-levle driver claims/gives up
a drive.
register_disk() also shifted into ->reinit().
consequently, revalidate_drives() is gone (it did messy postponed
rereading of partition tables; not needed anymore). Ditto for ide_geninit().
regular 2.5 changes in ->revalidate() and BLKRRPART handling - same
as all other block devices.

The reason why we couldn't do just #11 and be done with that is simple -
high-level drivers were rude and considered drives fair game as soon
as they had been probed. That is *wrong* - we might be still doing
"unsafe" work with the interface (or related interfaces) and any regular
IO at that point is a Bad Thing(tm). As the result we had to use very
odd logics in partition handling, registering, etc.

New variant lets the probing code to decide when it's safe to put the drives
in circulation - no high-level driver will see a drive until ata_attach()
is called. Which puts the knowledge of ordering between configuring and
normal IO into the probing code where it belongs. High-level drivers
don't have to think about it anymore - as soon as drive is given to them
it's safe to do IO on it.

Ordering issues between configuring different interfaces, etc. still
remain where they were - that's a separate story and it belongs to the
low-level driver cleanups. Moreover, place where we are calling
ata_attach() is very conservative - we do _all_ configuring of interfaces
and then call ata_attach() on everything we'd found. Eventually, low-level
drivers should be able to do "configure our group of interfaces, then call
ata_attach() on their drives", but that, again, is a separate story -
one I'd happily leave to the folks who do cleanup of low-level drivers.
All ordering issues with high-level drivers are reduced to one rule:
don't call ata_attach() on a drive before it's safe to get IO on it.

The patchset doesn't fix all problems with the driver - code that
went into 2.5 had been derived from 2.4.19 and several megabytes of
fixes went into 2.4.20-ac since then. However, these fixes are mostly
in low-level drivers, so they shouldn't cause problems with porting and
I'll happily leave that fun to Jens when he comes back.

2002-08-28 02:13:10

by Alexander Viro

[permalink] [raw]
Subject: Re: Linux v2.5.32



On Wed, 28 Aug 2002, Arador wrote:

> This is the expected behaviour under stable kernels
>
> hdc: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=77545/16/63
> hdc: [DM6:DDO] [remap +63] [4865/255/63] hdc1 < hdc5 hdc6 hdc7 > hdc2 hdc3

DM6 et.al. support had been removed (by aeb? not sure). Check in archives
who it was and talk to them - it's not only common to 2.5.32 with and without
fixes, it's common to 2.5.32 and 2.5.31 (with Andre/Jens and Martin's versions
of driver resp.)

2002-08-28 02:16:57

by Alexander Viro

[permalink] [raw]
Subject: Re: Linux v2.5.32



On Tue, 27 Aug 2002, Andre Hedrick wrote:

>
> Yep, that has been verified and there are more extentions needed to bring
> up support for all archs. I will send them to Al and Alan first and post
> them here too shortly I hope.

Please, do. BTW, could you post the fix for idescsi_setup() messing with
->busy? (separately from "add the missing inlines/defines" patch, that is)

2002-08-28 06:14:09

by Jan-Benedict Glaw

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Tue, 2002-08-27 20:54:30 -0000, Gabor Z. Papp <[email protected]>
wrote in message <[email protected]>:
> gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c
> In file included from 8250.c:34:
> /usr/src/linux-2.5.32-gzp3/include/linux/serialP.h:50: field `icount' has incomplete type

Header file problem. In serialP.h, right at the beginning, there's a
version check, which unfortunately is in wrong direction. No sources
available, no patch...

MfG, JBG

--
Jan-Benedict Glaw . [email protected] . +49-172-7608481
-- New APT-Proxy written in shell script --
http://lug-owl.de/~jbglaw/software/ap2/


Attachments:
(No filename) (967.00 B)
(No filename) (189.00 B)
Download all attachments

2002-08-28 07:27:48

by Edward Coffey

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Wed, Aug 28, 2002 at 08:18:27AM +0200, Jan-Benedict Glaw wrote:
> On Tue, 2002-08-27 20:54:30 -0000, Gabor Z. Papp <[email protected]>
> wrote in message <[email protected]>:
> > gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c
> > In file included from 8250.c:34:
> > /usr/src/linux-2.5.32-gzp3/include/linux/serialP.h:50: field `icount' has incomplete type
>
> Header file problem. In serialP.h, right at the beginning, there's a
> version check, which unfortunately is in wrong direction. No sources
> available, no patch...

Guessing it wants to be (LINUX_VERSION_CODE >= 0x020300) rather than
(LINUX_VERSION_CODE < 0x020300):

--- linux.orig/include/linux/serialP.h Sun Jun 9 15:27:21 2002
+++ linux/include/linux/serialP.h Wed Aug 28 17:03:18 2002
@@ -24,7 +24,7 @@
#include <linux/tqueue.h>
#include <linux/circ_buf.h>
#include <linux/wait.h>
-#if (LINUX_VERSION_CODE < 0x020300)
+#if (LINUX_VERSION_CODE >= 0x020300)
/* Unfortunate, but Linux 2.2 needs async_icount defined here and
* it got moved in 2.3 */
#include <linux/serial.h>

2002-08-28 08:00:36

by Edward Coffey

[permalink] [raw]
Subject: Re: Linux v2.5.32

make modules_install finishes up with a few unresolved symbols:

if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.5.32; fi
depmod: *** Unresolved symbols in /lib/modules/2.5.32/kernel/arch/i386/kernel/apm.o
depmod: cpu_gdt_table
depmod: *** Unresolved symbols in /lib/modules/2.5.32/kernel/drivers/input/evdev.o
depmod: input_devclass
depmod: *** Unresolved symbols in /lib/modules/2.5.32/kernel/drivers/input/mousedev.o
depmod: input_devclass
depmod: *** Unresolved symbols in /lib/modules/2.5.32/kernel/sound/core/snd.o
depmod: devfs_find_and_unregister

2002-08-28 08:31:21

by Russell King

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Wed, Aug 28, 2002 at 08:18:27AM +0200, Jan-Benedict Glaw wrote:
> On Tue, 2002-08-27 20:54:30 -0000, Gabor Z. Papp <[email protected]>
> wrote in message <[email protected]>:
> > gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.32-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.32-gzp3/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c
> > In file included from 8250.c:34:
> > /usr/src/linux-2.5.32-gzp3/include/linux/serialP.h:50: field `icount' has incomplete type
>
> Header file problem. In serialP.h, right at the beginning, there's a
> version check, which unfortunately is in wrong direction. No sources
> available, no patch...

It generally helps to search the list archives:

http://marc.theaimsgroup.com/?l=linux-kernel&m=102833316026209&w=2

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html

2002-08-28 12:56:52

by Mikael Pettersson

[permalink] [raw]
Subject: 2.5.32 doesn't beep?

Linus Torvalds 2.5.32 announcement:
> ... The input layer switch-over may also end up being a bit painful
> for a while, since that not only adds a lot of config options that you
> have to get right to have a working keyboard and mouse (we'll fix that
> usability nightmare), but the drivers themselves are different and there
> are likely devices out there that depended on various quirks.

I've noticed that in 2.5.32 with CONFIG_KEYBOARD_ATKBD=y, the kernel no
longer beeps via the PC speaker. Both (at the console) hitting DEL or BS
at the start of input or doing a simple echo ^G are now silent.

Call me old-fashioned, but I want those beeps back :-)

/Mikael

2002-08-28 13:02:56

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

On Wed, Aug 28, 2002 at 03:00:56PM +0200, Mikael Pettersson wrote:

> Linus Torvalds 2.5.32 announcement:
> > ... The input layer switch-over may also end up being a bit painful
> > for a while, since that not only adds a lot of config options that you
> > have to get right to have a working keyboard and mouse (we'll fix that
> > usability nightmare), but the drivers themselves are different and there
> > are likely devices out there that depended on various quirks.
>
> I've noticed that in 2.5.32 with CONFIG_KEYBOARD_ATKBD=y, the kernel no
> longer beeps via the PC speaker. Both (at the console) hitting DEL or BS
> at the start of input or doing a simple echo ^G are now silent.
>
> Call me old-fashioned, but I want those beeps back :-)

2.5.32 still has quite complex input core config options - sorry, my
fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
CONFIG_INPUT_PCSPKR.

--
Vojtech Pavlik
SuSE Labs

2002-08-28 13:08:13

by Mikael Pettersson

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

Vojtech Pavlik writes:
> On Wed, Aug 28, 2002 at 03:00:56PM +0200, Mikael Pettersson wrote:
>
> > Linus Torvalds 2.5.32 announcement:
> > > ... The input layer switch-over may also end up being a bit painful
> > > for a while, since that not only adds a lot of config options that you
> > > have to get right to have a working keyboard and mouse (we'll fix that
> > > usability nightmare), but the drivers themselves are different and there
> > > are likely devices out there that depended on various quirks.
> >
> > I've noticed that in 2.5.32 with CONFIG_KEYBOARD_ATKBD=y, the kernel no
> > longer beeps via the PC speaker. Both (at the console) hitting DEL or BS
> > at the start of input or doing a simple echo ^G are now silent.
> >
> > Call me old-fashioned, but I want those beeps back :-)
>
> 2.5.32 still has quite complex input core config options - sorry, my
> fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
> CONFIG_INPUT_PCSPKR.

Thanks. I'll test that later today.

/Mikael

2002-08-28 13:54:22

by Gerhard Mack

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

On Wed, 28 Aug 2002, Vojtech Pavlik wrote:

> 2.5.32 still has quite complex input core config options - sorry, my
> fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
> CONFIG_INPUT_PCSPKR.

That begs the question:
How do I input using the PC speaker ?


--
Gerhard Mack

[email protected]

<>< As a computer I find your faith in technology amusing.

2002-08-28 14:29:04

by Jos Hulzink

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

On Wed, 28 Aug 2002, Gerhard Mack wrote:

> That begs the question:
> How do I input using the PC speaker ?

Easy :) A speaker is also a microphone...2.5.32 will go into the history
books as the kernel that implemented voice recognition for all AT class
computers...

Jos

2002-08-28 14:45:18

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

On Wed, Aug 28, 2002 at 09:58:42AM -0400, Gerhard Mack wrote:
> On Wed, 28 Aug 2002, Vojtech Pavlik wrote:
>
> > 2.5.32 still has quite complex input core config options - sorry, my
> > fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
> > CONFIG_INPUT_PCSPKR.
>
> That begs the question:
> How do I input using the PC speaker ?

Reverse the time? Anyway, it makes sense, since for example Sun
keyboards (and others) have a beeper built into them, and those are
input devices. So the easiest way is to define PC speaker to be an input
device as well and then the common code can be the same.

--
Vojtech Pavlik
SuSE Labs

2002-08-28 17:17:09

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux v2.5.32

On Tue, 27 Aug 2002, Linus Torvalds wrote:

>...
> Summary of changes from v2.5.31 to v2.5.32
> ============================================
>...
> Eric Sandeen <[email protected]>:
> o Remove unused var and unused func from ali-ircc IrDA driver
>...


This change removes the variable "ret" but not it's use:


<-- snip -->

...
gcc -Wp,-MD,./.ali-ircc.o.d -D__KERNEL__
-I/home/bunk/linux/kernel-2.5/linux-2
.5.32-full/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2
-fomit-frame-poi
nter -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=
k6 -nostdinc -iwithprefix include -DKBUILD_BASENAME=ali_ircc -c -o
ali-ircc
.o ali-ircc.c
ali-ircc.c: In function `ali_ircc_open':
ali-ircc.c:286: `ret' undeclared (first use in this function)
ali-ircc.c:286: (Each undeclared identifier is reported only once
ali-ircc.c:286: for each function it appears in.)
...
make[3]: *** [ali-ircc.o] Error 1
make[3]: Leaving directory
`/home/bunk/linux/kernel-2.5/linux-2.5.32-full/drivers/net/irda'

<-- snip -->


-dj contains the following to remove the use of ret:


--- drivers/net/irda/ali-ircc.c.old 2002-08-28 19:15:38.000000000 +0200
+++ drivers/net/irda/ali-ircc.c 2002-08-28 19:15:40.000000000 +0200
@@ -283,15 +283,13 @@
self->io.fifo_size = 16; /* SIR: 16, FIR: 32 Benjamin 2000/11/1 */

/* Reserve the ioports that we need */
- ret = check_region(self->io.fir_base, self->io.fir_ext);
- if (ret < 0) {
+ if (!request_region(self->io.fir_base, self->io.fir_ext, driver_name)) {
WARNING(__FUNCTION__ "(), can't get iobase of 0x%03x\n",
self->io.fir_base);
dev_self[i] = NULL;
kfree(self);
return -ENODEV;
}
- request_region(self->io.fir_base, self->io.fir_ext, driver_name);

/* Initialize QoS for this device */
irda_init_max_qos_capabilies(&self->qos);


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox


2002-08-28 19:59:57

by Mikael Pettersson

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

Vojtech Pavlik writes:
> On Wed, Aug 28, 2002 at 03:00:56PM +0200, Mikael Pettersson wrote:
>
> > Linus Torvalds 2.5.32 announcement:
> > > ... The input layer switch-over may also end up being a bit painful
> > > for a while, since that not only adds a lot of config options that you
> > > have to get right to have a working keyboard and mouse (we'll fix that
> > > usability nightmare), but the drivers themselves are different and there
> > > are likely devices out there that depended on various quirks.
> >
> > I've noticed that in 2.5.32 with CONFIG_KEYBOARD_ATKBD=y, the kernel no
> > longer beeps via the PC speaker. Both (at the console) hitting DEL or BS
> > at the start of input or doing a simple echo ^G are now silent.
> >
> > Call me old-fashioned, but I want those beeps back :-)
>
> 2.5.32 still has quite complex input core config options - sorry, my
> fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
> CONFIG_INPUT_PCSPKR.

That worked. Thanks.

Another issue: I enabled CONFIG_INPUT_MOUSEDEV_PSAUX, but /dev/psaux
gave an ENODEV when opened. Turns out CONFIG_INPUT_MOUSEDEV is
also required, but for some reason 'make config' let me set the
former without also setting the latter. A bug in input's config.in?

/Mikael

2002-08-28 20:27:04

by Vojtech Pavlik

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

On Wed, Aug 28, 2002 at 10:04:11PM +0200, Mikael Pettersson wrote:
> Vojtech Pavlik writes:
> > On Wed, Aug 28, 2002 at 03:00:56PM +0200, Mikael Pettersson wrote:
> >
> > > Linus Torvalds 2.5.32 announcement:
> > > > ... The input layer switch-over may also end up being a bit painful
> > > > for a while, since that not only adds a lot of config options that you
> > > > have to get right to have a working keyboard and mouse (we'll fix that
> > > > usability nightmare), but the drivers themselves are different and there
> > > > are likely devices out there that depended on various quirks.
> > >
> > > I've noticed that in 2.5.32 with CONFIG_KEYBOARD_ATKBD=y, the kernel no
> > > longer beeps via the PC speaker. Both (at the console) hitting DEL or BS
> > > at the start of input or doing a simple echo ^G are now silent.
> > >
> > > Call me old-fashioned, but I want those beeps back :-)
> >
> > 2.5.32 still has quite complex input core config options - sorry, my
> > fault, and I'll fix it soon. You have to enable CONFIG_INPUT_MISC and
> > CONFIG_INPUT_PCSPKR.
>
> That worked. Thanks.
>
> Another issue: I enabled CONFIG_INPUT_MOUSEDEV_PSAUX, but /dev/psaux
> gave an ENODEV when opened. Turns out CONFIG_INPUT_MOUSEDEV is
> also required, but for some reason 'make config' let me set the
> former without also setting the latter. A bug in input's config.in?

Yes, a bug. Fixed now.

--
Vojtech Pavlik
SuSE Labs

2002-08-29 08:40:48

by Gerd Knorr

[permalink] [raw]
Subject: Re: 2.5.32 doesn't beep?

> > Another issue: I enabled CONFIG_INPUT_MOUSEDEV_PSAUX, but /dev/psaux
> > gave an ENODEV when opened. Turns out CONFIG_INPUT_MOUSEDEV is
> > also required, but for some reason 'make config' let me set the
> > former without also setting the latter. A bug in input's config.in?
>
> Yes, a bug. Fixed now.

input in 2.5.32 also doesn't work fully modular because of some
unresolved symbols. I fixed it this way:

==============================[ cut here ]==============================
--- linux-2.5.32/drivers/char/keyboard.c Wed Aug 28 16:10:33 2002
+++ linux/drivers/char/keyboard.c Wed Aug 28 16:11:43 2002
@@ -66,6 +66,7 @@
#endif

struct pt_regs *kbd_pt_regs;
+EXPORT_SYMBOL(kbd_pt_regs);
void compute_shiftstate(void);

/*
--- linux-2.5.32/drivers/input/input.c Wed Aug 28 16:21:14 2002
+++ linux/drivers/input/input.c Wed Aug 28 16:21:40 2002
@@ -772,6 +772,7 @@
struct device_class input_devclass = {
.name = "input",
};
+EXPORT_SYMBOL(input_devclass);

static int __init input_init(void)
{
==============================[ cut here ]==============================

Gerd

--
You can't please everybody. And usually if you _try_ to please
everybody, the end result is one big mess.
-- Linus Torvalds, 2002-04-20

2002-08-31 16:51:46

by Axel H. Siebenwirth

[permalink] [raw]
Subject: Re: Linux v2.5.32 (Config options to have a working keyboard)

Hi!

On Tue, 27 Aug 2002, Linus Torvalds wrote:

> updates. The input layer switch-over may also end up being a bit painful
> for a while, since that not only adds a lot of config options that you
> have to get right to have a working keyboard and mouse (we'll fix that

Yes. My keyboard did not work. It's a config options maze.
Can someone please give me a hint what options are needed to get it to work?
Or rather tell how I would find out what options are needed...

Best regards and thanks,
Axel Siebenwirth