LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-25-2010, 06:49 AM   #1
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
compiling kernel 2nd time dell optiplex gx1


I'm presently compiling a new kernel debian 5.04 version 2.6.26-2-686 on a dell optiplex gx1. This is my second attempt. The first attempt the kernel wouldn't do make kpkg. This time it's compiling and showing errors, which I can't paste at the present time. Most of the errors I am quite sure that they are not supposed to be included but gconf wouldn't let me change the values I'm not sure that it was due to me doing it on remote desktop the bottom line is that it is compiling this time but it's compiling everything, basically I would have a new kernel,but it would be the same as I have. I"m wondering if
1. Should I boot it to see the outcome just because it compiled?
2. Is it safe to remove from the source directory and start the compiling over?
3. If I do attempt to boot how do I recover the boot configuration that I copied or can you recommend a reference that's upto date?
I really thought the compile would exit with errors, so I was shocked when it continued. On the next one I'll be lightening my load. I only have a 500 mhz cpu with 768m for mem. After it's finished compiling I'll post the errors for an opinion.
Thanx in advance for any input
 
Old 08-25-2010, 11:52 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
What are you using a basis to start the compilation. Does your distribution have some basic source package? Are you just going to kernel.org and starting from complete scratch? You might want to at least find a decent .config somewhere.

Also, you can compile the kernel for the 500mhz cpu on another computer. This will speed it up AND you can copy+paste output...

Here is a handy little command that will tell you the output of "-march=native" on the 500mhz computer so you can set CFLAGS on another machine:

Code:
gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'
 
1 members found this post helpful.
Old 08-26-2010, 12:01 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Where did you get the kernel source from? Ie is it vanilla or does it have Debian patches?
Related to this, what are you using for your config file? For example are you starting with the config file from your previous kernel and then running "make oldconfig"?

Are you doing this 2nd compile with make-kpkg? If so, could you post the exact command?

Anyway if you are worried about the result of the build you can post the log file from the compilation and we can check it.

Cheers,

Evo2.
 
Old 08-26-2010, 03:07 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Thank you guys for responding.
I don't know how long it took for the compililng but at the last message was that it didn't do a makefile because it was the same version kernel that I have already.

The next message was that I wouldn't have so many errors had I have not include the kernel headers.

There were numerous error messages that gave me a great deal of information, just getting as far as I did was a good feeling, but I think I got a little ahead of myself. I believe that I need to spend a little more time with the modules and their functions and how to use modprobe and modconf.
I really need a more detailed reference for the modprobe command, the manpages are very sketchy.

Where did you get the kernel source from? Ie is it vanilla or does patches?

The resources I was using was from sevenl networks
https://www.sevenl.net/blog/how-to-c...ebian-5-lenny/

Related to this, what are you using for your config file? For example are you starting with the config file from your previous kernel and then running "make oldconfig"?

I used "make oldconfig".

Are you doing this 2nd compile with make-kpkg? If so, could you post the exact command?

I was using the sevenl page for copy and paste operation.


What are you using a basis to start the compilation. Does your distribution have some basic source package? Are you just going to kernel.org and starting from complete scratch? You might want to at least find a decent .config somewhere.

Also, you can compile the kernel for the 500mhz cpu on another computer. This will speed it up AND you can copy+paste output...

Here is a handy little command that will tell you the output of "-march=native" on the 500mhz computer so you can set CFLAGS on another machine:

Code:

gcc -march=native -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p'



I used my make oldconfig but I don't know how much that helps because I"ve ever gotten my configuration right. It's just the default configuration that I got from another link.

http://crunchbanglinux.org/forums/to...m-debian-setup

As far as compiling and the time it takes that's not a problem, but to compile on another machine is, only because I'm so new to this. I only recently got my machine to send and receive mail. I still haven't used the irc-chat. I can remote connect to it and control it but I can't transfer files from 1 to the other. I'm working on it though.

I took this snipit from the sevenl page

=> Linux mx 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC 2009 i686 GNU/Linux

This is what mine says

eddy1:~# uname -a
Linux eddy1 2.6.26-2-686 #1 SMP Thu Aug 19 03:44:10 UTC 2010 i686 GNU/Linux
eddy1:~# uname -r
2.6.26-2-686

But in dmesg it shows 2 or more versions.
Also can you take a look at this and tell me how close I am to actually having it setup? As far as the os. Thank you in advance.

eddy1:~# dmesg
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 2.6.26-2-686 (Debian 2.6.26-24lenny1) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Thu Aug 19 03:44:10 UTC 2010
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
[ 0.000000] BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 0000000027ffe000 (usable)
[ 0.000000] BIOS-e820: 0000000027ffe000 - 0000000028000000 (reserved)
[ 0.000000] BIOS-e820: 00000000ffe00000 - 0000000100000000 (reserved)
[ 0.000000] 0MB HIGHMEM available.
[ 0.000000] 639MB LOWMEM available.
[ 0.000000] Entering add_active_range(0, 0, 163838) 0 entries of 256 used
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0 -> 4096
[ 0.000000] Normal 4096 -> 163838
[ 0.000000] HighMem 163838 -> 163838
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0 -> 163838
[ 0.000000] On node 0 totalpages: 163838
[ 0.000000] DMA zone: 32 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 4064 pages, LIFO batch:0
[ 0.000000] Normal zone: 1248 pages used for memmap
[ 0.000000] Normal zone: 158494 pages, LIFO batch:31
[ 0.000000] HighMem zone: 0 pages used for memmap
[ 0.000000] Movable zone: 0 pages used for memmap
[ 0.000000] DMI 2.2 present.
[ 0.000000] ACPI: RSDP 000FDF50, 0014 (r0 DELL )
[ 0.000000] ACPI: RSDT 000FDF64, 0028 (r1 DELL GX1 2 ASL 61)
[ 0.000000] ACPI: FACP 000FDF8C, 0074 (r1 DELL GX1 2 ASL 61)
[ 0.000000] ACPI: DSDT FFFF6000, 183F (r1 DELL dt_ex 1000 MSFT 100000B)
[ 0.000000] ACPI: FACS 27FFE000, 0040
[ 0.000000] ACPI: PM-Timer IO Port: 0x808
[ 0.000000] Allocating PCI resources starting at 30000000 (gap: 28000000:d7e00000)
[ 0.000000] PM: Registered nosave memory: 00000000000a0000 - 00000000000f0000
[ 0.000000] PM: Registered nosave memory: 00000000000f0000 - 0000000000100000
[ 0.000000] SMP: Allowing 0 CPUs, 0 hotplug CPUs
[ 0.000000] PERCPU: Allocating 37992 bytes of per cpu data
[ 0.000000] NR_CPUS: 8, nr_cpu_ids: 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 162558
[ 0.000000] Kernel command line: root=/dev/hda1 ro
[ 0.000000] Local APIC disabled by BIOS -- you can enable it with "lapic"
[ 0.000000] mapped APIC to ffffb000 (0150f000)
[ 0.000000] Enabling fast FPU save and restore... done.
[ 0.000000] Enabling unmasked SIMD FPU exception support... done.
[ 0.000000] Initializing CPU#0
[ 0.000000] PID hash table entries: 4096 (order: 12, 16384 bytes)
[ 0.000000] Detected 498.759 MHz processor.
[ 0.004000] Console: colour VGA+ 80x25
[ 0.004000] console [tty0] enabled
[ 0.004000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.004000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.004000] Memory: 643652k/655352k available (1771k kernel code, 11144k reserved, 749k data, 244k init, 0k highmem)
[ 0.004000] virtual kernel memory layout:
[ 0.004000] fixmap : 0xfff4c000 - 0xfffff000 ( 716 kB)
[ 0.004000] pkmap : 0xff800000 - 0xffc00000 (4096 kB)
[ 0.004000] vmalloc : 0xe8800000 - 0xff7fe000 ( 367 MB)
[ 0.004000] lowmem : 0xc0000000 - 0xe7ffe000 ( 639 MB)
[ 0.004000] .init : 0xc037f000 - 0xc03bc000 ( 244 kB)
[ 0.004000] .data : 0xc02bae5d - 0xc0376620 ( 749 kB)
[ 0.004000] .text : 0xc0100000 - 0xc02bae5d (1771 kB)
[ 0.004000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[ 0.004000] CPA: page pool initialized 1 of 1 pages preallocated
[ 0.084565] Calibrating delay using timer specific routine.. 999.32 BogoMIPS (lpj=1998641)
[ 0.084834] Security Framework initialized
[ 0.084911] SELinux: Disabled at boot.
[ 0.084978] Capability LSM initialized
[ 0.085099] Mount-cache hash table entries: 512
[ 0.085730] Initializing cgroup subsys ns
[ 0.085802] Initializing cgroup subsys cpuacct
[ 0.085866] Initializing cgroup subsys devices
[ 0.086003] CPU: L1 I cache: 16K, L1 D cache: 16K
[ 0.086104] CPU: L2 cache: 512K
[ 0.086164] CPU serial number disabled.
[ 0.086228] Intel machine check architecture supported.
[ 0.086298] Intel machine check reporting enabled on CPU#0.
[ 0.086404] Checking 'hlt' instruction... OK.
[ 0.101189] SMP alternatives: switching to UP code
[ 0.117941] Freeing SMP alternatives: 16k freed
[ 0.118012] ACPI: Core revision 20080321
[ 0.142288] ACPI: setting ELCR to 0200 (from 0c00)
[ 0.142952] weird, boot CPU (#0) not listedby the BIOS.
[ 0.143021] SMP motherboard not detected.
[ 0.143082] Local APIC not detected. Using dummy APIC emulation.
[ 0.143146] SMP disabled
[ 0.143463] Brought up 1 CPUs
[ 0.143525] Total of 1 processors activated (999.32 BogoMIPS).
[ 0.143606] CPU0 attaching sched-domain:
[ 0.143619] domain 0: span 0
[ 0.143628] groups: 0
[ 0.144225] net_namespace: 660 bytes
[ 0.144323] Booting paravirtualized kernel on bare hardware
[ 0.145497] NET: Registered protocol family 16
[ 0.146917] ACPI: bus type pci registered
[ 0.177941] PCI: PCI BIOS revision 2.10 entry at 0xfcaee, last bus=2
[ 0.178013] PCI: Using configuration type 1 for base access
[ 0.178145] Setting up standard PCI resources
[ 0.185660] ACPI: EC: Look up EC in DSDT
[ 0.198623] ACPI: Interpreter enabled
[ 0.198695] ACPI: (supports S0 S1 S4 S5)
[ 0.198943] ACPI: Using PIC for interrupt routing
[ 0.213650] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.214305] * Found PM-Timer Bug on the chipset. Due to workarounds for a bug,
[ 0.214314] * this clock source is slow. Consider trying other clock sources
[ 0.214509] pci 0000:00:07.3: quirk: region 0800-083f claimed by PIIX4 ACPI
[ 0.214584] pci 0000:00:07.3: quirk: region 0850-085f claimed by PIIX4 SMB
[ 0.215073] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.216922] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.PCI1._PRT]
[ 0.224089] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 *10 11 12 15)
[ 0.225110] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[ 0.226213] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 11 12 15) *0, disabled.
[ 0.227317] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 10 *11 12 15)
[ 0.228423] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.228677] pnp: PnP ACPI init
[ 0.228763] ACPI: bus type pnp registered
[ 0.251196] pnp: PnP ACPI: found 13 devices
[ 0.251265] ACPI: ACPI bus type pnp unregistered
[ 0.251333] PnPBIOS: Disabled by ACPI PNP
[ 0.253090] PCI: Using ACPI for IRQ routing
[ 0.253764] ACPI: RTC can wake from S4
[ 0.253957] system 00:00: iomem range 0x0-0x9ffff could not be reserved
[ 0.254035] system 00:00: iomem range 0x100000-0xffffff could not be reserved
[ 0.254107] system 00:00: iomem range 0x1000000-0x27ffffff could not be reserved
[ 0.254187] system 00:00: iomem range 0xf0000-0xfffff could not be reserved
[ 0.254259] system 00:00: iomem range 0xffe00000-0xffffffff could not be reserved
[ 0.254381] system 00:0c: ioport range 0x800-0x85f could not be reserved
[ 0.286899] PCI: Bridge: 0000:00:01.0
[ 0.286966] IO window: e000-efff
[ 0.287027] MEM window: 0xfc000000-0xfeffffff
[ 0.287091] PREFETCH window: 0x00000000f9000000-0x00000000f9ffffff
[ 0.287162] PCI: Bridge: 0000:00:0f.0
[ 0.287218] IO window: disabled.
[ 0.287278] MEM window: disabled.
[ 0.287336] PREFETCH window: disabled.
[ 0.287526] NET: Registered protocol family 2
[ 0.288064] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.289577] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.294698] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.297602] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.297689] TCP reno registered
[ 0.298271] NET: Registered protocol family 1
[ 0.298845] checking if image is initramfs... it is
[ 0.788091] Switched to high resolution mode on CPU 0
[ 1.039853] Freeing initrd memory: 1911k freed
[ 1.042791] audit: initializing netlink socket (disabled)
[ 1.042906] type=2000 audit(1282809870.040:1): initialized
[ 1.043506] Total HugeTLB memory allocated, 0
[ 1.043906] VFS: Disk quotas dquot_6.5.1
[ 1.044156] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.044394] msgmni has been set to 1261
[ 1.045021] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.045108] io scheduler noop registered
[ 1.045167] io scheduler anticipatory registered
[ 1.045228] io scheduler deadline registered
[ 1.045334] io scheduler cfq registered (default)
[ 1.045423] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 1.045550] pci 0000:01:00.0: Boot video device
[ 1.047447] isapnp: Scanning for PnP cards...
[ 1.150918] 01:01: card 'CS4236B'
[ 1.150982] isapnp: 1 Plug & Play card detected total
[ 1.167869] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 1.168422] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.168831] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 1.170608] 00:09: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.171302] 00:0a: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 1.180717] brd: module loaded
[ 1.181386] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 1.183917] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.184000] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.184982] mice: PS/2 mouse device common for all mice
[ 1.185752] rtc_cmos 00:05: rtc core: registered rtc_cmos as rtc0
[ 1.185849] rtc0: alarms up to one day
[ 1.186119] cpuidle: using governor ladder
[ 1.186185] cpuidle: using governor menu
[ 1.186257] No iBFT detected.
[ 1.188464] TCP cubic registered
[ 1.188530] NET: Registered protocol family 17
[ 1.188610] Using IPI No-Shortcut mode
[ 1.189359] registered taskstats version 1
[ 1.189771] rtc_cmos 00:05: setting system clock to 2010-08-26 08:04:30 UTC (1282809870)
[ 1.190819] Freeing unused kernel memory: 244k freed
[ 1.216423] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.358931] Uniform Multi-Platform E-IDE driver
[ 1.359026] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 1.364811] PIIX4: IDE controller (0x8086:0x7111 rev 0x01) at PCI slot 0000:00:07.1
[ 1.364933] PIIX4: not 100% native mode: will probe irqs later
[ 1.365985] ide0: BM-DMA at 0xffa0-0xffa7
[ 1.366059] ide1: BM-DMA at 0xffa8-0xffaf
[ 1.366126] Probing IDE interface ide0...
[ 1.652189] hda: WDC WD136AA, ATA DISK drive
[ 2.324323] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 2.324932] hda: UDMA/33 mode selected
[ 2.325732] Probing IDE interface ide1...
[ 3.060201] hdc: CRD-8400B, ATAPI CD/DVD-ROM drive
[ 3.508183] hdd: ATAPI CD-RW 32/12/40X, ATAPI CD/DVD-ROM drive
[ 3.564322] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 3.564430] hdc: Disabling (U)DMA for CRD-8400B (blacklisted)
[ 3.564512] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 3.564635] hdd: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 3.564798] hdd: UDMA/33 mode selected
[ 3.565123] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 3.565318] ide1 at 0x170-0x177,0x376 on irq 15
[ 3.574595] No dock devices found.
[ 3.637067] SCSI subsystem initialized
[ 3.708950] libata version 3.00 loaded.
[ 3.744918] hda: max request size: 128KiB
[ 3.758208] hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=26354/16/63
[ 3.758208] hda: cache flushes not supported
[ 3.758208] hda: hda1 hda2 < hda5 >
[ 3.938308] ACPI: ACPI0007:00 is registered as cooling_device0
[ 5.423544] hdc: ATAPI 48X CD-ROM drive, 128kB Cache
[ 5.423757] Uniform CD-ROM driver Revision: 3.20
[ 5.436438] hdd: ATAPI 40X CD-ROM CD-R/RW drive, 2048kB Cache
[ 5.931226] PM: Starting manual resume from disk
[ 6.070024] kjournald starting. Commit interval 5 seconds
[ 6.070133] EXT3-fs: mounted filesystem with ordered data mode.
[ 9.180053] udevd version 125 started
[ 11.433004] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[ 13.722958] input: PC Speaker as /class/input/input1
[ 15.342721] Floppy drive(s): fd0 is 720k
[ 15.360948] FDC 0 is a National Semiconductor PC87306
[ 15.645475] Linux agpgart interface v0.103
[ 15.674408] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 16.512369] usbcore: registered new interface driver usbfs
[ 16.512626] usbcore: registered new interface driver hub
[ 16.523435] agpgart: Detected an Intel 440BX Chipset.
[ 16.530512] agpgart: AGP aperture is 64M @ 0xf4000000
[ 16.537284] usbcore: registered new device driver usb
[ 16.556796] ACPI: PCI Interrupt Link [LNKD] enabled at IRQ 11
[ 16.556874] PCI: setting IRQ 11 as level-triggered
[ 16.556885] ACPI: PCI Interrupt 0000:00:11.0[A] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 16.557051] 3c59x: Donald Becker and others.
[ 16.557126] 0000:00:11.0: 3Com PCI 3c905B Cyclone 100baseTx at e88d0000.
[ 16.635885] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 16.710204] piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
[ 16.710308] piix4_smbus 0000:00:07.3: Host SMBus controller not enabled!
[ 16.816356] USB Universal Host Controller Interface driver v3.0
[ 16.816593] ACPI: PCI Interrupt 0000:00:07.2[D] -> Link [LNKD] -> GSI 11 (level, low) -> IRQ 11
[ 16.816772] uhci_hcd 0000:00:07.2: UHCI Host Controller
[ 16.817232] uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
[ 16.817365] uhci_hcd 0000:00:07.2: irq 11, io base 0x0000dce0
[ 16.817813] usb usb1: configuration #1 chosen from 1 choice
[ 16.818021] hub 1-0:1.0: USB hub found
[ 16.818124] hub 1-0:1.0: 2 ports detected
[ 16.920589] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 16.920675] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 16.920753] usb usb1: Product: UHCI Host Controller
[ 16.920815] usb usb1: Manufacturer: Linux 2.6.26-2-686 uhci_hcd
[ 16.920880] usb usb1: SerialNumber: 0000:00:07.2
[ 17.997960] input: PS/2 Generic Mouse as /class/input/input2
[ 18.863923] input: Power Button (FF) as /class/input/input3
[ 18.895545] ACPI: Power Button (FF) [PWRF]
[ 19.275853] parport_pc 00:0b: reported by Plug and Play ACPI
[ 19.276110] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
[ 22.541949] ns558 01:01.01: activated
[ 22.580975] gameport: NS558 PnP Gameport is pnp01:01.01/gameport0, io 0x3a0, speed 710kHz
[ 23.472199] cs4236_isapnp 01:01.00: activated
[ 23.474856] cs4236_isapnp 01:01.02: activated
[ 23.477513] cs4236_isapnp 01:01.03: activated
[ 26.696811] Adding 602396k swap on /dev/hda5. Priority:-1 extents:1 across:602396k
[ 27.265409] EXT3 FS on hda1, internal journal
[ 27.959304] loop: module loaded
[ 29.861058] eth0: setting half-duplex.
[ 36.861018] NET: Registered protocol family 10
[ 36.863055] lo: Disabled Privacy Extensions
[ 37.605186] lp0: using parport0 (interrupt-driven).
[ 37.718070] ppdev: user-space parallel port driver
[ 62.756057] eth0: no IPv6 routers present
eddy1:~#
 
Old 08-26-2010, 03:24 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
While I'm waiting I'm going to try to compile a 2.6.34 or 35 kernel.
 
Old 08-28-2010, 12:00 AM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I just started my 3rd build this time I used make-menuconfig instead of gconf and was able to make selections on modules network etc. I think I did it. I'll post the results either way.
 
Old 08-28-2010, 12:35 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
So far only a few warnings.

kernel/sched.c:1488: warning: ‘cfs_rq_set_shares’ defined but not used


fs/partitions/check.c: In function ‘add_partition’:

fs/partitions/check.c:381: warning: ignoring return value of ‘device_add’, declared with attribute warn_unused_result


CC security/selinux/hooks.o

security/selinux/hooks.c: In function ‘selinux_socket_sock_rcv_skb’:

security/selinux/hooks.c:4074: warning: ‘addrp’ may be used uninitialized in this function


CC block/genhd.o

block/genhd.c: In function ‘add_disk’:

block/genhd.c:195: warning: ignoring return value of ‘sysfs_create_link’, declared with attribute warn_unused_result


CC drivers/acpi/tables/tbfadt.o

drivers/acpi/tables/tbfadt.c: In function ‘acpi_tb_create_local_fadt’:

include/asm/string_32.h:65: warning: array subscript

Are any of these fatal?

Last edited by EDDY1; 08-28-2010 at 02:28 AM.
 
Old 08-28-2010, 04:07 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Original Poster
Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
I just finished compiling my kernel(with errors or warnings) and was told to post the log. Even though I copied & pasted the warnings during the compile I can't find the actual log from the build. It actually finished the make this time.


Here is a list of some of the warnings that I copied.


PHP Code:
kernel/sched.c:1488warning‘cfs_rq_set_shares’ defined but not used


fs
/partitions/check.cIn function ‘add_partition’:

fs/partitions/check.c:381warningignoring return value of ‘device_add’declared with attribute warn_unused_result


  CC      security
/selinux/hooks.o

security
/selinux/hooks.cIn function ‘selinux_socket_sock_rcv_skb’:

security/selinux/hooks.c:4074warning‘addrp’ may be used uninitialized in this function


  
CC      block/genhd.o

block
/genhd.cIn function ‘add_disk’:

block/genhd.c:195warningignoring return value of ‘sysfs_create_link’declared with attribute warn_unused_result


  CC      drivers
/acpi/tables/tbfadt.o

drivers
/acpi/tables/tbfadt.cIn function ‘acpi_tb_create_local_fadt’:

include/
asm/string_32.h:65warning: array subscript is above array bounds


  CC      drivers
