Problems with 2.2.0-pre2

Jochen Heuer (jogi@planetzork.ping.de)
Thu, 31 Dec 1998 18:17:42 +0100


Hello,

I have some problems with 2.2.0-pre2 on my machine. First, I can't
build the system if I set the processor type to PPro/K6/6x86MX although
I do have an AMD K6-2. But I guess this is just a documentation bug.

/usr/src/linux/include/asm/bugs.h: In function `check_config':
In file included from init/main.c:27:
/usr/src/linux/include/asm/bugs.h:354: `smp_found_config' undeclared (first use this function)
/usr/src/linux/include/asm/bugs.h:354: (Each undeclared identifier is reported only once
/usr/src/linux/include/asm/bugs.h:354: for each function it appears in.)
make: *** [init/main.o] Error 1

Second, the following part of the patch seems to do something wrong:

diff -u --recursive --new-file v2.2.0-pre1/linux/fs/fat/inode.c linux/fs/fat/inode.c
--- v2.2.0-pre1/linux/fs/fat/inode.c Mon Dec 28 15:00:52 1998
+++ linux/fs/fat/inode.c Tue Dec 29 14:07:40 1998
@@ -366,7 +366,9 @@
CF_LE_W(b->info_sector) * logical_sector_size + 0x1e0;
fsinfo = (struct fat_boot_fsinfo *)
&bh->b_data[MSDOS_SB(sb)->fsinfo_offset];
- if (CF_LE_L(fsinfo->signature) != 0x61417272) {
+ if ((MSDOS_SB(sb)->fsinfo_offset - sizeof(MSDOS_SB(sb)->fsinfo_offset) + 1)> bh->
b_size)
+ printk("fat_read_super: Bad fsinfo_offset\n");
+ else if (CF_LE_L(fsinfo->signature) != 0x61417272) {
printk("fat_read_super: Did not find valid FSINFO "
"signature. Found 0x%x\n",
CF_LE_L(fsinfo->signature));

I get the following message in the logfiles

Dec 31 17:04:41 spiff kernel: fat_read_super: Bad fsinfo_offset

and df shows the filesystem to be full. But there are about 3GB free.
ScanDisk (the windows prog) shows an error on checking the disk.

Here some more infos:

[root@spiff /root]# fdisk -l /dev/hda

Disk /dev/hda: 255 heads, 63 sectors, 700 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 7 56196 82 Linux swap
/dev/hda2 8 203 1574370 83 Linux native
/dev/hda3 * 204 675 3791340 b Win95 FAT32
/dev/hda4 676 700 200812+ 5 Extended
/dev/hda5 676 700 200781 6 DOS 16-bit >=32M

If you need more infos just let me know.

Regards,

Jogi

-- 

Well, yeah ... I suppose there's no point in getting greedy, is there?

<< Calvin & Hobbes >>

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/