public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.6.7
@ 2004-06-16  5:56 Linus Torvalds
  2004-06-16  6:58 ` Kalin KOZHUHAROV
                   ` (10 more replies)
  0 siblings, 11 replies; 40+ messages in thread
From: Linus Torvalds @ 2004-06-16  5:56 UTC (permalink / raw)
  To: Kernel Mailing List


Ok, it's out there. The most notable change may be the one-liner that 
should fix the embarrassing FP exception problem. Other than that, we've 
had a random collection of fixes and updates since rc3. cifs, ntfs, 
cpufreq. ide, sparc, s390.

Full 2.6.6->2.6.7 changelog available at the same places the release is.

		Linus

--

Summary of changes from v2.6.7-rc3 to v2.6.7
============================================

Alan Cox:
  o ethtool power manglement hooks
  o epic100 fixes

Andi Kleen:
  o Remove unnecessary printk in es7000 code
  o Disable UDF debugging
  o Fix fwait on x86-64 too
  o More fixes for the x86-64 machine check handler
  o Fix exception trace printing on x86-64
  o Fix x86-64 VIA systems with IOMMU debug

Andreas Dilger:
  o [IPV4]: Fix bug in arp_tables.c fix

Andrew Morton:
  o make buildcheck missing hunk
  o i386 defconfig update
  o wake_up_forked_thread() fix
  o jbd: descriptor buffer state fix
  o unalign struct page_state
  o ext3: journal_flush() needs journal_lock_updates()
  o aio.c sparse warning fix
  o [NETFILTER]: Fix arp_tables.c build
  o NUMAQ kconfig fix
  o vmscan: handle synchronous writepage()
  o vmscan: try harder for GFP_NOFS allocators
  o Implement read_page_state
  o vmscan.c: use read_page_state()
  o page-writeback.c: use read_page_state()
  o sync_inodes_sb() stack reduction
  o es7000plat.c warning fix
  o fix the exit-vs-timer race fix
  o ramdisk: buffer_uptodate fix

Andrew Zabolotny:
  o [ARM PATCH] 1925/1: ARM 'System Type' kernel config menu cleanup

Andy Whitcroft:
  o fix uts sysctl write size
  o fix modprobe_path and hotplug_path sizes and sysctl

Anil:
  o speedup flush_workqueue for singlethread_workqueue
  o flush_workqueue locking simplification

Anton Altaparmakov:
  o NTFS: Implement writing of mft records (fs/ntfs/mft.[hc]), which
    includes keeping the mft mirror in sync with the mft when mirrored
    mft records are written.  The functions are
    write_mft_record{,_nolock}().  The implementation is quite
    rudimentary for now with lots of things not implemented yet but I
    am not sure any of them can actually occur so I will wait for
    people to hit each one and only then implement it.
  o NTFS: Commit open system inodes at umount time.  This should make
    it virtually impossible for sync_mft_mirror_umount() to ever be
    needed.
  o NTFS: Implement ->write_inode (fs/ntfs/inode.c::ntfs_write_inode())
    for the ntfs super operations.  This gives us inode writing via the
    VFS inode dirty code paths.  Note:  Access time updates are not
    implemented yet.
  o NTFS: - Implement fs/ntfs/mft.[hc]::{,__}mark_mft_record_dirty()
    and make fs/ntfs/aops.c::ntfs_writepage() and ntfs_commit_write()
    use it, thus finally enabling resident file overwrite!  (-8  This
    also includes a placeholder for ->writepage (ntfs_mft_writepage()),
    which for now just redirties the page and returns.  Also, at umount
    time, we for now throw away all mft data page cache pages after the
    last call to ntfs_commit_inode() in the hope that all inodes will
    have been written out by then and hence no dirty (meta)data will be
    lost.  We also check for this case and emit an error message
    telling the user to run chkdsk.
  o NTFS: Use set_page_writeback()/end_page_writeback() in
    ntfs_writepage() resident attribute write code path as otherwise
    the radix-tree tag PAGECACHE_TAG_DIRTY remains set even though the
    page is clean.
  o NTFS: Implement ntfs_mft_writepage() so it now checks if any of the
    mft records in the page are dirty and if so redirties the page and
    returns.  Otherwise it just returns (after doing
    set_page_writeback(), unlock_page(), end_page_writeback() or the
    radix-tree tag PAGECACHE_TAG_DIRTY  remains set even though the
    page is clean), thus alowing the VM to do with the page as it
    pleases.  Also, at umount time, now only throw away dirty mft
    (meta)data pages if dirty inodes are present and ask the user to
    email us if they see this happening.
  o NTFS: Add functions ntfs_{clear,set}_volume_flags(), to modify the
    volume information flags (fs/ntfs/super.c).
  o NTFS: 2.1.13 - Enable overwriting of resident files and
    housekeeping of system files
  o NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several
    users
  o Update Documentation/filesystems/Locking

Arnaldo Carvalho de Melo:
  o [NET] Introduce sk_reset_timer and sk_stop_timer
  o [NET] generalise tcp_eat_skb into sk_eat_skb
  o [NET] introduce sk_wait_evend and generalise tcp_data_wait
  o [NET] generalize some simple tcp sk_ack_backlog handling routines

Arnd Bergmann:
  o s390: fix kmem_bufctl_t definition
  o sparse: user annotations for s390 architecture
  o sparse: __user annotations for s390 drivers

Bartlomiej Zolnierkiewicz:
  o ide: PCI hotplugging fixes
  o ide: kill some useless headers for PCI drivers
  o ide: ide-pnp update
  o ide: remove ALTERNATE_STATE_DIAGRAM_MULTI_OUT from ide-taskfile.c
  o ide: fix ide-cd to not retry REQ_DRIVE_TASKFILE requests
  o ide: fix REQ_DRIVE_* requests error handling in ide-scsi
  o ide: cleanup taskfile PIO handlers (CONFIG_IDE_TASKFILE_IO=n)
  o ide: tiny task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n) cleanup
  o ide: kill task_[un]map_rq()
  o ide: check no. of sectors for in/out commands in
    ide_diag_taskfile()

Ben Collins:
  o ieee1394: CSR1212 Extended ROM bug fixes
  o ieee1394: Fix possible NULL ptr dereference with calls to
    find_ctx()
  o ieee1394: Handle swsusp better in kernel threads
  o ohci1394: Handle invalid max-packet-size
  o ieee1394: Revision sync
  o ohci1394: Fix incorrect HPSB_WARNING to HPSB_ERR

Ben Dooks:
  o [ARM PATCH] 1919/1: S3C2410 - Serial configuration bugfix (missing
    SERIAL_CORE_CONSOLE)
  o [ARM PATCH] 1920/1: S3C2410 - register definition fix

Benjamin Herrenschmidt:
  o ppc64: Add definition for Apple Xserve G5 motherboard
  o ppc64: fix out_be64

Bruno Ducrot:
  o define for_each_cpu_mask() for uniprocessor

Carl-Daniel Hailfinger:
  o Fix tulip deadlocks on device removal

Chris Mason:
  o writeback_inodes can race with unmount

Chris Wedgwood:
  o stat nlink resolution fix

Chris Wright:
  o __user annotation for dummy_shm_shmat

Christoph Hellwig:
  o runtime selection of CONFIG_PARIDE_EPATC8

Clay Haapala:
  o [CRYPTO]: Fix digest.c kmapping sg entries > page in length

Cornelia Huck:
  o s390: common i/o layer

Dave Airlie:
  o The dev->devname being passed to request_irq in drm_irq.h is null
  o gamma_dma_priority and gamma_dma_send_buffers both deref
    d->send_indices and/or d->send_sizes.  When these functions are
    called from gamma_dma, these pointers are user pointers and are
    thus not safe to deref.  This patch copies over the pointers inside
    gamma_dma_priority and gamma_dma_send_buffers.

Dave Jones:
  o [CPUFREQ] Reset longhaul to max speed on unload
  o [CPUFREQ] Now that maxmult is a global, don't need to pass it
    around in longhaul driver
  o [CPUFREQ] Fix longhaul's debug printk
  o [CPUFREQ] convert elanfreq MODULE_PARM to module_param
  o [CPUFREQ] convert gx-suspmod MODULE_PARM to module_param
  o [CPUFREQ] powernow-k8: ignore double lo freq table entries
  o [CPUFREQ] powernow-k8: preempt fix
  o [CPUFREQ] Add documentation on AMD powernow drivers From Paul
    Devriendt.
  o [CPUFREQ] Limit return value of speedstep_get_state()
  o [CPUFREQ] Remove notify in speedstep_set_state [1/2] Remove
    'notify' in speedstep_set_state for speedstep-lib
  o [CPUFREQ] Remove notify in speedstep_set_state [2/2]
  o [CPUFREQ] Fix cpufreq on ARM
  o [CPUFREQ] Detect P4M's in speedstep lib From: Christian Hoelbling
    Signed-off-by: Dave Jones <davej@redhat.com>
  o [CPUFREQ] small codingstyle fixes Signed-off-by: Dave Jones
    <davej@redhat.com>
  o [CPUFREQ] replace for_each_cpu with for_each_cpu_mask in
    p4-clockmod
  o [CPUFREQ] Add missing include to p4-clockmod Signed-off-by: Dave
    Jones <davej@redhat.com>
  o [CPUFREQ] AMD powernow documentation updates
  o [CPUFREQ] speedstep-ich: SMT/HT support, fix for notify change
    Propagate the notify moving to speedstep-ich, and add SMT (HT)
    awareness to the speedstep-ich.

Dave Kleikamp:
  o JFS: check default acl for correctness before setting it
  o JFS: fix hang in __get_metapage
  o JFS: Handle out of space errors more gracefully
  o JFS: Better RAS when btstack is overrun

David Howells:
  o Fix semaphore downgrade_write()

David S. Miller:
  o [TG3]: Use HOST TXDs always
  o [NETFILTER]: Put arpt_mutex back into arp_tables.c
  o [SPARC64]: Uninline find_*_bit() like ia64 did
  o [SPARC64]: Update defconfig
  o [TCP]: Receive buffer moderation fixes
  o [IPV4]: Fix unaligned accesses in arp_tables.c
  o [TG3]: Chip support update and a power-save bug fix
  o [TG3]: Update driver version and reldate
  o [SPARC64]: Preemption fixes, use get_cpu() et al. where applicable
  o [SPARC]: Report si_addr in SIGINFO more accurately

David Woodhouse:
  o Add PPC 8280 support, calculate core clock frequency
  o PPC 8260 FCC Ethernet: Fix skb leak when TX ring overflows
  o Fix handle_sysrq() call in PPC 8260 uart driver
  o Add support for WindRiver PowerQUICC II
  o [PPC sbc82xx] Use mfspr macro for reading PVR in boot setup
  o Wind River PowerQUICC II SBC82xx update
  o Add WindRiver PowerQUICC II flash map driver

Davide Libenzi:
  o spoll_create size check

Duncan Sands:
  o USB devio.c: deadlock fix

François Romieu:
  o more drivers/atm/horizon.c polishing

Geert Uytterhoeven:
  o SCSI_DPT_I2O should depend on PCI
  o ide: ide-proc fix for m68k

Guillaume Morin:
  o s390: improve memory detection logic

Harald Welte:
  o [NETFILTER]: Missing skb->len check in
    ip_conntrack_proto_tcp.c:tcp_packet()
  o [NETFILTER]: Don't assign new helper after NAT when there are
    already expectations present
  o [NETFILTER]: Prevent orphan expectations

Herbert Xu:
  o Fix netdev leak on probe failure in 3c527
  o Fixed MCA resource bugs in at1700
  o vga16fb.c: fix bogus mem_start value

Hideaki Yoshifuji:
  o [IPV6]: Add IP6CB
  o [NET]: Add dst->ifdown callback
  o [IPV6] IPSEC: fix double kfree_skb() in error path. (reported by
    Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>)

Hugh Dickins:
  o dup_mmap() memory accounting fix

Ivan Kokshaysky:
  o __ARCH_WANT_SYS_RT_SIGACTION fix

Jens Axboe:
  o cdrom hardware defect mgt header length
  o fix ide-cd racy completions

Jesper Juhl:
  o [NET]: Remove junk from packet_mmap.txt

Jesse Brandeburg:
  o e1000: fix napi crash on ifdown during traffic

John Rose:
  o insert_resource fix

John Stultz:
  o cyclone: PIT sanity checking

Jörn Engel:
  o ncpfs MAINTAINERS update

Kai Engert:
  o USB: enable pwc usb camera driver

Karsten Keil:
  o i4l: Tigerjet 320 chipset fix

Keith M. Wesolowski:
  o [SPARC]: Fix warning for changed section attributes
  o [SPARC]: Fix warning for missing struct device
  o [SPARC]: Consolidate pagetable definitions

Kenneth W. Chen:
  o ia64: fix race in fsys_bubble_down to avoid fp-register corruption

Linus Torvalds:
  o Mark compaq Fibre Channel driver broken
  o Fix x86 "clear_cpu()" macro
  o sparse cleanup of #include file
  o Revert wakeup-affinity fixes
  o Linux 2.6.7

Marc Singer:
  o [ARM PATCH] 1915/1: lh7a40x #4 (1/1) hardware.h bug fix
  o [ARM PATCH] 1916/1: lh7a40x #5 (1/1) revision B support

Martin Schwidefsky:
  o s390: add support for 6 system call arguments (FUTEX_CMP_REQUEUE)
  o s390: speedup strn{cpy,len}_from_user
  o s390: simplify single stepped svc code
  o s390: cleanup string functions
  o s390: xpram device driver

Michael Hunold:
  o Make tda1004x DVB frontend driver work again

Mika Kukkonen:
  o sparse fix for void return in selinux/hooks.c
  o Sparse fix to mm/vmscan.c
  o __user annotation for shm_shmat hook declaration
  o __user annotation for selinux_shm_shmat

Neil Brown:
  o md: fix BUG in raid6 resync code

Nick Piggin:
  o vmscan.c: struct scan_control
  o Fix nfs writepage behaviour

Nikita Danilov:
  o vmscan.c: move ->writepage invocation into its own function

Nitin A. Kamble:
  o x86-64: Fix use of uninitialized memory in ioremap

Olaf Hering:
  o ppc32: fix missing option in binutils version check

Oleg Nesterov:
  o dup_mmap() double memory accounting

Paul Mackerras:
  o Single-stepping emulated instructions
  o Make paca xCurrent field be a pointer

Peter Korsgaard:
  o Typo in Documentation/fb/framebuffer.txt

Randy Dunlap:
  o kernel/sysctl annotations for sparse

Russell King:
  o [ARM] Add ucontext bits for sigaltstack handling
  o [ARM] Clean up io-acorn
  o [ARM] uaccess.h should include asm/memory.h not asm/arch/memory.h
  o [ARM] Update ARM memory layout documentation
  o [ARM] Tidy up patch 1925/1
  o [ARM] Resurect EBSA110 machine class
  o [PCMCIA] Add TI1620 device IDs and tell yenta about it
  o [SERIAL] Fix missing __devexit_p

Scott Feldman:
  o e100: stepping over err return code
  o e100: fix skb leak in tx timeout
  o e100: fix sender hang after tx timeout

Shirley Ma:
  o [IPV6]: Initialize pmtu/advmss in ndisc dst entries
  o [IPV6]: Fix ICMP6 type checking tests in ah6.c and esp6.c

Siegfried Hildebrand:
  o USB: Fix problems with cyberjack usb-serial-module since kernel
    2.6.2

Stefan Bader:
  o s390: tape driver changes

Stephen Hemminger:
  o [TCP]: Update tcp_get_info() comments in net/tcp.h
  o [TCP]: Add receive DRS info to tcp_info

Stephen Rothwell:
  o ppc64: iSeries vio_dev cleanups

Steve French:
  o cifs_prepare_write fixes to remove problem in which we were not
    populating page data from the server copy when writing to
    non-uptodate page
  o No matter what the blocksize, we are required to use fake blocksize
    of 512 when calculating number of blocks in a file (otherwise this
    confuses the du command)
  o Remove temporary debug message
  o Update cifs change log for cifs 1.17
  o Handle out of memory on allocating dentry or inode during filldir
  o Initial protocol definitions for cifs dirnotify (directory change
    notification) support
  o whitespace and comment cleanup
  o Fix race in updating tcpStatus field
  o Add 2 missing kmalloc failure checks during cifs mount time
  o fix up whitespace
  o Make stats display more consistent - under /proc/fs/cifs/Stats
  o handle partial page update of page in cache that is not uptodate
    better for the situation in which file is open writeonly
  o Fix sparse tool compile warnings for cifs
  o flush write behind cached data, for files reopened after session
    reconnection after session drop
  o Handle rename of hardlinked files properly (treat as a noop)
  o Add missing EA info levels
  o Extended Attributes part 1
  o remove compile warning
  o lock session when reconnecting so we do not oops in retrying
    sendmsg
  o do not filemap_fdatawrite when reconnecting in write to avoid
    potential deadlock
  o fix listxattr error path
  o fix fealist struct (xattr support part 3)
  o Fix i_size corruption in case of overlapped readdir changing cached
    file size and local cached write extending file

Thomas Spatzier:
  o s390: qeth network driver

Tony Lindgren:
  o [ARM PATCH] 1923/1: OMAP update 1/2: arch files (replaces patch
    1903/1)
  o [ARM PATCH] 1922/1: OMAP update 2/2: include files (replaces patch
    1904/1)
  o [ARM PATCH] 1908/1: Remove old OMAP header files
  o [ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output

Venkatesh Pallipadi:
  o [CPUFREQ] Cpufreq hotplug

William Lee Irwin III:
  o numaq mempolicy.c build fix
  o Voyager doesn't support MCE
  o voyager linkage fix

Wim Van Sebroeck:
  o [WATCHDOG] v2.6.6 pcwd.c-keepalive+single_open-patch
  o [WATCHDOG] pcwd_pci.c-single_open+set_heartbeat+init-patch
  o [WATCHDOG] pcwd_usb.c-single_open+set_heartbeat+init-patch


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
@ 2004-06-16  6:58 ` Kalin KOZHUHAROV
  2004-06-16 14:56   ` Jesper Juhl
  2004-06-16  7:10 ` Jan De Luyck
                   ` (9 subsequent siblings)
  10 siblings, 1 reply; 40+ messages in thread
From: Kalin KOZHUHAROV @ 2004-06-16  6:58 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

Linus Torvalds wrote:
> Ok, it's out there. The most notable change may be the one-liner that 
> should fix the embarrassing FP exception problem. Other than that, we've 
> had a random collection of fixes and updates since rc3. cifs, ntfs, 
> cpufreq. ide, sparc, s390.
> 
> Full 2.6.6->2.6.7 changelog available at the same places the release is.
> 
> 		Linus
> 
> --
> 
> Summary of changes from v2.6.7-rc3 to v2.6.7
> ============================================
> 
> Alan Cox:
>   o ethtool power manglement hooks
>   o epic100 fixes
> 
> Andi Kleen:
>   o Remove unnecessary printk in es7000 code
>   o Disable UDF debugging
>   o Fix fwait on x86-64 too
>   o More fixes for the x86-64 machine check handler
>   o Fix exception trace printing on x86-64
>   o Fix x86-64 VIA systems with IOMMU debug
> 
> Andreas Dilger:
>   o [IPV4]: Fix bug in arp_tables.c fix
> 
> Andrew Morton:
>   o make buildcheck missing hunk
>   o i386 defconfig update
>   o wake_up_forked_thread() fix
>   o jbd: descriptor buffer state fix
>   o unalign struct page_state
>   o ext3: journal_flush() needs journal_lock_updates()
>   o aio.c sparse warning fix
>   o [NETFILTER]: Fix arp_tables.c build
>   o NUMAQ kconfig fix
>   o vmscan: handle synchronous writepage()
>   o vmscan: try harder for GFP_NOFS allocators
>   o Implement read_page_state
>   o vmscan.c: use read_page_state()
>   o page-writeback.c: use read_page_state()
>   o sync_inodes_sb() stack reduction
>   o es7000plat.c warning fix
>   o fix the exit-vs-timer race fix
>   o ramdisk: buffer_uptodate fix
> 
> Andrew Zabolotny:
>   o [ARM PATCH] 1925/1: ARM 'System Type' kernel config menu cleanup
> 
> Andy Whitcroft:
>   o fix uts sysctl write size
>   o fix modprobe_path and hotplug_path sizes and sysctl
> 
> Anil:
>   o speedup flush_workqueue for singlethread_workqueue
>   o flush_workqueue locking simplification
> 
> Anton Altaparmakov:
>   o NTFS: Implement writing of mft records (fs/ntfs/mft.[hc]), which
>     includes keeping the mft mirror in sync with the mft when mirrored
>     mft records are written.  The functions are
>     write_mft_record{,_nolock}().  The implementation is quite
>     rudimentary for now with lots of things not implemented yet but I
>     am not sure any of them can actually occur so I will wait for
>     people to hit each one and only then implement it.
>   o NTFS: Commit open system inodes at umount time.  This should make
>     it virtually impossible for sync_mft_mirror_umount() to ever be
>     needed.
>   o NTFS: Implement ->write_inode (fs/ntfs/inode.c::ntfs_write_inode())
>     for the ntfs super operations.  This gives us inode writing via the
>     VFS inode dirty code paths.  Note:  Access time updates are not
>     implemented yet.
>   o NTFS: - Implement fs/ntfs/mft.[hc]::{,__}mark_mft_record_dirty()
>     and make fs/ntfs/aops.c::ntfs_writepage() and ntfs_commit_write()
>     use it, thus finally enabling resident file overwrite!  (-8  This
>     also includes a placeholder for ->writepage (ntfs_mft_writepage()),
>     which for now just redirties the page and returns.  Also, at umount
>     time, we for now throw away all mft data page cache pages after the
>     last call to ntfs_commit_inode() in the hope that all inodes will
>     have been written out by then and hence no dirty (meta)data will be
>     lost.  We also check for this case and emit an error message
>     telling the user to run chkdsk.
>   o NTFS: Use set_page_writeback()/end_page_writeback() in
>     ntfs_writepage() resident attribute write code path as otherwise
>     the radix-tree tag PAGECACHE_TAG_DIRTY remains set even though the
>     page is clean.
>   o NTFS: Implement ntfs_mft_writepage() so it now checks if any of the
>     mft records in the page are dirty and if so redirties the page and
>     returns.  Otherwise it just returns (after doing
>     set_page_writeback(), unlock_page(), end_page_writeback() or the
>     radix-tree tag PAGECACHE_TAG_DIRTY  remains set even though the
>     page is clean), thus alowing the VM to do with the page as it
>     pleases.  Also, at umount time, now only throw away dirty mft
>     (meta)data pages if dirty inodes are present and ask the user to
>     email us if they see this happening.
>   o NTFS: Add functions ntfs_{clear,set}_volume_flags(), to modify the
>     volume information flags (fs/ntfs/super.c).
>   o NTFS: 2.1.13 - Enable overwriting of resident files and
>     housekeeping of system files
>   o NTFS: 2.1.14 - Fix an NFSd caused deadlock reported by several
>     users
>   o Update Documentation/filesystems/Locking
> 
> Arnaldo Carvalho de Melo:
>   o [NET] Introduce sk_reset_timer and sk_stop_timer
>   o [NET] generalise tcp_eat_skb into sk_eat_skb
>   o [NET] introduce sk_wait_evend and generalise tcp_data_wait
>   o [NET] generalize some simple tcp sk_ack_backlog handling routines
> 
> Arnd Bergmann:
>   o s390: fix kmem_bufctl_t definition
>   o sparse: user annotations for s390 architecture
>   o sparse: __user annotations for s390 drivers
> 
> Bartlomiej Zolnierkiewicz:
>   o ide: PCI hotplugging fixes
>   o ide: kill some useless headers for PCI drivers
>   o ide: ide-pnp update
>   o ide: remove ALTERNATE_STATE_DIAGRAM_MULTI_OUT from ide-taskfile.c
>   o ide: fix ide-cd to not retry REQ_DRIVE_TASKFILE requests
>   o ide: fix REQ_DRIVE_* requests error handling in ide-scsi
>   o ide: cleanup taskfile PIO handlers (CONFIG_IDE_TASKFILE_IO=n)
>   o ide: tiny task_mulout_intr() (CONFIG_IDE_TASKFILE_IO=n) cleanup
>   o ide: kill task_[un]map_rq()
>   o ide: check no. of sectors for in/out commands in
>     ide_diag_taskfile()
> 
> Ben Collins:
>   o ieee1394: CSR1212 Extended ROM bug fixes
>   o ieee1394: Fix possible NULL ptr dereference with calls to
>     find_ctx()
>   o ieee1394: Handle swsusp better in kernel threads
>   o ohci1394: Handle invalid max-packet-size
>   o ieee1394: Revision sync
>   o ohci1394: Fix incorrect HPSB_WARNING to HPSB_ERR
> 
> Ben Dooks:
>   o [ARM PATCH] 1919/1: S3C2410 - Serial configuration bugfix (missing
>     SERIAL_CORE_CONSOLE)
>   o [ARM PATCH] 1920/1: S3C2410 - register definition fix
> 
> Benjamin Herrenschmidt:
>   o ppc64: Add definition for Apple Xserve G5 motherboard
>   o ppc64: fix out_be64
> 
> Bruno Ducrot:
>   o define for_each_cpu_mask() for uniprocessor
> 
> Carl-Daniel Hailfinger:
>   o Fix tulip deadlocks on device removal
> 
> Chris Mason:
>   o writeback_inodes can race with unmount
> 
> Chris Wedgwood:
>   o stat nlink resolution fix
> 
> Chris Wright:
>   o __user annotation for dummy_shm_shmat
> 
> Christoph Hellwig:
>   o runtime selection of CONFIG_PARIDE_EPATC8
> 
> Clay Haapala:
>   o [CRYPTO]: Fix digest.c kmapping sg entries > page in length
> 
> Cornelia Huck:
>   o s390: common i/o layer
> 
> Dave Airlie:
>   o The dev->devname being passed to request_irq in drm_irq.h is null
>   o gamma_dma_priority and gamma_dma_send_buffers both deref
>     d->send_indices and/or d->send_sizes.  When these functions are
>     called from gamma_dma, these pointers are user pointers and are
>     thus not safe to deref.  This patch copies over the pointers inside
>     gamma_dma_priority and gamma_dma_send_buffers.
> 
> Dave Jones:
>   o [CPUFREQ] Reset longhaul to max speed on unload
>   o [CPUFREQ] Now that maxmult is a global, don't need to pass it
>     around in longhaul driver
>   o [CPUFREQ] Fix longhaul's debug printk
>   o [CPUFREQ] convert elanfreq MODULE_PARM to module_param
>   o [CPUFREQ] convert gx-suspmod MODULE_PARM to module_param
>   o [CPUFREQ] powernow-k8: ignore double lo freq table entries
>   o [CPUFREQ] powernow-k8: preempt fix
>   o [CPUFREQ] Add documentation on AMD powernow drivers From Paul
>     Devriendt.
>   o [CPUFREQ] Limit return value of speedstep_get_state()
>   o [CPUFREQ] Remove notify in speedstep_set_state [1/2] Remove
>     'notify' in speedstep_set_state for speedstep-lib
>   o [CPUFREQ] Remove notify in speedstep_set_state [2/2]
>   o [CPUFREQ] Fix cpufreq on ARM
>   o [CPUFREQ] Detect P4M's in speedstep lib From: Christian Hoelbling
>     Signed-off-by: Dave Jones <davej@redhat.com>
>   o [CPUFREQ] small codingstyle fixes Signed-off-by: Dave Jones
>     <davej@redhat.com>
>   o [CPUFREQ] replace for_each_cpu with for_each_cpu_mask in
>     p4-clockmod
>   o [CPUFREQ] Add missing include to p4-clockmod Signed-off-by: Dave
>     Jones <davej@redhat.com>
>   o [CPUFREQ] AMD powernow documentation updates
>   o [CPUFREQ] speedstep-ich: SMT/HT support, fix for notify change
>     Propagate the notify moving to speedstep-ich, and add SMT (HT)
>     awareness to the speedstep-ich.
> 
> Dave Kleikamp:
>   o JFS: check default acl for correctness before setting it
>   o JFS: fix hang in __get_metapage
>   o JFS: Handle out of space errors more gracefully
>   o JFS: Better RAS when btstack is overrun
> 
> David Howells:
>   o Fix semaphore downgrade_write()
> 
> David S. Miller:
>   o [TG3]: Use HOST TXDs always
>   o [NETFILTER]: Put arpt_mutex back into arp_tables.c
>   o [SPARC64]: Uninline find_*_bit() like ia64 did
>   o [SPARC64]: Update defconfig
>   o [TCP]: Receive buffer moderation fixes
>   o [IPV4]: Fix unaligned accesses in arp_tables.c
>   o [TG3]: Chip support update and a power-save bug fix
>   o [TG3]: Update driver version and reldate
>   o [SPARC64]: Preemption fixes, use get_cpu() et al. where applicable
>   o [SPARC]: Report si_addr in SIGINFO more accurately
> 
> David Woodhouse:
>   o Add PPC 8280 support, calculate core clock frequency
>   o PPC 8260 FCC Ethernet: Fix skb leak when TX ring overflows
>   o Fix handle_sysrq() call in PPC 8260 uart driver
>   o Add support for WindRiver PowerQUICC II
>   o [PPC sbc82xx] Use mfspr macro for reading PVR in boot setup
>   o Wind River PowerQUICC II SBC82xx update
>   o Add WindRiver PowerQUICC II flash map driver
> 
> Davide Libenzi:
>   o spoll_create size check
> 
> Duncan Sands:
>   o USB devio.c: deadlock fix
> 
> François Romieu:
>   o more drivers/atm/horizon.c polishing
> 
> Geert Uytterhoeven:
>   o SCSI_DPT_I2O should depend on PCI
>   o ide: ide-proc fix for m68k
> 
> Guillaume Morin:
>   o s390: improve memory detection logic
> 
> Harald Welte:
>   o [NETFILTER]: Missing skb->len check in
>     ip_conntrack_proto_tcp.c:tcp_packet()
>   o [NETFILTER]: Don't assign new helper after NAT when there are
>     already expectations present
>   o [NETFILTER]: Prevent orphan expectations
> 
> Herbert Xu:
>   o Fix netdev leak on probe failure in 3c527
>   o Fixed MCA resource bugs in at1700
>   o vga16fb.c: fix bogus mem_start value
> 
> Hideaki Yoshifuji:
>   o [IPV6]: Add IP6CB
>   o [NET]: Add dst->ifdown callback
>   o [IPV6] IPSEC: fix double kfree_skb() in error path. (reported by
>     Ken-ichirou MATSUZAWA <chamas@h4.dion.ne.jp>)
> 
> Hugh Dickins:
>   o dup_mmap() memory accounting fix
> 
> Ivan Kokshaysky:
>   o __ARCH_WANT_SYS_RT_SIGACTION fix
> 
> Jens Axboe:
>   o cdrom hardware defect mgt header length
>   o fix ide-cd racy completions
> 
> Jesper Juhl:
>   o [NET]: Remove junk from packet_mmap.txt
> 
> Jesse Brandeburg:
>   o e1000: fix napi crash on ifdown during traffic
> 
> John Rose:
>   o insert_resource fix
> 
> John Stultz:
>   o cyclone: PIT sanity checking
> 
> Jörn Engel:
>   o ncpfs MAINTAINERS update
> 
> Kai Engert:
>   o USB: enable pwc usb camera driver
> 
> Karsten Keil:
>   o i4l: Tigerjet 320 chipset fix
> 
> Keith M. Wesolowski:
>   o [SPARC]: Fix warning for changed section attributes
>   o [SPARC]: Fix warning for missing struct device
>   o [SPARC]: Consolidate pagetable definitions
> 
> Kenneth W. Chen:
>   o ia64: fix race in fsys_bubble_down to avoid fp-register corruption
> 
> Linus Torvalds:
>   o Mark compaq Fibre Channel driver broken
>   o Fix x86 "clear_cpu()" macro
>   o sparse cleanup of #include file
>   o Revert wakeup-affinity fixes
>   o Linux 2.6.7
> 
> Marc Singer:
>   o [ARM PATCH] 1915/1: lh7a40x #4 (1/1) hardware.h bug fix
>   o [ARM PATCH] 1916/1: lh7a40x #5 (1/1) revision B support
> 
> Martin Schwidefsky:
>   o s390: add support for 6 system call arguments (FUTEX_CMP_REQUEUE)
>   o s390: speedup strn{cpy,len}_from_user
>   o s390: simplify single stepped svc code
>   o s390: cleanup string functions
>   o s390: xpram device driver
> 
> Michael Hunold:
>   o Make tda1004x DVB frontend driver work again
> 
> Mika Kukkonen:
>   o sparse fix for void return in selinux/hooks.c
>   o Sparse fix to mm/vmscan.c
>   o __user annotation for shm_shmat hook declaration
>   o __user annotation for selinux_shm_shmat
> 
> Neil Brown:
>   o md: fix BUG in raid6 resync code
> 
> Nick Piggin:
>   o vmscan.c: struct scan_control
>   o Fix nfs writepage behaviour
> 
> Nikita Danilov:
>   o vmscan.c: move ->writepage invocation into its own function
> 
> Nitin A. Kamble:
>   o x86-64: Fix use of uninitialized memory in ioremap
> 
> Olaf Hering:
>   o ppc32: fix missing option in binutils version check
> 
> Oleg Nesterov:
>   o dup_mmap() double memory accounting
> 
> Paul Mackerras:
>   o Single-stepping emulated instructions
>   o Make paca xCurrent field be a pointer
> 
> Peter Korsgaard:
>   o Typo in Documentation/fb/framebuffer.txt
> 
> Randy Dunlap:
>   o kernel/sysctl annotations for sparse
> 
> Russell King:
>   o [ARM] Add ucontext bits for sigaltstack handling
>   o [ARM] Clean up io-acorn
>   o [ARM] uaccess.h should include asm/memory.h not asm/arch/memory.h
>   o [ARM] Update ARM memory layout documentation
>   o [ARM] Tidy up patch 1925/1
>   o [ARM] Resurect EBSA110 machine class
>   o [PCMCIA] Add TI1620 device IDs and tell yenta about it
>   o [SERIAL] Fix missing __devexit_p
> 
> Scott Feldman:
>   o e100: stepping over err return code
>   o e100: fix skb leak in tx timeout
>   o e100: fix sender hang after tx timeout
> 
> Shirley Ma:
>   o [IPV6]: Initialize pmtu/advmss in ndisc dst entries
>   o [IPV6]: Fix ICMP6 type checking tests in ah6.c and esp6.c
> 
> Siegfried Hildebrand:
>   o USB: Fix problems with cyberjack usb-serial-module since kernel
>     2.6.2
> 
> Stefan Bader:
>   o s390: tape driver changes
> 
> Stephen Hemminger:
>   o [TCP]: Update tcp_get_info() comments in net/tcp.h
>   o [TCP]: Add receive DRS info to tcp_info
> 
> Stephen Rothwell:
>   o ppc64: iSeries vio_dev cleanups
> 
> Steve French:
>   o cifs_prepare_write fixes to remove problem in which we were not
>     populating page data from the server copy when writing to
>     non-uptodate page
>   o No matter what the blocksize, we are required to use fake blocksize
>     of 512 when calculating number of blocks in a file (otherwise this
>     confuses the du command)
>   o Remove temporary debug message
>   o Update cifs change log for cifs 1.17
>   o Handle out of memory on allocating dentry or inode during filldir
>   o Initial protocol definitions for cifs dirnotify (directory change
>     notification) support
>   o whitespace and comment cleanup
>   o Fix race in updating tcpStatus field
>   o Add 2 missing kmalloc failure checks during cifs mount time
>   o fix up whitespace
>   o Make stats display more consistent - under /proc/fs/cifs/Stats
>   o handle partial page update of page in cache that is not uptodate
>     better for the situation in which file is open writeonly
>   o Fix sparse tool compile warnings for cifs
>   o flush write behind cached data, for files reopened after session
>     reconnection after session drop
>   o Handle rename of hardlinked files properly (treat as a noop)
>   o Add missing EA info levels
>   o Extended Attributes part 1
>   o remove compile warning
>   o lock session when reconnecting so we do not oops in retrying
>     sendmsg
>   o do not filemap_fdatawrite when reconnecting in write to avoid
>     potential deadlock
>   o fix listxattr error path
>   o fix fealist struct (xattr support part 3)
>   o Fix i_size corruption in case of overlapped readdir changing cached
>     file size and local cached write extending file
> 
> Thomas Spatzier:
>   o s390: qeth network driver
> 
> Tony Lindgren:
>   o [ARM PATCH] 1923/1: OMAP update 1/2: arch files (replaces patch
>     1903/1)
>   o [ARM PATCH] 1922/1: OMAP update 2/2: include files (replaces patch
>     1904/1)
>   o [ARM PATCH] 1908/1: Remove old OMAP header files
>   o [ARM PATCH] 1905/1: Add OMAP compressed boot debug serial output
> 
> Venkatesh Pallipadi:
>   o [CPUFREQ] Cpufreq hotplug
> 
> William Lee Irwin III:
>   o numaq mempolicy.c build fix
>   o Voyager doesn't support MCE
>   o voyager linkage fix
> 
> Wim Van Sebroeck:
>   o [WATCHDOG] v2.6.6 pcwd.c-keepalive+single_open-patch
>   o [WATCHDOG] pcwd_pci.c-single_open+set_heartbeat+init-patch
>   o [WATCHDOG] pcwd_usb.c-single_open+set_heartbeat+init-patch
> 

Well, I guess now everybody (and their CPU) is busy compiling :-)

I posted this for 2.6.6, but got a single reply, reposting again.
( See http://bugzilla.kernel.org/show_bug.cgi?id=2669 )

When I unpack linux sources (`tar xjvf linux-${KV}.tar.bz2`), I usually do that in /usr/src/ and do it as root the first time.
Later (if I need to patch something, etc.) I cat copy this dir as a non-root user.
I always use KBUILD_OUTPUT=/var/tmp/kernel-output/$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) to build as non-root user.

The problem is that several files are NOT world readable and this prevents non-root builds by using KBUILD_OUTPUT.
And reading some Documentation as normal user (like Documentation/scsi/ChangeLog.megaraid) !!!

For 2.6.7:

# find /usr/src/linux-2.6.7 ! -perm -004 -exec ls -l {} \;
-rw-r-----  1 500 500 9511 Jun 16 14:19 /usr/src/linux-2.6.7/drivers/char/drm/drm_irq.h
-rw-r-----  1 500 500 13235 Jun 16 14:20 /usr/src/linux-2.6.7/drivers/char/agp/isoch.c
-rw-r-----  1 500 500 17056 Jun 16 14:20 /usr/src/linux-2.6.7/drivers/input/joystick/grip_mp.c
-rw-r-----  1 500 500 3106 Jun 16 14:19 /usr/src/linux-2.6.7/Documentation/networking/netif-msg.txt
-rw-r-----  1 500 500 1593 Jun 16 14:20 /usr/src/linux-2.6.7/Documentation/scsi/ChangeLog.megaraid

To fix your tree you can (safely?) use:

find /usr/src/linux-2.6.7 ! -perm -004 -exec chmod o+r {} \;

or for future:

find /usr/src/linux-2.6.7 -type f ! -perm -004 -exec chmod o+r {} \;
find /usr/src/linux-2.6.7 -type d ! -perm -005 -exec chmod o+rx {} \;

No idea how exactly the tarball is build, but there can be a check proces like the above before making it final.

There is clearly no reason why 5 out of 15655 (16629 with directories) are with such "weird" permissions.
Is this such a pain to fix?

Kalin.

-- 
||///_ o  *****************************
||//'_/>     WWW: http://ThinRope.net/
|||\/<" 
|||\\ ' 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
  2004-06-16  6:58 ` Kalin KOZHUHAROV
@ 2004-06-16  7:10 ` Jan De Luyck
  2004-06-16  8:07 ` JFS compilation fix [was Re: Linux 2.6.7] Tomas Szepe
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 40+ messages in thread
From: Jan De Luyck @ 2004-06-16  7:10 UTC (permalink / raw)
  To: linux-kernel

On Wednesday 16 June 2004 07:56, Linus Torvalds wrote:
> Ok, it's out there. The most notable change may be the one-liner that
> should fix the embarrassing FP exception problem. Other than that, we've
> had a random collection of fixes and updates since rc3. cifs, ntfs,
> cpufreq. ide, sparc, s390.
>
> Full 2.6.6->2.6.7 changelog available at the same places the release is.
>
> 		Linus
>

Compiled and works fine on my Acer TM 803. As a nice sidenote, the screen 
corruption that was visible at the initial start of the radeon framebuffer is 
gone too.

Thanks for another great kernel :-)

Jan

-- 
Logic is a little bird, sitting in a tree; that smells *_____\b\b\b\b\bawful*.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* JFS compilation fix [was Re: Linux 2.6.7]
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
  2004-06-16  6:58 ` Kalin KOZHUHAROV
  2004-06-16  7:10 ` Jan De Luyck
@ 2004-06-16  8:07 ` Tomas Szepe
  2004-06-16 12:55   ` Dave Kleikamp
  2004-06-16  9:58 ` Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address) Zilvinas Valinskas
                   ` (7 subsequent siblings)
  10 siblings, 1 reply; 40+ messages in thread
From: Tomas Szepe @ 2004-06-16  8:07 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Dave Kleikamp, Kernel Mailing List

On Jun-15 2004, Tue, 22:56 -0700
Linus Torvalds <torvalds@osdl.org> wrote:

> Summary of changes from v2.6.7-rc3 to v2.6.7
[snip]

Here's a trivial patch to fix JFS compilation in 2.6.7.  The error
only happens in specific configs -- one such config can be found here:
http://www.pinerecords.com/kala/_nonpub/.config.louise26

I don't have the time to narrow the problem down to the config
entry that gets jfs_dtree.c to include jfs_dtree.h (jfs_dtree.c
itself doesn't have any relevat ifdefs).

-- 
Tomas Szepe <szepe@pinerecords.com>


diff -urN a/fs/jfs/jfs_dtree.c b/fs/jfs/jfs_dtree.c
--- a/fs/jfs/jfs_dtree.c	2004-06-16 09:29:58.000000000 +0200
+++ b/fs/jfs/jfs_dtree.c	2004-06-16 09:56:23.000000000 +0200
@@ -108,6 +108,7 @@
 #include "jfs_dmap.h"
 #include "jfs_unicode.h"
 #include "jfs_debug.h"
+#include "jfs_dtree.h"
 
 /* dtree split parameter */
 struct dtsplit {
@@ -374,6 +375,8 @@
 		return index;
 	}
 	if (index == (MAX_INLINE_DIRTABLE_ENTRY + 1)) {
+		struct dir_table_slot temp_table[12];
+
 		/*
 		 * It's time to move the inline table to an external
 		 * page and begin to build the xtree
@@ -385,7 +388,6 @@
 		 * Save the table, we're going to overwrite it with the
 		 * xtree root
 		 */
-		struct dir_table_slot temp_table[12];
 		memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table));
 
 		/*

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (2 preceding siblings ...)
  2004-06-16  8:07 ` JFS compilation fix [was Re: Linux 2.6.7] Tomas Szepe
@ 2004-06-16  9:58 ` Zilvinas Valinskas
  2004-06-16 12:55   ` Jeff Garzik
  2004-06-16 11:13 ` Linux 2.6.7 Tomas Szepe
                   ` (6 subsequent siblings)
  10 siblings, 1 reply; 40+ messages in thread
From: Zilvinas Valinskas @ 2004-06-16  9:58 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List

On Compaq N800 EVO notebook with a radeonfb enabled - stty failes to
adjust terminal size. strace log attached. Under 2.6.5/2.6.6 it used to
work. 

relevant part:

open("/dev/vc/1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
fcntl64(3, F_GETFL)                     = 0x8800 (flags
O_RDONLY|O_NONBLOCK|O_LARGEFILE)
fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0
ioctl(3, TIOCGWINSZ, {ws_row=65, ws_col=175, ws_xpixel=0, ws_ypixel=0})
= 0
ioctl(3, TIOCSWINSZ, {ws_row=50, ws_col=175, ws_xpixel=0, ws_ypixel=0})
= -1 ENXIO (No such device or address)
write(2, "/bin/stty: ", 11)             = 11
write(2, "/dev/vc/1", 9)                = 9
open("/usr/share/locale/locale.alias", O_RDONLY) = 4


it makes no difference when doing :

stty rows 50 columns 140 
or
stty rows 50 columns 140 -F /dev/vc/1 ... 

Exactly same error.

BR

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (3 preceding siblings ...)
  2004-06-16  9:58 ` Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address) Zilvinas Valinskas
@ 2004-06-16 11:13 ` Tomas Szepe
  2004-06-16 12:18   ` viro
  2004-06-16 13:27 ` Linux 2.6.7 - problem with old gcc Eyal Lebedinsky
                   ` (5 subsequent siblings)
  10 siblings, 1 reply; 40+ messages in thread
From: Tomas Szepe @ 2004-06-16 11:13 UTC (permalink / raw)
  To: linux-kernel; +Cc: netdev

On Jun-15 2004, Tue, 22:56 -0700
Linus Torvalds <torvalds@osdl.org> wrote:

> Summary of changes from v2.6.7-rc3 to v2.6.7
[snip]

2.6.7's airo.ko (unlike 2.6.6's) won't allow the user to set
ESSID via "echo myessid >/proc/driver/aironet/ethX/SSID".

Changes like this shouldn't probably be made in the middle
of a stable series.

-- 
Tomas Szepe <szepe@pinerecords.com>

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16 11:13 ` Linux 2.6.7 Tomas Szepe
@ 2004-06-16 12:18   ` viro
  2004-06-17  6:56     ` Tomas Szepe
  0 siblings, 1 reply; 40+ messages in thread
From: viro @ 2004-06-16 12:18 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: linux-kernel, netdev

On Wed, Jun 16, 2004 at 01:13:29PM +0200, Tomas Szepe wrote:
> On Jun-15 2004, Tue, 22:56 -0700
> Linus Torvalds <torvalds@osdl.org> wrote:
> 
> > Summary of changes from v2.6.7-rc3 to v2.6.7
> [snip]
> 
> 2.6.7's airo.ko (unlike 2.6.6's) won't allow the user to set
> ESSID via "echo myessid >/proc/driver/aironet/ethX/SSID".
> 
> Changes like this shouldn't probably be made in the middle
> of a stable series.

Changes like this are called bugs.  The thing is, original variant of
function (actually, both read and write) was also buggy and trivially
exploitable, so fixing it was needed.  Fscking it up was not, obviously.

Fix follows; see if it works for you.

--- RC7/drivers/net/wireless/airo.c	Mon Jun  7 19:21:27 2004
+++ RC7-current/drivers/net/wireless/airo.c	Wed Jun 16 08:11:50 2004
@@ -4527,6 +4527,8 @@
 		len = priv->maxwritelen - pos;
 	if (copy_from_user(priv->wbuffer + pos, buffer, len))
 		return -EFAULT;
+	if (pos + len > priv->writelen)
+		priv->writelen = pos + len;
 	*offset = pos + len;
 	return len;
 }

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16  9:58 ` Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address) Zilvinas Valinskas
@ 2004-06-16 12:55   ` Jeff Garzik
  2004-06-16 13:56     ` Benjamin Herrenschmidt
  2004-06-16 14:17     ` Zilvinas Valinskas
  0 siblings, 2 replies; 40+ messages in thread
From: Jeff Garzik @ 2004-06-16 12:55 UTC (permalink / raw)
  To: Zilvinas Valinskas; +Cc: Linus Torvalds, Kernel Mailing List

Zilvinas Valinskas wrote:
> On Compaq N800 EVO notebook with a radeonfb enabled - stty failes to
> adjust terminal size. strace log attached. Under 2.6.5/2.6.6 it used to
> work. 
> 
> relevant part:
> 
> open("/dev/vc/1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
> fcntl64(3, F_GETFL)                     = 0x8800 (flags
> O_RDONLY|O_NONBLOCK|O_LARGEFILE)
> fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> ...}) = 0
> ioctl(3, TIOCGWINSZ, {ws_row=65, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> = 0
> ioctl(3, TIOCSWINSZ, {ws_row=50, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> = -1 ENXIO (No such device or address)
> write(2, "/bin/stty: ", 11)             = 11
> write(2, "/dev/vc/1", 9)                = 9
> open("/usr/share/locale/locale.alias", O_RDONLY) = 4
> 
> 
> it makes no difference when doing :
> 
> stty rows 50 columns 140 
> or
> stty rows 50 columns 140 -F /dev/vc/1 ... 
> 
> Exactly same error.


huh, I wonder if this is why reset(1) doesn't fully reset the terminal, 
like it used to ...

	Jeff



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: JFS compilation fix [was Re: Linux 2.6.7]
  2004-06-16  8:07 ` JFS compilation fix [was Re: Linux 2.6.7] Tomas Szepe
@ 2004-06-16 12:55   ` Dave Kleikamp
  2004-06-16 12:59     ` Dave Kleikamp
  2004-06-16 13:05     ` Tomas Szepe
  0 siblings, 2 replies; 40+ messages in thread
From: Dave Kleikamp @ 2004-06-16 12:55 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: Linus Torvalds, Kernel Mailing List

On Wed, 2004-06-16 at 03:07, Tomas Szepe wrote:
> Here's a trivial patch to fix JFS compilation in 2.6.7.  The error
> only happens in specific configs -- one such config can be found here:
> http://www.pinerecords.com/kala/_nonpub/.config.louise26

I don't know why gcc-3.2.2 doesn't complain about this one, as I have
compiled this numerous times.

Your patch has an unnecessary include of jfs_dtree.h.  jfs_dtree.h is
included by jfs_inline.h, and is not needed in jfs_dtree.c.

> I don't have the time to narrow the problem down to the config
> entry that gets jfs_dtree.c to include jfs_dtree.h (jfs_dtree.c
> itself doesn't have any relevat ifdefs).

My guess is the config entry is CONFIG_JFS_FS. :^)

Here's the patch without the unneeded include:
----------------------------------------------
JFS: move declaration of temp_table to beginning of block

Signed-off-by: Dave Kleikamp <shaggy@austin.ibm.com>

diff -urp linux-2.6.7/fs/jfs/jfs_dtree.c linux/fs/jfs/jfs_dtree.c
--- linux-2.6.7/fs/jfs/jfs_dtree.c	2004-06-16 07:38:20.244688936 -0500
+++ linux/fs/jfs/jfs_dtree.c	2004-06-16 07:46:38.210986552 -0500
@@ -374,6 +374,8 @@ static u32 add_index(tid_t tid, struct i
 		return index;
 	}
 	if (index == (MAX_INLINE_DIRTABLE_ENTRY + 1)) {
+		struct dir_table_slot temp_table[12];
+
 		/*
 		 * It's time to move the inline table to an external
 		 * page and begin to build the xtree
@@ -385,7 +387,6 @@ static u32 add_index(tid_t tid, struct i
 		 * Save the table, we're going to overwrite it with the
 		 * xtree root
 		 */
-		struct dir_table_slot temp_table[12];
 		memcpy(temp_table, &jfs_ip->i_dirtable, sizeof(temp_table));
 
 		/*

-- 
David Kleikamp
IBM Linux Technology Center


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: JFS compilation fix [was Re: Linux 2.6.7]
  2004-06-16 12:55   ` Dave Kleikamp
@ 2004-06-16 12:59     ` Dave Kleikamp
  2004-06-16 13:05     ` Tomas Szepe
  1 sibling, 0 replies; 40+ messages in thread
From: Dave Kleikamp @ 2004-06-16 12:59 UTC (permalink / raw)
  To: Tomas Szepe; +Cc: Linus Torvalds, Kernel Mailing List

On Wed, 2004-06-16 at 07:55, Dave Kleikamp wrote:

> jfs_dtree.h is included by jfs_inline.h, and is not needed in jfs_dtree.c.

jfs_incore.h, not inline.  Doh!


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: JFS compilation fix [was Re: Linux 2.6.7]
  2004-06-16 12:55   ` Dave Kleikamp
  2004-06-16 12:59     ` Dave Kleikamp
@ 2004-06-16 13:05     ` Tomas Szepe
  1 sibling, 0 replies; 40+ messages in thread
From: Tomas Szepe @ 2004-06-16 13:05 UTC (permalink / raw)
  To: Dave Kleikamp; +Cc: Linus Torvalds, Kernel Mailing List

On Jun-16 2004, Wed, 07:55 -0500
Dave Kleikamp <shaggy@austin.ibm.com> wrote:

> On Wed, 2004-06-16 at 03:07, Tomas Szepe wrote:
> > Here's a trivial patch to fix JFS compilation in 2.6.7.  The error
> > only happens in specific configs -- one such config can be found here:
> > http://www.pinerecords.com/kala/_nonpub/.config.louise26
> 
> I don't know why gcc-3.2.2 doesn't complain about this one, as I have
> compiled this numerous times.
> 
> Your patch has an unnecessary include of jfs_dtree.h.  jfs_dtree.h is
> included by jfs_inline.h, and is not needed in jfs_dtree.c.

Oh, right.

> > I don't have the time to narrow the problem down to the config
> > entry that gets jfs_dtree.c to include jfs_dtree.h (jfs_dtree.c
> > itself doesn't have any relevat ifdefs).
> 
> My guess is the config entry is CONFIG_JFS_FS. :^)

Well, it just so happens that I have two .config files, both listing
CONFIG_JFS_FS=m, and without the patch, exactly one of them fails
compilation (on the same cluster, distcc gcc 3.4.0).  That is why
I assumed the include was missing -- the moving of the declaration
in my patch was only meant as an extra clean up for bonus points.
;)

-- 
Tomas Szepe <szepe@pinerecords.com>

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 - problem with old gcc
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (4 preceding siblings ...)
  2004-06-16 11:13 ` Linux 2.6.7 Tomas Szepe
@ 2004-06-16 13:27 ` Eyal Lebedinsky
  2004-06-16 16:09 ` Linux 2.6.7 (compile stats) John Cherry
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 40+ messages in thread
From: Eyal Lebedinsky @ 2004-06-16 13:27 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List

WARNING: /lib/modules/2.6.7/kernel/drivers/media/video/cx88/cx8800.ko needs unknown symbol __ucmpdi2

This is a regular issue, still present when building with old gcc. I
am on Debian stable which has gcc 2.95.4.

--
Eyal Lebedinsky		(eyal@eyal.emu.id.au)

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 12:55   ` Jeff Garzik
@ 2004-06-16 13:56     ` Benjamin Herrenschmidt
  2004-06-16 16:38       ` jsimmons
  2004-06-16 14:17     ` Zilvinas Valinskas
  1 sibling, 1 reply; 40+ messages in thread
From: Benjamin Herrenschmidt @ 2004-06-16 13:56 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Zilvinas Valinskas, Linus Torvalds, Kernel Mailing List

On Wed, 2004-06-16 at 07:55, Jeff Garzik wrote:
> Zilvinas Valinskas wrote:
> > On Compaq N800 EVO notebook with a radeonfb enabled - stty failes to
> > adjust terminal size. strace log attached. Under 2.6.5/2.6.6 it used to
> > work. 
> > 

The whole crap of tweaking the video modes when terminal size is
changed with stty is not working properly imho. I don't like it, I
don't like the way it's implemented and the drivers are not ready
for it anyway since they lack a correct mode matching mecanism.

But that's one of James pet features so ...

Ben.



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 12:55   ` Jeff Garzik
  2004-06-16 13:56     ` Benjamin Herrenschmidt
@ 2004-06-16 14:17     ` Zilvinas Valinskas
  2004-06-16 16:37       ` jsimmons
  1 sibling, 1 reply; 40+ messages in thread
From: Zilvinas Valinskas @ 2004-06-16 14:17 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: Linus Torvalds, Kernel Mailing List

I've checked drivers/char/tty_io.c :

/*
 * Change # of rows and columns (0 means unchanged/the size of
fg_console)
 * [this is to be used together with some user program
 * like resize that changes the hardware videomode]
 */
int vc_resize(int currcons, unsigned int cols, unsigned int lines)
{
	unsigned long old_origin, new_origin, new_scr_end, rlth, rrem, err = 0;
	unsigned int old_cols, old_rows, old_row_size, old_screen_size;
	unsigned int new_cols, new_rows, new_row_size, new_screen_size;
	unsigned short *newscreen;

	WARN_CONSOLE_UNLOCKED();

	if (!vc_cons_allocated(currcons))
		return -ENXIO;




there is only place that returns ENXIO ... and if you take a look into 
vc_cons_allocated() :

int vc_cons_allocated(unsigned int i)
{
	return (i < MAX_NR_CONSOLES && vc_cons[i].d);
}

it might be either i exceeds MAX_NR_CONSOLES or vc_cons[i].d is 0.

btw, get TIOCGWINSZ, works fine and returns correct values as shown in
strace. it is only SET part is failing ...

br 

On Wed, 2004-06-16 at 15:55, Jeff Garzik wrote:
> Zilvinas Valinskas wrote:
> > On Compaq N800 EVO notebook with a radeonfb enabled - stty failes to
> > adjust terminal size. strace log attached. Under 2.6.5/2.6.6 it used to
> > work. 
> > 
> > relevant part:
> > 
> > open("/dev/vc/1", O_RDONLY|O_NONBLOCK|O_LARGEFILE) = 3
> > fcntl64(3, F_GETFL)                     = 0x8800 (flags
> > O_RDONLY|O_NONBLOCK|O_LARGEFILE)
> > fcntl64(3, F_SETFL, O_RDONLY|O_LARGEFILE) = 0
> > ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
> > ...}) = 0
> > ioctl(3, TIOCGWINSZ, {ws_row=65, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> > = 0
> > ioctl(3, TIOCSWINSZ, {ws_row=50, ws_col=175, ws_xpixel=0, ws_ypixel=0})
> > = -1 ENXIO (No such device or address)
> > write(2, "/bin/stty: ", 11)             = 11
> > write(2, "/dev/vc/1", 9)                = 9
> > open("/usr/share/locale/locale.alias", O_RDONLY) = 4
> > 
> > 
> > it makes no difference when doing :
> > 
> > stty rows 50 columns 140 
> > or
> > stty rows 50 columns 140 -F /dev/vc/1 ... 
> > 
> > Exactly same error.
> 
> 
> huh, I wonder if this is why reset(1) doesn't fully reset the terminal, 
> like it used to ...
> 
> 	Jeff
> 
> 


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  6:58 ` Kalin KOZHUHAROV
@ 2004-06-16 14:56   ` Jesper Juhl
  0 siblings, 0 replies; 40+ messages in thread
From: Jesper Juhl @ 2004-06-16 14:56 UTC (permalink / raw)
  To: Kalin KOZHUHAROV; +Cc: Linus Torvalds, LKML

On Wed, 16 Jun 2004, Kalin KOZHUHAROV wrote:

> When I unpack linux sources (`tar xjvf linux-${KV}.tar.bz2`), I usually do that in /usr/src/ and do it as root the first time.

Why?

Why not just do the sane thing and unpack the tarball as a normal user (in
your homedir) configure as normal user, build as normal user, install as root

Have you ever read this btw? :
http://www.linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html


--
Jesper Juhl <juhl-lkml@dif.dk>

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (compile stats)
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (5 preceding siblings ...)
  2004-06-16 13:27 ` Linux 2.6.7 - problem with old gcc Eyal Lebedinsky
@ 2004-06-16 16:09 ` John Cherry
  2004-06-16 16:31 ` Linux 2.6.7 Dominik Karall
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 40+ messages in thread
From: John Cherry @ 2004-06-16 16:09 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List

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

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

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

John




^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (6 preceding siblings ...)
  2004-06-16 16:09 ` Linux 2.6.7 (compile stats) John Cherry
@ 2004-06-16 16:31 ` Dominik Karall
  2004-06-16 18:53   ` Jeff Garzik
  2004-06-16 17:42 ` Linux 2.6.7 - ACPI still broken Thomas Zehetbauer
                   ` (2 subsequent siblings)
  10 siblings, 1 reply; 40+ messages in thread
From: Dominik Karall @ 2004-06-16 16:31 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Kernel Mailing List

On Wednesday 16 June 2004 07:56, Linus Torvalds wrote:
> Ok, it's out there. The most notable change may be the one-liner that
> should fix the embarrassing FP exception problem. Other than that, we've
> had a random collection of fixes and updates since rc3. cifs, ntfs,
> cpufreq. ide, sparc, s390.
>
> Full 2.6.6->2.6.7 changelog available at the same places the release is.
>
> 		Linus

Is there any reason why the sis900-fix-phy-transceiver-detection.patch wasn't 
moved to the stable tree? It's a now for a long time in -mm patches and 
without that patch, a lot of sis900 cards does not work in full-duplex 
100Tx-FD mode.

greets dominik

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 14:17     ` Zilvinas Valinskas
@ 2004-06-16 16:37       ` jsimmons
  2004-06-16 21:17         ` Egmont Koblinger
  0 siblings, 1 reply; 40+ messages in thread
From: jsimmons @ 2004-06-16 16:37 UTC (permalink / raw)
  To: Zilvinas Valinskas
  Cc: Jeff Garzik, Linus Torvalds, Kernel Mailing List,
	Linux Fbdev development list, David MacKenzie


Actually its a bug in stty itself. stty only sets the row or column at a 
time. So when you do a stty row col it is actually doing TWO mode sets.
One to change the number of rows then another to change the number of 
columns. So to the fbdev driver it looks like this:

640x480 -> 1024x480 -> 1024x768

Now for alot of driver the middle setting doesn't work. So it fails. 
This bug also effects serial consoles as well. I CC the stty maintain so 
he can apply the below patch. It is against the latest GNU core utilites.
It fixes the issue.

--- stty.c.orig	2004-05-07 17:48:51.000000000 -0700
+++ stty.c	2004-05-07 18:00:36.000000000 -0700
@@ -733,6 +733,10 @@
   int speed_was_set;
   int verbose_output;
   int recoverable_output;
+#ifdef TIOCGWINSZ
+  int size_was_set = 0;
+  int cols, rows;
+#endif
   int k;
   int noargs = 1;
   char *file_name = NULL;
@@ -1004,8 +1008,8 @@
 		  usage (EXIT_FAILURE);
 		}
 	      ++k;
-	      set_window_size ((int) integer_arg (argv[k]), -1,
-			       fd, device_name);
+	      rows = integer_arg (argv[k]);
+	      size_was_set = 1;
 	    }
 	  else if (STREQ (argv[k], "cols")
 		   || STREQ (argv[k], "columns"))
@@ -1016,8 +1020,8 @@
 		  usage (EXIT_FAILURE);
 		}
 	      ++k;
-	      set_window_size (-1, (int) integer_arg (argv[k]),
-			       fd, device_name);
+	      cols = integer_arg (argv[k]);
+	      size_was_set = 1;	
 	    }
 	  else if (STREQ (argv[k], "size"))
 	    {
@@ -1063,6 +1067,12 @@
       k++;
     }
 
+#ifdef TIOCGWINSZ
+  if (size_was_set) 
+    {
+      set_window_size (rows, cols, fd, device_name);
+    }
+#endif
   if (require_set_attr)
     {
       struct termios new_mode;

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 13:56     ` Benjamin Herrenschmidt
@ 2004-06-16 16:38       ` jsimmons
  0 siblings, 0 replies; 40+ messages in thread
From: jsimmons @ 2004-06-16 16:38 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Jeff Garzik, Zilvinas Valinskas, Kernel Mailing List,
	Linux Fbdev development list, Geert Uytterhoeven


> The whole crap of tweaking the video modes when terminal size is
> changed with stty is not working properly imho. I don't like it, I
> don't like the way it's implemented and the drivers are not ready
> for it anyway since they lack a correct mode matching mecanism.
> 
> But that's one of James pet features so ...

There is a bug in stty. We should implement this in fbset as well. 

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 - ACPI still broken
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (7 preceding siblings ...)
  2004-06-16 16:31 ` Linux 2.6.7 Dominik Karall
@ 2004-06-16 17:42 ` Thomas Zehetbauer
  2004-06-17  4:15   ` Kevin P. Fleming
  2004-06-17 15:22 ` Linux 2.6.7 Sean Neakums
  2004-06-18 16:37 ` 2.6.7 Samba OOPS (in smb_readdir) Brice Goglin
  10 siblings, 1 reply; 40+ messages in thread
From: Thomas Zehetbauer @ 2004-06-16 17:42 UTC (permalink / raw)
  To: Kernel Mailing List

As posted on 2004-06-07 ACPI support seems to be broken for Intel
D865PERL board since at least 2.6.7-rc2.

When booting with the standard flags (nmi_watchdog=1 root=/dev/md0
video=matroxfb:vesa:0x1bb) the kernel locks up with different error
messages immediately after "ACPI: Subsystem revision 20040326". Adding
"acpi=off" to the command line makes everything work again.

You can find my dmesg output (with "acpi=off") and my .config here:
http://www.hostmaster.org/~thomasz/linux-2.6.7-config
http://www.hostmaster.org/~thomasz/linux-2.6.7-dmesg

Tom



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16 16:31 ` Linux 2.6.7 Dominik Karall
@ 2004-06-16 18:53   ` Jeff Garzik
  0 siblings, 0 replies; 40+ messages in thread
From: Jeff Garzik @ 2004-06-16 18:53 UTC (permalink / raw)
  To: Dominik Karall; +Cc: Linus Torvalds, Kernel Mailing List, Andrew Morton

Dominik Karall wrote:
> On Wednesday 16 June 2004 07:56, Linus Torvalds wrote:
> 
>>Ok, it's out there. The most notable change may be the one-liner that
>>should fix the embarrassing FP exception problem. Other than that, we've
>>had a random collection of fixes and updates since rc3. cifs, ntfs,
>>cpufreq. ide, sparc, s390.
>>
>>Full 2.6.6->2.6.7 changelog available at the same places the release is.
>>
>>		Linus
> 
> 
> Is there any reason why the sis900-fix-phy-transceiver-detection.patch wasn't 
> moved to the stable tree? It's a now for a long time in -mm patches and 
> without that patch, a lot of sis900 cards does not work in full-duplex 
> 100Tx-FD mode.

It still needs work, as the updated driver appears to scan the first phy 
incorrectly, which IMO would break _other_ situations that are presently 
working.

I'll try to get to it in the next couple days; the short answer is to 
look at other PCI ethernet drivers and note how they scan MII.

	Jeff



^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 16:37       ` jsimmons
@ 2004-06-16 21:17         ` Egmont Koblinger
  2004-06-16 21:45           ` jsimmons
  0 siblings, 1 reply; 40+ messages in thread
From: Egmont Koblinger @ 2004-06-16 21:17 UTC (permalink / raw)
  To: jsimmons
  Cc: Zilvinas Valinskas, Jeff Garzik, Linus Torvalds,
	Kernel Mailing List, Linux Fbdev development list,
	David MacKenzie

On Wed, 16 Jun 2004 jsimmons@pentafluge.infradead.org wrote:

Hi,

> +#ifdef TIOCGWINSZ
> +  int size_was_set = 0;
> +  int cols, rows;
     ^^^^^^^^^^^^^^^
These should both be initialized to -1 because...

> -	      set_window_size ((int) integer_arg (argv[k]), -1,
> -			       fd, device_name);
> +	      rows = integer_arg (argv[k]);
> +	      size_was_set = 1;

[...]

> -	      set_window_size (-1, (int) integer_arg (argv[k]),
> -			       fd, device_name);
> +	      cols = integer_arg (argv[k]);
> +	      size_was_set = 1;

...here maybe only one of them is set, but...

> +  if (size_was_set)
> +    {
> +      set_window_size (rows, cols, fd, device_name);

...here both of them are used. Looking at the body of size_was_set()
and the code that was removed from stty it's clear that -1 means don't
change, while 0 means change to 0.



-- 
Egmont

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address)
  2004-06-16 21:17         ` Egmont Koblinger
@ 2004-06-16 21:45           ` jsimmons
  0 siblings, 0 replies; 40+ messages in thread
From: jsimmons @ 2004-06-16 21:45 UTC (permalink / raw)
  To: Egmont Koblinger
  Cc: Zilvinas Valinskas, Jeff Garzik, Kernel Mailing List,
	Linux Fbdev development list, David MacKenzie


Ug. Missed that. I don't know how but my system always worked. 
Here is the new patch.

--- stty.c.orig	2004-05-07 17:48:51.000000000 -0700
+++ stty.c	2004-06-16 14:38:21.000000000 -0700
@@ -733,6 +733,10 @@
   int speed_was_set;
   int verbose_output;
   int recoverable_output;
+#ifdef TIOCGWINSZ
+  int size_was_set = 0;
+  int cols = -1, rows = -1;
+#endif
   int k;
   int noargs = 1;
   char *file_name = NULL;
@@ -1004,8 +1008,8 @@
 		  usage (EXIT_FAILURE);
 		}
 	      ++k;
-	      set_window_size ((int) integer_arg (argv[k]), -1,
-			       fd, device_name);
+	      rows = integer_arg (argv[k]);
+	      size_was_set = 1;
 	    }
 	  else if (STREQ (argv[k], "cols")
 		   || STREQ (argv[k], "columns"))
@@ -1016,8 +1020,8 @@
 		  usage (EXIT_FAILURE);
 		}
 	      ++k;
-	      set_window_size (-1, (int) integer_arg (argv[k]),
-			       fd, device_name);
+	      cols = integer_arg (argv[k]);
+	      size_was_set = 1;	
 	    }
 	  else if (STREQ (argv[k], "size"))
 	    {
@@ -1063,6 +1067,12 @@
       k++;
     }
 
+#ifdef TIOCGWINSZ
+  if (size_was_set) 
+    {
+      set_window_size (rows, cols, fd, device_name);
+    }
+#endif
   if (require_set_attr)
     {
       struct termios new_mode;

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7 - ACPI still broken
  2004-06-16 17:42 ` Linux 2.6.7 - ACPI still broken Thomas Zehetbauer
@ 2004-06-17  4:15   ` Kevin P. Fleming
  0 siblings, 0 replies; 40+ messages in thread
From: Kevin P. Fleming @ 2004-06-17  4:15 UTC (permalink / raw)
  To: ACPI Developers, Kernel Mailing List

Thomas Zehetbauer wrote:

> As posted on 2004-06-07 ACPI support seems to be broken for Intel
> D865PERL board since at least 2.6.7-rc2.
> 
> When booting with the standard flags (nmi_watchdog=1 root=/dev/md0
> video=matroxfb:vesa:0x1bb) the kernel locks up with different error
> messages immediately after "ACPI: Subsystem revision 20040326". Adding
> "acpi=off" to the command line makes everything work again.

I have the same problem, using a D865GBF, which is nearly the same 
board. BIOS is the most current version; booting with acpi=off allows 
the boot to proceed and function normally. I've tried rebuilding without 
"kernel IRQ balancing" and "register parameters" (which were my two most 
recent config changes), but no improvement.

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16 12:18   ` viro
@ 2004-06-17  6:56     ` Tomas Szepe
  0 siblings, 0 replies; 40+ messages in thread
From: Tomas Szepe @ 2004-06-17  6:56 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel, netdev

On Jun-16 2004, Wed, 13:18 +0100
viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk> wrote:

> > 2.6.7's airo.ko (unlike 2.6.6's) won't allow the user to set
> > ESSID via "echo myessid >/proc/driver/aironet/ethX/SSID".
> > 
> > Changes like this shouldn't probably be made in the middle
> > of a stable series.
> 
> Changes like this are called bugs.  The thing is, original variant of
> function (actually, both read and write) was also buggy and trivially
> exploitable, so fixing it was needed.  Fscking it up was not, obviously.

Sure, I just assumed somebody had done this on purpose.

> Fix follows; see if it works for you.

Works for me, thanks.

-- 
Tomas Szepe <szepe@pinerecords.com>

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (8 preceding siblings ...)
  2004-06-16 17:42 ` Linux 2.6.7 - ACPI still broken Thomas Zehetbauer
@ 2004-06-17 15:22 ` Sean Neakums
  2004-06-18  4:36   ` Andrew Morton
  2004-06-18 16:37 ` 2.6.7 Samba OOPS (in smb_readdir) Brice Goglin
  10 siblings, 1 reply; 40+ messages in thread
From: Sean Neakums @ 2004-06-17 15:22 UTC (permalink / raw)
  To: linux-kernel

The 2.6.7 I built seems kind of swap-happy, apparently triggered by an
overnight updatedb run.  I think this also happened with
2.6.7-rc3-mm2.  I can't seem to find anything particularly out of the
ordinary in the information below.  I started off with swappiness set
to 50 as I have for a while and dropped it twice by ten each time
after a swapoff/swapon.  It starts paging stuff out again pretty fast
after it gets the swap back.  Swap is is a dm-crypt device map.

Sorry about the vagueness.  Is anyone else seeing anything odd like
this?


Linux version 2.6.7 (sean@slagpiece) (gcc version 3.4.0 (Debian 20040516)) #242 Wed Jun 16 11:51:02 IST 2004

slabinfo - version: 2.0
# name            <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : tunables <batchcount> <limit> <sharedfactor> : slabdata <active_slabs> <num_slabs> <sharedavail>
unix_sock            113    121    352   11    1 : tunables   54   27    0 : slabdata     11     11      0
tcp_tw_bucket          0      0     96   41    1 : tunables  120   60    0 : slabdata      0      0      0
tcp_bind_bucket       14    226     16  226    1 : tunables  120   60    0 : slabdata      1      1      0
tcp_open_request       0      0     64   61    1 : tunables  120   60    0 : slabdata      0      0      0
inet_peer_cache        0      0     64   61    1 : tunables  120   60    0 : slabdata      0      0      0
secpath_cache          0      0    128   31    1 : tunables  120   60    0 : slabdata      0      0      0
xfrm_dst_cache         0      0    256   15    1 : tunables  120   60    0 : slabdata      0      0      0
ip_fib_hash            9    226     16  226    1 : tunables  120   60    0 : slabdata      1      1      0
ip_dst_cache         315    315    256   15    1 : tunables  120   60    0 : slabdata     21     21      0
arp_cache              5     31    128   31    1 : tunables  120   60    0 : slabdata      1      1      0
raw4_sock              0      0    480    8    1 : tunables   54   27    0 : slabdata      0      0      0
udp_sock               2      8    480    8    1 : tunables   54   27    0 : slabdata      1      1      0
tcp_sock              33     40    992    4    1 : tunables   54   27    0 : slabdata     10     10      0
flow_cache             0      0     96   41    1 : tunables  120   60    0 : slabdata      0      0      0
dm-crypt_io          256    275     72   55    1 : tunables  120   60    0 : slabdata      5      5      0
dm_tio               256    452     16  226    1 : tunables  120   60    0 : slabdata      2      2      0
dm_io                256    452     16  226    1 : tunables  120   60    0 : slabdata      2      2      0
mqueue_inode_cache      1      8    480    8    1 : tunables   54   27    0 : slabdata      1      1      0
udf_inode_cache        0      0    352   11    1 : tunables   54   27    0 : slabdata      0      0      0
isofs_inode_cache      0      0    320   12    1 : tunables   54   27    0 : slabdata      0      0      0
fat_inode_cache        0      0    352   11    1 : tunables   54   27    0 : slabdata      0      0      0
ext2_inode_cache       0      0    416    9    1 : tunables   54   27    0 : slabdata      0      0      0
journal_handle         1    135     28  135    1 : tunables  120   60    0 : slabdata      1      1      0
journal_head          83    243     48   81    1 : tunables  120   60    0 : slabdata      3      3      0
revoke_table          10    290     12  290    1 : tunables  120   60    0 : slabdata      1      1      0
revoke_record          0      0     16  226    1 : tunables  120   60    0 : slabdata      0      0      0
ext3_inode_cache    2919  12258    416    9    1 : tunables   54   27    0 : slabdata   1362   1362      0
eventpoll_pwq          0      0     36  107    1 : tunables  120   60    0 : slabdata      0      0      0
eventpoll_epi          0      0     96   41    1 : tunables  120   60    0 : slabdata      0      0      0
kioctx                 0      0    160   25    1 : tunables  120   60    0 : slabdata      0      0      0
kiocb                  0      0    160   25    1 : tunables  120   60    0 : slabdata      0      0      0
dnotify_cache          0      0     20  185    1 : tunables  120   60    0 : slabdata      0      0      0
file_lock_cache       19     43     92   43    1 : tunables  120   60    0 : slabdata      1      1      0
fasync_cache           2    226     16  226    1 : tunables  120   60    0 : slabdata      1      1      0
shmem_inode_cache    114    120    384   10    1 : tunables   54   27    0 : slabdata     12     12      0
posix_timers_cache      0      0     80   49    1 : tunables  120   60    0 : slabdata      0      0      0
uid_cache              3    119     32  119    1 : tunables  120   60    0 : slabdata      1      1      0
cfq_pool              64    119     32  119    1 : tunables  120   60    0 : slabdata      1      1      0
crq_pool               0      0     40   96    1 : tunables  120   60    0 : slabdata      0      0      0
deadline_drq           0      0     52   75    1 : tunables  120   60    0 : slabdata      0      0      0
as_arq                16     61     64   61    1 : tunables  120   60    0 : slabdata      1      1      0
blkdev_ioc            69    185     20  185    1 : tunables  120   60    0 : slabdata      1      1      0
blkdev_queue          12     18    448    9    1 : tunables   54   27    0 : slabdata      2      2      0
blkdev_requests       18     25    160   25    1 : tunables  120   60    0 : slabdata      1      1      0
biovec-(256)         256    256   3072    2    2 : tunables   24   12    0 : slabdata    128    128      0
biovec-128           256    260   1536    5    2 : tunables   24   12    0 : slabdata     52     52      0
biovec-64            256    260    768    5    1 : tunables   54   27    0 : slabdata     52     52      0
biovec-16            256    260    192   20    1 : tunables  120   60    0 : slabdata     13     13      0
biovec-4             256    305     64   61    1 : tunables  120   60    0 : slabdata      5      5      0
biovec-1             272    452     16  226    1 : tunables  120   60    0 : slabdata      2      2      0
bio                  281    305     64   61    1 : tunables  120   60    0 : slabdata      5      5      0
sock_inode_cache     158    165    352   11    1 : tunables   54   27    0 : slabdata     15     15      0
skbuff_head_cache    115    175    160   25    1 : tunables  120   60    0 : slabdata      7      7      0
sock                   3     12    320   12    1 : tunables   54   27    0 : slabdata      1      1      0
proc_inode_cache     170    336    320   12    1 : tunables   54   27    0 : slabdata     28     28      0
sigqueue              16     27    144   27    1 : tunables  120   60    0 : slabdata      1      1      0
radix_tree_node     1793   3514    276   14    1 : tunables   54   27    0 : slabdata    251    251      0
bdev_cache            10     18    416    9    1 : tunables   54   27    0 : slabdata      2      2      0
mnt_cache             22     61     64   61    1 : tunables  120   60    0 : slabdata      1      1      0
inode_cache          702    714    288   14    1 : tunables   54   27    0 : slabdata     51     51      0
dentry_cache        3486  17415    148   27    1 : tunables  120   60    0 : slabdata    645    645      0
filp                1437   1450    160   25    1 : tunables  120   60    0 : slabdata     58     58      0
names_cache            1      1   4096    1    1 : tunables   24   12    0 : slabdata      1      1      0
idr_layer_cache       39     58    136   29    1 : tunables  120   60    0 : slabdata      2      2      0
buffer_head         4005  16425     52   75    1 : tunables  120   60    0 : slabdata    219    219      0
mm_struct             63     63    512    7    1 : tunables   54   27    0 : slabdata      9      9      0
vm_area_struct      3324   3337     84   47    1 : tunables  120   60    0 : slabdata     71     71      0
fs_cache              59    119     32  119    1 : tunables  120   60    0 : slabdata      1      1      0
files_cache           63     63    416    9    1 : tunables   54   27    0 : slabdata      7      7      0
signal_cache          75     82     96   41    1 : tunables  120   60    0 : slabdata      2      2      0
sighand_cache         75     75   1312    3    1 : tunables   24   12    0 : slabdata     25     25      0
task_struct           95     95   1408    5    2 : tunables   24   12    0 : slabdata     19     19      0
anon_vma            1425   1628      8  407    1 : tunables  120   60    0 : slabdata      4      4      0
pgd                   60     60   4096    1    1 : tunables   24   12    0 : slabdata     60     60      0
size-131072(DMA)       0      0 131072    1   32 : tunables    8    4    0 : slabdata      0      0      0
size-131072            0      0 131072    1   32 : tunables    8    4    0 : slabdata      0      0      0
size-65536(DMA)        0      0  65536    1   16 : tunables    8    4    0 : slabdata      0      0      0
size-65536             0      0  65536    1   16 : tunables    8    4    0 : slabdata      0      0      0
size-32768(DMA)        0      0  32768    1    8 : tunables    8    4    0 : slabdata      0      0      0
size-32768             0      0  32768    1    8 : tunables    8    4    0 : slabdata      0      0      0
size-16384(DMA)        0      0  16384    1    4 : tunables    8    4    0 : slabdata      0      0      0
size-16384             0      0  16384    1    4 : tunables    8    4    0 : slabdata      0      0      0
size-8192(DMA)         0      0   8192    1    2 : tunables    8    4    0 : slabdata      0      0      0
size-8192              1      1   8192    1    2 : tunables    8    4    0 : slabdata      1      1      0
size-4096(DMA)         0      0   4096    1    1 : tunables   24   12    0 : slabdata      0      0      0
size-4096            137    137   4096    1    1 : tunables   24   12    0 : slabdata    137    137      0
size-2048(DMA)         0      0   2048    2    1 : tunables   24   12    0 : slabdata      0      0      0
size-2048             58     58   2048    2    1 : tunables   24   12    0 : slabdata     29     29      0
size-1024(DMA)         0      0   1024    4    1 : tunables   54   27    0 : slabdata      0      0      0
size-1024             64     64   1024    4    1 : tunables   54   27    0 : slabdata     16     16      0
size-512(DMA)          0      0    512    8    1 : tunables   54   27    0 : slabdata      0      0      0
size-512             176    480    512    8    1 : tunables   54   27    0 : slabdata     60     60      0
size-256(DMA)          0      0    256   15    1 : tunables  120   60    0 : slabdata      0      0      0
size-256             161    375    256   15    1 : tunables  120   60    0 : slabdata     25     25      0
size-192(DMA)          0      0    192   20    1 : tunables  120   60    0 : slabdata      0      0      0
size-192              80     80    192   20    1 : tunables  120   60    0 : slabdata      4      4      0
size-128(DMA)          0      0    128   31    1 : tunables  120   60    0 : slabdata      0      0      0
size-128             217    310    128   31    1 : tunables  120   60    0 : slabdata     10     10      0
size-96(DMA)           0      0     96   41    1 : tunables  120   60    0 : slabdata      0      0      0
size-96              748    779     96   41    1 : tunables  120   60    0 : slabdata     19     19      0
size-64(DMA)           0      0     64   61    1 : tunables  120   60    0 : slabdata      0      0      0
size-64              417   1220     64   61    1 : tunables  120   60    0 : slabdata     20     20      0
size-32(DMA)           0      0     32  119    1 : tunables  120   60    0 : slabdata      0      0      0
size-32              833    833     32  119    1 : tunables  120   60    0 : slabdata      7      7      0
kmem_cache           124    124    128   31    1 : tunables  120   60    0 : slabdata      4      4      0

MemTotal:       385204 kB
MemFree:         11572 kB
Buffers:          8164 kB
Cached:          78260 kB
SwapCached:      54440 kB
Active:         248344 kB
Inactive:        97736 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       385204 kB
LowFree:         11572 kB
SwapTotal:      530104 kB
SwapFree:       465816 kB
Dirty:              92 kB
Writeback:           0 kB
Mapped:         242956 kB
Slab:            14856 kB
Committed_AS:   433516 kB
PageTables:       1368 kB
VmallocTotal:   647128 kB
VmallocUsed:       920 kB
VmallocChunk:   645944 kB

Filename				Type		Size	Used	Priority
/dev/mapper/swap0                       partition	530104	64288	-3

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: Linux 2.6.7
  2004-06-17 15:22 ` Linux 2.6.7 Sean Neakums
@ 2004-06-18  4:36   ` Andrew Morton
  0 siblings, 0 replies; 40+ messages in thread
From: Andrew Morton @ 2004-06-18  4:36 UTC (permalink / raw)
  To: Sean Neakums; +Cc: linux-kernel

Sean Neakums <sneakums@zork.net> wrote:
>
> The 2.6.7 I built seems kind of swap-happy, apparently triggered by an
>  overnight updatedb run.  I think this also happened with
>  2.6.7-rc3-mm2.

There were corrections to logic errors in the vm scanner which will cause
increased pageout.

>  I can't seem to find anything particularly out of the
>  ordinary in the information below.  I started off with swappiness set
>  to 50 as I have for a while and dropped it twice by ten each time
>  after a swapoff/swapon.  It starts paging stuff out again pretty fast
>  after it gets the swap back.  Swap is is a dm-crypt device map.

swapoff/swapon doesn't do what you think it does.  The pages are read from
the swap device, have the ptes reattached but the pages are placed on the
inactive list, from where they will be swapped out again very easily after
a swapon.

Which is really the correct behaviour: if these pages were earlier swapped
out then clearly they are the right ones to swap out when swap again
becomes available.

But that doesn't seem very important, and the old swapoff/swapon trick is
useful, so...

--- 25/mm/swapfile.c~swapoff-activate-pages	2004-06-17 21:27:41.704568280 -0700
+++ 25-akpm/mm/swapfile.c	2004-06-17 21:28:35.417402688 -0700
@@ -467,6 +467,13 @@ static unsigned long unuse_pmd(struct vm
 		if (unlikely(pte_same(*pte, swp_pte))) {
 			unuse_pte(vma, offset + address, pte, entry, page);
 			pte_unmap(pte);
+
+			/*
+			 * Move the page to the active list so it is not
+			 * immediately swapped out again after swapon.
+			 */
+			activate_page(page);
+
 			/* add 1 since address may be 0 */
 			return 1 + offset + address;
 		}
_


^ permalink raw reply	[flat|nested] 40+ messages in thread

* 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
                   ` (9 preceding siblings ...)
  2004-06-17 15:22 ` Linux 2.6.7 Sean Neakums
@ 2004-06-18 16:37 ` Brice Goglin
  2004-06-18 16:41   ` Brice Goglin
  10 siblings, 1 reply; 40+ messages in thread
From: Brice Goglin @ 2004-06-18 16:37 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

Hi Linus,

I am using Samba on my Compaq Evo N600c with an uptodate Debian
Testing and a 2.6.7 (.config attached).

When listing a samba mount point just after mounting it, 
I get this oops. I don't know why nautilus is used here, I
just called 'ls'.

I get the same oops with 2.6.7-rc3 (can't try previous releases).

Regards.

Brice Goglin



smb_lookup: find //.Trash-bgoglin failed, error=-5
Unable to handle kernel NULL pointer dereference at virtual address 00000000
 printing eip:
00000000
*pde = 00000000
Oops: 0000 [#1]
PREEMPT 
Modules linked in: dm_mod
CPU:    0
EIP:    0060:[<00000000>]    Not tainted
EFLAGS: 00010246   (2.6.7) 
EIP is at 0x0
eax: dfc21ccc   ebx: e160cf30   ecx: c01684c0   edx: e7fa4bd8
esi: e160cfa0   edi: c13f0780   ebp: df839740   esp: e160cefc
ds: 007b   es: 007b   ss: 0068
Process nautilus (pid: 2649, threadinfo=e160c000 task=e101f3d0)
Stack: c01f1536 df839740 e160cfa0 c01684c0 e160cf30 00000000 00000002 00000004 
       df7faeb0 00000000 df83c000 e7fa4bd8 df8acbe0 00000000 fffd18ab 00000000 
       00000000 00000000 df83c000 00000002 00000000 00000000 00000001 00000004 
Call Trace:
[<c01f1536>] smb_readdir+0x3e6/0x580
[<c01684c0>] filldir64+0x0/0x100
[<c01681b9>] vfs_readdir+0x89/0xa0
[<c01684c0>] filldir64+0x0/0x100
[<c016862e>] sys_getdents64+0x6e/0xaa
[<c01684c0>] filldir64+0x0/0x100
[<c010510b>] syscall_call+0x7/0xb
       
  Code:  Bad EIP value.
       


On 16/06/2004-08:00, Linus Torvalds wrote:

> 
> Ok, it's out there. The most notable change may be the one-liner that 
> should fix the embarrassing FP exception problem. Other than that, we've 
> had a random collection of fixes and updates since rc3. cifs, ntfs, 
> cpufreq. ide, sparc, s390.
> 
> Full 2.6.6->2.6.7 changelog available at the same places the release is.
> 
> 		Linus

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 16:37 ` 2.6.7 Samba OOPS (in smb_readdir) Brice Goglin
@ 2004-06-18 16:41   ` Brice Goglin
  2004-06-18 17:11     ` Zwane Mwaikambo
  0 siblings, 1 reply; 40+ messages in thread
From: Brice Goglin @ 2004-06-18 16:41 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1988 bytes --]

Here comes the .config.


On 18/06/2004-18:37, Brice Goglin wrote:

> Hi Linus,
> 
> I am using Samba on my Compaq Evo N600c with an uptodate Debian
> Testing and a 2.6.7 (.config attached).
> 
> When listing a samba mount point just after mounting it, 
> I get this oops. I don't know why nautilus is used here, I
> just called 'ls'.
> 
> I get the same oops with 2.6.7-rc3 (can't try previous releases).
> 
> Regards.
> 
> Brice Goglin
> 
> 
> 
> smb_lookup: find //.Trash-bgoglin failed, error=-5
> Unable to handle kernel NULL pointer dereference at virtual address 00000000
>  printing eip:
> 00000000
> *pde = 00000000
> Oops: 0000 [#1]
> PREEMPT 
> Modules linked in: dm_mod
> CPU:    0
> EIP:    0060:[<00000000>]    Not tainted
> EFLAGS: 00010246   (2.6.7) 
> EIP is at 0x0
> eax: dfc21ccc   ebx: e160cf30   ecx: c01684c0   edx: e7fa4bd8
> esi: e160cfa0   edi: c13f0780   ebp: df839740   esp: e160cefc
> ds: 007b   es: 007b   ss: 0068
> Process nautilus (pid: 2649, threadinfo=e160c000 task=e101f3d0)
> Stack: c01f1536 df839740 e160cfa0 c01684c0 e160cf30 00000000 00000002 00000004 
>        df7faeb0 00000000 df83c000 e7fa4bd8 df8acbe0 00000000 fffd18ab 00000000 
>        00000000 00000000 df83c000 00000002 00000000 00000000 00000001 00000004 
> Call Trace:
> [<c01f1536>] smb_readdir+0x3e6/0x580
> [<c01684c0>] filldir64+0x0/0x100
> [<c01681b9>] vfs_readdir+0x89/0xa0
> [<c01684c0>] filldir64+0x0/0x100
> [<c016862e>] sys_getdents64+0x6e/0xaa
> [<c01684c0>] filldir64+0x0/0x100
> [<c010510b>] syscall_call+0x7/0xb
>        
>   Code:  Bad EIP value.
>        
> 
> 
> On 16/06/2004-08:00, Linus Torvalds wrote:
> 
> > 
> > Ok, it's out there. The most notable change may be the one-liner that 
> > should fix the embarrassing FP exception problem. Other than that, we've 
> > had a random collection of fixes and updates since rc3. cifs, ntfs, 
> > cpufreq. ide, sparc, s390.
> > 
> > Full 2.6.6->2.6.7 changelog available at the same places the release is.
> > 
> > 		Linus

[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 34391 bytes --]

#
# Automatically generated make config: don't edit
#
CONFIG_X86=y
CONFIG_MMU=y
CONFIG_UID16=y
CONFIG_GENERIC_ISA_DMA=y

#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
# CONFIG_CLEAN_COMPILE is not set
# CONFIG_STANDALONE is not set
CONFIG_BROKEN=y
CONFIG_BROKEN_ON_SMP=y

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
# CONFIG_POSIX_MQUEUE is not set
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
# CONFIG_AUDIT is not set
CONFIG_LOG_BUF_SHIFT=14
CONFIG_HOTPLUG=y
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y
CONFIG_IOSCHED_CFQ=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set

#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
CONFIG_MODULE_FORCE_UNLOAD=y
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
CONFIG_KMOD=y

#
# Processor type and features
#
CONFIG_X86_PC=y
# CONFIG_X86_ELAN is not set
# CONFIG_X86_VOYAGER is not set
# CONFIG_X86_NUMAQ is not set
# CONFIG_X86_SUMMIT is not set
# CONFIG_X86_BIGSMP is not set
# CONFIG_X86_VISWS is not set
# CONFIG_X86_GENERICARCH is not set
# CONFIG_X86_ES7000 is not set
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
# CONFIG_M686 is not set
# CONFIG_MPENTIUMII is not set
CONFIG_MPENTIUMIII=y
# CONFIG_MPENTIUMM is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MK8 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
# CONFIG_MVIAC3_2 is not set
# CONFIG_X86_GENERIC is not set
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_INTEL_USERCOPY=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
# CONFIG_SMP is not set
CONFIG_PREEMPT=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
CONFIG_X86_TSC=y
CONFIG_X86_MCE=y
CONFIG_X86_MCE_NONFATAL=y
# CONFIG_X86_MCE_P4THERMAL is not set
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
# CONFIG_X86_MSR is not set
# CONFIG_X86_CPUID is not set

#
# Firmware Drivers
#
# CONFIG_EDD is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_EFI is not set
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_REGPARM is not set

#
# Power management options (ACPI, APM)
#
CONFIG_PM=y
CONFIG_SOFTWARE_SUSPEND=y
CONFIG_PM_DISK=y
CONFIG_PM_DISK_PARTITION=""

#
# ACPI (Advanced Configuration and Power Interface) Support
#
CONFIG_ACPI=y
CONFIG_ACPI_BOOT=y
CONFIG_ACPI_INTERPRETER=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_TOSHIBA is not set
CONFIG_ACPI_DEBUG=y
CONFIG_ACPI_BUS=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_PCI=y
CONFIG_ACPI_SYSTEM=y
CONFIG_X86_PM_TIMER=y

#
# APM (Advanced Power Management) BIOS Support
#
CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
# CONFIG_APM_DO_ENABLE is not set
# CONFIG_APM_CPU_IDLE is not set
# CONFIG_APM_DISPLAY_BLANK is not set
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
# CONFIG_APM_REAL_MODE_POWER_OFF is not set

#
# CPU Frequency scaling
#
CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_PROC_INTF=y
CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_24_API=y
CONFIG_CPU_FREQ_TABLE=y

#
# CPUFreq processor drivers
#
# CONFIG_X86_ACPI_CPUFREQ is not set
# CONFIG_X86_POWERNOW_K6 is not set
# CONFIG_X86_POWERNOW_K7 is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_GX_SUSPMOD is not set
CONFIG_X86_SPEEDSTEP_CENTRINO=y
CONFIG_X86_SPEEDSTEP_CENTRINO_TABLE=y
# CONFIG_X86_SPEEDSTEP_CENTRINO_ACPI is not set
CONFIG_X86_SPEEDSTEP_ICH=y
# CONFIG_X86_SPEEDSTEP_SMI is not set
# CONFIG_X86_P4_CLOCKMOD is not set
CONFIG_X86_SPEEDSTEP_LIB=y
# CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK is not set
# CONFIG_X86_LONGRUN is not set
# CONFIG_X86_LONGHAUL is not set

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCI_USE_VECTOR is not set
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# PCMCIA/CardBus support
#
CONFIG_PCMCIA=y
# CONFIG_PCMCIA_DEBUG is not set
CONFIG_YENTA=y
CONFIG_CARDBUS=y
# CONFIG_I82092 is not set
# CONFIG_I82365 is not set
# CONFIG_TCIC is not set
CONFIG_PCMCIA_PROBE=y

#
# PCI Hotplug Support
#
CONFIG_HOTPLUG_PCI=y
CONFIG_HOTPLUG_PCI_FAKE=y
CONFIG_HOTPLUG_PCI_COMPAQ=y
CONFIG_HOTPLUG_PCI_COMPAQ_NVRAM=y
# CONFIG_HOTPLUG_PCI_IBM is not set
# CONFIG_HOTPLUG_PCI_ACPI is not set
# CONFIG_HOTPLUG_PCI_CPCI is not set
# CONFIG_HOTPLUG_PCI_PCIE is not set
# CONFIG_HOTPLUG_PCI_SHPC is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_AOUT=y
CONFIG_BINFMT_MISC=y

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set

#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set

#
# Parallel port support
#
CONFIG_PARPORT=y
CONFIG_PARPORT_PC=y
CONFIG_PARPORT_PC_CML1=y
# CONFIG_PARPORT_SERIAL is not set
# CONFIG_PARPORT_PC_FIFO is not set
# CONFIG_PARPORT_PC_SUPERIO is not set
# CONFIG_PARPORT_PC_PCMCIA is not set
# CONFIG_PARPORT_OTHER is not set
# CONFIG_PARPORT_1284 is not set

#
# Plug and Play support
#
CONFIG_PNP=y
# CONFIG_PNP_DEBUG is not set

#
# Protocols
#
CONFIG_ISAPNP=y
CONFIG_PNPBIOS=y
# CONFIG_PNPBIOS_PROC_FS is not set

#
# Block devices
#
# CONFIG_BLK_DEV_FD is not set
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_CARMEL is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_LBD is not set

#
# ATA/ATAPI/MFM/RLL support
#
CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y

#
# Please see Documentation/ide.txt for help/info on IDE drives
#
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDECS is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
# CONFIG_BLK_DEV_IDESCSI is not set
CONFIG_IDE_TASK_IOCTL=y
CONFIG_IDE_TASKFILE_IO=y

#
# IDE chipset support/bugfixes
#
CONFIG_IDE_GENERIC=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_IDEPNP is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_BLK_DEV_GENERIC=y
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEDMA_PCI=y
# CONFIG_BLK_DEV_IDEDMA_FORCED is not set
CONFIG_IDEDMA_PCI_AUTO=y
# CONFIG_IDEDMA_ONLYDISK is not set
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_BLK_DEV_ATIIXP is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_TRIFLEX is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5520 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_BLK_DEV_HPT366 is not set
# CONFIG_BLK_DEV_SC1200 is not set
CONFIG_BLK_DEV_PIIX=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_PDC202XX_OLD is not set
# CONFIG_BLK_DEV_PDC202XX_NEW is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIIMAGE is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_ARM is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_IVB is not set
CONFIG_IDEDMA_AUTO=y
# CONFIG_BLK_DEV_HD is not set

#
# SCSI device support
#
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y

#
# SCSI support type (disk, tape, CD-ROM)
#
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=m
# CONFIG_BLK_DEV_SR_VENDOR is not set
CONFIG_CHR_DEV_SG=m

#
# Some SCSI devices (e.g. CD jukebox) support multiple LUNs
#
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set

#
# SCSI Transport Attributes
#
# CONFIG_SCSI_SPI_ATTRS is not set
# CONFIG_SCSI_FC_ATTRS is not set

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_IPR is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
CONFIG_SCSI_QLA2XXX=y
# CONFIG_SCSI_QLA21XX is not set
# CONFIG_SCSI_QLA22XX is not set
# CONFIG_SCSI_QLA2300 is not set
# CONFIG_SCSI_QLA2322 is not set
# CONFIG_SCSI_QLA6312 is not set
# CONFIG_SCSI_QLA6322 is not set
# CONFIG_SCSI_SEAGATE is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_NSP32 is not set
# CONFIG_SCSI_DEBUG is not set

#
# PCMCIA SCSI adapter support
#
# CONFIG_PCMCIA_AHA152X is not set
# CONFIG_PCMCIA_FDOMAIN is not set
# CONFIG_PCMCIA_NINJA_SCSI is not set
# CONFIG_PCMCIA_QLOGIC is not set
# CONFIG_PCMCIA_SYM53C500 is not set

#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
# CONFIG_BLK_DEV_MD is not set
CONFIG_BLK_DEV_DM=m
# CONFIG_DM_CRYPT is not set

#
# Fusion MPT device support
#
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_IEEE1394 is not set

#
# I2O device support
#
CONFIG_I2O=y
# CONFIG_I2O_CONFIG is not set
CONFIG_I2O_BLOCK=y
CONFIG_I2O_SCSI=y
CONFIG_I2O_PROC=y

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
# CONFIG_NETLINK_DEV is not set
CONFIG_UNIX=y
CONFIG_NET_KEY=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y

#
# IP: Virtual Server Configuration
#
# CONFIG_IP_VS is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
# CONFIG_NETFILTER_DEBUG is not set

#
# IP: Netfilter Configuration
#
CONFIG_IP_NF_CONNTRACK=m
CONFIG_IP_NF_FTP=m
CONFIG_IP_NF_IRC=m
CONFIG_IP_NF_TFTP=m
CONFIG_IP_NF_AMANDA=m
CONFIG_IP_NF_QUEUE=m
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_HELPER=m
CONFIG_IP_NF_MATCH_STATE=m
CONFIG_IP_NF_MATCH_CONNTRACK=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
CONFIG_IP_NF_NAT=m
CONFIG_IP_NF_NAT_NEEDED=y
CONFIG_IP_NF_TARGET_MASQUERADE=m
CONFIG_IP_NF_TARGET_REDIRECT=m
CONFIG_IP_NF_TARGET_NETMAP=m
CONFIG_IP_NF_TARGET_SAME=m
CONFIG_IP_NF_NAT_LOCAL=y
CONFIG_IP_NF_NAT_SNMP_BASIC=m
CONFIG_IP_NF_NAT_IRC=m
CONFIG_IP_NF_NAT_FTP=m
CONFIG_IP_NF_NAT_TFTP=m
CONFIG_IP_NF_NAT_AMANDA=m
CONFIG_IP_NF_MANGLE=m
CONFIG_IP_NF_TARGET_TOS=m
CONFIG_IP_NF_TARGET_ECN=m
CONFIG_IP_NF_TARGET_DSCP=m
CONFIG_IP_NF_TARGET_MARK=m
CONFIG_IP_NF_TARGET_CLASSIFY=m
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=m
CONFIG_IP_NF_ARPFILTER=m
CONFIG_IP_NF_ARP_MANGLE=m
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set
# CONFIG_IP_NF_RAW is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set

#
# SCTP Configuration (EXPERIMENTAL)
#
# CONFIG_IP_SCTP is not set
# CONFIG_ATM is not set
# CONFIG_BRIDGE is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_DECNET is not set
# CONFIG_LLC2 is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set

#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_HAMRADIO is not set
CONFIG_IRDA=m

#
# IrDA protocols
#
CONFIG_IRLAN=m
CONFIG_IRNET=m
CONFIG_IRCOMM=m
CONFIG_IRDA_ULTRA=y

#
# IrDA options
#
CONFIG_IRDA_CACHE_LAST_LSAP=y
CONFIG_IRDA_FAST_RR=y
CONFIG_IRDA_DEBUG=y

#
# Infrared-port device drivers
#

#
# SIR device drivers
#
CONFIG_IRTTY_SIR=m

#
# Dongle support
#
# CONFIG_DONGLE is not set

#
# Old SIR device drivers
#
CONFIG_IRPORT_SIR=m

#
# Old Serial dongle support
#
# CONFIG_DONGLE_OLD is not set

#
# FIR device drivers
#
# CONFIG_USB_IRDA is not set
# CONFIG_SIGMATEL_FIR is not set
# CONFIG_NSC_FIR is not set
# CONFIG_WINBOND_FIR is not set
# CONFIG_TOSHIBA_FIR is not set
# CONFIG_SMC_IRCC_FIR is not set
# CONFIG_ALI_FIR is not set
# CONFIG_VLSI_FIR is not set
# CONFIG_VIA_FIR is not set
# CONFIG_BT is not set
CONFIG_NETDEVICES=y
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
CONFIG_TUN=m
# CONFIG_NET_SB1000 is not set

#
# ARCnet devices
#
# CONFIG_ARCNET is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=y
CONFIG_E100_NAPI=y
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_S2IO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set

#
# Wireless LAN (non-hamradio)
#
CONFIG_NET_RADIO=y

#
# Obsolete Wireless cards support (pre-802.11)
#
# CONFIG_STRIP is not set
# CONFIG_ARLAN is not set
# CONFIG_WAVELAN is not set
# CONFIG_PCMCIA_WAVELAN is not set
# CONFIG_PCMCIA_NETWAVE is not set

#
# Wireless 802.11 Frequency Hopping cards support
#
# CONFIG_PCMCIA_RAYCS is not set

#
# Wireless 802.11b ISA/PCI cards support
#
# CONFIG_AIRO is not set
CONFIG_HERMES=m
# CONFIG_PLX_HERMES is not set
# CONFIG_TMD_HERMES is not set
# CONFIG_PCI_HERMES is not set
# CONFIG_ATMEL is not set

#
# Wireless 802.11b Pcmcia/Cardbus cards support
#
CONFIG_PCMCIA_HERMES=m
# CONFIG_AIRO_CS is not set
# CONFIG_PCMCIA_WL3501 is not set

#
# Prism GT/Duette 802.11(a/b/g) PCI/Cardbus support
#
CONFIG_PRISM54=m
CONFIG_NET_WIRELESS=y

#
# PCMCIA network device support
#
CONFIG_NET_PCMCIA=y
# CONFIG_PCMCIA_3C589 is not set
# CONFIG_PCMCIA_3C574 is not set
# CONFIG_PCMCIA_FMVJ18X is not set
# CONFIG_PCMCIA_PCNET is not set
# CONFIG_PCMCIA_NMCLAN is not set
# CONFIG_PCMCIA_SMC91C92 is not set
# CONFIG_PCMCIA_XIRC2PS is not set
# CONFIG_PCMCIA_AXNET is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
CONFIG_PLIP=m
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
CONFIG_PPP_DEFLATE=m
CONFIG_PPP_BSDCOMP=m
CONFIG_PPPOE=m
CONFIG_SLIP=m
# CONFIG_SLIP_COMPRESSED is not set
# CONFIG_SLIP_SMART is not set
# CONFIG_SLIP_MODE_SLIP6 is not set
# CONFIG_NET_FC is not set
CONFIG_SHAPER=m
# CONFIG_NETCONSOLE is not set

#
# ISDN subsystem
#
# CONFIG_ISDN is not set

#
# Telephony Support
#
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y

#
# Userland interfaces
#
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_PSAUX=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_TSDEV is not set
CONFIG_INPUT_EVDEV=y
# CONFIG_INPUT_EVBUG is not set

#
# Input I/O drivers
#
# CONFIG_GAMEPORT is not set
CONFIG_SOUND_GAMEPORT=y
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
# CONFIG_SERIO_CT82C710 is not set
# CONFIG_SERIO_PARKBD is not set
CONFIG_SERIO_PCIPS2=m

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_MOUSE_VSXXXAA is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
CONFIG_INPUT_MISC=y
CONFIG_INPUT_PCSPKR=m
# CONFIG_INPUT_UINPUT is not set

#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_HW_CONSOLE=y
# CONFIG_SERIAL_NONSTANDARD is not set

#
# Serial drivers
#
CONFIG_SERIAL_8250=y
# CONFIG_SERIAL_8250_CONSOLE is not set
# CONFIG_SERIAL_8250_CS is not set
# CONFIG_SERIAL_8250_ACPI is not set
CONFIG_SERIAL_8250_NR_UARTS=4
# CONFIG_SERIAL_8250_EXTENDED is not set

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_UNIX98_PTYS=y
CONFIG_LEGACY_PTYS=y
CONFIG_LEGACY_PTY_COUNT=256
CONFIG_PRINTER=y
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
# CONFIG_TIPAR is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
CONFIG_HW_RANDOM=y
CONFIG_NVRAM=y
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_ATI is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_AMD64 is not set
CONFIG_AGP_INTEL=y
# CONFIG_AGP_INTEL_MCH is not set
# CONFIG_AGP_NVIDIA is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_EFFICEON is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
CONFIG_DRM_RADEON=y
# CONFIG_DRM_I810 is not set
# CONFIG_DRM_I830 is not set
# CONFIG_DRM_MGA is not set
# CONFIG_DRM_SIS is not set

#
# PCMCIA character devices
#
# CONFIG_SYNCLINK_CS is not set
# CONFIG_MWAVE is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_HANGCHECK_TIMER is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y

#
# I2C Hardware Bus support
#
CONFIG_I2C_ALI1535=y
# CONFIG_I2C_ALI1563 is not set
CONFIG_I2C_ALI15X3=y
CONFIG_I2C_AMD756=y
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
# CONFIG_I2C_ISA is not set
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PARPORT is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_VIA is not set
# CONFIG_I2C_VIAPRO is not set
# CONFIG_I2C_VOODOO3 is not set

#
# Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set
# CONFIG_SENSORS_ADM1021 is not set
# CONFIG_SENSORS_ASB100 is not set
# CONFIG_SENSORS_DS1621 is not set
# CONFIG_SENSORS_FSCHER is not set
# CONFIG_SENSORS_GL518SM is not set
# CONFIG_SENSORS_IT87 is not set
# CONFIG_SENSORS_LM75 is not set
# CONFIG_SENSORS_LM78 is not set
# CONFIG_SENSORS_LM80 is not set
# CONFIG_SENSORS_LM83 is not set
# CONFIG_SENSORS_LM85 is not set
# CONFIG_SENSORS_LM90 is not set
# CONFIG_SENSORS_MAX1619 is not set
# CONFIG_SENSORS_VIA686A is not set
# CONFIG_SENSORS_W83781D is not set
# CONFIG_SENSORS_W83L785TS is not set
# CONFIG_SENSORS_W83627HF is not set

#
# Other I2C Chip support
#
# CONFIG_SENSORS_EEPROM is not set
# CONFIG_SENSORS_PCF8574 is not set
# CONFIG_SENSORS_PCF8591 is not set
# CONFIG_SENSORS_RTC8564 is not set
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_I2C_DEBUG_CHIP is not set

#
# Misc devices
#
# CONFIG_IBM_ASM is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

#
# Digital Video Broadcasting Devices
#
# CONFIG_DVB is not set

#
# Graphics support
#
CONFIG_FB=y
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_CYBER2000 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_VGA16 is not set
# CONFIG_FB_VESA is not set
CONFIG_VIDEO_SELECT=y
# CONFIG_FB_HGA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_I810 is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON_OLD is not set
CONFIG_FB_RADEON=y
CONFIG_FB_RADEON_I2C=y
# CONFIG_FB_RADEON_DEBUG is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_SIS is not set
# CONFIG_FB_NEOMAGIC is not set
# CONFIG_FB_KYRO is not set
# CONFIG_FB_3DFX is not set
# CONFIG_FB_VOODOO1 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_PCI_CONSOLE=y
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
CONFIG_FONT_8x16=y
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
# CONFIG_FONT_MINI_4x6 is not set
# CONFIG_FONT_SUN8x16 is not set
# CONFIG_FONT_SUN12x22 is not set

#
# Logo configuration
#
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
CONFIG_SND_RAWMIDI=y
CONFIG_SND_SEQUENCER=y
# CONFIG_SND_SEQ_DUMMY is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
CONFIG_SND_MPU401_UART=y
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_VIRMIDI is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# ISA devices
#
# CONFIG_SND_AD1816A is not set
# CONFIG_SND_AD1848 is not set
# CONFIG_SND_CS4231 is not set
# CONFIG_SND_CS4232 is not set
# CONFIG_SND_CS4236 is not set
# CONFIG_SND_ES968 is not set
# CONFIG_SND_ES1688 is not set
# CONFIG_SND_ES18XX is not set
# CONFIG_SND_GUSCLASSIC is not set
# CONFIG_SND_GUSEXTREME is not set
# CONFIG_SND_GUSMAX is not set
# CONFIG_SND_INTERWAVE is not set
# CONFIG_SND_INTERWAVE_STB is not set
# CONFIG_SND_OPTI92X_AD1848 is not set
# CONFIG_SND_OPTI92X_CS4231 is not set
# CONFIG_SND_OPTI93X is not set
# CONFIG_SND_SB8 is not set
# CONFIG_SND_SB16 is not set
# CONFIG_SND_SBAWE is not set
# CONFIG_SND_WAVEFRONT is not set
# CONFIG_SND_ALS100 is not set
# CONFIG_SND_AZT2320 is not set
# CONFIG_SND_CMI8330 is not set
# CONFIG_SND_DT019X is not set
# CONFIG_SND_OPL3SA2 is not set
# CONFIG_SND_SGALAXY is not set
# CONFIG_SND_SSCAPE is not set

#
# PCI devices
#
CONFIG_SND_AC97_CODEC=y
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_AU8810 is not set
# CONFIG_SND_AU8820 is not set
# CONFIG_SND_AU8830 is not set
# CONFIG_SND_AZT3328 is not set
# CONFIG_SND_BT87X is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_YMFPCI is not set
# CONFIG_SND_ALS4000 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_ENS1370 is not set
# CONFIG_SND_ENS1371 is not set
# CONFIG_SND_ES1938 is not set
# CONFIG_SND_ES1968 is not set
CONFIG_SND_MAESTRO3=y
# CONFIG_SND_FM801 is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
CONFIG_SND_INTEL8X0=y
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VX222 is not set

#
# ALSA USB devices
#
# CONFIG_SND_USB_AUDIO is not set

#
# PCMCIA devices
#
# CONFIG_SND_VXPOCKET is not set
# CONFIG_SND_VXP440 is not set
# CONFIG_SND_PDAUDIOCF is not set

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set

#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_DYNAMIC_MINORS is not set

#
# USB Host Controller Drivers
#
CONFIG_USB_EHCI_HCD=y
# CONFIG_USB_EHCI_SPLIT_ISO is not set
# CONFIG_USB_EHCI_ROOT_HUB_TT is not set
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y

#
# USB Device Class drivers
#
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH_TTY is not set
# CONFIG_USB_MIDI is not set
# CONFIG_USB_ACM is not set
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_SDDR55 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set

#
# USB Human Interface Devices (HID)
#
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
# CONFIG_HID_FF is not set
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_AIPTEK is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_KBTAB is not set
# CONFIG_USB_POWERMATE is not set
# CONFIG_USB_MTOUCH is not set
# CONFIG_USB_EGALAX is not set
# CONFIG_USB_XPAD is not set
# CONFIG_USB_ATI_REMOTE is not set

#
# USB Imaging devices
#
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set

#
# USB Multimedia devices
#
# CONFIG_USB_DABUSB is not set

#
# Video4Linux support is needed for USB Multimedia device support
#

#
# USB Network adaptors
#
# CONFIG_USB_CATC is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_RTL8150 is not set
# CONFIG_USB_USBNET is not set

#
# USB port drivers
#
# CONFIG_USB_USS720 is not set

#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set

#
# USB Miscellaneous drivers
#
# CONFIG_USB_EMI62 is not set
# CONFIG_USB_EMI26 is not set
# CONFIG_USB_TIGL is not set
# CONFIG_USB_AUERSWALD is not set
# CONFIG_USB_RIO500 is not set
# CONFIG_USB_LEGOTOWER is not set
# CONFIG_USB_LCD is not set
# CONFIG_USB_LED is not set
# CONFIG_USB_CYTHERM is not set
# CONFIG_USB_PHIDGETSERVO is not set
# CONFIG_USB_TEST is not set

#
# USB Gadget Support
#
# CONFIG_USB_GADGET is not set

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
CONFIG_REISERFS_CHECK=y
CONFIG_REISERFS_PROC_INFO=y
CONFIG_REISERFS_FS_XATTR=y
CONFIG_REISERFS_FS_POSIX_ACL=y
CONFIG_REISERFS_FS_SECURITY=y
# CONFIG_JFS_FS is not set
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
# CONFIG_MINIX_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
CONFIG_AUTOFS4_FS=y

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=y
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
CONFIG_ZISOFS_FS=y
CONFIG_UDF_FS=y

#
# DOS/FAT/NT Filesystems
#
CONFIG_FAT_FS=y
CONFIG_MSDOS_FS=y
CONFIG_VFAT_FS=y
CONFIG_NTFS_FS=m
CONFIG_NTFS_DEBUG=y
CONFIG_NTFS_RW=y

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_SYSFS=y
CONFIG_DEVFS_FS=y
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
# CONFIG_DEVPTS_FS_XATTR is not set
CONFIG_TMPFS=y
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
CONFIG_RAMFS=y

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_HFSPLUS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EFS_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set

#
# Network File Systems
#
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
# CONFIG_NFSD_TCP is not set
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=y
CONFIG_SUNRPC=y
# CONFIG_RPCSEC_GSS_KRB5 is not set
CONFIG_SMB_FS=y
CONFIG_SMB_NLS_DEFAULT=y
CONFIG_SMB_NLS_REMOTE="cp850"
# CONFIG_CIFS is not set
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y

#
# Native Language Support
#
CONFIG_NLS=y
CONFIG_NLS_DEFAULT="iso8859-1"
CONFIG_NLS_CODEPAGE_437=y
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not set
CONFIG_NLS_CODEPAGE_850=y
# CONFIG_NLS_CODEPAGE_852 is not set
# CONFIG_NLS_CODEPAGE_855 is not set
# CONFIG_NLS_CODEPAGE_857 is not set
# CONFIG_NLS_CODEPAGE_860 is not set
# CONFIG_NLS_CODEPAGE_861 is not set
# CONFIG_NLS_CODEPAGE_862 is not set
# CONFIG_NLS_CODEPAGE_863 is not set
# CONFIG_NLS_CODEPAGE_864 is not set
# CONFIG_NLS_CODEPAGE_865 is not set
# CONFIG_NLS_CODEPAGE_866 is not set
# CONFIG_NLS_CODEPAGE_869 is not set
# CONFIG_NLS_CODEPAGE_936 is not set
# CONFIG_NLS_CODEPAGE_950 is not set
# CONFIG_NLS_CODEPAGE_932 is not set
# CONFIG_NLS_CODEPAGE_949 is not set
# CONFIG_NLS_CODEPAGE_874 is not set
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=y

#
# Profiling support
#
# CONFIG_PROFILING is not set

#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
CONFIG_EARLY_PRINTK=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_FRAME_POINTER is not set
CONFIG_4KSTACKS=y
CONFIG_X86_FIND_SMP_CONFIG=y
CONFIG_X86_MPPARSE=y

#
# Security options
#
# CONFIG_SECURITY is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
# CONFIG_CRYPTO_ARC4 is not set
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_MICHAEL_MIC=m
CONFIG_CRYPTO_CRC32C=m
# CONFIG_CRYPTO_TEST is not set

#
# Library routines
#
CONFIG_CRC32=m
CONFIG_LIBCRC32C=m
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y
CONFIG_X86_BIOS_REBOOT=y
CONFIG_X86_STD_RESOURCES=y
CONFIG_PC=y

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 16:41   ` Brice Goglin
@ 2004-06-18 17:11     ` Zwane Mwaikambo
  2004-06-18 19:00       ` Christophe Saout
  0 siblings, 1 reply; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-18 17:11 UTC (permalink / raw)
  To: Brice Goglin; +Cc: Linus Torvalds, linux-kernel

On Fri, 18 Jun 2004, Brice Goglin wrote:

> Here comes the .config.

Hello Brice,
	It's a known issue currently being tracked with the bugzilla entry
at http://bugzilla.kernel.org/show_bug.cgi?id=1671

	Zwane

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 17:11     ` Zwane Mwaikambo
@ 2004-06-18 19:00       ` Christophe Saout
  2004-06-18 19:22         ` Christophe Saout
  0 siblings, 1 reply; 40+ messages in thread
From: Christophe Saout @ 2004-06-18 19:00 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Brice Goglin, Linus Torvalds, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 511 bytes --]

Am Fr, den 18.06.2004 um 13:11 Uhr -0400 schrieb Zwane Mwaikambo:

> 	It's a known issue currently being tracked with the bugzilla entry
> at http://bugzilla.kernel.org/show_bug.cgi?id=1671

Hey, nice.

I've got a nearly 100% reproducability of the problem here (FAM +
nautilus + hal.hotplug or something like that, I'm always getting this
Oops in nautilus trying to do something with its trash folder when I'm
mounting a remote volume). I'll try this patch and tell you if it's
working (for me).


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 19:00       ` Christophe Saout
@ 2004-06-18 19:22         ` Christophe Saout
  2004-06-18 19:52           ` Zwane Mwaikambo
  2004-06-19 20:35           ` Zwane Mwaikambo
  0 siblings, 2 replies; 40+ messages in thread
From: Christophe Saout @ 2004-06-18 19:22 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Brice Goglin, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

Am Fr, den 18.06.2004 um 21:00 Uhr +0200 schrieb Christophe Saout:

> > 	It's a known issue currently being tracked with the bugzilla entry
> > at http://bugzilla.kernel.org/show_bug.cgi?id=1671
> 
> Hey, nice.
> 
> I've got a nearly 100% reproducability of the problem here (FAM +
> nautilus + hal.hotplug or something like that, I'm always getting this
> Oops in nautilus trying to do something with its trash folder when I'm
> mounting a remote volume). I'll try this patch and tell you if it's
> working (for me).

Well, it's not. :(

The oops is gone but the processes are still hanging. I'm posting the
SysRq-T trace on bugzilla. Hope it helps. If you need some help
debugging the problem, please tell me if I can do something.


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 19:22         ` Christophe Saout
@ 2004-06-18 19:52           ` Zwane Mwaikambo
  2004-06-19 20:35           ` Zwane Mwaikambo
  1 sibling, 0 replies; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-18 19:52 UTC (permalink / raw)
  To: Christophe Saout; +Cc: Brice Goglin, linux-kernel

On Fri, 18 Jun 2004, Christophe Saout wrote:

> Am Fr, den 18.06.2004 um 21:00 Uhr +0200 schrieb Christophe Saout:
>
> > > 	It's a known issue currently being tracked with the bugzilla entry
> > > at http://bugzilla.kernel.org/show_bug.cgi?id=1671
> >
> > Hey, nice.
> >
> > I've got a nearly 100% reproducability of the problem here (FAM +
> > nautilus + hal.hotplug or something like that, I'm always getting this
> > Oops in nautilus trying to do something with its trash folder when I'm
> > mounting a remote volume). I'll try this patch and tell you if it's
> > working (for me).
>
> Well, it's not. :(
>
> The oops is gone but the processes are still hanging. I'm posting the
> SysRq-T trace on bugzilla. Hope it helps. If you need some help
> debugging the problem, please tell me if I can do something.

Ah ok, thanks for testing it, i'll have a new patch up later on.

	Zwane

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-18 19:22         ` Christophe Saout
  2004-06-18 19:52           ` Zwane Mwaikambo
@ 2004-06-19 20:35           ` Zwane Mwaikambo
  2004-06-19 20:49             ` Zwane Mwaikambo
  1 sibling, 1 reply; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-19 20:35 UTC (permalink / raw)
  To: Christophe Saout; +Cc: Brice Goglin, Linux Kernel

On Fri, 18 Jun 2004, Christophe Saout wrote:

> Well, it's not. :(
>
> The oops is gone but the processes are still hanging. I'm posting the
> SysRq-T trace on bugzilla. Hope it helps. If you need some help
> debugging the problem, please tell me if I can do something.

This is an updated debugging patch (which is also added to Bugzilla),
please give this a spin. There are still a few issues with this patch but
lets try at least avoid oopsing for now.

Index: linux-2.6.7/include/linux/smb_fs_sb.h
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/include/linux/smb_fs_sb.h,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 smb_fs_sb.h
--- linux-2.6.7/include/linux/smb_fs_sb.h	16 Jun 2004 16:49:26 -0000	1.1.1.1
+++ linux-2.6.7/include/linux/smb_fs_sb.h	19 Jun 2004 20:22:35 -0000
@@ -57,7 +57,7 @@ struct smb_sb_info {
 	unsigned int generation;
 	pid_t conn_pid;
 	struct smb_conn_opt opt;
-
+	wait_queue_head_t conn_wq;
 	struct semaphore sem;

         unsigned short     rcls; /* The error codes we received */
Index: linux-2.6.7/fs/smbfs/inode.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/fs/smbfs/inode.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 inode.c
--- linux-2.6.7/fs/smbfs/inode.c	16 Jun 2004 16:49:47 -0000	1.1.1.1
+++ linux-2.6.7/fs/smbfs/inode.c	19 Jun 2004 20:22:35 -0000
@@ -521,6 +521,7 @@ int smb_fill_super(struct super_block *s
 	server->super_block = sb;
 	server->mnt = NULL;
 	server->sock_file = NULL;
+	init_waitqueue_head(&server->conn_wq);
 	init_MUTEX(&server->sem);
 	INIT_LIST_HEAD(&server->entry);
 	INIT_LIST_HEAD(&server->xmitq);
Index: linux-2.6.7/fs/smbfs/proc.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/fs/smbfs/proc.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 proc.c
--- linux-2.6.7/fs/smbfs/proc.c	16 Jun 2004 16:49:47 -0000	1.1.1.1
+++ linux-2.6.7/fs/smbfs/proc.c	19 Jun 2004 20:23:39 -0000
@@ -56,6 +56,7 @@ static struct smb_ops smb_ops_os2;
 static struct smb_ops smb_ops_win95;
 static struct smb_ops smb_ops_winNT;
 static struct smb_ops smb_ops_unix;
+static struct smb_ops smb_ops_null;

 static void
 smb_init_dirent(struct smb_sb_info *server, struct smb_fattr *fattr);
@@ -878,7 +879,6 @@ smb_newconn(struct smb_sb_info *server,
 	server->conn_pid = current->pid;
 	server->opt = *opt;
 	server->generation += 1;
-	server->state = CONN_VALID;
 	error = 0;

 	if (server->conn_error) {
@@ -981,6 +981,9 @@ smb_newconn(struct smb_sb_info *server,
 	smbiod_wake_up();
 	if (server->opt.capabilities & SMB_CAP_UNIX)
 		smb_proc_query_cifsunix(server);
+
+	server->state = CONN_VALID;
+	wake_up_interruptible_all(&server->conn_wq);
 	return error;

 out:
@@ -2794,10 +2797,48 @@ out:
 }

 static int
+smb_proc_ops_wait(struct smb_sb_info *server)
+{
+	int result;
+
+	result = wait_event_interruptible_timeout(server->conn_wq,
+				server->state == CONN_VALID, 30*HZ);
+
+	if (!result || signal_pending(current))
+		return -EIO;
+
+	return 0;
+}
+
+static int
 smb_proc_getattr_null(struct smb_sb_info *server, struct dentry *dir,
-		      struct smb_fattr *attr)
+			  struct smb_fattr *fattr)
 {
 	return -EIO;
+#if 0
+	int result;
+
+	if (smb_proc_ops_wait(server) < 0)
+		return -EIO;
+
+	smb_init_dirent(server, fattr);
+	result = server->ops->getattr(server, dir, fattr);
+	smb_finish_dirent(server, fattr);
+
+	return result;
+#endif
+}
+
+static int
+smb_proc_readdir_null(struct file *filp, void *dirent, filldir_t filldir,
+		      struct smb_cache_control *ctl)
+{
+	struct smb_sb_info *server = server_from_dentry(filp->f_dentry);
+
+	if (smb_proc_ops_wait(server) < 0)
+		return -EIO;
+
+	return server->ops->readdir(filp, dirent, filldir, ctl);
 }

 int
@@ -3431,6 +3472,7 @@ static struct smb_ops smb_ops_unix =
 /* Place holder until real ops are in place */
 static struct smb_ops smb_ops_null =
 {
+	.readdir	= smb_proc_readdir_null,
 	.getattr	= smb_proc_getattr_null,
 };


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-19 20:35           ` Zwane Mwaikambo
@ 2004-06-19 20:49             ` Zwane Mwaikambo
  2004-06-19 20:52               ` Christophe Saout
  2004-06-20  0:27               ` Zwane Mwaikambo
  0 siblings, 2 replies; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-19 20:49 UTC (permalink / raw)
  To: Christophe Saout; +Cc: Brice Goglin, Linux Kernel

On Sat, 19 Jun 2004, Zwane Mwaikambo wrote:

> On Fri, 18 Jun 2004, Christophe Saout wrote:
>
> > Well, it's not. :(
> >
> > The oops is gone but the processes are still hanging. I'm posting the
> > SysRq-T trace on bugzilla. Hope it helps. If you need some help
> > debugging the problem, please tell me if I can do something.
>
> This is an updated debugging patch (which is also added to Bugzilla),
> please give this a spin. There are still a few issues with this patch but
> lets try at least avoid oopsing for now.

Hold on, this is buggy garbage. i'll have something in a bit.


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-19 20:49             ` Zwane Mwaikambo
@ 2004-06-19 20:52               ` Christophe Saout
  2004-06-20  0:27               ` Zwane Mwaikambo
  1 sibling, 0 replies; 40+ messages in thread
From: Christophe Saout @ 2004-06-19 20:52 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Brice Goglin, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 719 bytes --]

Am Sa, den 19.06.2004 um 16:49 Uhr -0400 schrieb Zwane Mwaikambo:

> > > The oops is gone but the processes are still hanging. I'm posting the
> > > SysRq-T trace on bugzilla. Hope it helps. If you need some help
> > > debugging the problem, please tell me if I can do something.
> >
> > This is an updated debugging patch (which is also added to Bugzilla),
> > please give this a spin. There are still a few issues with this patch but
> > lets try at least avoid oopsing for now.
> 
> Hold on, this is buggy garbage. i'll have something in a bit.

Well ok. smbiod was still hanging and all requests timed out, but I was
able to cleanly unmount the filesystem and unload the module this time.
No Oops.


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-19 20:49             ` Zwane Mwaikambo
  2004-06-19 20:52               ` Christophe Saout
@ 2004-06-20  0:27               ` Zwane Mwaikambo
  2004-06-20  0:28                 ` Christophe Saout
  1 sibling, 1 reply; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-20  0:27 UTC (permalink / raw)
  To: Christophe Saout; +Cc: Brice Goglin, Linux Kernel

On Sat, 19 Jun 2004, Zwane Mwaikambo wrote:

> On Sat, 19 Jun 2004, Zwane Mwaikambo wrote:
>
> > On Fri, 18 Jun 2004, Christophe Saout wrote:
> >
> > > Well, it's not. :(
> > >
> > > The oops is gone but the processes are still hanging. I'm posting the
> > > SysRq-T trace on bugzilla. Hope it helps. If you need some help
> > > debugging the problem, please tell me if I can do something.
> >
> > This is an updated debugging patch (which is also added to Bugzilla),
> > please give this a spin. There are still a few issues with this patch but
> > lets try at least avoid oopsing for now.
>
> Hold on, this is buggy garbage. i'll have something in a bit.

Index: linux-2.6.7/include/linux/smb_fs_sb.h
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/include/linux/smb_fs_sb.h,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 smb_fs_sb.h
--- linux-2.6.7/include/linux/smb_fs_sb.h	16 Jun 2004 16:49:26 -0000	1.1.1.1
+++ linux-2.6.7/include/linux/smb_fs_sb.h	20 Jun 2004 00:06:45 -0000
@@ -57,7 +57,8 @@ struct smb_sb_info {
 	unsigned int generation;
 	pid_t conn_pid;
 	struct smb_conn_opt opt;
-
+	wait_queue_head_t conn_wq;
+	int conn_complete;
 	struct semaphore sem;

         unsigned short     rcls; /* The error codes we received */
Index: linux-2.6.7/fs/smbfs/inode.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/fs/smbfs/inode.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 inode.c
--- linux-2.6.7/fs/smbfs/inode.c	16 Jun 2004 16:49:47 -0000	1.1.1.1
+++ linux-2.6.7/fs/smbfs/inode.c	19 Jun 2004 21:19:04 -0000
@@ -521,6 +521,7 @@ int smb_fill_super(struct super_block *s
 	server->super_block = sb;
 	server->mnt = NULL;
 	server->sock_file = NULL;
+	init_waitqueue_head(&server->conn_wq);
 	init_MUTEX(&server->sem);
 	INIT_LIST_HEAD(&server->entry);
 	INIT_LIST_HEAD(&server->xmitq);
Index: linux-2.6.7/fs/smbfs/proc.c
===================================================================
RCS file: /home/cvsroot/linux-2.6.7/fs/smbfs/proc.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 proc.c
--- linux-2.6.7/fs/smbfs/proc.c	16 Jun 2004 16:49:47 -0000	1.1.1.1
+++ linux-2.6.7/fs/smbfs/proc.c	20 Jun 2004 00:26:57 -0000
@@ -56,6 +56,7 @@ static struct smb_ops smb_ops_os2;
 static struct smb_ops smb_ops_win95;
 static struct smb_ops smb_ops_winNT;
 static struct smb_ops smb_ops_unix;
+static struct smb_ops smb_ops_null;

 static void
 smb_init_dirent(struct smb_sb_info *server, struct smb_fattr *fattr);
@@ -981,6 +982,9 @@ smb_newconn(struct smb_sb_info *server,
 	smbiod_wake_up();
 	if (server->opt.capabilities & SMB_CAP_UNIX)
 		smb_proc_query_cifsunix(server);
+
+	server->conn_complete++;
+	wake_up_interruptible_all(&server->conn_wq);
 	return error;

 out:
@@ -2794,10 +2798,45 @@ out:
 }

 static int
+smb_proc_ops_wait(struct smb_sb_info *server)
+{
+	int result;
+
+	result = wait_event_interruptible_timeout(server->conn_wq,
+				server->conn_complete, 30*HZ);
+
+	if (!result || signal_pending(current))
+		return -EIO;
+
+	return 0;
+}
+
+static int
 smb_proc_getattr_null(struct smb_sb_info *server, struct dentry *dir,
-		      struct smb_fattr *attr)
+			  struct smb_fattr *fattr)
 {
-	return -EIO;
+	int result;
+
+	if (smb_proc_ops_wait(server) < 0)
+		return -EIO;
+
+	smb_init_dirent(server, fattr);
+	result = server->ops->getattr(server, dir, fattr);
+	smb_finish_dirent(server, fattr);
+
+	return result;
+}
+
+static int
+smb_proc_readdir_null(struct file *filp, void *dirent, filldir_t filldir,
+		      struct smb_cache_control *ctl)
+{
+	struct smb_sb_info *server = server_from_dentry(filp->f_dentry);
+
+	if (smb_proc_ops_wait(server) < 0)
+		return -EIO;
+
+	return server->ops->readdir(filp, dirent, filldir, ctl);
 }

 int
@@ -3431,6 +3470,7 @@ static struct smb_ops smb_ops_unix =
 /* Place holder until real ops are in place */
 static struct smb_ops smb_ops_null =
 {
+	.readdir	= smb_proc_readdir_null,
 	.getattr	= smb_proc_getattr_null,
 };


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-20  0:27               ` Zwane Mwaikambo
@ 2004-06-20  0:28                 ` Christophe Saout
  2004-06-20  0:36                   ` Zwane Mwaikambo
  0 siblings, 1 reply; 40+ messages in thread
From: Christophe Saout @ 2004-06-20  0:28 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Brice Goglin, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

Am Sa, den 19.06.2004 um 20:27 Uhr -0400 schrieb Zwane Mwaikambo:

> > > This is an updated debugging patch (which is also added to Bugzilla),
> > > please give this a spin. There are still a few issues with this patch but
> > > lets try at least avoid oopsing for now.
> >
> > Hold on, this is buggy garbage. i'll have something in a bit.
> 
> Index: linux-2.6.7/include/linux/smb_fs_sb.h
> ===================================================================
> RCS file: /home/cvsroot/linux-2.6.7/include/linux/smb_fs_sb.h,v

Ha! Success! :-)


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-20  0:28                 ` Christophe Saout
@ 2004-06-20  0:36                   ` Zwane Mwaikambo
  2004-06-20  0:40                     ` Christophe Saout
  0 siblings, 1 reply; 40+ messages in thread
From: Zwane Mwaikambo @ 2004-06-20  0:36 UTC (permalink / raw)
  To: Christophe Saout; +Cc: Brice Goglin, Linux Kernel

On Sun, 20 Jun 2004, Christophe Saout wrote:

> Am Sa, den 19.06.2004 um 20:27 Uhr -0400 schrieb Zwane Mwaikambo:
>
> > > > This is an updated debugging patch (which is also added to Bugzilla),
> > > > please give this a spin. There are still a few issues with this patch but
> > > > lets try at least avoid oopsing for now.
> > >
> > > Hold on, this is buggy garbage. i'll have something in a bit.
> >
> > Index: linux-2.6.7/include/linux/smb_fs_sb.h
> > ===================================================================
> > RCS file: /home/cvsroot/linux-2.6.7/include/linux/smb_fs_sb.h,v
>
> Ha! Success! :-)

Great, and Nautilus is happy? By the way, which OS is the SMB server?


^ permalink raw reply	[flat|nested] 40+ messages in thread

* Re: 2.6.7 Samba OOPS (in smb_readdir)
  2004-06-20  0:36                   ` Zwane Mwaikambo
@ 2004-06-20  0:40                     ` Christophe Saout
  0 siblings, 0 replies; 40+ messages in thread
From: Christophe Saout @ 2004-06-20  0:40 UTC (permalink / raw)
  To: Zwane Mwaikambo; +Cc: Brice Goglin, Linux Kernel

[-- Attachment #1: Type: text/plain, Size: 618 bytes --]

Am Sa, den 19.06.2004 um 20:36 Uhr -0400 schrieb Zwane Mwaikambo:

> > Ha! Success! :-)
> 
> Great, and Nautilus is happy? By the way, which OS is the SMB server?

Yes, everyone is happy now. It's a samba (3.0.4) server. NFS is
currently also broken on that machine (my fault). That server machine is
so dog slow that I'm currently not interested in rebooting it. But at
least smbfs is working now so I don't need to use rsync to access my
files anymore. ;)

Well, I tested mounting/unmounting it several times and it worked
without glitches where I had a nearly 100% chance of making it Oops
before.


[-- Attachment #2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2004-06-20  0:40 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-16  5:56 Linux 2.6.7 Linus Torvalds
2004-06-16  6:58 ` Kalin KOZHUHAROV
2004-06-16 14:56   ` Jesper Juhl
2004-06-16  7:10 ` Jan De Luyck
2004-06-16  8:07 ` JFS compilation fix [was Re: Linux 2.6.7] Tomas Szepe
2004-06-16 12:55   ` Dave Kleikamp
2004-06-16 12:59     ` Dave Kleikamp
2004-06-16 13:05     ` Tomas Szepe
2004-06-16  9:58 ` Linux 2.6.7 (stty rows 50 columns 140 reports : No such device or address) Zilvinas Valinskas
2004-06-16 12:55   ` Jeff Garzik
2004-06-16 13:56     ` Benjamin Herrenschmidt
2004-06-16 16:38       ` jsimmons
2004-06-16 14:17     ` Zilvinas Valinskas
2004-06-16 16:37       ` jsimmons
2004-06-16 21:17         ` Egmont Koblinger
2004-06-16 21:45           ` jsimmons
2004-06-16 11:13 ` Linux 2.6.7 Tomas Szepe
2004-06-16 12:18   ` viro
2004-06-17  6:56     ` Tomas Szepe
2004-06-16 13:27 ` Linux 2.6.7 - problem with old gcc Eyal Lebedinsky
2004-06-16 16:09 ` Linux 2.6.7 (compile stats) John Cherry
2004-06-16 16:31 ` Linux 2.6.7 Dominik Karall
2004-06-16 18:53   ` Jeff Garzik
2004-06-16 17:42 ` Linux 2.6.7 - ACPI still broken Thomas Zehetbauer
2004-06-17  4:15   ` Kevin P. Fleming
2004-06-17 15:22 ` Linux 2.6.7 Sean Neakums
2004-06-18  4:36   ` Andrew Morton
2004-06-18 16:37 ` 2.6.7 Samba OOPS (in smb_readdir) Brice Goglin
2004-06-18 16:41   ` Brice Goglin
2004-06-18 17:11     ` Zwane Mwaikambo
2004-06-18 19:00       ` Christophe Saout
2004-06-18 19:22         ` Christophe Saout
2004-06-18 19:52           ` Zwane Mwaikambo
2004-06-19 20:35           ` Zwane Mwaikambo
2004-06-19 20:49             ` Zwane Mwaikambo
2004-06-19 20:52               ` Christophe Saout
2004-06-20  0:27               ` Zwane Mwaikambo
2004-06-20  0:28                 ` Christophe Saout
2004-06-20  0:36                   ` Zwane Mwaikambo
2004-06-20  0:40                     ` Christophe Saout

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox