All of lore.kernel.org
 help / color / mirror / Atom feed
* BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
@ 2003-11-17 20:02 Thomas Steudten
  2003-11-17 21:11   ` Andrew Morton
  2003-11-17 21:31 ` Falk Hueffner
  0 siblings, 2 replies; 14+ messages in thread
From: Thomas Steudten @ 2003-11-17 20:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-scsi, linux-alpha

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

Hi

I got a kernel panic on alpha platform with the kernel-2.6.0-test9-bk21
(see below). Until 2.4.21 everything works fine. Config and lspci output
attached.
I don´t know, if the "Unaligned fault" comes from "I/O ports already in 
use, ignoring" before.

Screen output:

Linux version 2.6.0-test9-bk21 (root@merlin) (gcc version 3.3.2 (Red Hat 
Linux 3.3.2-1)) #1 Mon Nov 17 12:22:03 MET 2003
Booting on EB164 variation SX164 using machine vector SX164 from MILO
Major Options: EV56 LEGACY_START VERBOSE_MCHECK MAGIC_SYSRQ
[..]
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
CY82C693: IDE controller at PCI slot 0000:00:08.1
CY82C693: chipset revision 0
CY82C693: not 100% native mode: will probe irqs later
CY82C693U driver v0.34 99-13-12 Andreas S. Krebs (akrebs@altavista.net)
     ide0: BM-DMA at 0x8480-0x8487, BIOS settings: hda:pio, hdb:DMA
     ide1: BM-DMA at 0x8488-0x848f, BIOS settings: hdc:pio, hdd:DMA
hdb: ASUS CD-S340, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.35
         <Adaptec 2940 Ultra SCSI adapter>
         aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs

(scsi0:A:0): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
(scsi0:A:1): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
(scsi0:A:2): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
(scsi0:A:3): 40.000MB/s transfers (20.000MHz, offset 8, 16bit)
   Vendor: IBM       Model: DDYS-T36950N      Rev: SA2A
   Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:0:0: Tagged Queuing enabled.  Depth 128
   Vendor: COMPAQ    Model: BB00921B91        Rev: 3B07
   Type:   Direct-Access                      ANSI SCSI revision: 02
scsi0:A:1:0: Tagged Queuing enabled.  Depth 128
   Vendor: IBM       Model: DDYS-T18350N      Rev: SA2A
   Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:2:0: Tagged Queuing enabled.  Depth 128
   Vendor: IBM       Model: DDYS-T18350N      Rev: SA2A
   Type:   Direct-Access                      ANSI SCSI revision: 03
scsi0:A:3:0: Tagged Queuing enabled.  Depth 128
PCI: Unable to reserve I/O region #1:100@8000 for device 0000:00:07.0
PCI: Unable to reserve I/O region #1:100@8000 for device 0000:00:07.0
aic7xxx: <Adaptec AHA-294X Ultra SCSI host adapter> at PCI 0/7/0
aic7xxx: I/O ports already in use, ignoring.
SCSI device sda: 71687340 512-byte hdwr sectors (36704 MB)
SCSI device sda: drive cache: write back
  sda:Bad unaligned kernel access at fffffc0000476cb8: fffffc001fd48f22 22 31
Kernel panic: Attempted to kill init!

Disassembly of fffffc0000476cb8:

0xfffffc0000476c78 <__make_request+88>: addq    t0,t1,t0
0xfffffc0000476c7c <__make_request+92>: ldq     t12,-12528(gp)
0xfffffc0000476c80 <__make_request+96>: ldl     t1,8(t0)
0xfffffc0000476c84 <__make_request+100>:        lda     a1,64(sp)
0xfffffc0000476c88 <__make_request+104>:        zapnot  t3,0xf,t3
0xfffffc0000476c8c <__make_request+108>:        and     t4,0x1,s1
0xfffffc0000476c90 <__make_request+112>:        zapnot  t1,0xf,t1
0xfffffc0000476c94 <__make_request+116>:        stq     t2,80(sp)
0xfffffc0000476c98 <__make_request+120>:        srl     t3,0x9,s5
0xfffffc0000476c9c <__make_request+124>:        srl     t1,0x9,fp
0xfffffc0000476ca0 <__make_request+128>:        jsr 
ra,(t12),0xfffffc000047aa70 <diskstats_show+592>
0xfffffc0000476ca4 <__make_request+132>:        ldah    gp,35(ra)
0xfffffc0000476ca8 <__make_request+136>:        ldq     t0,64(sp)
0xfffffc0000476cac <__make_request+140>:        ldq     t2,632(s2)
0xfffffc0000476cb0 <__make_request+144>:        lda     gp,-28324(gp)
0xfffffc0000476cb4 <__make_request+148>:        ldl     t1,32(t0)
-> 0xfffffc0000476cb8 <__make_request+152>:        lds     $f31,0(t2)
0xfffffc0000476cbc <__make_request+156>:        unop
0xfffffc0000476cc0 <__make_request+160>:        and     t1,0x4,s0
0xfffffc0000476cc4 <__make_request+164>:        and     t1,0x2,s4
0xfffffc0000476cc8 <__make_request+168>:        cmpult  zero,s0,s0
0xfffffc0000476ccc <__make_request+172>:        unop
0xfffffc0000476cd0 <__make_request+176>:        lda     a0,7
---Type <return> to continue, or q <return> to quit---
0xfffffc0000476cd4 <__make_request+180>:        call_pal        0x35
0xfffffc0000476cd8 <__make_request+184>:        ldq     t12,-23576(gp)
0xfffffc0000476cdc <__make_request+188>:        mov     s2,a0
0xfffffc0000476ce0 <__make_request+192>:        jsr 
ra,(t12),0xfffffc00004734d0 <elv_queue_empty>
0xfffffc0000476ce4 <__make_request+196>:        ldah    gp,35(ra)

In ./drivers/block/ll_rw_blk.c __make_request:2021
    2021         spin_lock_prefetch(q->queue_lock);
    2022
    2023         barrier = test_bit(BIO_RW_BARRIER, &bio->bi_rw);
    2024
    2025         ra = bio->bi_rw & (1 << BIO_RW_AHEAD);


     3338:       00 00 e3 8b     lds     $f31,0(t2)

processor.h:94
extern inline void spin_lock_prefetch(const void *ptr)
{
         __builtin_prefetch(ptr, 1, 3);
}

So q->queue_lock isn´t aligned for alpha - or q isn´t valid.



-- 
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



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

#
# Automatically generated make config: don't edit
#
CONFIG_ALPHA=y
CONFIG_64BIT=y
CONFIG_MMU=y
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_GENERIC_ISA_DMA=y

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

#
# General setup
#
CONFIG_SWAP=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_LOG_BUF_SHIFT=17
CONFIG_IKCONFIG=y
CONFIG_IKCONFIG_PROC=y
# CONFIG_EMBEDDED is not set
CONFIG_KALLSYMS=y
CONFIG_FUTEX=y
CONFIG_EPOLL=y
CONFIG_IOSCHED_NOOP=y
CONFIG_IOSCHED_AS=y
CONFIG_IOSCHED_DEADLINE=y

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

#
# System setup
#
# CONFIG_ALPHA_GENERIC is not set
# CONFIG_ALPHA_ALCOR is not set
# CONFIG_ALPHA_XL is not set
# CONFIG_ALPHA_BOOK1 is not set
# CONFIG_ALPHA_AVANTI_CH is not set
# CONFIG_ALPHA_CABRIOLET is not set
# CONFIG_ALPHA_DP264 is not set
# CONFIG_ALPHA_EB164 is not set
# CONFIG_ALPHA_EB64P_CH is not set
# CONFIG_ALPHA_EB66 is not set
# CONFIG_ALPHA_EB66P is not set
# CONFIG_ALPHA_EIGER is not set
# CONFIG_ALPHA_JENSEN is not set
# CONFIG_ALPHA_LX164 is not set
# CONFIG_ALPHA_LYNX is not set
# CONFIG_ALPHA_MARVEL is not set
# CONFIG_ALPHA_MIATA is not set
# CONFIG_ALPHA_MIKASA is not set
# CONFIG_ALPHA_NAUTILUS is not set
# CONFIG_ALPHA_NONAME_CH is not set
# CONFIG_ALPHA_NORITAKE is not set
# CONFIG_ALPHA_PC164 is not set
# CONFIG_ALPHA_P2K is not set
# CONFIG_ALPHA_RAWHIDE is not set
# CONFIG_ALPHA_RUFFIAN is not set
# CONFIG_ALPHA_RX164 is not set
CONFIG_ALPHA_SX164=y
# CONFIG_ALPHA_SABLE is not set
# CONFIG_ALPHA_SHARK is not set
# CONFIG_ALPHA_TAKARA is not set
# CONFIG_ALPHA_TITAN is not set
# CONFIG_ALPHA_WILDFIRE is not set
CONFIG_ISA=y
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_ALPHA_EV5=y
CONFIG_ALPHA_CIA=y
CONFIG_ALPHA_EV56=y
CONFIG_ALPHA_PYXIS=y
# CONFIG_ALPHA_SRM is not set
# CONFIG_DISCONTIGMEM is not set
CONFIG_VERBOSE_MCHECK=y
CONFIG_VERBOSE_MCHECK_ON=2
CONFIG_PCI_LEGACY_PROC=y
CONFIG_PCI_NAMES=y
# CONFIG_HOTPLUG is not set
# CONFIG_SRM_ENV is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_EM86=m
# CONFIG_BINFMT_MISC is not set

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

#
# Generic Driver Options
#

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

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

#
# Protocols
#
# CONFIG_ISAPNP is not set
# CONFIG_PNPBIOS is not set

#
# Block devices
#
CONFIG_BLK_DEV_FD=m
# CONFIG_BLK_DEV_XD is not set
# CONFIG_PARIDE is not set
# CONFIG_BLK_CPQ_DA is not set
# CONFIG_BLK_CPQ_CISS_DA is not set
# CONFIG_BLK_DEV_DAC960 is not set
# CONFIG_BLK_DEV_UMEM is not set
CONFIG_BLK_DEV_LOOP=m
CONFIG_BLK_DEV_CRYPTOLOOP=m
CONFIG_BLK_DEV_NBD=y
CONFIG_BLK_DEV_RAM=m
CONFIG_BLK_DEV_RAM_SIZE=4096
# CONFIG_BLK_DEV_INITRD is not set

#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
CONFIG_MD_LINEAR=y
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
CONFIG_MD_RAID5=y
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_DM is not set

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

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

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

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

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

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

#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AACRAID is not set
CONFIG_SCSI_AIC7XXX=y
CONFIG_AIC7XXX_CMDS_PER_DEVICE=128
CONFIG_AIC7XXX_RESET_DELAY_MS=2000
# CONFIG_AIC7XXX_PROBE_EISA_VL is not set
# CONFIG_AIC7XXX_BUILD_FIRMWARE is not set
CONFIG_AIC7XXX_DEBUG_ENABLE=y
CONFIG_AIC7XXX_DEBUG_MASK=0
CONFIG_AIC7XXX_REG_PRETTY_PRINT=y
CONFIG_SCSI_AIC7XXX_OLD=y
# CONFIG_SCSI_AIC79XX is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_MEGARAID is not set
# CONFIG_SCSI_SATA is not set
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_CPQFCTS is not set
# CONFIG_SCSI_DMX3191D is not set
# CONFIG_SCSI_DTC3280 is not set
# CONFIG_SCSI_EATA is not set
# CONFIG_SCSI_EATA_PIO is not set
# CONFIG_SCSI_FUTURE_DOMAIN is not set
# CONFIG_SCSI_GDTH is not set
# CONFIG_SCSI_GENERIC_NCR5380 is not set
# CONFIG_SCSI_GENERIC_NCR5380_MMIO is not set
# CONFIG_SCSI_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_PPA is not set
# CONFIG_SCSI_IMM is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_PAS16 is not set
# CONFIG_SCSI_PCI2000 is not set
# CONFIG_SCSI_PCI2220I is not set
# CONFIG_SCSI_PSI240I is not set
# CONFIG_SCSI_QLOGIC_FAS is not set
# CONFIG_SCSI_QLOGIC_ISP is not set
# CONFIG_SCSI_QLOGIC_FC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC395x is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_NSP32 is not set
CONFIG_SCSI_DEBUG=m

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

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

#
# Networking support
#
CONFIG_NET=y

#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK_DEV=y
CONFIG_UNIX=y
# CONFIG_NET_KEY is not set
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
CONFIG_IP_ADVANCED_ROUTER=y
CONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_FWMARK is not set
CONFIG_IP_ROUTE_NAT=y
# CONFIG_IP_ROUTE_MULTIPATH is not set
CONFIG_IP_ROUTE_TOS=y
CONFIG_IP_ROUTE_VERBOSE=y
# CONFIG_IP_PNP is not set
CONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
CONFIG_INET_AH=y
CONFIG_INET_ESP=y
CONFIG_INET_IPCOMP=y

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

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

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

#
# QoS and/or fair queueing
#
CONFIG_NET_SCHED=y
# CONFIG_NET_SCH_CBQ is not set
# CONFIG_NET_SCH_HTB is not set
# CONFIG_NET_SCH_CSZ is not set
# CONFIG_NET_SCH_PRIO is not set
# CONFIG_NET_SCH_RED is not set
# CONFIG_NET_SCH_SFQ is not set
# CONFIG_NET_SCH_TEQL is not set
# CONFIG_NET_SCH_TBF is not set
# CONFIG_NET_SCH_GRED is not set
# CONFIG_NET_SCH_DSMARK is not set
# CONFIG_NET_SCH_INGRESS is not set
CONFIG_NET_QOS=y
CONFIG_NET_ESTIMATOR=y
# CONFIG_NET_CLS is not set

#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
CONFIG_NETDEVICES=y

#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
CONFIG_BONDING=m
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
# CONFIG_NET_SB1000 is not set

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not set
CONFIG_EL3=y
# CONFIG_3C515 is not set
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set

#
# Tulip family network device support
#
# CONFIG_NET_TULIP is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
CONFIG_NET_ISA=y
# CONFIG_E2100 is not set
# CONFIG_EWRK3 is not set
# CONFIG_EEXPRESS is not set
# CONFIG_EEXPRESS_PRO is not set
# CONFIG_HPLAN_PLUS is not set
# CONFIG_HPLAN is not set
# CONFIG_LP486E is not set
# CONFIG_ETH16I is not set
CONFIG_NE2000=m
# CONFIG_ZNET is not set
# CONFIG_SEEQ8005 is not set
# CONFIG_NET_PCI is not set
# CONFIG_NET_POCKET is not set

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

#
# Ethernet (10000 Mbit)
#
# CONFIG_IXGB is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not set
# CONFIG_PPP_FILTER is not set
# CONFIG_PPP_ASYNC is not set
# CONFIG_PPP_SYNC_TTY is not set
# CONFIG_PPP_DEFLATE is not set
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set

#
# Wireless LAN (non-hamradio)
#
# CONFIG_NET_RADIO is not set

#
# Token Ring devices
#
# CONFIG_TR is not set
# CONFIG_NET_FC is not set
# CONFIG_SHAPER is not set

#
# Wan interfaces
#
# CONFIG_WAN is not set

#
# Amateur Radio support
#
# CONFIG_HAMRADIO is not set

#
# IrDA (infrared) support
#
# CONFIG_IRDA is not set

#
# Bluetooth support
#
# CONFIG_BT is not set

#
# ISDN subsystem
#
# CONFIG_ISDN_BOOL is not set

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

#
# Input device support
#
CONFIG_INPUT=y

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

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

#
# Input Device Drivers
#
CONFIG_INPUT_KEYBOARD=y
CONFIG_KEYBOARD_ATKBD=y
# CONFIG_KEYBOARD_SUNKBD is not set
# CONFIG_KEYBOARD_XTKBD is not set
# CONFIG_KEYBOARD_NEWTON is not set
CONFIG_INPUT_MOUSE=y
CONFIG_MOUSE_PS2=y
# CONFIG_MOUSE_PS2_SYNAPTICS is not set
# CONFIG_MOUSE_SERIAL is not set
# CONFIG_MOUSE_INPORT is not set
# CONFIG_MOUSE_LOGIBM is not set
# CONFIG_MOUSE_PC110PAD is not set
# CONFIG_INPUT_JOYSTICK is not set
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not set

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

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

#
# Non-8250 serial port support
#
CONFIG_SERIAL_CORE=y
CONFIG_SERIAL_CORE_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
CONFIG_PRINTER=m
# CONFIG_LP_CONSOLE is not set
# CONFIG_PPDEV is not set
CONFIG_TIPAR=m

#
# I2C support
#
# CONFIG_I2C is not set

#
# I2C Algorithms
#

#
# I2C Hardware Bus support
#

#
# I2C Hardware Sensors Chip support
#
# CONFIG_I2C_SENSOR is not set

#
# Mice
#
# CONFIG_BUSMOUSE is not set
# CONFIG_QIC02_TAPE is not set

#
# IPMI
#
# CONFIG_IPMI_HANDLER is not set

#
# Watchdog Cards
#
CONFIG_WATCHDOG=y
# CONFIG_WATCHDOG_NOWAYOUT is not set
CONFIG_SOFT_WATCHDOG=m
# CONFIG_WDT is not set
# CONFIG_WDTPCI is not set
# CONFIG_PCWATCHDOG is not set
# CONFIG_ACQUIRE_WDT is not set
# CONFIG_ADVANTECH_WDT is not set
# CONFIG_EUROTECH_WDT is not set
# CONFIG_IB700_WDT is not set
# CONFIG_I810_TCO is not set
# CONFIG_MIXCOMWD is not set
# CONFIG_SCx200_WDT is not set
# CONFIG_60XX_WDT is not set
# CONFIG_W83877F_WDT is not set
# CONFIG_MACHZ_WDT is not set
# CONFIG_SC520_WDT is not set
# CONFIG_AMD7XX_TCO is not set
# CONFIG_ALIM7101_WDT is not set
# CONFIG_ALIM1535_WDT is not set
# CONFIG_SC1200_WDT is not set
# CONFIG_WAFER_WDT is not set
# CONFIG_CPU5_WDT is not set
# CONFIG_NVRAM is not set
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set

#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
# CONFIG_AGP is not set
CONFIG_DRM=y
# CONFIG_DRM_TDFX is not set
# CONFIG_DRM_GAMMA is not set
# CONFIG_DRM_R128 is not set
# CONFIG_DRM_RADEON is not set
# CONFIG_RAW_DRIVER is not set

#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set

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

#
# File systems
#
CONFIG_EXT2_FS=y
CONFIG_EXT2_FS_XATTR=y
CONFIG_EXT2_FS_POSIX_ACL=y
CONFIG_EXT2_FS_SECURITY=y
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y
CONFIG_JBD=y
CONFIG_JBD_DEBUG=y
CONFIG_FS_MBCACHE=y
CONFIG_REISERFS_FS=m
# CONFIG_REISERFS_CHECK is not set
CONFIG_REISERFS_PROC_INFO=y
CONFIG_JFS_FS=y
CONFIG_JFS_POSIX_ACL=y
CONFIG_JFS_DEBUG=y
CONFIG_JFS_STATISTICS=y
CONFIG_FS_POSIX_ACL=y
# CONFIG_XFS_FS is not set
CONFIG_MINIX_FS=m
CONFIG_ROMFS_FS=m
CONFIG_QUOTA=y
# CONFIG_QFMT_V1 is not set
CONFIG_QFMT_V2=m
CONFIG_QUOTACTL=y
CONFIG_AUTOFS_FS=m
CONFIG_AUTOFS4_FS=m

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

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

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

#
# Miscellaneous filesystems
#
# CONFIG_ADFS_FS is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BEFS_FS is not set
# CONFIG_BFS_FS is not set
CONFIG_EFS_FS=m
CONFIG_CRAMFS=m
# CONFIG_VXFS_FS is not set
# CONFIG_HPFS_FS is not set
# CONFIG_QNX4FS_FS is not set
# CONFIG_SYSV_FS is not set
CONFIG_UFS_FS=m
CONFIG_UFS_FS_WRITE=y

#
# Network File Systems
#
CONFIG_NFS_FS=m
CONFIG_NFS_V3=y
# CONFIG_NFS_V4 is not set
# CONFIG_NFS_DIRECTIO is not set
CONFIG_NFSD=m
CONFIG_NFSD_V3=y
# CONFIG_NFSD_V4 is not set
CONFIG_NFSD_TCP=y
CONFIG_LOCKD=m
CONFIG_LOCKD_V4=y
CONFIG_EXPORTFS=m
CONFIG_SUNRPC=m
# CONFIG_SUNRPC_GSS is not set
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
CONFIG_CIFS=m
# CONFIG_NCP_FS is not set
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
# CONFIG_AFS_FS is not set

#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_OSF_PARTITION=y
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y

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

#
# Graphics support
#
# CONFIG_FB is not set

#
# Console display driver support
#
CONFIG_VGA_CONSOLE=y
# CONFIG_MDA_CONSOLE is not set
CONFIG_DUMMY_CONSOLE=y

#
# Sound
#
# CONFIG_SOUND is not set

#
# USB support
#
# CONFIG_USB is not set
# CONFIG_USB_GADGET is not set

#
# Profiling support
#
CONFIG_PROFILING=y
CONFIG_OPROFILE=m

#
# Kernel hacking
#
CONFIG_ALPHA_LEGACY_START_ADDRESS=y
CONFIG_DEBUG_KERNEL=y
CONFIG_MATHEMU=y
CONFIG_DEBUG_SLAB=y
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_RWLOCK is not set
# CONFIG_DEBUG_SEMAPHORE is not set
# CONFIG_DEBUG_INFO is not set

#
# Security options
#
CONFIG_SECURITY=y
# CONFIG_SECURITY_NETWORK is not set
CONFIG_SECURITY_CAPABILITIES=m
# CONFIG_SECURITY_SELINUX is not set

#
# Cryptographic options
#
CONFIG_CRYPTO=y
CONFIG_CRYPTO_HMAC=y
CONFIG_CRYPTO_NULL=m
CONFIG_CRYPTO_MD4=m
CONFIG_CRYPTO_MD5=y
CONFIG_CRYPTO_SHA1=y
CONFIG_CRYPTO_SHA256=m
CONFIG_CRYPTO_SHA512=m
CONFIG_CRYPTO_DES=y
CONFIG_CRYPTO_BLOWFISH=m
CONFIG_CRYPTO_TWOFISH=m
CONFIG_CRYPTO_SERPENT=m
CONFIG_CRYPTO_AES=m
CONFIG_CRYPTO_CAST5=m
CONFIG_CRYPTO_CAST6=m
CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_TEST=m

#
# Library routines
#
CONFIG_CRC32=y
CONFIG_ZLIB_INFLATE=y
CONFIG_ZLIB_DEFLATE=y

[-- Attachment #3: lspci --]
[-- Type: text/plain, Size: 6057 bytes --]

00:05.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01)
00:07.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
00:08.0 ISA bridge: Contaq Microsystems 82c693
00:08.1 IDE interface: Contaq Microsystems 82c693
00:08.2 IDE interface: Contaq Microsystems 82c693
00:08.3 USB Controller: Contaq Microsystems 82c693
00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
00:05.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01) (prog-if 00 [VGA])
	Subsystem: Diamond Multimedia Systems FIRE GL 1000 PRO
	Flags: bus master, medium devsel, latency 32, IRQ 25
	Memory at 000000000a000000 (32-bit, non-prefetchable) [size=128K]
	Memory at 0000000009000000 (32-bit, non-prefetchable) [size=8M]
	Memory at 0000000009800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at 000000000a040000 [disabled] [size=64K]

00:07.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
	Subsystem: Adaptec AHA-2940UW SCSI Host Adapter
	Flags: bus master, medium devsel, latency 32, IRQ 26
	I/O ports at 8000 [size=256]
	Memory at 000000000a060000 (32-bit, non-prefetchable) [disabled] [size=4K]
	Expansion ROM at 000000000a050000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 1

00:08.0 ISA bridge: Contaq Microsystems 82c693
	Flags: bus master, medium devsel, latency 0

00:08.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
	Flags: bus master, medium devsel, latency 0
	I/O ports at 01f0 [size=8]
	I/O ports at 03f4 [size=4]
	I/O ports at 8480 [size=16]

00:08.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
	Flags: bus master, medium devsel, latency 0
	I/O ports at 0170 [size=8]
	I/O ports at 0374 [size=4]

00:08.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
	Flags: bus master, medium devsel, latency 32
	Memory at 000000000a061000 (32-bit, non-prefetchable) [size=4K]

00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
	Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
	Flags: bus master, medium devsel, latency 32, IRQ 24
	I/O ports at 8400 [size=128]
	Memory at 000000000a062000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at 000000000a020000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 1

00:05.0 VGA compatible controller: Texas Instruments TVP4020 [Permedia 2] (rev 01) (prog-if 00 [VGA])
	Subsystem: Diamond Multimedia Systems FIRE GL 1000 PRO
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (48000ns min, 48000ns max)
	Interrupt: pin A routed to IRQ 25
	Region 0: Memory at 000000000a000000 (32-bit, non-prefetchable) [size=128K]
	Region 1: Memory at 0000000009000000 (32-bit, non-prefetchable) [size=8M]
	Region 2: Memory at 0000000009800000 (32-bit, non-prefetchable) [size=8M]
	Expansion ROM at 000000000a040000 [disabled] [size=64K]

00:07.0 SCSI storage controller: Adaptec AHA-2940U/UW/D / AIC-7881U (rev 01)
	Subsystem: Adaptec AHA-2940UW SCSI Host Adapter
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2000ns min, 2000ns max), cache line size 08
	Interrupt: pin A routed to IRQ 26
	Region 0: I/O ports at 8000 [size=256]
	Region 1: Memory at 000000000a060000 (32-bit, non-prefetchable) [disabled] [size=4K]
	Expansion ROM at 000000000a050000 [disabled] [size=64K]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:08.0 ISA bridge: Contaq Microsystems 82c693
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0

00:08.1 IDE interface: Contaq Microsystems 82c693 (prog-if 80 [Master])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin A routed to IRQ 0
	Region 0: I/O ports at 01f0 [size=8]
	Region 1: I/O ports at 03f4 [size=4]
	Region 4: I/O ports at 8480 [size=16]

00:08.2 IDE interface: Contaq Microsystems 82c693 (prog-if 00 [])
	Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping- SERR- FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 0
	Interrupt: pin B routed to IRQ 0
	Region 0: I/O ports at 0170 [size=8]
	Region 1: I/O ports at 0374 [size=4]

00:08.3 USB Controller: Contaq Microsystems 82c693 (prog-if 10 [OHCI])
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
	Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32, cache line size 08
	Interrupt: pin A routed to IRQ 0
	Region 0: Memory at 000000000a061000 (32-bit, non-prefetchable) [size=4K]

00:09.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 30)
	Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr+ Stepping- SERR+ FastB2B-
	Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
	Latency: 32 (2500ns min, 2500ns max), cache line size 08
	Interrupt: pin A routed to IRQ 24
	Region 0: I/O ports at 8400 [size=128]
	Region 1: Memory at 000000000a062000 (32-bit, non-prefetchable) [size=128]
	Expansion ROM at 000000000a020000 [disabled] [size=128K]
	Capabilities: [dc] Power Management version 1
		Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1+,D2+,D3hot+,D3cold-)
		Status: D0 PME-Enable- DSel=0 DScale=0 PME-


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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 20:02 BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c Thomas Steudten
@ 2003-11-17 21:11   ` Andrew Morton
  2003-11-17 21:31 ` Falk Hueffner
  1 sibling, 0 replies; 14+ messages in thread
From: Andrew Morton @ 2003-11-17 21:11 UTC (permalink / raw)
  To: alpha; +Cc: linux-kernel, linux-scsi, linux-alpha

Thomas Steudten <alpha@steudten.com> wrote:
>
> In ./drivers/block/ll_rw_blk.c __make_request:2021
>     2021         spin_lock_prefetch(q->queue_lock);
>     2022
>     2023         barrier = test_bit(BIO_RW_BARRIER, &bio->bi_rw);
>     2024
>     2025         ra = bio->bi_rw & (1 << BIO_RW_AHEAD);
> 
> 
>      3338:       00 00 e3 8b     lds     $f31,0(t2)
> 
> processor.h:94
> extern inline void spin_lock_prefetch(const void *ptr)
> {
>          __builtin_prefetch(ptr, 1, 3);
> }
> 
> So q->queue_lock isn´t aligned for alpha - or q isn´t valid.

The spinlock is aligned OK.  Could you add this patch so we can see
a bit more context?

diff -puN arch/alpha/kernel/traps.c~alpha-stack-dump arch/alpha/kernel/traps.c
--- 25/arch/alpha/kernel/traps.c~alpha-stack-dump	Mon Nov 17 13:10:21 2003
+++ 25-akpm/arch/alpha/kernel/traps.c	Mon Nov 17 13:10:30 2003
@@ -636,6 +636,7 @@ do_entUna(void * va, unsigned long opcod
 	lock_kernel();
 	printk("Bad unaligned kernel access at %016lx: %p %lx %ld\n",
 		pc, va, opcode, reg);
+	dump_stack();
 	do_exit(SIGSEGV);
 
 got_exception:

_


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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
@ 2003-11-17 21:11   ` Andrew Morton
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew Morton @ 2003-11-17 21:11 UTC (permalink / raw)
  To: alpha; +Cc: linux-kernel, linux-scsi, linux-alpha

Thomas Steudten <alpha@steudten.com> wrote:
>
> In ./drivers/block/ll_rw_blk.c __make_request:2021
>     2021         spin_lock_prefetch(q->queue_lock);
>     2022
>     2023         barrier = test_bit(BIO_RW_BARRIER, &bio->bi_rw);
>     2024
>     2025         ra = bio->bi_rw & (1 << BIO_RW_AHEAD);
> 
> 
>      3338:       00 00 e3 8b     lds     $f31,0(t2)
> 
> processor.h:94
> extern inline void spin_lock_prefetch(const void *ptr)
> {
>          __builtin_prefetch(ptr, 1, 3);
> }
> 
> So q->queue_lock isn´t aligned for alpha - or q isn´t valid.

The spinlock is aligned OK.  Could you add this patch so we can see
a bit more context?

diff -puN arch/alpha/kernel/traps.c~alpha-stack-dump arch/alpha/kernel/traps.c
--- 25/arch/alpha/kernel/traps.c~alpha-stack-dump	Mon Nov 17 13:10:21 2003
+++ 25-akpm/arch/alpha/kernel/traps.c	Mon Nov 17 13:10:30 2003
@@ -636,6 +636,7 @@ do_entUna(void * va, unsigned long opcod
 	lock_kernel();
 	printk("Bad unaligned kernel access at %016lx: %p %lx %ld\n",
 		pc, va, opcode, reg);
+	dump_stack();
 	do_exit(SIGSEGV);
 
 got_exception:

_

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 20:02 BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c Thomas Steudten
  2003-11-17 21:11   ` Andrew Morton
@ 2003-11-17 21:31 ` Falk Hueffner
  2003-11-17 21:34   ` Thomas Steudten
  1 sibling, 1 reply; 14+ messages in thread
From: Falk Hueffner @ 2003-11-17 21:31 UTC (permalink / raw)
  To: alpha; +Cc: linux-kernel, linux-scsi, linux-alpha

Thomas Steudten <alpha@steudten.com> writes:

> -> 0xfffffc0000476cb8 <__make_request+152>:        lds     $f31,0(t2)

The kernel is stupid, this is a prefetch, it should be totally ignored
if it is faulty. This is already handled for userspace accesses
IIRC... (I wonder why the PALcode doesn't already do that. Oh well.)

-- 
	Falk

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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 21:31 ` Falk Hueffner
@ 2003-11-17 21:34   ` Thomas Steudten
  2003-11-17 21:48     ` Falk Hueffner
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Steudten @ 2003-11-17 21:34 UTC (permalink / raw)
  To: Falk Hueffner; +Cc: linux-kernel, linux-scsi, linux-alpha

On http://steudten.com/alpha/perf.php4 you can read:
See prefetch section:
The Alpha 21264 initiates a prefetch operation by executing one of the load 
instructions as summarized in the table below. Note that the destination 
register is R31 or F31. When used as a source register, R31 and F31 return 
integer zero and floating point zero, respectively. When used as a 
destination register as shown below, R31 and F31 denote the purpose of 
these instructions as a prefetch operation. Earlier Alpha implementations 
ignore these instructions. Some care must be taken as a prefetch with an 
invalid address must be dismissed by firmware and a prefetch can cause an 
alignment trap.

Tom


Falk Hueffner wrote:

> Thomas Steudten <alpha@steudten.com> writes:
> 
> 
>>-> 0xfffffc0000476cb8 <__make_request+152>:        lds     $f31,0(t2)
> 
> 
> The kernel is stupid, this is a prefetch, it should be totally ignored
> if it is faulty. This is already handled for userspace accesses
> IIRC... (I wonder why the PALcode doesn't already do that. Oh well.)
> 

-- 
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 21:34   ` Thomas Steudten
@ 2003-11-17 21:48     ` Falk Hueffner
  2003-11-17 23:19       ` Ivan Kokshaysky
  0 siblings, 1 reply; 14+ messages in thread
From: Falk Hueffner @ 2003-11-17 21:48 UTC (permalink / raw)
  To: alpha; +Cc: linux-kernel, linux-scsi, linux-alpha

Thomas Steudten <alpha@steudten.com> writes:

> On http://steudten.com/alpha/perf.php4 you can read:
> See prefetch section:
> The Alpha 21264 initiates a prefetch operation by executing one of the
> load instructions as summarized in the table below. Note that the
> destination register is R31 or F31. When used as a source register,
> R31 and F31 return integer zero and floating point zero,
> respectively. When used as a destination register as shown below, R31
> and F31 denote the purpose of these instructions as a prefetch
> operation. Earlier Alpha implementations ignore these
> instructions. Some care must be taken as a prefetch with an invalid
> address must be dismissed by firmware and a prefetch can cause an
> alignment trap.

Well, the architecture manual requires these instructions have no
visible effect whatsoever, i. e. they never trap. It seems sensible to
me to enforce this also in kernel space, since this is what gcc
assumes.

-- 
	Falk

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

* Re: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 21:48     ` Falk Hueffner
@ 2003-11-17 23:19       ` Ivan Kokshaysky
  2003-11-18 21:29         ` SOLVED: " Thomas Steudten
  0 siblings, 1 reply; 14+ messages in thread
From: Ivan Kokshaysky @ 2003-11-17 23:19 UTC (permalink / raw)
  To: Falk Hueffner
  Cc: Richard Henderson, alpha, linux-kernel, linux-scsi, linux-alpha

On Mon, Nov 17, 2003 at 10:48:49PM +0100, Falk Hueffner wrote:
> Well, the architecture manual requires these instructions have no
> visible effect whatsoever, i. e. they never trap.

No. Unaligned != invalid.

We shouldn't prefetch the spinlocks on UP.

Ivan.

--- 2.6/include/asm-alpha/processor.h	Sat Oct 25 22:44:54 2003
+++ linux/include/asm-alpha/processor.h	Tue Nov 18 01:48:39 2003
@@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
 #define ARCH_HAS_PREFETCHW
 #define ARCH_HAS_SPINLOCK_PREFETCH
 
+#ifndef CONFIG_SMP
+/* Nothing to prefetch. */
+#define spin_lock_prefetch(lock)  	do { } while (0)
+#endif
+
 #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
 extern inline void prefetch(const void *ptr)  
 { 
@@ -89,10 +94,13 @@ extern inline void prefetchw(const void 
 	__builtin_prefetch(ptr, 1, 3);
 }
 
+#ifdef CONFIG_SMP
 extern inline void spin_lock_prefetch(const void *ptr)  
 {
 	__builtin_prefetch(ptr, 1, 3);
 }
+#endif
+
 #else
 extern inline void prefetch(const void *ptr)  
 { 
@@ -104,10 +112,13 @@ extern inline void prefetchw(const void 
 	__asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); 
 }
 
+#ifdef CONFIG_SMP
 extern inline void spin_lock_prefetch(const void *ptr)  
 {
 	__asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); 
 }
+#endif
+
 #endif /* GCC 3.1 */
 
 #endif /* __ASM_ALPHA_PROCESSOR_H */

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

* Re: SOLVED: BUG: Kernel Panic: kernel-2.6.0-test9-bk21  for alpha in scsi context ll_rw_blk.c
  2003-11-17 23:19       ` Ivan Kokshaysky
@ 2003-11-18 21:29         ` Thomas Steudten
  2004-01-10 16:59             ` Thomas Steudten
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Steudten @ 2003-11-18 21:29 UTC (permalink / raw)
  To: Ivan Kokshaysky
  Cc: Falk Hueffner, Richard Henderson, linux-kernel, linux-scsi,
	linux-alpha, akpm

Hi

With the patch from Ivan, the prefetch problem is gone.
Please add this patch to the mainline for 2.6.0 for alpha.

Regards
Tom

> We shouldn't prefetch the spinlocks on UP.
> 
> Ivan.
> 
> --- 2.6/include/asm-alpha/processor.h	Sat Oct 25 22:44:54 2003
> +++ linux/include/asm-alpha/processor.h	Tue Nov 18 01:48:39 2003
> @@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
>  #define ARCH_HAS_PREFETCHW
>  #define ARCH_HAS_SPINLOCK_PREFETCH
>  
> +#ifndef CONFIG_SMP
> +/* Nothing to prefetch. */
> +#define spin_lock_prefetch(lock)  	do { } while (0)
> +#endif
> +
>  #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
>  extern inline void prefetch(const void *ptr)  
>  { 
> @@ -89,10 +94,13 @@ extern inline void prefetchw(const void 
>  	__builtin_prefetch(ptr, 1, 3);
>  }
>  
> +#ifdef CONFIG_SMP
>  extern inline void spin_lock_prefetch(const void *ptr)  
>  {
>  	__builtin_prefetch(ptr, 1, 3);
>  }
> +#endif
> +
>  #else
>  extern inline void prefetch(const void *ptr)  
>  { 
> @@ -104,10 +112,13 @@ extern inline void prefetchw(const void 
>  	__asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); 
>  }
>  
> +#ifdef CONFIG_SMP
>  extern inline void spin_lock_prefetch(const void *ptr)  
>  {
>  	__asm__ ("ldq $31,%0" : : "m"(*(char *)ptr)); 
>  }
> +#endif
> +
>  #endif /* GCC 3.1 */
>  
>  #endif /* __ASM_ALPHA_PROCESSOR_H */

-- 
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



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

* BUG: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
  2003-11-18 21:29         ` SOLVED: " Thomas Steudten
@ 2004-01-10 16:59             ` Thomas Steudten
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas Steudten @ 2004-01-10 16:59 UTC (permalink / raw)
  To: Thomas Steudten
  Cc: Ivan Kokshaysky, Falk Hueffner, Richard Henderson, linux-kernel,
	linux-scsi, linux-alpha, akpm

Hello

I test the new 2.6.1 kernel and run in the same problem as before.
The reason is, that the patch from Ivan isn´t there in the kernel
source tree.

Please add the patch to the mainline.

Tom

Thomas Steudten wrote:

> Hi
> 
> With the patch from Ivan, the prefetch problem is gone.
> Please add this patch to the mainline for 2.6.0 for alpha.
> 
> Regards
> Tom
> 
>> We shouldn't prefetch the spinlocks on UP.
>>
>> Ivan.
>>
>> --- 2.6/include/asm-alpha/processor.h    Sat Oct 25 22:44:54 2003
>> +++ linux/include/asm-alpha/processor.h    Tue Nov 18 01:48:39 2003
>> @@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
>>  #define ARCH_HAS_PREFETCHW
>>  #define ARCH_HAS_SPINLOCK_PREFETCH
>>  
>> +#ifndef CONFIG_SMP
>> +/* Nothing to prefetch. */
>> +#define spin_lock_prefetch(lock)      do { } while (0)
>> +#endif
>> +
>>  #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
>>  extern inline void prefetch(const void *ptr)   { @@ -89,10 +94,13 @@ 
>> extern inline void prefetchw(const void      __builtin_prefetch(ptr, 
>> 1, 3);
>>  }
>>  
>> +#ifdef CONFIG_SMP
>>  extern inline void spin_lock_prefetch(const void *ptr)   {
>>      __builtin_prefetch(ptr, 1, 3);
>>  }
>> +#endif
>> +
>>  #else
>>  extern inline void prefetch(const void *ptr)   { @@ -104,10 +112,13 
>> @@ extern inline void prefetchw(const void      __asm__ ("ldq $31,%0" 
>> : : "m"(*(char *)ptr));  }
>>  
>> +#ifdef CONFIG_SMP
>>  extern inline void spin_lock_prefetch(const void *ptr)   {
>>      __asm__ ("ldq $31,%0" : : "m"(*(char *)ptr));  }
>> +#endif
>> +
>>  #endif /* GCC 3.1 */
>>  
>>  #endif /* __ASM_ALPHA_PROCESSOR_H */
> 
> 

-- 
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?



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

* BUG: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
@ 2004-01-10 16:59             ` Thomas Steudten
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas Steudten @ 2004-01-10 16:59 UTC (permalink / raw)
  To: Thomas Steudten
  Cc: Ivan Kokshaysky, Falk Hueffner, Richard Henderson, linux-kernel,
	linux-scsi, linux-alpha, akpm

Hello

I test the new 2.6.1 kernel and run in the same problem as before.
The reason is, that the patch from Ivan isn´t there in the kernel
source tree.

Please add the patch to the mainline.

Tom

Thomas Steudten wrote:

> Hi
> 
> With the patch from Ivan, the prefetch problem is gone.
> Please add this patch to the mainline for 2.6.0 for alpha.
> 
> Regards
> Tom
> 
>> We shouldn't prefetch the spinlocks on UP.
>>
>> Ivan.
>>
>> --- 2.6/include/asm-alpha/processor.h    Sat Oct 25 22:44:54 2003
>> +++ linux/include/asm-alpha/processor.h    Tue Nov 18 01:48:39 2003
>> @@ -78,6 +78,11 @@ unsigned long get_wchan(struct task_stru
>>  #define ARCH_HAS_PREFETCHW
>>  #define ARCH_HAS_SPINLOCK_PREFETCH
>>  
>> +#ifndef CONFIG_SMP
>> +/* Nothing to prefetch. */
>> +#define spin_lock_prefetch(lock)      do { } while (0)
>> +#endif
>> +
>>  #if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1)
>>  extern inline void prefetch(const void *ptr)   { @@ -89,10 +94,13 @@ 
>> extern inline void prefetchw(const void      __builtin_prefetch(ptr, 
>> 1, 3);
>>  }
>>  
>> +#ifdef CONFIG_SMP
>>  extern inline void spin_lock_prefetch(const void *ptr)   {
>>      __builtin_prefetch(ptr, 1, 3);
>>  }
>> +#endif
>> +
>>  #else
>>  extern inline void prefetch(const void *ptr)   { @@ -104,10 +112,13 
>> @@ extern inline void prefetchw(const void      __asm__ ("ldq $31,%0" 
>> : : "m"(*(char *)ptr));  }
>>  
>> +#ifdef CONFIG_SMP
>>  extern inline void spin_lock_prefetch(const void *ptr)   {
>>      __asm__ ("ldq $31,%0" : : "m"(*(char *)ptr));  }
>> +#endif
>> +
>>  #endif /* GCC 3.1 */
>>  
>>  #endif /* __ASM_ALPHA_PROCESSOR_H */
> 
> 

-- 
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?


-
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* RE: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
  2004-01-10 16:59             ` Thomas Steudten
@ 2004-01-11 10:26               ` Oliver Pitzeier
  -1 siblings, 0 replies; 14+ messages in thread
From: Oliver Pitzeier @ 2004-01-11 10:26 UTC (permalink / raw)
  To: 'Thomas Steudten'
  Cc: 'Ivan Kokshaysky', 'Falk Hueffner',
	'Richard Henderson',
	linux-kernel, linux-scsi, linux-alpha, akpm

> I test the new 2.6.1 kernel and run in the same problem as 
> before. The reason is, that the patch from Ivan isn´t there 
> in the kernel source tree.
> 
> Please add the patch to the mainline.

For me it works without patching anything. I still use my Digital Alpha AS
1000A for testing new kernels. I currently have no Compaq DS10 available,
else I would try this as well :-(

Best regards,
 Oliver


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

* RE: Kernel Panic: kernel-2.6.1 for alpha in scsi context ll_rw_blk.c
@ 2004-01-11 10:26               ` Oliver Pitzeier
  0 siblings, 0 replies; 14+ messages in thread
From: Oliver Pitzeier @ 2004-01-11 10:26 UTC (permalink / raw)
  To: 'Thomas Steudten'
  Cc: 'Ivan Kokshaysky', 'Falk Hueffner',
	'Richard Henderson',
	linux-kernel, linux-scsi, linux-alpha, akpm

> I test the new 2.6.1 kernel and run in the same problem as 
> before. The reason is, that the patch from Ivan isn´t there 
> in the kernel source tree.
> 
> Please add the patch to the mainline.

For me it works without patching anything. I still use my Digital Alpha AS
1000A for testing new kernels. I currently have no Compaq DS10 available,
else I would try this as well :-(

Best regards,
 Oliver

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: Relocation overflow vs section  kernel-2.6.1 for alpha
       [not found]             ` <20040110143409.0e591596.akpm@osdl.org>
@ 2004-01-11 11:45                 ` Thomas Steudten
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas Steudten @ 2004-01-11 11:45 UTC (permalink / raw)
  To: linux-kernel, linux-alpha; +Cc: Andrew Morton, ink, rth

Hello

I run in this problem too on my alpha sx164 and the patch fix this, so
i can load all the modules without problems.

Please add the patch to the kernel 2.6.x alpha mainline.

Regards
Tom

On Mon, Jan 05, 2004 at 02:21:37AM +0100, Måns Rullgård wrote:
 > I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
 > somewhat large modules. They fail to load with the message
 > "Relocation overflow vs section 17", or some other section number.

This failure happens with GPRELHIGH relocation, which is *signed*
short, but relocation overflow check in module.c doesn't take into
account the sign extension.
Appended patch should help.

Ivan.

--- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
+++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
@@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
*(u64 *)location = value;
break;
case R_ALPHA_GPRELHIGH:
- value = (value - gp + 0x8000) >> 16;
+ value = (long)(value - gp + 0x8000) >> 16;
if ((short) value != value)
goto reloc_overflow;
*(u16 *)location = value;


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

* Re: Relocation overflow vs section  kernel-2.6.1 for alpha
@ 2004-01-11 11:45                 ` Thomas Steudten
  0 siblings, 0 replies; 14+ messages in thread
From: Thomas Steudten @ 2004-01-11 11:45 UTC (permalink / raw)
  To: linux-kernel, linux-alpha; +Cc: Andrew Morton, ink, rth

Hello

I run in this problem too on my alpha sx164 and the patch fix this, so
i can load all the modules without problems.

Please add the patch to the kernel 2.6.x alpha mainline.

Regards
Tom

On Mon, Jan 05, 2004 at 02:21:37AM +0100, Måns Rullgård wrote:
 > I compiled Linux 2.6.0 for Alpha, and it mostly works, except the
 > somewhat large modules. They fail to load with the message
 > "Relocation overflow vs section 17", or some other section number.

This failure happens with GPRELHIGH relocation, which is *signed*
short, but relocation overflow check in module.c doesn't take into
account the sign extension.
Appended patch should help.

Ivan.

--- 2.6/arch/alpha/kernel/module.c Wed May 28 01:05:20 2003
+++ linux/arch/alpha/kernel/module.c Mon Aug 11 23:23:02 2003
@@ -259,7 +259,7 @@ apply_relocate_add(Elf64_Shdr *sechdrs,
*(u64 *)location = value;
break;
case R_ALPHA_GPRELHIGH:
- value = (value - gp + 0x8000) >> 16;
+ value = (long)(value - gp + 0x8000) >> 16;
if ((short) value != value)
goto reloc_overflow;
*(u16 *)location = value;

-
To unsubscribe from this list: send the line "unsubscribe linux-alpha" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2004-01-11 11:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-17 20:02 BUG: Kernel Panic: kernel-2.6.0-test9-bk21 for alpha in scsi context ll_rw_blk.c Thomas Steudten
2003-11-17 21:11 ` Andrew Morton
2003-11-17 21:11   ` Andrew Morton
2003-11-17 21:31 ` Falk Hueffner
2003-11-17 21:34   ` Thomas Steudten
2003-11-17 21:48     ` Falk Hueffner
2003-11-17 23:19       ` Ivan Kokshaysky
2003-11-18 21:29         ` SOLVED: " Thomas Steudten
2004-01-10 16:59           ` BUG: Kernel Panic: kernel-2.6.1 " Thomas Steudten
2004-01-10 16:59             ` Thomas Steudten
2004-01-11 10:26             ` Oliver Pitzeier
2004-01-11 10:26               ` Oliver Pitzeier
     [not found]             ` <20040110143409.0e591596.akpm@osdl.org>
2004-01-11 11:45               ` Relocation overflow vs section kernel-2.6.1 for alpha Thomas Steudten
2004-01-11 11:45                 ` Thomas Steudten

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.