LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 06-04-2006, 12:54 PM   #1
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Angry Kernel config problems. IRQ's disabled


I'm trying to compile a custom kernel for my new Debian setup, but I keep running into problems. I've config'd and compiled the thing a dozen times but keep getting the same errors. dmesg gives the errors such as this several times during bootup:
Code:
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
 [<b010140f>] default_idle+0x2b/0x53
 [<b0101476>] cpu_idle+0x3f/0x57
 [<b040642b>] start_kernel+0x28f/0x291
handlers:
[<b024c61b>] (ide_intr+0x0/0x167)
Disabling IRQ #17
It also disables irq 16. And when I finally log in I have no sound or ethernet access. Previous compile attempts had IRQ 157 and 161 instead, but the result was the same. One time I got it working, but I had forgotten to enable DMA for disks, and when I went back to compile it in again, I somehow broke it even worse than before, and I can't for the life of me remember what I did that one time.

The source I'm using is the Debian kernel source package linux-source-2.6.16.12, which is exactly the same version as the stock kernel I'm running now. And since everything works under the stock kernel, I know the problem isn't with the source itself.

I know I've either disabled something that should be enabled, or vice versa. But I just can't figure out what I'm doing wrong. I'm tearing my hair out here. I need another set of eyes to look at the thing.

The motherboard is a Gigabyte GA7N-400-Pro2 (stats here), and lspci outputs the following:
Code:
$ lspci
0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (rev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:06.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 Encoder (rev 01)
0000:01:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
0000:01:0c.0 RAID bus controller: Integrated Technology Express, Inc. IT/ITE8212 Dual channel ATA RAID controller (PCI version seems to be IT8212, embedded seems (rev 10)
0000:01:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev a1)
As far as I can tell, I've compiled in every driver necessary for the above items (excluding the Haupage video card which needs ivtv). If I'm missing something I don't know what it is.

I'll post my config in the next post. The board is complaining this is too long.
 
Old 06-04-2006, 01:09 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Original Poster
Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Ok, it seems the config file is just too big to post, so I've placed it on my webspace:

http://www.occn.zaq.ne.jp/cuaea503/.config

And here's the full output of dmesg:
Code:
000001fff3000 (ACPI NVS)
 BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
 BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
 BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
511MB LOWMEM available.
found SMP MP-table at 000f5350
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:0
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 126960 pages, LIFO batch:31
  HighMem zone: 0 pages, LIFO batch:0
DMI 2.3 present.
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
Processor #0 6:6 APIC version 17
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Processors: 1
Allocating PCI resources starting at 30000000 (gap: 20000000:dec00000)
Built 1 zonelists
Kernel command line: root=/dev/hda1 ro 
mapped APIC to ffffd000 (fee00000)
mapped IOAPIC to ffffc000 (fec00000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1531.073 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515220k/524224k available (2188k kernel code, 8476k reserved, 894k data, 224k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3064.92 BogoMIPS (lpj=1532463)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000
CPU: After vendor identify, caps: 0383fbff c1cbfbff 00000000 00000000 00000000 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After all inits, caps: 0383fbff c1cbfbff 00000000 00000420 00000000 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: AMD Athlon(tm) XP 1800+ stepping 02
Checking 'hlt' instruction... OK.
ExtINT not setup in hardware but reported by MP table
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 apic1=0 pin1=2 apic2=0 pin2=0
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ... 
..... (found pin 0) ...works.
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfaff0, last bus=2
PCI: Using configuration type 1
Linux Plug and Play Support v0.97 (c) Adam Belay
PnPBIOS: Scanning system for PnP BIOS support...
PnPBIOS: Found PnP BIOS installation structure at 0xb00fba50
PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xba80, dseg 0xf0000
PnPBIOS: 15 nodes reported by PnP BIOS; 15 recorded by driver
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: nForce2 C1 Halt Disconnect fixup
Boot video device is 0000:02:00.0
PCI: Discovered primary peer bus ff [IRQ]
PCI: Using IRQ router default [10de/01e0] at 0000:00:00.0
PCI->APIC IRQ transform: 0000:01:0b.0[A] -> IRQ 16
PCI->APIC IRQ transform: 0000:01:0c.0[A] -> IRQ 17
PCI->APIC IRQ transform: 0000:01:0e.0[A] -> IRQ 16
PCI->APIC IRQ transform: 0000:02:00.0[A] -> IRQ 19
PCI: Bridge: 0000:00:08.0
  IO window: a000-cfff
  MEM window: e2000000-e3ffffff
  PREFETCH window: d8000000-dbffffff
PCI: Bridge: 0000:00:1e.0
  IO window: disabled.
  MEM window: e0000000-e1ffffff
  PREFETCH window: d0000000-d7ffffff
PCI: Setting latency timer of device 0000:00:08.0 to 64
cpufreq: Detected nForce2 chipset revision C1
cpufreq: FSB changing is maybe unstable and can lead to crashes and data loss.
cpufreq: FSB currently at 133 MHz, FID 11.5
audit: initializing netlink socket (disabled)
audit(1149440733.442:1): initialized
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
nvidiafb: PCI id - 10de0110
nvidiafb: Actual id - 10de0110
nvidiafb: nVidia device/chipset 10DE0110
nvidiafb: EDID found from BUS1
      Display is GTF capable
nvidiafb: Unable to detect which CRTCNumber...
...Defaulting to CRTCNumber 0
nvidiafb: Using CRT on CRTC 0
nvidiafb: MTRR set to ON
Console: switching to colour frame buffer device 128x48
nvidiafb: PCI nVidia NV11 framebuffer (32MB @ 0xD0000000)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12ac
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xdc000000
PNP: PS/2 Controller [PNP0303] at 0x60,0x64 irq 1
PNP: PS/2 controller doesn't have AUX irq; using default 12
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:0f: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
r8169 Gigabit Ethernet driver 2.2LK-NAPI loaded
eth0: Identified chip type is 'RTL8169s/8110s'.
eth0: RTL8169 at 0xd0812000, 00:0d:61:63:d1:09, IRQ 16
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
NFORCE2: IDE controller at PCI slot 0000:00:09.0
NFORCE2: chipset revision 162
NFORCE2: not 100% native mode: will probe irqs later
NFORCE2: BIOS didn't set cable bits correctly. Enabling workaround.
NFORCE2: 0000:00:09.0 (rev a2) UDMA133 controller
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: IC35L060AVVA07-0, ATA DISK drive
hdb: HDS728080PLAT20, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hdc: GENERIC DVD RW 4XMax, ATAPI CD/DVD-ROM drive
hdd: AOPEN CD-RW CRW3248 1.10 20020301, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
IT8212: IDE controller at PCI slot 0000:01:0c.0
IT8212: chipset revision 16
it821x: controller in smart mode.
IT8212: 100% native mode on irq 17
    ide2: BM-DMA at 0xb400-0xb407, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xb408-0xb40f, BIOS settings: hdg:pio, hdh:pio
Probing IDE interface ide2...
hde: Maxtor 6Y120P0, ATA DISK drive
hde: Performing identify fixups.
ide2 at 0xa410-0xa417,0xa802 on irq 17
Probing IDE interface ide3...
Probing IDE interface ide3...
hda: max request size: 128KiB
hda: Host Protected Area detected.
	current capacity is 120096991 sectors (61489 MB)
	native  capacity is 120103200 sectors (61492 MB)
hda: Host Protected Area disabled.
hda: 120103200 sectors (61492 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 < hda5 hda6 hda7 >
hdb: max request size: 512KiB
hdb: Host Protected Area detected.
	current capacity is 160834367 sectors (82347 MB)
	native  capacity is 160836480 sectors (82348 MB)
hdb: Host Protected Area disabled.
hdb: 160836480 sectors (82348 MB) w/1719KiB Cache, CHS=16383/255/63, UDMA(133)
hdb: cache flushes supported
 hdb: hdb1 < hdb5 >
hde: max request size: 128KiB
hde: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, BUG
 hde:hde: recal_intr: status=0x51 { DriveReady SeekComplete Error }
hde: recal_intr: error=0x04 { DriveStatusError }
ide: failed opcode was: unknown
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
 [<b010140f>] default_idle+0x2b/0x53
 [<b0101476>] cpu_idle+0x3f/0x57
 [<b040642b>] start_kernel+0x28f/0x291
handlers:
[<b024c61b>] (ide_intr+0x0/0x167)
Disabling IRQ #17
hde: dma_timer_expiry: dma status == 0x24
hde: DMA interrupt recovery
hde: lost interrupt
 hde1
hdc: ATAPI 40X DVD-ROM DVD-R CD-R/RW drive, 8192kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 48X CD-ROM CD-R/RW drive, 8192kB Cache, DMA
usbmon: debugfs is not available
PCI: Setting latency timer of device 0000:00:02.2 to 64
ehci_hcd 0000:00:02.2: EHCI Host Controller
ehci_hcd 0000:00:02.2: debug port 1
PCI: cache line size of 64 is not supported by device 0000:00:02.2
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:02.2: irq 10, io mem 0xe4004000
ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
ohci_hcd: 2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
PCI: Setting latency timer of device 0000:00:02.0 to 64
ohci_hcd 0000:00:02.0: OHCI Host Controller
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:02.0: irq 9, io mem 0xe4002000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
PCI: Setting latency timer of device 0000:00:02.1 to 64
ohci_hcd 0000:00:02.1: OHCI Host Controller
ohci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:02.1: irq 5, io mem 0xe4003000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 3 ports detected
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
 [<b010140f>] default_idle+0x2b/0x53
 [<b0101476>] cpu_idle+0x3f/0x57
 [<b040642b>] start_kernel+0x28f/0x291
handlers:
[<b024c61b>] (ide_intr+0x0/0x167)
Disabling IRQ #17
usb 3-2: new low speed USB device using ohci_hcd and address 2
usb 3-2: configuration #1 chosen from 1 choice
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
input: Kensington Kensington USB/PS2 Trackball as /class/input/input0
input: USB HID v1.00 Mouse [Kensington Kensington USB/PS2 Trackball] on usb-0000:00:02.1-2
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
input: PC Speaker as /class/input/input2
i2c /dev entries driver
i2c_adapter i2c-3: nForce2 SMBus adapter at 0x1c00
i2c_adapter i2c-4: nForce2 SMBus adapter at 0x2000
EISA: Probing bus 0 at eisa.0
Cannot allocate resource for EISA slot 1
Cannot allocate resource for EISA slot 2
EISA: Detected 0 cards.
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 08:57:20 2006 UTC).
PCI: Setting latency timer of device 0000:00:06.0 to 64
intel8x0_measure_ac97_clock: measured 50605 usecs
intel8x0: clocking to 47473
ALSA device list:
  #0: NVidia nForce2 with ALC655 at 0xe4000000, irq 11
NET: Registered protocol family 2
IP route cache hash table entries: 8192 (order: 3, 32768 bytes)
TCP established hash table entries: 32768 (order: 5, 131072 bytes)
TCP bind hash table entries: 32768 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 32768 bind 32768)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
NET: Registered protocol family 8
NET: Registered protocol family 20
Using IPI Shortcut mode
ReiserFS: hda1: found reiserfs format "3.6" with standard journal
ReiserFS: hda1: using ordered data mode
ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda1: checking transaction log (hda1)
ReiserFS: hda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 224k freed
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
ieee1394: Initialized config rom entry `ip1394'
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[16]  MMIO=[e3005000-e30057ff]  Max Packet=[2048]  IR/IT contexts=[4/8]
irq 16: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
handlers:
[<d188d444>] (ohci_irq_handler+0x0/0x65c [ohci1394])
Disabling IRQ #16
hde: dma_timer_expiry: dma status == 0x24
Adding 1461872k swap on /dev/hda7.  Priority:-1 extents:1 across:1461872k
hde: DMA interrupt recovery
hde: lost interrupt
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
 [<b010140f>] default_idle+0x2b/0x53
 [<b0101476>] cpu_idle+0x3f/0x57
 [<b040642b>] start_kernel+0x28f/0x291
handlers:
[<b024c61b>] (ide_intr+0x0/0x167)
Disabling IRQ #17
ieee1394: sbp2: Driver forced to serialize I/O (serialize_io=1)
ieee1394: sbp2: Try serialize_io=0 for better performance
device-mapper: 4.5.0-ioctl (2005-10-04) initialised: dm-devel@redhat.com
ReiserFS: hda6: found reiserfs format "3.6" with standard journal
ReiserFS: hda6: using ordered data mode
ReiserFS: hda6: journal params: device hda6, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda6: checking transaction log (hda6)
ReiserFS: hda6: Using r5 hash to sort names
ReiserFS: hda5: found reiserfs format "3.6" with standard journal
ReiserFS: hda5: using ordered data mode
ReiserFS: hda5: journal params: device hda5, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda5: checking transaction log (hda5)
ReiserFS: hda5: Using r5 hash to sort names
r8169: eth0: link up
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
hde: dma_timer_expiry: dma status == 0x24
eth0: no IPv6 routers present
hde: DMA interrupt recovery
hde: lost interrupt
irq 17: nobody cared (try booting with the "irqpoll" option)
 [<b0129d9b>] __report_bad_irq+0x2b/0x69
 [<b0129f5f>] note_interrupt+0x186/0x1b7
 [<b01299b7>] handle_IRQ_event+0x20/0x4c
 [<b0129a48>] __do_IRQ+0x65/0x91
 [<b0104473>] do_IRQ+0x1d/0x2a
 [<b0102d9e>] common_interrupt+0x1a/0x20
 [<b010140f>] default_idle+0x2b/0x53
 [<b0101476>] cpu_idle+0x3f/0x57
 [<b040642b>] start_kernel+0x28f/0x291
handlers:
[<b024c61b>] (ide_intr+0x0/0x167)
Disabling IRQ #17
I hope this helps.
Thanks again.
 
Old 06-05-2006, 07:29 PM   #3
daberill
LQ Newbie
 
Registered: Jun 2006
Location: Cebu, Philippines
Distribution: kubuntu, yoper, redhat, fedora core, debian, knoppix, Suse, madrake, DSL, my own
Posts: 3

Rep: Reputation: 0
try .config

Hello, since you're compiling the exact same version of the stock kernel you're running now, maybe it'd be better to copy your current config first and try compiling/installing/running it before you re-configure it to your liking.

In other words:

1. Copy your current config to the kernel source tree.
Code:
# cp /boot/config-2.6.16.12 /path/to/your/kernel/.config
2. Try using this same config first (unchanged)
Code:
# cd /path/to/your/kernel
# make oldconfig
# make
# make modules_install
# make install
3. If this works ok, then you can start re-configuring it to your liking but I suggest to pay attention to what you changed so can you can always go back to the last config that works when problems come your way.

I hope this still works. Good luck.

|Dennis
 
Old 06-06-2006, 08:49 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Original Poster
Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
But since I'm already starting with the same exact config file and source as the stock kernel, all I'd be doing is recreating the kernel I'm running now. I suppose I could do it as sort of a test of the source, but I'm pretty sure that that's not where the problem lies.

I took the current config and only disabled things I was pretty sure I don't need. I also moved the main modules into the kernel itself. Other than that, the actual changes I made were very few. But somewhere along the way I changed something I shouldn't have, and I have no idea what it is. That's why I'm asking others to look it over. I wouldn't be surprised if I was just overlooking something obvious because I'm too close to the problem.

And yes, I'll be sure to pay closer attention to the changes I make in the future, once I can figure out what I shouldn't be changing.
 
Old 06-09-2006, 04:08 AM   #5
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Original Poster
Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Just a polite, friendly bump.

I tried a couple more times. I even started over from the beginning again with the current working config, trying as hard as I can not to eliminate necessary functions. But in the end I just keep getting the same problems. What the heck could I be doing wrong? It's gotta be something that looks unimportant, but which my system depends on to configure irq's correctly. But for the life of me I can't find it.
 
Old 06-12-2006, 04:18 AM   #6
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
Double-check your settings and use the

/

search function. lspci (or whatver command it is) gives you system info if you have access to it (if not, chroot in through a LiveCD and use that to work on your config. May not be pretty, but its effective), and then start searching for things. I'd suggect avoiding a search for Intel, as I think that scrolls alot.

I had trouble with my sound card working, and had to finally / AC'97, and lo' and behold, there it was. The path to the option was at the bottom of the list (sometimes you have to check something to find the ACTUAL option you're looking for), but yeah, you should compile one like oyur original, and then after that I think somewhere is a HOWTO on booting into 2 kernels (one default, other optional), which would be great for a way to test your kernel without having to worry too much about your system not working.
 
Old 06-12-2006, 08:07 AM   #7
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Original Poster
Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Good idea, except I've already done all of that. I've enabled all the modules I could find relating to my lspci output (posted in my first post), as well as looking at lsmod and enabling everything currently running in my working kernel. I even enabled things that are probably not related, but kind of look like something I might need. And I double-checked everything three or four times. So unless I'm missing something or made a mistake somewhere, it SHOULD be working. That's why I posted everything here; I've simply run out of things I know how to do.

You know, the biggest problem in kernel compiles is simply that there are too many options to choose from, and not enough info about them. Sure, there's a little blurb about each one, but most of them don't give you enough to make an informed choice. There's often no way to determine which options are necessary and which are optional for your system. Even just matching a module name to the kernel config option can be a chore. I really wish there was some centralized knowledge list, perhaps a wiki or something, where you could look up a module and get a detailed explanation of what it is, what it does, what issues it might have, what kinds of systems need it and what kind don't. That would be so useful.

At this point I'm just hunting blind. My only other choice is simply to start enabling things wholesale, which would defeat the whole purpose for rolling my own.
 
Old 06-12-2006, 06:32 PM   #8
Dralnu
Member
 
Registered: Jul 2005
Posts: 335

Rep: Reputation: Disabled
I had a problem with hardware not working when I ran the system: turns out I was missing a package.

Yeah, the Kernel config menu needs to be reworks into something a bit more intuitive, but for the moment it works, albeit a bit rough around the edges. A good shellscript to configure it for your hardware automatically would be a wonder of scripting, but currently such a thing would be difficult to do since the kernel configmenu seems to change some with each release.

Check packages and see if that may be a problem. If not, then I have no clue what coudl be wrong.
 
  


Reply



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
mouse config - xserver disabled Melciah Linux - Hardware 1 04-26-2006 05:50 AM
Wireless, PCMCIA, and kernel config problems ucraymond Red Hat 2 08-03-2005 02:04 PM
kernel compiling and config problems c31c Linux - Newbie 6 04-27-2004 11:49 AM
Kernel Panic, IRQ's scarr3d Linux - General 8 10-22-2003 03:07 PM
Kernel config problems with RH8 dwilcox22 Linux - Distributions 3 05-09-2003 02:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:57 AM.

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
Open Source Consulting | Domain Registration