From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Deller Subject: Re: [PATCH] ide-cd: fix kernel crash on hppa regression Date: Fri, 17 Apr 2009 09:15:27 +0200 Message-ID: <49E82C8F.5060202@gmx.de> References: <49E6638B.8090700@gmx.de> <20090416063735.GA21742@liondog.tnic> <49E7945E.7030508@gmx.de> <20090417065344.GC6806@liondog.tnic> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Linus , Borislav Petkov , Bartlomiej Zolnierkiewicz , Kyle McMartin , linux-parisc , "Rafael J. Wysocki" To: petkovbb@gmail.com Return-path: In-Reply-To: <20090417065344.GC6806@liondog.tnic> List-ID: List-Id: linux-parisc.vger.kernel.org Borislav Petkov wrote: > Hi, > > On Thu, Apr 16, 2009 at 10:26:06PM +0200, Helge Deller wrote: > > [..] > >> I tried to build a kernel with CONFIG_DEBUG_INFO. >> There are two problem with that, because I'm cross-compiling: >> a) I don't have a cross-gdb (but I could use addr2line instead though) >> b) the resulting kernel is becoming too big and won't link/boot:ina >> ... >> SYSMAP System.map >> SYSMAP .tmp_System.map >> /sbin/palo -f /mnt/sda4/home/cvs/parisc/git-kernel/linus-linux-2.6-32bit/palo.conf >> palo version 1.14 deller@p100 Fri Jul 28 22:55:11 CEST 2006 >> ELF32 executable >> ipl: addr 2048 size 36864 entry 0x0 >> ko 0x0 ksz 0 k64o 0x0 k64sz 0 rdo 0 rdsz 0 >> <> >> Your 32-bit-kernel is too big for your F0 partition >> make[3]: *** [palo] Error 2 >> >> I could now just try to look into the assembly by hand and try >> to find which line produces the problem. But reading hppa assembly code >> for such a big function is not very easy though. > > Thanks a lot for trying, I appreciate it. However, I think I have an easier idea > I could try here first and maybe we won't need the hppa assembly exercise :). Great, thanks! If you want me to test something, just let me know. >> BTW, even with my patch ATAPI CDROM accesses don't work with the current kernel... > > What do you mean by that, please elaborate? I meant: a) Without my patch the kernel did crash (see backtrace in original mail) b) with my patch the kernel booted to login prompt, but I got those messages on the console: hda: command error: status=0x51 { DriveReady SeekComplete Error } hda: command error: error=0x54 <3>{ AbortedCommand LastFailedSense=0x05 } ide: failed opcode was: unknown Nevertheless, mounting a cdrom in the drive didn't suceeded with same/similiar messages, but this could even be because of the parisc superio driver... Helge