public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: pmc551 status
@ 1999-10-21  7:52 David Woodhouse
  1999-10-22  4:24 ` Mark Ferrell
  0 siblings, 1 reply; 4+ messages in thread
From: David Woodhouse @ 1999-10-21  7:52 UTC (permalink / raw)
  To: Mark Ferrell; +Cc: mtd


mferrell@nortelnetworks.com said:
>  And that's it.  It opens the device for a short duration of time ..
> but nothing comes forth.  I tried all sortsa fun with noluck.  Any
> ideas, suggestions, large bat's to beat the system about the head
> with? 

Hmmm. To test your driver itself, use the character devices, which are what 
/dev/mtd0 ought to be.

When you're sure that's OK, you ought just to be able to load the mtdblock 
device (after your driver) and use /dev/mtdblock0 too. There may be bugs in 
the mtdblock code, however.

Can you trace and send me the oops that you get if you load mtd, pmc551, then 
mtdblock in that order?

Also, it's worth checking that the mtdblock code actually sets the size of the 
block device. The kernel might be refusing to pass on any read() requests 
because we've left the device size set to zero.

----                                ----                                 ----
David Woodhouse       David.Woodhouse@mvhi.com      Office: (+44) 1223 810302
 Project Leader,    Process Information Systems     Mobile: (+44) 7976 658355
    Axiom (Cambridge) Ltd., Swaffham Bulbeck, Cambridge, CB5 0NA, UK.
             finger dwmw2@ferret.lmh.ox.ac.uk for PGP key.




To unsubscribe, send "unsubscribe mtd" to majordomo@imladris.demon.co.uk

^ permalink raw reply	[flat|nested] 4+ messages in thread
* pmc551 status
@ 1999-10-21  4:13 Mark Ferrell
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Ferrell @ 1999-10-21  4:13 UTC (permalink / raw)
  To: mtd

[-- Attachment #1: Type: text/plain, Size: 1016 bytes --]

Anyway, I have what appears to be a very ruff around the edges driver
for the pmc551 cPCI Memory module by Ramix Inc.

The module detects the start address in memory and the onboard DRAM size
and all that crazy stuff and appears to work fairly well all in all.
Unfortunately I am having 'issues' w/ getting the mtdblock layer to work
on it.  Is there something special I should do far handling that?

If I load the mtd.o then the pmc551.o then then mtdblock.o I get a
kernel panic

If I load the mtd.o then the mtdblock.o then the pmc551.o everything
appears to work, but /dev/mtd0 is unussable.

Apon cat'ing /dev/mtd0 I get the following kernel messages

mtdblock_open
ok
mtdblock_open
ok

And that's it.  It opens the device for a short duration of time .. but
nothing comes forth.  I tried all sortsa fun with noluck.

Any ideas, suggestions, large bat's to beat the system about the head
with?

--
 Mark Ferrell  : mferrell@nortelnetworks.com
(972) 685-7868 : Desk
(972) 685-4210 : Lab
(972) 879-4326 : Pager



[-- Attachment #2: Type: text/html, Size: 1180 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-10-25 21:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-21  7:52 pmc551 status David Woodhouse
1999-10-22  4:24 ` Mark Ferrell
1999-10-25 21:15   ` Mark Ferrell
  -- strict thread matches above, loose matches on Subject: below --
1999-10-21  4:13 Mark Ferrell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox