SCIENTIFIC-LINUX-USERS Archives

November 2004

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Perret Yannick <[log in to unmask]>
Reply To:
Date:
Tue, 9 Nov 2004 15:24:34 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (237 lines)
Also beware that in general the EXTRAVERSION in the Makefile
is set to "-custom" or something like that.
It's not important but sometime enoying.

Troy Dawson wrote:

> Hi Alex,
> Did you do an 'make mrproper'?  You usually just have to do it the
> first time
> you make a particular kernel, but you get strange results if you
> don't.  So
> the steps would be
>
>   cd /usr/src/linux-2.4
>   make mrproper
>   copy your config file in from wherever
>   edit your config file
>   make oldconfig
>   make dep
>   make bzImage
>   make modules
>   make modules_install
>
> Troy
>
> Alex Finch wrote:
>
>>  I have just tried installing 3.03 on a new machine.
>>
>>  I have a few problems, which I hope people can help me with.
>>
>>  1) Mozilla hung when I typed any key. I installed a newer version (1.7)
>> and
>> that fixed it ( no help needed here!).
>>
>>  2) No USB devices are recognised - they are onboard VIA devices on
>> an ASUS
>> motherboard.
>>
>> -------------------------------------------------------------
>>  00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
>> Controller (rev 81) (prog-if 00 [UHCI])
>>         Subsystem: Asustek Computer, Inc. A7V600 motherboard
>>         Flags: bus master, medium devsel, latency 64, IRQ 11
>>         I/O ports at c400 [size=32]
>>         Capabilities: [80] Power Management version 2
>> modprobe usb-uhci
>>
>> /lib/modules/2.4.21-20.EL/kernel/drivers/usb/host/usb-uhci.o:
>> init_module: No
>> such device
>> Hint: insmod errors can be caused by incorrect module parameters,
>> including
>> invalid IO or IRQ parameters.
>> -------------------------------------------------------------------------------
>>
>>
>>
>>     I doubt this is a SL specific problem so I have been asking for help
>> on the
>> Linux-usb-users mailing list.
>>
>>  In order to debug the problem I want to turn on `Verbose USB debugging'
>> in the
>> kernel. This means I need to recompile the kernel, and I am having
>> trouble doing
>> this. Here is what I tried:
>>
>>  cd /usr/src/linux-2.4
>>  cp /boot/config-`uname -r` .config
>>  edit .config>
>>  CONFIG_USB_DEBUG=y
>>   make dep
>>   make bzImage
>>   make modules
>>
>> fails to compile, tried removing each module that failed to compile from
>> .config
>>
>> CONFIG_SCSI_AACRAID=n
>> CONFIG_CIPE=n
>> CONFIG_SCSI_IPS=n
>> ... and many more
>>
>> but gave up when the floppy driver would not compile!
>>
>>
>> ====================================================================================
>>
>>
>>  Entering directory `/usr/src/linux-2.4.21-20.EL/drivers/block'
>> gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-20.EL/include -Wall
>> -Wstrict-prototypes
>> -Wno-trigr
>> aphs -O2 -fno-strict-aliasing -fno-common  -Wno-unused
>> -fomit-frame-pointer
>> -pipe -freorder
>> -blocks -mpreferred-stack-boundary=2 -march=athlon -DMODULE
>> -DMODVERSIONS
>> -include /usr/src
>> /linux-2.4.21-20.EL/include/linux/modversions.h  -nostdinc -iwithprefix
>> include
>> -DKBUILD_BA
>> SENAME=floppy  -c -o floppy.o floppy.c
>> In file included from
>> /usr/src/linux-2.4.21-20.EL/include/linux/prefetch.h:13,
>>                  from
>> /usr/src/linux-2.4.21-20.EL/include/linux/list.h:6,
>>                  from
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:12,
>>                  from floppy.c:148:
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:61: warning:
>> parameter names
>> (without t
>> ypes) in function declaration
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:61: field
>> `loops_per_jiffy_R_ver_str' d
>> eclared as a function
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:84: invalid
>> suffix on
>> integer constant
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:84: syntax error
>> before
>> numeric constan
>> t
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:84: warning:
>> function
>> declaration isn't
>>  a prototype
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:269: invalid
>> suffix on
>> integer constant
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:269: syntax error
>> before
>> numeric consta
>> nt
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:269: warning:
>> function
>> declaration isn'
>> t a prototype
>> /usr/src/linux-2.4.21-20.EL/include/asm/processor.h:273: warning:
>> parameter
>> names (without
>> types) in function declaration
>> In file included from floppy.c:148:
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:190: invalid
>> suffix on
>> integer constant
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:190: syntax error
>> before
>> numeric constan
>> t
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:190:
>> `inter_module_register_R_ver_str' d
>> eclared as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:190: warning:
>> function
>> declaration isn't
>>  a prototype
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:191: invalid
>> suffix on
>> integer constant
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:191: syntax error
>> before
>> numeric constan
>> t
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:191:
>> `inter_module_unregister_R_ver_str'
>>  declared as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:191: warning:
>> function
>> declaration isn't
>>  a prototype
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:192:
>> `inter_module_get_R_ver_str' declar
>> ed as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:192: warning:
>> parameter names
>> (without t
>> ypes) in function declaration
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:193:
>> `inter_module_get_request_R_ver_str
>> ' declared as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:193: warning:
>> parameter names
>> (without t
>> ypes) in function declaration
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:194: invalid
>> suffix on
>> integer constant
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:194: syntax error
>> before
>> numeric constan
>> t
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:194:
>> `inter_module_put_R_ver_str' declar
>> ed as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:194: warning:
>> function
>> declaration isn't
>>  a prototype
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:203:
>> `try_inc_mod_count_R_ver_str' decla
>> red as function returning a function
>> /usr/src/linux-2.4.21-20.EL/include/linux/module.h:203: warning:
>> parameter names
>> (without t
>> ypes) in function declaration
>> make[2]: *** [floppy.o] Error 1
>> make[2]: Leaving directory `/usr/src/linux-2.4.21-20.EL/drivers/block'
>> make[1]: *** [_modsubdir_block] Error 2
>> make[1]: Leaving directory `/usr/src/linux-2.4.21-20.EL/drivers'
>> make: *** [_mod_drivers] Error 2
>> ================================================================================
>>
>>
>>
>>  Can anyone tell me what I did wrong? What is the correct way to
>> recompile the
>> kernel?
>>
>>        thanks
>>
>>                Alex
>>
>>
>> --
>>  Alex Finch, Research Fellow, Physics Department, Lancaster University.
>
>
>
> --
> __________________________________________________
> Troy Dawson  [log in to unmask]  (630)840-6468
> Fermilab  ComputingDivision/CSS  CSI Group
> __________________________________________________

ATOM RSS1 RSS2