* 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
@ 2001-11-27 20:02 Sebastian Dröge
0 siblings, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-27 20:02 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
[-- Attachment #1: Type: text/plain, Size: 1231 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
when compiling 2.5.1-pre2 I get the following error:
gcc -D__KERNEL__ -I/usr/src/linux-2.5.1-pre2/include -Wall
- -Wstrict-prototypes -Wno-trigraphs -O6 -fomit-frame-pointer
- -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
- -march=i686 -c -o ide-scsi.o ide-scsi.c
ide-scsi.c: In function `idescsi_dma_bio':
ide-scsi.c:710: request for member `bv_page' in something not a structure or
union
ide-scsi.c:711: request for member `bv_len' in something not a structure or
union
ide-scsi.c:712: request for member `bv_offset' in something not a structure
or union
ide-scsi.c:722: request for member `bv_page' in something not a structure or
union
ide-scsi.c:723: request for member `bv_len' in something not a structure or
union
ide-scsi.c:724: request for member `bv_offset' in something not a structure
or union
make[3]: *** [ide-scsi.o] Fehler 1
Attached you find my .config
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8A/FEvIHrJes3kVIRAvrkAKCF6Mb5u94gh/RRFGPh3fIVJSSoRwCfXoFG
qMZTi2TmOPbkXHEOtybW4og=
=DLk1
-----END PGP SIGNATURE-----
[-- Attachment #2: .config --]
[-- Type: text/plain, Size: 19839 bytes --]
#
# Automatically generated by make menuconfig: don't edit
#
CONFIG_X86=y
CONFIG_ISA=y
# CONFIG_SBUS is not set
CONFIG_UID16=y
#
# Code maturity level options
#
CONFIG_EXPERIMENTAL=y
#
# Loadable module support
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
#
# Processor type and features
#
# CONFIG_M386 is not set
# CONFIG_M486 is not set
# CONFIG_M586 is not set
# CONFIG_M586TSC is not set
# CONFIG_M586MMX is not set
CONFIG_M686=y
# CONFIG_MPENTIUMIII is not set
# CONFIG_MPENTIUM4 is not set
# CONFIG_MK6 is not set
# CONFIG_MK7 is not set
# CONFIG_MCRUSOE is not set
# CONFIG_MWINCHIPC6 is not set
# CONFIG_MWINCHIP2 is not set
# CONFIG_MWINCHIP3D is not set
# CONFIG_MCYRIXIII is not set
CONFIG_X86_WP_WORKS_OK=y
CONFIG_X86_INVLPG=y
CONFIG_X86_CMPXCHG=y
CONFIG_X86_XADD=y
CONFIG_X86_BSWAP=y
CONFIG_X86_POPAD_OK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
CONFIG_X86_L1_CACHE_SHIFT=5
CONFIG_X86_TSC=y
CONFIG_X86_GOOD_APIC=y
CONFIG_X86_PGE=y
CONFIG_X86_USE_PPRO_CHECKSUM=y
# CONFIG_TOSHIBA is not set
# CONFIG_I8K is not set
# CONFIG_MICROCODE is not set
CONFIG_X86_MSR=y
# CONFIG_X86_CPUID is not set
CONFIG_NOHIGHMEM=y
# CONFIG_HIGHMEM4G is not set
# CONFIG_HIGHMEM64G is not set
# CONFIG_MATH_EMULATION is not set
CONFIG_MTRR=y
# CONFIG_SMP is not set
CONFIG_X86_UP_APIC=y
# CONFIG_X86_UP_IOAPIC is not set
CONFIG_X86_LOCAL_APIC=y
#
# General setup
#
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
CONFIG_PCI_GODIRECT=y
# CONFIG_PCI_GOANY is not set
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_HOTPLUG is not set
# CONFIG_PCMCIA is not set
# CONFIG_HOTPLUG_PCI is not set
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
# CONFIG_KCORE_AOUT is not set
# CONFIG_BINFMT_AOUT is not set
CONFIG_BINFMT_ELF=y
# CONFIG_BINFMT_MISC is not set
CONFIG_PM=y
# CONFIG_ACPI is not set
CONFIG_APM=y
CONFIG_APM_IGNORE_USER_SUSPEND=y
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
# CONFIG_APM_RTC_IS_GMT is not set
# CONFIG_APM_ALLOW_INTS is not set
CONFIG_APM_REAL_MODE_POWER_OFF=y
#
# Memory Technology Devices (MTD)
#
# CONFIG_MTD is not set
#
# Parallel port support
#
# CONFIG_PARPORT is not set
#
# Plug and Play configuration
#
CONFIG_PNP=y
# CONFIG_ISAPNP 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_LOOP=m
# CONFIG_BLK_DEV_NBD is not set
# CONFIG_BLK_DEV_RAM is not set
# CONFIG_BLK_DEV_INITRD is not set
#
# Multi-device support (RAID and LVM)
#
# CONFIG_MD is not set
# CONFIG_BLK_DEV_MD is not set
# CONFIG_MD_LINEAR is not set
# CONFIG_MD_RAID0 is not set
# CONFIG_MD_RAID1 is not set
# CONFIG_MD_RAID5 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_BLK_DEV_LVM is not set
#
# Networking options
#
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y
CONFIG_NETLINK=y
CONFIG_RTNETLINK=y
# CONFIG_NETLINK_DEV is not set
# CONFIG_NETFILTER is not set
CONFIG_FILTER=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IP_MULTICAST=y
# CONFIG_IP_ADVANCED_ROUTER is not set
# CONFIG_IP_PNP is not set
# CONFIG_NET_IPIP is not set
# CONFIG_NET_IPGRE is not set
# CONFIG_IP_MROUTE is not set
# CONFIG_ARPD is not set
CONFIG_INET_ECN=y
CONFIG_SYN_COOKIES=y
# CONFIG_IPV6 is not set
# CONFIG_KHTTPD is not set
# CONFIG_ATM is not set
# CONFIG_VLAN_8021Q is not set
# CONFIG_IPX is not set
# CONFIG_ATALK is not set
# CONFIG_DECNET is not set
# CONFIG_BRIDGE is not set
# CONFIG_X25 is not set
# CONFIG_LAPB is not set
# CONFIG_LLC is not set
# CONFIG_NET_DIVERT is not set
# CONFIG_ECONET is not set
# CONFIG_WAN_ROUTER is not set
# CONFIG_NET_FASTROUTE is not set
# CONFIG_NET_HW_FLOWCONTROL is not set
#
# QoS and/or fair queueing
#
# CONFIG_NET_SCHED is not set
#
# Telephony Support
#
# CONFIG_PHONE is not set
# CONFIG_PHONE_IXJ is not set
# CONFIG_PHONE_IXJ_PCMCIA is not set
#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
# CONFIG_BLK_DEV_HD is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_BLK_DEV_IDEDISK_VENDOR is not set
# CONFIG_BLK_DEV_IDEDISK_FUJITSU is not set
# CONFIG_BLK_DEV_IDEDISK_IBM is not set
# CONFIG_BLK_DEV_IDEDISK_MAXTOR is not set
# CONFIG_BLK_DEV_IDEDISK_QUANTUM is not set
# CONFIG_BLK_DEV_IDEDISK_SEAGATE is not set
# CONFIG_BLK_DEV_IDEDISK_WD is not set
# CONFIG_BLK_DEV_COMMERIAL is not set
# CONFIG_BLK_DEV_TIVO is not set
# CONFIG_BLK_DEV_IDECS is not set
# CONFIG_BLK_DEV_IDECD is not set
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=y
# CONFIG_BLK_DEV_CMD640 is not set
# CONFIG_BLK_DEV_CMD640_ENHANCED is not set
# CONFIG_BLK_DEV_ISAPNP is not set
# CONFIG_BLK_DEV_RZ1000 is not set
CONFIG_BLK_DEV_IDEPCI=y
CONFIG_IDEPCI_SHARE_IRQ=y
CONFIG_BLK_DEV_IDEDMA_PCI=y
CONFIG_BLK_DEV_ADMA=y
# CONFIG_BLK_DEV_OFFBOARD is not set
CONFIG_IDEDMA_PCI_AUTO=y
CONFIG_BLK_DEV_IDEDMA=y
# CONFIG_IDEDMA_PCI_WIP is not set
# CONFIG_IDEDMA_NEW_DRIVE_LISTINGS is not set
# CONFIG_BLK_DEV_AEC62XX is not set
# CONFIG_AEC62XX_TUNING is not set
# CONFIG_BLK_DEV_ALI15X3 is not set
# CONFIG_WDC_ALI15X3 is not set
# CONFIG_BLK_DEV_AMD74XX is not set
# CONFIG_AMD74XX_OVERRIDE is not set
# CONFIG_BLK_DEV_CMD64X is not set
# CONFIG_BLK_DEV_CY82C693 is not set
# CONFIG_BLK_DEV_CS5530 is not set
# CONFIG_BLK_DEV_HPT34X is not set
# CONFIG_HPT34X_AUTODMA is not set
# CONFIG_BLK_DEV_HPT366 is not set
CONFIG_BLK_DEV_PIIX=y
CONFIG_PIIX_TUNING=y
# CONFIG_BLK_DEV_NS87415 is not set
# CONFIG_BLK_DEV_OPTI621 is not set
# CONFIG_BLK_DEV_PDC202XX is not set
# CONFIG_PDC202XX_BURST is not set
# CONFIG_PDC202XX_FORCE is not set
# CONFIG_BLK_DEV_SVWKS is not set
# CONFIG_BLK_DEV_SIS5513 is not set
# CONFIG_BLK_DEV_SLC90E66 is not set
# CONFIG_BLK_DEV_TRM290 is not set
# CONFIG_BLK_DEV_VIA82CXXX is not set
# CONFIG_IDE_CHIPSETS is not set
CONFIG_IDEDMA_AUTO=y
CONFIG_IDEDMA_IVB=y
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
#
# SCSI support
#
CONFIG_SCSI=y
# CONFIG_BLK_DEV_SD is not set
# CONFIG_CHR_DEV_ST is not set
# CONFIG_CHR_DEV_OSST is not set
CONFIG_BLK_DEV_SR=y
CONFIG_BLK_DEV_SR_VENDOR=y
CONFIG_SR_EXTRA_DEVS=2
CONFIG_CHR_DEV_SG=y
# CONFIG_SCSI_MULTI_LUN is not set
# CONFIG_SCSI_CONSTANTS is not set
# CONFIG_SCSI_LOGGING is not set
#
# SCSI low-level drivers
#
# CONFIG_BLK_DEV_3W_XXXX_RAID is not set
# CONFIG_SCSI_7000FASST is not set
# CONFIG_SCSI_ACARD is not set
# CONFIG_SCSI_AHA152X is not set
# CONFIG_SCSI_AHA1542 is not set
# CONFIG_SCSI_AHA1740 is not set
# CONFIG_SCSI_AIC7XXX is not set
# CONFIG_SCSI_AIC7XXX_OLD is not set
# CONFIG_SCSI_DPT_I2O is not set
# CONFIG_SCSI_ADVANSYS is not set
# CONFIG_SCSI_IN2000 is not set
# CONFIG_SCSI_AM53C974 is not set
# CONFIG_SCSI_MEGARAID 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_DMA 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_IPS is not set
# CONFIG_SCSI_INITIO is not set
# CONFIG_SCSI_INIA100 is not set
# CONFIG_SCSI_NCR53C406A is not set
# CONFIG_SCSI_NCR53C7xx is not set
# CONFIG_SCSI_SYM53C8XX_2 is not set
# CONFIG_SCSI_NCR53C8XX is not set
# CONFIG_SCSI_SYM53C8XX 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_SEAGATE is not set
# CONFIG_SCSI_SIM710 is not set
# CONFIG_SCSI_SYM53C416 is not set
# CONFIG_SCSI_DC390T is not set
# CONFIG_SCSI_T128 is not set
# CONFIG_SCSI_U14_34F is not set
# CONFIG_SCSI_ULTRASTOR is not set
# CONFIG_SCSI_DEBUG is not set
#
# Fusion MPT device support
#
# CONFIG_FUSION is not set
# CONFIG_FUSION_BOOT is not set
# CONFIG_FUSION_ISENSE is not set
# CONFIG_FUSION_CTL is not set
# CONFIG_FUSION_LAN is not set
#
# IEEE 1394 (FireWire) support (EXPERIMENTAL)
#
# CONFIG_IEEE1394 is not set
#
# I2O device support
#
# CONFIG_I2O is not set
# CONFIG_I2O_PCI is not set
# CONFIG_I2O_BLOCK is not set
# CONFIG_I2O_LAN is not set
# CONFIG_I2O_SCSI is not set
# CONFIG_I2O_PROC is not set
#
# Network device support
#
CONFIG_NETDEVICES=y
#
# ARCnet devices
#
# CONFIG_ARCNET is not set
CONFIG_DUMMY=m
# CONFIG_BONDING is not set
# CONFIG_EQUALIZER is not set
# CONFIG_TUN is not set
# CONFIG_ETHERTAP is not set
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_SUNLANCE is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNBMAC is not set
# CONFIG_SUNQE is not set
# CONFIG_SUNLANCE is not set
# CONFIG_SUNGEM is not set
# CONFIG_NET_VENDOR_3COM is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_AT1700 is not set
# CONFIG_DEPCA is not set
# CONFIG_HP100 is not set
# CONFIG_NET_ISA is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_CS89x0 is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
CONFIG_DM9102=y
# CONFIG_EEPRO100 is not set
# CONFIG_LNE390 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_NE3210 is not set
# CONFIG_ES3210 is not set
# CONFIG_8139CP is not set
# CONFIG_8139TOO is not set
# CONFIG_8139TOO_PIO is not set
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_VIA_RHINE_MMIO is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_NET_POCKET is not set
#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_MYRI_SBUS is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_YELLOWFIN is not set
# CONFIG_SK98LIN is not set
# CONFIG_FDDI is not set
# CONFIG_HIPPI is not set
# CONFIG_PLIP is not set
# CONFIG_PPP 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_RCPCI 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
#
# ISDN subsystem
#
# CONFIG_ISDN is not set
#
# Old CD-ROM drivers (not SCSI, not IDE)
#
# CONFIG_CD_NO_IDESCSI is not set
#
# Input core support
#
CONFIG_INPUT=y
CONFIG_INPUT_KEYBDEV=y
CONFIG_INPUT_MOUSEDEV=y
CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768
# CONFIG_INPUT_JOYDEV is not set
# CONFIG_INPUT_EVDEV is not set
#
# Character devices
#
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
# CONFIG_SERIAL is not set
# CONFIG_SERIAL_EXTENDED is not set
# CONFIG_SERIAL_NONSTANDARD is not set
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
#
# I2C support
#
# CONFIG_I2C is not set
#
# Mice
#
# CONFIG_BUSMOUSE is not set
CONFIG_MOUSE=y
CONFIG_PSMOUSE=y
# CONFIG_82C710_MOUSE is not set
# CONFIG_PC110_PAD is not set
#
# Joysticks
#
# CONFIG_INPUT_GAMEPORT is not set
# CONFIG_INPUT_NS558 is not set
# CONFIG_INPUT_LIGHTNING is not set
# CONFIG_INPUT_PCIGAME is not set
# CONFIG_INPUT_CS461X is not set
# CONFIG_INPUT_EMU10K1 is not set
# CONFIG_INPUT_SERIO is not set
# CONFIG_INPUT_SERPORT is not set
# CONFIG_INPUT_ANALOG is not set
# CONFIG_INPUT_A3D is not set
# CONFIG_INPUT_ADI is not set
# CONFIG_INPUT_COBRA is not set
# CONFIG_INPUT_GF2K is not set
# CONFIG_INPUT_GRIP is not set
# CONFIG_INPUT_INTERACT is not set
# CONFIG_INPUT_TMDC is not set
# CONFIG_INPUT_SIDEWINDER is not set
# CONFIG_INPUT_IFORCE_USB is not set
# CONFIG_INPUT_IFORCE_232 is not set
# CONFIG_INPUT_WARRIOR is not set
# CONFIG_INPUT_MAGELLAN is not set
# CONFIG_INPUT_SPACEORB is not set
# CONFIG_INPUT_SPACEBALL is not set
# CONFIG_INPUT_STINGER is not set
# CONFIG_INPUT_DB9 is not set
# CONFIG_INPUT_GAMECON is not set
# CONFIG_INPUT_TURBOGRAFX is not set
# CONFIG_QIC02_TAPE is not set
#
# Watchdog Cards
#
# CONFIG_WATCHDOG is not set
# CONFIG_INTEL_RNG is not set
CONFIG_NVRAM=m
CONFIG_RTC=y
# CONFIG_DTLK is not set
# CONFIG_R3964 is not set
# CONFIG_APPLICOM is not set
# CONFIG_SONYPI is not set
#
# Ftape, the floppy tape device driver
#
# CONFIG_FTAPE is not set
CONFIG_AGP=y
CONFIG_AGP_INTEL=y
# CONFIG_AGP_I810 is not set
# CONFIG_AGP_VIA is not set
# CONFIG_AGP_AMD is not set
# CONFIG_AGP_SIS is not set
# CONFIG_AGP_ALI is not set
# CONFIG_AGP_SWORKS is not set
# CONFIG_DRM is not set
# CONFIG_MWAVE is not set
#
# Multimedia devices
#
# CONFIG_VIDEO_DEV is not set
#
# File systems
#
# CONFIG_QUOTA is not set
# CONFIG_AUTOFS_FS is not set
# CONFIG_AUTOFS4_FS is not set
CONFIG_REISERFS_FS=y
# CONFIG_REISERFS_CHECK is not set
# CONFIG_REISERFS_PROC_INFO is not set
# CONFIG_ADFS_FS is not set
# CONFIG_ADFS_FS_RW is not set
# CONFIG_AFFS_FS is not set
# CONFIG_HFS_FS is not set
# CONFIG_BFS_FS is not set
# CONFIG_EXT3_FS is not set
# CONFIG_JBD is not set
# CONFIG_JBD_DEBUG is not set
CONFIG_FAT_FS=m
CONFIG_MSDOS_FS=m
# CONFIG_UMSDOS_FS is not set
CONFIG_VFAT_FS=m
# CONFIG_EFS_FS is not set
# CONFIG_JFFS_FS is not set
# CONFIG_JFFS2_FS is not set
# CONFIG_CRAMFS is not set
# CONFIG_TMPFS is not set
# CONFIG_RAMFS is not set
CONFIG_ISO9660_FS=m
CONFIG_JOLIET=y
CONFIG_ZISOFS=y
# CONFIG_MINIX_FS is not set
# CONFIG_VXFS_FS is not set
# CONFIG_NTFS_FS is not set
# CONFIG_NTFS_RW is not set
# CONFIG_HPFS_FS is not set
CONFIG_PROC_FS=y
# CONFIG_DEVFS_FS is not set
# CONFIG_DEVFS_MOUNT is not set
# CONFIG_DEVFS_DEBUG is not set
CONFIG_DEVPTS_FS=y
# CONFIG_QNX4FS_FS is not set
# CONFIG_QNX4FS_RW is not set
# CONFIG_ROMFS_FS is not set
CONFIG_EXT2_FS=y
# CONFIG_SYSV_FS is not set
# CONFIG_UDF_FS is not set
# CONFIG_UDF_RW is not set
# CONFIG_UFS_FS is not set
# CONFIG_UFS_FS_WRITE is not set
#
# Network File Systems
#
# CONFIG_CODA_FS is not set
# CONFIG_INTERMEZZO_FS is not set
CONFIG_NFS_FS=y
CONFIG_NFS_V3=y
# CONFIG_ROOT_NFS is not set
CONFIG_NFSD=y
CONFIG_NFSD_V3=y
CONFIG_SUNRPC=y
CONFIG_LOCKD=y
CONFIG_LOCKD_V4=y
CONFIG_SMB_FS=m
# CONFIG_SMB_NLS_DEFAULT is not set
# CONFIG_NCP_FS is not set
# CONFIG_NCPFS_PACKET_SIGNING is not set
# CONFIG_NCPFS_IOCTL_LOCKING is not set
# CONFIG_NCPFS_STRONG is not set
# CONFIG_NCPFS_NFS_NS is not set
# CONFIG_NCPFS_OS2_NS is not set
# CONFIG_NCPFS_SMALLDOS is not set
# CONFIG_NCPFS_NLS is not set
# CONFIG_NCPFS_EXTRAS is not set
CONFIG_ZISOFS_FS=m
CONFIG_ZLIB_FS_INFLATE=m
#
# Partition Types
#
# CONFIG_PARTITION_ADVANCED is not set
CONFIG_MSDOS_PARTITION=y
CONFIG_SMB_NLS=y
CONFIG_NLS=y
#
# Native Language Support
#
CONFIG_NLS_DEFAULT="iso8859-1"
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_1251 is not set
CONFIG_NLS_ISO8859_1=y
# CONFIG_NLS_ISO8859_2 is not set
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not set
# CONFIG_NLS_ISO8859_5 is not set
# CONFIG_NLS_ISO8859_6 is not set
# CONFIG_NLS_ISO8859_7 is not set
# CONFIG_NLS_ISO8859_9 is not set
# CONFIG_NLS_ISO8859_13 is not set
# CONFIG_NLS_ISO8859_14 is not set
CONFIG_NLS_ISO8859_15=m
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not set
CONFIG_NLS_UTF8=m
#
# Console drivers
#
CONFIG_VGA_CONSOLE=y
# CONFIG_VIDEO_SELECT is not set
# CONFIG_MDA_CONSOLE is not set
#
# Frame-buffer support
#
# CONFIG_FB is not set
#
# Sound
#
CONFIG_SOUND=y
# CONFIG_SOUND_BT878 is not set
# CONFIG_SOUND_CMPCI is not set
# CONFIG_SOUND_EMU10K1 is not set
# CONFIG_MIDI_EMU10K1 is not set
# CONFIG_SOUND_FUSION is not set
# CONFIG_SOUND_CS4281 is not set
# CONFIG_SOUND_ES1370 is not set
CONFIG_SOUND_ES1371=y
# CONFIG_SOUND_ESSSOLO1 is not set
# CONFIG_SOUND_MAESTRO is not set
# CONFIG_SOUND_MAESTRO3 is not set
# CONFIG_SOUND_ICH is not set
# CONFIG_SOUND_RME96XX is not set
# CONFIG_SOUND_SONICVIBES is not set
# CONFIG_SOUND_TRIDENT is not set
# CONFIG_SOUND_MSNDCLAS is not set
# CONFIG_SOUND_MSNDPIN is not set
# CONFIG_SOUND_VIA82CXXX is not set
# CONFIG_MIDI_VIA82CXXX is not set
# CONFIG_SOUND_OSS is not set
# CONFIG_SOUND_TVMIXER is not set
#
# USB support
#
CONFIG_USB=y
# CONFIG_USB_DEBUG is not set
CONFIG_USB_DEVICEFS=y
# CONFIG_USB_BANDWIDTH is not set
# CONFIG_USB_LONG_TIMEOUT is not set
CONFIG_USB_UHCI_ALT=y
# CONFIG_USB_OHCI is not set
# CONFIG_USB_AUDIO is not set
# CONFIG_USB_BLUETOOTH is not set
# CONFIG_USB_STORAGE is not set
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_STORAGE_DATAFAB is not set
# CONFIG_USB_STORAGE_FREECOM is not set
# CONFIG_USB_STORAGE_ISD200 is not set
# CONFIG_USB_STORAGE_DPCM is not set
# CONFIG_USB_STORAGE_HP8200e is not set
# CONFIG_USB_STORAGE_SDDR09 is not set
# CONFIG_USB_STORAGE_JUMPSHOT is not set
# CONFIG_USB_ACM is not set
# CONFIG_USB_PRINTER is not set
CONFIG_USB_HID=y
# CONFIG_USB_HIDDEV is not set
# CONFIG_USB_WACOM is not set
# CONFIG_USB_DC2XX is not set
# CONFIG_USB_MDC800 is not set
# CONFIG_USB_SCANNER is not set
# CONFIG_USB_MICROTEK is not set
# CONFIG_USB_HPUSBSCSI is not set
# CONFIG_USB_PEGASUS is not set
# CONFIG_USB_KAWETH is not set
# CONFIG_USB_CATC is not set
# CONFIG_USB_CDCETHER is not set
# CONFIG_USB_USBNET is not set
# CONFIG_USB_USS720 is not set
#
# USB Serial Converter support
#
# CONFIG_USB_SERIAL is not set
# CONFIG_USB_SERIAL_GENERIC is not set
# CONFIG_USB_SERIAL_BELKIN is not set
# CONFIG_USB_SERIAL_WHITEHEAT is not set
# CONFIG_USB_SERIAL_DIGI_ACCELEPORT is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IR is not set
# CONFIG_USB_SERIAL_EDGEPORT is not set
# CONFIG_USB_SERIAL_KEYSPAN_PDA is not set
# CONFIG_USB_SERIAL_KEYSPAN is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XA is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA28XB is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19 is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA18X is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA19W is not set
# CONFIG_USB_SERIAL_KEYSPAN_USA49W is not set
# CONFIG_USB_SERIAL_MCT_U232 is not set
# CONFIG_USB_SERIAL_PL2303 is not set
# CONFIG_USB_SERIAL_CYBERJACK is not set
# CONFIG_USB_SERIAL_XIRCOM is not set
# CONFIG_USB_SERIAL_OMNINET is not set
# CONFIG_USB_RIO500 is not set
#
# Bluetooth support
#
# CONFIG_BLUEZ is not set
#
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_HIGHMEM is not set
# CONFIG_DEBUG_SLAB is not set
# CONFIG_DEBUG_IOVIRT is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_BUGVERBOSE is not set
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
@ 2001-11-27 20:49 Sebastian Dröge
2001-11-27 21:37 ` Slo Mo Snail
2001-11-28 10:07 ` Martin Dalecki
0 siblings, 2 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-27 20:49 UTC (permalink / raw)
To: linux-kernel; +Cc: torvalds
[-- Attachment #1: Type: text/plain, Size: 532 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
ok
I've corrected it myself I think
The patch is attached
Hopefully it doesn't break something :)
It's my first patch so please don't kill me
Bye
PS: sorry if/when you get this mail twice :(
My mail client is a bit confused today
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8A/xbvIHrJes3kVIRAoyxAJ4+XrCYXffS3P8zCmttT5WvkJ6w1QCdGpxK
nMof4o/n2VictCFrvZGRXeA=
=04xe
-----END PGP SIGNATURE-----
[-- Attachment #2: patch --]
[-- Type: text/x-diff, Size: 1292 bytes --]
--- linux/drivers/scsi/ide-scsi.c Tue Nov 27 21:41:35 2001
+++ linux/drivers/scsi/ide-scsi.c.old Tue Nov 27 21:40:38 2001
@@ -707,9 +707,9 @@
printk ("ide-scsi: %s: building DMA table, %d segments, %dkB total\n", drive->name, segments, pc->request_transfer >> 10);
#endif /* IDESCSI_DEBUG_LOG */
while (segments--) {
- bh->bi_io_vec->bvl_vec->bv_page = sg->page;
- bh->bi_io_vec->bvl_vec->bv_len = sg->length;
- bh->bi_io_vec->bvl_vec->bv_offset = sg->offset;
+ bh->bi_io_vec.bv_page = sg->page;
+ bh->bi_io_vec.bv_len = sg->length;
+ bh->bi_io_vec.bv_offset = sg->offset;
bh = bh->bi_next;
sg++;
}
@@ -719,9 +719,9 @@
#if IDESCSI_DEBUG_LOG
printk ("ide-scsi: %s: building DMA table for a single buffer (%dkB)\n", drive->name, pc->request_transfer >> 10);
#endif /* IDESCSI_DEBUG_LOG */
- bh->bi_io_vec->bvl_vec->bv_page = virt_to_page(pc->scsi_cmd->request_buffer);
- bh->bi_io_vec->bvl_vec->bv_len = pc->request_transfer;
- bh->bi_io_vec->bvl_vec->bv_offset = (unsigned long) pc->scsi_cmd->request_buffer & ~PAGE_MASK;
+ bh->bi_io_vec.bv_page = virt_to_page(pc->scsi_cmd->request_buffer);
+ bh->bi_io_vec.bv_len = pc->request_transfer;
+ bh->bi_io_vec.bv_offset = (unsigned long) pc->scsi_cmd->request_buffer & ~PAGE_MASK;
}
return first_bh;
}
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-27 20:49 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c Sebastian Dröge
@ 2001-11-27 21:37 ` Slo Mo Snail
2001-11-28 10:21 ` Jens Axboe
2001-11-28 10:07 ` Martin Dalecki
1 sibling, 1 reply; 17+ messages in thread
From: Slo Mo Snail @ 2001-11-27 21:37 UTC (permalink / raw)
To: linux-kernel, Linus Torvalds
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I think the patch doesn't work :(
When I try to mount a CD over SCSI emulation I get this nice oops:
Unable to handle kernel NULL pointer dereference at virtual address 00000004
Nov 27 22:24:00 slomosnail kernel: printing eip:
Nov 27 22:24:00 slomosnail kernel: c01d0497
Nov 27 22:24:00 slomosnail kernel: *pde = 00000000
Nov 27 22:24:00 slomosnail kernel: Oops: 0000
Nov 27 22:24:00 slomosnail kernel: CPU: 0
Nov 27 22:24:00 slomosnail kernel: EIP: 0010:[idescsi_queue+1195/1508]
Not tainted
Nov 27 22:24:00 slomosnail kernel: EFLAGS: 00010046
Nov 27 22:24:00 slomosnail kernel: eax: 00000000 ebx: c14cfda0 ecx:
00000000 edx: c14cfda0
Nov 27 22:24:00 slomosnail kernel: esi: c0302000 edi: c14cfda0 ebp:
c14cfda0 esp: cc401e5c
Nov 27 22:24:00 slomosnail kernel: ds: 0018 es: 0018 ss: 0018
Nov 27 22:24:00 slomosnail kernel: Process mount (pid: 192,
stackpage=cc401000)
Nov 27 22:24:00 slomosnail kernel: Stack: 00000293 c15a5600 c15a5600 c15ba0c0
00000014 cc9b89a0 c15a5658 c0302000
Nov 27 22:24:00 slomosnail kernel: 00000000 00000000 cc6ca4c0 c15e12c0
c02fb2dc c01c582a c15a5600 c01ca8bc
Nov 27 22:24:00 slomosnail kernel: c02925c0 c15a5600 c01cd214 c15a56b8
00000000 c01cc434 c15a5600 c15a5600
Nov 27 22:24:00 slomosnail kernel: Call Trace: [scsi_dispatch_cmd+430/544]
[scsi_old_done+0/1852] [scsi_init_io_v+0/392] [scsi_request_fn+1420/1440]
[block_read_full_page+468/488]
Nov 27 22:24:00 slomosnail kernel: [generic_unplug_device+37/44]
[__run_task_queue+76/88] [block_sync_page+22/28] [___wait_on_page+101/140]
[do_generic_file_read+828/1172] [generic_file_read+129/308]
Nov 27 22:24:00 slomosnail kernel: [file_read_actor+0/92]
[sys_read+143/196] [system_call+51/56]
Nov 27 22:24:00 slomosnail kernel: Code: 8b 51 04 8b 46 04 8d 14 52 83 c1 10
89 04 91 8b 4f 1c 8b 46
After that the System is still responsible but a few minutes later I get this
in a endless loop:
scsi : aborting command due to timeout : pid 30, scsi0, channel 0, id 1, lun
0 0x28 00 00 00 00 00 00 00 02 00
I've tried
bh->bi_io_vec->bvl_vec[0].*
instead of
bh->bi_io_vec->bvl_vec->*
but I still get this errors
Maybe someone knows more... I don't
Bye
Am Dienstag, 27. November 2001 21:49 schrieb Sebastian Dröge:
> ok
> I've corrected it myself I think
> The patch is attached
> Hopefully it doesn't break something :)
> It's my first patch so please don't kill me
> Bye
>
> PS: sorry if/when you get this mail twice :(
> My mail client is a bit confused today
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BAeFvIHrJes3kVIRArcCAKCF51wrFnZ1RY+n2Qz2d6FhRti9LACgr/3G
ijxtXFVn7SqHc1XlDvEq0BA=
=ZqKg
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-27 20:49 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c Sebastian Dröge
2001-11-27 21:37 ` Slo Mo Snail
@ 2001-11-28 10:07 ` Martin Dalecki
1 sibling, 0 replies; 17+ messages in thread
From: Martin Dalecki @ 2001-11-28 10:07 UTC (permalink / raw)
To: sebastian.droege; +Cc: linux-kernel
Sebastian Dröge wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> ok
> I've corrected it myself I think
> The patch is attached
> Hopefully it doesn't break something :)
> It's my first patch so please don't kill me
> Bye
You patch is reverted and I don't think it will cut it,
since I tries this myself and it didn't work out.
BTW>. Anybody out there who managed to make
SCSI gogin on 2.5.1-pre2... I only have PPA ZIP and
IDE-SCSI at my home machine, and both fail with a bad
pointer derefference...
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-27 21:37 ` Slo Mo Snail
@ 2001-11-28 10:21 ` Jens Axboe
0 siblings, 0 replies; 17+ messages in thread
From: Jens Axboe @ 2001-11-28 10:21 UTC (permalink / raw)
To: Slo Mo Snail; +Cc: linux-kernel, Linus Torvalds
On Tue, Nov 27 2001, Slo Mo Snail wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I think the patch doesn't work :(
> When I try to mount a CD over SCSI emulation I get this nice oops:
Please try this patch, ide-scsi is over writing the io veclist (longer
story: the io_vec_list used to be embedded so memset'ing the bio would
be ok).
BTW, this could be handled smarter with the new scheme -- no need to
link the bio, more segments can be crammed into just one. Someone
playing around with making ide-scsi faster can do that though, I'm just
making it work :-)
kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.1-pre2/bio-pre2-2
--
Jens Axboe
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
@ 2001-11-28 13:57 Sebastian Dröge
0 siblings, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-28 13:57 UTC (permalink / raw)
To: linux-kernel; +Cc: axboe
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jens,
your patch doesn't work for ide-scsi
I get this oops when trying to mount a CD:
Unable to handle kernel NULL pointer dereference at virtual address 00000000
printing eip:
c01cefff
*pde = 00000000
Oops: 0000
CPU: 0
EIP: 0010:[<c01cefff>] Tainted: P
EFLAGS: 00010202
eax: 00000004 ebx: 00000014 ecx: 00000001 edx: 00000000
esi: 00000000 edi: c02fe628 ebp: c02fe600 esp: cdda3d6c
ds: 0018 es: 0018 ss: 0018
Process mount (pid: 189, stackpage=cdda3000)
Stack: 00000800 c15b5600 00000010 00000004 00000000 00000000 c02fe628 c02fe200
00000000 00000400 00000000 c02fe000 c01cf22b c15b5600 00000800 c15b5600
c02908e0 c01cbaf0 c15b56b8 00000068 c01cb73a c15b5600 00000286 cdda3e0c
Call Trace: [<c01cf22b>] [<c01cbaf0>] [<c01cb73a>] [<c01b22c1>] [<c01199f0>]
[<c0134fb6>] [<c0134a71>] [<d099bc32>] [<c01cfdc1>] [<c0136458>]
[<d099fd84>] [<c0146fab>] [<c0136bfb>] [<d099fd84>] [<c0147d2a>]
[<c0147af4>] [<c014854c>] [<c0106b3b>]
Code: f3 a5 a8 02 74 02 66 a5 a8 01 74 01 a4 8b 54 24 34 0f b7 82
and this seems to be the same as with my patch
c01cefff seems to be sr_scatter_pad... because in System.map
there is: c01cee30 t sr_scatter_pad
it happens when I try to mount a CD. The drives are detected successfull
Maybe this helps you and when you need some more informations ask me
Bye
PS: I don't know why the tainted flag is set...
Only isofs and inflate_fs were loaded
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BO1RvIHrJes3kVIRApU9AJ4ydwvdiomS69lUKHB7nm8CXOzwtgCfR2+I
O1pxpk+ZdQ1J10KyW5YYvfU=
=Ew+a
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
[not found] <20011128135552.204311E532@Cantor.suse.de>
@ 2001-11-28 13:58 ` Jens Axboe
2001-11-28 14:04 ` Sebastian Dröge
[not found] ` <20011128140246.318A01E560@Cantor.suse.de>
0 siblings, 2 replies; 17+ messages in thread
From: Jens Axboe @ 2001-11-28 13:58 UTC (permalink / raw)
To: Sebastian Dröge; +Cc: linux-kernel
On Wed, Nov 28 2001, Sebastian Dröge wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Jens,
> your patch doesn't work for ide-scsi
> I get this oops when trying to mount a CD:
[oops in sr_scatter_pad]
Hmm ok, and 2.5.1-pre1 works for you right?
--
Jens Axboe
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 13:58 ` Jens Axboe
@ 2001-11-28 14:04 ` Sebastian Dröge
[not found] ` <20011128140246.318A01E560@Cantor.suse.de>
1 sibling, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-28 14:04 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi Jens,
> > your patch doesn't work for ide-scsi
> > I get this oops when trying to mount a CD:
>
> [oops in sr_scatter_pad]
>
> Hmm ok, and 2.5.1-pre1 works for you right?
Yes it works very well
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BO7uvIHrJes3kVIRAs+IAJwMg9ru+joRHR9ei6Sqd6GzKMQ6ogCgmZ7X
1J8gTk2dC84QXU4g5Abp12M=
=dPWQ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
[not found] ` <20011128140246.318A01E560@Cantor.suse.de>
@ 2001-11-28 14:07 ` Jens Axboe
2001-11-28 14:37 ` Jens Axboe
0 siblings, 1 reply; 17+ messages in thread
From: Jens Axboe @ 2001-11-28 14:07 UTC (permalink / raw)
To: Sebastian Dröge; +Cc: linux-kernel
On Wed, Nov 28 2001, Sebastian Dröge wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Hi Jens,
> > > your patch doesn't work for ide-scsi
> > > I get this oops when trying to mount a CD:
> >
> > [oops in sr_scatter_pad]
> >
> > Hmm ok, and 2.5.1-pre1 works for you right?
>
> Yes it works very well
Ok, thanks for confirming that. Going to take a look at it now.
--
Jens Axboe
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 14:07 ` Jens Axboe
@ 2001-11-28 14:37 ` Jens Axboe
2001-11-28 14:52 ` Sebastian Dröge
` (4 more replies)
0 siblings, 5 replies; 17+ messages in thread
From: Jens Axboe @ 2001-11-28 14:37 UTC (permalink / raw)
To: Sebastian Dröge; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 708 bytes --]
On Wed, Nov 28 2001, Jens Axboe wrote:
> On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Hi Jens,
> > > > your patch doesn't work for ide-scsi
> > > > I get this oops when trying to mount a CD:
> > >
> > > [oops in sr_scatter_pad]
> > >
> > > Hmm ok, and 2.5.1-pre1 works for you right?
> >
> > Yes it works very well
>
> Ok, thanks for confirming that. Going to take a look at it now.
Does this work for you? Apply on top of what you already have.
--
Jens Axboe
[-- Attachment #2: sr-sg-1 --]
[-- Type: text/plain, Size: 1096 bytes --]
--- /opt/kernel/linux-2.5.1-pre2/drivers/scsi/sr.c Wed Nov 28 09:13:59 2001
+++ drivers/scsi/sr.c Wed Nov 28 15:33:25 2001
@@ -326,11 +326,14 @@
}
if (old_sg) {
memcpy(sg + i, old_sg, SCpnt->use_sg * sizeof(struct scatterlist));
- memcpy(bbpnt + i, old_bbpnt, SCpnt->use_sg * sizeof(void *));
+ if (old_bbpnt)
+ memcpy(bbpnt + i, old_bbpnt, SCpnt->use_sg * sizeof(void *));
scsi_free(old_sg, (((SCpnt->use_sg * sizeof(struct scatterlist)) +
(SCpnt->use_sg * sizeof(void *))) + 511) & ~511);
} else {
- sg[i].address = SCpnt->request_buffer;
+ sg[i].address = NULL;
+ sg[i].page = virt_to_page(SCpnt->request_buffer);
+ sg[i].offset = (unsigned long) SCpnt->request_buffer&~PAGE_MASK;
sg[i].length = SCpnt->request_bufflen;
}
@@ -340,7 +343,9 @@
SCpnt->use_sg += i;
if (bsize) {
- sg[SCpnt->use_sg].address = back;
+ sg[SCpnt->use_sg].address = NULL;
+ sg[SCpnt->use_sg].page = virt_to_page(back);
+ sg[SCpnt->use_sg].offset = (unsigned long) back & ~PAGE_MASK;
bbpnt[SCpnt->use_sg] = back;
sg[SCpnt->use_sg].length = bsize;
SCpnt->use_sg++;
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 14:37 ` Jens Axboe
@ 2001-11-28 14:52 ` Sebastian Dröge
2001-11-29 13:26 ` Slo Mo Snail
` (3 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-28 14:52 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 28. November 2001 15:37 schrieben Sie:
> On Wed, Nov 28 2001, Jens Axboe wrote:
> > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Hi Jens,
> > > > > your patch doesn't work for ide-scsi
> > > > > I get this oops when trying to mount a CD:
> > > >
> > > > [oops in sr_scatter_pad]
> > > >
> > > > Hmm ok, and 2.5.1-pre1 works for you right?
> > >
> > > Yes it works very well
> >
> > Ok, thanks for confirming that. Going to take a look at it now.
>
> Does this work for you? Apply on top of what you already have.
Yes it does work :)
Thank you very much
BTW my patch does work, too in addition with the sr-sg patch ;) But Jens' is
cleaner
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BPo7vIHrJes3kVIRAqtJAJ9zDUEC3hOr/YrhD0u9ffDq+0Qu/gCgkCFO
BZ/hoLNeJn69teIN8L1msSI=
=lXPv
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 14:37 ` Jens Axboe
2001-11-28 14:52 ` Sebastian Dröge
@ 2001-11-29 13:26 ` Slo Mo Snail
2001-11-29 13:33 ` Sebastian Dröge
` (2 subsequent siblings)
4 siblings, 0 replies; 17+ messages in thread
From: Slo Mo Snail @ 2001-11-29 13:26 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 28. November 2001 15:37 schrieben Sie:
> On Wed, Nov 28 2001, Jens Axboe wrote:
> > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > -----BEGIN PGP SIGNED MESSAGE-----
> > > Hash: SHA1
> > >
> > > Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Hi Jens,
> > > > > your patch doesn't work for ide-scsi
> > > > > I get this oops when trying to mount a CD:
> > > >
> > > > [oops in sr_scatter_pad]
> > > >
> > > > Hmm ok, and 2.5.1-pre1 works for you right?
> > >
> > > Yes it works very well
> >
> > Ok, thanks for confirming that. Going to take a look at it now.
>
> Does this work for you? Apply on top of what you already have.
OK it does work BUT
when I read audio data from a CD it reads the first ~20 MB and then it
doesn't write anything on hdd.
When I try to play an audio CD with the KDE CD player it crashes immediately
2.5.1-pre1 works fine and mounting/reading data CDs work, too
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BjeSvIHrJes3kVIRAo8AAJsGac8MjYRteNLG7VU3eqJHacZAOACgrGqX
TfSiWC+4PeHJe08HFREgQy8=
=yOcb
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 14:37 ` Jens Axboe
2001-11-28 14:52 ` Sebastian Dröge
2001-11-29 13:26 ` Slo Mo Snail
@ 2001-11-29 13:33 ` Sebastian Dröge
2001-11-29 14:06 ` Slo Mo Snail
[not found] ` <20011129140517.8650E1E122@Cantor.suse.de>
4 siblings, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-29 13:33 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 29. November 2001 14:26 schrieben Sie:
> Am Mittwoch, 28. November 2001 15:37 schrieben Sie:
> > On Wed, Nov 28 2001, Jens Axboe wrote:
> > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > Hash: SHA1
> > > >
> > > > Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > > > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > > Hash: SHA1
> > > > > >
> > > > > > Hi Jens,
> > > > > > your patch doesn't work for ide-scsi
> > > > > > I get this oops when trying to mount a CD:
> > > > >
> > > > > [oops in sr_scatter_pad]
> > > > >
> > > > > Hmm ok, and 2.5.1-pre1 works for you right?
> > > >
> > > > Yes it works very well
> > >
> > > Ok, thanks for confirming that. Going to take a look at it now.
> >
> > Does this work for you? Apply on top of what you already have.
>
> OK it does work BUT
> when I read audio data from a CD it reads the first ~20 MB and then it
> doesn't write anything on hdd.
> When I try to play an audio CD with the KDE CD player it crashes
> immediately 2.5.1-pre1 works fine and mounting/reading data CDs work, too
> Bye
But wait :)
I'll first test 2.5.1-pre3 + Alan's Patch + your sg-sr patch + your bio patch
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8Bjk4vIHrJes3kVIRAuLmAJ9wVsXe/S93b5in+3CyPl1QodIKPACeLtkx
qjsXfuO+dOOGPYoyyjgLfSE=
=lp5q
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-28 14:37 ` Jens Axboe
` (2 preceding siblings ...)
2001-11-29 13:33 ` Sebastian Dröge
@ 2001-11-29 14:06 ` Slo Mo Snail
[not found] ` <20011129140517.8650E1E122@Cantor.suse.de>
4 siblings, 0 replies; 17+ messages in thread
From: Slo Mo Snail @ 2001-11-29 14:06 UTC (permalink / raw)
To: axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 29. November 2001 14:33 schrieben Sie:
> Am Donnerstag, 29. November 2001 14:26 schrieben Sie:
> > Am Mittwoch, 28. November 2001 15:37 schrieben Sie:
> > > On Wed, Nov 28 2001, Jens Axboe wrote:
> > > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > Hash: SHA1
> > > > >
> > > > > Am Mittwoch, 28. November 2001 14:58 schrieben Sie:
> > > > > > On Wed, Nov 28 2001, Sebastian Dröge wrote:
> > > > > > > -----BEGIN PGP SIGNED MESSAGE-----
> > > > > > > Hash: SHA1
> > > > > > >
> > > > > > > Hi Jens,
> > > > > > > your patch doesn't work for ide-scsi
> > > > > > > I get this oops when trying to mount a CD:
> > > > > >
> > > > > > [oops in sr_scatter_pad]
> > > > > >
> > > > > > Hmm ok, and 2.5.1-pre1 works for you right?
> > > > >
> > > > > Yes it works very well
> > > >
> > > > Ok, thanks for confirming that. Going to take a look at it now.
> > >
> > > Does this work for you? Apply on top of what you already have.
> >
> > OK it does work BUT
> > when I read audio data from a CD it reads the first ~20 MB and then it
> > doesn't write anything on hdd.
> > When I try to play an audio CD with the KDE CD player it crashes
> > immediately 2.5.1-pre1 works fine and mounting/reading data CDs work, too
> > Bye
>
> But wait :)
> I'll first test 2.5.1-pre3 + Alan's Patch + your sg-sr patch + your bio
> patch Bye
Hmm it works :)
Thanks
I'll test some more things with my CD drives ;)
Maybe I'll find some bugs
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BkEEvIHrJes3kVIRAvQ9AKCbVMNKEbz3mB2XgFo8BKzymui5jQCdGJiF
KoBQHL2kW05Mjiw9lsQi3xc=
=Q1R3
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
[not found] ` <20011129140517.8650E1E122@Cantor.suse.de>
@ 2001-11-29 14:23 ` Jens Axboe
2001-11-29 14:37 ` Sebastian Dröge
[not found] ` <20011129143538.3A4F81E128@Cantor.suse.de>
0 siblings, 2 replies; 17+ messages in thread
From: Jens Axboe @ 2001-11-29 14:23 UTC (permalink / raw)
To: Slo Mo Snail; +Cc: linux-kernel
On Thu, Nov 29 2001, Slo Mo Snail wrote:
> > But wait :)
> > I'll first test 2.5.1-pre3 + Alan's Patch + your sg-sr patch + your bio
> > patch Bye
> Hmm it works :)
Just to confirm -- 2.5.1-pre3 + Alan's patch + my bio-pre3-1 patch,
right? pre3 already contains the sg-sr part.
> I'll test some more things with my CD drives ;)
> Maybe I'll find some bugs
Please do :)
--
Jens Axboe
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
2001-11-29 14:23 ` Jens Axboe
@ 2001-11-29 14:37 ` Sebastian Dröge
[not found] ` <20011129143538.3A4F81E128@Cantor.suse.de>
1 sibling, 0 replies; 17+ messages in thread
From: Sebastian Dröge @ 2001-11-29 14:37 UTC (permalink / raw)
To: Jens Axboe; +Cc: linux-kernel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Donnerstag, 29. November 2001 15:23 schrieben Sie:
> On Thu, Nov 29 2001, Slo Mo Snail wrote:
> > > But wait :)
> > > I'll first test 2.5.1-pre3 + Alan's Patch + your sg-sr patch + your bio
> > > patch Bye
> >
> > Hmm it works :)
>
> Just to confirm -- 2.5.1-pre3 + Alan's patch + my bio-pre3-1 patch,
> right? pre3 already contains the sg-sr part.
>
> > I'll test some more things with my CD drives ;)
> > Maybe I'll find some bugs
>
> Please do :)
Sorry my mistake
I've meant this patch:
http://kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.1-pre3/bio-pre3-1.gz
So it's 2.5.1-pre3 + Alan's patch + bio-pre3-1 + the patch you've posted
after the 2.5.1-pre3 don't-use mail
There were no failures while patching so I think this patches are compatible
each other ;)
And it works well... no data corruption, no oopses, no nothing ;)
Later the day I'll test burning a CD
Bye
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8BkgVvIHrJes3kVIRAiQQAKCG0efeie+bKhbKe+BHXaI4XCCSuACfS7T/
806yy00KSYP+zID3ijLskfQ=
=idKY
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c
[not found] ` <20011129143538.3A4F81E128@Cantor.suse.de>
@ 2001-11-29 16:54 ` Jens Axboe
0 siblings, 0 replies; 17+ messages in thread
From: Jens Axboe @ 2001-11-29 16:54 UTC (permalink / raw)
To: Sebastian Dröge; +Cc: linux-kernel
On Thu, Nov 29 2001, Sebastian Dröge wrote:
> Sorry my mistake
> I've meant this patch:
> http://kernel.org/pub/linux/kernel/people/axboe/patches/v2.5/2.5.1-pre3/bio-pre3-1.gz
>
> So it's 2.5.1-pre3 + Alan's patch + bio-pre3-1 + the patch you've posted
> after the 2.5.1-pre3 don't-use mail
>
> There were no failures while patching so I think this patches are compatible
> each other ;)
Yes sure, that's what I expected. THe part I didn't understand was the
sr-sg-1 part.
> And it works well... no data corruption, no oopses, no nothing ;)
> Later the day I'll test burning a CD
Good
--
Jens Axboe
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2001-11-29 16:55 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-27 20:49 2.5.1-pre2 compile error in ide-scsi.o ide-scsi.c Sebastian Dröge
2001-11-27 21:37 ` Slo Mo Snail
2001-11-28 10:21 ` Jens Axboe
2001-11-28 10:07 ` Martin Dalecki
[not found] <20011128135552.204311E532@Cantor.suse.de>
2001-11-28 13:58 ` Jens Axboe
2001-11-28 14:04 ` Sebastian Dröge
[not found] ` <20011128140246.318A01E560@Cantor.suse.de>
2001-11-28 14:07 ` Jens Axboe
2001-11-28 14:37 ` Jens Axboe
2001-11-28 14:52 ` Sebastian Dröge
2001-11-29 13:26 ` Slo Mo Snail
2001-11-29 13:33 ` Sebastian Dröge
2001-11-29 14:06 ` Slo Mo Snail
[not found] ` <20011129140517.8650E1E122@Cantor.suse.de>
2001-11-29 14:23 ` Jens Axboe
2001-11-29 14:37 ` Sebastian Dröge
[not found] ` <20011129143538.3A4F81E128@Cantor.suse.de>
2001-11-29 16:54 ` Jens Axboe
-- strict thread matches above, loose matches on Subject: below --
2001-11-28 13:57 Sebastian Dröge
2001-11-27 20:02 Sebastian Dröge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox