From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270930AbTHKEXV (ORCPT ); Mon, 11 Aug 2003 00:23:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270939AbTHKEXV (ORCPT ); Mon, 11 Aug 2003 00:23:21 -0400 Received: from web40312.mail.yahoo.com ([66.218.78.91]:3919 "HELO web40312.mail.yahoo.com") by vger.kernel.org with SMTP id S270930AbTHKEXK (ORCPT ); Mon, 11 Aug 2003 00:23:10 -0400 Message-ID: <20030811042309.7873.qmail@web40312.mail.yahoo.com> X-RocketYMMF: rkymtguy Date: Sun, 10 Aug 2003 21:23:09 -0700 (PDT) From: Zachary Pfeffer Reply-To: pfefferz@colorado.edu Subject: PROBLEM: 'make' fails CC [M] drivers/block/paride/pd.o ON linux-2.6.0-test3 tree To: linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org [1.] 'make' fails CC [M] drivers/block/paride/pd.o ON linux-2.6.0-test3 tree [2.] When performing a 'make' and including CONFIG_PARIDE_*=m Block devices -> Parallel port IDE device support =m Block devices -> Parallel port IDE disks=m Block devices -> Parallel port ATAPI CD-ROMs=m Block devices -> Parallel port ATAPI disks=m Block devices -> Parallel port ATAPI tapes=m Block devices -> Parallel port generic ATAPI devices=m I get CC [M] drivers/block/paride/pd.o drivers/block/paride/pd.c: In function `pd_init': drivers/block/paride/pd.c:896: warning: passing arg 1 of `blk_init_queue' from incompatible pointer type drivers/block/paride/pd.c:896: warning: passing arg 2 of `blk_init_queue' from incompatible pointer type drivers/block/paride/pd.c:896: too many arguments to function `blk_init_queue' make[2]: *** [drivers/block/paride/pd.o] Error 1 make[1]: *** [drivers/block/paride] Error 2 make: *** [drivers] Error 2 [3.] Parallel port IDE device support linux-2.6.0-test3 fails [4.] Linux version 2.4.21 (root@test) (gcc version 3.2 20020903 (Red Hat Linux 8.0 3.2-7)) #2 Sun Aug 10 15:48:49 MDT 2003 [5.] [6.] CONFIG_PARIDE_*=m make modules [7.] [7.1.] sh /usr/src/linux/scripts/ver_linux If some fields are empty or look unusual you may have an old version. Compare to the current minimal requirements in Documentation/Changes. Linux test 2.4.21 #2 Sun Aug 10 15:48:49 MDT 2003 i686 athlon i386 GNU/Linux Gnu C 3.2 Gnu make 3.79.1 util-linux 2.11r mount 2.11r module-init-tools 2.4.18 e2fsprogs 1.27 jfsutils 1.0.17 reiserfsprogs 3.6.2 pcmcia-cs 3.1.31 quota-tools 3.06. PPP 2.4.1 isdn4k-utils 3.1pre4 nfs-utils 1.0.1 Linux C Library 2.3.2 Dynamic linker (ldd) 2.3.2 Procps 2.0.7 Net-tools 1.60 Kbd 1.06 Sh-utils 2.0.12 Modules Loaded ide-cd cdrom cmpci soundcore autofs eepro100 iptable_filt er ip_tables ohci1394 ieee1394 ext3 jbd mousedev keybdev input hid usb-uhci ehci -hcd usb-ohci usbcore [7.2.] bash: /proc/cpuinfo: Permission denied [root@test Documentation]# cat /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 8 model name : AMD Athlon(TM) XP2400+ stepping : 1 cpu MHz : 2014.579 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow bogomips : 4010.80 [7.3.] cat /proc/modules ide-cd 35424 1 (autoclean) cdrom 32576 0 (autoclean) [ide-cd] cmpci 35432 0 (autoclean) soundcore 5988 4 (autoclean) [cmpci] autofs 13300 0 (autoclean) (unused) eepro100 22260 1 mii 3732 0 [eepro100] iptable_filter 2412 0 (autoclean) (unused) ip_tables 15008 1 [iptable_filter] ohci1394 28776 0 (unused) ieee1394 60836 0 [ohci1394] mousedev 5460 1 keybdev 2912 0 (unused) input 5280 0 [mousedev keybdev] hid 12344 0 (unused) usb-uhci 26156 0 (unused) ehci-hcd 19976 0 (unused) usb-ohci 21192 0 (unused) usbcore 75040 1 [hid usb-uhci ehci-hcd usb-ohci] [7.4.] cat /proc/ioports 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 02f8-02ff : serial(auto) 0330-0331 : cmpci Midi 0376-0376 : ide1 0388-038b : cmpci FM 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0cf8-0cff : PCI conf1 9000-901f : VIA Technologies, Inc. USB (#3) 9000-901f : usb-uhci 9400-941f : VIA Technologies, Inc. USB (#2) 9400-941f : usb-uhci 9800-981f : VIA Technologies, Inc. USB 9800-981f : usb-uhci a000-a00f : VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE a000-a007 : ide0 a008-a00f : ide1 a400-a407 : US Robotics/3Com 56K FaxModem Model 5610 a400-a407 : serial(auto) a800-a83f : Intel Corp. 82557/8/9 [Ethernet Pro 100] a800-a83f : eepro100 b000-b03f : Promise Technology, Inc. 20265 b000-b007 : ide2 b008-b00f : ide3 b010-b03f : PDC20265 b400-b403 : Promise Technology, Inc. 20265 b800-b807 : Promise Technology, Inc. 20265 d000-d003 : Promise Technology, Inc. 20265 d400-d407 : Promise Technology, Inc. 20265 d800-d8ff : C-Media Electronics Inc CM8738 d800-d8ff : cmpci [root@test Documentation]# cat /proc/iomem 00000000-0009fbff : System RAM 0009fc00-0009ffff : reserved 000a0000-000bffff : Video RAM area 000c0000-000c7fff : Video ROM 000d0000-000d17ff : Extension ROM 000f0000-000fffff : System ROM 00100000-5ffebfff : System RAM 00100000-0025c742 : Kernel code 0025c743-002d9a83 : Kernel data 5ffec000-5ffeefff : ACPI Tables 5ffef000-5fffefff : reserved 5ffff000-5fffffff : ACPI Non-volatile Storage f2000000-f20000ff : NEC Corporation USB 2.0 f2000000-f20000ff : ehci_hcd f2800000-f2800fff : NEC Corporation USB (#2) f2800000-f2800fff : usb-ohci f3000000-f3000fff : NEC Corporation USB f3000000-f3000fff : usb-ohci f3800000-f381ffff : Intel Corp. 82557/8/9 [Ethernet Pro 100] f4000000-f4000fff : Intel Corp. 82557/8/9 [Ethernet Pro 100] f4000000-f4000fff : eepro100 f4800000-f4803fff : Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) f5000000-f50007ff : Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) f5000000-f50007ff : ohci1394 f5800000-f581ffff : Promise Technology, Inc. 20265 f6000000-f75fffff : PCI Bus #01 f6000000-f6ffffff : nVidia Corporation NV20 [GeForce3 Ti 200] f7700000-fbffffff : PCI Bus #01 f7800000-f787ffff : nVidia Corporation NV20 [GeForce3 Ti 200] f8000000-fbffffff : nVidia Corporation NV20 [GeForce3 Ti 200] fc000000-fdffffff : VIA Technologies, Inc. VT8366/A/7 [Apollo KT266/A/333] ffff0000-ffffffff : reserved [7.5.] lspci -vvv 00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266] Subsystem: Asustek Computer, Inc. A7V266-E Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Capabilities: [c0] Power Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT333 AGP] (prog-if 00 [Normal decode]) Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- Reset- FastB2B- Capabilities: [80] Power Management version 2 Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-) Status: D0 PME-Enable- DSel=0 DScale=0 PME- 00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10) Subsystem: Asustek Computer, Inc. CMI8738 6ch-MX Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- [disabled] [size=64K] Capabilities: [58] 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:0d.0 FireWire (IEEE 1394): Texas Instruments TSB12LV26 IEEE-1394 Controller (Link) (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- SERR- TAbort- SERR- [disabled] [size=64K] Capabilities: [dc] Power Management version 2 Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 DScale=2 PME- 00:0f.0 Serial controller: US Robotics/3Com 56K FaxModem Model 5610 (rev 01) (prog-if 02 [16550]) Subsystem: US Robotics/3Com USR 56k Internal FAX Modem (Model 2977) Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- TAbort- SERR- [7.6.] none [7.7.] none [X.] I just #'d CONFIG_PARIDE_*=m out of .config -Zachary A Pfeffer pfefferz@colorado.edu