RE: ide0 fails to get IRQ 2.6.8-18 inside aranym

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

 



Hi!

After seeing Michael Schmitz's patch for 2.6.19 I tried it (
http://marc.theaimsgroup.com/?l=linux-m68k&m=116585861312099&w=2 ) and
it fixed the ide0 IRQ problem.

However now my system ends up with the following:

 Linux version 2.6.18 (standa@oxygen) (gcc version 3.4.5) #29 Tue Jan 23
21:38:51 EST 2007
Atari hardware found: VIDEL STDMA-SCSI ST_MFP STND_DMA YM2149 PCM CODEC
DSP56K ANALOG_JOY Blitter tried to read byte from register ff8a00 at 00770e
BLITTER IDE TT_CLK FDC_SPEED
DIB_SetVideoMode: SDL_windowid 0  SDL_windowX 157, SDL_windowY 176
DIB_SetVideoMode2: SDL_windowid 0  SDL_windowX 157, SDL_windowY 176
DIB_SetVideoMode3: top -2  x 154, y 154
Detected scancode offset = 0 (key: 'space' with scancode $39)
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
....
ide0: request_irq: IRQ 15
ide0: request_irq: IRQ 15 -> 0
ide: init_irq /request_irq
ide0 at 0xfff00000 on irq 15
hda: max request size: 128KiB
hda: 2118816 sectors (1084 MB) w/256KiB Cache, CHS=2102/16/63
 hda: AHDI hda1 hda2
mice: PS/2 mouse device common for all mice
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to
kernel.


This is Petr Stehlik's etch.img (from http://web.zln.cz/~joy/etch.img.gz )
referred to by this page http://wiki.aranym.org/manual#linuxm68k_on_aranym .

Also there is something I didn't mention before. The Tux logo is somehow
corrupted unlike in Petr's 2.4.27 build.

I am sure this is due to my ignorance to the Linux kernel development
in the last 2 and half years where I haven't used it on daily basis and
that it most probably doesn't belong to this list... Anyway, can somebody
help with this?

Thanks!

Standa

Note: this time I have attached the all.config ;)


-----Original Message-----
From: linux-m68k-owner@xxxxxxxxxxxxxxx 
[mailto:linux-m68k-owner@xxxxxxxxxxxxxxx] On Behalf Of Standa Opichal
Sent: Tuesday, January 23, 2007 8:12 PM
To: linux-m68k@xxxxxxxxxxxxxxx
Subject: ide0 fails to get IRQ 2.6.8-18 inside aranym

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-unkno
wn-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



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

Attachment: all.config
Description: Binary data


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

  Powered by Linux