From: Mark Glines <mark@glines.org>
To: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: kurobox kernel
Date: Thu, 28 Dec 2006 15:28:36 -0800 [thread overview]
Message-ID: <45945324.20805@glines.org> (raw)
In-Reply-To: <Pine.LNX.4.60.0612282206430.3942@poirot.grange>
Guennadi Liakhovetski wrote:
>> So, uh... is the *.dts file in 2.6.20-rc2 bad, or am I compiling it wrongly?
>> (And is this normally done by hand, or as part of the kernel build process?)
>
> That's ok. You DO have the "-f" which does produce an output. The error is
> because the "chosen" is not there, but this is how we need it for U-boot.
>
> It's done by hand.
>
> So, you've done everything right! Congrats:-)
Great. Any chance you can send me your kernel config? My IDE support
isn't working, and I'd like to figure out why.
Usually I get:
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
linkstation: disarming the AVR watchdog:
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "hda1" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(2,0)
<0>Rebooting in 180 seconds..
But once, just once, when booting from a RAM build of uBoot, I got:
hda: WDC WD3200JB-00KFA0, ATA DISK drive
ide0 at 0xc9006e80-0xc9006e87,0xc9006e8a on irq 20
hda: max request size: 64KiB
hda: 625142448 sectors (320072 MB) w/8192KiB Cache, CHS=38913/255/63,
UDMA(100)
hda: cache flushes supported
hda:<4>hda: dma_timer_expiry: dma status == 0x20
hda: DMA timeout retry
hda: timeout waiting for DMA
hda: status error: status=0x7f { DriveReady DeviceFault SeekComplete
DataRequest CorrectedError Index Error }
hda: status error: error=0x7f { DriveStatusError UncorrectableError
SectorIdNotFound TrackZeroNotFound AddrMarkNotFound },
LBAsect=140185576636287, high=8355711, low=8355711, sector=0
ide: failed opcode was: unknown
hda: drive not ready for command
ide0: reset: success
hda: lost interrupt
hda: lost interrupt
Thank goodness for netconsole. I think it's especially interesting that
it thinks IDE0 is on irq 20, when the old 2.4.17 kernel says:
hda: WDC WD3200JB-00KFA0, ATA DISK drive
ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
Hmm... 2.6.20, irq20. 2.4.17, irq17. Interesting coincidence. Anyway,
it is either detected wrongly, or specified wrongly. But your kernel
config would help me to make sure I'm at least using the right driver. :)
Think it might be something I could work around by fiddling with the
interrupt-map in that kuroboxHG.dts file? The IDE IRQ seems wrong, even
if the network port obviously works (though I bet netconsole transmits
even if the IRQ is wrong). Are they allocated dynamically on this
architecture, or should I expect the IRQ numbers to be the same between
2.4 and 2.6?
Thanks,
Mark
next prev parent reply other threads:[~2006-12-28 23:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <fa.ne7N9dqjDz5qS4D/fowPKdPc4ZY@ifi.uio.no>
[not found] ` <fa.pM17YEcICUlveSt/vbSKGv6sFWk@ifi.uio.no>
2006-12-25 19:45 ` Linux 2.6.20-rc2: forgot how to make a zImage on powerpc? Mark Glines
2006-12-25 20:31 ` Guennadi Liakhovetski
2006-12-25 21:47 ` [PATCH] powerpc: linkstation uses uimage style zImages Mark Glines
2006-12-25 22:54 ` Guennadi Liakhovetski
2006-12-25 23:07 ` Mark Glines
2006-12-25 23:23 ` Guennadi Liakhovetski
2006-12-26 20:14 ` kurobox kernel Mark Glines
2006-12-26 21:23 ` Guennadi Liakhovetski
2006-12-28 20:53 ` Mark Glines
2006-12-28 21:02 ` Scott Wood
2006-12-28 21:07 ` Xianghua Xiao
2006-12-28 21:11 ` Guennadi Liakhovetski
2006-12-28 23:28 ` Mark Glines [this message]
2006-12-29 0:31 ` Guennadi Liakhovetski
2006-12-29 2:52 ` Mark Glines
2006-12-29 17:58 ` Mark Glines
2006-12-29 18:35 ` Guennadi Liakhovetski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45945324.20805@glines.org \
--to=mark@glines.org \
--cc=g.liakhovetski@gmx.de \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).