LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* Linux 2.6.25-rc7
@ 2008-03-26  2:07 Linus Torvalds
  2008-03-26 10:42 ` sparc64 BUG: using smp_processor_id() in preemptible Mariusz Kozlowski
  2008-03-26 12:02 ` Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap Mariusz Kozlowski
  0 siblings, 2 replies; 12+ messages in thread
From: Linus Torvalds @ 2008-03-26  2:07 UTC (permalink / raw)
  To: Linux Kernel Mailing List


So this hopefully continues closing various regressions, and most of the 
changes are pretty small (ie diffstat shows a lot of oneliners). The 
biggest patches are the trivial powerpc defconfig updates which show up 
pretty clearly in the dirstat:

	  38.7% arch/powerpc/configs/
	  39.6% arch/powerpc/
	  42.9% arch/
	   2.4% drivers/ata/
	   7.6% drivers/block/
	   2.3% drivers/char/
	   2.0% drivers/message/fusion/
	   2.0% drivers/mmc/core/
	   4.1% drivers/net/
	   7.2% drivers/video/
	  38.0% drivers/
	   3.0% fs/hppfs/
	   7.8% fs/
	   2.8% kernel/
	   2.0% net/

ie if it weren't for those, the arch/ updates would hardly show up at all. 
In the drivers, the two "big" changes are also totally trivial: 
drivers/block/ shows up because of the ps2esdi driver removal (it's been 
marked BROKEN for years), and drivers/video/ shows up because of a new 
metronomefb.c driver for the E-Ink Metronome controller.

Apart from those, most of the changes really are fairly small and spread 
out. The scheduler got some tweaking, the memstick driver got some TLC, 
and cifs and reiserfs had some fixes.

The shortlog has more details, but it boils down to some reverts, some 
docbook fixes, some sparse annotation fixups, a number of trivial patches, 
and a healthy sprinkling of small fixups.

Give it a good testing, because we're hopefully now well on our way 
towards that eventual real 2.6.25 release!

		Linus

---
Adrian Bunk (4):
      The ps2esdi driver was marked as BROKEN more than two years ago due to being
      make selinux_parse_opts_str() static
      V4L/DVB (7251): VIDEO_VIVI must depend on VIDEO_DEV
      V4L/DVB (7328): usb/opera1.c: fix a memory leak

Ahmed S. Darwish (2):
      smack: do not dereference NULL ipc object
      smackfs: remove redundant lock, fix open(,O_RDWR)

Akinobu Mita (1):
      [SCSI] a100u2w: fix bitmap lookup routine

Al Viro (21):
      r6040 endianness fixes
      wan/farsync: copy_from_user() to iomem is wrong
      fore2000 - fix misannotations
      more misannotations: ne2k-pci
      ipg fix
      epic100 endianness annotations and fixes
      hfs_bnode_find() can fail, resulting in hfs_bnode_split() breakage
      restore export of do_kern_mount()
      [NET] endianness noise: INADDR_ANY
      [PKT_SCHED]: annotate cls_u32
      [SCTP]: fix misannotated __sctp_rcv_asconf_lookup()
      [SUNRPC]: net/* NULL noise
      [IPV4]: ipv4_is_lbcast() misannotations
      xfrm: ->eth_proto is __be16
      [8021Q]: vlan_dev misannotations
      [IPV4]: esp_output() misannotations
      sanitize hppfs
      double dput() on failure exit in tiny-shmem
      double iput() on failure exit in hugetlb
      get stack footprint of pathname resolution back to relative sanity
      drivers/char/rocket portability fixes

Alan Cox (1):
      3c501: Further coding style fixes

Alan Stern (1):
      USB: new quirk flag to avoid Set-Interface

Alessandro Zummo (1):
      rtc: fix kconfig help

Alex Deucher (1):
      drm/radeon: fixup RV550 chip family

Alex Dubov (3):
      memstick: automatically retrieve "INT" value from command response
      memstick: add support for 8-bit parallel mode
      memstick: optimize setup of JMicron host parameters

Alexey Starikovskiy (2):
      ACPI: battery: Don't return -EFAIL on broken packages.
      Revert "ACPI: EC: Handle IRQ storm on Acer laptops"

Amit Shah (1):
      virtio: Enable netpoll interface for netconsole logging

Anand Gadiyar (1):
      ARM: OMAP: Fix chain_a_transfer return value

Anatolij Gustschin (1):
      [POWERPC] Fix Oops with TQM5200 on TQM5200

Andre Noll (1):
      [NET]: Fix permissions of /proc/net

Andrew Burton (1):
      HID: BADPAD entry for NATSU Playstation USB adapter

Andrew Morton (11):
      Input: ads7846 - fix uninitialized var warning
      [RT2X00] drivers/net/wireless/rt2x00/rt2x00dev.c: remove dead code, fix warning
      memstick: drivers/memstick/host/jmb38x_ms.c needs dma-mapping.h
      memstick: drivers/memstick/host/jmb38x_ms.c: suppress uninitialized var warning
      drivers/md/raid5.c: fix printk warnings
      fs/ufs/balloc.c: fix sparc64 printk warning
      revert "clocksource: make clocksource watchdog cycle through online CPUs"
      V4L/DVB (7291): em28xx: correct use of and fix
      revert "kswapd should only wait on IO if there is IO"
      driver core: debug for bad dev_attr_show() return value.
      PCI: revert "pcie: utilize pcie transaction pending bit"

Andrew Victor (2):
      [ARM] 4861/1: AT91: Update maintainer email address (again)
      [ARM] 4863/1: AT91: CAP9 USART definitions for early debug

Anthony Liguori (1):
      virtio: Use spin_lock_irqsave/restore for virtio-pci

Anton Blanchard (1):
      [POWERPC] Fix PMU + soft interrupt disable bug

Arnaud Patard (1):
      [ARM] 4864/1: Enable write buffer coalescing on IOP

Avi Kivity (3):
      KVM: VMX: Restore tss even on x86_64
      KVM: MMU: Fix is_rmap_pte() with io ptes
      KVM: MMU: Fix memory leak on guest demand faults

Ayaz Abdulla (1):
      forcedeth: limit tx to 16

Bartlomiej Zolnierkiewicz (6):
      ide: remove commented out entries from ide_pio_blacklist[]
      ide: mark special "ide0=" kernel parameters as obsoleted
      ide: Documentation/ide/ide.txt fixes
      ide: mark "hdx=[driver_name]" and "hdx=scsi" kernel parameters as obsoleted
      ide: mark "hdx=remap" and "hdx=remap63" kernel parameters as obsoleted
      Revert "ide-tape: schedule driver for removal after 6 months"

Bjorn Helgaas (2):
      ISAPNP: fix limits of logical device register set
      ACPI: fix Medion _PRT quirk (use "ISA_", not "ISA")

Boaz Harrosh (2):
      [SCSI] isd200: Allocate sense_buffer for hacked up scsi_cmnd
      USB: isd200: fix memory leak in isd200_get_inquiry_data

Bryan Wu (1):
      i2c-bfin-twi: Disable BF54x support for now

Chien Tung (1):
      RDMA/nes: Fix MSS calculation on RDMA path

Christian Borntraeger (1):
      virtio: fix race in enable_cb

Christoph Hellwig (1):
      check for null vfsmount in dentry_open()

Christoph Lameter (1):
      slub page alloc fallback: Enable interrupts for GFP_WAIT.

Chuck Lever (1):
      x86: fix {clear,copy}_user_page() declarations in page.h

Coleman Kane (1):
      x86: add the DFF (Desktop Form Factor) Dell Optiplex 745 to the reboot errata list

Constantin Baranov (1):
      USB: add support for Motorola ROKR Z6 cellphone in mass storage mode

Cyrill Gorcunov (1):
      V4L/DVB (7330): V4L1 - fix v4l_compat_translate_ioctl possible NULL deref

Dan Williams (1):
      async_tx: avoid the async xor_zero_sum path when src_cnt > device->max_xor

Daniel Hokka Zakrisson (1):
      [NETFILTER]: ipt_recent: sanity check hit count

Darren Salt (1):
      PNP: increase the number of PnP memory resources from 12 to 24

Darrick J. Wong (3):
      ibmpex: correct power use multipliers for QS2x blade
      ibmpex: update Kconfig to list more supported models
      ibmpex: report temperatures in mC, not C

Dave Airlie (1):
      drm/ati_pcigart: fix the PCIGART to use drm_pci to allocate GART table.

Dave Hansen (2):
      hppfs pass vfsmount to dentry_open()
      fix up new filp allocators

Dave Young (1):
      zisofs: fix readpage() outside i_size

David Brownell (2):
      rtc-at91sam9 fixes
      hw_random doc updates

David Howells (1):
      ROMFS: Fix up an error in iget removal

David S. Miller (5):
      [SPARC64]: Fix atomic backoff limit.
      [TG3]: Fix build warning on sparc32.
      [SCTP]: Fix build warnings with IPV6 disabled.
      [SPARC64]: Remove most limitations to kernel image size.
      [SUNGEM]: Fix NAPI assertion failure.

Davide Rizzo (1):
      [ARM] 4872/1: Replaces buggy macro in S3C2410 irq include

Divy Le Ray (1):
      cxgb3: Fix transmit queue stop mechanism

Dmitry Torokhov (1):
      Input: ALPS - put secondary device in proper place in sysfs

Duane Griffin (2):
      jbd: correctly unescape journal data blocks
      jbd2: correctly unescape journal data blocks

Eliezer Tamir (1):
      BNX2X: prevent ethtool from setting port type

Eric Paris (1):
      export sessionid alongside the loginuid in procfs

Evgeniy Polyakov (1):
      connector: convert to single-threaded workqueue

Fabio Checconi (1):
      bridge: use time_before() in br_fdb_cleanup()

Franck Bui-Huu (1):
      sh: Use relative paths for mach/cpu symlinks.

Fred Isaman (1):
      nfs: don't ignore return value from nfs_pageio_add_request

Gadiyar, Anand (1):
      ARM: OMAP: Fix DMA CLINK mask, clear spurious interrupt

Gordon Farquharson (1):
      [ARM] 4865/1: Register the F75375 device in the GLAN Tank platform code

Grant Grundler (1):
      2.6.25-rc4 de_stop_rxtx polling wrong

Grant Likely (3):
      [POWERPC] mpc5200-fec: Fix possible NULL dereference in mdio driver
      [POWERPC] mpc5200: Fix null dereference if bestcomm fails to initialize
      [POWERPC] mpc5200: Fix incorrect compatible string for the mdio node

Hans Rosenfeld (1):
      Change pagemap output format to allow for future reporting of huge pages

Harvey Harrison (4):
      [CIFS] cifs: replace remaining __FUNCTION__ occurrences
      b43: phy.c fix typo in register write
      ioc3.c: replace remaining __FUNCTION__ occurrences
      V4L/DVB (7236): bttv: struct member initialized twice

Heiko Carstens (3):
      [S390] futex: let futex_atomic_cmpxchg_pt survive early functional tests.
      sched: add exported arch_reinit_sched_domains() to header file.
      sched: add arch_update_cpu_topology hook.

Heinz-Ado Arnolds (1):
      x86: fix reboot problem with Dell Optiplex 745, 0KW626 board

Herbert Xu (1):
      [TCP]: Let skbs grow over a page on fast peers

Holger Macht (1):
      ACPI: Set flag DOCK_UNDOCKING when triggered via sysfs

Ian Armstrong (2):
      V4L/DVB (7242): ivtv: fix for yuv filter table check
      V4L/DVB (7279): ivtv: Add missing sg_init_table()

Igor Mammedov (1):
      [CIFS]  DFS patch that connects inode with dfs handling ops

Ingo Molnar (8):
      sched: clean up wakeup balancing, move wake_affine()
      sched: clean up wakeup balancing, rename variables
      sched: clean up wakeup balancing, code flow
      sched, net: socket wakeups are sync
      sched: improve affine wakeups
      sched: wakeup-buddy tasks are cache-hot
      sched: retune wake granularity
      sched: tune multi-core idle balancing

Ingo van Lil (1):
      mtd: memory corruption in block2mtd.c

Ivo van Doorn (1):
      rt2x00: Add suspend/resume handlers to rt2x00rfkill

James Bottomley (1):
      [SCSI] Fix dependency problems in SCSI drivers

Jan Kara (1):
      quota: add possibly missing iput() when quotaon and quotaoff races

Jan Slupski (1):
      prism54: support for 124a:4025 - another version of IOGear GWU513 802.11g

Jarek Poplawski (2):
      netpoll: zap_completion_queue: adjust skb->users counter
      [NET] ifb: set separate lockdep classes for queue locks

Jaya Kumar (1):
      fbdev: defio and Metronomefb

Jean Delvare (1):
      ASoC/TLV320AIC3X: Stop I2C driver ID abuse

Jean-Christophe Dubois (1):
      rndis_host: fix transfer size negotiation

Jean-Samuel Chenard (1):
      UIO: add pgprot_noncached() to UIO mmap code

Jeff Garzik (1):
      [libata] ahci: SB600 workaround is suspect... play it safe for now

Jeff Mahoney (1):
      reiserfs: eliminate private use of struct file in xattr

Jens Axboe (2):
      relay: fix subbuf_splice_actor() adding too many pages
      Revert "unexport bio_{,un}map_user"

Jeremy Katz (1):
      virtio: Fix sysfs bits to have proper block symlink

Jiri Kosina (3):
      Input: i8042 - add Lenovo 3000 N100 to nomux blacklist
      Input: document i8042.noloop
      HID: fix comment in hid_input_report()

Jiri Slaby (1):
      x86: fix fault_msg nul termination

Joakim Tjernlund (1):
      ucc_geth: use correct thread number for 10/100Mbps link

Jose Alberto Reguero (1):
      ahci: Add Marvell 6121 SATA support

Josef Bacik (1):
      ext3: fix wrong gfp type under transaction

Julia Lawall (7):
      drivers/net/ipg.c: remove unused variable
      drivers/net/atl1/atl1_main.c: remove unused variable
      asus_acpi: remove misleading mask
      HID: Use DIV_ROUND_UP
      V4L/DVB (7285): em28xx: Correct use of ! and &
      [IPV6] net/ipv6/ndisc.c: remove unused variable
      [9P] net/9p/trans_fd.c: remove unused variable

Kay Sievers (2):
      [SCSI] sd, sr: do not emit change event at device add
      [SCSI] fix media change events for polled devices

Kevin Hilman (2):
      ARM: OMAP: Fix clockevent support for hrtimers
      ARM: OMAP: Fix GPIO IRQ unmask

Kevin Lloyd (1):
      USB: sierra: add another device id

Kieran Bingham (1):
      sh: Fix up the address error exception handler for SH-2.

Kumar Gala (1):
      [POWERPC] Update some defconfigs

Laszlo Kajan (1):
      Input: ALPS - fix forward/back buttons reversed on Acer 5520-5290

Len Brown (5):
      ACPI: fix ATA_ACPI build
      Revert "thermal: fix generic thermal I/F for hwmon"
      thermal: delete "default y"
      Revert "ACPI: video: Ignore ACPI video devices that aren't present in hardware"
      Revert "ACPI: video: Ignore devices that aren't present in hardware"

Linus Torvalds (5):
      IDE: Make taskfile interface more robust wrt unexpected end-of-command
      Don't 'printk()' while holding xtime lock for writing
      x86-32: Pass the full resource data to ioremap()
      Make printk() console semaphore accesses sensible
      Linux 2.6.25-rc7

Marcelo Tosatti (2):
      KVM: MMU: handle page removal with shadow mapping
      KVM: VMX: convert init_rmode_tss() to slots_lock

Mark Fasheh (1):
      ocfs2: MAINTAINERS update

Mark Gross (1):
      PCI: iova: lockdep false alarm fix

Mark Lord (1):
      pciehp: don't enable slot unless forced

Martin Devera (1):
      sch_htb: fix "too many events" situation

Masakazu Mokuno (2):
      PS3: gelic: ignore scan info from zero SSID beacons
      PS3: gelic: change the prefix of the net interface for wireless

Mathieu Desnoyers (3):
      x86: cast cmpxchg and cmpxchg_local result for 386 and 486
      markers: update preempt_disable. call_rcu, rcu_barrier comments
      markers: remove ACCESS_ONCE

Matthew Wilcox (1):
      [SCSI] advansys: Fix bug in AdvLoadMicrocode

Matti Linnanvuori (1):
      sync_bitops: fix wrong comments [Bug 10247]

Mauro Carvalho Chehab (3):
      V4L/DVB (7267): cx88: Fix: Loads tuner module before sending commands to it
      V4L/DVB (7268): saa7134: fix: tuner should be loaded before calling saa7134_board_init2()
      V4L/DVB (7367): bug #10211: Fix depencencies for cx2341x

Max Arnold (1):
      USB: pl2303: another product ID

Michael Ellerman (2):
      [POWERPC] Fix cell IOMMU code to cope with empty dma-ranges and non-PCI devices
      [POWERPC] Hide resources on Axon PCIE root complex nodes

Michael Halcrow (1):
      eCryptfs: Swap dput() and mntput()

Michael Hanselmann (1):
      HID: update key codes for Apple aluminium

Mikael Pettersson (1):
      sata_promise: fix hardreset hotplug events, take 2

Mike Christie (1):
      [SCSI] fix bsg queue oops with iscsi logout

Mike Isely (1):
      drm: Fix race that can lockup the kernel

Mitch Williams (1):
      igb: Correctly get protocol information

NeilBrown (1):
      md: remove the 'super' sysfs attribute from devices in an 'md' array

Olaf Hering (1):
      [POWERPC] Fix crash in init_ipic_sysfs on efika

Oliver Neukum (1):
      USB: sierra: dma fixes

Pascal Terjan (1):
      V4L/DVB (7334): usb video: add a device link to usbvideo devices, else hal will ignore them

Patrick McHardy (1):
      [TCP]: Fix shrinking windows with window scaling

Paul E. McKenney (1):
      rcu: fix misplaced mb() in rcu_enter/exit_nohz()

Paul Gortmaker (1):
      [POWERPC] Fix build failure for tqm8540 and sbc85xx defconfigs

Paul Mackerras (2):
      [POWERPC] Update some defconfigs
      [POWERPC] Don't use 64k pages for ioremap on pSeries

Paul Mundt (3):
      sh: Fix up the timer IRQ definition for SH7203.
      sh: Fix uImage build error.
      sh: Fix more user header breakage from sh64 integration.

Pavel Emelyanov (5):
      memcgroup: fix check for thread being a group leader in memcgroup
      audit: netlink socket can be auto-bound to pid other than current->pid (v2)
      [DLCI]: Fix tiny race between module unload and sock_ioctl.
      bsd_acct: plain current->real_parent access is not always safe
      bsd_acct: using task_struct->tgid is not right in pid-namespaces

Pavel Machek (3):
      MAINTAINERS: bluez-devel is subscribers-only
      x86: fix long standing bug with usb after hibernation with 4GB ram
      kernel-parameters.txt: document memmap option better

Pavel Roskin (1):
      ath5k: disable irq handling in ath5k_hw_detach()

Peter Zijlstra (1):
      sched: cleanup old and rarely used 'debug' features.

Phil Oester (1):
      [IPV4]: Fix null dereference in ip_defrag

Pierre Ossman (1):
      mmc: use sysfs groups to handle conditional attributes

Ping Cheng (1):
      Input: wacom - add support for Bamboo1, BambooFun, and Cintiq 12WX

Prakash, Sathya (1):
      [SCSI] mpt fusion: Power Management fixes for MPT SAS PCI-E controllers

Pravin M. Bathija (1):
      NEWEMAC: fix support for pause packets

Quentin Barnes (1):
      aio: bad AIO race in aio_complete() leads to process hang

Ralf Baechle (1):
      [IOC3] Fix section missmatch

Randy Dunlap (10):
      mm: fix various kernel-doc comments
      mm/shmem and tiny-shmem: fix some kernel-doc
      mm/oom_kill: fix kernel-doc
      mm: highmem kernel-doc additions
      mm: rmap kernel-doc fixes
      jbd: fix jbd kernel-doc notation
      fs: fix kernel-doc notation warnings
      mm/readahead: fix kernel-doc notation
      x86/visws: fix printk format warnings
      i2c: Fix docbook problem

Rene Herman (1):
      USB: ehci: stop vt6212 bus hogging

Robert P. J. Day (3):
      SH: Use newer, non-deprecated __SPIN_LOCK_UNLOCKED macro.
      [SPARC64]: Use shorter list_splice_init() for brevity.
      USB: Fix cut-and-paste error in rtl8150.c

Roel Kluin (3):
      V4L/DVB (7362): tvp5150.c: logical-bitwise and confusion
      [NETFILTER]: nf_conntrack_h323: logical-bitwise & confusion in process_setup()
      sched: remove double unlikely from schedule()

Roland Dreier (2):
      Input: i8042 - fix warning on non-x86 builds
      SVCRDMA: Use only 1 RDMA read scatter entry for iWARP adapters

Roland McGrath (2):
      [POWERPC] user_regset PTRACE_SETREGS regression fix
      [SPARC64]: exec PT_DTRACE

Roy Hashimoto (1):
      USB: fix gadgetfs class request delegation

Rusty Russell (1):
      virtio: handle > 2 billion page balloon targets

Sam Ravnborg (1):
      kbuild: soften modpost checks when doing cross builds

Samuel Thibault (1):
      Input: add keyboard notifier documentation

Serge Hallyn (1):
      file capabilities: remove cap_task_kill()

Stefan Bauer (1):
      i810fb: fix console switch regression

Stefan Richter (1):
      firewire: fix panic in handle_at_packet

Stefan Roese (1):
      NEWEMAC: Add compatible "ibm,tah" to tah matching table

Stephen Hemminger (1):
      [IPV4] fib_trie: fix warning from rcu_assign_poinger

Steve French (4):
      [CIFS] Fix build problem
      [CIFS] Fix mtime on cp -p when file data cached but written out too late
      [CIFS] file create with acl support enabled is slow
      [CIFS] Fix mem leak on dfs referral

Sven Schnelle (1):
      [SCSI] gdth: Allocate sense_buffer to prevent NULL pointer dereference

Tejun Heo (9):
      libata-acpi: improve dock event handling
      devres: implement pcim_iomap_regions_request_all()
      ahci: request all PCI BARs
      ahci: implement skip_host_reset parameter
      pata_ali: use atapi_cmd_type() to determine cmd type instead of transfer size
      libata: implement ata_qc_raw_nbytes()
      pata_it821x: use raw nbytes in check_atapi_dma
      libata: assume no device is attached if both IDENTIFYs are aborted
      libata: improve HPA error handling

Thomas Bogendoerfer (1):
      Input: i8042 - add SNI RM support

Thomas Gleixner (1):
      x86: revert: reserve dma32 early for gart

Thomas Hellstrom (1):
      drm/via: attempt again to stabilise the AGP DMA command submission.

Tobias Mueller (1):
      HID: remove HID_QUIRK_APPLE_ISO_KEYBOARD for 4th generation macbook

Tony Lindgren (3):
      ARM: OMAP: Fix missing makefile options
      [ARM] 4869/1: ARM: OMAP: Fix compile for mcbsp
      i2c-omap: Fix unhandled fault

Venki Pallipadi (1):
      ACPI: lockdep warning on boot, 2.6.25-rc5

Vlad Yasevich (1):
      [SCTP]: Fix a race between module load and protosw access

Wang Chen (1):
      [ATM]: When proc_create() fails, do some error handling work and return -ENOMEM.

Will Newton (1):
      ARM: OMAP1: Fix typo in OMAP1 MPU clock source initialization

YOSHIFUJI Hideaki (1):
      [IPV6] KCONFIG: Fix description about IPV6_TUNNEL.

Yinghai Lu (6):
      x86: fix dma_alloc_pages
      x86: tight online check in setup_per_cpu_areas
      x86: reserve dma32 early for gart
      x86: trim mtrr don't close gap for resource allocation.
      x86_64: free_bootmem should take phys
      mm: fix boundary checking in free_bootmem_core

Yoichi Yuasa (1):
      Input: cobalt_btns - assorted fixes

Yuri Funduryan (1):
      V4L/DVB (7228): saa7134: fix FM radio support for the Pinnacle PCTV 110i

Yutaro Ebihara (1):
      serial: sh-sci: Fix fifo stall on SH7760/SH7780/SH7785 SCIF.

Zbigniew Luszpinski (1):
      x86: hpet clock enable quirk on nVidia nForce 430

Zhang Wei (1):
      fsldma: Fix the DMA halt when using DMA_INTERRUPT async_tx transfer.

Zhang, Rui (1):
      thermal: re-document thermal units

janboe (1):
      [ARM] 4870/1: fix signal return code when enable CONFIG_OABI_COMPAT

nickcheng (1):
      [SCSI] arcmsr: fix iounmap error for Type B adapter

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

* sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26  2:07 Linux 2.6.25-rc7 Linus Torvalds
@ 2008-03-26 10:42 ` Mariusz Kozlowski
  2008-03-26 11:16   ` David Miller
  2008-03-26 12:02 ` Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap Mariusz Kozlowski
  1 sibling, 1 reply; 12+ messages in thread
From: Mariusz Kozlowski @ 2008-03-26 10:42 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List, David Miller, sparclinux

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

Hello,

I see lots of these messages on my ultra 60 box.

	Mariusz

$ uname -a
Linux sparc64 2.6.25-rc7 #2 SMP PREEMPT Wed Mar 26 11:25:23 CET 2008 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux

BUG: using smp_processor_id() in preemptible [00000000] code: init/1
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004cc4b4] setup_arg_pages+0x9c/0x320
 [0000000000505498] load_elf_binary+0x620/0x13a0
 [00000000004cb770] search_binary_handler+0xd8/0x300
 [00000000004cca88] do_execve+0x150/0x180
 [000000000042739c] sparc_execve+0x44/0xa0
 [0000000000406354] linux_sparc_syscall+0x3c/0x44
 [00000000004d381c] sys_dup+0x24/0x40
 [0000000000426fe0] init_post+0xa8/0x100
 [0000000000794418] kernel_init+0x260/0x360
 [0000000000427290] kernel_thread+0x38/0x60
 [000000000067f390] rest_init+0x18/0x80
BUG: using smp_processor_id() in preemptible [00000000] code: init/1
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f44bcc] 0xf7f44bd4
BUG: using smp_processor_id() in preemptible [00000000] code: init/1
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f492ec] 0xf7f492f4
BUG: using smp_processor_id() in preemptible [00000000] code: init/1
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f492ec] 0xf7f492f4
BUG: using smp_processor_id() in preemptible [00000000] code: init/1
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000001] 0x9
BUG: using smp_processor_id() in preemptible [00000000] code: init/444
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000000001bc] 0x1c4
BUG: using smp_processor_id() in preemptible [00000000] code: rc/447
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004cc4b4] setup_arg_pages+0x9c/0x320
 [0000000000505498] load_elf_binary+0x620/0x13a0
 [00000000004cb770] search_binary_handler+0xd8/0x300
 [0000000000500e4c] load_script+0x2f4/0x340
 [00000000004cb770] search_binary_handler+0xd8/0x300
 [00000000004fc998] compat_do_execve+0x140/0x180
 [0000000000444e7c] sparc32_execve+0x44/0xa0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000000] 0x8
BUG: using smp_processor_id() in preemptible [00000000] code: rc/447
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f14bcc] 0xf7f14bd4
BUG: using smp_processor_id() in preemptible [00000000] code: rc/447
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f14bcc] 0xf7f14bd4
BUG: using smp_processor_id() in preemptible [00000000] code: rc/447
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [00000000004b33b8] mprotect_fixup+0x3c0/0x480
 [00000000004b359c] sys_mprotect+0x124/0x1e0
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7f192ec] 0xf7f192f4
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 0:0:6:0: Attached scsi CD-ROM sr0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 0:0:6:0: Attached scsi generic sg1 type 5
printk: 1455 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: bash/950
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000000003b6] 0x3be
EXT3 FS on sda3, internal journal
Adding 497992k swap on /dev/sda2.  Priority:-1 extents:1 across:497992k
printk: 1020 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: bash/1142
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000476] 0x47e
printk: 1009 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: runscript.sh/1520
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000000005f0] 0x5f8
printk: 1635 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: runscript.sh/1937
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000791] 0x799
printk: 982 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: bash/2212
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000000008a4] 0x8ac
printk: 728 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: runscript.sh/2541
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000000009ed] 0x9f5
eth0: Link is up using internal transceiver at 100Mb/s, Full Duplex.
printk: 544 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: depscan.sh/2916
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000b64] 0xb6c
printk: 774 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: depscan.sh/3036
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000bdc] 0xbe4
printk: 664 messages suppressed.
BUG: using smp_processor_id() in preemptible [00000000] code: bash/3137
caller is flush_tlb_pending+0xc/0xc0
Call Trace:
 [000000000044ad44] flush_tlb_pending+0xc/0xc0
 [0000000000469318] copy_process+0x740/0x1080
 [0000000000469ca0] do_fork+0x48/0x280
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [0000000000000c41] 0xc49

and so on ...

[-- Attachment #2: config-sparc64-2.6.25-rc7 --]
[-- Type: text/plain, Size: 23407 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc7
# Wed Mar 26 10:53:43 2008
#
CONFIG_SPARC=y
CONFIG_SPARC64=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_IOMMU_HELPER=y
CONFIG_QUICKLIST=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_AUDIT_ARCH=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_ARCH_NO_VIRT_TO_BUS=y
CONFIG_OF=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_SPARC64_PAGE_SIZE_8KB=y
# CONFIG_SPARC64_PAGE_SIZE_64KB is not set
# CONFIG_SPARC64_PAGE_SIZE_512KB is not set
# CONFIG_SPARC64_PAGE_SIZE_4MB is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_SCHED_HRTICK is not set
# CONFIG_HOTPLUG_CPU is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_CLASSIC_RCU=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_GENERIC_HARDIRQS=y

#
# General machine setup
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
CONFIG_NR_CPUS=4
# CONFIG_CPU_FREQ is not set
CONFIG_GENERIC_LOCKBREAK=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HAVE_MEMORY_PRESENT=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=0
CONFIG_NR_QUICK=1
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
# CONFIG_SUN_LDOMS is not set
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_SYSCALL=y
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_SPARC32_COMPAT=y
CONFIG_COMPAT=y
# CONFIG_BINFMT_AOUT32 is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_SOLARIS_EMUL=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_CMDLINE_BOOL is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC 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_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
CONFIG_CONNECTOR=m
# CONFIG_MTD is not set
CONFIG_OF_DEVICE=y
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set
# CONFIG_MISC_DEVICES is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

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

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

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
CONFIG_SCSI_ISCSI_ATTRS=y
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD 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_AIC94XX is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_STEX is not set
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_SCSI_SYM53C8XX_MMIO=y
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLOGICPTI is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SUNESP is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_IEEE1394 is not set
# CONFIG_I2O is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_SUNLANCE is not set
CONFIG_HAPPYMEAL=y
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_NET_PCI is not set
# CONFIG_B44 is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# CONFIG_GAMEPORT is not set

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

#
# Serial drivers
#

#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
# CONFIG_SERIAL_SUNZILOG is not set
CONFIG_SERIAL_SUNSU=y
CONFIG_SERIAL_SUNSU_CONSOLE=y
CONFIG_SERIAL_SUNSAB=m
CONFIG_SERIAL_SUNHV=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
CONFIG_DEVPORT=y
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
# CONFIG_DAB is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_CFB_FILLRECT is not set
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_UVESA is not set
CONFIG_FB_SBUS=y
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
# CONFIG_FB_CG6 is not set
CONFIG_FB_FFB=y
# CONFIG_FB_TCX is not set
# CONFIG_FB_CG14 is not set
# CONFIG_FB_P9100 is not set
# CONFIG_FB_LEO is not set
# CONFIG_FB_XVR500 is not set
# CONFIG_FB_XVR2500 is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE 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_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
# CONFIG_PROM_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
# CONFIG_LOGO_LINUX_CLUT224 is not set
CONFIG_LOGO_SUN_CLUT224=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM 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_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X 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_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_HIFIER is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# ALSA Sparc devices
#
# CONFIG_SND_SUN_AMD7930 is not set
CONFIG_SND_SUN_CS4231=y
# CONFIG_SND_SUN_DBRI is not set

#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set

#
# SoC Audio support for SuperH
#

#
# ALSA SoC audio for Freescale SOCs
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_INFINIBAND is not set
# CONFIG_RTC_CLASS is not set

#
# Userspace I/O
#
# CONFIG_UIO is not set

#
# Misc Linux/SPARC drivers
#
CONFIG_SUN_OPENPROMIO=y
# CONFIG_OBP_FLASH is not set
# CONFIG_SUN_BPP is not set
# CONFIG_BBC_I2C is not set
# CONFIG_ENVCTRL is not set
# CONFIG_DISPLAY7SEG is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set

#
# 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_MINIX_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SUN_PARTITION=y
# CONFIG_NLS is not set
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_SHIRQ=y
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
CONFIG_SLUB_DEBUG_ON=y
# CONFIG_SLUB_STATS is not set
CONFIG_DEBUG_PREEMPT=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_VM=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_SAMPLES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_DCFLUSH is not set
# CONFIG_STACK_DEBUG is not set
# CONFIG_DEBUG_PAGEALLOC is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_SEQIV is not set
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_HW is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 10:42 ` sparc64 BUG: using smp_processor_id() in preemptible Mariusz Kozlowski
@ 2008-03-26 11:16   ` David Miller
  2008-03-26 11:25     ` David Miller
  0 siblings, 1 reply; 12+ messages in thread
From: David Miller @ 2008-03-26 11:16 UTC (permalink / raw)
  To: m.kozlowski; +Cc: torvalds, linux-kernel, sparclinux

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Wed, 26 Mar 2008 11:42:07 +0100

> I see lots of these messages on my ultra 60 box.

This is a sparc64 bug.

To be honest I don't run with preemption enabled very often, but
I'll try to clear this up somehow.

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 11:16   ` David Miller
@ 2008-03-26 11:25     ` David Miller
  2008-03-26 11:46       ` Mariusz Kozlowski
  2008-03-27  3:25       ` Andrew Morton
  0 siblings, 2 replies; 12+ messages in thread
From: David Miller @ 2008-03-26 11:25 UTC (permalink / raw)
  To: m.kozlowski; +Cc: torvalds, linux-kernel, sparclinux

From: David Miller <davem@davemloft.net>
Date: Wed, 26 Mar 2008 04:16:26 -0700 (PDT)

> From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> Date: Wed, 26 Mar 2008 11:42:07 +0100
> 
> > I see lots of these messages on my ultra 60 box.
> 
> This is a sparc64 bug.

And this patch should fix it:

commit 69072f6e8e4bd4799d2a54e4ff8771d0657512c1
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Mar 26 04:25:00 2008 -0700

    [SPARC64]: Fix __get_cpu_var in preemption-enabled area.
    
    Reported by Mariusz Kozlowski.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc64/mm/tlb.c
index 3f10fc9..a0f000b 100644
--- a/arch/sparc64/mm/tlb.c
+++ b/arch/sparc64/mm/tlb.c
@@ -23,10 +23,11 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = { 0, };
 
 void flush_tlb_pending(void)
 {
-	struct mmu_gather *mp = &__get_cpu_var(mmu_gathers);
+	struct mmu_gather *mp;
 
 	preempt_disable();
 
+	mp = &__get_cpu_var(mmu_gathers);
 	if (mp->tlb_nr) {
 		flush_tsb_user(mp);
 

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 11:25     ` David Miller
@ 2008-03-26 11:46       ` Mariusz Kozlowski
  2008-03-26 11:51         ` David Miller
  2008-03-27  3:25       ` Andrew Morton
  1 sibling, 1 reply; 12+ messages in thread
From: Mariusz Kozlowski @ 2008-03-26 11:46 UTC (permalink / raw)
  To: David Miller; +Cc: torvalds, linux-kernel, sparclinux

Hello,

> From: David Miller <davem@davemloft.net>
> Date: Wed, 26 Mar 2008 04:16:26 -0700 (PDT)
> 
> > From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> > Date: Wed, 26 Mar 2008 11:42:07 +0100
> > 
> > > I see lots of these messages on my ultra 60 box.
> > 
> > This is a sparc64 bug.
> 
> And this patch should fix it:
> 
> commit 69072f6e8e4bd4799d2a54e4ff8771d0657512c1
> Author: David S. Miller <davem@davemloft.net>
> Date:   Wed Mar 26 04:25:00 2008 -0700
> 
>     [SPARC64]: Fix __get_cpu_var in preemption-enabled area.
>     
>     Reported by Mariusz Kozlowski.
>     
>     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> diff --git a/arch/sparc64/mm/tlb.c b/arch/sparc64/mm/tlb.c
> index 3f10fc9..a0f000b 100644
> --- a/arch/sparc64/mm/tlb.c
> +++ b/arch/sparc64/mm/tlb.c
> @@ -23,10 +23,11 @@ DEFINE_PER_CPU(struct mmu_gather, mmu_gathers) = { 0, };
>  
>  void flush_tlb_pending(void)
>  {
> -	struct mmu_gather *mp = &__get_cpu_var(mmu_gathers);
> +	struct mmu_gather *mp;
>  
>  	preempt_disable();
>  
> +	mp = &__get_cpu_var(mmu_gathers);
>  	if (mp->tlb_nr) {
>  		flush_tsb_user(mp);

Ok it worked. Now I get a bunch of these:

BUG: using smp_processor_id() in preemptible [00000000] code: pidof/2471
caller is flush_ptrace_access+0xc0/0x1a0
Call Trace:
 [000000000042ef78] flush_ptrace_access+0xc0/0x1a0
 [00000000004ae6e4] access_process_vm+0x1ac/0x220
 [0000000000508e38] proc_pid_cmdline+0x60/0x120
 [000000000050acb8] proc_info_read+0x80/0xe0
 [00000000004c6fcc] vfs_read+0x74/0x120
 [00000000004c73cc] sys_read+0x34/0x60
 [0000000000406314] linux_sparc_syscall32+0x3c/0x40
 [00000000f7df5fe4] 0xf7df5fec

	Mariusz

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 11:46       ` Mariusz Kozlowski
@ 2008-03-26 11:51         ` David Miller
  2008-03-26 12:10           ` Mariusz Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: David Miller @ 2008-03-26 11:51 UTC (permalink / raw)
  To: m.kozlowski; +Cc: torvalds, linux-kernel, sparclinux

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Wed, 26 Mar 2008 12:46:53 +0100

> Ok it worked. Now I get a bunch of these:
> 
> BUG: using smp_processor_id() in preemptible [00000000] code: pidof/2471
> caller is flush_ptrace_access+0xc0/0x1a0

Here ya go:

commit f6a843d939ade435e060d580f5c56d958464f8a5
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Mar 26 04:51:12 2008 -0700

    [SPARC64]: flush_ptrace_access() needs preemption disable.
    
    Based upon a report by Mariusz Kozlowski.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c
index bcf58ec..aaae865 100644
--- a/arch/sparc64/kernel/ptrace.c
+++ b/arch/sparc64/kernel/ptrace.c
@@ -70,6 +70,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
 	if (tlb_type == hypervisor)
 		return;
 
+	preempt_disable();
+
 #ifdef DCACHE_ALIASING_POSSIBLE
 	/* If bit 13 of the kernel address we used to access the
 	 * user page is the same as the virtual address that page
@@ -108,6 +110,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
 		for (; start < end; start += icache_line_size)
 			flushi(start);
 	}
+
+	preempt_enable();
 }
 
 enum sparc_regset {

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

* Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap
  2008-03-26  2:07 Linux 2.6.25-rc7 Linus Torvalds
  2008-03-26 10:42 ` sparc64 BUG: using smp_processor_id() in preemptible Mariusz Kozlowski
@ 2008-03-26 12:02 ` Mariusz Kozlowski
  2008-03-27  0:35   ` David Miller
  1 sibling, 1 reply; 12+ messages in thread
From: Mariusz Kozlowski @ 2008-03-26 12:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel Mailing List, David Miller, sparclinux

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

Hello,

cat /proc/<pid>/pagemap 

and 

cat /proc/<pid>/task/<pid>/pagemap

eats up to 100% of CPU while looping forever somewhere. On the other
hand on my old x86 the same commands take well below 1s so I
guess that is the expected behaviour.

PS. I'll be offline till tommorow just in case I was sent some patches to test.

	Mariusz

[-- Attachment #2: config-sparc64-2.6.25-rc7 --]
[-- Type: text/plain, Size: 23407 bytes --]

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.25-rc7
# Wed Mar 26 10:53:43 2008
#
CONFIG_SPARC=y
CONFIG_SPARC64=y
CONFIG_GENERIC_TIME=y
CONFIG_GENERIC_CMOS_UPDATE=y
CONFIG_GENERIC_CLOCKEVENTS=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_IOMMU_HELPER=y
CONFIG_QUICKLIST=y
CONFIG_STACKTRACE_SUPPORT=y
CONFIG_LOCKDEP_SUPPORT=y
CONFIG_ARCH_MAY_HAVE_PC_FDC=y
# CONFIG_ARCH_HAS_ILOG2_U32 is not set
# CONFIG_ARCH_HAS_ILOG2_U64 is not set
CONFIG_AUDIT_ARCH=y
CONFIG_HAVE_SETUP_PER_CPU_AREA=y
CONFIG_ARCH_NO_VIRT_TO_BUS=y
CONFIG_OF=y
CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y
CONFIG_ARCH_SUPPORTS_AOUT=y
CONFIG_SPARC64_PAGE_SIZE_8KB=y
# CONFIG_SPARC64_PAGE_SIZE_64KB is not set
# CONFIG_SPARC64_PAGE_SIZE_512KB is not set
# CONFIG_SPARC64_PAGE_SIZE_4MB is not set
CONFIG_SECCOMP=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
# CONFIG_SCHED_HRTICK is not set
# CONFIG_HOTPLUG_CPU is not set
CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config"

#
# General setup
#
CONFIG_EXPERIMENTAL=y
CONFIG_LOCK_KERNEL=y
CONFIG_INIT_ENV_ARG_LIMIT=32
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_SYSVIPC_SYSCTL=y
CONFIG_POSIX_MQUEUE=y
# CONFIG_BSD_PROCESS_ACCT is not set
# CONFIG_TASKSTATS is not set
# CONFIG_AUDIT is not set
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
CONFIG_LOG_BUF_SHIFT=18
# CONFIG_CGROUPS is not set
CONFIG_GROUP_SCHED=y
CONFIG_FAIR_GROUP_SCHED=y
# CONFIG_RT_GROUP_SCHED is not set
CONFIG_USER_SCHED=y
# CONFIG_CGROUP_SCHED is not set
CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y
# CONFIG_RELAY is not set
CONFIG_NAMESPACES=y
# CONFIG_UTS_NS is not set
# CONFIG_IPC_NS is not set
# CONFIG_USER_NS is not set
# CONFIG_PID_NS is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
CONFIG_SYSCTL=y
# CONFIG_EMBEDDED is not set
CONFIG_UID16=y
CONFIG_SYSCTL_SYSCALL=y
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
# CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_HOTPLUG=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
# CONFIG_COMPAT_BRK is not set
CONFIG_BASE_FULL=y
CONFIG_FUTEX=y
CONFIG_ANON_INODES=y
CONFIG_EPOLL=y
CONFIG_SIGNALFD=y
CONFIG_TIMERFD=y
CONFIG_EVENTFD=y
CONFIG_SHMEM=y
CONFIG_VM_EVENT_COUNTERS=y
CONFIG_SLUB_DEBUG=y
# CONFIG_SLAB is not set
CONFIG_SLUB=y
# CONFIG_SLOB is not set
# CONFIG_PROFILING is not set
# CONFIG_MARKERS is not set
CONFIG_HAVE_OPROFILE=y
# CONFIG_KPROBES is not set
CONFIG_HAVE_KPROBES=y
CONFIG_HAVE_KRETPROBES=y
CONFIG_PROC_PAGE_MONITOR=y
CONFIG_SLABINFO=y
CONFIG_RT_MUTEXES=y
# CONFIG_TINY_SHMEM is not set
CONFIG_BASE_SMALL=0
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
CONFIG_KMOD=y
CONFIG_STOP_MACHINE=y
CONFIG_BLOCK=y
# CONFIG_BLK_DEV_IO_TRACE is not set
# CONFIG_BLK_DEV_BSG is not set
CONFIG_BLOCK_COMPAT=y

#
# IO Schedulers
#
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
# CONFIG_IOSCHED_DEADLINE is not set
# CONFIG_IOSCHED_CFQ is not set
CONFIG_DEFAULT_AS=y
# CONFIG_DEFAULT_DEADLINE is not set
# CONFIG_DEFAULT_CFQ is not set
# CONFIG_DEFAULT_NOOP is not set
CONFIG_DEFAULT_IOSCHED="anticipatory"
CONFIG_CLASSIC_RCU=y
CONFIG_SYSVIPC_COMPAT=y
CONFIG_GENERIC_HARDIRQS=y

#
# General machine setup
#
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_GENERIC_CLOCKEVENTS_BUILD=y
CONFIG_SMP=y
CONFIG_NR_CPUS=4
# CONFIG_CPU_FREQ is not set
CONFIG_GENERIC_LOCKBREAK=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_FIND_NEXT_BIT=y
CONFIG_GENERIC_HWEIGHT=y
CONFIG_GENERIC_CALIBRATE_DELAY=y
CONFIG_ARCH_SELECT_MEMORY_MODEL=y
CONFIG_ARCH_SPARSEMEM_ENABLE=y
CONFIG_ARCH_SPARSEMEM_DEFAULT=y
CONFIG_SELECT_MEMORY_MODEL=y
# CONFIG_FLATMEM_MANUAL is not set
# CONFIG_DISCONTIGMEM_MANUAL is not set
CONFIG_SPARSEMEM_MANUAL=y
CONFIG_SPARSEMEM=y
CONFIG_HAVE_MEMORY_PRESENT=y
# CONFIG_SPARSEMEM_STATIC is not set
CONFIG_SPARSEMEM_EXTREME=y
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
CONFIG_SPARSEMEM_VMEMMAP=y
CONFIG_SPLIT_PTLOCK_CPUS=4
CONFIG_RESOURCES_64BIT=y
CONFIG_ZONE_DMA_FLAG=0
CONFIG_NR_QUICK=1
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
# CONFIG_SUN_LDOMS is not set
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_SYSCALL=y
CONFIG_ARCH_SUPPORTS_MSI=y
# CONFIG_PCI_MSI is not set
CONFIG_PCI_LEGACY=y
# CONFIG_PCI_DEBUG is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_SPARC32_COMPAT=y
CONFIG_COMPAT=y
# CONFIG_BINFMT_AOUT32 is not set

#
# Executable file formats
#
CONFIG_BINFMT_ELF=y
CONFIG_COMPAT_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
CONFIG_SOLARIS_EMUL=y
CONFIG_SCHED_SMT=y
CONFIG_SCHED_MC=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_CMDLINE_BOOL is not set

#
# Networking
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_UNIX=y
CONFIG_XFRM=y
CONFIG_XFRM_USER=m
# CONFIG_XFRM_SUB_POLICY is not set
# CONFIG_XFRM_MIGRATE is not set
# CONFIG_XFRM_STATISTICS is not set
CONFIG_NET_KEY=m
# CONFIG_NET_KEY_MIGRATE is not set
CONFIG_INET=y
# CONFIG_IP_MULTICAST is not set
# CONFIG_IP_ADVANCED_ROUTER is not set
CONFIG_IP_FIB_HASH=y
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_ARPD is not set
# CONFIG_SYN_COOKIES is not set
# CONFIG_INET_AH is not set
# CONFIG_INET_ESP is not set
# CONFIG_INET_IPCOMP is not set
# CONFIG_INET_XFRM_TUNNEL is not set
# CONFIG_INET_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
# CONFIG_INET_XFRM_MODE_BEET is not set
# CONFIG_INET_LRO is not set
CONFIG_INET_DIAG=y
CONFIG_INET_TCP_DIAG=y
# CONFIG_TCP_CONG_ADVANCED is not set
CONFIG_TCP_CONG_CUBIC=y
CONFIG_DEFAULT_TCP_CONG="cubic"
# CONFIG_TCP_MD5SIG is not set
# CONFIG_IPV6 is not set
# CONFIG_INET6_XFRM_TUNNEL is not set
# CONFIG_INET6_TUNNEL is not set
# CONFIG_NETWORK_SECMARK is not set
# CONFIG_NETFILTER is not set
# CONFIG_IP_DCCP is not set
# CONFIG_IP_SCTP is not set
# CONFIG_TIPC 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_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_SCHED is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_HAMRADIO is not set
# CONFIG_CAN is not set
# CONFIG_IRDA is not set
# CONFIG_BT is not set
# CONFIG_AF_RXRPC is not set

#
# Wireless
#
# CONFIG_CFG80211 is not set
# CONFIG_WIRELESS_EXT is not set
# CONFIG_MAC80211 is not set
# CONFIG_IEEE80211 is not set
# CONFIG_RFKILL is not set
# CONFIG_NET_9P is not set

#
# Device Drivers
#

#
# Generic Driver Options
#
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
CONFIG_STANDALONE=y
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
CONFIG_FW_LOADER=y
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_SYS_HYPERVISOR is not set
CONFIG_CONNECTOR=m
# CONFIG_MTD is not set
CONFIG_OF_DEVICE=y
# CONFIG_PARPORT is not set
# CONFIG_BLK_DEV is not set
# CONFIG_MISC_DEVICES is not set
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

#
# SCSI device support
#
# CONFIG_RAID_ATTRS is not set
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
# CONFIG_SCSI_TGT is not set
# CONFIG_SCSI_NETLINK is not set
CONFIG_SCSI_PROC_FS=y

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

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

#
# SCSI Transports
#
CONFIG_SCSI_SPI_ATTRS=y
# CONFIG_SCSI_FC_ATTRS is not set
CONFIG_SCSI_ISCSI_ATTRS=y
# CONFIG_SCSI_SAS_LIBSAS is not set
# CONFIG_SCSI_SRP_ATTRS is not set
CONFIG_SCSI_LOWLEVEL=y
# CONFIG_ISCSI_TCP is not set
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_3W_9XXX is not set
# CONFIG_SCSI_ACARD 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_AIC94XX is not set
# CONFIG_SCSI_ARCMSR is not set
# CONFIG_MEGARAID_NEWGEN is not set
# CONFIG_MEGARAID_LEGACY is not set
# CONFIG_MEGARAID_SAS is not set
# CONFIG_SCSI_HPTIOP is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_MVSAS is not set
# CONFIG_SCSI_STEX is not set
CONFIG_SCSI_SYM53C8XX_2=y
CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=1
CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16
CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64
CONFIG_SCSI_SYM53C8XX_MMIO=y
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_QLOGICPTI is not set
# CONFIG_SCSI_QLA_FC is not set
# CONFIG_SCSI_QLA_ISCSI is not set
# CONFIG_SCSI_LPFC is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_SUNESP is not set
# CONFIG_SCSI_SRP is not set
# CONFIG_ATA is not set
# CONFIG_MD is not set
# CONFIG_FUSION is not set

#
# IEEE 1394 (FireWire) support
#
# CONFIG_FIREWIRE is not set
# CONFIG_IEEE1394 is not set
# CONFIG_I2O is not set
CONFIG_NETDEVICES=y
# CONFIG_NETDEVICES_MULTIQUEUE is not set
# CONFIG_DUMMY is not set
# CONFIG_BONDING is not set
# CONFIG_MACVLAN is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_VETH is not set
# CONFIG_ARCNET is not set
# CONFIG_PHYLIB is not set
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_SUNLANCE is not set
CONFIG_HAPPYMEAL=y
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNGEM is not set
# CONFIG_CASSINI is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_NET_TULIP is not set
# CONFIG_HP100 is not set
# CONFIG_IBM_NEW_EMAC_ZMII is not set
# CONFIG_IBM_NEW_EMAC_RGMII is not set
# CONFIG_IBM_NEW_EMAC_TAH is not set
# CONFIG_IBM_NEW_EMAC_EMAC4 is not set
# CONFIG_NET_PCI is not set
# CONFIG_B44 is not set
# CONFIG_NETDEV_1000 is not set
# CONFIG_NETDEV_10000 is not set
# CONFIG_TR is not set

#
# Wireless LAN
#
# CONFIG_WLAN_PRE80211 is not set
# CONFIG_WLAN_80211 is not set
# CONFIG_WAN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PPP is not set
# CONFIG_SLIP is not set
# CONFIG_NET_FC is not set
# CONFIG_NETCONSOLE is not set
# CONFIG_NETPOLL is not set
# CONFIG_NET_POLL_CONTROLLER is not set
# CONFIG_ISDN is not set
# CONFIG_PHONE is not set

#
# Input device support
#
CONFIG_INPUT=y
# CONFIG_INPUT_FF_MEMLESS is not set
# CONFIG_INPUT_POLLDEV is not set

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
CONFIG_KEYBOARD_SUNKBD=y
# CONFIG_KEYBOARD_LKKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
# CONFIG_KEYBOARD_STOWAWAY is not set
# CONFIG_INPUT_MOUSE is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TABLET is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

#
# Hardware I/O ports
#
CONFIG_SERIO=y
CONFIG_SERIO_I8042=y
# CONFIG_SERIO_SERPORT is not set
CONFIG_SERIO_PCIPS2=m
CONFIG_SERIO_LIBPS2=y
CONFIG_SERIO_RAW=m
# CONFIG_GAMEPORT is not set

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

#
# Serial drivers
#

#
# Non-8250 serial port support
#
CONFIG_SERIAL_SUNCORE=y
# CONFIG_SERIAL_SUNZILOG is not set
CONFIG_SERIAL_SUNSU=y
CONFIG_SERIAL_SUNSU_CONSOLE=y
CONFIG_SERIAL_SUNSAB=m
CONFIG_SERIAL_SUNHV=y
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
# CONFIG_SERIAL_JSM is not set
CONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not set
# CONFIG_IPMI_HANDLER is not set
# CONFIG_HW_RANDOM is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_RAW_DRIVER is not set
# CONFIG_TCG_TPM is not set
CONFIG_DEVPORT=y
# CONFIG_I2C is not set

#
# SPI support
#
# CONFIG_SPI is not set
# CONFIG_SPI_MASTER is not set
# CONFIG_W1 is not set
# CONFIG_POWER_SUPPLY is not set
# CONFIG_HWMON is not set
# CONFIG_THERMAL is not set
# CONFIG_WATCHDOG is not set

#
# Sonics Silicon Backplane
#
CONFIG_SSB_POSSIBLE=y
# CONFIG_SSB is not set

#
# Multifunction device drivers
#
# CONFIG_MFD_SM501 is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
# CONFIG_DVB_CORE is not set
# CONFIG_DAB is not set

#
# Graphics support
#
# CONFIG_DRM is not set
# CONFIG_VGASTATE is not set
CONFIG_VIDEO_OUTPUT_CONTROL=m
CONFIG_FB=y
# CONFIG_FIRMWARE_EDID is not set
# CONFIG_FB_DDC is not set
# CONFIG_FB_CFB_FILLRECT is not set
CONFIG_FB_CFB_COPYAREA=y
CONFIG_FB_CFB_IMAGEBLIT=y
# CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set
# CONFIG_FB_SYS_FILLRECT is not set
# CONFIG_FB_SYS_COPYAREA is not set
# CONFIG_FB_SYS_IMAGEBLIT is not set
# CONFIG_FB_SYS_FOPS is not set
CONFIG_FB_DEFERRED_IO=y
# CONFIG_FB_SVGALIB is not set
# CONFIG_FB_MACMODES is not set
# CONFIG_FB_BACKLIGHT is not set
CONFIG_FB_MODE_HELPERS=y
CONFIG_FB_TILEBLITTING=y

#
# Frame buffer hardware drivers
#
# CONFIG_FB_CIRRUS is not set
# CONFIG_FB_PM2 is not set
# CONFIG_FB_ASILIANT is not set
# CONFIG_FB_IMSTT is not set
# CONFIG_FB_UVESA is not set
CONFIG_FB_SBUS=y
# CONFIG_FB_BW2 is not set
# CONFIG_FB_CG3 is not set
# CONFIG_FB_CG6 is not set
CONFIG_FB_FFB=y
# CONFIG_FB_TCX is not set
# CONFIG_FB_CG14 is not set
# CONFIG_FB_P9100 is not set
# CONFIG_FB_LEO is not set
# CONFIG_FB_XVR500 is not set
# CONFIG_FB_XVR2500 is not set
# CONFIG_FB_S1D13XXX is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_FB_RIVA is not set
# CONFIG_FB_MATROX is not set
# CONFIG_FB_RADEON is not set
# CONFIG_FB_ATY128 is not set
# CONFIG_FB_ATY is not set
# CONFIG_FB_S3 is not set
# CONFIG_FB_SAVAGE 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_VT8623 is not set
# CONFIG_FB_TRIDENT is not set
# CONFIG_FB_ARK is not set
# CONFIG_FB_PM3 is not set
# CONFIG_FB_VIRTUAL is not set
# CONFIG_BACKLIGHT_LCD_SUPPORT is not set

#
# Display device support
#
# CONFIG_DISPLAY_SUPPORT is not set

#
# Console display driver support
#
# CONFIG_PROM_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y
CONFIG_FRAMEBUFFER_CONSOLE=y
# CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set
# CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set
CONFIG_FONTS=y
# CONFIG_FONT_8x8 is not set
# CONFIG_FONT_8x16 is not set
# CONFIG_FONT_6x11 is not set
# CONFIG_FONT_7x14 is not set
# CONFIG_FONT_PEARL_8x8 is not set
# CONFIG_FONT_ACORN_8x8 is not set
CONFIG_FONT_SUN8x16=y
# CONFIG_FONT_SUN12x22 is not set
# CONFIG_FONT_10x18 is not set
CONFIG_LOGO=y
# CONFIG_LOGO_LINUX_MONO is not set
# CONFIG_LOGO_LINUX_VGA16 is not set
# CONFIG_LOGO_LINUX_CLUT224 is not set
CONFIG_LOGO_SUN_CLUT224=y

#
# Sound
#
CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_TIMER=y
CONFIG_SND_PCM=y
# CONFIG_SND_SEQUENCER is not set
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_PCM_OSS_PLUGINS=y
# CONFIG_SND_DYNAMIC_MINORS is not set
CONFIG_SND_SUPPORT_OLD_API=y
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set

#
# Generic devices
#
# CONFIG_SND_DUMMY is not set
# CONFIG_SND_MTPAV is not set
# CONFIG_SND_SERIAL_U16550 is not set
# CONFIG_SND_MPU401 is not set

#
# PCI devices
#
# CONFIG_SND_AD1889 is not set
# CONFIG_SND_ALS300 is not set
# CONFIG_SND_ALI5451 is not set
# CONFIG_SND_ATIIXP is not set
# CONFIG_SND_ATIIXP_MODEM 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_CA0106 is not set
# CONFIG_SND_CMIPCI is not set
# CONFIG_SND_OXYGEN is not set
# CONFIG_SND_CS4281 is not set
# CONFIG_SND_CS46XX is not set
# CONFIG_SND_DARLA20 is not set
# CONFIG_SND_GINA20 is not set
# CONFIG_SND_LAYLA20 is not set
# CONFIG_SND_DARLA24 is not set
# CONFIG_SND_GINA24 is not set
# CONFIG_SND_LAYLA24 is not set
# CONFIG_SND_MONA is not set
# CONFIG_SND_MIA is not set
# CONFIG_SND_ECHO3G is not set
# CONFIG_SND_INDIGO is not set
# CONFIG_SND_INDIGOIO is not set
# CONFIG_SND_INDIGODJ is not set
# CONFIG_SND_EMU10K1 is not set
# CONFIG_SND_EMU10K1X 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_FM801 is not set
# CONFIG_SND_HDA_INTEL is not set
# CONFIG_SND_HDSP is not set
# CONFIG_SND_HDSPM is not set
# CONFIG_SND_HIFIER is not set
# CONFIG_SND_ICE1712 is not set
# CONFIG_SND_ICE1724 is not set
# CONFIG_SND_INTEL8X0 is not set
# CONFIG_SND_INTEL8X0M is not set
# CONFIG_SND_KORG1212 is not set
# CONFIG_SND_MAESTRO3 is not set
# CONFIG_SND_MIXART is not set
# CONFIG_SND_NM256 is not set
# CONFIG_SND_PCXHR is not set
# CONFIG_SND_RIPTIDE is not set
# CONFIG_SND_RME32 is not set
# CONFIG_SND_RME96 is not set
# CONFIG_SND_RME9652 is not set
# CONFIG_SND_SONICVIBES is not set
# CONFIG_SND_TRIDENT is not set
# CONFIG_SND_VIA82XX is not set
# CONFIG_SND_VIA82XX_MODEM is not set
# CONFIG_SND_VIRTUOSO is not set
# CONFIG_SND_VX222 is not set
# CONFIG_SND_YMFPCI is not set

#
# ALSA Sparc devices
#
# CONFIG_SND_SUN_AMD7930 is not set
CONFIG_SND_SUN_CS4231=y
# CONFIG_SND_SUN_DBRI is not set

#
# System on Chip audio support
#
# CONFIG_SND_SOC is not set

#
# SoC Audio support for SuperH
#

#
# ALSA SoC audio for Freescale SOCs
#

#
# Open Sound System
#
# CONFIG_SOUND_PRIME is not set
# CONFIG_HID_SUPPORT is not set
# CONFIG_USB_SUPPORT is not set
# CONFIG_MMC is not set
# CONFIG_MEMSTICK is not set
# CONFIG_NEW_LEDS is not set
# CONFIG_INFINIBAND is not set
# CONFIG_RTC_CLASS is not set

#
# Userspace I/O
#
# CONFIG_UIO is not set

#
# Misc Linux/SPARC drivers
#
CONFIG_SUN_OPENPROMIO=y
# CONFIG_OBP_FLASH is not set
# CONFIG_SUN_BPP is not set
# CONFIG_BBC_I2C is not set
# CONFIG_ENVCTRL is not set
# CONFIG_DISPLAY7SEG is not set

#
# File systems
#
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
# CONFIG_EXT2_FS_XIP is not set
CONFIG_EXT3_FS=y
# CONFIG_EXT3_FS_XATTR is not set
# CONFIG_EXT4DEV_FS is not set
CONFIG_JBD=y
# CONFIG_JBD_DEBUG is not set
# CONFIG_REISERFS_FS is not set
# CONFIG_JFS_FS is not set
# CONFIG_FS_POSIX_ACL is not set
# CONFIG_XFS_FS is not set
# CONFIG_GFS2_FS is not set
# CONFIG_OCFS2_FS is not set
CONFIG_DNOTIFY=y
CONFIG_INOTIFY=y
CONFIG_INOTIFY_USER=y
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
# CONFIG_FUSE_FS is not set

#
# CD-ROM/DVD Filesystems
#
CONFIG_ISO9660_FS=m
# CONFIG_JOLIET is not set
# CONFIG_ZISOFS is not set
CONFIG_UDF_FS=m

#
# DOS/FAT/NT Filesystems
#
# CONFIG_MSDOS_FS is not set
# CONFIG_VFAT_FS is not set
# CONFIG_NTFS_FS is not set

#
# Pseudo filesystems
#
CONFIG_PROC_FS=y
CONFIG_PROC_KCORE=y
CONFIG_PROC_SYSCTL=y
CONFIG_SYSFS=y
CONFIG_TMPFS=y
# CONFIG_TMPFS_POSIX_ACL is not set
# CONFIG_HUGETLBFS is not set
# CONFIG_HUGETLB_PAGE is not set
# CONFIG_CONFIGFS_FS is not set

#
# 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_MINIX_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_ROMFS_FS is not set
# CONFIG_SYSV_FS is not set
# CONFIG_UFS_FS is not set
# CONFIG_NETWORK_FILESYSTEMS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SUN_PARTITION=y
# CONFIG_NLS is not set
# CONFIG_DLM is not set

#
# Kernel hacking
#
CONFIG_TRACE_IRQFLAGS_SUPPORT=y
# CONFIG_PRINTK_TIME is not set
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_UNUSED_SYMBOLS is not set
CONFIG_DEBUG_FS=y
# CONFIG_HEADERS_CHECK is not set
CONFIG_DEBUG_KERNEL=y
CONFIG_DEBUG_SHIRQ=y
CONFIG_DETECT_SOFTLOCKUP=y
CONFIG_SCHED_DEBUG=y
# CONFIG_SCHEDSTATS is not set
# CONFIG_TIMER_STATS is not set
CONFIG_SLUB_DEBUG_ON=y
# CONFIG_SLUB_STATS is not set
CONFIG_DEBUG_PREEMPT=y
CONFIG_DEBUG_RT_MUTEXES=y
CONFIG_DEBUG_PI_LIST=y
# CONFIG_RT_MUTEX_TESTER is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_PROVE_LOCKING is not set
# CONFIG_LOCK_STAT is not set
# CONFIG_DEBUG_SPINLOCK_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_DEBUG_KOBJECT is not set
CONFIG_DEBUG_BUGVERBOSE=y
CONFIG_DEBUG_INFO=y
CONFIG_DEBUG_VM=y
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_BOOT_PRINTK_DELAY is not set
# CONFIG_RCU_TORTURE_TEST is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_FAULT_INJECTION is not set
# CONFIG_SAMPLES is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_DCFLUSH is not set
# CONFIG_STACK_DEBUG is not set
# CONFIG_DEBUG_PAGEALLOC is not set

#
# Security options
#
# CONFIG_KEYS is not set
# CONFIG_SECURITY is not set
# CONFIG_SECURITY_FILE_CAPABILITIES is not set
CONFIG_CRYPTO=y
# CONFIG_CRYPTO_SEQIV is not set
# CONFIG_CRYPTO_MANAGER is not set
# CONFIG_CRYPTO_HMAC is not set
# CONFIG_CRYPTO_XCBC is not set
# CONFIG_CRYPTO_NULL is not set
# CONFIG_CRYPTO_MD4 is not set
# CONFIG_CRYPTO_MD5 is not set
# CONFIG_CRYPTO_SHA1 is not set
# CONFIG_CRYPTO_SHA256 is not set
# CONFIG_CRYPTO_SHA512 is not set
# CONFIG_CRYPTO_WP512 is not set
# CONFIG_CRYPTO_TGR192 is not set
# CONFIG_CRYPTO_GF128MUL is not set
# CONFIG_CRYPTO_ECB is not set
# CONFIG_CRYPTO_CBC is not set
# CONFIG_CRYPTO_PCBC is not set
# CONFIG_CRYPTO_LRW is not set
# CONFIG_CRYPTO_XTS is not set
# CONFIG_CRYPTO_CTR is not set
# CONFIG_CRYPTO_GCM is not set
# CONFIG_CRYPTO_CCM is not set
# CONFIG_CRYPTO_CRYPTD is not set
# CONFIG_CRYPTO_DES is not set
# CONFIG_CRYPTO_FCRYPT is not set
# CONFIG_CRYPTO_BLOWFISH is not set
# CONFIG_CRYPTO_TWOFISH is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_AES is not set
# CONFIG_CRYPTO_CAST5 is not set
# CONFIG_CRYPTO_CAST6 is not set
# CONFIG_CRYPTO_TEA is not set
# CONFIG_CRYPTO_ARC4 is not set
# CONFIG_CRYPTO_KHAZAD is not set
# CONFIG_CRYPTO_ANUBIS is not set
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SALSA20 is not set
# CONFIG_CRYPTO_DEFLATE is not set
# CONFIG_CRYPTO_MICHAEL_MIC is not set
# CONFIG_CRYPTO_CRC32C is not set
# CONFIG_CRYPTO_CAMELLIA is not set
# CONFIG_CRYPTO_TEST is not set
# CONFIG_CRYPTO_AUTHENC is not set
# CONFIG_CRYPTO_LZO is not set
# CONFIG_CRYPTO_HW is not set

#
# Library routines
#
CONFIG_BITREVERSE=y
# CONFIG_CRC_CCITT is not set
# CONFIG_CRC16 is not set
# CONFIG_CRC_ITU_T is not set
CONFIG_CRC32=y
# CONFIG_CRC7 is not set
# CONFIG_LIBCRC32C is not set
CONFIG_PLIST=y
CONFIG_HAS_IOMEM=y
CONFIG_HAS_IOPORT=y
CONFIG_HAS_DMA=y

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 11:51         ` David Miller
@ 2008-03-26 12:10           ` Mariusz Kozlowski
  0 siblings, 0 replies; 12+ messages in thread
From: Mariusz Kozlowski @ 2008-03-26 12:10 UTC (permalink / raw)
  To: David Miller; +Cc: torvalds, linux-kernel, sparclinux

Hello,

> From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
> Date: Wed, 26 Mar 2008 12:46:53 +0100
> 
> > Ok it worked. Now I get a bunch of these:
> > 
> > BUG: using smp_processor_id() in preemptible [00000000] code: pidof/2471
> > caller is flush_ptrace_access+0xc0/0x1a0
> 
> Here ya go:
> 
> commit f6a843d939ade435e060d580f5c56d958464f8a5
> Author: David S. Miller <davem@davemloft.net>
> Date:   Wed Mar 26 04:51:12 2008 -0700
> 
>     [SPARC64]: flush_ptrace_access() needs preemption disable.
>     
>     Based upon a report by Mariusz Kozlowski.
>     
>     Signed-off-by: David S. Miller <davem@davemloft.net>
> 
> diff --git a/arch/sparc64/kernel/ptrace.c b/arch/sparc64/kernel/ptrace.c
> index bcf58ec..aaae865 100644
> --- a/arch/sparc64/kernel/ptrace.c
> +++ b/arch/sparc64/kernel/ptrace.c
> @@ -70,6 +70,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
>  	if (tlb_type == hypervisor)
>  		return;
>  
> +	preempt_disable();
> +
>  #ifdef DCACHE_ALIASING_POSSIBLE
>  	/* If bit 13 of the kernel address we used to access the
>  	 * user page is the same as the virtual address that page
> @@ -108,6 +110,8 @@ void flush_ptrace_access(struct vm_area_struct *vma, struct page *page,
>  		for (; start < end; start += icache_line_size)
>  			flushi(start);
>  	}
> +
> +	preempt_enable();
>  }
>  
>  enum sparc_regset {

And this one also worked. Now I have a nice clean dmesg :)

Thanks,

	Mariusz

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

* Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap
  2008-03-26 12:02 ` Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap Mariusz Kozlowski
@ 2008-03-27  0:35   ` David Miller
  2008-03-28 11:33     ` Mariusz Kozlowski
  0 siblings, 1 reply; 12+ messages in thread
From: David Miller @ 2008-03-27  0:35 UTC (permalink / raw)
  To: m.kozlowski; +Cc: torvalds, linux-kernel, sparclinux

From: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Date: Wed, 26 Mar 2008 13:02:45 +0100

> cat /proc/<pid>/pagemap 
> 
> and 
> 
> cat /proc/<pid>/task/<pid>/pagemap
> 
> eats up to 100% of CPU while looping forever somewhere. On the other
> hand on my old x86 the same commands take well below 1s so I
> guess that is the expected behaviour.

The patch below will speed this up for 32-bit processes but for 64-bit
ones it's still going to take a long time.

Cat'ing this file writes a 64-bit value for every possible page in the
task's address space, which for 64-bit is an enormous number of
entries.

This is not how this file is supposed to be used.  Programs are
supposed to inspect /proc/${PID}/maps, and use those ranges to lseek()
around the pagemap file and fish out the values they need.

This expensive operation is quite harmless, the process can still be
killed, it is not unstoppable.

commit c101b088ba0ed16d7109b2f3c2d16798d162a535
Author: David S. Miller <davem@davemloft.net>
Date:   Wed Mar 26 17:32:33 2008 -0700

    [SPARC64]: Define TASK_SIZE_OF()
    
    This make "cat /proc/${PID}/pagemap" more efficient for
    32-bit tasks.
    
    Based upon a report by Mariusz Kozlowski.
    
    Signed-off-by: David S. Miller <davem@davemloft.net>

diff --git a/include/asm-sparc64/processor.h b/include/asm-sparc64/processor.h
index 8da484c..885b6a1 100644
--- a/include/asm-sparc64/processor.h
+++ b/include/asm-sparc64/processor.h
@@ -37,6 +37,9 @@
 #endif
 
 #define TASK_SIZE	((unsigned long)-VPTE_SIZE)
+#define TASK_SIZE_OF(tsk) \
+	(test_tsk_thread_flag(tsk,TIF_32BIT) ? \
+	 (1UL << 32UL) : TASK_SIZE)
 #ifdef __KERNEL__
 
 #define STACK_TOP32	((1UL << 32UL) - PAGE_SIZE)

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-26 11:25     ` David Miller
  2008-03-26 11:46       ` Mariusz Kozlowski
@ 2008-03-27  3:25       ` Andrew Morton
  2008-03-27  6:33         ` David Miller
  1 sibling, 1 reply; 12+ messages in thread
From: Andrew Morton @ 2008-03-27  3:25 UTC (permalink / raw)
  To: David Miller; +Cc: m.kozlowski, torvalds, linux-kernel, sparclinux

On Wed, 26 Mar 2008 04:25:16 -0700 (PDT) David Miller <davem@davemloft.net> wrote:

>  	preempt_disable();
>  
> +	mp = &__get_cpu_var(mmu_gathers);

that's an open-coded get_cpu_var().

fwiw.  Which isn't much, IMO.  Sometimes it's nice to see things open-coded.

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

* Re: sparc64 BUG: using smp_processor_id() in preemptible
  2008-03-27  3:25       ` Andrew Morton
@ 2008-03-27  6:33         ` David Miller
  0 siblings, 0 replies; 12+ messages in thread
From: David Miller @ 2008-03-27  6:33 UTC (permalink / raw)
  To: akpm; +Cc: m.kozlowski, torvalds, linux-kernel, sparclinux

From: Andrew Morton <akpm@linux-foundation.org>
Date: Wed, 26 Mar 2008 20:25:02 -0700

> On Wed, 26 Mar 2008 04:25:16 -0700 (PDT) David Miller <davem@davemloft.net> wrote:
> 
> >  	preempt_disable();
> >  
> > +	mp = &__get_cpu_var(mmu_gathers);
> 
> that's an open-coded get_cpu_var().
> 
> fwiw.  Which isn't much, IMO.  Sometimes it's nice to see things open-coded.

Good point, I might restructure that to use {get,put}_cpu_var().

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

* Re: Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap
  2008-03-27  0:35   ` David Miller
@ 2008-03-28 11:33     ` Mariusz Kozlowski
  0 siblings, 0 replies; 12+ messages in thread
From: Mariusz Kozlowski @ 2008-03-28 11:33 UTC (permalink / raw)
  To: David Miller; +Cc: torvalds, linux-kernel, sparclinux

Hello David,

> > cat /proc/<pid>/pagemap 
> > 
> > and 
> > 
> > cat /proc/<pid>/task/<pid>/pagemap
> > 
> > eats up to 100% of CPU while looping forever somewhere. On the other
> > hand on my old x86 the same commands take well below 1s so I
> > guess that is the expected behaviour.
> 
> The patch below will speed this up for 32-bit processes but for 64-bit
> ones it's still going to take a long time.
> 
> Cat'ing this file writes a 64-bit value for every possible page in the
> task's address space, which for 64-bit is an enormous number of
> entries.
> 
> This is not how this file is supposed to be used.  Programs are
> supposed to inspect /proc/${PID}/maps, and use those ranges to lseek()
> around the pagemap file and fish out the values they need.

I see. Sorry for the noise then 8-) I've got a couple of scripts for testing
/proc and /sys and I just noticed that some of processes started by them
would run for a couple hours eating 100% CPU which doesn't happen on other
arch'es I have around - hence my report. Thanks for clarification.

> This expensive operation is quite harmless, the process can still be
> killed, it is not unstoppable.

That's true.
 
> commit c101b088ba0ed16d7109b2f3c2d16798d162a535
> Author: David S. Miller <davem@davemloft.net>
> Date:   Wed Mar 26 17:32:33 2008 -0700
> 
>     [SPARC64]: Define TASK_SIZE_OF()
>     
>     This make "cat /proc/${PID}/pagemap" more efficient for
>     32-bit tasks.

This patch certainly helps in my case. Tested here:

sparc64 # time cat /proc/1/pagemap > /dev/null
real    0m0.046s
user    0m0.000s
sys     0m0.047s

Thanks,

	Mariusz

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

end of thread, other threads:[~2008-03-28 11:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-26  2:07 Linux 2.6.25-rc7 Linus Torvalds
2008-03-26 10:42 ` sparc64 BUG: using smp_processor_id() in preemptible Mariusz Kozlowski
2008-03-26 11:16   ` David Miller
2008-03-26 11:25     ` David Miller
2008-03-26 11:46       ` Mariusz Kozlowski
2008-03-26 11:51         ` David Miller
2008-03-26 12:10           ` Mariusz Kozlowski
2008-03-27  3:25       ` Andrew Morton
2008-03-27  6:33         ` David Miller
2008-03-26 12:02 ` Linux 2.6.25-rc7 sparc64 loops forever on cat /proc/<pid>/pagemap Mariusz Kozlowski
2008-03-27  0:35   ` David Miller
2008-03-28 11:33     ` Mariusz Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).