All of lore.kernel.org
 help / color / mirror / Atom feed
* Compiling Grub for DOC2000
@ 2002-07-26 13:21 Frank Oltmanns
  2002-07-26 13:43 ` Mark Meade
  2002-07-26 15:18 ` Compiling Grub for DOC2000 David Woodhouse
  0 siblings, 2 replies; 11+ messages in thread
From: Frank Oltmanns @ 2002-07-26 13:21 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I'm trying to run Linux (to be exact: RT-Linux) from a DiskOnChip. It's
already booting from NFS. I've got a Kernel (2.4.18) with build-in MTD-
support. I can mount/access the DOC when booting NFS. So far everything
is allright.
Here's my problem:
I want the whole thing to boot without NFS from DOC. I want to use grub
to get it work, but I can't even compile grub. This is what I did:
  1) I patched grub-0.92 with the mtd-patch
  2) I ran aclocal (everythings fine so far)
  3) I ran automake (Version 1.6.2)
Now I'm getting some strange Error-Messages (see below), and I don't
know what to do. I also tried to run autoconf and make afterwards.
Autoconf (Version 2.5.3) works fine, but make aborts.
Does anyone know what to do?

Thanks in advance
  Frank Oltmanns

Here's the script of what I did:

master:/home/frank/grub-0.92 # patch -p0 -i
../mtd-tools/mtd/patches/grub-2002-02-19-doc.patch
patching file AUTHORS
patching file ChangeLog
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file ChangeLog.rej
patching file README_DiskOnChip
patching file configure.in
patching file stage1/Makefile.am
patching file stage1/doc_stage1.S
patching file stage1/doc_stage1.h
patching file stage1/doc_stage1b.S
patching file stage1/makecsum.c
patching file stage2/Makefile.am
patching file stage2/asm.S
patching file stage2/bdev_diskonchip.c
patching file stage2/bios.c
patching file stage2/boot.c
patching file stage2/builtins.c
Hunk #1 succeeded at 1350 (offset 60 lines).
Hunk #2 succeeded at 3083 (offset 60 lines).
patching file stage2/char_io.c
patching file stage2/disk_io.c
patching file stage2/shared.h
Hunk #3 succeeded at 897 (offset 1 line).
Hunk #4 succeeded at 1038 (offset 1 line).
patching file stage2/stage2.c
master:/home/frank/grub-0.92 # aclocal
master:/home/frank/grub-0.92 # echo $?
0
master:/home/frank/grub-0.92 # automake
automake: docs/Makefile.am: Assembler source seen but `CCAS' not defined in
`configure.in'
automake: docs/Makefile.am: Assembler source seen but `CCASFLAGS' not
defined in `configure.in'
automake: stage1/Makefile.am: Assembler source seen but `CCAS' not defined
in `configure.in'
automake: stage1/Makefile.am: Assembler source seen but `CCASFLAGS' not
defined in `configure.in'
automake: stage2/Makefile.am: Assembler source seen but `CCAS' not defined
in `configure.in'
automake: stage2/Makefile.am: Assembler source seen but `CCASFLAGS' not
defined in `configure.in'
master:/home/frank/grub-0.92 # echo $?
1
master:/home/frank/grub-0.92 # autoconf
master:/home/frank/grub-0.92 # echo $?
0
master:/home/frank/grub-0.92 # a ./configure --enable-diskonchip-2000
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking build system type... i586-pc-linux-gnu
checking host system type... i586-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for gcc... (cached) gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc
checking dependency style of gcc... (cached) gcc
checking for ranlib... ranlib
checking whether optimization for size works... yes
checking whether -Wundef works... yes
checking for objcopy... objcopy
checking if C symbols get an underscore after compilation... no
checking whether objcopy works for absolute addresses... yes
checking whether addr32 must be in the same line as the instruction... yes
checking for .code16 addr32 assembler support... yes
checking whether an absolute indirect call/jump must not be prefixed with an
asterisk... no
checking if start is defined by the compiler... no
checking if _start is defined by the compiler... yes
checking if __bss_start is defined by the compiler... yes
checking if _edata is defined by the compiler... yes
checking if edata is defined by the compiler... yes
checking if end is defined by the compiler... yes
checking if _end is defined by the compiler... yes
checking for opendisk in -lutil... no
checking for wgetch in -lncurses... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating stage1/Makefile
config.status: creating stage2/Makefile
config.status: creating docs/Makefile
config.status: creating lib/Makefile
config.status: creating util/Makefile
config.status: creating grub/Makefile
config.status: creating netboot/Makefile
config.status: creating util/grub-image
config.status: creating util/grub-install
config.status: creating util/grub-md5-crypt
config.status: creating config.h
config.status: executing depfiles commands
master:/home/frank/grub-0.92 # echo $?
0
master:/home/frank/grub-0.92 # make
make  all-recursive
make[1]: Entering directory `/home/frank/grub-0.92'
Making all in netboot
make[2]: Entering directory `/home/frank/grub-0.92/netboot'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/frank/grub-0.92/netboot'
Making all in stage2
make[2]: Entering directory `/home/frank/grub-0.92/stage2'
/bin/sh: CCASFLAGS@: command not found
make[2]: *** [asm.o] Error 127
make[2]: Leaving directory `/home/frank/grub-0.92/stage2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frank/grub-0.92'
make: *** [all] Error 2
master:/home/frank/grub-0.92 # echo $?
2

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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

* Re: Compiling Grub for DOC2000
  2002-07-26 13:21 Compiling Grub for DOC2000 Frank Oltmanns
@ 2002-07-26 13:43 ` Mark Meade
  2002-07-26 16:35   ` Ilguiz Latypov
  2002-07-26 15:18 ` Compiling Grub for DOC2000 David Woodhouse
  1 sibling, 1 reply; 11+ messages in thread
From: Mark Meade @ 2002-07-26 13:43 UTC (permalink / raw)
  To: Frank Oltmanns; +Cc: linux-mtd

Hi Frank,

I've seen these errors with the newest GRUB patch -- I think the latest patch 
may be against the CVS version of GRUB, rather than 0.92.

I've had good luck patching GRUB 0.92 with the 2002-05-30 patch at:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=505&group_id=68

Regards,

Mark

Frank Oltmanns wrote:
> I want the whole thing to boot without NFS from DOC. I want to use grub
> to get it work, but I can't even compile grub. This is what I did:

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

* Re: Compiling Grub for DOC2000
  2002-07-26 13:21 Compiling Grub for DOC2000 Frank Oltmanns
  2002-07-26 13:43 ` Mark Meade
@ 2002-07-26 15:18 ` David Woodhouse
  1 sibling, 0 replies; 11+ messages in thread
From: David Woodhouse @ 2002-07-26 15:18 UTC (permalink / raw)
  To: Mark Meade; +Cc: Frank Oltmanns, linux-mtd

mark@lakeshoremicro.com said:
>  I've had good luck patching GRUB 0.92 with the 2002-05-30 patch at:
> http://savannah.gnu.org/bugs/?func=detailbug&bug_id=505&group_id=68 

The copyright assignment got sent, and I've had a reply from the FSF. 
Hopefully it'll get merged soon.

--
dwmw2

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

* Re: Compiling Grub for DOC2000
  2002-07-26 13:43 ` Mark Meade
@ 2002-07-26 16:35   ` Ilguiz Latypov
  2002-07-29 15:28     ` Frank Oltmanns
  0 siblings, 1 reply; 11+ messages in thread
From: Ilguiz Latypov @ 2002-07-26 16:35 UTC (permalink / raw)
  To: Mark Meade; +Cc: Frank Oltmanns, linux-mtd

On Fri, 26 Jul 2002, Mark Meade wrote:

> I've had good luck patching GRUB 0.92 with the 2002-05-30 patch at:

It's the autoconf/automake change.  These now require CCAS and CCASFLAGS
variables instead of AS and ASFLAGS.  The June 2002 MTD patch at the
savannah link you've mentioned will change those in Makefile.am's as
needed.  I advise to apply the patch against the post July 2, 2002 version
of GRUB if you need serial port console at boot time.

Ilguiz

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

* Re: Compiling Grub for DOC2000
  2002-07-26 16:35   ` Ilguiz Latypov
@ 2002-07-29 15:28     ` Frank Oltmanns
  2002-07-29 16:24       ` Ilguiz Latypov
  0 siblings, 1 reply; 11+ messages in thread
From: Frank Oltmanns @ 2002-07-29 15:28 UTC (permalink / raw)
  To: linux-mtd

> 
> On Fri, 26 Jul 2002, Mark Meade wrote:
> 
> > I've had good luck patching GRUB 0.92 with the 2002-05-30 patch at:
> 
> It's the autoconf/automake change.  These now require CCAS and CCASFLAGS
> variables instead of AS and ASFLAGS.  The June 2002 MTD patch at the
> savannah link you've mentioned will change those in Makefile.am's as
> needed.  I advise to apply the patch against the post July 2, 2002 version
> of GRUB if you need serial port console at boot time.
> 
> Ilguiz
> 
Thank you all... It's working fine now. But I got some new problems.
1) With grub on my DoC, I can't boot from diskette anymore (I want to use
Etherboot)
2) My root-filesystem on DoC is not being mounted. I did the following:
      doc_loadbios grub_firmware
      nftl_format /dev/mtd0 90112  (since my firmware is 89792 bytes)
      fdisk /dev/nftla  (created 1 partition)
      mke2fs /dev/nftla1
   copied the files from my root-diskette to nftla1
   When I reboot, grub starts so I can enter:
      kernel (dc0,0)/boot/bzImage root=/dev/nftla1
      boot
   The kernel is being loaded and uncompressed. My DiskOnChip (and its
partition)
   is found, but when it should say: "INIT: version x.xx booting" there is
nothing.
   If I enter:
      kernel (dc0,0)/boot/bzImage root=/dev/fd0
      boot
   everything works fine...

I browsed through the Mailing-list, but I can't find anyone, who had the
same
problem. I hope someone can help!?

TIA
  Frank

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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

* Re: Compiling Grub for DOC2000
  2002-07-29 15:28     ` Frank Oltmanns
@ 2002-07-29 16:24       ` Ilguiz Latypov
  2002-07-30 13:45         ` Frank Oltmanns
  2002-07-30 22:29         ` David Woodhouse
  0 siblings, 2 replies; 11+ messages in thread
From: Ilguiz Latypov @ 2002-07-29 16:24 UTC (permalink / raw)
  To: Frank Oltmanns; +Cc: linux-mtd

On Mon, 29 Jul 2002, Frank Oltmanns wrote:

> 1) With grub on my DoC, I can't boot from diskette anymore (I want to use
> Etherboot)

This can probably be solved by changing this line in stage2/stage2.c

                    is_opened = find_config(0x80);

to

                    is_opened = find_config(0);

>       nftl_format /dev/mtd0 90112  (since my firmware is 89792 bytes)

You may need to specify a multiple of 16 KiB as a start of NFTL layer in
case your erase block size is 16 KiB.  Make sure the /dev/nftl* drivers
weren't activated or were unloaded when running nftl_format.

>       fdisk /dev/nftla  (created 1 partition)

I believe it is required to reload the MTD NFTL driver between nftl_format
and any subsequent actions against /dev/nftl*.  Since my kernel has MTD
NFTL driver compiled in, I need to reboot.

Check out 

    http://lists.infradead.org/pipermail/linux-mtd/2002-June/005240.html

for detailed instructions.

Ilguiz

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

* Re: Compiling Grub for DOC2000
  2002-07-29 16:24       ` Ilguiz Latypov
@ 2002-07-30 13:45         ` Frank Oltmanns
  2002-07-30 22:29         ` David Woodhouse
  1 sibling, 0 replies; 11+ messages in thread
From: Frank Oltmanns @ 2002-07-30 13:45 UTC (permalink / raw)
  To: linux-mtd

> You may need to specify a multiple of 16 KiB as a start of NFTL layer in
> case your erase block size is 16 KiB.  Make sure the /dev/nftl* drivers
> weren't activated or were unloaded when running nftl_format.
My erase block size is 8KB (I'm using a 8MB DiskOnChip 2000), so this
should be no problem. I also tried an offset of 98304 anyway, but this
didn't change anything.

> >       fdisk /dev/nftla  (created 1 partition)
> 
> I believe it is required to reload the MTD NFTL driver between nftl_format
> and any subsequent actions against /dev/nftl*.  Since my kernel has MTD
> NFTL driver compiled in, I need to reboot.
Sorry, I forgot to write, that I did reboot my system.

> Check out 
> 
>     http://lists.infradead.org/pipermail/linux-mtd/2002-June/005240.html
> 
> for detailed instructions.
This is a nice Howto! I wish I had found this earlier. It could have saved
several hours. I did everything as described in this howto, but I still
can't
boot from DoC.
As I already wrote, the kernel is loaded from DoC (using GRub) but I
can't use the root-filesystem, which I have copied there. I CAN use
root-FS on NFS or FDD. I also do have acces to my DoC when I boot
with root-NFS.
I absolutely don't know what to do. Here is what is "dmesg" said after I
booted from NFS. Perhaps someone can tell me, what went wrong.

Linux version 2.4.18-w4l-rtl3.1 (root@franksrechner) (gcc version 2.95.2
19991024 (release)) #18 Tue Jul 30 11:55:09 CEST 2002
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000002000000 (usable)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 8192
zone(0): 4096 pages.
zone(1): 4096 pages.
zone(2): 0 pages.
Kernel command line: rw root=/dev/nfs ip=dhcp mem=32768K
Initializing CPU#0
Console: colour VGA+ 80x25
Calibrating delay loop... 66.56 BogoMIPS
Memory: 30344k/32768k available (956k kernel code, 2036k reserved, 255k
data, 60k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Before vendor init, caps: 00000001 00000000 00000000, vendor = 2
CPU: After vendor init, caps: 00000001 00000000 00000000 00000000
CPU:     After generic, caps: 00000001 00000000 00000000 00000000
CPU:             Common caps: 00000001 00000000 00000000 00000000
CPU: AMD Am5x86-WB stepping 04
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
block: 64 slots per queue, batch=16
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
ne.c:v1.10 9/23/94 Donald Becker (becker@scyld.com)
Last modified Nov 1, 2000 by Paul Gortmaker
NE*000 ethercard probe at 0x300: 00 c0 6c 74 09 30
eth0: NE2000 found at 0x300, using IRQ 5.
loop: loaded (max 8 devices)
Possible DiskOnChip with unknown ChipID FF found at 0xc8000
Possible DiskOnChip with unknown ChipID FF found at 0xca000
Possible DiskOnChip with unknown ChipID 00 found at 0xcc000
Possible DiskOnChip with unknown ChipID 00 found at 0xce000
DiskOnChip 2000 found at address 0xD0000
Flash chip found: Manufacturer ID: 98, Chip ID: E6 (Toshiba TC58V64AFT/DC)
1 flash chips found. Total DiskOnChip size: 8 MiB
mtd: Giving out device 0 to DiskOnChip 2000
Ignoring DiskOnChip 2000 at 0xD2000 - already configured
Possible DiskOnChip with unknown ChipID FF found at 0xd4000
Possible DiskOnChip with unknown ChipID FF found at 0xd6000
Possible DiskOnChip with unknown ChipID FF found at 0xd8000
Possible DiskOnChip with unknown ChipID FF found at 0xda000
Possible DiskOnChip with unknown ChipID FF found at 0xdc000
Possible DiskOnChip with unknown ChipID FF found at 0xde000
Possible DiskOnChip with unknown ChipID FF found at 0xe0000
Possible DiskOnChip with unknown ChipID FF found at 0xe2000
Possible DiskOnChip with unknown ChipID FF found at 0xe4000
Possible DiskOnChip with unknown ChipID FF found at 0xe6000
Possible DiskOnChip with unknown ChipID FF found at 0xe8000
Possible DiskOnChip with unknown ChipID FF found at 0xea000
Possible DiskOnChip with unknown ChipID FF found at 0xec000
Possible DiskOnChip with unknown ChipID FF found at 0xee000
NFTL driver: nftlcore.c $Revision: 1.82 $, nftlmount.c $Revision: 1.25 $
NFTL_notify_add for DiskOnChip 2000
mtd->read = c01a20e8, size = 8388608, erasesize = 8192
NFTL_setup
Partition check:
 nftla:<6>NFTL_request
NFTL Read  request, from sector 0x0000 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 0 (req->nr_sectors == 8)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Read  request, from sector 0x0002 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 2 (req->nr_sectors == 6)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Read  request, from sector 0x0004 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 4 (req->nr_sectors == 4)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Read  request, from sector 0x0006 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 6 (req->nr_sectors == 2)
NFTL read request completed OK
end_request(1)
 nftla1
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
Sending DHCP requests ., OK
IP-Config: Got DHCP answer from 192.168.1.99, my address is 192.168.1.101
IP-Config: Complete:
      device=eth0, addr=192.168.1.101, mask=255.255.255.0,
gw=255.255.255.255,
     host=node01, domain=experimentiernetz, nis-domain=(none),
     bootserver=192.168.1.99, rootserver=192.168.1.99, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
######################################
# I get this far when I use DoC as the root-fs  #
######################################
Looking up port of RPC 100003/2 on 192.168.1.99
Looking up port of RPC 100005/1 on 192.168.1.99
VFS: Mounted root (nfs filesystem).
Freeing unused kernel memory: 60k freed

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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

* Re: Compiling Grub for DOC2000
  2002-07-29 16:24       ` Ilguiz Latypov
  2002-07-30 13:45         ` Frank Oltmanns
@ 2002-07-30 22:29         ` David Woodhouse
  2002-07-31 11:22           ` Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000) Frank Oltmanns
  2002-07-31 11:48           ` David Woodhouse
  1 sibling, 2 replies; 11+ messages in thread
From: David Woodhouse @ 2002-07-30 22:29 UTC (permalink / raw)
  To: Frank Oltmanns; +Cc: linux-mtd

frank.oltmanns.ml@gmx.de said:
> NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> ######################################
> # I get this far when I use DoC as the root-fs  #
> ######################################
> Looking up port of RPC 100003/2 on 192.168.1.99
> Looking up port of RPC 100005/1 on 192.168.1.99

Remove the bogus invalidate_device() from the mtdblock_release() function 
in drivers/mtd/mtdblock.c.

--
dwmw2

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

* Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000)
  2002-07-30 22:29         ` David Woodhouse
@ 2002-07-31 11:22           ` Frank Oltmanns
  2002-07-31 11:48           ` David Woodhouse
  1 sibling, 0 replies; 11+ messages in thread
From: Frank Oltmanns @ 2002-07-31 11:22 UTC (permalink / raw)
  To: linux-mtd

> 
> frank.oltmanns.ml@gmx.de said:
> > NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
> > ######################################
> > # I get this far when I use DoC as the root-fs  #
> > ######################################
> > Looking up port of RPC 100003/2 on 192.168.1.99
> > Looking up port of RPC 100005/1 on 192.168.1.99
> 
> Remove the bogus invalidate_device() from the mtdblock_release() function 
> in drivers/mtd/mtdblock.c.
I did, but nothing happened.

Here is what I get, when using DoC as root-fs (debug-level 3) after the
"NET4: Unix domain sockets 1.0/SMP for Linux NET4.0" -line:

NFTL_open
NFTL_open
NFTL_request
NFTL Read  request, from sector 0x0002 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 3 (req->nr_sectors == 2)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Read  request, from sector 0x0004 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 5 (req->nr_sectors == 2)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Read  request, from sector 0x000a for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ b (req->nr_sectors == 2)
NFTL read request completed OK
end_request(1)
NFTL_request
NFTL Write request, from sector 0x0002 for 0x0002 sectors
Waiting for mutex
Got mutex
NFTL read request of 0x2 sectors @ 3 (req->nr_sectors == 2)
Status of block 3 in EUN 1023 is 55
Status of block 3 in EUN 36 is 55
Status of block 3 in EUN 133 is 55
Status of block 3 in EUN 134 is 55
Status of block 3 in EUN 135 is 55
Status of block 3 in EUN 140 is 55
Status of block 3 in EUN 774 is 55
Status of block 3 in EUN 776 is 55
_DoC_WaitReady called for out-of-line wait
_DoC_WaitReady called for out-of-line wait
_DoC_WaitReady called for out-of-line wait
_DoC_WaitReady called for out-of-line wait
Status of block 4 in EUN 1023 is 55
Status of block 4 in EUN 36 is 55
Status of block 4 in EUN 133 is 55
Status of block 4 in EUN 134 is 55
Status of block 4 in EUN 135 is 55
Status of block 4 in EUN 140 is 55
Status of block 4 in EUN 774 is 55
Status of block 4 in EUN 776 is 55
Status of block 4 in EUN 1022 is ff
_DoC_WaitReady called for out-of-line wait
_DoC_WaitReady called for out-of-line wait
NFTL write request completed OK
end_request(1)
NFTL_release

1) I don't know what all of this means. Perhaps someone
   can explain that or tell me what is wrong.
2) Why are there two NFTL_open-calls and only one
   NFTL_release?

Thanks in advance
  Frank

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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

* Re: Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000)
  2002-07-30 22:29         ` David Woodhouse
  2002-07-31 11:22           ` Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000) Frank Oltmanns
@ 2002-07-31 11:48           ` David Woodhouse
  2002-07-31 14:00             ` Frank Oltmanns
  1 sibling, 1 reply; 11+ messages in thread
From: David Woodhouse @ 2002-07-31 11:48 UTC (permalink / raw)
  To: Frank Oltmanns; +Cc: linux-mtd

frank.oltmanns.ml@gmx.de said:
> > Remove the bogus invalidate_device() from the mtdblock_release()
> > function in drivers/mtd/mtdblock.c.
> I did, but nothing happened.

Bah. Do what I mean, not what I say. 

Which, in this instance, means:

	Remove the bogus invalidate_device() from the nftl_release() 
	function in drivers/mtd/nftlcore.c

Sorry.

--
dwmw2

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

* Re: Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000)
  2002-07-31 11:48           ` David Woodhouse
@ 2002-07-31 14:00             ` Frank Oltmanns
  0 siblings, 0 replies; 11+ messages in thread
From: Frank Oltmanns @ 2002-07-31 14:00 UTC (permalink / raw)
  To: linux-mtd

> 	Remove the bogus invalidate_device() from the nftl_release() 
> 	function in drivers/mtd/nftlcore.c
Yeah! That worked! Thanks a lot! I don't what I really did, but it
worked!

Thanks
  Frank

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net

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

end of thread, other threads:[~2002-07-31 14:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-26 13:21 Compiling Grub for DOC2000 Frank Oltmanns
2002-07-26 13:43 ` Mark Meade
2002-07-26 16:35   ` Ilguiz Latypov
2002-07-29 15:28     ` Frank Oltmanns
2002-07-29 16:24       ` Ilguiz Latypov
2002-07-30 13:45         ` Frank Oltmanns
2002-07-30 22:29         ` David Woodhouse
2002-07-31 11:22           ` Root-FS on DOC2000 (was Re: Compiling Grub for DOC2000) Frank Oltmanns
2002-07-31 11:48           ` David Woodhouse
2002-07-31 14:00             ` Frank Oltmanns
2002-07-26 15:18 ` Compiling Grub for DOC2000 David Woodhouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.