/usb/core/hcd.o

drivers
/usb/core/hcd.cIn function ‘usb_hcd_poll_rh_status’:

include/
asm/string_32.h:65warning: array subscript is above array bounds


  CC 
[M]  fs/afs/dir.o

fs
/afs/dir.cIn function ‘afs_d_revalidate’:

fs/afs/dir.c:566warning‘fid.unique’ may be used uninitialized in this function

fs/afs/dir.c:566warning‘fid.vnode’ may be used uninitialized in this function


  
CC [M]  fs/dlm/lock.o

fs
/dlm/lock.cIn function ‘_search_rsb’:

fs/dlm/lock.c:378warning‘r’ may be used uninitialized in this function


  
CC [M]  fs/ecryptfs/main.o

fs
/ecryptfs/main.cIn function ‘ecryptfs_get_sb’:

include/
asm/string_32.h:65warning: array subscript is above array bounds


  CC 
[M]  fs/ecryptfs/main.o

fs
/ecryptfs/main.cIn function ‘ecryptfs_get_sb’:

include/
asm/string_32.h:65warning: array subscript is above array bounds


  CC 
[M]  fs/ecryptfs/messaging.o

fs
/ecryptfs/messaging.cIn function ‘ecryptfs_process_response’:

fs/ecryptfs/messaging.c:375warning‘daemon’ may be used uninitialized in this function

fs/ecryptfs/messaging.cIn function ‘ecryptfs_process_helo’:

fs/ecryptfs/messaging.c:246warning‘old_daemon’ may be used uninitialized in this function


  
CC [M]  fs/ext4/super.o

fs
/ext4/super.cIn function ‘ext4_show_options’:

fs/ext4/super.c:675warningunused variable ‘journal’

fs
/ext4/super.cIn function ‘ext4_fill_super’:

fs/ext4/super.c:2138warningformat ‘%u’ expects type ‘unsigned int’but argument 2 has type ‘ext4_group_t’


 CC 
[M]  fs/nfs/pagelist.o

fs
/nfs/pagelist.c:180warning‘nfs_wait_bit_killable’ defined but not used


  CC 
[M]  fs/xfs/xfs_rtalloc.o

fs
/xfs/xfs_rtalloc.cIn function ‘xfs_growfs_rt’:

fs/xfs/xfs_rtalloc.c:1881warning‘tp’ may be used uninitialized in this function


  
CC [M]  arch/x86/kvm/x86.o

arch
/x86/kvm/x86.c:3362warning‘get_tss_base_addr_write’ defined but not used


  CC 
[M]  drivers/isdn/hardware/eicon/maintidi.o

drivers
/isdn/hardware/eicon/maintidi.cIn function ‘process_idi_event’:

drivers/isdn/hardware/eicon/maintidi.c:962warning‘l2_state’ may be used uninitialized in this function


drivers/isdn/hardware/eicon/message.cIn function ‘connect_b3_req’:

drivers/isdn/hardware/eicon/message.c:2685warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.c:2747warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.c:2781warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.cIn function ‘connect_b3_res’:

drivers/isdn/hardware/eicon/message.c:2884warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.cIn function ‘manufacturer_res’:

drivers/isdn/hardware/eicon/message.c:3783warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.cIn function ‘nl_ind’:

drivers/isdn/hardware/eicon/message.c:6823warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.cIn function ‘add_b23’:

drivers/isdn/hardware/eicon/message.c:8451warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.c:8503warningcast from pointer to integer of different size

drivers
/isdn/hardware/eicon/message.c:8401warning: array subscript is above array bounds

drivers
/isdn/hardware/eicon/message.c:8402warning: array subscript is above array bounds

drivers
/isdn/hardware/eicon/message.c:8409warning: array subscript is above array bounds

drivers
/isdn/hardware/eicon/message.c:8410warning: array subscript is above array bounds

drivers
/isdn/hardware/eicon/message.c:8411warning: array subscript is above array bounds

drivers
/isdn/hardware/eicon/message.c:8422warning: array subscript is above array bounds


  CC 
[M]  drivers/isdn/hysdn/hysdn_boot.o

In file included from drivers
/isdn/hysdn/hysdn_boot.c:19:

drivers/isdn/hysdn/hysdn_pof.h:63warning‘packed’ attribute ignored for field of type ‘unsigned char[40]


  CC 
[M]  drivers/media/video/uvc/uvc_v4l2.o

drivers
/media/video/uvc/uvc_v4l2.cIn function ‘uvc_v4l2_mmap’:

drivers/media/video/uvc/uvc_v4l2.c:1031warning‘buffer’ may be used uninitialized in this function


  
CC [M]  drivers/pci/hotplug/cpqphp_pci.o

drivers
/pci/hotplug/cpqphp_pci.cIn function ‘cpqhp_configure_device’:

drivers/pci/hotplug/cpqphp_pci.c:92warning‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:515)

drivers/pci/hotplug/cpqphp_pci.c:102warning‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:515)

drivers/pci/hotplug/cpqphp_pci.cIn function ‘cpqhp_unconfigure_device’:

drivers/pci/hotplug/cpqphp_pci.c:126warning‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:515)

drivers/pci/hotplug/cpqphp_pci.cIn function ‘cpqhp_save_config’:

drivers/pci/hotplug/cpqphp_pci.c:420warning‘pci_find_slot’ is deprecated (declared at include/linux/pci.h:515)


  
CC [M]  drivers/pcmcia/i82365.o

drivers
/pcmcia/i82365.cIn function ‘init_i82365’:

drivers/pcmcia/i82365.c:1296warningignoring return value of ‘request_irq’declared with attribute warn_unused_result


  CC 
[M]  drivers/usb/serial/keyspan_pda.o

drivers
/usb/serial/keyspan_pda.cIn function ‘keyspan_pda_tiocmget’:

drivers/usb/serial/keyspan_pda.c:444warning‘status’ may be used uninitialized in this function

drivers/usb/serial/keyspan_pda.cIn function ‘keyspan_pda_tiocmset’:

drivers/usb/serial/keyspan_pda.c:465warning‘status’ may be used uninitialized in this function




  
MODPOST vmlinux.o

WARNING
modpostFound 2 section mismatch(es).

To see full details build your kernel with:

'make CONFIG_DEBUG_SECTION_MISMATCH=y'

  
CC [M]  sound/oss/aedsp16.o

(                            \

        echo 
'static unsigned char * pss_synth = NULL;';    \

        echo 
'static int pss_synthLen = 0;';        \

    ) > 
sound/oss/pss_boot.h

  CC 
[M]  sound/oss/pss.o

sound
/oss/pss.cIn function ‘configure_nonsound_components’:

sound/oss/pss.c:676warning‘check_region’ is deprecated (declared at include/linux/ioport.h:137)

  
CC [M]  sound/oss/ad1848.o

  CC 
[M]  sound/oss/mpu401.o

(                            \

        echo 
'static unsigned char * trix_boot = NULL;';    \

        echo 
'static int trix_boot_len = 0;';        \

    ) > 
sound/oss/trix_boot.h


  Building modules
stage 2.

  MODPOST 760 modules

WARNING
modpostFound 2 section mismatch(es).

To see full details build your kernel with
'make CONFIG_DEBUG_SECTION_MISMATCH=y'


I still haen't done: #dpkg -i *.deb
Will these errors render my machine unbootable or should I start over? Thank you for your assistance in advance.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu Not sound card driver dectention on Dell Optiplex Gx1 londo4 Linux - Newbie 4 12-14-2006 01:16 PM
Dell Optiplex GX1 - Sound - Mandrake 10 Community cgtueno Linux - Hardware 4 12-04-2004 09:02 PM
no sound dell optiplex gx1 sarge gongli Debian 2 11-30-2004 10:46 PM
Red Hat 9.0 Dell Optiplex GX1 Dual CDROM Sec IDE mas & slv - hdc not responding cgtueno Linux - Hardware 6 11-12-2004 02:20 AM
Dell OptiPlex GX1, Lilo, and my hdd tony98 Linux - Hardware 2 11-12-2004 01:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration