* kernel oops loading Doc2000
@ 2002-03-12 11:29 Ajit Anand
2002-03-12 13:30 ` David Woodhouse
0 siblings, 1 reply; 5+ messages in thread
From: Ajit Anand @ 2002-03-12 11:29 UTC (permalink / raw)
To: linux-mtd
hi all,
i have a Doc2000 64 MB chip and am trying to get the
same working under linux. i've tried using kernel
versions 2.4.10 and 2.4.18 patched with the latest
sources from
cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs
login
te following kernel options are selected (only
relevant portions attached)
# Loadable module support
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
CONFIG_M486=y
# Memory Technology Devices (MTD)
CONFIG_MTD=m
CONFIG_MTD_DEBUG=y
CONFIG_MTD_DEBUG_VERBOSE=1
CONFIG_MTD_CHAR=m
CONFIG_NFTL=m
CONFIG_NFTL_RW=y
# Self-contained MTD device drivers
CONFIG_MTD_DOC2000=m
CONFIG_MTD_DOC2001=m
CONFIG_MTD_DOCPROBE=m
# CONFIG_MTD_DOCPROBE_ADVANCED is not set
CONFIG_MTD_DOCPROBE_ADDRESS=0
# CONFIG_MTD_DOCPROBE_HIGH is not set
# CONFIG_MTD_DOCPROBE_55AA is not set
but after instaling the new kernel and trying to run
modprobe -a doc2000 nftl mtdchar
this runs fine but when i try
modprobe -a docprobe
i get a kernel oops and when i run
cat /proc/modules i get
docprobe initializing
the kernel oops is given below :-
Mar 12 23:08:51 test kernel: NFTL driver: nftlcore.c
$Revision: 1.86 $, nftlmount.c $Revision: 1.26 $
Mar 12 23:09:02 test kernel: Possible DiskOnChip with
unknown ChipID FF found at 0xc8000
Mar 12 23:09:02 test kernel: Possible DiskOnChip with
unknown ChipID FF found at 0xca000
Mar 12 23:09:02 test kernel: DiskOnChip 2000 found at
address 0xCC000
Mar 12 23:09:02 test kernel: Flash chip found:
Manufacturer ID: 98, Chip ID: 75 (Toshiba
TC58256FT/DC)
Mar 12 23:09:02 test kernel: 2 flash chips found.
Total DiskOnChip size: 64 MiB
Mar 12 23:09:02 test kernel: mtd: Giving out device 0
to DiskOnChip 2000
Mar 12 23:09:02 test kernel: NFTL_notify_add for
DiskOnChip 2000
Mar 12 23:09:02 test kernel: NFTL_setup
Mar 12 23:09:02 test kernel: Unable to handle kernel
paging request at virtual address 454a4550
Mar 12 23:09:02 test kernel: printing eip:
Mar 12 23:09:02 test kernel: c2835a37
Mar 12 23:09:02 test kernel: *pde = 00000000
Mar 12 23:09:02 test kernel: Oops: 0002
Mar 12 23:09:02 test kernel: CPU: 0
Mar 12 23:09:02 test kernel: EIP: 0010:[<c2835a37>]
Mar 12 23:09:02 test kernel: EFLAGS: 00010246
Mar 12 23:09:02 test kernel: eax: 454a4548 ebx:
c1d4aa60 ecx: c1d4ad24 edx: 00000004
Mar 12 23:09:02 test kernel: esi: c032bc36 edi:
c1d4ac60 ebp: c1d4aa80 esp: c032bc14
Mar 12 23:09:02 test kernel: ds: 0018 es: 0018 ss:
0018
Mar 12 23:09:02 test kernel: Process modprobe (pid:
627, stackpage=c032b000)
Mar 12 23:09:02 test kernel: Stack: c032bc2c c032bc30
00000000 00000004 00000004 3c693c69 00000008 4e414e41
Mar 12 23:09:02 test kernel: 0ffc0044 00000004
000003ea 00000000 00000000 00000000 00000000 00000000
Mar 12 23:09:02 test kernel: 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000
Mar 12 23:09:02 test kernel: Call Trace: [<c2836371>]
[call_console_drivers+218/224] [<c2834119>]
[<c28368aa>] [<c282b724>]
Mar 12 23:09:02 test kernel: Call Trace: [<c2836371>]
[<c011212a>] [<c2834119>] [<c28368aa>] [<c282b724>]
Mar 12 23:09:02 test kernel: [<c282d800>]
[<c2834306>] [<c2837ae4>] [<c282b0b3>] [<c283b4e2>]
[<c283b242>]
Mar 12 23:09:02 test kernel: [<c282d800>]
[<c283b4e2>] [<c283b4d7>] [<c283b4d2>] [<c283b508>]
[<c283b2cb>]
Mar 12 23:09:02 test kernel:
[sys_init_module+1461/1648] [<c283b060>]
[system_call+51/64]
Mar 12 23:09:02 test kernel: [<c0112ff5>]
[<c283b060>] [<c0106da3>]
Mar 12 23:09:02 test kernel:
Mar 12 23:09:02 test kernel: Code: 66 c7 04 50 fc ff
8b 4c 24 08 85 c9 74 6b 89 ee 8b 7c 24 04
could you please send me some pointers as to where i'm
going wrong.
TIA
ajit
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kernel oops loading Doc2000
@ 2002-03-13 5:55 Ajit Anand
2002-03-13 7:32 ` David Woodhouse
0 siblings, 1 reply; 5+ messages in thread
From: Ajit Anand @ 2002-03-13 5:55 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd
it modprobe's the docprobe without an oops but then
gives an error
Could not find valid boot record
Could not mount nftl device
and when i try to erase the disk using nftl_format it
gives an error
Erase size not 8kb - I'm Confused
should i be trying something else.
ajit
--------------------------------
Documentation/oops-tracing.txt
If you run 'cvs up -D 20020306 drivers/mtd/nftl*.c'
does it start to work
again? That reverts my experimental patch to make the
driver handle larger
DiskOnChip devices.
--
dwmw2
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: kernel oops loading Doc2000
@ 2002-03-13 12:12 Ajit Anand
0 siblings, 0 replies; 5+ messages in thread
From: Ajit Anand @ 2002-03-13 12:12 UTC (permalink / raw)
To: dwmw2; +Cc: linux-mtd
i tried after applying the new cvs patches and now it
hangs as soon as i do "modprobe -a docprobe"
the output of the same is
Mar 13 23:39:10 test insmod: Note: /etc/modules.conf
is more recent than /lib/modules/2.4.18/modules.dep
Mar 13 23:39:10 test kernel: MTD_open
Mar 13 23:39:10 test kernel: MTD_open
Mar 13 23:39:19 test kernel: NFTL driver: nftlcore.c
$Revision: 1.86 $, nftlmount.c $Revision: 1.28 $
Mar 13 23:39:19 test insmod: Note: /etc/modules.conf
is more recent than /lib/modules/2.4.18/modules.dep
Mar 13 23:39:19 test kernel: Possible DiskOnChip with
unknown ChipID FF found at 0xc8000
Mar 13 23:39:19 test kernel: Possible DiskOnChip with
unknown ChipID FF found at 0xca000
Mar 13 23:39:19 test insmod: Note: /etc/modules.conf
is more recent than /lib/modules/2.4.18/modules.dep
Mar 13 23:39:23 test kernel: DiskOnChip 2000 found at
address 0xCC000
Mar 13 23:39:23 test kernel: Flash chip found:
Manufacturer ID: 98, Chip ID: 75 (Toshiba
TC58256FT/DC)
Mar 13 23:39:23 test kernel: 2 flash chips found.
Total DiskOnChip size: 64 MiB
Mar 13 23:39:23 test kernel: mtd: Giving out device 0
to DiskOnChip 2000
Mar 13 23:39:23 test kernel: NFTL: UnitSizeFactor 0x00
detected. This violates the spec but we think we know
what it means...
Mar 13 23:39:25 test kernel: nftla:<0>Kernel panic:
unknown: request list destroyed
now i'm well and truly lost????????
ajit
---------------------------
ajit_anand@yahoo.com said:
> it modprobe's the docprobe without an oops but then
gives an error
> Could not find valid boot record Could not mount
nftl device
OK. cvs up -A and try again.
--
dwmw2
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-03-13 12:01 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-12 11:29 kernel oops loading Doc2000 Ajit Anand
2002-03-12 13:30 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2002-03-13 5:55 Ajit Anand
2002-03-13 7:32 ` David Woodhouse
2002-03-13 12:12 Ajit Anand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox