ide0 fails to get IRQ 2.6.8-18 inside aranym

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

Let me introduce myself here as I have never contributed
to this list before. My name is Standa Opichal and I am
one of the guys from the ARAnyM team who was mostly
working on the native FreeMiNT drivers for the emulator.

I have been trying to build the 2.6.8-18 from the debian
server provided linux-2.6_2.6.18.orig.tar.gz and
linux-2.6_2.6.18-8.diff.gz. I am using crosstool-0.43
provided crosscompiler (gcc-3.4.5-glibc-2.3.6, see below
for more details if needed). I wasn't completely sure about
how to configure the source to build with the aranym
extensions and so I used slightly modified
debian/arch/m68k/config.atari as the all.config and run
the 'allnoconfig' target to get complete .config (my
all.config is attached).

The build was successful and I am able to get aranym 
(the latest CVS version) booting the kernel. However I got
some kernel panic and after few added lines I have got the
output below where it seems that the IRQ 15 is already taken
(failing on request_irq() in init_irq() in
drivers/ide/ide-probe.c around line 1120 - see the complete
output below).

As I have no experience in Linux kernel hacking yet (this is
hopefully going to change) I would kind like to ask you for
some guidance like what to try next, some URLs to get the
real bleeding edge sources and patches if that was
fixed/changed.

I just hope I am not too ignorant to local rules and that
this mail is just a starting point for our further cooperation.

Best Regards

Standa



Console output:

NatFeats found
 Linux version 2.6.18 (standa@oxygen) (gcc version 3.4.5) #24 Tue Jan 23
19:48:11 EST 2007
Atari hardware found: VIDEL STDMA-SCSI ST_MFP STND_DMA YM2149 PCM CODEC
DSP56K ANALOG_JOY Blitter tried to read byte from regist
er ff8a00 at 00770e
BLITTER IDE TT_CLK FDC_SPEED
DIB_SetVideoMode: SDL_windowid 0  SDL_windowX 201, SDL_windowY 220
DIB_SetVideoMode2: SDL_windowid 0  SDL_windowX 201, SDL_windowY 220
DIB_SetVideoMode3: top -2  x 198, y 198
Built 2 zonelists.  Total pages: 32256
Kernel command line: root=/dev/hda1 video=atafb:vga16 stram_swap=0 debug=par
BOOT_IMAGE=vmlinux
ST-DMA: floppy/ACSI/IDE/Falcon-SCSI: request_irq: IRQ 15
ST-DMA: floppy/ACSI/IDE/Falcon-SCSI: request_irq: IRQ 15 -> 0
PID hash table entries: 512 (order: 9, 2048 bytes)
timer: request_irq: IRQ 13
timer: request_irq: IRQ 13 -> 0
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 126136k/126136k available (1120k kernel code, 1692k data, 80k init)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
io scheduler noop registered (default)
atafb_init: start
atafb_init: initializing Falcon hw
framebuffer/modeswitch: request_irq: IRQ 4
framebuffer/modeswitch: request_irq: IRQ 4 -> 0
atafb: screen_base 00380000 real_screen_base 00380000 screen_len 311296
Determined 640x480, depth 4
   virtual 640x972
framebuffer vbl: request_irq: IRQ 4
framebuffer vbl: request_irq: IRQ 4 -> -16
Console: switching to colour frame buffer device 80x30
fb0: frame buffer device, using 304K of video memory
Generic RTC Driver v1.07
Non-volatile memory driver v1.2
Atari floppy driver: max. HD, track buffering
Probing floppy drive(s):
fd0
atari_nfeth.c:v0.3 10/12/2005 S.Opichal, M.Jurik, P.Stehlik
  http://aranym.atari.org/
ne.c:v1.10 9/23/94 Donald Becker (becker@xxxxxxxxx)
atari_ethernec.c 11/10/06 Michael Schmitz (schmitz@xxxxxxxxxx)
 not found (no reset ack).
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
ide0: Falcon IDE interface
hda: Etch m68k, ATA DISK drive
ide: init_irq!
ide: init_irq MAX_HWIFS > 1, hwif->irq = 15!
ide: h->name = ide0, h->hwgroup = 00000000, h->irq = 15!
ide: h->name = ide1, h->hwgroup = 00000000, h->irq = 0!
ide: h->name = ide2, h->hwgroup = 00000000, h->irq = 0!
ide: h->name = ide3, h->hwgroup = 00000000, h->irq = 0!
ide: init_irq match = 00000000
ide: init_irq hwgroup = 0035dc70
ide: init_irq match->irq -5, hwif->irq = 15
ide: init_irq request_irq
ide0: request_irq: IRQ 15
ide0: request_irq: IRQ 15 -> -16
ide: init_irq out_unlink!
ide0: Disabled unable to get IRQ 15.
mice: PS/2 mouse device common for all mice
No filesystem could mount root, tried:
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)



The cross environment:

standa@oxygen linuxm68k $ m68k-unknown-linux-gnu-gcc -v
Reading specs from
/local/opt/crosstool/gcc-3.4.5-glibc-2.3.6/m68k-unknown-linux-gnu/lib/gcc/m6
8k-unknown-linux-gnu/3.4.5/specs
Configured with:
/local/home/standa/linuxm68k/crosstool-0.43/build/m68k-unknown-linux-gnu/gcc
-3.4.5-glibc-2.3.6/gcc-3.4.5/configure --target=m68k-unknown-linux-gnu
--host=i686-host_pc-linux-gnu
--prefix=/local/opt/crosstool/gcc-3.4.5-glibc-2.3.6/m68k-unknown-linux-gnu
--with-headers=/local/opt/crosstool/gcc-3.4.5-glibc-2.3.6/m68k-unknown-linux
-gnu/m68k-unknown-linux-gnu/include
--with-local-prefix=/local/opt/crosstool/gcc-3.4.5-glibc-2.3.6/m68k-unknown-
linux-gnu/m68k-unknown-linux-gnu --disable-nls --enable-threads=posix
--enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++
--enable-shared --enable-c99 --enable-long-long
Thread model: posix
gcc version 3.4.5

standa@oxygen bin $ m68k-unknown-linux-gnu-ld -v
GNU ld version 2.15


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux